aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Bug #6911 - Prevent action on disabled elements, both triggering and bound ↵Dan Heberden2011-02-181-1/+1
| | | | via .live()
* Revert "Adds an invert method to promises that returns a "inverted" promise ↵jaubourg2011-02-181-34/+8
| | | | | | that is resolved when the underlying deferred is rejected and rejected when the underlying deferred is resolved." This reverts commit 4e975430510f443ef76a90d077bc8956fb8b8cc0.
* A temporary workaround for #8018 that avoids any chance of ↵Alex Sexton2011-02-171-4/+9
| | | | compatibility-breaking changes until a proper fix can be landed in 1.6.
* Fixes #7912. Make sure .cur() only returns 0 as fallback value when it needs ↵louisremi2011-02-171-3/+7
| | | | | | | | to ("", auto, undefined, null). This change makes .cur() more .cssHooks friendly. .cur() now returns the unmodified value by .css() if it isn't a number, number-alike or a value that needs a fallback to 0. This way fx.start doesn't need to be recalculated for complex values.
* Only perpetrate the .toJSON hack on data caches when they are attached to a ↵Dave Methvin2011-02-171-1/+10
| | | | plain Javascript object. Part of the continuing saga of #8108.
* Fixes #8297. Makes sure response headers with empty values are handled ↵jaubourg2011-02-171-2/+2
| | | | properly and do not prevent proper parsing of the entire response headers string. Unit test amended.
* Revert "Merge branch '8099' of https://github.com/rwldrn/jquery into ↵Anton M2011-02-151-27/+2
| | | | | | | | | | | rwldrn-8099" This reverts commit bb9408516aa0fc8892f4e07a99b1a47bce06081b, reversing changes made to 3ad8dd242acec1066f43a9349f4c1a352680d37b. Conflicts: src/effects.js
* Fix some whitespace issues.Anton M2011-02-156-13/+13
|
* Fixes #7922. Copy the donor event when simulating a bubbling submit in IE so ↵Dave Methvin2011-02-151-9/+17
| | | | that we don't accidentally stop propagation on it. Remove a bunch of return statements that could also cancel the event. DRY out the liveFired change from #6359 by moving it to the trigger() function.
* Fixes #8277. Sets data to undefined rather than null when it is not provided ↵jaubourg2011-02-151-3/+3
| | | | in ajax helpers so that it won't revent data set in ajaxSettings from being used. Unit test added.
* Update jQuery.data to use jQuery.noop for toJSON hack instead of an ↵Colin Snover2011-02-141-3/+1
| | | | additional superfluous function.
* Hide metadata when serializing JS objects using JSON.stringify via a toJSON ↵Colin Snover2011-02-141-3/+23
| | | | hack. Fixes #8108.
* Add missing semicolon.Anton M2011-02-141-1/+1
|
* Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099jeresig2011-02-141-3/+28
|\
| * Bug #8099 - Updates per reviewrwldrn2011-01-311-9/+13
| |
| * Bug #8099 - Always restore to correct display value based on element's ↵rwldrn2011-01-311-3/+24
| | | | | | | | expected default display
* | Merge branch 'fix8033' of https://github.com/SlexAxton/jquery into ↵jeresig2011-02-142-1/+2
|\ \ | | | | | | | | | SlexAxton-fix8033
| * | Moved jQuery global leak to end of file so accidental gEBCN overrides in ↵Alex Sexton2011-01-232-1/+2
| | | | | | | | | | | | prototype don't get caught up in confusion. Fixed tests to reference jQuery variable instead of $ (best practice). Fixes #8033
* | | Fix breaking test in Chrome.Anton M2011-02-141-2/+2
| | |
* | | Don't add "px" to unit-less properties when animating them. Fixes #4966.Anton M2011-02-131-2/+2
| | |
* | | Remove unnecessary "script.type = text/javascript;". Fixes #8198.David Murdoch2011-02-121-1/+0
| | | | | | | | | | | | Follow up to 462bb1f66abf239492ee33c60feee3402fe64f77.
* | | Unexpose $.support._scriptEval as it's not needed. Use a private var ↵David Murdoch2011-02-121-5/+5
| | | | | | | | | | | | instead. Fixes #8200.
* | | Enhances ajaxSetup so that it can take an optional target option, in which ↵jaubourg2011-02-121-11/+23
| | | | | | | | | | | | case target will be updated instead of ajaxSettings. That way, fields that shouldn't be deep extended can be listed and dealt with in one place. jQuery.ajax now makes use of ajaxSetup with target to create its internal settings object. Fixes #7531 in IE9RC.
* | | Pulls out the callback function in setRequestHeader. Also renames the regexp ↵jaubourg2011-02-121-4/+5
| | | | | | | | | | | | so that what it's meant to do is a bit more obvious.
* | | Minor changes to enforce JQuery Core Style Guidelines.jaubourg2011-02-122-10/+12
| | |
* | | Adds missing crossDomain test.jaubourg2011-02-111-1/+1
| | |
* | | Fixes #8245. Ajax now ensures header names are capitalized so that ↵jaubourg2011-02-112-10/+13
| | | | | | | | | | | | non-compliant xhr implementations don't override them.
* | | Simplifies status normalization in xhr transport. Local file test modified ↵jaubourg2011-02-111-29/+8
| | | | | | | | | | | | for clarity.
* | | Make sure .val() works after form.reset() in IE. Fixes #2551.rwldrn2011-02-101-0/+5
| | |
* | | Make sure .clone(true) correctly clones namespaced events. Fixes #4537.Anton M2011-02-101-1/+1
| | |
* | | Fix some whitespace issues. Improve and correct an events test.Anton M2011-02-101-4/+4
| | |
* | | Replaces jQuery.each loop for headers with a foreach loop.jaubourg2011-02-091-3/+3
| | |
* | | Fixes #8219. Introduces the mimeType option to override content-type header ↵jaubourg2011-02-092-1/+14
| | | | | | | | | | | | in conversion (and in native xhr when possible). Adds companion overrideMimeType method on jqXHR object (it simply sets the option). Unit test added.
* | | Makes sure statusText always defaults to "error".jaubourg2011-02-091-1/+1
| | |
* | | Revert portions of 7acb141ed7f2dedd950bb65acf878098640d081e that attempt to ↵Colin Snover2011-02-081-3/+1
| | | | | | | | | | | | use a function to hide jQuery metadata from JSON.stringify since this does not work reliably cross-browser (fails in Fx3.5, O11, Saf4).
* | | Make sure that mousing over Chrome "internal div" doesn't trigger a ↵Anton M2011-02-081-0/+6
| | | | | | | | | | | | | | | | | | | | | mouseleave. Fixes #8209. Follow up to https://github.com/jquery/jquery/commit/4a828c93d40eb67b2041b08bbed0f1973442bd03 which was stupid and got reversed.
* | | Revert "Make sure that mousing over Chrome "internal div" elements results ↵Anton M2011-02-081-3/+1
| | | | | | | | | | | | | | | | | | in no trigger of a mouseleave." This reverts commit 4a828c93d40eb67b2041b08bbed0f1973442bd03.
* | | Make sure that mousing over Chrome "internal div" elements results in no ↵Anton M2011-02-081-1/+3
| | | | | | | | | | | | trigger of a mouseleave. Fixes #8209.
* | | Update jQuery.support.noCloneEvent test to function properly in IE9. Fixes ↵Colin Snover2011-02-071-1/+1
| | | | | | | | | | | | #8052. 1.5-stable
* | | Merge branch 'master' of github.com:jquery/jquery into jquery-masterColin Snover2011-02-071-3/+4
|\ \ \
| * | | Adds jQuery collection to objects that will be used as global events context ↵jaubourg2011-02-071-3/+4
| | | | | | | | | | | | | | | | if provided in the ajax options.
* | | | Update $.data to use a function instead of an object when attaching to JS ↵Colin Snover2011-02-072-46/+16
|/ / / | | | | | | | | | objects in order to hide attached metadata from JSON.stringify. Remove event.js code that was doing this before specifically for events, which is now redundant. Fixes #8108. 1.5-stable
* | | Fixes a bug that prevented headers from being set in an ajaxSend callback. ↵jaubourg2011-02-071-2/+2
| | | | | | | | | | | | Unit test modified.
* | | Makes sure xhrs are actually aborted on unload in IE. Simplifies active xhrs ↵jaubourg2011-02-071-34/+26
| | | | | | | | | | | | caching in the process.
* | | Fixes #8177. XHR transport now considers 304 Not Modified responses as 200 ↵jaubourg2011-02-051-0/+6
| | | | | | | | | | | | OK if no conditional request header was provided (as per the XMLHttpRequest specification).
* | | Reformats logic for early abort in beforeSend to limit block imbrication.jaubourg2011-02-041-36/+35
| | |
* | | Fixes abort in prefilter. No global event will be fired in that case even if ↵jaubourg2011-02-041-4/+14
| | | | | | | | | | | | the global option is set to true. Unit test added.
* | | Disables dataType redirection while selecting transport.jaubourg2011-02-041-2/+2
| | |
* | | Adds widget as the list of local protocols.jaubourg2011-02-031-1/+1
| | |
* | | Don't use a local copy of jQuery.ajaxSettings.isLocal anymore but use the ↵jaubourg2011-02-031-12/+5
| | | | | | | | | | | | current value so that it is possible to set isLocal to true for protocols unknown to jQuery.