]> source.dussan.org Git - jquery.git/log
jquery.git
13 years agofix the regular expression that turns camel-case properties to lower-case ones for...
louisremi [Wed, 23 Feb 2011 14:53:29 +0000 (15:53 +0100)]
fix the regular expression that turns camel-case properties to lower-case ones for IE9. Fixes #8346

13 years agoMakes the promise method of Deferreds a bit more readable by not using the variable...
jaubourg [Mon, 21 Feb 2011 23:44:22 +0000 (00:44 +0100)]
Makes the promise method of Deferreds a bit more readable by not using the variable declared as parameter trick anymore.

13 years agoUpdating the source version to 1.5.1pre.
jeresig [Fri, 18 Feb 2011 18:57:32 +0000 (13:57 -0500)]
Updating the source version to 1.5.1pre.

13 years agoTagging the 1.5.1rc1 release. 1.5.1rc1
jeresig [Fri, 18 Feb 2011 18:57:25 +0000 (13:57 -0500)]
Tagging the 1.5.1rc1 release.

13 years agoBug #6911 - Prevent action on disabled elements, both triggering and bound via .live() 237/head
Dan Heberden [Fri, 18 Feb 2011 18:09:07 +0000 (10:09 -0800)]
Bug #6911 - Prevent action on disabled elements, both triggering and bound via .live()

13 years agoRevert "Adds an invert method to promises that returns a "inverted" promise that...
jaubourg [Fri, 18 Feb 2011 17:06:26 +0000 (18:06 +0100)]
Revert "Adds an invert method to promises that returns a "inverted" promise that is resolved when the underlying deferred is rejected and rejected when the underlying deferred is resolved."

This reverts commit 4e975430510f443ef76a90d077bc8956fb8b8cc0.

13 years agoA temporary workaround for #8018 that avoids any chance of compatibility-breaking...
Alex Sexton [Fri, 18 Feb 2011 00:01:30 +0000 (18:01 -0600)]
A temporary workaround for #8018 that avoids any chance of compatibility-breaking changes until a proper fix can be landed in 1.6.

13 years agoFix a some inaccuracies in the original test case for #7912.
Anton M [Thu, 17 Feb 2011 18:12:57 +0000 (19:12 +0100)]
Fix a some inaccuracies in the original test case for #7912.

- Use fresh div instead of one outside the test-fixture
- make sure the empty string test tests actually that (not 0% 0%)
- actually test for < -10000 (#7193)
- fixed some whitespace issues

13 years agoFixes #7912. Make sure .cur() only returns 0 as fallback value when it needs to ...
louisremi [Thu, 17 Feb 2011 16:26:23 +0000 (17:26 +0100)]
Fixes #7912. Make sure .cur() only returns 0 as fallback value when it needs 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.

13 years agoOnly perpetrate the .toJSON hack on data caches when they are attached to a plain...
Dave Methvin [Wed, 16 Feb 2011 03:41:08 +0000 (22:41 -0500)]
Only perpetrate the .toJSON hack on data caches when they are attached to a plain Javascript object. Part of the continuing saga of #8108.

13 years agoFixes #8297. Makes sure response headers with empty values are handled properly and...
jaubourg [Thu, 17 Feb 2011 16:03:09 +0000 (17:03 +0100)]
Fixes #8297. Makes sure response headers with empty values are handled properly and do not prevent proper parsing of the entire response headers string. Unit test amended.

13 years agoRevert "Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099"
Anton M [Tue, 15 Feb 2011 21:30:34 +0000 (22:30 +0100)]
Revert "Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099"

This reverts commit bb9408516aa0fc8892f4e07a99b1a47bce06081b, reversing
changes made to 3ad8dd242acec1066f43a9349f4c1a352680d37b.

Conflicts:

src/effects.js

13 years agoFix some whitespace issues.
Anton M [Tue, 15 Feb 2011 21:03:23 +0000 (22:03 +0100)]
Fix some whitespace issues.

13 years agoFixes #7922. Copy the donor event when simulating a bubbling submit in IE so that...
Dave Methvin [Thu, 10 Feb 2011 02:25:29 +0000 (21:25 -0500)]
Fixes #7922. Copy the donor event when simulating a bubbling submit in IE so 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.

13 years agoFixes #8277. Sets data to undefined rather than null when it is not provided in ajax...
jaubourg [Tue, 15 Feb 2011 20:47:52 +0000 (21:47 +0100)]
Fixes #8277. Sets data to undefined rather than null when it is not provided in ajax helpers so that it won't revent data set in ajaxSettings from being used. Unit test added.

13 years agoFix some unscoped tests which failed after recent changes to QUnit.
Anton M [Tue, 15 Feb 2011 20:01:52 +0000 (21:01 +0100)]
Fix some unscoped tests which failed after recent changes to QUnit.

13 years agoUpdate jQuery.data to use jQuery.noop for toJSON hack instead of an additional superf...
Colin Snover [Mon, 14 Feb 2011 22:30:18 +0000 (16:30 -0600)]
Update jQuery.data to use jQuery.noop for toJSON hack instead of an additional superfluous function.

13 years agoHide metadata when serializing JS objects using JSON.stringify via a toJSON hack...
Colin Snover [Mon, 14 Feb 2011 22:22:23 +0000 (16:22 -0600)]
Hide metadata when serializing JS objects using JSON.stringify via a toJSON hack. Fixes #8108.

13 years agoAdd missing semicolon.
Anton M [Mon, 14 Feb 2011 21:38:19 +0000 (22:38 +0100)]
Add missing semicolon.

13 years agoMerge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099
jeresig [Mon, 14 Feb 2011 17:36:49 +0000 (12:36 -0500)]
Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099

13 years agoMerge branch 'fix8033' of https://github.com/SlexAxton/jquery into SlexAxton-fix8033
jeresig [Mon, 14 Feb 2011 17:35:27 +0000 (12:35 -0500)]
Merge branch 'fix8033' of https://github.com/SlexAxton/jquery into SlexAxton-fix8033

13 years agoFix breaking test in Chrome.
Anton M [Sun, 13 Feb 2011 23:37:07 +0000 (00:37 +0100)]
Fix breaking test in Chrome.

13 years agoDon't add "px" to unit-less properties when animating them. Fixes #4966.
Anton M [Sun, 13 Feb 2011 22:03:46 +0000 (23:03 +0100)]
Don't add "px" to unit-less properties when animating them. Fixes #4966.

13 years agoClean up whitespace in test/unit/effects.js
Anton M [Sun, 13 Feb 2011 22:02:14 +0000 (23:02 +0100)]
Clean up whitespace in test/unit/effects.js

13 years agoFollow up to fbf79c0b495e08d67c3a4767f371ec7bcfc40a17.
Anton M [Sun, 13 Feb 2011 00:48:48 +0000 (01:48 +0100)]
Follow up to fbf79c0b495e08d67c3a4767f371ec7bcfc40a17.

Fix stupid error.

13 years agoRemove old cruft from test folder. Change "polluted" test suite loader to use CDN...
Anton M [Sun, 13 Feb 2011 00:34:31 +0000 (01:34 +0100)]
Remove old cruft from test folder. Change "polluted" test suite loader to use CDN hosted libraries.

13 years agoAdd readyWait tests. Fixes #8145.
jrburke [Sat, 12 Feb 2011 02:42:35 +0000 (03:42 +0100)]
Add readyWait tests. Fixes #8145.

Adds tests for the fix to #6781.

13 years agoRemove sed from post-build code, due to portability issues between GNU and BSD versions.
awgy [Sat, 12 Feb 2011 02:35:41 +0000 (03:35 +0100)]
Remove sed from post-build code, due to portability issues between GNU and BSD versions.

Follow up to ba43d37394b6018779d9a668c548e11579cd424a which apparently
didn't fix the problem completly on Mac OS X.

13 years agoRemove unnecessary "script.type = text/javascript;". Fixes #8198.
David Murdoch [Sat, 12 Feb 2011 02:09:45 +0000 (03:09 +0100)]
Remove unnecessary "script.type = text/javascript;". Fixes #8198.

Follow up to 462bb1f66abf239492ee33c60feee3402fe64f77.

13 years agoUnexpose $.support._scriptEval as it's not needed. Use a private var instead. Fixes...
David Murdoch [Sat, 12 Feb 2011 02:05:19 +0000 (03:05 +0100)]
Unexpose $.support._scriptEval as it's not needed. Use a private var instead. Fixes #8200.

13 years agoEnhances ajaxSetup so that it can take an optional target option, in which case targe...
jaubourg [Sat, 12 Feb 2011 02:59:46 +0000 (03:59 +0100)]
Enhances ajaxSetup so that it can take an optional target option, in which 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.

13 years agoPulls out the callback function in setRequestHeader. Also renames the regexp so that...
jaubourg [Sat, 12 Feb 2011 00:08:24 +0000 (01:08 +0100)]
Pulls out the callback function in setRequestHeader. Also renames the regexp so that what it's meant to do is a bit more obvious.

13 years agoMinor changes to enforce JQuery Core Style Guidelines.
jaubourg [Fri, 11 Feb 2011 23:13:38 +0000 (00:13 +0100)]
Minor changes to enforce JQuery Core Style Guidelines.

13 years agoRemove duplicate test.
Anton M [Thu, 10 Feb 2011 22:57:06 +0000 (23:57 +0100)]
Remove duplicate test.

13 years agoAdds missing crossDomain test.
jaubourg [Fri, 11 Feb 2011 06:39:46 +0000 (07:39 +0100)]
Adds missing crossDomain test.

13 years agoFixes #8245. Ajax now ensures header names are capitalized so that non-compliant...
jaubourg [Fri, 11 Feb 2011 06:07:06 +0000 (07:07 +0100)]
Fixes #8245. Ajax now ensures header names are capitalized so that non-compliant xhr implementations don't override them.

13 years agoSimplifies status normalization in xhr transport. Local file test modified for clarity.
jaubourg [Fri, 11 Feb 2011 06:02:11 +0000 (07:02 +0100)]
Simplifies status normalization in xhr transport. Local file test modified for clarity.

13 years agoMake sure .val() works after form.reset() in IE. Fixes #2551.
rwldrn [Thu, 10 Feb 2011 22:50:02 +0000 (23:50 +0100)]
Make sure .val() works after form.reset() in IE. Fixes #2551.

13 years agoMake sure .clone(true) correctly clones namespaced events. Fixes #4537.
Anton M [Thu, 10 Feb 2011 02:18:11 +0000 (03:18 +0100)]
Make sure .clone(true) correctly clones namespaced events. Fixes #4537.

13 years agoFix some whitespace issues. Improve and correct an events test.
Anton M [Thu, 10 Feb 2011 02:15:32 +0000 (03:15 +0100)]
Fix some whitespace issues. Improve and correct an events test.

13 years agoNo need to duplicate Sizzle tests, just run them directly from Sizzle.
John Resig [Thu, 10 Feb 2011 21:19:35 +0000 (16:19 -0500)]
No need to duplicate Sizzle tests, just run them directly from Sizzle.

13 years agoPull over tests from Sizzle. "Remove backslashes from tag name filter. Fixes #8220."
Anton M [Thu, 10 Feb 2011 00:29:18 +0000 (01:29 +0100)]
Pull over tests from Sizzle. "Remove backslashes from tag name filter. Fixes #8220."

13 years agoReplaces jQuery.each loop for headers with a foreach loop.
jaubourg [Wed, 9 Feb 2011 16:50:45 +0000 (17:50 +0100)]
Replaces jQuery.each loop for headers with a foreach loop.

13 years agoFixes #8219. Introduces the mimeType option to override content-type header in conver...
jaubourg [Wed, 9 Feb 2011 16:47:33 +0000 (17:47 +0100)]
Fixes #8219. Introduces the mimeType option to override content-type header in conversion (and in native xhr when possible). Adds companion overrideMimeType method on jqXHR object (it simply sets the option). Unit test added.

13 years agoMakes local filesystem test for ajax more insightful.
jaubourg [Wed, 9 Feb 2011 14:27:50 +0000 (15:27 +0100)]
Makes local filesystem test for ajax more insightful.

13 years agoMakes sure statusText always defaults to "error".
jaubourg [Wed, 9 Feb 2011 14:26:34 +0000 (15:26 +0100)]
Makes sure statusText always defaults to "error".

13 years agoRevert portions of 7acb141ed7f2dedd950bb65acf878098640d081e that attempt to use a...
Colin Snover [Tue, 8 Feb 2011 18:13:27 +0000 (12:13 -0600)]
Revert portions of 7acb141ed7f2dedd950bb65acf878098640d081e that attempt to use a function to hide jQuery metadata from JSON.stringify since this does not work reliably cross-browser (fails in Fx3.5, O11, Saf4).

13 years agoMake sure that mousing over Chrome "internal div" doesn't trigger a mouseleave. Fixes...
Anton M [Tue, 8 Feb 2011 16:15:55 +0000 (17:15 +0100)]
Make sure that mousing over Chrome "internal div" doesn't trigger a mouseleave. Fixes #8209.

Follow up to https://github.com/jquery/jquery/commit/4a828c93d40eb67b2041b08bbed0f1973442bd03
which was stupid and got reversed.

13 years agoRevert "Make sure that mousing over Chrome "internal div" elements results in no...
Anton M [Tue, 8 Feb 2011 16:08:25 +0000 (17:08 +0100)]
Revert "Make sure that mousing over Chrome "internal div" elements results in no trigger of a mouseleave."

This reverts commit 4a828c93d40eb67b2041b08bbed0f1973442bd03.

13 years agoMake sure that mousing over Chrome "internal div" elements results in no trigger...
Anton M [Tue, 8 Feb 2011 15:57:06 +0000 (16:57 +0100)]
Make sure that mousing over Chrome "internal div" elements results in no trigger of a mouseleave. Fixes #8209.

13 years agoUpdate jQuery.support.noCloneEvent test to function properly in IE9. Fixes #8052...
Colin Snover [Mon, 7 Feb 2011 16:56:48 +0000 (10:56 -0600)]
Update jQuery.support.noCloneEvent test to function properly in IE9. Fixes #8052. 1.5-stable

13 years agoMerge branch 'master' of github.com:jquery/jquery into jquery-master
Colin Snover [Mon, 7 Feb 2011 16:52:33 +0000 (10:52 -0600)]
Merge branch 'master' of github.com:jquery/jquery into jquery-master

13 years agoUpdate $.data to use a function instead of an object when attaching to JS objects...
Colin Snover [Mon, 7 Feb 2011 16:48:38 +0000 (10:48 -0600)]
Update $.data to use a function instead of an object when attaching to JS 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

13 years agoAdds jQuery collection to objects that will be used as global events context if provi...
jaubourg [Mon, 7 Feb 2011 16:09:47 +0000 (17:09 +0100)]
Adds jQuery collection to objects that will be used as global events context if provided in the ajax options.

13 years agoFixes a bug that prevented headers from being set in an ajaxSend callback. Unit test...
jaubourg [Mon, 7 Feb 2011 15:35:32 +0000 (16:35 +0100)]
Fixes a bug that prevented headers from being set in an ajaxSend callback. Unit test modified.

13 years agoMakes sure xhrs are actually aborted on unload in IE. Simplifies active xhrs caching...
jaubourg [Mon, 7 Feb 2011 05:11:52 +0000 (06:11 +0100)]
Makes sure xhrs are actually aborted on unload in IE. Simplifies active xhrs caching in the process.

13 years agoFixes #8177. XHR transport now considers 304 Not Modified responses as 200 OK if...
jaubourg [Sat, 5 Feb 2011 02:08:35 +0000 (03:08 +0100)]
Fixes #8177. XHR transport now considers 304 Not Modified responses as 200 OK if no conditional request header was provided (as per the XMLHttpRequest specification).

13 years agoFixes a typo in the title of the load() unit test.
jaubourg [Sat, 5 Feb 2011 02:06:21 +0000 (03:06 +0100)]
Fixes a typo in the title of the load() unit test.

13 years agoRemove an invalid ajax test and some code that is no longer used by any test.
Anton M [Fri, 4 Feb 2011 23:20:23 +0000 (00:20 +0100)]
Remove an invalid ajax test and some code that is no longer used by any test.

13 years agoReformats logic for early abort in beforeSend to limit block imbrication.
jaubourg [Fri, 4 Feb 2011 21:29:10 +0000 (22:29 +0100)]
Reformats logic for early abort in beforeSend to limit block imbrication.

13 years agoFixes abort in prefilter. No global event will be fired in that case even if the...
jaubourg [Fri, 4 Feb 2011 21:19:23 +0000 (22:19 +0100)]
Fixes abort in prefilter. No global event will be fired in that case even if the global option is set to true. Unit test added.

13 years agoDisables dataType redirection while selecting transport.
jaubourg [Fri, 4 Feb 2011 20:50:18 +0000 (21:50 +0100)]
Disables dataType redirection while selecting transport.

13 years agoAdds widget as the list of local protocols.
jaubourg [Thu, 3 Feb 2011 17:23:02 +0000 (18:23 +0100)]
Adds widget as the list of local protocols.

13 years agoDon't use a local copy of jQuery.ajaxSettings.isLocal anymore but use the current...
jaubourg [Thu, 3 Feb 2011 17:22:37 +0000 (18:22 +0100)]
Don't use a local copy of jQuery.ajaxSettings.isLocal anymore but use the current value so that it is possible to set isLocal to true for protocols unknown to jQuery.

13 years agoAdds support for more complex protocol by having the url regexp closer to rfc1738.
jaubourg [Thu, 3 Feb 2011 16:17:56 +0000 (17:17 +0100)]
Adds support for more complex protocol by having the url regexp closer to rfc1738.

13 years agoStores jQuery.ajaxSettings.isLocal locally at load time so that any change to it...
jaubourg [Thu, 3 Feb 2011 05:12:47 +0000 (06:12 +0100)]
Stores jQuery.ajaxSettings.isLocal locally at load time so that any change to it won't affect the transport. Fixes the url parsing regexp to deal with empty domains. Adds informative text into test/localfile.html and handles Opera's failure. Revises the way xhr are created by doing all tests at load time and normalizes all the xhr creation functions so that none of them may throw an exception.

13 years agoFixes #7653. Changes regexp to detect local protocol so that it will accept any proto...
jaubourg [Thu, 3 Feb 2011 04:19:15 +0000 (05:19 +0100)]
Fixes #7653. Changes regexp to detect local protocol so that it will accept any protocol finishing by -extension.

13 years agoFixes #8146. Custom fields in xhrFields are now set after the XMLHttpRequest object...
jaubourg [Thu, 3 Feb 2011 02:02:11 +0000 (03:02 +0100)]
Fixes #8146. Custom fields in xhrFields are now set after the XMLHttpRequest object has been opened.

13 years agoFixes #8152 by applying the same special cases for protocol "chrome-extension:" as...
jaubourg [Thu, 3 Feb 2011 01:53:10 +0000 (02:53 +0100)]
Fixes #8152 by applying the same special cases for protocol "chrome-extension:" as were for "file:" (needs tests). Re-organizes and fixes the handling of special cases for HTTP status code in the xhr transport. Also re-organizes the handling of document.location in ajax.js.

13 years agoFixes #8146 by introducing the xhrFields option with is a map of fieldName/fieldValue...
jaubourg [Wed, 2 Feb 2011 20:16:26 +0000 (21:16 +0100)]
Fixes #8146 by introducing the xhrFields option with is a map of fieldName/fieldValue to set on the native xhr. Can be used to set withCredentials to true for cross-domain requests if needed.

13 years agoFixes #8138. Access to document.location is made only once at load time and if it...
jaubourg [Wed, 2 Feb 2011 19:52:26 +0000 (20:52 +0100)]
Fixes #8138. Access to document.location is made only once at load time and if it fails (throwing an exception in IE when document.domain is already set), we use the href of an A element instead.

13 years agoFixes #8135. Makes sure any exception thrown by Firefox when trying to access an...
jaubourg [Wed, 2 Feb 2011 12:33:02 +0000 (13:33 +0100)]
Fixes #8135. Makes sure any exception thrown by Firefox when trying to access an XMLHttpRequest property when a network error occured is caught and notified as an error. Added test/networkerror.html to test the behavior.

13 years agoFixes #8098. Use the fast document.head when available. Don't set unneeded "script...
Mathias Bynens [Mon, 24 Jan 2011 10:18:57 +0000 (11:18 +0100)]
Fixes #8098. Use the fast document.head when available. Don't set unneeded "script.type = text/javascript".

13 years agoFixes #7945. Make jQuery.param() serialize plain objects with a property named jquery...
Anton Kovalyov [Tue, 1 Feb 2011 23:32:29 +0000 (00:32 +0100)]
Fixes #7945. Make jQuery.param() serialize plain objects with a property named jquery correctly.

13 years agoFixes #8129. Fix cloning multiple selected options in IE8.
rwldrn [Tue, 1 Feb 2011 22:54:02 +0000 (17:54 -0500)]
Fixes #8129. Fix cloning multiple selected options in IE8.

13 years agoFixes #8125. Status is set to 200 for requests with status 0 when location.protocol...
jaubourg [Tue, 1 Feb 2011 16:22:01 +0000 (17:22 +0100)]
Fixes #8125. Status is set to 200 for requests with status 0 when location.protocol if "file:". Added test/localfile.html to control it works.

13 years agoFixes #8115. Renames all references to jXHR with jqXHR in the code (like was done...
jaubourg [Tue, 1 Feb 2011 15:00:30 +0000 (16:00 +0100)]
Fixes #8115. Renames all references to jXHR with jqXHR in the code (like was done in the doc).

13 years agoThe default for .clone() is to not clone any events. Fixes #8123.
jeresig [Tue, 1 Feb 2011 13:57:18 +0000 (08:57 -0500)]
The default for .clone() is to not clone any events. Fixes #8123.

13 years agoPlaces multiple signature test after all primary callbacks tests.
jaubourg [Tue, 1 Feb 2011 08:30:52 +0000 (09:30 +0100)]
Places multiple signature test after all primary callbacks tests.

13 years agoImprove $.ajax method signature unit test and placement 219/head
Dan Heberden [Tue, 1 Feb 2011 08:18:16 +0000 (00:18 -0800)]
Improve $.ajax method signature unit test and placement

13 years agoBug 8107; Fix argument handling for $.ajax for multiple method signatues and add...
Dan Heberden [Tue, 1 Feb 2011 03:37:28 +0000 (19:37 -0800)]
Bug 8107; Fix argument handling for $.ajax for multiple method signatues and add test case

13 years agoBug #8099 - Updates per review 217/head
rwldrn [Mon, 31 Jan 2011 19:50:03 +0000 (14:50 -0500)]
Bug #8099 - Updates per review

13 years agoBug #8099 - Always restore to correct display value based on element's expected defau...
rwldrn [Mon, 31 Jan 2011 19:31:15 +0000 (14:31 -0500)]
Bug #8099 - Always restore to correct display value based on element's expected default display

13 years agoFixes #8095. Properly handles the case where browser cache needs to be bypassed while...
jaubourg [Mon, 31 Jan 2011 18:59:53 +0000 (19:59 +0100)]
Fixes #8095. Properly handles the case where browser cache needs to be bypassed while server-side logic still delivers proper 304 responses. Unit test added.

13 years agoScript dataType now supports ecmascript mimetypes.
jaubourg [Mon, 31 Jan 2011 18:14:06 +0000 (19:14 +0100)]
Script dataType now supports ecmascript mimetypes.

13 years agoMakes sure jsonp callback is not left in the global namespace in case of an early...
jaubourg [Mon, 31 Jan 2011 17:53:44 +0000 (18:53 +0100)]
Makes sure jsonp callback is not left in the global namespace in case of an early abort (beforeSend). Unit test added.

13 years agoMakes sure all converters keys are lowercased before any conversion is taking place...
jaubourg [Mon, 31 Jan 2011 16:39:54 +0000 (17:39 +0100)]
Makes sure all converters keys are lowercased before any conversion is taking place: dataTypes' names are now truly case insensitive. Unit test edited.

13 years agoMakes sure options.context is used as the context for global ajax events only if...
jaubourg [Mon, 31 Jan 2011 16:23:36 +0000 (17:23 +0100)]
Makes sure options.context is used as the context for global ajax events only if it's a DOM node.

13 years agoFixes #7568. Follow-up fix for #5862. Objects with a length property weren't serializ...
Anton M [Mon, 31 Jan 2011 14:58:27 +0000 (15:58 +0100)]
Fixes #7568. Follow-up fix for #5862. Objects with a length property weren't serialized properly by jQuery.param.

13 years agoAdds an invert method to promises that returns a "inverted" promise that is resolved...
jaubourg [Mon, 31 Jan 2011 13:36:59 +0000 (14:36 +0100)]
Adds an invert method to promises that returns a "inverted" promise that is resolved when the underlying deferred is rejected and rejected when the underlying deferred is resolved.

13 years agoUpdating the source version to 1.5.1pre.
jeresig [Mon, 31 Jan 2011 13:31:36 +0000 (08:31 -0500)]
Updating the source version to 1.5.1pre.

13 years agoTagging the 1.5 release.
jeresig [Mon, 31 Jan 2011 13:31:29 +0000 (08:31 -0500)]
Tagging the 1.5 release.

13 years agoRename jQuery.subclass() to jQuery.sub().
jeresig [Mon, 31 Jan 2011 13:21:42 +0000 (08:21 -0500)]
Rename jQuery.subclass() to jQuery.sub().

13 years agoRemoved errorThrown test for 404 responses seeing as Safari 3.x XHR sets the statusTe...
jaubourg [Mon, 31 Jan 2011 10:14:38 +0000 (11:14 +0100)]
Removed errorThrown test for 404 responses seeing as Safari 3.x XHR sets the statusText as "OK" rather than "Not Found".

13 years agoEnsures dataTypeExpressions are lowercased for prefilters and transports registrations.
jaubourg [Mon, 31 Jan 2011 09:13:54 +0000 (10:13 +0100)]
Ensures dataTypeExpressions are lowercased for prefilters and transports registrations.

13 years agoSimplifies the unit test for #8082.
jaubourg [Sat, 29 Jan 2011 02:08:18 +0000 (03:08 +0100)]
Simplifies the unit test for #8082.

13 years agoFixes #8082. Text to script converter now returns text. Unit test added.
jaubourg [Sat, 29 Jan 2011 00:39:22 +0000 (01:39 +0100)]
Fixes #8082. Text to script converter now returns text. Unit test added.

13 years agoFixes potential collisions between jsonp requests from different jQuery instances...
jaubourg [Sat, 29 Jan 2011 00:25:27 +0000 (01:25 +0100)]
Fixes potential collisions between jsonp requests from different jQuery instances by prefixing the jsonp callback name with the jQuery expando rather than with "jsonp".

13 years agoUse the original element/fragment as the last item to be appended to the document...
Colin Snover [Fri, 28 Jan 2011 16:55:39 +0000 (10:55 -0600)]
Use the original element/fragment as the last item to be appended to the document instead of the first in order to prevent missing elements when appending to multiple elements. Fixes #8070.

13 years agoCompatibility fixes in ajax: exceptions are no longer promoted to strings before...
jaubourg [Fri, 28 Jan 2011 16:08:46 +0000 (17:08 +0100)]
Compatibility fixes in ajax: exceptions are no longer promoted to strings before being given to callbacks. Updated misleading comment in conversion code.