jaubourg [Thu, 30 Dec 2010 16:06:53 +0000 (17:06 +0100)]
Simplified the way a Promise is tested for (removed promiseMarker). Removed isCancelled helper method from _Deferred, wasn't used nor tested. Reworked jQuery.Deferred and removed unnecessary variables. Also ensured a Promise will return itself when asked for a Promise. Finally, the jQuery.when tests have been revamped.
jaubourg [Tue, 28 Dec 2010 03:13:44 +0000 (04:13 +0100)]
Introduced a new promise method on deferreds that returns an immutable object (exposing then, fail, isResolved, isRejected and promise itself only). Remove $.isDeferred and moved logic directly into $.when. Made sure $.when returns a promise by using promise(). Used promise() in ajax code too.
jaubourg [Sat, 25 Dec 2010 17:54:37 +0000 (18:54 +0100)]
Removed re-usability from jXHR object (no more open, send & onreadystatechange support). Streamlined the implementation and put it back into ajax.js (removed xhr.js in the process). Went back to a more simple & direct approach to options handling (keeping much room to further minification-related optimizations). Code is cleaner, smaller & faster. Removed & edited unit tests accordingly. All build files have had xhr.js removed.
unknown [Sat, 25 Dec 2010 00:29:04 +0000 (01:29 +0100)]
Deferred cannot be cancelled by returning false in a callback. Exception in the callback are still propagated and execution of remaining callbacks is still possible.
jaubourg [Tue, 21 Dec 2010 12:06:41 +0000 (13:06 +0100)]
Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementation and made prefilters use the same logic. Cleaned up code and removed as many loops and each as possible.
jaubourg [Tue, 21 Dec 2010 12:06:41 +0000 (13:06 +0100)]
Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementation and made prefilters use the same logic. Cleaned up code and removed as many loops and each as possible.
Jonas Pfenniger [Thu, 30 Dec 2010 07:38:28 +0000 (01:38 -0600)]
Update Rakefile to remove module wrappers (feature parity with make and ant). Update Makefile to avoid rebuilding jquery.js when it is not necessary to do so.
Colin Snover [Thu, 30 Dec 2010 07:16:39 +0000 (01:16 -0600)]
Remove patch for very early versions of Opera 9 that made it impossible to animate values smaller than -10000. Fixes #7193. Thanks to igorw for initial patch & test case.
Dave Methvin [Mon, 27 Dec 2010 19:43:52 +0000 (13:43 -0600)]
Don't cache non-html strings in buildFragment to avoid possible collision with the names of Object methods like toString. Also makes the unit tests 0.5% to 8% faster. Fixes #6779.
Dave Methvin [Mon, 27 Dec 2010 19:30:05 +0000 (13:30 -0600)]
When a native browser event is bubbling up the DOM, make sure that the correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793.
Alex Sexton [Mon, 11 Oct 2010 16:54:00 +0000 (11:54 -0500)]
Changed the expando string to use a random number instead of the time, so collisions become less likely. Also added jQuery version to instantly differentiate separate versions of jQuery (a common use case for noConflict, etc, when two jQuery instances are on the page). Fixes #6842.
Colin Snover [Sun, 26 Dec 2010 16:35:14 +0000 (10:35 -0600)]
Fix reliableHiddenOffsets test was not working properly when table cells have borders, causing unnecessary slowness in some browsers. Thanks to matjas for his $.support test page.
Colin Snover [Thu, 23 Dec 2010 00:19:30 +0000 (18:19 -0600)]
Update cloneCopyEvent so that it does not create superfluous data objects when cloning elements. Exposes a new method, $.hasData. Fixes #7165. Thanks to DaveMethvin and iliakan for their help.
Colin Snover [Wed, 22 Dec 2010 20:43:17 +0000 (14:43 -0600)]
Remove code for ticket #7717 which has been marked WONTFIX to match existing $.data functionality and to prevent infinite loops caused by circular references.
Dave Methvin [Tue, 21 Dec 2010 15:00:49 +0000 (10:00 -0500)]
Use for loop instead of for/in loop to protect sanctity of Array.prototype. Fixes #7817. Test case for this commit is shared with the fix for #6355, https://github.com/jquery/jquery/pull/140 .
jaubourg [Thu, 9 Dec 2010 18:34:28 +0000 (13:34 -0500)]
Rewrite of the Ajax module by Julian Aubourg. Some (dated) details can be found here: http://oksoclap.com/6Y26bm1ZsB more details are forthcoming. Fixes #7195.