Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixes #8054 by reverting feature enhancement 5812 (4920). Regexps no longer ↵ | jaubourg | 2011-01-26 | 1 | -1/+1 | |
| | | | | 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 | -6/+3 | |
| | | | | Fixes #8050. | |||||
* | More code style fixes. | jaubourg | 2011-01-23 | 2 | -4/+3 | |
| | ||||||
* | Apply JQuery Core Style Guidelines to ajax.js and ajax/*.js, | jaubourg | 2011-01-23 | 3 | -78/+65 | |
| | ||||||
* | Moves determineResponse logic into main ajax callback. Puts responseXXX ↵ | jaubourg | 2011-01-20 | 1 | -8/+7 | |
| | | | | fields definitions into ajaxSettings. | |||||
* | Removes misleading comment. | jaubourg | 2011-01-20 | 1 | -1/+0 | |
| | ||||||
* | Renames determineDataType as determineResponse. Makes it more generic as a ↵ | jaubourg | 2011-01-20 | 1 | -11/+12 | |
| | | | | first step into integrating the logic into the main ajax done callback. Also fixes some comments in ajax/xhr.js. | |||||
* | Cleans up and simplifies code shared by ajaxPrefilter and ajaxTransport. ↵ | jaubourg | 2011-01-20 | 2 | -3/+6 | |
| | | | | Removes chainability of ajaxSetup, ajaxPrefilter and ajaxTransport. Also makes sure context is handled properly by ajaxSetup (unit test added). | |||||
* | Moves determineDataType into ajaxSettings so that it is accessible to ↵ | jaubourg | 2011-01-19 | 1 | -3/+2 | |
| | | | | transports without the need for a second argument and so that we can now pass the original options to the transport instead. Also ensures the original options are actually propagated to prefilters (they were not). | |||||
* | Moved ajaxSettings.xhr definition together with support.ajax and ↵ | jaubourg | 2011-01-19 | 1 | -129/+173 | |
| | | | | support.cors determination into ajax/xhr.js. | |||||
* | Setting the jsonp option to false now inhibits any url manipulation ↵ | jaubourg | 2011-01-16 | 1 | -11/+23 | |
| | | | | regarding the callback. | |||||
* | The script prefilter now forces cross-domain requests type to GET. | jaubourg | 2011-01-16 | 1 | -0/+1 | |
| | ||||||
* | Fixes #2994. Not finding a transport now fires the error callbacks and ↵ | jaubourg | 2011-01-16 | 2 | -46/+41 | |
| | | | | 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. | |||||
* | Moved jQuery.ajax.prefilter and jQuery.ajax.transport to ↵ | jaubourg | 2011-01-13 | 3 | -6/+4 | |
| | | | | 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(...). | |||||
* | Removed xhr pooling since failing cross-domain requests leaves the xhr ↵ | jaubourg | 2011-01-13 | 1 | -18/+9 | |
| | | | | object in an undefined state in Firefox. Also rewrote comments related to the active xhr list so that they make sense. | |||||
* | Reworked script and xhr abort logic to take advantage of the fact jXHR.abort ↵ | jaubourg | 2011-01-13 | 2 | -42/+36 | |
| | | | | will complete the request itself if not done already. | |||||
* | Script transport now uses ajaxSetup to define script dataType. | jaubourg | 2011-01-12 | 1 | -3/+3 | |
| | ||||||
* | Fixes #4897. Added ?? as a context-insensitive placeholder for the callback ↵ | jaubourg | 2011-01-12 | 1 | -3/+3 | |
| | | | | name of a JSONP request. Unit tests provided. | |||||
* | Moved unload abort code so that the event is only bound if the xhr transport ↵ | jaubourg | 2011-01-09 | 1 | -16/+21 | |
| | | | | is used. Fixes #5280. | |||||
* | Fixes #5812. =? will be detected even when it has been escaped during data ↵ | jaubourg | 2011-01-09 | 1 | -1/+1 | |
| | | | | serialization. | |||||
* | Fixes #5803. Reworked jsonp prefilter so that it sets the dataType as jsonp ↵ | jaubourg | 2011-01-09 | 1 | -53/+52 | |
| | | | | 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. | |||||
* | Fixes #7868. ResponseText is now properly propagated for error callbacks. | jaubourg | 2011-01-09 | 1 | -9/+7 | |
| | ||||||
* | Added a simple cache for xhr objects in the xhr transport. | jaubourg | 2011-01-09 | 1 | -1/+8 | |
| | ||||||
* | Renamed src/transports to src/ajax (in case we need prefilters in the future ↵ | jaubourg | 2011-01-06 | 3 | -0/+358 | |
| | | | | and to avoid a separate prefilters directory). | |||||
* | Reorganzing the jQuery source (first phase). | John Resig | 2007-09-08 | 2 | -1103/+0 | |
| | ||||||
* | Forgot to update the $.param() tests. | John Resig | 2007-09-05 | 1 | -5/+5 | |
| | ||||||
* | Re-disabled the Ajax tests in Safari. | John Resig | 2007-09-05 | 1 | -2/+2 | |
| | ||||||
* | Integration of Mike Alsup's excellent form serialization code. The benefits ↵ | John Resig | 2007-09-05 | 2 | -10/+46 | |
| | | | | | | | | | | | | | | | | | | are as follows: - New method: .serializeArray() This returns an array of name/value pairs representing the contents of a form, or individual input elements. - Enhancement: .serialize() The results are correct now (as opposed to the mess from before), and allows you to serializes forms directly (rather than just the input elements). - Enhancement: .val() This now returns the correct value when dealing wih selects. Additionally, when dealing with multiple selects, it returns an array of values. Based upon Mike's code: http://malsup.com/jquery/form/comp/form.js and test suite: http://malsup.com/jquery/form/comp/test.html | |||||
* | Removed all deprecated functionality for jQuery 1.2. A full list of what was ↵ | John Resig | 2007-09-04 | 2 | -44/+15 | |
| | | | | removed can be found here: http://jquery.com/blog/2007/08/24/jquery-114-faster-more-tests-ready-for-12/ | |||||
* | Removed all inline documentation. The current version of all documentation ↵ | John Resig | 2007-09-04 | 1 | -451/+0 | |
| | | | | is stored online, on the wiki: http://docs.jquery.com/ | |||||
* | Re-disabled the ajax tests in Safari 3. | John Resig | 2007-09-03 | 1 | -2/+2 | |
| | ||||||
* | Added support for: | John Resig | 2007-09-03 | 2 | -159/+408 | |
| | | | | | | | | | | | | | - Cross Domain getScript $.getScript("http://foo.com/script.js"); - JSONP $.ajax({ url: "script.js", type: "jsonp" }); $.getJSON("script.js?callback=?"); - Cross Domain JSONP/getJSON $.getJSON("http://foo.com/script.js?callback=?"); - No-cache Ajax Requests $.ajax({ url: "test.html", cache: false }); | |||||
* | Added a test case for "purple include", fixed a bug. | John Resig | 2007-08-25 | 2 | -2/+13 | |
| | ||||||
* | New feature: You can now inject portions of a document via .load(), as ↵ | John Resig | 2007-08-25 | 1 | -1/+17 | |
| | | | | | | | | | | | | | | opposed to the full thing. Examples: - $("#test").load("test.html #something"); - $("#test").load("test.html p.user"); Caveats: - No scripts are injected when a selector is used. - The selector is rooted inside the head and body - it's equivalent to doing: $("body,head").find(selector) | |||||
* | Marked all the appropriate methods as being deprecated for the 1.1.4 release ↵ | John Resig | 2007-08-24 | 1 | -0/+3 | |
| | | | | (in preparation for 1.2). | |||||
* | Brought back a husk method to represent evalScripts. I didn't realize so ↵ | John Resig | 2007-08-24 | 1 | -1/+6 | |
| | | | | many plugins relied on it (it's deprecated in this release). | |||||
* | Tweaked the Ajax test suite for Safari. | John Resig | 2007-08-22 | 1 | -5/+10 | |
| | ||||||
* | Two quick fixes in relation to #1028. ajaxSetup shouldn't be deep and the ↵ | John Resig | 2007-08-21 | 1 | -1/+1 | |
| | | | | boolean arg should be used, not overwritten with 'true'. | |||||
* | Make deep .extend() an optional argument - it will go deep if you pass in an ↵ | John Resig | 2007-08-21 | 1 | -2/+2 | |
| | | | | boolean as the first argument (fixed bug #1028). | |||||
* | Complete overhaul of the Ajax test suite, it's now passing in all browsers. ↵ | John Resig | 2007-08-19 | 2 | -178/+234 | |
| | | | | | | | | | | In order to achieve this I had to fix a numbe r of bugs in the suite itself, along with other random bugs that popped up. The following bugs were resolved along the wa y: #1236 (.extend() keeps processing when it hits nulls), #1028 (.extend() now works recursively), #1080 ($.get no longer overwrites the data parameter), #1210 (Creating script and link tags now work), and #1463 (jQuery.global has been re-too led to no longer leak memory and slow things down). | |||||
* | We were catching exceptions within the success callback of an Ajax request, ↵ | John Resig | 2007-08-19 | 1 | -30/+31 | |
| | | | | then causing an error callback to be called (which is incorrect). (Bug #1441) | |||||
* | Brought back jQuery.globalEval(), fixing bug #1425. | John Resig | 2007-07-31 | 1 | -1/+1 | |
| | ||||||
* | nevermind, I'm dumb. =P | Sean Catchpole | 2007-07-26 | 1 | -1/+1 | |
| | ||||||
* | Fixed ajax array arguments in $.param | Sean Catchpole | 2007-07-26 | 1 | -1/+1 | |
| | ||||||
* | missing semi-colon | Brandon Aaron | 2007-07-21 | 1 | -1/+1 | |
| | ||||||
* | Added support for parsererror errors from Ajax requests (bug #1145). | John Resig | 2007-07-21 | 1 | -3/+6 | |
| | ||||||
* | Added a fix to prevent the completion callback from firing multiple times in ↵ | John Resig | 2007-07-20 | 1 | -1/+1 | |
| | | | | Firefox on OSX (fixed bug #1406). | |||||
* | Completely reworked the evalScripts() code, fixing bugs #1332, #975, and #777. | John Resig | 2007-07-20 | 1 | -49/+9 | |
| | ||||||
* | The isTimeout fix from #970 was causing unintended status bugs (fixed). This ↵ | John Resig | 2007-07-20 | 1 | -9/+14 | |
| | | | | also includes a fix for errors that occurred during an empty eval in IE (but #1410). | |||||
* | Made the error message equal to "timeout", if the request timed out. (Bug #970) | John Resig | 2007-07-20 | 1 | -3/+3 | |
| |