Dave Methvin [Fri, 8 Apr 2011 02:52:15 +0000 (22:52 -0400)]
Fixes #8722. Remove try/catch used by #3533 to fix the IE Table Colon Blow bug, and instead check for colon in the event name. Thanks to daguej for scoping this out -- a colonoscopy you might say.
Dave Methvin [Thu, 3 Feb 2011 02:57:44 +0000 (21:57 -0500)]
Create jQuery.holdReady(true/false) method to encapsulate jQuery.readyWait++ / jQuery.ready(true) logic. Fix problem where jQuery.ready may trigger twice, causing the (unsupported) document.onready to run twice. Fixes #8803 .
Rewrite of the support module. We use a temporary body element in order not to have to wait for the document to be ready for boxModel-related support tests.
Adds fn.promise as a mean to observe the completion of animations on a set of elements. Only queued animations are handled for now, non-queued animations support coming soon. Effects unit tests updated to test the feature (needs more testing though).
Dave Methvin [Wed, 16 Mar 2011 03:40:25 +0000 (23:40 -0400)]
Only bubble a triggered event if we have attached a jQuery handler, but check the current element for an inline handler regardless. Make some other size optimizations as well.
Dave Methvin [Fri, 11 Feb 2011 04:43:45 +0000 (23:43 -0500)]
Switch from recursion to iteration for event triggering. Move event-name namespace processing out of event handler, since it has to always go through trigger.
jaubourg [Wed, 30 Mar 2011 16:54:32 +0000 (18:54 +0200)]
Fixes #8692. Strange FF4 bug: values changed onto the arguments object sometimes end up as undefined values outside the $.when method. Cloning the object into a fresh array solves the issue.
Carl Fürstenberg [Thu, 17 Mar 2011 18:50:53 +0000 (19:50 +0100)]
Merge when updating submodules on make
When running make, the submodule update will remove all local changes.
Adding flag --rebase or --merge does solve the issue. rebase will
probably make it cleaner, but it might stop on conflict, thus --merge
will result in fewer (probably none).
Carl Fürstenberg [Tue, 15 Mar 2011 19:16:09 +0000 (20:16 +0100)]
Introduce submodules, closes #8536
Instead of the manual clone of sizzle and qunit, use git submodules
instead. this will ensure that all future releases can be recreated by
checking out an tag.
jaubourg [Tue, 15 Mar 2011 18:20:03 +0000 (19:20 +0100)]
Fixes #8509. Makes URL regexp less overzealous and ensures it recognizes URL schemes which do not contain a conformant hierarchical structure ( as per section 2.1.2 of http://www.ietf.org/rfc/rfc2718.txt ). Also adds about: and adobe air's app: and app-storage: to the list of local protocols and provides a failover in case document.location is illformed. Unit test added.
Dave Methvin [Sat, 5 Mar 2011 02:16:40 +0000 (21:16 -0500)]
Fixes #7340. Use a single capturing handler to simulate bubbling focusin/focusout event on non-IE browsers. Allow native DOM methods to fire events other than the currently active one back into jQuery.
jaubourg [Thu, 3 Mar 2011 18:38:06 +0000 (19:38 +0100)]
Moves Deferred-related code into a separate module. Context handling has been simplified in _Deferred.resolve and jQuery.when has been refactored for clarity (and minor optimization).
jeresig [Wed, 23 Feb 2011 18:18:44 +0000 (13:18 -0500)]
Make a new jQuery.support.noCloneChecked - splitting apart the previous feature detect relating to clone in IE, fixes the last remaining issue with IE 9 RC. Fixes #8365.
jaubourg [Fri, 18 Feb 2011 17:06:26 +0000 (18:06 +0100)]
Revert "Adds an invert method to promises that returns a "inverted" promise that is resolved when the underlying deferred is rejected and rejected when the underlying deferred is resolved."
Anton M [Thu, 17 Feb 2011 18:12:57 +0000 (19:12 +0100)]
Fix a some inaccuracies in the original test case for #7912.
- Use fresh div instead of one outside the test-fixture
- make sure the empty string test tests actually that (not 0% 0%)
- actually test for < -10000 (#7193)
- fixed some whitespace issues
louisremi [Thu, 17 Feb 2011 16:26:23 +0000 (17:26 +0100)]
Fixes #7912. Make sure .cur() only returns 0 as fallback value when it needs to ("", auto, undefined, null).
This change makes .cur() more .cssHooks friendly. .cur() now returns the unmodified value by
.css() if it isn't a number, number-alike or a value that needs a fallback to 0.
This way fx.start doesn't need to be recalculated for complex values.