aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Makes sure all converters keys are lowercased before any conversion is ↵jaubourg2011-01-311-1/+12
| | | | taking place: dataTypes' names are now truly case insensitive. Unit test edited.
* Makes sure options.context is used as the context for global ajax events ↵jaubourg2011-01-311-2/+6
| | | | only if it's a DOM node.
* Fixes #7568. Follow-up fix for #5862. Objects with a length property weren't ↵Anton M2011-01-311-3/+3
| | | | serialized properly by jQuery.param.
* Adds an invert method to promises that returns a "inverted" promise that is ↵jaubourg2011-01-311-8/+34
| | | | resolved when the underlying deferred is rejected and rejected when the underlying deferred is resolved.
* Rename jQuery.subclass() to jQuery.sub().jeresig2011-01-311-1/+1
|
* Ensures dataTypeExpressions are lowercased for prefilters and transports ↵jaubourg2011-01-311-2/+2
| | | | registrations.
* Fixes #8082. Text to script converter now returns text. Unit test added.jaubourg2011-01-291-1/+4
|
* Fixes potential collisions between jsonp requests from different jQuery ↵jaubourg2011-01-291-1/+1
| | | | instances by prefixing the jsonp callback name with the jQuery expando rather than with "jsonp".
* Use the original element/fragment as the last item to be appended to the ↵Colin Snover2011-01-281-6/+13
| | | | document instead of the first in order to prevent missing elements when appending to multiple elements. Fixes #8070.
* Compatibility fixes in ajax: exceptions are no longer promoted to strings ↵jaubourg2011-01-281-3/+3
| | | | before being given to callbacks. Updated misleading comment in conversion code.
* Make sure subclass is a proper subclass not just subclassing the fn methods. ↵Digitalxero2011-01-271-1/+3
| | | | Fixes #7979.
* Merge branch 'master' of github.com:jquery/jqueryjaubourg2011-01-271-3/+2
|\
| * Remove unneeded and confusing variable definition for better readability.gnarf2011-01-271-3/+2
| |
* | Actually does what ↵jaubourg2011-01-271-1/+1
|/ | | | https://github.com/jquery/jquery/commit/bab8079593913dbc689404aa4e83c46b9b4c9355 promised: passes the jXHR as the third argument of prefilters and transport factories. Comitted for completness even if if backs this out in the end and only land in 1.5.1.
* Passes jXHR object as third argument of prefilters and transport factories.jaubourg2011-01-261-5/+5
|
* Fixes #5866. Issue number in previous commit was wrong both in comments and ↵jaubourg2011-01-261-1/+1
| | | | commit message. See https://github.com/jquery/jquery/commit/0e5b341cc0f3f9bf0f6659e09704f2267cfdfdba for previous commit.
* Fixes #5856. Adds document protocol at the beginning of URLs without ↵jaubourg2011-01-261-11/+8
| | | | 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 ↵jaubourg2011-01-261-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. ↵jaubourg2011-01-252-12/+19
| | | | Fixes #8050.
* #8044 Removes unnec. rnonword varRick Waldron2011-01-251-3/+0
|
* Updating the year in the header.jeresig2011-01-241-2/+2
|
* Makes prefilters and transport inspection more robust and uses better ↵jaubourg2011-01-241-19/+23
| | | | variable names for readability.
* Revised internal implementation of ajaxPrefilter() and ajaxTransport(). ↵jaubourg2011-01-231-103/+80
| | | | Everything is shorter and more efficient now. Also fixes a couple spacing issues that remained.
* More code style fixes.jaubourg2011-01-233-11/+10
|
* Apply JQuery Core Style Guidelines to ajax.js and ajax/*.js,jaubourg2011-01-234-199/+182
|
* Fixes some coding style issues in core.js. In jQuery.fn.ready(), simplifies ↵jaubourg2011-01-231-46/+26
| | | | the whole code (for better backward compatibility) and removes redefinition of the function itself (in order not to clash with proxying). Also, in jQuery.when(), removes unnecessary closure and early rejection test and makes use of then instead of done/fail (better interoperability).
* Re-organizes ajax.js: prefilters and transports are no longer stored in ↵jaubourg2011-01-221-314/+261
| | | | ajaxSettings (their structure is not handled correctly by extend() and was causing some overhead when constructing the final options map in ajax()); base function for ajaxPrefilter and ajaxTransport has been renamed and split in two (one for inspection, one for addition); response/dataType determination and data conversion logics have been externalized from the ajax() internal callback; data conversion no longer sets responseXXX fields; some minor re-formatting and simplifications.
* Merge branch '8017lint' of https://github.com/rwldrn/jquery into 8017lintrwldrn2011-01-221-3/+4
|
* Merge branch 'fix-7398-frameset-docs' of https://github.com/dmethvin/jquery ↵jeresig2011-01-211-4/+10
|\ | | | | | | into dmethvin-fix-7398-frameset-docs
| * Don't do body-related feature tests on frameset docs that have no body. ↵Dave Methvin2011-01-211-4/+10
| | | | | | | | Fixes #7398.
* | Merge branch '8013p' of https://github.com/rwldrn/jquery into rwldrn-8013pjeresig2011-01-212-64/+74
|\ \ | |/ |/|
| * Cleaned up; fixes per reviewrwldrn2011-01-202-10/+12
| |
| * cloneCopyEvent; jQuery.clone() reviewrwldrn2011-01-201-63/+71
| |
* | Revert "Make sure that focusin/focusout bubbles in non-IE browsers." This ↵jeresig2011-01-211-10/+5
| | | | | | | | | | | | | | | | | | | | | | was causing problems with the focusin event, see: #7340. This reverts commit 88068f82c199847d3679b130664dd91cc2e89f00. Conflicts: src/event.js test/unit/event.js
* | Replaces "text in-between" technique with a full-fledged one-level ↵jaubourg2011-01-211-40/+65
| | | | | | | | 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.
* | Merge branch 'fix-7853-add-context' of https://github.com/dmethvin/jquery ↵John Resig2011-01-201-1/+1
|\ \ | | | | | | | | | into dmethvin-fix-7853-add-context
| * | By default, use document root rather than current selection's context when ↵Dave Methvin2010-12-281-1/+1
| | | | | | | | | | | | add()ing elements. Fixes #7853.
* | | Merge branch 'master' of https://github.com/scottjehl/jquery into ↵John Resig2011-01-201-2/+4
|\ \ \ | | | | | | | | | | | | scottjehl-master
| * | | Revised the Nokia support fallback. It turns out that Nokia supports the ↵scottjehl2011-01-191-2/+4
| | | | | | | | | | | | | | | | documentElement property but does not define document.compatMode. Adding this third fallback allows Nokia to run jQuery error-free and return proper values for window width and height.
| * | | Merge remote branch 'upstream/master'scottjehl2011-01-1914-290/+477
| |\ \ \
| * | | | set name to lowercase, since it's passed as initial capsscottjehl2011-01-131-1/+1
| | | | |
| * | | | Merge branch 'master' of https://github.com/jquery/jqueryscottjehl2011-01-1318-1392/+1220
| |\ \ \ \
| * | | | | Getting window dimensions currently fails in Nokia browsers, causing JS ↵scottjehl2010-12-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | error (and consequently making jQuery Mobile fail to render the page). Based on a tip from Ben Nolan, this fix returns window.screen[width|height] if the other attempts at getting window dimensions fail. On mobile at least, it seems to make sense, and on desktop (assuming this issue would ever show up on desktop), this might be better than returning false or undefined.
* | | | | | Moves determineResponse logic into main ajax callback. Puts responseXXX ↵jaubourg2011-01-202-84/+79
| | | | | | | | | | | | | | | | | | | | | | | | fields definitions into ajaxSettings.
* | | | | | Removes misleading comment.jaubourg2011-01-201-1/+0
| | | | | |
* | | | | | Merge branch 'master' of github.com:jquery/jqueryjeresig2011-01-203-48/+47
|\ \ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' of github.com:jquery/jqueryjaubourg2011-01-201-62/+16
| |\ \ \ \ \ \
| * | | | | | | Renames Deferred's fire and fireReject methods as resolveWith and rejectWith ↵jaubourg2011-01-202-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | respectively.
| * | | | | | | Renames determineDataType as determineResponse. Makes it more generic as a ↵jaubourg2011-01-202-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first step into integrating the logic into the main ajax done callback. Also fixes some comments in ajax/xhr.js.
| * | | | | | | Revises the way arguments are handled in ajax.jaubourg2011-01-201-7/+6
| | | | | | | |