]> source.dussan.org Git - jquery.git/log
jquery.git
15 years agofix for #4216. css now ignores negative numbers for width and height when passed...
Brandon Aaron [Wed, 22 Apr 2009 05:23:53 +0000 (05:23 +0000)]
fix for #4216. css now ignores negative numbers for width and height when passed an object of props and vals.

15 years agofix for #3546. css now works with other windows than just the one it was loaded in.
Brandon Aaron [Wed, 22 Apr 2009 04:39:44 +0000 (04:39 +0000)]
fix for #3546. css now works with other windows than just the one it was loaded in.

15 years agofix for #4268. bind now works with iframe windows. thanks tr4nslator
Brandon Aaron [Wed, 22 Apr 2009 04:18:53 +0000 (04:18 +0000)]
fix for #4268. bind now works with iframe windows. thanks tr4nslator

15 years agofix for #2911
Brandon Aaron [Wed, 22 Apr 2009 02:31:29 +0000 (02:31 +0000)]
fix for #2911

15 years agoremove radix param for parseFloat calls
Brandon Aaron [Wed, 22 Apr 2009 01:34:13 +0000 (01:34 +0000)]
remove radix param for parseFloat calls

15 years agowidth, height, scrollLeft, and scrollTop now work with windows and documents other...
Brandon Aaron [Wed, 22 Apr 2009 00:55:44 +0000 (00:55 +0000)]
width, height, scrollLeft, and scrollTop now work with windows and documents other than just the one it was loaded in (like iframes and popups)

15 years agoclean up offset. #4456 thanks pbcomm
Brandon Aaron [Tue, 21 Apr 2009 19:19:28 +0000 (19:19 +0000)]
clean up offset. #4456 thanks pbcomm

15 years agoactually don't need to null out as much as i thought i did to fix that memory leak
Brandon Aaron [Tue, 21 Apr 2009 19:09:47 +0000 (19:09 +0000)]
actually don't need to null out as much as i thought i did to fix that memory leak

15 years agofixing memory leaks in IE
Brandon Aaron [Tue, 21 Apr 2009 18:46:39 +0000 (18:46 +0000)]
fixing memory leaks in IE

15 years agoAdded explicit module names to the new unit tests.
John Resig [Mon, 20 Apr 2009 17:05:18 +0000 (17:05 +0000)]
Added explicit module names to the new unit tests.

15 years agoUnified the formatting of core.js. === or !== are used wherever appropriate, syntax...
John Resig [Tue, 31 Mar 2009 17:35:20 +0000 (17:35 +0000)]
Unified the formatting of core.js. === or !== are used wherever appropriate, syntax has been normalized, braces are added in all cases, and jQuery() now returns an empty set.

15 years agofix for #4439, offset.initialize can cause the page to jump
Brandon Aaron [Mon, 30 Mar 2009 07:59:31 +0000 (07:59 +0000)]
fix for #4439, offset.initialize can cause the page to jump

15 years agofix for #4378, base tag causes javascript error in IE when loading cross-domain JS...
Brandon Aaron [Fri, 27 Mar 2009 18:20:57 +0000 (18:20 +0000)]
fix for #4378, base tag causes javascript error in IE when loading cross-domain JS via ajax

15 years agoremove trailing spaces
Brandon Aaron [Mon, 23 Mar 2009 01:55:17 +0000 (01:55 +0000)]
remove trailing spaces

15 years agomoving dimension related unit tests to dimensions test module
Brandon Aaron [Sun, 22 Mar 2009 23:25:58 +0000 (23:25 +0000)]
moving dimension related unit tests to dimensions test module

15 years agodecoupling styles retrieval from the attr method
Brandon Aaron [Sun, 22 Mar 2009 23:25:03 +0000 (23:25 +0000)]
decoupling styles retrieval from the attr method

15 years agomoving some vars from manipulations.js to attributes.js
Brandon Aaron [Sun, 22 Mar 2009 15:06:58 +0000 (15:06 +0000)]
moving some vars from manipulations.js to attributes.js

15 years agofix for #4399, removing unused variables
Brandon Aaron [Sun, 22 Mar 2009 04:24:40 +0000 (04:24 +0000)]
fix for #4399, removing unused variables

15 years agofix for #4189, live/die now work with contexts other than just document
Brandon Aaron [Fri, 20 Mar 2009 03:10:07 +0000 (03:10 +0000)]
fix for #4189, live/die now work with contexts other than just document

15 years agoAdded some more information to the unload event cleanup.
John Resig [Thu, 19 Mar 2009 15:16:02 +0000 (15:16 +0000)]
Added some more information to the unload event cleanup.

15 years agofix for #4115
Brandon Aaron [Thu, 19 Mar 2009 03:17:38 +0000 (03:17 +0000)]
fix for #4115

15 years agofix for #4263, better support for nested fixed position elements
Brandon Aaron [Thu, 19 Mar 2009 02:54:57 +0000 (02:54 +0000)]
fix for #4263, better support for nested fixed position elements

15 years agobreaking jquery out into smaller modules. added attributes.js, manipulation.js, and...
Brandon Aaron [Wed, 18 Mar 2009 21:15:38 +0000 (21:15 +0000)]
breaking jquery out into smaller modules. added attributes.js, manipulation.js, and traversing.js

15 years agofix for #4374, gap in :hidden, :visible logic
Brandon Aaron [Wed, 18 Mar 2009 17:55:07 +0000 (17:55 +0000)]
fix for #4374, gap in :hidden, :visible logic

15 years agofix for #4204, fadeTo shows hidden elements before animating
Brandon Aaron [Wed, 18 Mar 2009 14:58:06 +0000 (14:58 +0000)]
fix for #4204, fadeTo shows hidden elements before animating

15 years agofix for #4074, pass context to jQuery.clean for jQuery.clone
Brandon Aaron [Wed, 18 Mar 2009 02:48:32 +0000 (02:48 +0000)]
fix for #4074, pass context to jQuery.clean for jQuery.clone

15 years agofix for #3688, setting type attribute on button causes IE to throw error
Brandon Aaron [Tue, 17 Mar 2009 22:27:25 +0000 (22:27 +0000)]
fix for #3688, setting type attribute on button causes IE to throw error

15 years agousing parseFloat for offset and position methods and removed num helper method
Brandon Aaron [Tue, 17 Mar 2009 21:07:11 +0000 (21:07 +0000)]
using parseFloat for offset and position methods and removed num helper method

15 years agoreturn null when no matched elements exist for offset and position
Brandon Aaron [Tue, 17 Mar 2009 20:50:17 +0000 (20:50 +0000)]
return null when no matched elements exist for offset and position

15 years agosome clean up in the offset method
Brandon Aaron [Tue, 17 Mar 2009 20:43:46 +0000 (20:43 +0000)]
some clean up in the offset method

15 years agoBacked out commit [6260], was causing too many problems. We'll have to bite the bulle...
John Resig [Tue, 17 Mar 2009 20:39:29 +0000 (20:39 +0000)]
Backed out commit [6260], was causing too many problems. We'll have to bite the bullet and assume that the incoming result set has array methods. Un-fixes jQuery bug #4250.

15 years agojquery dimensions: removed redundant code
Ariel Flesler [Fri, 6 Mar 2009 04:23:44 +0000 (04:23 +0000)]
jquery dimensions: removed redundant code

15 years agojquery core: Fixed a typo in a comment, closes #4294.
Ariel Flesler [Thu, 5 Mar 2009 13:36:12 +0000 (13:36 +0000)]
jquery core: Fixed a typo in a comment, closes #4294.

15 years agoRemoved the objectAll check from jQuery.support, was causing problems with broken...
John Resig [Sat, 28 Feb 2009 20:28:45 +0000 (20:28 +0000)]
Removed the objectAll check from jQuery.support, was causing problems with broken ActiveX controls. Fixes bug #4017.

15 years agoSimplified the structure of the .css() and .attr() methods (reducing the number of...
John Resig [Sat, 28 Feb 2009 20:23:48 +0000 (20:23 +0000)]
Simplified the structure of the .css() and .attr() methods (reducing the number of calls). Need to optimize $.css/$.curCSS/$.attr still. Fixes #4269.

15 years agoMoved to a generic solution for copying methods over for querySelectorAll-using browsers.
John Resig [Fri, 27 Feb 2009 15:20:59 +0000 (15:20 +0000)]
Moved to a generic solution for copying methods over for querySelectorAll-using browsers.

15 years agoNo longer use arguments.callee or RegExp (use new RegExp, instead) for ES 3.1 and...
John Resig [Thu, 26 Feb 2009 18:00:41 +0000 (18:00 +0000)]
No longer use arguments.callee or RegExp (use new RegExp, instead) for ES 3.1 and Caja compatibility. Fixes jQuery bug #4251.

15 years agoAs it turns out, the context was being started at a higher root than needed - fixing...
John Resig [Thu, 26 Feb 2009 01:15:54 +0000 (01:15 +0000)]
As it turns out, the context was being started at a higher root than needed - fixing this speeds up > selectors.

15 years agoRemoved the need for the results set to have array methods. Resolves jQuery bug ...
John Resig [Wed, 25 Feb 2009 18:41:29 +0000 (18:41 +0000)]
Removed the need for the results set to have array methods. Resolves jQuery bug #4250.

15 years agoMade some changes to how .find() works, inlined the duplicate check - should change...
John Resig [Wed, 25 Feb 2009 18:29:18 +0000 (18:29 +0000)]
Made some changes to how .find() works, inlined the duplicate check - should change other methods to act similarly. Goes towards fixing #4240.

15 years agoSimplified the isXML function, no need to use recursion.
John Resig [Wed, 25 Feb 2009 15:37:09 +0000 (15:37 +0000)]
Simplified the isXML function, no need to use recursion.

15 years agoExpose the sort/unique code from Sizzle as Sizzle.uniqueSort().
John Resig [Wed, 25 Feb 2009 15:19:08 +0000 (15:19 +0000)]
Expose the sort/unique code from Sizzle as Sizzle.uniqueSort().

15 years agoCut down on some more function calls for jQuery(...). Everything points back to the...
John Resig [Wed, 25 Feb 2009 14:23:25 +0000 (14:23 +0000)]
Cut down on some more function calls for jQuery(...). Everything points back to the same root jQuery(document) object now. Going towards ticket #4240.

15 years agoReduced the number of function calls required for .find() (single element root),...
John Resig [Wed, 25 Feb 2009 04:57:00 +0000 (04:57 +0000)]
Reduced the number of function calls required for .find() (single element root), optimized some calls to jQuery() as well. Goes towards fixing #4240.

15 years agoLanded some improvements for improving the performance of ID-rooted queries (e.g...
John Resig [Wed, 25 Feb 2009 04:08:04 +0000 (04:08 +0000)]
Landed some improvements for improving the performance of ID-rooted queries (e.g. '#foo p'). Fixes jQuery bug #4236.

15 years agoOverhauled the .remove() and .empty() methods to be much more efficient. Fixes bug...
John Resig [Mon, 23 Feb 2009 16:32:45 +0000 (16:32 +0000)]
Overhauled the .remove() and .empty() methods to be much more efficient. Fixes bug #4222.

15 years agojquery event: Fixing event.currentTarget for live().
Ariel Flesler [Mon, 23 Feb 2009 13:27:48 +0000 (13:27 +0000)]
jquery event: Fixing event.currentTarget for live().

15 years agoTagged the Sizzle 1.0 release.
John Resig [Fri, 20 Feb 2009 19:52:38 +0000 (19:52 +0000)]
Tagged the Sizzle 1.0 release.

15 years agoMade sure that .remove now uses multiFilter. Fixes bug #4205.
John Resig [Fri, 20 Feb 2009 19:45:29 +0000 (19:45 +0000)]
Made sure that .remove now uses multiFilter. Fixes bug #4205.

15 years agoBumping the version up to 1.3.3pre.
John Resig [Thu, 19 Feb 2009 22:41:33 +0000 (22:41 +0000)]
Bumping the version up to 1.3.3pre.

15 years agoTagging the 1.3.2 release.
John Resig [Thu, 19 Feb 2009 22:34:21 +0000 (22:34 +0000)]
Tagging the 1.3.2 release.

15 years agoFixed one of the selector tests that was reporting incorrectly in browsers that actua...
John Resig [Thu, 19 Feb 2009 21:35:33 +0000 (21:35 +0000)]
Fixed one of the selector tests that was reporting incorrectly in browsers that actually supported type="search" inputs.

15 years agoDisabled some of the animation tests that were being flaky.
John Resig [Thu, 19 Feb 2009 21:30:25 +0000 (21:30 +0000)]
Disabled some of the animation tests that were being flaky.

15 years agoMissed an other search-related test.
John Resig [Wed, 18 Feb 2009 21:57:46 +0000 (21:57 +0000)]
Missed an other search-related test.

15 years agoFixed some tests that were changed (fixed!) by fixing #3966.
John Resig [Wed, 18 Feb 2009 19:59:51 +0000 (19:59 +0000)]
Fixed some tests that were changed (fixed!) by fixing #3966.

15 years agoMade it so that search input elements are now serialized. Fixes bug #4107.
John Resig [Wed, 18 Feb 2009 19:43:14 +0000 (19:43 +0000)]
Made it so that search input elements are now serialized. Fixes bug #4107.

15 years agoMade it so that appendTo, etc. return the inserted elements (thus using pushStack...
John Resig [Wed, 18 Feb 2009 16:29:43 +0000 (16:29 +0000)]
Made it so that appendTo, etc. return the inserted elements (thus using pushStack, as well). Fixes bugs #3966 and #4182.

15 years agoA speedup for .remove() (which also speeds up .html()). Fixes #4178.
John Resig [Wed, 18 Feb 2009 02:40:55 +0000 (02:40 +0000)]
A speedup for .remove() (which also speeds up .html()). Fixes #4178.

15 years agoUpdated the show() tests to work without the use of jQuery.browser (the test suite...
John Resig [Tue, 17 Feb 2009 22:22:05 +0000 (22:22 +0000)]
Updated the show() tests to work without the use of jQuery.browser (the test suite now passes 100% in IE8).

15 years agoReorganized and disabled some of the height/width tests. Need to look in to better...
John Resig [Tue, 17 Feb 2009 22:15:42 +0000 (22:15 +0000)]
Reorganized and disabled some of the height/width tests. Need to look in to better abornormal-padding/margin/border support at some point.

15 years agoUpdated the JAR Makefile command to support UTF-8.
John Resig [Tue, 17 Feb 2009 21:56:42 +0000 (21:56 +0000)]
Updated the JAR Makefile command to support UTF-8.

15 years agoDisable building the lite and packed versions of jQuery by default (no longer needed).
John Resig [Tue, 17 Feb 2009 21:56:13 +0000 (21:56 +0000)]
Disable building the lite and packed versions of jQuery by default (no longer needed).

15 years agoSwitch to using createRange for element comparision instead of Array indexOf checks...
John Resig [Tue, 17 Feb 2009 17:51:50 +0000 (17:51 +0000)]
Switch to using createRange for element comparision instead of Array indexOf checks - thanks for the tip, Ioseb.

15 years agoBrought back the compareDocumentPosition code. While it is redundant in Firefox it...
John Resig [Tue, 17 Feb 2009 17:43:05 +0000 (17:43 +0000)]
Brought back the compareDocumentPosition code. While it is redundant in Firefox it's much faster than using indexOf.

15 years agoChanged the currentTarget test - no need to test the native event triggering for...
John Resig [Tue, 17 Feb 2009 17:22:59 +0000 (17:22 +0000)]
Changed the currentTarget test - no need to test the native event triggering for this test.

15 years agoChanged some of the fx/stop tests to handle the new test markup.
John Resig [Tue, 17 Feb 2009 16:39:33 +0000 (16:39 +0000)]
Changed some of the fx/stop tests to handle the new test markup.

15 years agoMade the div showing a little more explicit - making sure that it doesn't affect...
John Resig [Tue, 17 Feb 2009 16:22:41 +0000 (16:22 +0000)]
Made the div showing a little more explicit - making sure that it doesn't affect the fx tests.

15 years agoTweaked some of the selector tests to handle some of the test page changes.
John Resig [Tue, 17 Feb 2009 15:58:11 +0000 (15:58 +0000)]
Tweaked some of the selector tests to handle some of the test page changes.

15 years agoReorganized some of the animation tests to work with the new hide/show changes.
John Resig [Tue, 17 Feb 2009 15:54:27 +0000 (15:54 +0000)]
Reorganized some of the animation tests to work with the new hide/show changes.

15 years agoDisabled one of the ordering tests that was taking a while to run.
John Resig [Tue, 17 Feb 2009 14:13:39 +0000 (14:13 +0000)]
Disabled one of the ordering tests that was taking a while to run.

15 years agoFixed some more CSS/visibility tests.
John Resig [Tue, 17 Feb 2009 14:08:11 +0000 (14:08 +0000)]
Fixed some more CSS/visibility tests.

15 years agoChanged a bunch of the DOM tests to work in Document Order.
John Resig [Tue, 17 Feb 2009 14:05:25 +0000 (14:05 +0000)]
Changed a bunch of the DOM tests to work in Document Order.

15 years agoUpdated some of the display/visible/hidden tests to work on an appropriate element.
John Resig [Tue, 17 Feb 2009 13:57:28 +0000 (13:57 +0000)]
Updated some of the display/visible/hidden tests to work on an appropriate element.

15 years agotestrunner: Misc
Ariel Flesler [Tue, 17 Feb 2009 12:42:46 +0000 (12:42 +0000)]
testrunner: Misc

15 years agojquery event: closes #4033. e.currentTarget wasn't being enforced for native events...
Ariel Flesler [Tue, 17 Feb 2009 12:38:16 +0000 (12:38 +0000)]
jquery event: closes #4033. e.currentTarget wasn't being enforced for native events (IE doesn't have it)

15 years agofix show issue in IE 6. "olddisplay" is sometimes undefined and IE 6 does not like...
Brandon Aaron [Mon, 16 Feb 2009 21:20:51 +0000 (21:20 +0000)]
fix show issue in IE 6. "olddisplay" is sometimes undefined and IE 6 does not like setting style.display to undefined. also second for loop was mistakenly nested within the first for loop.

15 years agoBumping the version up to 1.3.2pre.
John Resig [Mon, 16 Feb 2009 18:25:37 +0000 (18:25 +0000)]
Bumping the version up to 1.3.2pre.

15 years agoAdded support for class selectors and class attribute selectors on XML documents...
John Resig [Mon, 16 Feb 2009 18:23:59 +0000 (18:23 +0000)]
Added support for class selectors and class attribute selectors on XML documents. Fixes jQuery bug #4167.

15 years agoFixed an issue with :nth-child selectors embedded in :not() filters. Fixes jQuery...
John Resig [Mon, 16 Feb 2009 17:58:33 +0000 (17:58 +0000)]
Fixed an issue with :nth-child selectors embedded in :not() filters. Fixes jQuery bug #4156.

15 years agoChanged the jQuery hidden/visible selectors to be a little more precise.
John Resig [Mon, 16 Feb 2009 15:55:06 +0000 (15:55 +0000)]
Changed the jQuery hidden/visible selectors to be a little more precise.

15 years agoChange the behavior of how :visible and :hidden work. :hidden is when an element...
John Resig [Mon, 16 Feb 2009 15:52:15 +0000 (15:52 +0000)]
Change the behavior of how :visible and :hidden work. :hidden is when an element is display none, a parent element is display none, or the element has a width of 0. :visible is when the element is not display none and all of its ancesotrs are not display none and its width is larger than 0. Fixes jQuery bugs #1349, #3265, and #3895.

15 years agoFixed a bug with certain + selectors failing (Fixes jQuery bug #4023). Also tweaked...
John Resig [Mon, 16 Feb 2009 15:36:42 +0000 (15:36 +0000)]
Fixed a bug with certain + selectors failing (Fixes jQuery bug #4023). Also tweaked the + and > functions a little bit.

15 years agoFixed the issue where weird characters were being used in ID selectors. Fixes jQuery...
John Resig [Sun, 15 Feb 2009 22:46:54 +0000 (22:46 +0000)]
Fixed the issue where weird characters were being used in ID selectors. Fixes jQuery bug #3913.

15 years agoMake sure that [name=FOO] searches actually have the specified name (IE includes...
John Resig [Sun, 15 Feb 2009 22:33:19 +0000 (22:33 +0000)]
Make sure that [name=FOO] searches actually have the specified name (IE includes elements that have the ID, as well).

15 years agoAdded fixes for two different :not() bugs. One with p:not(p.foo) failing and another...
John Resig [Sun, 15 Feb 2009 21:13:33 +0000 (21:13 +0000)]
Added fixes for two different :not() bugs. One with p:not(p.foo) failing and another with a weird combination of multiple selectors and filters. Fixes jQuery bug #4101.

15 years agoUpdated the copy of jQuery and added some more context tests.
John Resig [Sun, 15 Feb 2009 18:20:01 +0000 (18:20 +0000)]
Updated the copy of jQuery and added some more context tests.

15 years agoAdded some extra methods for making result set merging easier.
John Resig [Sun, 15 Feb 2009 18:09:34 +0000 (18:09 +0000)]
Added some extra methods for making result set merging easier.

15 years agoProvide a graceful failover for [name=foo] queries that are looking for non-input...
John Resig [Sat, 14 Feb 2009 22:24:55 +0000 (22:24 +0000)]
Provide a graceful failover for [name=foo] queries that are looking for non-input/iframe/form elements. Fixes jQuery bug #4081.

15 years agoThe compareDocumentPosition check was extraneous - indexOf works in all the other...
John Resig [Sat, 14 Feb 2009 22:18:02 +0000 (22:18 +0000)]
The compareDocumentPosition check was extraneous - indexOf works in all the other browsers that we need to support.

15 years agoAdded support for sorting in Safari - when querySelectorAll isn't able to be used.
John Resig [Sat, 14 Feb 2009 18:10:45 +0000 (18:10 +0000)]
Added support for sorting in Safari - when querySelectorAll isn't able to be used.

15 years agoDuplication checks are now handled directly in Sizzle, no need to do extra work in...
John Resig [Sat, 14 Feb 2009 17:25:33 +0000 (17:25 +0000)]
Duplication checks are now handled directly in Sizzle, no need to do extra work in .find().

15 years agoDisabled expando selector tests - they don't work in all browsers.
John Resig [Sat, 14 Feb 2009 17:13:08 +0000 (17:13 +0000)]
Disabled expando selector tests - they don't work in all browsers.

15 years agoOops, the sourceIndex of the documentElement in IE is 1, not 0.
John Resig [Sat, 14 Feb 2009 17:06:30 +0000 (17:06 +0000)]
Oops, the sourceIndex of the documentElement in IE is 1, not 0.

15 years agoMake sure that elements are returned in document order - and that the results are...
John Resig [Sat, 14 Feb 2009 16:59:10 +0000 (16:59 +0000)]
Make sure that elements are returned in document order - and that the results are unique.

15 years agoAdded some significant speed-ups to height/width checks, thanks to some code and...
John Resig [Fri, 13 Feb 2009 22:58:57 +0000 (22:58 +0000)]
Added some significant speed-ups to height/width checks, thanks to some code and investigation by Mike Helgeson. Fixes #3082.

15 years agoLanding a fix for a case where the animation timer wasn't getting stopped (thanks...
John Resig [Fri, 13 Feb 2009 16:15:23 +0000 (16:15 +0000)]
Landing a fix for a case where the animation timer wasn't getting stopped (thanks Arrix). Fixes bug #4001.

15 years agoMerging a bunch of changes back from Sizzle, by LosTFx.
John Resig [Tue, 10 Feb 2009 00:28:38 +0000 (00:28 +0000)]
Merging a bunch of changes back from Sizzle, by LosTFx.

15 years agoFixed bubbling of live events (if an inner element handles an event first - and stops...
John Resig [Mon, 9 Feb 2009 23:29:57 +0000 (23:29 +0000)]
Fixed bubbling of live events (if an inner element handles an event first - and stops progatation - then the parent event doesn't encounter the event). Thanks to Irae for the patch. Fixes bug #3980.

15 years agoAdded a performance improvement to .hide()/.show() that helps to prevent constant...
John Resig [Mon, 9 Feb 2009 15:58:12 +0000 (15:58 +0000)]
Added a performance improvement to .hide()/.show() that helps to prevent constant reflows from occurring. Fixes #4038.

15 years agoOptimized the clean() code to no longer use .trim() (speeds up working against long...
John Resig [Mon, 9 Feb 2009 15:41:50 +0000 (15:41 +0000)]
Optimized the clean() code to no longer use .trim() (speeds up working against long HTML in IE). Fixes #4037.