]> source.dussan.org Git - jquery.git/log
jquery.git
13 years agoReplace build system with a faster new one that uses Node and UglifyJS and generates...
Colin Snover [Tue, 18 Jan 2011 00:49:24 +0000 (18:49 -0600)]
Replace build system with a faster new one that uses Node and UglifyJS and generates smaller minified files. Also removes builds through rake/ant since having 3 different build systems was too much to maintain (make was the only one consistently kept up-to-date). Fixes #7973.

13 years agoDisabled a broken test for now, until WebKit browsers become more current.
jeresig [Mon, 17 Jan 2011 23:12:42 +0000 (18:12 -0500)]
Disabled a broken test for now, until WebKit browsers become more current.

13 years agoAccidentally removed the module teardown code.
jeresig [Mon, 17 Jan 2011 23:08:51 +0000 (18:08 -0500)]
Accidentally removed the module teardown code.

13 years agoOpera was falling back to undefined, which it didn't appreciate.
jeresig [Mon, 17 Jan 2011 23:07:52 +0000 (18:07 -0500)]
Opera was falling back to undefined, which it didn't appreciate.

13 years agoMerge branch 'master' of github.com:jquery/jquery
jeresig [Mon, 17 Jan 2011 22:44:54 +0000 (17:44 -0500)]
Merge branch 'master' of github.com:jquery/jquery

13 years agoFixed a couple issues with escaping of attribute values in selectors. Fixes #6093.
jeresig [Mon, 17 Jan 2011 22:44:42 +0000 (17:44 -0500)]
Fixed a couple issues with escaping of attribute values in selectors. Fixes #6093.

13 years agoMerge branch 'master' of github.com:jquery/jquery into jquery-master
Colin Snover [Mon, 17 Jan 2011 21:32:57 +0000 (15:32 -0600)]
Merge branch 'master' of github.com:jquery/jquery into jquery-master

13 years agoMerge in data_nocollide branch. Fixes #6968, improves unit testing framework checks...
Colin Snover [Mon, 17 Jan 2011 21:31:43 +0000 (15:31 -0600)]
Merge in data_nocollide branch. Fixes #6968, improves unit testing framework checks for leaky stuff.

13 years agoDefer scriptEval test until first use to prevent Content Security Policy inline-scrip...
Brandon Sterne [Mon, 17 Jan 2011 21:31:12 +0000 (16:31 -0500)]
Defer scriptEval test until first use to prevent Content Security Policy inline-script violations from occuring. Fixes #7371.

13 years agoIntroduce a temporary hack to allow jQuery.fn.data("events") to continue to work... 170/head
Colin Snover [Mon, 17 Jan 2011 21:22:49 +0000 (15:22 -0600)]
Introduce a temporary hack to allow jQuery.fn.data("events") to continue to work. This will be going away in 1.6. More information will be available in the 1.5 release notes.

13 years agoMerge branch '7608' of https://github.com/rwldrn/jquery into rwldrn-7608
jeresig [Mon, 17 Jan 2011 20:50:20 +0000 (15:50 -0500)]
Merge branch '7608' of https://github.com/rwldrn/jquery into rwldrn-7608

13 years agoMerging pull request 183 for #7793.
jeresig [Mon, 17 Jan 2011 20:45:07 +0000 (15:45 -0500)]
Merging pull request 183 for #7793.

13 years agoAdded unit tests to check and demonstrate new jQuery.Deferred() works.
jaubourg [Mon, 17 Jan 2011 16:52:30 +0000 (17:52 +0100)]
Added unit tests to check and demonstrate new jQuery.Deferred() works.

13 years agoPut the split to get the list of promise methods out of the promise method itself...
jaubourg [Sun, 16 Jan 2011 17:33:32 +0000 (18:33 +0100)]
Put the split to get the list of promise methods out of the promise method itself and also switched from jQuery.each to a while loop to remove as much overhead as possible. Thanks go to scott_gonzalez for reminding me of this.

13 years agoImplements joined jQuery.when statements. Makes it so calling jQuery.when with no...
jaubourg [Sun, 16 Jan 2011 16:41:39 +0000 (17:41 +0100)]
Implements joined jQuery.when statements. Makes it so calling jQuery.when with no parameter returns a resolved promise. Ensures promise method on promises supports the promise(obj) signature. Ensures a deferred and its promise always return the same promise (itself for the promise). Unit tests provided.

13 years agoFixed the ajax test regarding the jsonp option set to false and added a test to contr...
jaubourg [Sun, 16 Jan 2011 04:36:20 +0000 (05:36 +0100)]
Fixed the ajax test regarding the jsonp option set to false and added a test to control the prefilter actually does not tamper with the url.

13 years agoRevised jsonp unit tests and added a test for when the jsonp option is set to false.
jaubourg [Sun, 16 Jan 2011 04:27:16 +0000 (05:27 +0100)]
Revised jsonp unit tests and added a test for when the jsonp option is set to false.

13 years agoSetting the jsonp option to false now inhibits any url manipulation regarding the...
jaubourg [Sun, 16 Jan 2011 04:26:46 +0000 (05:26 +0100)]
Setting the jsonp option to false now inhibits any url manipulation regarding the callback.

13 years agoThe script prefilter now forces cross-domain requests type to GET.
jaubourg [Sun, 16 Jan 2011 04:25:45 +0000 (05:25 +0100)]
The script prefilter now forces cross-domain requests type to GET.

13 years agoMakes it so a prefilter can change the type of a request.
jaubourg [Sun, 16 Jan 2011 04:24:14 +0000 (05:24 +0100)]
Makes it so a prefilter can change the type of a request.

13 years agoRemoved internal dataTypes option and added headers & crossDomain options into commen...
jaubourg [Sun, 16 Jan 2011 02:05:03 +0000 (03:05 +0100)]
Removed internal dataTypes option and added headers & crossDomain options into commented out options of ajaxSettings.

13 years agoFixes #2994. Not finding a transport now fires the error callbacks and doesn't make...
jaubourg [Sun, 16 Jan 2011 01:57:39 +0000 (02:57 +0100)]
Fixes #2994. Not finding a transport now fires the error callbacks and doesn't make ajax return false. Had to revise how jsonp and script prefilters & transports work (better separation of concerns). Also took the opportunity to revise jXHR getRequestHeader and abort methods and enabled early transport garbage collection when the request completes.

13 years agoUpdate test case to feature-detect Opera's lack of defaultPrevented and skip the... 183/head
Dave Methvin [Sat, 15 Jan 2011 15:24:13 +0000 (10:24 -0500)]
Update test case to feature-detect Opera's lack of defaultPrevented and skip the test for it.

13 years agoUpdating the source version to 1.5pre.
jeresig [Fri, 14 Jan 2011 19:56:37 +0000 (14:56 -0500)]
Updating the source version to 1.5pre.

13 years agoTagging the 1.5b1 release. 1.5b1
jeresig [Fri, 14 Jan 2011 19:56:21 +0000 (14:56 -0500)]
Tagging the 1.5b1 release.

13 years agoRevert "Revert fb4445070cd9e06929c7b6f27c10dbf42d4a3367 which is no longer necessary...
jeresig [Fri, 14 Jan 2011 19:12:29 +0000 (14:12 -0500)]
Revert "Revert fb4445070cd9e06929c7b6f27c10dbf42d4a3367 which is no longer necessary with the release of Opera 11. Fixes #7608." We will be continuing to support Opera 10.6 in jQuery 1.5.

This reverts commit 012f0c3b4bd3d04c2f3e1ea80fc1230901d607d9.

13 years agoSo embarrassing :(
wycats [Fri, 14 Jan 2011 17:46:14 +0000 (12:46 -0500)]
So embarrassing :(

13 years agoMerge branch 'master' of https://github.com/scottgonzalez/jquery
jeresig [Fri, 14 Jan 2011 16:23:05 +0000 (11:23 -0500)]
Merge branch 'master' of https://github.com/scottgonzalez/jquery

13 years agoFix a strange Chrome issue
wycats [Fri, 14 Jan 2011 16:21:45 +0000 (11:21 -0500)]
Fix a strange Chrome issue

13 years agoFix a failing subclass test due to a change in master
wycats [Fri, 14 Jan 2011 16:17:32 +0000 (11:17 -0500)]
Fix a failing subclass test due to a change in master

13 years agoOverwrite CRLF with LF
wycats [Fri, 14 Jan 2011 15:36:45 +0000 (10:36 -0500)]
Overwrite CRLF with LF

13 years agoadded jQuery.subclass
Jared Grippe [Sun, 10 Oct 2010 00:32:54 +0000 (17:32 -0700)]
added jQuery.subclass

13 years agoAvoid running jQuery.unique() for methods that are guaranteed to produce a unique... 180/head
Scott González [Fri, 14 Jan 2011 14:55:40 +0000 (09:55 -0500)]
Avoid running jQuery.unique() for methods that are guaranteed to produce a unique result set. Fixes #7964 - Some traversal methods perform an unnecessary uniqueness check.

13 years agoMoved jQuery.ajax.prefilter and jQuery.ajax.transport to jQuery.ajaxPrefilter and...
jaubourg [Thu, 13 Jan 2011 17:33:24 +0000 (18:33 +0100)]
Moved jQuery.ajax.prefilter and jQuery.ajax.transport to jQuery.ajaxPrefilter and jQuery.ajaxTransport so that proxying the ajax method doesn't turn into a nightmare. Thanks go to scott_gonzalez and DaveMethvin for pointing out the issue. Also made ajaxSetup return "this" to enable chainable definitions -- jQuery.ajaxSetup(...).ajaxPrefilter(...).ajaxTransport(...).

13 years agoFixes #4964. Adds a statusCode object together with a new statusCode method on the...
jaubourg [Thu, 13 Jan 2011 16:01:25 +0000 (17:01 +0100)]
Fixes #4964. Adds a statusCode object together with a new statusCode method on the jXHR object (deferred behaviour). They accept a map of statusCode/callback(s). Callbacks are fired when the status code of the response correponds to the key (as a success or an error callback depending on how the request completed). Unit tests added.

13 years agoRemoved xhr pooling since failing cross-domain requests leaves the xhr object in...
jaubourg [Thu, 13 Jan 2011 15:58:16 +0000 (16:58 +0100)]
Removed xhr pooling since failing cross-domain requests leaves the xhr object in an undefined state in Firefox. Also rewrote comments related to the active xhr list so that they make sense.

13 years agoReworked script and xhr abort logic to take advantage of the fact jXHR.abort will...
jaubourg [Thu, 13 Jan 2011 01:05:39 +0000 (02:05 +0100)]
Reworked script and xhr abort logic to take advantage of the fact jXHR.abort will complete the request itself if not done already.

13 years agoCleans up statusText handling and simplifies 304 notmodified logic.
jaubourg [Thu, 13 Jan 2011 00:43:42 +0000 (01:43 +0100)]
Cleans up statusText handling and simplifies 304 notmodified logic.

13 years agoRemoves unnecessary variables and adds much needed comments into the data conversion...
jaubourg [Thu, 13 Jan 2011 00:18:46 +0000 (01:18 +0100)]
Removes unnecessary variables and adds much needed comments into the data conversion logic in ajax.

13 years agoFixes a regression by calling dataFilter with the second argument set as the dataType.
jaubourg [Wed, 12 Jan 2011 23:49:58 +0000 (00:49 +0100)]
Fixes a regression by calling dataFilter with the second argument set as the dataType.

13 years agoGets rid of a var statement by moving variable declarations up.
jaubourg [Wed, 12 Jan 2011 23:41:10 +0000 (00:41 +0100)]
Gets rid of a var statement by moving variable declarations up.

13 years agoScript transport now uses ajaxSetup to define script dataType.
jaubourg [Wed, 12 Jan 2011 17:54:15 +0000 (18:54 +0100)]
Script transport now uses ajaxSetup to define script dataType.

13 years agoAjaxSetup now uses deep extend internally to accomodate map structured options.
jaubourg [Wed, 12 Jan 2011 17:53:00 +0000 (18:53 +0100)]
AjaxSetup now uses deep extend internally to accomodate map structured options.

13 years agoFixes #4897. Added ?? as a context-insensitive placeholder for the callback name...
jaubourg [Wed, 12 Jan 2011 17:36:00 +0000 (18:36 +0100)]
Fixes #4897. Added ?? as a context-insensitive placeholder for the callback name of a JSONP request. Unit tests provided.

13 years agoYet another missing semicolon!
jaubourg [Tue, 11 Jan 2011 22:43:02 +0000 (23:43 +0100)]
Yet another missing semicolon!

13 years agoFixes #6230. Added a unit test to control that, since the ajax rewrite, setting the...
jaubourg [Tue, 11 Jan 2011 22:01:18 +0000 (23:01 +0100)]
Fixes #6230. Added a unit test to control that, since the ajax rewrite, setting the Accept header actually replaced the previous value and didn't append to it (tested in Safari 4.0.4 for which the problem was specifically reported).

13 years agoFixes 4825. jQuery.fn.load: use the jXHR's Promise interface to get the actual respon...
jaubourg [Tue, 11 Jan 2011 19:02:33 +0000 (20:02 +0100)]
Fixes 4825. jQuery.fn.load: use the jXHR's Promise interface to get the actual response in case ajaxSettings contains a dataFilter. Unit test added.

13 years agowhitespace fixes in unit tests 172/head
rwldrn [Mon, 10 Jan 2011 18:17:08 +0000 (13:17 -0500)]
whitespace fixes in unit tests

13 years agoMerge branch 'master' of github.com:jquery/jquery into jquery-master
Colin Snover [Mon, 10 Jan 2011 00:41:15 +0000 (18:41 -0600)]
Merge branch 'master' of github.com:jquery/jquery into jquery-master

13 years agoEnsure that buildFragment clones elements properly in all browsers. Fixes #3879,...
Colin Snover [Mon, 10 Jan 2011 00:38:44 +0000 (18:38 -0600)]
Ensure that buildFragment clones elements properly in all browsers. Fixes #3879, #6655. Also improves form element clone tests and fixes bugs in $.fn.clone exposed by these new test cases related to the values of checkboxes and radio buttons in IE.

13 years agoFixes a race condition in JSONP Local test.
jaubourg [Sun, 9 Jan 2011 23:52:20 +0000 (00:52 +0100)]
Fixes a race condition in JSONP Local test.

13 years agoRevert fb4445070cd9e06929c7b6f27c10dbf42d4a3367 which is no longer necessary with...
Colin Snover [Sun, 9 Jan 2011 23:34:58 +0000 (17:34 -0600)]
Revert fb4445070cd9e06929c7b6f27c10dbf42d4a3367 which is no longer necessary with the release of Opera 11. Fixes #7608.

13 years agoEnsure that the DOM element ref in an event handler is removed by cleanData to avoid...
Dave Methvin [Sun, 9 Jan 2011 22:25:44 +0000 (16:25 -0600)]
Ensure that the DOM element ref in an event handler is removed by cleanData to avoid an IE6/7/8 memory leak. Fixes #7054.

13 years agoChange embedded regexp to a variable (for #6876).
Dave Methvin [Sun, 9 Jan 2011 22:22:11 +0000 (16:22 -0600)]
Change embedded regexp to a variable (for #6876).

13 years agoUpdate unit tests with a leak detection mechanism for the various jQuery globals...
Colin Snover [Sun, 9 Jan 2011 21:58:47 +0000 (15:58 -0600)]
Update unit tests with a leak detection mechanism for the various jQuery globals and fix all leaks in the tests.

13 years agoFix jQuery.queue leaks empty queues.
Colin Snover [Sun, 9 Jan 2011 21:58:23 +0000 (15:58 -0600)]
Fix jQuery.queue leaks empty queues.

13 years agoFix domManip leaks the first element when appending elements to multiple other elements.
Colin Snover [Sun, 9 Jan 2011 21:56:40 +0000 (15:56 -0600)]
Fix domManip leaks the first element when appending elements to multiple other elements.

13 years agoChange the way jQuery.data works so that there is no longer a chance of collision...
Colin Snover [Sun, 9 Jan 2011 21:52:33 +0000 (15:52 -0600)]
Change the way jQuery.data works so that there is no longer a chance of collision between user data and internal data. Fixes #6968.

13 years agoMoved unload abort code so that the event is only bound if the xhr transport is used...
jaubourg [Sun, 9 Jan 2011 21:20:58 +0000 (22:20 +0100)]
Moved unload abort code so that the event is only bound if the xhr transport is used. Fixes #5280.

13 years agoFixes #5812. =? will be detected even when it has been escaped during data serialization.
jaubourg [Sun, 9 Jan 2011 20:48:52 +0000 (21:48 +0100)]
Fixes #5812. =? will be detected even when it has been escaped during data serialization.

13 years agoFixes #5803. Reworked jsonp prefilter so that it sets the dataType as jsonp and recog...
jaubourg [Sun, 9 Jan 2011 20:19:27 +0000 (21:19 +0100)]
Fixes #5803. Reworked jsonp prefilter so that it sets the dataType as jsonp and recognizes requests with originalSettings having jsonp or jsonpCallback to be jsonp. Moved default jsonp option value into ajaxSettings. Attached the transport to "jsonp" which avoids unnecessary testing. Transport factory sets dataType back to json for proper data conversion.

13 years agoMake it so prefilters get access to the original settings.
jaubourg [Sun, 9 Jan 2011 19:31:15 +0000 (20:31 +0100)]
Make it so prefilters get access to the original settings.

13 years agoSimplified cross-domain detection tests.
jaubourg [Sun, 9 Jan 2011 16:27:29 +0000 (17:27 +0100)]
Simplified cross-domain detection tests.

13 years agoFixes #5955. Option crossDomain now forces ajax to consider a request as cross-domain...
jaubourg [Sun, 9 Jan 2011 15:50:13 +0000 (16:50 +0100)]
Fixes #5955. Option crossDomain now forces ajax to consider a request as cross-domain even when it is not. Useful for when servers issue redirects to cross-domain urls. Unit test added.

13 years agoMake sure prefilters have been called and transport has been selected before sending...
jaubourg [Sun, 9 Jan 2011 15:32:51 +0000 (16:32 +0100)]
Make sure prefilters have been called and transport has been selected before sending any global event (in case the "global" option has been changed).

13 years agoAdded a test for retrying a request on error using jQuery.ajax(this). Works as intend...
jaubourg [Sun, 9 Jan 2011 05:19:27 +0000 (06:19 +0100)]
Added a test for retrying a request on error using jQuery.ajax(this). Works as intended. Fixes #7461.

13 years agoFixes #7465. Reworked the regexp and associated test for cross-domain detection so...
jaubourg [Sun, 9 Jan 2011 05:01:00 +0000 (06:01 +0100)]
Fixes #7465. Reworked the regexp and associated test for cross-domain detection so that it now includes ports. Added cross-domain detection tests for protocol, hostname and port.

13 years agoFixes #7868. ResponseText is now properly propagated for error callbacks.
jaubourg [Sun, 9 Jan 2011 03:53:29 +0000 (04:53 +0100)]
Fixes #7868. ResponseText is now properly propagated for error callbacks.

13 years agoFixes #7881. Setting contentType to false will prevent the Content-Type header from...
jaubourg [Sun, 9 Jan 2011 03:28:42 +0000 (04:28 +0100)]
Fixes #7881. Setting contentType to false will prevent the Content-Type header from being sent. Unit test added.

13 years agoAdded a simple cache for xhr objects in the xhr transport.
jaubourg [Sun, 9 Jan 2011 03:03:00 +0000 (04:03 +0100)]
Added a simple cache for xhr objects in the xhr transport.

13 years agoAdded missing commas.
jaubourg [Fri, 7 Jan 2011 14:52:58 +0000 (15:52 +0100)]
Added missing commas.

13 years agoRenamed "complete" to "done" in order to avoid conflicts with jXHR.complete.
jaubourg [Thu, 6 Jan 2011 00:26:06 +0000 (01:26 +0100)]
Renamed "complete" to "done" in order to avoid conflicts with jXHR.complete.

13 years agoFixed mixing of tabs & spaces to make JSLint happier.
jaubourg [Thu, 6 Jan 2011 00:18:03 +0000 (01:18 +0100)]
Fixed mixing of tabs & spaces to make JSLint happier.

13 years agoRenamed src/transports to src/ajax (in case we need prefilters in the future and...
jaubourg [Thu, 6 Jan 2011 00:17:31 +0000 (01:17 +0100)]
Renamed src/transports to src/ajax (in case we need prefilters in the future and to avoid a separate prefilters directory).

13 years agoCleaning up trailing whitespace again.
Colin Snover [Wed, 5 Jan 2011 21:41:23 +0000 (15:41 -0600)]
Cleaning up trailing whitespace again.

13 years agoRevert "Register as a CommonJS async module if in that kind of environment. Fixes...
wycats [Wed, 5 Jan 2011 21:26:05 +0000 (13:26 -0800)]
Revert "Register as a CommonJS async module if in that kind of environment. Fixes #7102."

This reverts commit 6ffa730721a8ebcd128f3dc202706e46d9cfe249.

Conflicts:

src/core.js

13 years agoBug #7608 elem.runtimeStyle throws exception in Opera 162/head
rwldrn [Wed, 5 Jan 2011 18:32:59 +0000 (13:32 -0500)]
Bug #7608  elem.runtimeStyle throws exception in Opera

13 years ago"then" renamed "complete" and new "then" method defined using "complete" and "fail...
jaubourg [Wed, 5 Jan 2011 03:29:30 +0000 (04:29 +0100)]
"then" renamed "complete" and new "then" method defined using "complete" and "fail" internally. The API is still symetrical (complete/fail), still promotes AOP but is also now Promise/A compliant. Changed unit tests and ajax module accordingly.

13 years agoUpdating year to 2011.
jeresig [Tue, 4 Jan 2011 14:52:26 +0000 (06:52 -0800)]
Updating year to 2011.

13 years agoWhen serializing text, encode all line breaks as CRLF pairs per the application/x...
Dave Methvin [Fri, 31 Dec 2010 19:56:51 +0000 (13:56 -0600)]
When serializing text, encode all line breaks as CRLF pairs per the application/x-www-form-urlencoded specification. Fixes #6876.

13 years agoMerge branch 'deferred' of github.com:jquery/jquery into deferred
jaubourg [Fri, 31 Dec 2010 03:21:08 +0000 (04:21 +0100)]
Merge branch 'deferred' of github.com:jquery/jquery into deferred

Conflicts:
Rakefile
src/ajax.js

13 years agoSimplified the way a Promise is tested for (removed promiseMarker). Removed isCancell...
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.

13 years agoRevised conversion logic to handle converter equal to true properly.
jaubourg [Wed, 29 Dec 2010 17:44:45 +0000 (18:44 +0100)]
Revised conversion logic to handle converter equal to true properly.

13 years agoIntroduced a new promise method on deferreds that returns an immutable object (exposi...
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.

13 years agoRenamed several ajaxSettings options. Removed cors test, fixed failing cors test.
jaubourg [Tue, 28 Dec 2010 01:30:51 +0000 (02:30 +0100)]
Renamed several ajaxSettings options. Removed cors test, fixed failing cors test.

13 years agoRevised logic in data conversion to account for when dataFilter modifies the dataType...
jaubourg [Sat, 25 Dec 2010 22:00:25 +0000 (23:00 +0100)]
Revised logic in data conversion to account for when dataFilter modifies the dataTypes list.

13 years agoRemoved re-usability from jXHR object (no more open, send & onreadystatechange suppor...
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.

13 years agoRemoved dataCheckers, added true as possible value for dataConverters indicating...
jaubourg [Sat, 25 Dec 2010 14:38:33 +0000 (15:38 +0100)]
Removed dataCheckers, added true as possible value for dataConverters indicating dataType equivalence (ie. no conversion has to be performed).

13 years agoRemoved custom method in isDeferred and when.
unknown [Sat, 25 Dec 2010 11:52:53 +0000 (12:52 +0100)]
Removed custom method in isDeferred and when.

13 years agoDeferred cannot be cancelled by returning false in a callback. Exception in the callb...
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.

13 years agoRemoved a console.log :/
unknown [Sat, 25 Dec 2010 00:27:40 +0000 (01:27 +0100)]
Removed a console.log :/

13 years agoCapitalized Deferred & _Deferred to clearly mark them as new types, like Event.
unknown [Fri, 24 Dec 2010 17:53:55 +0000 (18:53 +0100)]
Capitalized Deferred & _Deferred to clearly mark them as new types, like Event.

13 years agoChanged dataConverters key format.
unknown [Fri, 24 Dec 2010 17:02:45 +0000 (18:02 +0100)]
Changed dataConverters key format.

13 years agojQuery.parseXML extracted from ajax & added to core, needs unit testing.
unknown [Fri, 24 Dec 2010 17:02:00 +0000 (18:02 +0100)]
jQuery.parseXML extracted from ajax & added to core, needs unit testing.

13 years agoRemoved NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch...
jaubourg [Tue, 21 Dec 2010 16:04:07 +0000 (17:04 +0100)]
Removed NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch's warning).

13 years agoRewrote the data conversion logic in ajax. Should be cleaner and faster.
jaubourg [Tue, 21 Dec 2010 15:58:52 +0000 (16:58 +0100)]
Rewrote the data conversion logic in ajax. Should be cleaner and faster.

13 years agoRenamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementat...
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.

13 years agoFixed a loop that only worked in webkit.
jaubourg [Mon, 20 Dec 2010 23:56:00 +0000 (00:56 +0100)]
Fixed a loop that only worked in webkit.

13 years agoAdded deferred to core. Used internally for DOM readyness and ajax callbacks.
jaubourg [Mon, 20 Dec 2010 18:09:15 +0000 (19:09 +0100)]
Added deferred to core. Used internally for DOM readyness and ajax callbacks.

13 years agoRemoved NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch...
jaubourg [Tue, 21 Dec 2010 16:04:07 +0000 (17:04 +0100)]
Removed NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch's warning).