]> source.dussan.org Git - jquery.git/log
jquery.git
13 years agoAdd test for bug#3685, remove added html and add dynamicly to avoid global test suite...
timmywil [Fri, 25 Mar 2011 06:07:15 +0000 (02:07 -0400)]
Add test for bug#3685, remove added html and add dynamicly to avoid global test suite errors

13 years agoFix #6562, tighten up the special code for form objects, add name attrHook for IE6...
timmywil [Fri, 25 Mar 2011 05:46:29 +0000 (01:46 -0400)]
Fix #6562, tighten up the special code for form objects, add name attrHook for IE6/7, and don't check for undefined with getting hook'd attr

13 years agoFix #7472 and added test for #3113
timmywil [Fri, 25 Mar 2011 04:35:50 +0000 (00:35 -0400)]
Fix #7472 and added test for #3113

- Forms with an input that has either name="action" or name="some-other-attr-on-the-form" caused problems in IE6/7.  This is fixed.

- Changed check in $.attr for ret === null to typeof ret === "object" to catch any inputs that are accidentally retrieved in IE6/7, since attributes cannot be set to objects and typeof null === "object"

13 years agoNon-existent attribute for jQuery.attr no longer needs to check for "undefined"
timmywil [Thu, 24 Mar 2011 04:42:00 +0000 (00:42 -0400)]
Non-existent attribute for jQuery.attr no longer needs to check for "undefined"

- Remove an unnecessary var

- Use variable in removeAttr for better minification

13 years agoPerformance enhancement switching nodeType to a var
timmywil [Fri, 18 Mar 2011 02:59:05 +0000 (22:59 -0400)]
Performance enhancement switching nodeType to a var

13 years agoPass jslint, 2 missing semicolons
timmywil [Wed, 16 Mar 2011 23:00:20 +0000 (19:00 -0400)]
Pass jslint, 2 missing semicolons

13 years agoTest description
timmywil [Wed, 16 Mar 2011 02:47:20 +0000 (22:47 -0400)]
Test description

13 years agoRestored 6 tests that I had commented to come back to later to split up between prop...
timmywil [Mon, 14 Mar 2011 02:24:45 +0000 (22:24 -0400)]
Restored 6 tests that I had commented to come back to later to split up between prop and attr.  All tests still pass in all browsers.

- I should make it clear that I have not removed any tests, but only moved some attr tests to prop where I thought it was appropriate.

13 years agoStyle edits according to comments from John and rwaldron.
timmywil [Mon, 14 Mar 2011 01:27:45 +0000 (21:27 -0400)]
Style edits according to comments from John and rwaldron.

13 years agoDon't use extend when setting the action attrHook for IE6/7
timmywil [Sun, 13 Mar 2011 20:29:33 +0000 (16:29 -0400)]
Don't use extend when setting the action attrHook for IE6/7

13 years agoNo, don't return this.
timmywil [Sun, 13 Mar 2011 20:23:21 +0000 (16:23 -0400)]
No, don't return this.

13 years agoSimplify jQuery.removeAttr and return this
timmywil [Sun, 13 Mar 2011 20:17:13 +0000 (16:17 -0400)]
Simplify jQuery.removeAttr and return this

13 years agoFull test suite now passes in all browsers! There are probably some tweaks we can...
timmywil [Sun, 13 Mar 2011 19:44:51 +0000 (15:44 -0400)]
Full test suite now passes in all browsers! There are probably some tweaks we can make to shorten and simplify.

- removeAttr now only uses setAttribute if camelCase setAttribute is not supported

  + Might want to rename jQuery.support.getSetAttribute

- tabIndex is a special case now for hooks where undefined should be returned.

  + Should we be checking if hooks returns undefined?  undefined might be the desired return value in future hooks.
    As of now, tabIndex is the only one that needs it, but the test suite will still pass if we don't check if hooks are undefined.

13 years agoContinuing IE7 testing, conditional attr fixes and hooks with feature testing. Will...
timmywil [Sat, 12 Mar 2011 02:28:42 +0000 (21:28 -0500)]
Continuing IE7 testing, conditional attr fixes and hooks with feature testing.  Will figure out a way to shorten after the test suite passes.

13 years agoFix feature test, accidentally got rid of closure end
timmywil [Fri, 11 Mar 2011 20:59:34 +0000 (15:59 -0500)]
Fix feature test, accidentally got rid of closure end

13 years agoDidn't actually need the hooks anymore
timmywil [Fri, 11 Mar 2011 19:57:37 +0000 (14:57 -0500)]
Didn't actually need the hooks anymore

13 years agoFirst proposed solution for IE6/7 get/setAttribute quirks. Needs more testing, but...
timmywil [Fri, 11 Mar 2011 19:51:57 +0000 (14:51 -0500)]
First proposed solution for IE6/7 get/setAttribute quirks.  Needs more testing, but solves some issues

13 years agoSpeed up hasAttr a little
timmywil [Thu, 10 Mar 2011 23:34:15 +0000 (18:34 -0500)]
Speed up hasAttr a little

13 years agoNow passes in IE8, changed around $.hasAttr and switched the attrHook for selected...
timmywil [Thu, 10 Mar 2011 01:20:53 +0000 (20:20 -0500)]
Now passes in IE8, changed around $.hasAttr and switched the attrHook for selected to be a propHook

13 years agoMake the new attr/prop changes pass the test suite (in Webkit). There are still...
timmywil [Tue, 8 Mar 2011 17:07:05 +0000 (12:07 -0500)]
Make the new attr/prop changes pass the test suite (in Webkit).  There are still errors in IE.

+ Added hooks for selected, checked, readonly, disabled to removeAttr if set to falsey

+ Removed all attrs from attrFix, these aren't needed for setAttribute

+ If prop is used for class, do we want a propFix for class?

  - We could just assume the user should know to use className with prop.  I've done the latter for now.

+ Created tests for $.fn.prop and $.fn.removeProp

  - Actually all I did was change broken attr tests to prop where it made sense.

13 years agoVery crude first pass at splitting apart the attr/prop logic. Also adding in attrHook...
jeresig [Mon, 7 Mar 2011 03:47:40 +0000 (22:47 -0500)]
Very crude first pass at splitting apart the attr/prop logic. Also adding in attrHooks/propHooks. All of it is completely untested.

13 years agoUpdating the source version to 1.6pre.
John Resig [Thu, 31 Mar 2011 19:28:33 +0000 (15:28 -0400)]
Updating the source version to 1.6pre.

13 years agoTagging the 1.5.2 release.
John Resig [Thu, 31 Mar 2011 19:28:23 +0000 (15:28 -0400)]
Tagging the 1.5.2 release.

13 years agoMerge branch 'bug_8316' of https://github.com/timmywil/jquery into timmywil-bug_8316
Dave Methvin [Thu, 31 Mar 2011 14:25:59 +0000 (10:25 -0400)]
Merge branch 'bug_8316' of https://github.com/timmywil/jquery into timmywil-bug_8316

13 years agoFollowup commit for #7340 test case; make sure second test fires properly on IE by...
Dave Methvin [Thu, 31 Mar 2011 13:10:30 +0000 (09:10 -0400)]
Followup commit for #7340 test case; make sure second test fires properly on IE by focusing to another element rather than blurring off the first.

13 years agoFix test cases for bug #8316 fix. 292/head
timmywil [Thu, 31 Mar 2011 06:55:16 +0000 (02:55 -0400)]
Fix test cases for bug #8316 fix.

- Removed special page, just needed another test in the fixed offset tests

- Checks it's position related to scrolling

13 years agoRemove crossDomain:null comment, it's not needed since undefined==null below.
Dave Methvin [Thu, 31 Mar 2011 01:59:38 +0000 (21:59 -0400)]
Remove crossDomain:null comment, it's not needed since undefined==null below.

13 years agoMerge branch 'crossDomain' of https://github.com/JessThrysoee/jquery into JessThrysoe...
Dave Methvin [Thu, 31 Mar 2011 01:52:04 +0000 (21:52 -0400)]
Merge branch 'crossDomain' of https://github.com/JessThrysoee/jquery into JessThrysoee-crossDomain

13 years agoFixes #8203. Remove some misguided nulling of elements done in the name of IE memory...
Dave Methvin [Thu, 31 Mar 2011 01:21:49 +0000 (21:21 -0400)]
Fixes #8203. Remove some misguided nulling of elements done in the name of IE memory cleanup. Based on a patch by davidmurdoch in pull 226.

13 years agoMerge branch 'makefile_fixes' of https://github.com/azatoth/jquery into azatoth-makef...
John Resig [Wed, 30 Mar 2011 19:23:31 +0000 (15:23 -0400)]
Merge branch 'makefile_fixes' of https://github.com/azatoth/jquery into azatoth-makefile_fixes

13 years agoMerge branch 'fix_8346' of https://github.com/lrbabe/jquery into lrbabe-fix_8346
John Resig [Wed, 30 Mar 2011 18:54:52 +0000 (14:54 -0400)]
Merge branch 'fix_8346' of https://github.com/lrbabe/jquery into lrbabe-fix_8346

13 years agoFixes #8692. Strange FF4 bug: values changed onto the arguments object sometimes...
jaubourg [Wed, 30 Mar 2011 16:54:32 +0000 (18:54 +0200)]
Fixes #8692. Strange FF4 bug: values changed onto the arguments object sometimes end up as undefined values outside the $.when method. Cloning the object into a fresh array solves the issue.

13 years agoUpdate the Sizzle location to point to the newly-moved repo.
John Resig [Mon, 28 Mar 2011 17:10:12 +0000 (13:10 -0400)]
Update the Sizzle location to point to the newly-moved repo.

13 years agoBug #8635 Firefox uncaught exception 289/head
rwldrn [Mon, 28 Mar 2011 16:10:16 +0000 (12:10 -0400)]
Bug #8635 Firefox uncaught exception

13 years agoMerge branch 'bug-3333' of https://github.com/rdworth/jquery
jeresig [Fri, 25 Mar 2011 02:10:38 +0000 (22:10 -0400)]
Merge branch 'bug-3333' of https://github.com/rdworth/jquery

13 years agoUpdating the source version to 1.5.2pre.
jeresig [Fri, 25 Mar 2011 00:12:40 +0000 (20:12 -0400)]
Updating the source version to 1.5.2pre.

13 years agoTagging the 1.5.2rc1 release. 1.5.2rc1
jeresig [Fri, 25 Mar 2011 00:12:31 +0000 (20:12 -0400)]
Tagging the 1.5.2rc1 release.

13 years agoLand new sizzle commit.
jeresig [Fri, 25 Mar 2011 00:08:40 +0000 (20:08 -0400)]
Land new sizzle commit.

13 years agoFurther fix for #3333, refactored marginRight css hook to use jQuery.swap and compute... 287/head
Richard Worth [Thu, 24 Mar 2011 23:55:55 +0000 (19:55 -0400)]
Further fix for #3333, refactored marginRight css hook to use jQuery.swap and computed. Thanks timmywil

13 years agoOops, that test file for bug #8316 was needed - was also missing an include and was...
jeresig [Thu, 24 Mar 2011 23:52:45 +0000 (19:52 -0400)]
Oops, that test file for bug #8316 was needed - was also missing an include and was causing errors.

13 years agoUpdating Sizzle submodule to bring in the latest commit.
jeresig [Thu, 24 Mar 2011 23:40:09 +0000 (19:40 -0400)]
Updating Sizzle submodule to bring in the latest commit.

13 years agoFix missing semicolon.
jeresig [Thu, 24 Mar 2011 23:36:38 +0000 (19:36 -0400)]
Fix missing semicolon.

13 years agoOffset setter for fixed position elements in Webkit. Fixes #8316.
Michael Murray [Thu, 24 Mar 2011 23:02:38 +0000 (19:02 -0400)]
Offset setter for fixed position elements in Webkit. Fixes #8316.

13 years agoMerge branch 'bug-3333' of https://github.com/rdworth/jquery into rdworth-bug-3333
jeresig [Thu, 24 Mar 2011 22:58:20 +0000 (18:58 -0400)]
Merge branch 'bug-3333' of https://github.com/rdworth/jquery into rdworth-bug-3333

13 years agoAdded css hook to work around bug in WebKit computed margin-right. Fixes #3333 -... 286/head
Richard Worth [Thu, 24 Mar 2011 19:41:46 +0000 (15:41 -0400)]
Added css hook to work around bug in WebKit computed margin-right. Fixes #3333 - .css("marginRight") is incorrect in WebKit

13 years agoMerge branch 'master' into makefile_fixes 276/head
Carl Fürstenberg [Tue, 22 Mar 2011 20:55:49 +0000 (21:55 +0100)]
Merge branch 'master' into makefile_fixes

13 years agoMerge branch 'fix-8456-lost-mouseenter' of https://github.com/dmethvin/jquery into...
jeresig [Mon, 21 Mar 2011 14:53:57 +0000 (10:53 -0400)]
Merge branch 'fix-8456-lost-mouseenter' of https://github.com/dmethvin/jquery into dmethvin-fix-8456-lost-mouseenter

13 years agoMerge branch 'fix-7340-focusin-focusout-bubble' of https://github.com/dmethvin/jquery...
jeresig [Mon, 21 Mar 2011 14:53:18 +0000 (10:53 -0400)]
Merge branch 'fix-7340-focusin-focusout-bubble' of https://github.com/dmethvin/jquery into dmethvin-fix-7340-focusin-focusout-bubble

13 years agomerge doesn't work when init 278/head
Carl Fürstenberg [Thu, 17 Mar 2011 19:40:07 +0000 (20:40 +0100)]
merge doesn't work when init

sadly the merge strategy doesn't work when doing an initial clone,
circumvent that

13 years agoAdding core target
Carl Fürstenberg [Thu, 17 Mar 2011 19:26:45 +0000 (20:26 +0100)]
Adding core target

Adding core target to do jquery, minimization and lint

13 years agoupdating phony rules
Carl Fürstenberg [Thu, 17 Mar 2011 19:16:19 +0000 (20:16 +0100)]
updating phony rules

13 years agoChange makefile order to only update submodules on 'all' target
Carl Fürstenberg [Thu, 17 Mar 2011 19:14:15 +0000 (20:14 +0100)]
Change makefile order to only update submodules on 'all' target

insterad of always update the submodules, now only "make all" will run
that, thus an "make jquery" will not update them

13 years agoRemove jq target
Carl Fürstenberg [Thu, 17 Mar 2011 19:15:44 +0000 (20:15 +0100)]
Remove jq target

remove obsolete jq target

13 years agoMerge when updating submodules on make 277/head
Carl Fürstenberg [Thu, 17 Mar 2011 18:50:53 +0000 (19:50 +0100)]
Merge when updating submodules on make

When  running make, the submodule update will remove all local changes.
Adding flag --rebase or --merge does solve the issue. rebase will
probably make it cleaner, but it might stop on conflict, thus --merge
will result in fewer (probably none).

13 years agoChanging dependice order for minify to prevent reminify
Carl Fürstenberg [Fri, 4 Mar 2011 22:33:20 +0000 (23:33 +0100)]
Changing dependice order for minify to prevent reminify

unless jquery.js has been updated, no minification should occur

closes: #8519

13 years agoMerge branch 'bug_6158' of https://github.com/jboesch/jquery into jboesch-bug_6158 257/head
John Resig [Tue, 15 Mar 2011 21:06:24 +0000 (17:06 -0400)]
Merge branch 'bug_6158' of https://github.com/jboesch/jquery into jboesch-bug_6158

13 years agoadding pull command 275/head
Carl Fürstenberg [Tue, 15 Mar 2011 20:42:58 +0000 (21:42 +0100)]
adding pull command

13 years agopull submodules make command
Carl Fürstenberg [Tue, 15 Mar 2011 20:25:51 +0000 (21:25 +0100)]
pull submodules make command

Adding an helper funciton to pull the latest from all registered
submodules

13 years agoIntroduce submodules, closes #8536
Carl Fürstenberg [Tue, 15 Mar 2011 19:16:09 +0000 (20:16 +0100)]
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.

13 years agoFixes #8509. Makes URL regexp less overzealous and ensures it recognizes URL schemes...
jaubourg [Tue, 15 Mar 2011 18:20:03 +0000 (19:20 +0100)]
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.

13 years agoremoving parens 261/head
Jordan Boesch [Mon, 14 Mar 2011 20:17:02 +0000 (14:17 -0600)]
removing parens

13 years agono need to specifically initialize crossDomain to null 268/head
JessThrysoee [Fri, 11 Mar 2011 16:46:59 +0000 (17:46 +0100)]
no need to specifically initialize crossDomain to null

13 years agoMake it possible to force the Ajax crossDomain option to false.
JessThrysoee [Thu, 10 Mar 2011 23:17:38 +0000 (00:17 +0100)]
Make it possible to force the Ajax crossDomain option to false.

13 years agoFixes #8456. Make sure parent is not null before crawling into its lap, so mouseenter... 266/head
Dave Methvin [Thu, 10 Mar 2011 03:38:26 +0000 (22:38 -0500)]
Fixes #8456. Make sure parent is not null before crawling into its lap, so mouseenter is triggered on a mouseover event.

13 years agoFixes #8423. Never set X-Requested-With header automagically for cross-domain requests. 98/head
jaubourg [Sun, 6 Mar 2011 23:42:09 +0000 (00:42 +0100)]
Fixes #8423. Never set X-Requested-With header automagically for cross-domain requests.

13 years agobug 6158; fixing replaceWith from throwing errors on non existant elements; fixing...
Jordan Boesch [Sat, 5 Mar 2011 15:59:25 +0000 (09:59 -0600)]
bug 6158; fixing replaceWith from throwing errors on non existant elements; fixing semicolon

13 years agobug 6158; fixing replaceWith from throwing errors on non existant elements
Jordan Boesch [Sat, 5 Mar 2011 15:46:12 +0000 (09:46 -0600)]
bug 6158; fixing replaceWith from throwing errors on non existant elements

13 years agobug 6158; fixing replaceWith from throwing errors on empty elements
Jordan Boesch [Sat, 5 Mar 2011 15:30:29 +0000 (09:30 -0600)]
bug 6158; fixing replaceWith from throwing errors on empty elements

13 years agoFixes #7340. Use a single capturing handler to simulate bubbling focusin/focusout... 260/head
Dave Methvin [Sat, 5 Mar 2011 02:16:40 +0000 (21:16 -0500)]
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.

13 years agoMoves Deferred-related code into a separate module. Context handling has been simplif...
jaubourg [Thu, 3 Mar 2011 18:38:06 +0000 (19:38 +0100)]
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).

13 years agoFix for #8421. Makes sure resolveWith can be called with only one parameter.
jaubourg [Thu, 3 Mar 2011 14:16:47 +0000 (15:16 +0100)]
Fix for #8421. Makes sure resolveWith can be called with only one parameter.

13 years agoGrouped up the test 245/head
gnarf [Thu, 24 Feb 2011 19:21:05 +0000 (13:21 -0600)]
Grouped up the test

13 years agoA quick change to detect AIR urls
gnarf [Thu, 24 Feb 2011 19:10:33 +0000 (13:10 -0600)]
A quick change to detect AIR urls

13 years agoRemoves unnecessary parenthesis from regular expression.
jaubourg [Thu, 24 Feb 2011 05:37:37 +0000 (06:37 +0100)]
Removes unnecessary parenthesis from regular expression.

13 years agoRevert "Fixes #8353. Adds a catch block in resolveWith so that the finally block...
jaubourg [Wed, 23 Feb 2011 23:32:30 +0000 (00:32 +0100)]
Revert "Fixes #8353. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6."

This reverts commit cacea6f7e778d42cda56066a6b1da8fb163410cc.

13 years agoUpdating the source version to 1.5.2pre.
jeresig [Wed, 23 Feb 2011 18:55:45 +0000 (13:55 -0500)]
Updating the source version to 1.5.2pre.

13 years agoTagging the 1.5.1 release.
jeresig [Wed, 23 Feb 2011 18:55:29 +0000 (13:55 -0500)]
Tagging the 1.5.1 release.

13 years agoMake a new jQuery.support.noCloneChecked - splitting apart the previous feature detec...
jeresig [Wed, 23 Feb 2011 18:18:44 +0000 (13:18 -0500)]
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.

13 years agocomments for workarounds are always welcome. 243/head
louisremi [Wed, 23 Feb 2011 14:55:13 +0000 (15:55 +0100)]
comments for workarounds are always welcome.

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 agoRefactors jQuery.when to avoid unnecessary recursion and limit function calls as...
jaubourg [Wed, 23 Feb 2011 07:00:27 +0000 (08:00 +0100)]
Refactors jQuery.when to avoid unnecessary recursion and limit function calls as much as possible.

13 years agoFixes #8353. Adds a catch block in resolveWith so that the finally block gets execute...
jaubourg [Wed, 23 Feb 2011 01:50:27 +0000 (02:50 +0100)]
Fixes #8353. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6.

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.