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.
Ariel Flesler [Sun, 4 Jan 2009 22:32:18 +0000 (22:32 +0000)]
jquery event: event.stopImmediatePropagation() stops live handlers as well.
Ariel Flesler [Sun, 4 Jan 2009 22:25:46 +0000 (22:25 +0000)]
jquery core: Misc file size optimizations.
Ariel Flesler [Sun, 4 Jan 2009 21:15:02 +0000 (21:15 +0000)]
jquery ajax: File size optimization for compressed code.
Ariel Flesler [Sun, 4 Jan 2009 21:09:03 +0000 (21:09 +0000)]
jquery core: Allowing whitespaces within the [6026] addition.
John Resig [Sun, 4 Jan 2009 17:21:00 +0000 (17:21 +0000)]
Changed build.xml to use YUICompressor, fixes #3779.
John Resig [Sun, 4 Jan 2009 15:29:27 +0000 (15:29 +0000)]
Moved from the old JSMin to using YUIMin for compressing the jQuery source. Additionally landed some improvements from #3770 which dramatically reduce the filesize. The final minifed + gzipped size of jQuery went from 19817 bytes to 18063 bytes.
John Resig [Sat, 3 Jan 2009 00:51:07 +0000 (00:51 +0000)]
Landed a proper fix for #3255 - which involves doing createElement instead of going through the normal clean method.
John Resig [Sat, 3 Jan 2009 00:19:02 +0000 (00:19 +0000)]
Hid an issue where Safari through an exception when a colgroup was created in jQuery.clean. Not completely sure what the cause is, yet.
Ariel Flesler [Fri, 2 Jan 2009 23:44:06 +0000 (23:44 +0000)]
jquery event: Misc, removed a commented line from last commit.
John Resig [Fri, 2 Jan 2009 23:32:10 +0000 (23:32 +0000)]
Fixed an issue that was introduced by [5743] (which didn't have a test case, either - that has been resolved). This fixed #3739.
Ariel Flesler [Fri, 2 Jan 2009 23:07:16 +0000 (23:07 +0000)]
jquery event: Now using an internal argument to detect if bubbling on $.event.trigger. The other would fail when it receives an event object with target. Also, the target isn't nulled anymore.
In addition, there was a lot of code running O(n) during bubbling while not needed.
Ariel Flesler [Fri, 2 Jan 2009 22:23:52 +0000 (22:23 +0000)]
jquery event: closes #3772. The extra function on $.event.trigger isn't supported anymore.
John Resig [Fri, 2 Jan 2009 19:25:54 +0000 (19:25 +0000)]
Disabled testing of em-defined borders, need to look back into this issue.
John Resig [Fri, 2 Jan 2009 19:23:12 +0000 (19:23 +0000)]
The exact escaping of the text() test isn't important - as long as < is escaped.
John Resig [Wed, 31 Dec 2008 19:21:24 +0000 (19:21 +0000)]
Fixed an issue with .not("#foo, bar") not working correctly, closes #3757.
Ariel Flesler [Wed, 31 Dec 2008 03:36:51 +0000 (03:36 +0000)]
jquery event: event.timeStamp wasn't being created when passing just the type to the constructor.
Misc: Simplified the readyList execution code.
Ariel Flesler [Wed, 31 Dec 2008 02:58:13 +0000 (02:58 +0000)]
jquery event:
* event objects have isDefaultPrevented, isPropagationStopped and isImmediatePropagationStopped methods.
* Removed donative and dohandlers from $.trigger
* event.result carries the last returned data from a handler(not undefined).
* $.trigger doesn't keep bubbling if stopPropagation() is called.
* Same event object is used all along for global trigger
* Fixed the bug where target doesn't change when triggering on many elements.
* The data array on $.trigger was accumulating objects as it bubbles.
testrunner: adding more tests
Ariel Flesler [Tue, 30 Dec 2008 23:29:14 +0000 (23:29 +0000)]
jquery event: removed the argument dohandlers from $.trigger. Uses another approach.
Ariel Flesler [Tue, 30 Dec 2008 22:05:45 +0000 (22:05 +0000)]
build: Closes #3760. Adding the data module to the build file. Thanks Cloudream.