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.
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.
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)
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
Jörn Zaefferer [Wed, 14 Jan 2009 22:42:21 +0000 (22:42 +0000)]
core: removed outdated docs target from makefile
John Resig [Tue, 13 Jan 2009 17:52:45 +0000 (17:52 +0000)]
Updating the version to 1.3.1pre.
John Resig [Tue, 13 Jan 2009 17:50:31 +0000 (17:50 +0000)]
Tagging the 1.3 release.
John Resig [Tue, 13 Jan 2009 16:40:19 +0000 (16:40 +0000)]
Merged Sizzle changes back into jQuery.
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.
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.
John Resig [Mon, 12 Jan 2009 16:02:55 +0000 (16:02 +0000)]
Merged in from Sizzle - a change to child filter selector logic.
John Resig [Mon, 12 Jan 2009 14:45:58 +0000 (14:45 +0000)]
Merged in a fix from Sizzle for :not(:first).
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.
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.
John Resig [Mon, 12 Jan 2009 02:08:37 +0000 (02:08 +0000)]
Updating the source version to 1.3rc2.
John Resig [Mon, 12 Jan 2009 02:05:50 +0000 (02:05 +0000)]
Tagging the 1.3rc1 release.
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.
John Resig [Mon, 12 Jan 2009 00:24:36 +0000 (00:24 +0000)]
Tweaked the benchmark tests.
John Resig [Mon, 12 Jan 2009 00:24:16 +0000 (00:24 +0000)]
Made a note about the push method.
John Resig [Sun, 11 Jan 2009 21:22:37 +0000 (21:22 +0000)]
Made the case specific of the type attribute.
John Resig [Sun, 11 Jan 2009 19:45:04 +0000 (19:45 +0000)]
Merging the latest from Sizzle.
John Resig [Sun, 11 Jan 2009 19:33:01 +0000 (19:33 +0000)]
Prevented non-script <script> blocks from executing, fixing #3733.
John Resig [Sun, 11 Jan 2009 16:19:11 +0000 (16:19 +0000)]
Forgot to change the build.xml file as well.
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.
John Resig [Sat, 10 Jan 2009 20:30:03 +0000 (20:30 +0000)]
.closest() with positional selectors wasn't worked as expected.
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.
John Resig [Sat, 10 Jan 2009 01:07:59 +0000 (01:07 +0000)]
Fixed an issue with script nodes being removed incorrectly, fixes #3737.
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.
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.
John Resig [Fri, 9 Jan 2009 22:14:48 +0000 (22:14 +0000)]
Didn't get specific enough with the proxy guid, fixes #3787.
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.
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.
Ariel Flesler [Thu, 8 Jan 2009 22:21:16 +0000 (22:21 +0000)]
jquery event: Fixes #3538. unbind on many events was failing.
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.
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.
John Resig [Wed, 7 Jan 2009 14:31:28 +0000 (14:31 +0000)]
Merged in a missing argument from Sizzle.
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.
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.
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).
John Resig [Tue, 6 Jan 2009 16:17:50 +0000 (16:17 +0000)]
Made the .unqiue() within .find() optional (speeds up calls).
John Resig [Mon, 5 Jan 2009 23:33:56 +0000 (23:33 +0000)]
Tagging the 1.3b2 release.
Ariel Flesler [Mon, 5 Jan 2009 23:19:58 +0000 (23:19 +0000)]
jquery selector: Replacing {0,1} for ? in a regex.
John Resig [Mon, 5 Jan 2009 23:06:57 +0000 (23:06 +0000)]
Disabled an extra event binding.
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).
John Resig [Mon, 5 Jan 2009 22:14:26 +0000 (22:14 +0000)]
Timeout test appears to be flaky - disabling, for now.
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.
John Resig [Mon, 5 Jan 2009 22:02:20 +0000 (22:02 +0000)]
Oops, order of operations.
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.
John Resig [Mon, 5 Jan 2009 21:56:35 +0000 (21:56 +0000)]
Simplified the XML clone test.
John Resig [Mon, 5 Jan 2009 21:04:15 +0000 (21:04 +0000)]
Simplified the XML selector test (save the result).
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).
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.
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).
John Resig [Mon, 5 Jan 2009 17:34:42 +0000 (17:34 +0000)]
Landed cross-browser support for tabIndex, by Scott, closes ticket #3649.
Ariel Flesler [Mon, 5 Jan 2009 13:31:21 +0000 (13:31 +0000)]
jquery event: Removed a needless if (old code)
Ariel Flesler [Mon, 5 Jan 2009 12:09:04 +0000 (12:09 +0000)]
jquery intro: looks nicer when built
Ariel Flesler [Mon, 5 Jan 2009 12:05:38 +0000 (12:05 +0000)]
jquery fx: Shortening the code additions on [6037].
John Resig [Mon, 5 Jan 2009 02:45:20 +0000 (02:45 +0000)]
Merging from Sizzle (fixed a bug when querySelectorAll is used.
John Resig [Mon, 5 Jan 2009 01:24:14 +0000 (01:24 +0000)]
Forgot to merge in some of the new tests from Sizzle.
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).
John Resig [Mon, 5 Jan 2009 00:34:40 +0000 (00:34 +0000)]
Accidentally left in an extra echo statement in the Makefile.
John Resig [Mon, 5 Jan 2009 00:21:13 +0000 (00:21 +0000)]
Synced with the Sizzle repository.
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).
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.