Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Add another tweak for handling CSP - we need to make sure that we don't ↵ | John Resig | 2011-01-18 | 1 | -0/+30 |
| | | | | 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. | ||||
* | Update unit test for #7608 which was leaking timers. | rwldrn | 2011-01-17 | 1 | -11/+2 |
| | |||||
* | Disabled a broken test for now, until WebKit browsers become more current. | jeresig | 2011-01-17 | 1 | -2/+5 |
| | |||||
* | Accidentally removed the module teardown code. | jeresig | 2011-01-17 | 1 | -1/+1 |
| | |||||
* | Opera was falling back to undefined, which it didn't appreciate. | jeresig | 2011-01-17 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:jquery/jquery | jeresig | 2011-01-17 | 15 | -131/+371 |
|\ | |||||
| * | Merge in data_nocollide branch. Fixes #6968, improves unit testing framework ↵ | Colin Snover | 2011-01-17 | 15 | -131/+371 |
| |\ | | | | | | | | | | checks for leaky stuff. | ||||
| | * | Update unit tests with a leak detection mechanism for the various jQuery ↵ | Colin Snover | 2011-01-09 | 15 | -38/+189 |
| | | | | | | | | | | | | globals and fix all leaks in the tests. | ||||
| | * | Change the way jQuery.data works so that there is no longer a chance of ↵ | Colin Snover | 2011-01-09 | 4 | -93/+179 |
| | | | | | | | | | | | | collision between user data and internal data. Fixes #6968. | ||||
* | | | Fixed a couple issues with escaping of attribute values in selectors. Fixes ↵ | jeresig | 2011-01-17 | 1 | -12/+55 |
|/ / | | | | | | | #6093. | ||||
* | | Merge branch '7608' of https://github.com/rwldrn/jquery into rwldrn-7608 | jeresig | 2011-01-17 | 1 | -0/+22 |
|\ \ | |||||
| * | | whitespace fixes in unit tests | rwldrn | 2011-01-10 | 1 | -18/+18 |
| | | | |||||
| * | | Bug #7608 elem.runtimeStyle throws exception in Opera | rwldrn | 2011-01-05 | 1 | -0/+22 |
| | | | |||||
* | | | Merging pull request 183 for #7793. | jeresig | 2011-01-17 | 1 | -4/+12 |
|\ \ \ | |||||
| * | | | Update test case to feature-detect Opera's lack of defaultPrevented and skip ↵ | Dave Methvin | 2011-01-15 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | the test for it. | ||||
| * | | | Test for standard createEvent before IE-specific click method. | Dave Methvin | 2010-12-27 | 1 | -7/+4 |
| | | | | | | | | | | | | | | | | Don't fallback to fake click; let's see which browsers fail, if any. | ||||
| * | | | When a native browser event is bubbling up the DOM, make sure that the ↵ | Dave Methvin | 2010-12-23 | 1 | -0/+38 |
| | | | | | | | | | | | | | | | | correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793. | ||||
* | | | | Added unit tests to check and demonstrate new jQuery.Deferred() works. | jaubourg | 2011-01-17 | 1 | -1/+20 |
| | | | | |||||
* | | | | Implements joined jQuery.when statements. Makes it so calling jQuery.when ↵ | jaubourg | 2011-01-16 | 1 | -3/+43 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | | | 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. | ||||
* | | | | So embarrassing :( | wycats | 2011-01-14 | 1 | -8/+0 |
| | | | | |||||
* | | | | Fix a failing subclass test due to a change in master | wycats | 2011-01-14 | 1 | -5/+5 |
| | | | | |||||
* | | | | Overwrite CRLF with LF | wycats | 2011-01-14 | 1 | -0/+8 |
| | | | | |||||
* | | | | 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. |