jquery.git
15 years agoTagging the 1.3.1rc1 release.
John Resig [Thu, 22 Jan 2009 00:30:13 +0000 (00:30 +0000)]
Tagging the 1.3.1rc1 release.

15 years agoBumping Sizzle version to 0.9.3.
John Resig [Thu, 22 Jan 2009 00:29:04 +0000 (00:29 +0000)]
Bumping Sizzle version to 0.9.3.

15 years agoTweaked one of the selector tests.
John Resig [Thu, 22 Jan 2009 00:11:11 +0000 (00:11 +0000)]
Tweaked one of the selector tests.

15 years agoAdded some additional checks to make sure that the correct methods are being used...
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.

15 years agoBumping the version of Sizzle up to 0.9.2.
John Resig [Wed, 21 Jan 2009 23:33:01 +0000 (23:33 +0000)]
Bumping the version of Sizzle up to 0.9.2.

15 years agoA follow-up for bug #3945. ID selectors don't work in querySelectorAll on XML documen...
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.

15 years agoMake sure that [name=foo] and #id selectors don't use the native methods on XML docum...
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.

15 years agoNow handle the case where Safari's querySelectorAll fails on uppercase characters...
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.

15 years agoAfter discussing it with a number of users I've decided to revert the change to ...
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.

15 years agoCHILD positions were being cached improperly. Tweaked it and added a test to make...
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.

15 years agoLanded a fix for timeouts not being aborted properly. Fixes jQuery bug #3874.
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.

15 years agoFixed a missing semicolon. Fixes jQuery bug #3927.
John Resig [Tue, 20 Jan 2009 19:58:19 +0000 (19:58 +0000)]
Fixed a missing semicolon. Fixes jQuery bug #3927.

15 years agoAdded a performance improvement to preFilter.CLASS from LosT on the Sizzle.js mailing...
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.

15 years agoAdded support for a[name^='foo['] style selectors. Fies jQuery bug #3928.
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.

15 years agoMade sure that .removeClass(null) doesn't throw an exception. Fixes #3847.
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.

15 years agoFocused support of .live(). stopPropagation and stopImmediatePropagation are not...
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.

15 years agoRe-worked the logic for where .selector and .context are added for ID selectors ...
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.

15 years agoAdded some missing spaces - helps to calm XHTML error messages in Safari.
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.

15 years agoAdded two more tweaks for XHTML core tests.
John Resig [Mon, 19 Jan 2009 23:33:46 +0000 (23:33 +0000)]
Added two more tweaks for XHTML core tests.

15 years agoMade some tweaks to the core tests so that they'll run better under XHTML.
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.

15 years agoBrought the logic for handling isXMLDoc over from Sizzle.
John Resig [Mon, 19 Jan 2009 23:17:30 +0000 (23:17 +0000)]
Brought the logic for handling isXMLDoc over from Sizzle.

15 years agoMade sure that a child element exists before the check is done, fixes jQuery bug...
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.

15 years agojquery event: closes #3843. Some events' timeStamp are wrong on Firefox, we don't...
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.

15 years agoRe-worked the logic for handling isXML detection.
John Resig [Mon, 19 Jan 2009 21:57:18 +0000 (21:57 +0000)]
Re-worked the logic for handling isXML detection.

15 years agoLanding a fix for non-link anchor tabIndex (from scott.gonzalez). Fixes ticket #3916.
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.

15 years agoFixed the logic for determining if an XML file is being used. Fixes jQuery bug #3896.
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.

15 years agoAdded a way to run the test suite as an XHTML page.
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.

15 years agoMerged some recent fixes in from Sizzle.
John Resig [Mon, 19 Jan 2009 18:09:11 +0000 (18:09 +0000)]
Merged some recent fixes in from Sizzle.

15 years agocore: ant build - add Date and Revision to to header (just like make build)
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)

15 years agocore: replaced version.js build script in ant build; wasn't used in make anymore...
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

15 years agoUpdated License Year, fixes #3871.
John Resig [Sat, 17 Jan 2009 22:25:18 +0000 (22:25 +0000)]
Updated License Year, fixes #3871.

15 years agoMade the IE frameElement check more explicit. Fixes #3880.
John Resig [Sat, 17 Jan 2009 22:04:23 +0000 (22:04 +0000)]
Made the IE frameElement check more explicit. Fixes #3880.

15 years agojquery fx: sync animations were being left on jQuery.timers (double callback)
Ariel Flesler [Wed, 14 Jan 2009 23:09:52 +0000 (23:09 +0000)]
jquery fx: sync animations were being left on jQuery.timers (double callback)
           jQuery.timerId is now a local var and it's not null'ed anymore.

15 years agocore: Ant target to generate openAjaxMetadata; uses http://www.exfer.net/jquery/creat...
Jörn Zaefferer [Wed, 14 Jan 2009 22:43:55 +0000 (22:43 +0000)]
core: Ant target to generate openAjaxMetadata; uses exfer.net/jquery/createjQueryXMLDocs.py to get the data from the wiki, and transforms it using xslt (see build/style.xsl)

15 years agocore: removed newline from version.txt, easier to use it via Ant then
Jörn Zaefferer [Wed, 14 Jan 2009 22:42:55 +0000 (22:42 +0000)]
core: removed newline from version.txt, easier to use it via Ant then

15 years agocore: removed outdated docs target from makefile
Jörn Zaefferer [Wed, 14 Jan 2009 22:42:21 +0000 (22:42 +0000)]
core: removed outdated docs target from makefile

15 years agoUpdating the version to 1.3.1pre.
John Resig [Tue, 13 Jan 2009 17:52:45 +0000 (17:52 +0000)]
Updating the version to 1.3.1pre.

15 years agoTagging the 1.3 release.
John Resig [Tue, 13 Jan 2009 17:50:31 +0000 (17:50 +0000)]
Tagging the 1.3 release.

15 years agoMerged Sizzle changes back into jQuery.
John Resig [Tue, 13 Jan 2009 16:40:19 +0000 (16:40 +0000)]
Merged Sizzle changes back into jQuery.

15 years agoAdded a trailing / in the innerHTML support test to allow it to not
John Resig [Tue, 13 Jan 2009 15:08:11 +0000 (15:08 +0000)]
Added a trailing / in the innerHTML support test to allow it to not
throw an error in XHTML documents. Fixes #3829.

15 years agoUpdated the benchmarking utility to use the Yahoo homepage and a bunch of new selectors.
John Resig [Mon, 12 Jan 2009 18:22:44 +0000 (18:22 +0000)]
Updated the benchmarking utility to use the Yahoo homepage and a bunch of new selectors.

15 years agoMerged in from Sizzle - a change to child filter selector logic.
John Resig [Mon, 12 Jan 2009 16:02:55 +0000 (16:02 +0000)]
Merged in from Sizzle - a change to child filter selector logic.

15 years agoMerged in a fix from Sizzle for :not(:first).
John Resig [Mon, 12 Jan 2009 14:45:58 +0000 (14:45 +0000)]
Merged in a fix from Sizzle for :not(:first).

15 years agoOnly try to wrap the element if it's not disconnected, fixed #3828.
John Resig [Mon, 12 Jan 2009 14:07:14 +0000 (14:07 +0000)]
Only try to wrap the element if it's not disconnected, fixed #3828.

15 years agoFixed an issue with parentNode being accessed in attr() on disconnected DOM elements.
John Resig [Mon, 12 Jan 2009 14:00:35 +0000 (14:00 +0000)]
Fixed an issue with parentNode being accessed in attr() on disconnected DOM elements.

15 years agoUpdating the source version to 1.3rc2.
John Resig [Mon, 12 Jan 2009 02:08:37 +0000 (02:08 +0000)]
Updating the source version to 1.3rc2.

15 years agoTagging the 1.3rc1 release.
John Resig [Mon, 12 Jan 2009 02:05:50 +0000 (02:05 +0000)]
Tagging the 1.3rc1 release.

15 years agoHad to remove the global variable tricks (especially the delete window calls) as...
John Resig [Mon, 12 Jan 2009 01:12:58 +0000 (01:12 +0000)]
Had to remove the global variable tricks (especially the delete window calls) as they cause
exceptions in IE. Also fixed a faulty test that assumed the order of Ajax function callbacks
would be consistent.

15 years agoTweaked the benchmark tests.
John Resig [Mon, 12 Jan 2009 00:24:36 +0000 (00:24 +0000)]
Tweaked the benchmark tests.

15 years agoMade a note about the push method.
John Resig [Mon, 12 Jan 2009 00:24:16 +0000 (00:24 +0000)]
Made a note about the push method.

15 years agoMade the case specific of the type attribute.
John Resig [Sun, 11 Jan 2009 21:22:37 +0000 (21:22 +0000)]
Made the case specific of the type attribute.

15 years agoMerging the latest from Sizzle.
John Resig [Sun, 11 Jan 2009 19:45:04 +0000 (19:45 +0000)]
Merging the latest from Sizzle.

15 years agoPrevented non-script <script> blocks from executing, fixing #3733.
John Resig [Sun, 11 Jan 2009 19:33:01 +0000 (19:33 +0000)]
Prevented non-script <script> blocks from executing, fixing #3733.

15 years agoForgot to change the build.xml file as well.
John Resig [Sun, 11 Jan 2009 16:19:11 +0000 (16:19 +0000)]
Forgot to change the build.xml file as well.

15 years agoFixed boxModel support - is now computed with feature detection, rather than sniffing.
John Resig [Sun, 11 Jan 2009 16:17:20 +0000 (16:17 +0000)]
Fixed boxModel support - is now computed with feature detection, rather than sniffing.

15 years ago.closest() with positional selectors wasn't worked as expected.
John Resig [Sat, 10 Jan 2009 20:30:03 +0000 (20:30 +0000)]
.closest() with positional selectors wasn't worked as expected.

15 years agoLanded a fix for when a DOM element gets accidentally removed by another live event...
John Resig [Sat, 10 Jan 2009 19:57:07 +0000 (19:57 +0000)]
Landed a fix for when a DOM element gets accidentally removed by another live event handler. Thanks to Irae for the patches. Fixed #3820.

15 years agoFixed an issue with script nodes being removed incorrectly, fixes #3737.
John Resig [Sat, 10 Jan 2009 01:07:59 +0000 (01:07 +0000)]
Fixed an issue with script nodes being removed incorrectly, fixes #3737.

15 years agotestrunner: Putting back the global variables used for ajax tests. I added many calls...
Ariel Flesler [Sat, 10 Jan 2009 00:16:48 +0000 (00:16 +0000)]
testrunner: Putting back the global variables used for ajax tests. I added many calls to delete though. The global namespace must be cleaned up before calling start() again.

15 years agotestrunner: Removing every global variable leaked within (and outside) tests. Some...
Ariel Flesler [Fri, 9 Jan 2009 23:49:18 +0000 (23:49 +0000)]
testrunner: Removing every global variable leaked within (and outside) tests. Some were deleted and some saved within the jQuery namespace.

15 years agoDidn't get specific enough with the proxy guid, fixes #3787.
John Resig [Fri, 9 Jan 2009 22:14:48 +0000 (22:14 +0000)]
Didn't get specific enough with the proxy guid, fixes #3787.

15 years agoMade it so that you can bind a single function to multiple .live() selectors. Additio...
John Resig [Fri, 9 Jan 2009 22:10:42 +0000 (22:10 +0000)]
Made it so that you can bind a single function to multiple .live() selectors. Additionally, simplified the proxy code to provide a default proxy function.
Fixes #3787.

15 years agotestrunner: refactored unbind's tests. Including one for #3538, passing since last...
Ariel Flesler [Thu, 8 Jan 2009 22:22:33 +0000 (22:22 +0000)]
testrunner: refactored unbind's tests. Including one for #3538, passing since last commit.

15 years agojquery event: Fixes #3538. unbind on many events was failing.
Ariel Flesler [Thu, 8 Jan 2009 22:21:16 +0000 (22:21 +0000)]
jquery event: Fixes #3538. unbind on many events was failing.

15 years agoSelector state wasn't being passed along on a cloned jQuery object.
John Resig [Thu, 8 Jan 2009 21:41:58 +0000 (21:41 +0000)]
Selector state wasn't being passed along on a cloned jQuery object.

15 years agoFixed tabindex normalization so that elements that natively support tabbing, but...
Scott González [Wed, 7 Jan 2009 14:36:30 +0000 (14:36 +0000)]
Fixed tabindex normalization so that elements that natively support tabbing, but don't have a tabindex explicitly set return 0 instead of undefined.

Removed jQuery.support.tabindex since we're only normalizing non-XML right now and all browsers support tabIndex for HTML documents.

15 years agoMerged in a missing argument from Sizzle.
John Resig [Wed, 7 Jan 2009 14:31:28 +0000 (14:31 +0000)]
Merged in a missing argument from Sizzle.

15 years agoLanded a number of improvements to the selector engine. Results are auto-merged onto...
John Resig [Wed, 7 Jan 2009 00:13:57 +0000 (00:13 +0000)]
Landed a number of improvements to the selector engine. Results are auto-merged onto the jQuery
object, class filtering is now done inline, and not filtering is more efficient.

15 years agoRemoved all uses of @ in the benchmarker and added a couple :not() tests.
John Resig [Tue, 6 Jan 2009 20:23:44 +0000 (20:23 +0000)]
Removed all uses of @ in the benchmarker and added a couple :not() tests.

15 years agoCleaned up the benchmarking utility (using a newer version of jQuery and fixing the...
John Resig [Tue, 6 Jan 2009 16:19:55 +0000 (16:19 +0000)]
Cleaned up the benchmarking utility (using a newer version of jQuery and fixing the runner).

15 years agoMade the .unqiue() within .find() optional (speeds up calls).
John Resig [Tue, 6 Jan 2009 16:17:50 +0000 (16:17 +0000)]
Made the .unqiue() within .find() optional (speeds up calls).

15 years agoTagging the 1.3b2 release.
John Resig [Mon, 5 Jan 2009 23:33:56 +0000 (23:33 +0000)]
Tagging the 1.3b2 release.

15 years agojquery selector: Replacing {0,1} for ? in a regex.
Ariel Flesler [Mon, 5 Jan 2009 23:19:58 +0000 (23:19 +0000)]
jquery selector: Replacing {0,1} for ? in a regex.

15 years agoDisabled an extra event binding.
John Resig [Mon, 5 Jan 2009 23:06:57 +0000 (23:06 +0000)]
Disabled an extra event binding.

15 years agoSwitched back to the old style of running embedded scripts (users who have duplicate...
John Resig [Mon, 5 Jan 2009 22:58:02 +0000 (22:58 +0000)]
Switched back to the old style of running embedded scripts (users who have duplicate runs will
have to deal with it another way).

15 years agoTimeout test appears to be flaky - disabling, for now.
John Resig [Mon, 5 Jan 2009 22:14:26 +0000 (22:14 +0000)]
Timeout test appears to be flaky - disabling, for now.

15 years agoThe timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 second.
John Resig [Mon, 5 Jan 2009 22:05:59 +0000 (22:05 +0000)]
The timeout test was waiting for 10 seconds - unnecessary, lowered it to 1 second.

15 years agoOops, order of operations.
John Resig [Mon, 5 Jan 2009 22:02:20 +0000 (22:02 +0000)]
Oops, order of operations.

15 years agoBrought in a fix from Sizzle - IE doesn't have .contains on XML elements.
John Resig [Mon, 5 Jan 2009 21:59:07 +0000 (21:59 +0000)]
Brought in a fix from Sizzle - IE doesn't have .contains on XML elements.

15 years agoSimplified the XML clone test.
John Resig [Mon, 5 Jan 2009 21:56:35 +0000 (21:56 +0000)]
Simplified the XML clone test.

15 years agoSimplified the XML selector test (save the result).
John Resig [Mon, 5 Jan 2009 21:04:15 +0000 (21:04 +0000)]
Simplified the XML selector test (save the result).

15 years agoFixed an issue with how broken selector tests were handled in IE (the exception was...
John Resig [Mon, 5 Jan 2009 20:43:58 +0000 (20:43 +0000)]
Fixed an issue with how broken selector tests were handled in IE (the exception was misdirected).

15 years agoThe triggered flag was being set too early, which was preventing bubbling form workin...
John Resig [Mon, 5 Jan 2009 20:43:24 +0000 (20:43 +0000)]
The triggered flag was being set too early, which was preventing bubbling form working when a
native event existed.

15 years agoMake sure that if no ownerDocument is available that we fall back to the node itself...
John Resig [Mon, 5 Jan 2009 19:22:25 +0000 (19:22 +0000)]
Make sure that if no ownerDocument is available that we fall back to the node itself (likely the document).

15 years agoLanded cross-browser support for tabIndex, by Scott, closes ticket #3649.
John Resig [Mon, 5 Jan 2009 17:34:42 +0000 (17:34 +0000)]
Landed cross-browser support for tabIndex, by Scott, closes ticket #3649.

15 years agojquery event: Removed a needless if (old code)
Ariel Flesler [Mon, 5 Jan 2009 13:31:21 +0000 (13:31 +0000)]
jquery event: Removed a needless if (old code)

15 years agojquery intro: looks nicer when built
Ariel Flesler [Mon, 5 Jan 2009 12:09:04 +0000 (12:09 +0000)]
jquery intro: looks nicer when built

15 years agojquery fx: Shortening the code additions on [6037].
Ariel Flesler [Mon, 5 Jan 2009 12:05:38 +0000 (12:05 +0000)]
jquery fx: Shortening the code additions on [6037].

15 years agoMerging from Sizzle (fixed a bug when querySelectorAll is used.
John Resig [Mon, 5 Jan 2009 02:45:20 +0000 (02:45 +0000)]
Merging from Sizzle (fixed a bug when querySelectorAll is used.

15 years agoForgot to merge in some of the new tests from Sizzle.
John Resig [Mon, 5 Jan 2009 01:24:14 +0000 (01:24 +0000)]
Forgot to merge in some of the new tests from Sizzle.

15 years agoMade hide, show, toggle, slideUp, slideDown, and slideToggle animate margins and...
John Resig [Mon, 5 Jan 2009 01:14:36 +0000 (01:14 +0000)]
Made hide, show, toggle, slideUp, slideDown, and slideToggle animate margins and paddings in addition to height, width, and opacity (results in a much-smoother animation).

15 years agoAccidentally left in an extra echo statement in the Makefile.
John Resig [Mon, 5 Jan 2009 00:34:40 +0000 (00:34 +0000)]
Accidentally left in an extra echo statement in the Makefile.

15 years agoSynced with the Sizzle repository.
John Resig [Mon, 5 Jan 2009 00:21:13 +0000 (00:21 +0000)]
Synced with the Sizzle repository.

15 years ago.live("div div") was failing due to the extra space in the selector (which conflicted...
John Resig [Sun, 4 Jan 2009 23:58:43 +0000 (23:58 +0000)]
.live("div div") was failing due to the extra space in the selector (which conflicted with multiple event binding in .bind).

15 years agoMoved the copyright to the intro file, added a ! so that it passes through YUIMin...
John Resig [Sun, 4 Jan 2009 23:34:18 +0000 (23:34 +0000)]
Moved the copyright to the intro file, added a ! so that it passes through YUIMin untouched, and changed the Date and Revision so that they're now generated automatically based upon all of jQuery rather than just the core file.

15 years agojquery event: event.stopImmediatePropagation() stops live handlers as well.
Ariel Flesler [Sun, 4 Jan 2009 22:32:18 +0000 (22:32 +0000)]
jquery event: event.stopImmediatePropagation() stops live handlers as well.

15 years agojquery core: Misc file size optimizations.
Ariel Flesler [Sun, 4 Jan 2009 22:25:46 +0000 (22:25 +0000)]
jquery core: Misc file size optimizations.

15 years agojquery ajax: File size optimization for compressed code.
Ariel Flesler [Sun, 4 Jan 2009 21:15:02 +0000 (21:15 +0000)]
jquery ajax: File size optimization for compressed code.

15 years agojquery core: Allowing whitespaces within the [6026] addition.
Ariel Flesler [Sun, 4 Jan 2009 21:09:03 +0000 (21:09 +0000)]
jquery core: Allowing whitespaces within the [6026] addition.

15 years agoChanged build.xml to use YUICompressor, fixes #3779.
John Resig [Sun, 4 Jan 2009 17:21:00 +0000 (17:21 +0000)]
Changed build.xml to use YUICompressor, fixes #3779.