Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed errorThrown test for 404 responses seeing as Safari 3.x XHR sets the ↵ | jaubourg | 2011-01-31 | 1 | -1/+7 |
| | | | | statusText as "OK" rather than "Not Found". | ||||
* | Simplifies the unit test for #8082. | jaubourg | 2011-01-29 | 1 | -8/+3 |
| | |||||
* | Fixes #8082. Text to script converter now returns text. Unit test added. | jaubourg | 2011-01-29 | 1 | -3/+9 |
| | |||||
* | Fixes #5856. Adds document protocol at the beginning of URLs without ↵ | jaubourg | 2011-01-26 | 1 | -0/+12 |
| | | | | protocol (thanks go to skrings for the initial pull request). Simplifies cross-domain detection regexp and logic as a consequence. Also took the opportunity to remove an unused variable. Unit test added. | ||||
* | Fixes #8054 by reverting feature enhancement 5812 (4920). Regexps no longer ↵ | jaubourg | 2011-01-26 | 1 | -19/+2 |
| | | | | searches for %3F in url or data to find jsonp callback placeholders. | ||||
* | Reworks how values of parameters passed to error callbacks are determined. ↵ | jaubourg | 2011-01-25 | 1 | -0/+41 |
| | | | | Fixes #8050. | ||||
* | Replaces "text in-between" technique with a full-fledged one-level ↵ | jaubourg | 2011-01-21 | 1 | -0/+43 |
| | | | | transitive search for converters (unit tests added). Also cleans up auto dataType determination and adds converter checks in order to guess the best dataType possible. | ||||
* | Makes sure statusCode callbacks are ordered in the same way success and ↵ | jaubourg | 2011-01-20 | 1 | -3/+30 |
| | | | | error callbacks are. Unit tests added. | ||||
* | Cleans up and simplifies code shared by ajaxPrefilter and ajaxTransport. ↵ | jaubourg | 2011-01-20 | 1 | -0/+41 |
| | | | | Removes chainability of ajaxSetup, ajaxPrefilter and ajaxTransport. Also makes sure context is handled properly by ajaxSetup (unit test added). | ||||
* | Moves active counter test after all other ajax tests where it should be. | jaubourg | 2011-01-19 | 1 | -4/+4 |
| | |||||
* | Merge in data_nocollide branch. Fixes #6968, improves unit testing framework ↵ | Colin Snover | 2011-01-17 | 1 | -1/+1 |
|\ | | | | | | | checks for leaky stuff. | ||||
| * | Update unit tests with a leak detection mechanism for the various jQuery ↵ | Colin Snover | 2011-01-09 | 1 | -1/+1 |
| | | | | | | | | globals and fix all leaks in the tests. | ||||
* | | Fixed the ajax test regarding the jsonp option set to false and added a test ↵ | jaubourg | 2011-01-16 | 1 | -5/+5 |
| | | | | | | | | to control the prefilter actually does not tamper with the url. | ||||
* | | Revised jsonp unit tests and added a test for when the jsonp option is set ↵ | jaubourg | 2011-01-16 | 1 | -259/+222 |
| | | | | | | | | to false. | ||||
* | | Fixes #2994. Not finding a transport now fires the error callbacks and ↵ | jaubourg | 2011-01-16 | 1 | -11/+5 |
| | | | | | | | | 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. | ||||
* | | Fixes #4964. Adds a statusCode object together with a new statusCode method ↵ | jaubourg | 2011-01-13 | 1 | -0/+70 |
| | | | | | | | | 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. | ||||
* | | Fixes #4897. Added ?? as a context-insensitive placeholder for the callback ↵ | jaubourg | 2011-01-12 | 1 | -2/+55 |
| | | | | | | | | name of a JSONP request. Unit tests provided. | ||||
* | | Yet another missing semicolon! | jaubourg | 2011-01-11 | 1 | -1/+1 |
| | | |||||
* | | Fixes #6230. Added a unit test to control that, since the ajax rewrite, ↵ | jaubourg | 2011-01-11 | 1 | -0/+22 |
| | | | | | | | | 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). | ||||
* | | Fixes 4825. jQuery.fn.load: use the jXHR's Promise interface to get the ↵ | jaubourg | 2011-01-11 | 1 | -0/+12 |
| | | | | | | | | actual response in case ajaxSettings contains a dataFilter. Unit test added. | ||||
* | | Fixes a race condition in JSONP Local test. | jaubourg | 2011-01-10 | 1 | -1/+1 |
|/ | |||||
* | Fixes #5812. =? will be detected even when it has been escaped during data ↵ | jaubourg | 2011-01-09 | 1 | -1/+17 |
| | | | | serialization. | ||||
* | Simplified cross-domain detection tests. | jaubourg | 2011-01-09 | 1 | -33/+13 |
| | |||||
* | Fixes #5955. Option crossDomain now forces ajax to consider a request as ↵ | jaubourg | 2011-01-09 | 1 | -2/+17 |
| | | | | cross-domain even when it is not. Useful for when servers issue redirects to cross-domain urls. Unit test added. | ||||
* | Added a test for retrying a request on error using jQuery.ajax(this). Works ↵ | jaubourg | 2011-01-09 | 1 | -0/+23 |
| | | | | as intended. Fixes #7461. | ||||
* | Fixes #7465. Reworked the regexp and associated test for cross-domain ↵ | jaubourg | 2011-01-09 | 1 | -0/+52 |
| | | | | detection so that it now includes ports. Added cross-domain detection tests for protocol, hostname and port. | ||||
* | Fixes #7868. ResponseText is now properly propagated for error callbacks. | jaubourg | 2011-01-09 | 1 | -0/+17 |
| | |||||
* | Fixes #7881. Setting contentType to false will prevent the Content-Type ↵ | jaubourg | 2011-01-09 | 1 | -0/+36 |
| | | | | header from being sent. Unit test added. | ||||
* | Added missing commas. | jaubourg | 2011-01-07 | 1 | -7/+7 |
| | |||||
* | Cleaning up trailing whitespace again. | Colin Snover | 2011-01-05 | 1 | -3/+3 |
| | |||||
* | When serializing text, encode all line breaks as CRLF pairs per the ↵ | Dave Methvin | 2010-12-31 | 1 | -4/+4 |
| | | | | application/x-www-form-urlencoded specification. Fixes #6876. | ||||
* | Renamed several ajaxSettings options. Removed cors test, fixed failing cors ↵ | jaubourg | 2010-12-31 | 1 | -48/+16 |
| | | | | test. | ||||
* | Removed re-usability from jXHR object (no more open, send & ↵ | jaubourg | 2010-12-31 | 1 | -162/+4 |
| | | | | 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. | ||||
* | Changed dataConverters key format. | unknown | 2010-12-31 | 1 | -1/+5 |
| | |||||
* | Clean trailing whitespace from all files. | Colin Snover | 2010-12-30 | 1 | -54/+54 |
| | |||||
* | Simplified headers tests: removed multiline headers (support is far too ↵ | jaubourg | 2010-12-11 | 1 | -25/+6 |
| | | | | servers & browsers dependant) and made all the tests in a single request. | ||||
* | Tweaked the headers test to be apache independent and actually work. | jaubourg | 2010-12-11 | 1 | -5/+5 |
| | |||||
* | Changed document.location to window.location per Ben Alman advice. | jaubourg | 2010-12-10 | 1 | -1/+1 |
| | |||||
* | Removed non-standard (and not that useful) xhr emulation methods & reworked ↵ | jaubourg | 2010-12-10 | 1 | -20/+32 |
| | | | | the headers test as a consequence. | ||||
* | Rewrite of the Ajax module by Julian Aubourg. Some (dated) details can be ↵ | jaubourg | 2010-12-09 | 1 | -14/+524 |
| | | | | found here: http://oksoclap.com/6Y26bm1ZsB more details are forthcoming. Fixes #7195. | ||||
* | Merge branch 'bug7531' of https://github.com/csnover/jquery into csnover-bug7531 | John Resig | 2010-12-06 | 1 | -0/+10 |
|\ | |||||
| * | Coerce s.url to string before calling replace, since replace is also a ↵ | Colin Snover | 2010-11-17 | 1 | -0/+10 |
| | | | | | | | | method of a Location object. Fixes #7531. | ||||
* | | Add unit test for fix to #7578. | Anton M | 2010-11-24 | 1 | -2/+13 |
|/ | |||||
* | Ensure that AJAX requests are actually aborted in all browsers. Fix #7422. | Colin Snover | 2010-11-06 | 1 | -1/+4 |
| | |||||
* | Backing out fix for #5803 from 3b50eaca2cd0b1439235e39c4e98a6438e8f55b2. | John Resig | 2010-10-25 | 1 | -15/+0 |
| | |||||
* | Allow DELETE requests to have a content body, and properly serialize data to ↵ | dmethvin | 2010-10-25 | 1 | -0/+26 |
| | | | | the url for HEAD requests. Fixes #7285. | ||||
* | Fixes #7229 and #5803 | rwldrn | 2010-10-24 | 1 | -0/+15 |
| | |||||
* | Fix broken Ajax test after recent revert to jQuery.ajax namespace. | jeresig | 2010-10-13 | 1 | -1/+1 |
| | |||||
* | Disable 304/Not Modified Ajax tests in Opera due to lack of suitable ↵ | jeresig | 2010-10-10 | 1 | -5/+22 |
| | | | | workaround. See: http://gist.github.com/599419 | ||||
* | Tweak broken serialize tests from commit ↵ | John Resig | 2010-09-30 | 1 | -3/+3 |
| | | | | 879799fe955f01b85b59fd8a0096d415fc48df03. Thanks to @jaubourg for the catch. |