John Resig
0cf336d2c9
Merge branch 'bug_6158' of https://github.com/jboesch/jquery into jboesch-bug_6158
2011-03-15 17:06:24 -04:00
Carl Fürstenberg
150d3decb5
Introduce submodules, closes #8536
...
Instead of the manual clone of sizzle and qunit, use git submodules
instead. this will ensure that all future releases can be recreated by
checking out an tag.
2011-03-15 20:16:09 +01:00
jaubourg
714ae379db
Fixes #8509 . Makes URL regexp less overzealous and ensures it recognizes URL schemes which do not contain a conformant hierarchical structure ( as per section 2.1.2 of http://www.ietf.org/rfc/rfc2718.txt ). Also adds about: and adobe air's app: and app-storage: to the list of local protocols and provides a failover in case document.location is illformed. Unit test added.
2011-03-15 19:20:03 +01:00
Jordan Boesch
124acbfbc5
removing parens
2011-03-14 14:17:02 -06:00
jaubourg
6c124d3dd4
Fixes #8423 . Never set X-Requested-With header automagically for cross-domain requests.
2011-03-07 00:42:09 +01:00
Jordan Boesch
c9ef09c800
bug 6158; fixing replaceWith from throwing errors on non existant elements
2011-03-05 09:46:12 -06:00
Jordan Boesch
5c2d70979c
bug 6158; fixing replaceWith from throwing errors on empty elements
2011-03-05 09:30:29 -06:00
jaubourg
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).
2011-03-03 19:38:06 +01:00
jaubourg
c1279895f3
Fix for #8421 . Makes sure resolveWith can be called with only one parameter.
2011-03-03 15:16:47 +01:00
gnarf
14e9da51f9
A quick change to detect AIR urls
2011-02-24 13:10:33 -06:00
jaubourg
58faec7cb7
Removes unnecessary parenthesis from regular expression.
2011-02-24 06:37:37 +01:00
jaubourg
5d9db486c7
Revert "Fixes #8353 . Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6."
...
This reverts commit cacea6f7e7
.
2011-02-24 00:32:30 +01:00
jeresig
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 .
2011-02-23 13:18:44 -05:00
jaubourg
3663836b01
Refactors jQuery.when to avoid unnecessary recursion and limit function calls as much as possible.
2011-02-23 08:00:27 +01:00
jaubourg
cacea6f7e7
Fixes #8353 . Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6.
2011-02-23 02:50:27 +01:00
jaubourg
e405419fb7
Makes the promise method of Deferreds a bit more readable by not using the variable declared as parameter trick anymore.
2011-02-22 00:44:22 +01:00
Dan Heberden
47abe5e1da
Bug #6911 - Prevent action on disabled elements, both triggering and bound via .live()
2011-02-18 10:09:07 -08:00
jaubourg
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."
...
This reverts commit 4e97543051
.
2011-02-18 18:06:26 +01:00
Alex Sexton
752db8fffe
A temporary workaround for #8018 that avoids any chance of compatibility-breaking changes until a proper fix can be landed in 1.6.
2011-02-17 18:01:30 -06:00
louisremi
85d9343271
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.
2011-02-17 17:26:23 +01:00
Dave Methvin
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 .
2011-02-17 17:09:56 +01:00
jaubourg
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.
2011-02-17 17:03:09 +01:00
Anton M
faa6fe32f7
Revert "Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099"
...
This reverts commit bb9408516a
, reversing
changes made to 3ad8dd242a
.
Conflicts:
src/effects.js
2011-02-15 22:30:34 +01:00
Anton M
6b08d88d04
Fix some whitespace issues.
2011-02-15 22:09:09 +01:00
Dave Methvin
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.
2011-02-15 22:08:39 +01:00
jaubourg
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.
2011-02-15 21:53:38 +01:00
Colin Snover
2cc03a86fc
Update jQuery.data to use jQuery.noop for toJSON hack instead of an additional superfluous function.
2011-02-14 16:30:18 -06:00
Colin Snover
2ed81708bd
Hide metadata when serializing JS objects using JSON.stringify via a toJSON hack. Fixes #8108 .
2011-02-14 16:22:23 -06:00
Anton M
217a9919c3
Add missing semicolon.
2011-02-14 22:38:19 +01:00
jeresig
bb9408516a
Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099
2011-02-14 12:36:49 -05:00
jeresig
3ad8dd242a
Merge branch 'fix8033' of https://github.com/SlexAxton/jquery into SlexAxton-fix8033
2011-02-14 12:35:27 -05:00
Anton M
659773348f
Fix breaking test in Chrome.
2011-02-14 00:37:07 +01:00
Anton M
c5edf982d5
Don't add "px" to unit-less properties when animating them. Fixes #4966 .
2011-02-13 23:17:58 +01:00
David Murdoch
3548ffaee2
Remove unnecessary "script.type = text/javascript;". Fixes #8198 .
...
Follow up to 462bb1f66a
.
2011-02-12 13:53:03 +01:00
David Murdoch
f099907672
Unexpose $.support._scriptEval as it's not needed. Use a private var instead. Fixes #8200 .
2011-02-12 13:53:02 +01:00
jaubourg
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.
2011-02-12 03:59:46 +01:00
jaubourg
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.
2011-02-12 01:08:24 +01:00
jaubourg
ea3e10a492
Minor changes to enforce JQuery Core Style Guidelines.
2011-02-12 00:14:11 +01:00
jaubourg
066304edf0
Adds missing crossDomain test.
2011-02-11 07:39:46 +01:00
jaubourg
f2e0ae1a39
Fixes #8245 . Ajax now ensures header names are capitalized so that non-compliant xhr implementations don't override them.
2011-02-11 07:07:06 +01:00
jaubourg
3a1d7a3c7c
Simplifies status normalization in xhr transport. Local file test modified for clarity.
2011-02-11 07:02:11 +01:00
rwldrn
43a41ba7ec
Make sure .val() works after form.reset() in IE. Fixes #2551 .
2011-02-10 23:50:02 +01:00
Anton M
78fc79fad4
Make sure .clone(true) correctly clones namespaced events. Fixes #4537 .
2011-02-10 22:20:48 +01:00
Anton M
4490f4285c
Fix some whitespace issues. Improve and correct an events test.
2011-02-10 22:20:47 +01:00
jaubourg
6f4b36ed17
Replaces jQuery.each loop for headers with a foreach loop.
2011-02-09 17:50:45 +01:00
jaubourg
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.
2011-02-09 17:47:33 +01:00
jaubourg
2953d0481a
Makes sure statusText always defaults to "error".
2011-02-09 15:26:34 +01:00
Colin Snover
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).
2011-02-08 12:13:27 -06:00
Anton M
b46dff39c3
Make sure that mousing over Chrome "internal div" doesn't trigger a mouseleave. Fixes #8209 .
...
Follow up to 4a828c93d4
which was stupid and got reversed.
2011-02-08 17:15:55 +01:00
Anton M
944e0e6498
Revert "Make sure that mousing over Chrome "internal div" elements results in no trigger of a mouseleave."
...
This reverts commit 4a828c93d4
.
2011-02-08 17:08:25 +01:00