jaubourg
|
5a5f67800b
|
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.
|
2011-01-09 16:50:13 +01:00 |
|
jaubourg
|
c55a76a23f
|
Make sure prefilters have been called and transport has been selected before sending any global event (in case the "global" option has been changed).
|
2011-01-09 16:32:51 +01:00 |
|
jaubourg
|
afefb4f3d2
|
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.
|
2011-01-09 06:01:00 +01:00 |
|
jaubourg
|
d515068ee8
|
Fixes #7868. ResponseText is now properly propagated for error callbacks.
|
2011-01-09 04:53:29 +01:00 |
|
jaubourg
|
69497c3fd7
|
Fixes #7881. Setting contentType to false will prevent the Content-Type header from being sent. Unit test added.
|
2011-01-09 04:28:42 +01:00 |
|
jaubourg
|
1ca82ccd94
|
Renamed "complete" to "done" in order to avoid conflicts with jXHR.complete.
|
2011-01-06 01:26:06 +01:00 |
|
Colin Snover
|
e56de77df9
|
Cleaning up trailing whitespace again.
|
2011-01-05 15:44:07 -06:00 |
|
jaubourg
|
cbf591152c
|
"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.
|
2011-01-05 04:29:30 +01:00 |
|
Dave Methvin
|
eed3803c98
|
When serializing text, encode all line breaks as CRLF pairs per the application/x-www-form-urlencoded specification. Fixes #6876.
|
2010-12-31 13:56:51 -06:00 |
|
jaubourg
|
3c6f1380fa
|
Revised conversion logic to handle converter equal to true properly.
|
2010-12-31 04:15:12 +01:00 |
|
jaubourg
|
6dbffb8596
|
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.
|
2010-12-31 04:15:11 +01:00 |
|
jaubourg
|
6165cc45b7
|
Renamed several ajaxSettings options. Removed cors test, fixed failing cors test.
|
2010-12-31 04:15:09 +01:00 |
|
jaubourg
|
2a5c16f217
|
Revised logic in data conversion to account for when dataFilter modifies the dataTypes list.
|
2010-12-31 04:13:42 +01:00 |
|
jaubourg
|
981d1e08eb
|
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.
|
2010-12-31 04:13:40 +01:00 |
|
jaubourg
|
6f53be1839
|
Removed dataCheckers, added true as possible value for dataConverters indicating dataType equivalence (ie. no conversion has to be performed).
|
2010-12-31 04:05:58 +01:00 |
|
unknown
|
22e28b01e6
|
Changed dataConverters key format.
|
2010-12-31 04:05:52 +01:00 |
|
jaubourg
|
d5bb001b9a
|
Rewrote the data conversion logic in ajax. Should be cleaner and faster.
|
2010-12-31 04:05:48 +01:00 |
|
jaubourg
|
e29ebbc199
|
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.
|
2010-12-31 04:05:46 +01:00 |
|
jaubourg
|
fef0f63526
|
Rewrote the data conversion logic in ajax. Should be cleaner and faster.
|
2010-12-31 03:56:10 +01:00 |
|
jaubourg
|
4c49c87d4d
|
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.
|
2010-12-31 03:53:00 +01:00 |
|
Colin Snover
|
3e0cc81504
|
Clean trailing whitespace from all files.
|
2010-12-30 00:34:48 -06:00 |
|
Ben Alman
|
78a6f5b152
|
Removed unnecessary upper/lowercase, it's all just lowercase now (since $.ajax will uppercase as-needed).
|
2010-12-26 22:49:01 +00:00 |
|
Ben Alman
|
1830db4226
|
WETness getting you down? Fear not, the $.get and $.post methods are now 866% DRYer. This fixes #7847.
|
2010-12-26 18:52:27 +00:00 |
|
Colin Snover
|
1f92edee20
|
Fix fix for #6481 introduced at 7862c45ad2 which did not like it when Array.prototype was modified on empty arrays.
|
2010-12-22 18:54:22 -06:00 |
|
jaubourg
|
ab74d8e6a0
|
Fix the closure in ajax.js too.
|
2010-12-10 03:16:50 +01:00 |
|
jaubourg
|
ab3ba4a812
|
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.
|
2010-12-09 13:34:28 -05:00 |
|
John Resig
|
9759e9f6bb
|
Merge branch 'bug6242' of https://github.com/csnover/jquery into csnover-bug6242
|
2010-12-06 17:23:08 -05:00 |
|
John Resig
|
6c68124928
|
Merge branch 'bug7531' of https://github.com/csnover/jquery into csnover-bug7531
|
2010-12-06 17:22:02 -05:00 |
|
Colin Snover
|
238ac5a0aa
|
Fix memory leaks in IE caused by the custom abort function of $.ajax. Fixes bug #6242.
|
2010-12-03 00:12:52 -06:00 |
|
Anton M
|
8259efe734
|
Set cache to false as default for script or json requests. Fixes 7578.
|
2010-11-19 23:14:24 +01:00 |
|
Colin Snover
|
c04500a834
|
Optimize for size instead of speed.
|
2010-11-17 14:50:05 -06:00 |
|
Colin Snover
|
2a0c7d702b
|
Coerce s.url to string before calling replace, since replace is also a method of a Location object. Fixes #7531.
|
2010-11-17 00:59:24 -06:00 |
|
John Resig
|
aa74396976
|
Merge branch 'bug7422' of https://github.com/csnover/jquery into csnover-bug7422
|
2010-11-09 12:40:55 -05:00 |
|
John Resig
|
fb48ae8e6c
|
Make sure that when multiple variables are being declared that assignments are each done on their own line.
|
2010-11-09 11:09:07 -05:00 |
|
Colin Snover
|
e57b73a0ac
|
Ensure that AJAX requests are actually aborted in all browsers. Fix #7422.
|
2010-11-06 13:52:30 -05:00 |
|
John Resig
|
de58db0cdf
|
Backing out fix for #5803 from 3b50eaca2c .
|
2010-10-25 17:54:27 -07:00 |
|
John Resig
|
a4fc842019
|
Merge branch 'jquerymaster' of http://github.com/SlexAxton/jquery into SlexAxton-jquerymaster
|
2010-10-25 13:06:55 -07:00 |
|
dmethvin
|
09022e0b09
|
Allow DELETE requests to have a content body, and properly serialize data to the url for HEAD requests. Fixes #7285.
|
2010-10-25 13:06:02 -07:00 |
|
rwldrn
|
3b50eaca2c
|
Fixes #7229 and #5803
|
2010-10-24 12:18:33 -04:00 |
|
Alex Sexton
|
a58f8f22d1
|
Forces lower case comparison of protocol and host when determining whether the request is remote or local. Fixes #6908
|
2010-10-20 21:12:47 -07:00 |
|
John Resig
|
497fc9849e
|
Bringing back the change from 80a4178af9 , adapted to handle both the function collision and the issue mentioned in #7196.
|
2010-10-15 01:29:38 -04:00 |
|
jeresig
|
80a4178af9
|
Reverting commit 39addc87a3 after a report of problems. Fixes #7196.
|
2010-10-14 20:55:40 -04:00 |
|
jeresig
|
d490bcfa7c
|
Oops, still have jQuery.ajax.* on the brain.
|
2010-10-13 21:25:23 -04:00 |
|
Pinhook
|
39addc87a3
|
Handle issue with two concurrent JSONP requests that use the same callback name.
|
2010-10-13 10:30:19 -04:00 |
|
John Resig
|
6245ecb2b9
|
The world isn't ready for moving the Ajax methods to jQuery.ajax.*. Hope to move them there some day. Fixes #7146.
|
2010-10-11 18:29:52 -04:00 |
|
John Resig
|
9b655a176b
|
Merge branch 'bug7018' of http://github.com/csnover/jquery into csnover-bug7018
|
2010-10-09 16:25:55 -04:00 |
|
jeresig
|
da597bcf90
|
Name the try/catch arg to satisfy JSLint - thanks to @rwldrn in 873c28425f for the catch.
|
2010-10-09 12:26:44 -04:00 |
|
Colin Snover
|
d2e64979bf
|
Fix bug #7018.
|
2010-10-06 03:03:28 -05:00 |
|
John Resig
|
873c28425f
|
Make sure we have a fallback when XMLHttpRequest is manually disabled. Fixes #6298.
|
2010-09-28 10:12:33 -07:00 |
|
jeresig
|
e63fa8beb8
|
Merge branch 'master' of http://github.com/aakoch/jquery into aakoch-master
|
2010-09-27 14:49:13 -04:00 |
|