Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | added jQuery.subclass | Jared Grippe | 2011-01-14 | 1 | -0/+72 | |
| | | | | | ||||||
* | | | | | 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 | 2 | -2/+59 | |
| | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | | | Merge branch 'master' of github.com:jquery/jquery into jquery-master | Colin Snover | 2011-01-09 | 1 | -1/+1 | |
|\ \ \ \ \ | ||||||
| * | | | | | Fixes a race condition in JSONP Local test. | jaubourg | 2011-01-10 | 1 | -1/+1 | |
| | |_|/ / | |/| | | | ||||||
* / | | | | Ensure that buildFragment clones elements properly in all browsers. Fixes ↵ | Colin Snover | 2011-01-09 | 2 | -10/+29 | |
|/ / / / | | | | | | | | | | | | | #3879, #6655. Also improves form element clone tests and fixes bugs in $.fn.clone exposed by these new test cases related to the values of checkboxes and radio buttons in IE. | |||||
* | | | | 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 | 2 | -0/+22 | |
| | | | | ||||||
* | | | | Fixes #7881. Setting contentType to false will prevent the Content-Type ↵ | jaubourg | 2011-01-09 | 2 | -7/+39 | |
| | | | | | | | | | | | | | | | | header from being sent. Unit test added. | |||||
* | | | | Added missing commas. | jaubourg | 2011-01-07 | 1 | -7/+7 | |
| | | | | ||||||
* | | | | Renamed "complete" to "done" in order to avoid conflicts with jXHR.complete. | jaubourg | 2011-01-06 | 1 | -11/+11 | |
| | | | | ||||||
* | | | | Renamed src/transports to src/ajax (in case we need prefilters in the future ↵ | jaubourg | 2011-01-06 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | and to avoid a separate prefilters directory). | |||||
* | | | | Cleaning up trailing whitespace again. | Colin Snover | 2011-01-05 | 2 | -69/+69 | |
| | | | | ||||||
* | | | | Revert "Register as a CommonJS async module if in that kind of environment. ↵ | wycats | 2011-01-05 | 2 | -30/+23 | |
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #7102." This reverts commit 6ffa730721a8ebcd128f3dc202706e46d9cfe249. Conflicts: src/core.js | |||||
* | | | "then" renamed "complete" and new "then" method defined using "complete" and ↵ | jaubourg | 2011-01-05 | 1 | -14/+14 | |
| | | | | | | | | | | | | "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. | |||||
* | | | 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. | |||||
* | | | Simplified the way a Promise is tested for (removed promiseMarker). Removed ↵ | jaubourg | 2010-12-31 | 1 | -15/+11 | |
| | | | | | | | | | | | | isCancelled helper method from _Deferred, wasn't used nor tested. Reworked jQuery.Deferred and removed unnecessary variables. Also ensured a Promise will return itself when asked for a Promise. Finally, the jQuery.when tests have been revamped. | |||||
* | | | Introduced a new promise method on deferreds that returns an immutable ↵ | jaubourg | 2010-12-31 | 1 | -27/+23 | |
| | | | | | | | | | | | | 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. | |||||
* | | | 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 | 2 | -163/+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. | |||||
* | | | Removed custom method in isDeferred and when. | unknown | 2010-12-31 | 1 | -22/+3 | |
| | | | ||||||
* | | | Deferred cannot be cancelled by returning false in a callback. Exception in ↵ | unknown | 2010-12-31 | 1 | -74/+7 | |
| | | | | | | | | | | | | the callback are still propagated and execution of remaining callbacks is still possible. | |||||
* | | | Capitalized Deferred & _Deferred to clearly mark them as new types, like Event. | unknown | 2010-12-31 | 1 | -20/+20 | |
| | | | ||||||
* | | | Changed dataConverters key format. | unknown | 2010-12-31 | 1 | -1/+5 | |
| | | | ||||||
* | | | Added deferred to core. Used internally for DOM readyness and ajax callbacks. | jaubourg | 2010-12-31 | 1 | -0/+250 | |
| | | | ||||||
* | | | Remove patch for very early versions of Opera 9 that made it impossible to ↵ | Colin Snover | 2010-12-30 | 1 | -0/+17 | |
| | | | | | | | | | | | | animate values smaller than -10000. Fixes #7193. Thanks to igorw for initial patch & test case. | |||||
* | | | Clean trailing whitespace from all files. | Colin Snover | 2010-12-30 | 14 | -394/+394 | |
| |/ |/| | ||||||
* | | Don't cache non-html strings in buildFragment to avoid possible collision ↵ | Dave Methvin | 2010-12-27 | 1 | -0/+17 | |
| | | | | | | | | with the names of Object methods like toString. Also makes the unit tests 0.5% to 8% faster. Fixes #6779. | |||||
* | | When a native browser event is bubbling up the DOM, make sure that the ↵ | Dave Methvin | 2010-12-27 | 1 | -0/+35 | |
| | | | | | | | | correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793. | |||||
* | | Register as a CommonJS async module if in that kind of environment. Fixes #7102. | jrburke | 2010-12-27 | 2 | -23/+30 | |
|/ | ||||||
* | Don't use for-in loops on Arrays. Fixes #7817. Thanks to dmethvin. | Colin Snover | 2010-12-22 | 1 | -0/+3 | |
|\ | | | | | | | | | Conflicts: src/manipulation.js | |||||
| * | Use a for loop rather than for/in loop when copying events, so that code ↵ | Dave Methvin | 2010-12-20 | 1 | -0/+3 | |
| | | | | | | | | will work with an augmented Array.prototype. Fixes 7809. | |||||
* | | More unit tests and a $.hasData that works for JS objects too. | Colin Snover | 2010-12-22 | 1 | -6/+12 | |
| | | ||||||
* | | Update jQuery.hasData to always return a boolean, with unit tests. | Colin Snover | 2010-12-22 | 1 | -12/+21 | |
| | | ||||||
* | | Remove code for ticket #7717 which has been marked WONTFIX to match existing ↵ | Colin Snover | 2010-12-22 | 1 | -8/+4 | |
| | | | | | | | | $.data functionality and to prevent infinite loops caused by circular references. | |||||
* | | Fix #7717 and #7165. Thanks to dmethvin and iliakan for their help fixing ↵ | Colin Snover | 2010-12-19 | 1 | -6/+22 | |
|/ | | | | these issues. | |||||
* | Merge branch 'bug_7397' of https://github.com/rwldrn/jquery into rwldrn-bug_7397 | Colin Snover | 2010-12-14 | 1 | -0/+39 | |
|\ | ||||||
| * | Updating #7397 unit tests to correctly test for a persisted display value | rwldrn | 2010-11-10 | 1 | -11/+15 | |
| | | ||||||
| * | Fixes #7397; 4 supporting unit tests | rwldrn | 2010-11-09 | 1 | -0/+35 | |
| | | ||||||
* | | Speed up & compatibility improvements for new clone mechanism in IE. | Colin Snover | 2010-12-12 | 2 | -2/+10 | |
| | | ||||||
* | | Return test comments to ASCII space | Colin Snover | 2010-12-12 | 1 | -2/+2 | |
| | | ||||||
* | | Merge branch 'bug5566' into csnover-bug5566. Fixes #4386, #5566, #6997. | Colin Snover | 2010-12-12 | 1 | -62/+108 | |
|\ \ | | | | | | | | | | | | | | | | Conflicts: src/manipulation.js test/unit/manipulation.js | |||||
| * | | Fix the clone method to be a little less insane in IE, which fixes the new ↵ | Colin Snover | 2010-12-12 | 1 | -8/+34 | |
| | | | | | | | | | | | | event-cloning clone() as well as probably a bunch of IE-related clone bugs. |