3c6f1380faRevised conversion logic to handle converter equal to true properly.
jaubourg
2010-12-29 18:44:45 +0100
6dbffb8596Introduced 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
2010-12-28 04:13:44 +0100
6165cc45b7Renamed several ajaxSettings options. Removed cors test, fixed failing cors test.
jaubourg
2010-12-28 02:30:51 +0100
2a5c16f217Revised logic in data conversion to account for when dataFilter modifies the dataTypes list.
jaubourg
2010-12-25 23:00:25 +0100
981d1e08ebRemoved 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.
jaubourg
2010-12-25 18:54:37 +0100
6f53be1839Removed dataCheckers, added true as possible value for dataConverters indicating dataType equivalence (ie. no conversion has to be performed).
jaubourg
2010-12-25 15:38:33 +0100
240d8b681eRemoved custom method in isDeferred and when.
unknown
2010-12-25 12:52:53 +0100
23d455b446Deferred cannot be cancelled by returning false in a callback. Exception in the callback are still propagated and execution of remaining callbacks is still possible.
unknown
2010-12-25 01:29:04 +0100
fd63416ab1Removed a console.log :/
unknown
2010-12-25 01:27:40 +0100
2d4001b82cCapitalized Deferred & _Deferred to clearly mark them as new types, like Event.
unknown
2010-12-24 18:53:55 +0100
524bf39400jQuery.parseXML extracted from ajax & added to core, needs unit testing.
unknown
2010-12-24 18:02:00 +0100
5bfbe7eaf6Removed NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch's warning).
jaubourg
2010-12-21 17:04:07 +0100
d5bb001b9aRewrote the data conversion logic in ajax. Should be cleaner and faster.
jaubourg
2010-12-21 16:58:52 +0100
e29ebbc199Renamed 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
2010-12-21 13:06:41 +0100
2fec5dbecdFixed a loop that only worked in webkit.
jaubourg
2010-12-21 00:56:00 +0100
39d96ab8c5Added deferred to core. Used internally for DOM readyness and ajax callbacks.
jaubourg
2010-12-20 19:09:15 +0100
43828b7482Removed NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch's warning).
jaubourg
2010-12-21 17:04:07 +0100
fef0f63526Rewrote the data conversion logic in ajax. Should be cleaner and faster.
jaubourg
2010-12-21 16:58:52 +0100
4c49c87d4dRenamed 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
2010-12-21 13:06:41 +0100
c072dbd4e2Fixed a loop that only worked in webkit.
jaubourg
2010-12-21 00:56:00 +0100
5bacb53866Added deferred to core. Used internally for DOM readyness and ajax callbacks.
jaubourg
2010-12-20 19:09:15 +0100
7b1e873cd9Simplified 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
2010-12-30 17:06:53 +0100
c1625f6b79Update 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.
Jonas Pfenniger
2010-12-30 01:38:28 -0600
4eeae8b0bcRemove 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.
Colin Snover
2010-12-30 01:16:39 -0600
3e0cc81504Clean trailing whitespace from all files.
Colin Snover
2010-12-30 00:34:48 -0600
429b078dc7Merge branch 'fix7762' into jquery master. Fixes#7762.
Colin Snover
2010-12-30 00:02:56 -0600
9029dc02a2Update CommonJS module registration to check to see if define is a function instead of just not undefined.
Colin Snover
2010-12-29 23:58:03 -0600
64902e0345Merge branch 'master' of github.com:jquery/jquery into deferred
jaubourg
2010-12-30 04:43:31 +0100
dfa5707306Fix for #7865. Scripts onload handler passes event as first parameter so statusText is now passed as second argument for aborts.
jaubourg
2010-12-30 04:41:52 +0100
7490eb4f8eRevised conversion logic to handle converter equal to true properly.
jaubourg
2010-12-29 18:44:45 +0100
c27d5ca6f5By default, use document root rather than current selection's context when add()ing elements. Fixes#7853.
Dave Methvin
2010-12-28 21:07:04 -0500
54d965ffa5Introduced 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
2010-12-28 04:13:44 +0100
8c9d32723aRenamed several ajaxSettings options. Removed cors test, fixed failing cors test.
jaubourg
2010-12-28 02:30:51 +0100
97b32d7830Merge branch 'master' of github.com:jquery/jquery into deferred
jaubourg
2010-12-28 02:02:31 +0100
5fd21fc02bDon'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
2010-12-27 13:43:52 -0600
64ee5581afWhen 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.
Dave Methvin
2010-12-27 13:30:05 -0600
6ffa730721Register as a CommonJS async module if in that kind of environment. Fixes#7102.
jrburke
2010-12-27 13:01:20 -0600
b8931f7448Test for standard createEvent before IE-specific click method. Don't fallback to fake click; let's see which browsers fail, if any.
Dave Methvin
2010-12-27 12:43:48 -0500
01cba2ecaaMerge SlexAxton/jquery:master into jquery/jquery:master.
Colin Snover
2010-12-26 22:08:41 -0600
faabb2c318Changed 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.
Alex Sexton
2010-10-11 11:54:00 -0500
4443371dbaDRY out $.get and $.post. Fixes#7847. Thanks to cowboy for the patch.
Colin Snover
2010-12-26 20:56:20 -0600
78a6f5b152Removed unnecessary upper/lowercase, it's all just lowercase now (since $.ajax will uppercase as-needed).
Ben Alman
2010-12-26 22:49:01 +0000
37d297c67fClearing event handlers on unload is no longer necessary in any version of IE. This issue causing memory leaks between pages was fixed in MS07-033.
Colin Snover
2010-12-26 14:28:49 -0600
a939ade9c6Fix whitespace in event.js
Colin Snover
2010-12-26 14:28:13 -0600
1830db4226WETness getting you down? Fear not, the $.get and $.post methods are now 866% DRYer. This fixes#7847.
Ben Alman
2010-12-26 18:51:29 +0000
52b1709b94Fix 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
2010-12-26 10:35:14 -0600
85f0dda562Revised logic in data conversion to account for when dataFilter modifies the dataTypes list.
jaubourg
2010-12-25 23:00:25 +0100
f7ed2aca56Removed 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.
jaubourg
2010-12-25 18:54:37 +0100
00fb8a9ad6Removed dataCheckers, added true as possible value for dataConverters indicating dataType equivalence (ie. no conversion has to be performed).
jaubourg
2010-12-25 15:38:33 +0100
5237b09602Removed custom method in isDeferred and when.
unknown
2010-12-25 12:52:53 +0100
846c52d1f8Deferred cannot be cancelled by returning false in a callback. Exception in the callback are still propagated and execution of remaining callbacks is still possible.
unknown
2010-12-25 01:29:04 +0100
e3f3f18927Removed a console.log :/
unknown
2010-12-25 01:27:40 +0100
1e1a9c7eb0Capitalized Deferred & _Deferred to clearly mark them as new types, like Event.
unknown
2010-12-24 18:53:55 +0100
11642ba20cjQuery.parseXML extracted from ajax & added to core, needs unit testing.
unknown
2010-12-24 18:02:00 +0100
c9e8a95709Simplify the check for isDefaultPrevented.
Dave Methvin
2010-12-24 09:53:39 -0500
8ece429d12Merge branch 'deferred' of github.com:jquery/jquery into deferred
unknown
2010-12-24 13:03:06 +0100
76102f4d8bRemoved NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch's warning).
jaubourg
2010-12-21 17:04:07 +0100
38101be048Rewrote the data conversion logic in ajax. Should be cleaner and faster.
jaubourg
2010-12-21 16:58:52 +0100
0daf7223d0Renamed 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
2010-12-21 13:06:41 +0100
56628c7adfFixed a loop that only worked in webkit.
jaubourg
2010-12-21 00:56:00 +0100
116c82b027Added deferred to core. Used internally for DOM readyness and ajax callbacks.
jaubourg
2010-12-20 19:09:15 +0100
0b6afcedd2When 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.
Dave Methvin
2010-12-23 16:21:14 -0500
1f92edee20Fix fix for #6481 introduced at 7862c45ad2 which did not like it when Array.prototype was modified on empty arrays.
Colin Snover
2010-12-22 18:54:22 -0600
82ac384b49Don't use for-in loops on Arrays. Fixes#7817. Thanks to dmethvin. Conflicts: src/manipulation.js
Colin Snover
2010-12-22 18:31:33 -0600
f28c774f2cUpdate 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
2010-12-22 18:19:30 -0600
a2bf7ab3c0Code style fix
Colin Snover
2010-12-22 18:17:58 -0600
e199ead4cbMore unit tests and a $.hasData that works for JS objects too.
Colin Snover
2010-12-22 15:03:01 -0600
f5d4bf8920Update jQuery.hasData to always return a boolean, with unit tests.
Colin Snover
2010-12-22 14:54:37 -0600
445fdf720cRemove code for ticket #7717 which has been marked WONTFIX to match existing $.data functionality and to prevent infinite loops caused by circular references.
Colin Snover
2010-12-22 14:43:17 -0600
18fa1fd9daGetting window dimensions currently fails in Nokia browsers, causing JS error (and consequently making jQuery Mobile fail to render the page). Based on a tip from Ben Nolan, this fix returns window.screen[width|height] if the other attempts at getting window dimensions fail. On mobile at least, it seems to make sense, and on desktop (assuming this issue would ever show up on desktop), this might be better than returning false or undefined.
scottjehl
2010-12-22 15:24:07 -0500
2a47ceae5bFix a potential error in the previous commit caused by the use of a separate index variable. Thanks to dmethvin for the review.
Colin Snover
2010-12-22 09:15:41 -0600
5607bd8d53Fix a potential error in the previous commit caused by the use of a separate index variable. Thanks to dmethvin for the review.
Colin Snover
2010-12-22 09:13:28 -0600
7f617e0c9fFix a potential error in the previous commit caused by the use of a separate index variable.
Colin Snover
2010-12-22 09:13:28 -0600
c810c62a67Removed NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch's warning).
jaubourg
2010-12-21 17:04:07 +0100
1db2f02cc7Rewrote the data conversion logic in ajax. Should be cleaner and faster.
jaubourg
2010-12-21 16:58:52 +0100
91d32e8f96Renamed 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
2010-12-21 13:06:41 +0100
4424bda377Use a for loop rather than for/in loop when copying events, so that code will work with an augmented Array.prototype. Fixes 7809.
Dave Methvin
2010-12-20 22:23:59 -0500
9e3f053c65Fixed a loop that only worked in webkit.
jaubourg
2010-12-21 00:56:00 +0100
88d97deb77Added deferred to core. Used internally for DOM readyness and ajax callbacks.
jaubourg
2010-12-20 19:09:15 +0100
faefbb1ad0Fix#7717 and #7165. Thanks to dmethvin and iliakan for their help fixing these issues.
Colin Snover
2010-12-19 15:33:53 -0600
ade531cfaaNoted which browsers don't support Function#bind.
Gianni Chiappetta
2010-12-18 19:26:36 -0500
6bc9fc7c10Perf. improvement based on fearphage's suggestion (direct vs call vs apply).
Gianni Chiappetta
2010-12-18 19:17:37 -0500
1ebb5ab3e1Added list of browsers that currently support Function#bind.
Gianni Chiappetta
2010-12-16 16:04:23 -0500
291b1edf44Address some code style issues in the clone fix.
Colin Snover
2010-12-16 01:29:06 -0600
5b1b57850cAdd a quick test to $.support for native bind.
Gianni Chiappetta
2010-12-15 18:31:10 -0500
9f8cd6c499Fixing $.proxy to work like (and use) Function.prototype.bind (ticket #7783)
Gianni Chiappetta
2010-12-14 21:53:04 -0500
2defa4863aFixes#7397.
Colin Snover
2010-12-14 00:40:28 -0600
c9c9057c4dMore specific version numbers.
Colin Snover
2010-12-12 20:01:47 -0600
1a3fd3329dSpeed up & compatibility improvements for new clone mechanism in IE.
Colin Snover
2010-12-12 19:23:22 -0600
8b33e23ea0Return test comments to ASCII space
Colin Snover
2010-12-12 13:37:00 -0600
4fae75d575Merge branch 'bug5566' into csnover-bug5566. Fixes#4386, #5566, #6997.
Colin Snover
2010-12-12 02:39:06 -0600
7481a3645aFix the clone method to be a little less insane in IE, which fixes the new event-cloning clone() as well as probably a bunch of IE-related clone bugs.
Colin Snover
2010-12-12 02:20:31 -0600
974637d639Simplified headers tests: removed multiline headers (support is far too servers & browsers dependant) and made all the tests in a single request.
jaubourg
2010-12-11 02:41:39 +0100
0b0889ceaaTweaked the headers test to be apache independent and actually work.
jaubourg
2010-12-11 02:21:54 +0100
9d3a4a2b40Removed bind/unbind from xhr emulation: success/error/complete are deferred not events so these methods didn't really make sense in the first place.
jaubourg
2010-12-11 02:04:13 +0100
8ab5e1e45cAdded the regexp to remove module closures to the ant build file to be on par with the Makefile.
jaubourg
2010-12-11 01:56:29 +0100