Commit graph

  • 6c124d3dd4 Fixes #8423. Never set X-Requested-With header automagically for cross-domain requests. jaubourg 2011-03-07 00:42:09 +0100
  • dd100bf5ac bug 6158; fixing replaceWith from throwing errors on non existant elements; fixing semicolon Jordan Boesch 2011-03-05 09:59:25 -0600
  • c9ef09c800 bug 6158; fixing replaceWith from throwing errors on non existant elements Jordan Boesch 2011-03-05 09:46:12 -0600
  • 5c2d70979c bug 6158; fixing replaceWith from throwing errors on empty elements Jordan Boesch 2011-03-05 09:30:29 -0600
  • 55ec6a71d2 Fixes #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
  • 2d0bc7ce72 Moves 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
  • c1279895f3 Fix for #8421. Makes sure resolveWith can be called with only one parameter. jaubourg 2011-03-03 15:16:47 +0100
  • 025f2c63e4 fixing both #8403 and #8401: jQuery \"bulldozes\" other IE filters when setting opacity louisremi 2011-03-01 00:54:15 +0100
  • c8a887af06 Bug 2616; Adding object support to jQuery.map Jordan Boesch 2011-02-27 12:47:35 -0600
  • 9e5ec378e3 Merge branch 'master' of git://github.com/jquery/jquery into bug_2773 timmywil 2011-02-26 18:53:25 -0500
  • 71bd828d9f Grouped up the test gnarf 2011-02-24 13:21:05 -0600
  • 14e9da51f9 A quick change to detect AIR urls gnarf 2011-02-24 13:10:33 -0600
  • 58faec7cb7 Removes unnecessary parenthesis from regular expression. jaubourg 2011-02-24 06:37:37 +0100
  • 5d9db486c7 Revert "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
  • 83d1a1fd56 Updating the source version to 1.5.2pre. jeresig 2011-02-23 13:55:45 -0500
  • 2defcf96e5 Tagging the 1.5.1 release. 1.5.1 jeresig 2011-02-23 13:55:29 -0500
  • 292acd97a2 Make 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
  • e27fcf42ce comments for workarounds are always welcome. louisremi 2011-02-23 15:55:13 +0100
  • c5264ce196 fix the regular expression that turns camel-case properties to lower-case ones for IE9. Fixes #8346 louisremi 2011-02-23 15:53:29 +0100
  • 3663836b01 Refactors jQuery.when to avoid unnecessary recursion and limit function calls as much as possible. jaubourg 2011-02-23 08:00:27 +0100
  • cacea6f7e7 Fixes #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
  • e405419fb7 Makes 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
  • d5f7711ce0 Updating the source version to 1.5.1pre. jeresig 2011-02-18 13:57:32 -0500
  • 13e1198754 Tagging the 1.5.1rc1 release. 1.5.1rc1 jeresig 2011-02-18 13:57:25 -0500
  • 47abe5e1da Bug #6911 - Prevent action on disabled elements, both triggering and bound via .live() Dan Heberden 2011-02-18 10:09:07 -0800
  • a43a5ca9cf 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." jaubourg 2011-02-18 18:06:26 +0100
  • 752db8fffe A 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
  • 4b91b918a3 Fix a some inaccuracies in the original test case for #7912. Anton M 2011-02-17 19:12:57 +0100
  • 85d9343271 Fixes #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
  • b9f5e2b974 Only 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
  • 5b38439011 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. jaubourg 2011-02-17 17:03:09 +0100
  • faa6fe32f7 Revert "Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099" Anton M 2011-02-15 22:30:34 +0100
  • 6b08d88d04 Fix some whitespace issues. Anton M 2011-02-15 22:03:23 +0100
  • 12c0e1a692 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. Dave Methvin 2011-02-09 21:25:29 -0500
  • 1ddfdabbb9 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. jaubourg 2011-02-15 21:47:52 +0100
  • 8e40a84c24 Fix some unscoped tests which failed after recent changes to QUnit. Anton M 2011-02-15 21:01:52 +0100
  • 2cc03a86fc Update jQuery.data to use jQuery.noop for toJSON hack instead of an additional superfluous function. Colin Snover 2011-02-14 16:30:18 -0600
  • 2ed81708bd Hide metadata when serializing JS objects using JSON.stringify via a toJSON hack. Fixes #8108. Colin Snover 2011-02-14 16:22:23 -0600
  • 217a9919c3 Add missing semicolon. Anton M 2011-02-14 22:38:19 +0100
  • bb9408516a Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099 jeresig 2011-02-14 12:36:49 -0500
  • 3ad8dd242a Merge branch 'fix8033' of https://github.com/SlexAxton/jquery into SlexAxton-fix8033 jeresig 2011-02-14 12:35:27 -0500
  • 659773348f Fix breaking test in Chrome. Anton M 2011-02-14 00:37:07 +0100
  • c5edf982d5 Don't add "px" to unit-less properties when animating them. Fixes #4966. Anton M 2011-02-13 23:03:46 +0100
  • dba8c20b4b Clean up whitespace in test/unit/effects.js Anton M 2011-02-13 23:02:14 +0100
  • 3930afa3ad Follow up to fbf79c0b49. Anton M 2011-02-13 01:48:48 +0100
  • fbf79c0b49 Remove old cruft from test folder. Change "polluted" test suite loader to use CDN hosted libraries. Anton M 2011-02-13 01:34:31 +0100
  • d99268a4b7 Add readyWait tests. Fixes #8145. jrburke 2011-02-12 03:42:35 +0100
  • 2862f589db Remove sed from post-build code, due to portability issues between GNU and BSD versions. awgy 2011-02-12 03:35:41 +0100
  • 3548ffaee2 Remove unnecessary "script.type = text/javascript;". Fixes #8198. David Murdoch 2011-02-12 03:09:45 +0100
  • f099907672 Unexpose $.support._scriptEval as it's not needed. Use a private var instead. Fixes #8200. David Murdoch 2011-02-12 03:05:19 +0100
  • d4790116b8 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. jaubourg 2011-02-12 03:59:46 +0100
  • 081562cebc Pulls 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
  • ea3e10a492 Minor changes to enforce JQuery Core Style Guidelines. jaubourg 2011-02-12 00:13:38 +0100
  • 481d940e79 Remove duplicate test. Anton M 2011-02-10 23:57:06 +0100
  • 066304edf0 Adds missing crossDomain test. jaubourg 2011-02-11 07:39:46 +0100
  • f2e0ae1a39 Fixes #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
  • 3a1d7a3c7c Simplifies status normalization in xhr transport. Local file test modified for clarity. jaubourg 2011-02-11 07:02:11 +0100
  • 43a41ba7ec Make sure .val() works after form.reset() in IE. Fixes #2551. rwldrn 2011-02-10 23:50:02 +0100
  • 78fc79fad4 Make sure .clone(true) correctly clones namespaced events. Fixes #4537. Anton M 2011-02-10 03:18:11 +0100
  • 4490f4285c Fix some whitespace issues. Improve and correct an events test. Anton M 2011-02-10 03:15:32 +0100
  • 3f036281dd No need to duplicate Sizzle tests, just run them directly from Sizzle. John Resig 2011-02-10 16:19:35 -0500
  • f56b4a22a6 Pull over tests from Sizzle. "Remove backslashes from tag name filter. Fixes #8220." Anton M 2011-02-10 01:29:18 +0100
  • 6f4b36ed17 Replaces jQuery.each loop for headers with a foreach loop. jaubourg 2011-02-09 17:50:45 +0100
  • f6e173437e 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. jaubourg 2011-02-09 17:47:33 +0100
  • 806d9ce811 Makes local filesystem test for ajax more insightful. jaubourg 2011-02-09 15:27:50 +0100
  • 2953d0481a Makes sure statusText always defaults to "error". jaubourg 2011-02-09 15:26:34 +0100
  • d92dc2902c Revert 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
  • b46dff39c3 Make sure that mousing over Chrome "internal div" doesn't trigger a mouseleave. Fixes #8209. Anton M 2011-02-08 17:15:55 +0100
  • 944e0e6498 Revert "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
  • 4a828c93d4 Make 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
  • 534dbd660e Update jQuery.support.noCloneEvent test to function properly in IE9. Fixes #8052. 1.5-stable Colin Snover 2011-02-07 10:56:48 -0600
  • 8805f1373d Merge branch 'master' of github.com:jquery/jquery into jquery-master Colin Snover 2011-02-07 10:52:33 -0600
  • 7acb141ed7 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 Colin Snover 2011-02-07 10:48:38 -0600
  • 5b421fed00 Adds 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
  • a2dbdc1f54 Fixes a bug that prevented headers from being set in an ajaxSend callback. Unit test modified. jaubourg 2011-02-07 16:35:32 +0100
  • 0c21c83e96 Makes sure xhrs are actually aborted on unload in IE. Simplifies active xhrs caching in the process. jaubourg 2011-02-07 06:11:52 +0100
  • 82626799ca Changed $.sub internals to match sub naming, added some more spacing in some areas for readability Timmy Willison 2011-02-06 19:34:57 -0500
  • d6fbbe1080 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). jaubourg 2011-02-05 03:08:35 +0100
  • 2c77704b14 Fixes a typo in the title of the load() unit test. jaubourg 2011-02-05 03:06:21 +0100
  • 08fcde6a59 Remove an invalid ajax test and some code that is no longer used by any test. Anton M 2011-02-05 00:20:23 +0100
  • 8f8961de90 Reformats logic for early abort in beforeSend to limit block imbrication. jaubourg 2011-02-04 22:29:10 +0100
  • 03bad0a960 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. jaubourg 2011-02-04 22:19:23 +0100
  • d66cc55316 Disables dataType redirection while selecting transport. jaubourg 2011-02-04 21:50:18 +0100
  • 7eba4b76df Adds widget as the list of local protocols. jaubourg 2011-02-03 18:23:02 +0100
  • 4d808a3345 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. jaubourg 2011-02-03 18:22:37 +0100
  • 0736db64a2 Adds support for more complex protocol by having the url regexp closer to rfc1738. jaubourg 2011-02-03 17:17:56 +0100
  • ee22a59129 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. jaubourg 2011-02-03 06:12:47 +0100
  • 50e950a96e Fixes #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
  • 823eecab90 Fixes #8146. Custom fields in xhrFields are now set after the XMLHttpRequest object has been opened. jaubourg 2011-02-03 03:02:11 +0100
  • d77a2a2274 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. jaubourg 2011-02-03 02:53:10 +0100
  • 5ef7ddc4c5 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. jaubourg 2011-02-02 21:16:26 +0100
  • e3cc440934 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. jaubourg 2011-02-02 20:52:26 +0100
  • b90369e8cb 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. jaubourg 2011-02-02 13:33:02 +0100
  • 462bb1f66a Fixes #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
  • fdd4101fe9 Fixes #7945. Make jQuery.param() serialize plain objects with a property named jquery correctly. Anton Kovalyov 2011-02-02 00:32:29 +0100
  • fa4c90987f Fixes #8129. Fix cloning multiple selected options in IE8. rwldrn 2011-02-01 17:54:02 -0500
  • cb85da7b62 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. jaubourg 2011-02-01 17:22:01 +0100
  • cb49b4a1b6 Fixes #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
  • 375b787838 The default for .clone() is to not clone any events. Fixes #8123. jeresig 2011-02-01 08:57:18 -0500
  • eb5aab9952 Places multiple signature test after all primary callbacks tests. jaubourg 2011-02-01 09:30:52 +0100