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.
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.
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.
Ariel Flesler [Mon, 23 Feb 2009 13:27:48 +0000 (13:27 +0000)]
jquery event: Fixing event.currentTarget for live().
John Resig [Fri, 20 Feb 2009 19:52:38 +0000 (19:52 +0000)]
Tagged the Sizzle 1.0 release.
John Resig [Fri, 20 Feb 2009 19:45:29 +0000 (19:45 +0000)]
Made sure that .remove now uses multiFilter. Fixes bug #4205.
John Resig [Thu, 19 Feb 2009 22:41:33 +0000 (22:41 +0000)]
Bumping the version up to 1.3.3pre.
John Resig [Thu, 19 Feb 2009 22:34:21 +0000 (22:34 +0000)]
Tagging the 1.3.2 release.
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.
John Resig [Thu, 19 Feb 2009 21:30:25 +0000 (21:30 +0000)]
Disabled some of the animation tests that were being flaky.
John Resig [Wed, 18 Feb 2009 21:57:46 +0000 (21:57 +0000)]
Missed an other search-related test.
John Resig [Wed, 18 Feb 2009 19:59:51 +0000 (19:59 +0000)]
Fixed some tests that were changed (fixed!) by fixing #3966.
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.
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.
John Resig [Wed, 18 Feb 2009 02:40:55 +0000 (02:40 +0000)]
A speedup for .remove() (which also speeds up .html()). Fixes #4178.
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).
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.
John Resig [Tue, 17 Feb 2009 21:56:42 +0000 (21:56 +0000)]
Updated the JAR Makefile command to support UTF-8.
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).
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.
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.
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.
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.
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.
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.
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.
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.
John Resig [Tue, 17 Feb 2009 14:08:11 +0000 (14:08 +0000)]
Fixed some more CSS/visibility tests.
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.
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.
Ariel Flesler [Tue, 17 Feb 2009 12:42:46 +0000 (12:42 +0000)]
testrunner: Misc
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)
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.
John Resig [Mon, 16 Feb 2009 18:25:37 +0000 (18:25 +0000)]
Bumping the version up to 1.3.2pre.
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.
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.
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.
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.
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.
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.
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).
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.
John Resig [Sun, 15 Feb 2009 18:20:01 +0000 (18:20 +0000)]
Updated the copy of jQuery and added some more context tests.
John Resig [Sun, 15 Feb 2009 18:09:34 +0000 (18:09 +0000)]
Added some extra methods for making result set merging easier.
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.
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.
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.
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().
John Resig [Sat, 14 Feb 2009 17:13:08 +0000 (17:13 +0000)]
Disabled expando selector tests - they don't work in all browsers.
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.
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.
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.
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.
John Resig [Tue, 10 Feb 2009 00:28:38 +0000 (00:28 +0000)]
Merging a bunch of changes back from Sizzle, by LosTFx.
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.
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.
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.
John Resig [Mon, 9 Feb 2009 15:35:33 +0000 (15:35 +0000)]
Removed use of .trim() in globalEval, fixes #4036.
John Resig [Mon, 9 Feb 2009 15:18:07 +0000 (15:18 +0000)]
Reworked the attribute selection code to be able to select false-y values - and added some tests to verify that they work well against expandos.
John Resig [Mon, 9 Feb 2009 15:01:23 +0000 (15:01 +0000)]
match[4] is already saved in check - thanks Balazs.
John Resig [Mon, 9 Feb 2009 14:48:15 +0000 (14:48 +0000)]
Reworked the .clone() function in IE. Fixes jQuery bugs #3500 (jQuery expandos were causing extra elements to appear from using .html() cloning), #3254 (Mis-match in clone result length causes problem), and #2845 (Cloning an <object/> causes exceptions to be thrown).
John Resig [Sat, 7 Feb 2009 17:41:30 +0000 (17:41 +0000)]
Added a fix for empty attribute selection values. Fixes jQuery bug #3990.
John Resig [Sat, 7 Feb 2009 17:15:01 +0000 (17:15 +0000)]
Adding a tweak to prevent layout breaks in the boxModel check on IE 6. Fixes bug #4014.
John Resig [Sat, 7 Feb 2009 16:57:59 +0000 (16:57 +0000)]
Stopped a memory leak on getScript calls. Fixes #3962.
John Resig [Sat, 7 Feb 2009 16:54:11 +0000 (16:54 +0000)]
Added logic for not using getElementsByClassName in different failure states. Fixes jQuery bugs #4058 and #4042.
John Resig [Wed, 28 Jan 2009 22:38:00 +0000 (22:38 +0000)]
Added a fix, suggested by Diego, for IE firing the ready event too late. Fixes bug #3988.
John Resig [Fri, 23 Jan 2009 19:36:59 +0000 (19:36 +0000)]
Made the getAttribute check more explicit - comment nodes don't have getAttribute in XUL documents. Fixes jQuery bug #3870.
John Resig [Thu, 22 Jan 2009 01:42:16 +0000 (01:42 +0000)]
Tagging the 1.3.1 release.
John Resig [Thu, 22 Jan 2009 00:30:13 +0000 (00:30 +0000)]
Tagging the 1.3.1rc1 release.
John Resig [Thu, 22 Jan 2009 00:29:04 +0000 (00:29 +0000)]
Bumping Sizzle version to 0.9.3.
John Resig [Thu, 22 Jan 2009 00:11:11 +0000 (00:11 +0000)]
Tweaked one of the selector tests.
John Resig [Wed, 21 Jan 2009 23:56:15 +0000 (23:56 +0000)]
Added some additional checks to make sure that the correct methods are being used in IE on XML documents.
John Resig [Wed, 21 Jan 2009 23:33:01 +0000 (23:33 +0000)]
Bumping the version of Sizzle up to 0.9.2.
John Resig [Wed, 21 Jan 2009 23:31:29 +0000 (23:31 +0000)]
A follow-up for bug #3945. ID selectors don't work in querySelectorAll on XML documents, so we just fall back to the normal engine.
John Resig [Wed, 21 Jan 2009 23:19:30 +0000 (23:19 +0000)]
Make sure that [name=foo] and #id selectors don't use the native methods on XML documents (since id and name attributes may not be defined by a DTD and will return nothing instead. Fixes jQuery bug #3945.
John Resig [Wed, 21 Jan 2009 22:57:07 +0000 (22:57 +0000)]
Now handle the case where Safari's querySelectorAll fails on uppercase characters in quirks mode. Added a test to check for it and re-worked some of the existing tests to better handle document order issues. Fixes jQuery bug #3840.
John Resig [Wed, 21 Jan 2009 22:36:21 +0000 (22:36 +0000)]
After discussing it with a number of users I've decided to revert the change to [name!=value]. It is now equal to :not([attr!=value]). Attempting to switch it to [attr]:not([attr!=value]) produced some really non-obvious results and confused users. Fixes jQuery bug #3884.
John Resig [Wed, 21 Jan 2009 22:01:50 +0000 (22:01 +0000)]
CHILD positions were being cached improperly. Tweaked it and added a test to make sure it doesn't happen again. Fixes jQuery bug #3924.
John Resig [Wed, 21 Jan 2009 21:46:53 +0000 (21:46 +0000)]
Landed a fix for timeouts not being aborted properly. Fixes jQuery bug #3874.
John Resig [Tue, 20 Jan 2009 19:58:19 +0000 (19:58 +0000)]
Fixed a missing semicolon. Fixes jQuery bug #3927.
John Resig [Tue, 20 Jan 2009 19:47:15 +0000 (19:47 +0000)]
Added a performance improvement to preFilter.CLASS from LosT on the Sizzle.js mailing list.
John Resig [Tue, 20 Jan 2009 19:44:08 +0000 (19:44 +0000)]
Added support for a[name^='foo['] style selectors. Fies jQuery bug #3928.
John Resig [Tue, 20 Jan 2009 17:33:25 +0000 (17:33 +0000)]
Made sure that .removeClass(null) doesn't throw an exception. Fixes #3847.
John Resig [Tue, 20 Jan 2009 17:25:37 +0000 (17:25 +0000)]
Focused support of .live(). stopPropagation and stopImmediatePropagation are not supported - and do not do what the use would expect.
John Resig [Tue, 20 Jan 2009 16:00:48 +0000 (16:00 +0000)]
Re-worked the logic for where .selector and .context are added for ID selectors (especially ones that aren't found). Fixes jQuery bug #3833.
John Resig [Tue, 20 Jan 2009 15:46:40 +0000 (15:46 +0000)]
Added some missing spaces - helps to calm XHTML error messages in Safari.
John Resig [Mon, 19 Jan 2009 23:33:46 +0000 (23:33 +0000)]
Added two more tweaks for XHTML core tests.
John Resig [Mon, 19 Jan 2009 23:22:25 +0000 (23:22 +0000)]
Made some tweaks to the core tests so that they'll run better under XHTML.
John Resig [Mon, 19 Jan 2009 23:17:30 +0000 (23:17 +0000)]
Brought the logic for handling isXMLDoc over from Sizzle.
John Resig [Mon, 19 Jan 2009 23:04:03 +0000 (23:04 +0000)]
Made sure that a child element exists before the check is done, fixes jQuery bug #3870.
Ariel Flesler [Mon, 19 Jan 2009 22:20:25 +0000 (22:20 +0000)]
jquery event: closes #3843. Some events' timeStamp are wrong on Firefox, we don't rely on the native value anymore. timeStamp reflects object creation, not last event triggered.
John Resig [Mon, 19 Jan 2009 21:57:18 +0000 (21:57 +0000)]
Re-worked the logic for handling isXML detection.
John Resig [Mon, 19 Jan 2009 21:40:23 +0000 (21:40 +0000)]
Landing a fix for non-link anchor tabIndex (from scott.gonzalez). Fixes ticket #3916.
John Resig [Mon, 19 Jan 2009 18:56:02 +0000 (18:56 +0000)]
Fixed the logic for determining if an XML file is being used. Fixes jQuery bug #3896.
John Resig [Mon, 19 Jan 2009 18:14:51 +0000 (18:14 +0000)]
Added a way to run the test suite as an XHTML page.
John Resig [Mon, 19 Jan 2009 18:09:11 +0000 (18:09 +0000)]
Merged some recent fixes in from Sizzle.
Jörn Zaefferer [Sun, 18 Jan 2009 13:30:09 +0000 (13:30 +0000)]
core: ant build - add Date and Revision to to header (just like make build)
Jörn Zaefferer [Sun, 18 Jan 2009 13:04:32 +0000 (13:04 +0000)]
core: replaced version.js build script in ant build; wasn't used in make anymore anyway
John Resig [Sat, 17 Jan 2009 22:25:18 +0000 (22:25 +0000)]
Updated License Year, fixes #3871.
John Resig [Sat, 17 Jan 2009 22:04:23 +0000 (22:04 +0000)]
Made the IE frameElement check more explicit. Fixes #3880.