Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | Cleans up and simplifies code shared by ajaxPrefilter and ajaxTransport. ↵ | jaubourg | 2011-01-20 | 3 | -113/+97 | |
| | | | | | | | | | | | | | | | | | | | | Removes chainability of ajaxSetup, ajaxPrefilter and ajaxTransport. Also makes sure context is handled properly by ajaxSetup (unit test added). | |||||
* | | | | | Moves things around to make jsLint happier. | jaubourg | 2011-01-19 | 1 | -2/+2 | |
| | | | | | ||||||
* | | | | | Fixes crossDomain test so that it assumes port to be 80 for http and 443 for ↵ | jaubourg | 2011-01-19 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | | https when it is not provided. | |||||
* | | | | | Moves determineDataType into ajaxSettings so that it is accessible to ↵ | jaubourg | 2011-01-19 | 2 | -51/+52 | |
| | | | | | | | | | | | | | | | | | | | | 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). | |||||
* | | | | | Re-adds hastily removed variable and simplifies statusCode based callbacks ↵ | jaubourg | 2011-01-19 | 1 | -15/+16 | |
| | | | | | | | | | | | | | | | | | | | | handling. | |||||
* | | | | | Use undefined instead of 0 to deference transport for clarity. | jaubourg | 2011-01-19 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | Removes unnecessary test and ensures getResponseHeader returns null if the ↵ | jaubourg | 2011-01-19 | 1 | -12/+7 | |
| | | | | | | | | | | | | | | | | | | | | header does not exist. | |||||
* | | | | | Revised how context is determined and removed unnecessary "parameter as ↵ | jaubourg | 2011-01-19 | 1 | -12/+10 | |
| | | | | | | | | | | | | | | | | | | | | variable" trick. | |||||
* | | | | | Moved ajaxSettings.xhr definition together with support.ajax and ↵ | jaubourg | 2011-01-19 | 2 | -161/+173 | |
| |_|/ / |/| | | | | | | | | | | | support.cors determination into ajax/xhr.js. | |||||
* | | | | Remove an unused regex and optimize character escape regex usage. | Anton M | 2011-01-19 | 1 | -7/+2 | |
| | | | | ||||||
* | | | | Merge branch 'chrome-slice-comment' of https://github.com/ajpiano/jquery ↵ | John Resig | 2011-01-18 | 1 | -1/+5 | |
|\ \ \ \ | | | | | | | | | | | | | | | | into ajpiano-chrome-slice-comment | |||||
| * | | | | Fix tabs vs spaces in initial workaround commit | adam j. sontag | 2011-01-17 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | shorten the SHA | adam j. sontag | 2011-01-17 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Add link to chrome issue ticket | adam j. sontag | 2011-01-17 | 1 | -0/+1 | |
| | | | | | ||||||
| * | | | | Add a comment to explain (and enforce the temporary-ness of) an extra line ↵ | adam j. sontag | 2011-01-17 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | of code added to workaround a Chrome 10 bug | |||||
* | | | | | Add another tweak for handling CSP - we need to make sure that we don't ↵ | John Resig | 2011-01-18 | 1 | -1/+10 | |
| | | | | | | | | | | | | | | | | | | | | trigger any eval on load (not sure if it's the best tweak, definitely not ideal). Add a test page as well so that it's easier to catch problem. | |||||
* | | | | | Merge branch 'master' of https://github.com/russtacular/jquery into ↵ | John Resig | 2011-01-18 | 1 | -1/+1 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | russtacular-master | |||||
| * | | | | | jQuery.fn.offset no longer returns ClientRect object for disconnected elements | Russell Holbrook | 2010-11-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of returning box, which is a ClientRect, we take the top and left box values and place them into a generic object. | |||||
* | | | | | | Merge branch 'master' of github.com:jquery/jquery into jquery-master | Colin Snover | 2011-01-17 | 2 | -24/+34 | |
|\ \ \ \ \ \ | ||||||
| * | | | | | | Defer scriptEval test until first use to prevent Content Security Policy ↵ | Brandon Sterne | 2011-01-17 | 2 | -24/+34 | |
| | |/ / / / | |/| | | | | | | | | | | | | | | | | inline-script violations from occuring. Fixes #7371. | |||||
* | | | | | | Merge in data_nocollide branch. Fixes #6968, improves unit testing framework ↵ | Colin Snover | 2011-01-17 | 6 | -98/+172 | |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | checks for leaky stuff. | |||||
| * | | | | | Introduce a temporary hack to allow jQuery.fn.data("events") to continue to ↵ | Colin Snover | 2011-01-17 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | work. This will be going away in 1.6. More information will be available in the 1.5 release notes. | |||||
| * | | | | | Fix jQuery.queue leaks empty queues. | Colin Snover | 2011-01-09 | 1 | -0/+4 | |
| | | | | | | ||||||
| * | | | | | Fix domManip leaks the first element when appending elements to multiple ↵ | Colin Snover | 2011-01-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | other elements. | |||||
| * | | | | | Change the way jQuery.data works so that there is no longer a chance of ↵ | Colin Snover | 2011-01-09 | 6 | -99/+162 | |
| | | | | | | | | | | | | | | | | | | | | | | | | collision between user data and internal data. Fixes #6968. | |||||
* | | | | | | Merge branch '7608' of https://github.com/rwldrn/jquery into rwldrn-7608 | jeresig | 2011-01-17 | 1 | -4/+8 | |
|\ \ \ \ \ \ | ||||||
| * | | | | | | Bug #7608 elem.runtimeStyle throws exception in Opera | rwldrn | 2011-01-05 | 1 | -4/+8 | |
| | | | | | | | ||||||
* | | | | | | | Merging pull request 183 for #7793. | jeresig | 2011-01-17 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ | ||||||
| * | | | | | | | Simplify the check for isDefaultPrevented. | Dave Methvin | 2010-12-24 | 1 | -4/+2 | |
| | | | | | | | | ||||||
| * | | | | | | | When a native browser event is bubbling up the DOM, make sure that the ↵ | Dave Methvin | 2010-12-23 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793. | |||||
* | | | | | | | | Put the split to get the list of promise methods out of the promise method ↵ | jaubourg | 2011-01-16 | 1 | -4/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | itself and also switched from jQuery.each to a while loop to remove as much overhead as possible. Thanks go to scott_gonzalez for reminding me of this. | |||||
* | | | | | | | | Implements joined jQuery.when statements. Makes it so calling jQuery.when ↵ | jaubourg | 2011-01-16 | 1 | -11/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with no parameter returns a resolved promise. Ensures promise method on promises supports the promise(obj) signature. Ensures a deferred and its promise always return the same promise (itself for the promise). Unit tests provided. | |||||
* | | | | | | | | 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 | |
| | | | | | | | | ||||||
* | | | | | | | | Makes it so a prefilter can change the type of a request. | jaubourg | 2011-01-16 | 1 | -7/+7 | |
| | | | | | | | | ||||||
* | | | | | | | | Removed internal dataTypes option and added headers & crossDomain options ↵ | jaubourg | 2011-01-16 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into commented out options of ajaxSettings. | |||||
* | | | | | | | | Fixes #2994. Not finding a transport now fires the error callbacks and ↵ | jaubourg | 2011-01-16 | 3 | -111/+118 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | | | | | | Revert "Revert fb4445070cd9e06929c7b6f27c10dbf42d4a3367 which is no longer ↵ | jeresig | 2011-01-14 | 1 | -3/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | necessary with the release of Opera 11. Fixes #7608." We will be continuing to support Opera 10.6 in jQuery 1.5. This reverts commit 012f0c3b4bd3d04c2f3e1ea80fc1230901d607d9. | |||||
* | | | | | | | | Merge branch 'master' of https://github.com/scottgonzalez/jquery | jeresig | 2011-01-14 | 1 | -2/+9 | |
|\ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | Avoid running jQuery.unique() for methods that are guaranteed to produce a ↵ | Scott González | 2011-01-14 | 1 | -2/+9 | |
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | unique result set. Fixes #7964 - Some traversal methods perform an unnecessary uniqueness check. | |||||
* | | | | | | | | Fix a strange Chrome issue | wycats | 2011-01-14 | 1 | -2/+3 | |
| | | | | | | | | ||||||
* | | | | | | | | added jQuery.subclass | Jared Grippe | 2011-01-14 | 1 | -5/+26 | |
|/ / / / / / / | ||||||
* | | | | | | | Moved jQuery.ajax.prefilter and jQuery.ajax.transport to ↵ | jaubourg | 2011-01-13 | 4 | -12/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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(...). | |||||
* | | | | | | | Fixes #4964. Adds a statusCode object together with a new statusCode method ↵ | jaubourg | 2011-01-13 | 1 | -0/+27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | | | | | 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. | |||||
* | | | | | | | Cleans up statusText handling and simplifies 304 notmodified logic. | jaubourg | 2011-01-13 | 1 | -13/+17 | |
| | | | | | | | ||||||
* | | | | | | | Removes unnecessary variables and adds much needed comments into the data ↵ | jaubourg | 2011-01-13 | 1 | -6/+28 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | conversion logic in ajax. | |||||
* | | | | | | | Fixes a regression by calling dataFilter with the second argument set as the ↵ | jaubourg | 2011-01-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | dataType. | |||||
* | | | | | | | Gets rid of a var statement by moving variable declarations up. | jaubourg | 2011-01-13 | 1 | -3/+4 | |
| | | | | | | |