6c124d3dd4Fixes#8423. Never set X-Requested-With header automagically for cross-domain requests.
jaubourg
2011-03-07 00:42:09 +0100
dd100bf5acbug 6158; fixing replaceWith from throwing errors on non existant elements; fixing semicolon
Jordan Boesch
2011-03-05 09:59:25 -0600
c9ef09c800bug 6158; fixing replaceWith from throwing errors on non existant elements
Jordan Boesch
2011-03-05 09:46:12 -0600
5c2d70979cbug 6158; fixing replaceWith from throwing errors on empty elements
Jordan Boesch
2011-03-05 09:30:29 -0600
55ec6a71d2Fixes#7340. Use a single capturing handler to simulate bubbling focusin/focusout event on non-IE browsers. Allow native DOM methods to fire events other than the currently active one back into jQuery.
Dave Methvin
2011-03-04 21:16:40 -0500
2d0bc7ce72Moves Deferred-related code into a separate module. Context handling has been simplified in _Deferred.resolve and jQuery.when has been refactored for clarity (and minor optimization).
jaubourg
2011-03-03 19:38:06 +0100
c1279895f3Fix for #8421. Makes sure resolveWith can be called with only one parameter.
jaubourg
2011-03-03 15:16:47 +0100
025f2c63e4fixing both #8403 and #8401: jQuery \"bulldozes\" other IE filters when setting opacity
louisremi
2011-03-01 00:54:15 +0100
c8a887af06Bug 2616; Adding object support to jQuery.map
Jordan Boesch
2011-02-27 12:47:35 -0600
9e5ec378e3Merge branch 'master' of git://github.com/jquery/jquery into bug_2773
timmywil
2011-02-26 18:53:25 -0500
71bd828d9fGrouped up the test
gnarf
2011-02-24 13:21:05 -0600
14e9da51f9A quick change to detect AIR urls
gnarf
2011-02-24 13:10:33 -0600
58faec7cb7Removes unnecessary parenthesis from regular expression.
jaubourg
2011-02-24 06:37:37 +0100
5d9db486c7Revert "Fixes #8353. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6."
jaubourg
2011-02-24 00:32:30 +0100
83d1a1fd56Updating the source version to 1.5.2pre.
jeresig
2011-02-23 13:55:45 -0500
2defcf96e5Tagging the 1.5.1 release.
1.5.1
jeresig
2011-02-23 13:55:29 -0500
292acd97a2Make a new jQuery.support.noCloneChecked - splitting apart the previous feature detect relating to clone in IE, fixes the last remaining issue with IE 9 RC. Fixes#8365.
jeresig
2011-02-23 13:18:44 -0500
e27fcf42cecomments for workarounds are always welcome.
louisremi
2011-02-23 15:55:13 +0100
c5264ce196fix the regular expression that turns camel-case properties to lower-case ones for IE9. Fixes#8346
louisremi
2011-02-23 15:53:29 +0100
3663836b01Refactors jQuery.when to avoid unnecessary recursion and limit function calls as much as possible.
jaubourg
2011-02-23 08:00:27 +0100
cacea6f7e7Fixes#8353. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6.
jaubourg
2011-02-23 02:50:27 +0100
e405419fb7Makes the promise method of Deferreds a bit more readable by not using the variable declared as parameter trick anymore.
jaubourg
2011-02-22 00:44:22 +0100
d5f7711ce0Updating the source version to 1.5.1pre.
jeresig
2011-02-18 13:57:32 -0500
13e1198754Tagging the 1.5.1rc1 release.
1.5.1rc1
jeresig
2011-02-18 13:57:25 -0500
47abe5e1daBug #6911 - Prevent action on disabled elements, both triggering and bound via .live()
Dan Heberden
2011-02-18 10:09:07 -0800
a43a5ca9cfRevert "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."
jaubourg
2011-02-18 18:06:26 +0100
752db8fffeA temporary workaround for #8018 that avoids any chance of compatibility-breaking changes until a proper fix can be landed in 1.6.
Alex Sexton
2011-02-17 18:01:30 -0600
4b91b918a3Fix a some inaccuracies in the original test case for #7912.
Anton M
2011-02-17 19:12:57 +0100
85d9343271Fixes#7912. Make sure .cur() only returns 0 as fallback value when it needs to ("", auto, undefined, null).
louisremi
2011-02-17 17:26:23 +0100
b9f5e2b974Only perpetrate the .toJSON hack on data caches when they are attached to a plain Javascript object. Part of the continuing saga of #8108.
Dave Methvin
2011-02-15 22:41:08 -0500
5b38439011Fixes#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.
jaubourg
2011-02-17 17:03:09 +0100
6b08d88d04Fix some whitespace issues.
Anton M
2011-02-15 22:03:23 +0100
12c0e1a692Fixes#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.
Dave Methvin
2011-02-09 21:25:29 -0500
1ddfdabbb9Fixes#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.
jaubourg
2011-02-15 21:47:52 +0100
8e40a84c24Fix some unscoped tests which failed after recent changes to QUnit.
Anton M
2011-02-15 21:01:52 +0100
2cc03a86fcUpdate jQuery.data to use jQuery.noop for toJSON hack instead of an additional superfluous function.
Colin Snover
2011-02-14 16:30:18 -0600
2ed81708bdHide metadata when serializing JS objects using JSON.stringify via a toJSON hack. Fixes#8108.
Colin Snover
2011-02-14 16:22:23 -0600
217a9919c3Add missing semicolon.
Anton M
2011-02-14 22:38:19 +0100
f099907672Unexpose $.support._scriptEval as it's not needed. Use a private var instead. Fixes#8200.
David Murdoch
2011-02-12 03:05:19 +0100
d4790116b8Enhances 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.
jaubourg
2011-02-12 03:59:46 +0100
081562cebcPulls out the callback function in setRequestHeader. Also renames the regexp so that what it's meant to do is a bit more obvious.
jaubourg
2011-02-12 01:08:24 +0100
f2e0ae1a39Fixes#8245. Ajax now ensures header names are capitalized so that non-compliant xhr implementations don't override them.
jaubourg
2011-02-11 07:07:06 +0100
3a1d7a3c7cSimplifies status normalization in xhr transport. Local file test modified for clarity.
jaubourg
2011-02-11 07:02:11 +0100
43a41ba7ecMake sure .val() works after form.reset() in IE. Fixes#2551.
rwldrn
2011-02-10 23:50:02 +0100
78fc79fad4Make sure .clone(true) correctly clones namespaced events. Fixes#4537.
Anton M
2011-02-10 03:18:11 +0100
4490f4285cFix some whitespace issues. Improve and correct an events test.
Anton M
2011-02-10 03:15:32 +0100
3f036281ddNo need to duplicate Sizzle tests, just run them directly from Sizzle.
John Resig
2011-02-10 16:19:35 -0500
f56b4a22a6Pull over tests from Sizzle. "Remove backslashes from tag name filter. Fixes #8220."
Anton M
2011-02-10 01:29:18 +0100
6f4b36ed17Replaces jQuery.each loop for headers with a foreach loop.
jaubourg
2011-02-09 17:50:45 +0100
f6e173437eFixes#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.
jaubourg
2011-02-09 17:47:33 +0100
806d9ce811Makes local filesystem test for ajax more insightful.
jaubourg
2011-02-09 15:27:50 +0100
d92dc2902cRevert portions of 7acb141ed7 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).
Colin Snover
2011-02-08 12:13:27 -0600
b46dff39c3Make sure that mousing over Chrome "internal div" doesn't trigger a mouseleave. Fixes#8209.
Anton M
2011-02-08 17:15:55 +0100
944e0e6498Revert "Make sure that mousing over Chrome "internal div" elements results in no trigger of a mouseleave."
Anton M
2011-02-08 17:08:25 +0100
4a828c93d4Make sure that mousing over Chrome "internal div" elements results in no trigger of a mouseleave. Fixes#8209.
Anton M
2011-02-08 16:57:06 +0100
534dbd660eUpdate jQuery.support.noCloneEvent test to function properly in IE9. Fixes#8052. 1.5-stable
Colin Snover
2011-02-07 10:56:48 -0600
8805f1373dMerge branch 'master' of github.com:jquery/jquery into jquery-master
Colin Snover
2011-02-07 10:52:33 -0600
7acb141ed7Update $.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
Colin Snover
2011-02-07 10:48:38 -0600
5b421fed00Adds jQuery collection to objects that will be used as global events context if provided in the ajax options.
jaubourg
2011-02-07 17:09:47 +0100
a2dbdc1f54Fixes a bug that prevented headers from being set in an ajaxSend callback. Unit test modified.
jaubourg
2011-02-07 16:35:32 +0100
0c21c83e96Makes sure xhrs are actually aborted on unload in IE. Simplifies active xhrs caching in the process.
jaubourg
2011-02-07 06:11:52 +0100
82626799caChanged $.sub internals to match sub naming, added some more spacing in some areas for readability
Timmy Willison
2011-02-06 19:34:57 -0500
d6fbbe1080Fixes#8177. XHR transport now considers 304 Not Modified responses as 200 OK if no conditional request header was provided (as per the XMLHttpRequest specification).
jaubourg
2011-02-05 03:08:35 +0100
2c77704b14Fixes a typo in the title of the load() unit test.
jaubourg
2011-02-05 03:06:21 +0100
08fcde6a59Remove an invalid ajax test and some code that is no longer used by any test.
Anton M
2011-02-05 00:20:23 +0100
8f8961de90Reformats logic for early abort in beforeSend to limit block imbrication.
jaubourg
2011-02-04 22:29:10 +0100
03bad0a960Fixes abort in prefilter. No global event will be fired in that case even if the global option is set to true. Unit test added.
jaubourg
2011-02-04 22:19:23 +0100
d66cc55316Disables dataType redirection while selecting transport.
jaubourg
2011-02-04 21:50:18 +0100
7eba4b76dfAdds widget as the list of local protocols.
jaubourg
2011-02-03 18:23:02 +0100
4d808a3345Don'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.
jaubourg
2011-02-03 18:22:37 +0100
0736db64a2Adds support for more complex protocol by having the url regexp closer to rfc1738.
jaubourg
2011-02-03 17:17:56 +0100
ee22a59129Stores 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.
jaubourg
2011-02-03 06:12:47 +0100
50e950a96eFixes#7653. Changes regexp to detect local protocol so that it will accept any protocol finishing by -extension.
jaubourg
2011-02-03 05:19:15 +0100
823eecab90Fixes#8146. Custom fields in xhrFields are now set after the XMLHttpRequest object has been opened.
jaubourg
2011-02-03 03:02:11 +0100
d77a2a2274Fixes#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.
jaubourg
2011-02-03 02:53:10 +0100
5ef7ddc4c5Fixes#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.
jaubourg
2011-02-02 21:16:26 +0100
e3cc440934Fixes#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.
jaubourg
2011-02-02 20:52:26 +0100
b90369e8cbFixes#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.
jaubourg
2011-02-02 13:33:02 +0100
462bb1f66aFixes#8098. Use the fast document.head when available. Don't set unneeded "script.type = text/javascript".
Mathias Bynens
2011-01-24 11:18:57 +0100
fdd4101fe9Fixes#7945. Make jQuery.param() serialize plain objects with a property named jquery correctly.
Anton Kovalyov
2011-02-02 00:32:29 +0100
cb85da7b62Fixes#8125. Status is set to 200 for requests with status 0 when location.protocol if "file:". Added test/localfile.html to control it works.
jaubourg
2011-02-01 17:22:01 +0100
cb49b4a1b6Fixes#8115. Renames all references to jXHR with jqXHR in the code (like was done in the doc).
jaubourg
2011-02-01 16:00:30 +0100
375b787838The default for .clone() is to not clone any events. Fixes#8123.
jeresig
2011-02-01 08:57:18 -0500
eb5aab9952Places multiple signature test after all primary callbacks tests.
jaubourg
2011-02-01 09:30:52 +0100