- 09 Jan, 2011 4 commits
-
-
jaubourg authored
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.
-
jaubourg authored
-
jaubourg authored
Fixes #7881. Setting contentType to false will prevent the Content-Type header from being sent. Unit test added.
-
jaubourg authored
-
- 07 Jan, 2011 1 commit
-
-
jaubourg authored
-
- 06 Jan, 2011 5 commits
-
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
Renamed src/transports to src/ajax (in case we need prefilters in the future and to avoid a separate prefilters directory).
-
Colin Snover authored
-
- 05 Jan, 2011 1 commit
-
-
jaubourg authored
"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.
-
- 04 Jan, 2011 1 commit
-
-
jeresig authored
-
- 01 Jan, 2011 1 commit
-
-
Dave Methvin authored
When serializing text, encode all line breaks as CRLF pairs per the application/x-www-form-urlencoded specification. Fixes #6876.
-
- 31 Dec, 2010 25 commits
-
-
jaubourg authored
Conflicts: Rakefile src/ajax.js
-
jaubourg authored
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 authored
-
jaubourg authored
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 authored
-
jaubourg authored
-
jaubourg authored
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.
-
jaubourg authored
Removed dataCheckers, added true as possible value for dataConverters indicating dataType equivalence (ie. no conversion has to be performed).
-
unknown authored
-
unknown authored
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.
-
unknown authored
-
unknown authored
-
unknown authored
-
unknown authored
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
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 authored
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
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 authored
-
jaubourg authored
-
jaubourg authored
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.
-
- 30 Dec, 2010 2 commits
-
-
Jonas Pfenniger authored
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 authored
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.
-