Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes #8297. Makes sure response headers with empty values are handled ↵ | jaubourg | 2011-02-17 | 1 | -3/+9 |
| | | | | properly and do not prevent proper parsing of the entire response headers string. Unit test amended. | ||||
* | Fixes #8277. Sets data to undefined rather than null when it is not provided ↵ | jaubourg | 2011-02-15 | 1 | -0/+15 |
| | | | | in ajax helpers so that it won't revent data set in ajaxSettings from being used. Unit test added. | ||||
* | Remove duplicate test. | Anton M | 2011-02-11 | 1 | -3/+1 |
| | |||||
* | Fixes #8219. Introduces the mimeType option to override content-type header ↵ | jaubourg | 2011-02-09 | 1 | -0/+28 |
| | | | | in conversion (and in native xhr when possible). Adds companion overrideMimeType method on jqXHR object (it simply sets the option). Unit test added. | ||||
* | Fixes a bug that prevented headers from being set in an ajaxSend callback. ↵ | jaubourg | 2011-02-07 | 1 | -5/+12 |
| | | | | Unit test modified. | ||||
* | Fixes a typo in the title of the load() unit test. | jaubourg | 2011-02-05 | 1 | -1/+1 |
| | |||||
* | Remove an invalid ajax test and some code that is no longer used by any test. | Anton M | 2011-02-05 | 1 | -15/+0 |
| | |||||
* | Fixes abort in prefilter. No global event will be fired in that case even if ↵ | jaubourg | 2011-02-04 | 1 | -0/+19 |
| | | | | the global option is set to true. Unit test added. | ||||
* | Fixes #7945. Make jQuery.param() serialize plain objects with a property ↵ | Anton Kovalyov | 2011-02-02 | 1 | -1/+6 |
| | | | | named jquery correctly. | ||||
* | Fixes #8115. Renames all references to jXHR with jqXHR in the code (like was ↵ | jaubourg | 2011-02-01 | 1 | -18/+18 |
| | | | | done in the doc). | ||||
* | Places multiple signature test after all primary callbacks tests. | jaubourg | 2011-02-01 | 1 | -15/+15 |
| | |||||
* | Improve $.ajax method signature unit test and placement | Dan Heberden | 2011-02-01 | 1 | -19/+15 |
| | |||||
* | Bug 8107; Fix argument handling for $.ajax for multiple method signatues and ↵ | Dan Heberden | 2011-01-31 | 1 | -0/+19 |
| | | | | add test case | ||||
* | Fixes #8095. Properly handles the case where browser cache needs to be ↵ | jaubourg | 2011-01-31 | 1 | -78/+87 |
| | | | | bypassed while server-side logic still delivers proper 304 responses. Unit test added. | ||||
* | Script dataType now supports ecmascript mimetypes. | jaubourg | 2011-01-31 | 1 | -8/+14 |
| | |||||
* | Makes sure jsonp callback is not left in the global namespace in case of an ↵ | jaubourg | 2011-01-31 | 1 | -3/+35 |
| | | | | early abort (beforeSend). Unit test added. | ||||
* | Makes sure all converters keys are lowercased before any conversion is ↵ | jaubourg | 2011-01-31 | 1 | -4/+4 |
| | | | | taking place: dataTypes' names are now truly case insensitive. Unit test edited. | ||||
* | Fixes #7568. Follow-up fix for #5862. Objects with a length property weren't ↵ | Anton M | 2011-01-31 | 1 | -10/+28 |
| | | | | serialized properly by jQuery.param. | ||||
* | 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. |