Commit graph

3124 commits

Author SHA1 Message Date
timmywil e6da0fa6a9 Bug #7369: Add test for disconnected node in closest when passing attribute selector; this was recently fixed in 1.5.2rc 2011-03-25 23:46:29 -04:00
timmywil b8013581ce Closest unit tests: add one for passing a jQuery collection with multiple elements 2011-03-23 15:56:05 -04:00
timmywil e09d8898d8 Add node and jQuery object support to $.fn.closest 2011-03-21 20:59:20 -04:00
timmywil eb1497c1fb Merge branch 'master' of git://github.com/jquery/jquery into 2773_find_closest 2011-03-16 14:44:31 -04:00
timmywil 929792834f Organizing vars 2011-03-16 14:41:26 -04:00
timmywil 7a69e34a5c 2773: first pass adding node/jQuery object support to jQuery.fn.find; unit tests added 2011-03-16 01:16:32 -04:00
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 bd4468886d adding pull command 2011-03-15 21:42:58 +01:00
Carl Fürstenberg cd2ca7b591 pull submodules make command
Adding an helper funciton to pull the latest from all registered
submodules
2011-03-15 21:25:51 +01: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
timmywil 8246347b71 Starting with adding the test 2011-03-13 21:12:10 -04: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 dd100bf5ac bug 6158; fixing replaceWith from throwing errors on non existant elements; fixing semicolon 2011-03-05 09:59:25 -06: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 71bd828d9f Grouped up the test 2011-02-24 13:21:05 -06: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 83d1a1fd56 Updating the source version to 1.5.2pre. 2011-02-23 13:55:45 -05:00
jeresig 2defcf96e5 Tagging the 1.5.1 release. 2011-02-23 13:55:29 -05: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
jeresig d5f7711ce0 Updating the source version to 1.5.1pre. 2011-02-18 13:57:32 -05:00
jeresig 13e1198754 Tagging the 1.5.1rc1 release. 2011-02-18 13:57:25 -05: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
Anton M 4b91b918a3 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
2011-02-17 19:14:46 +01: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
Anton M 8e40a84c24 Fix some unscoped tests which failed after recent changes to QUnit. 2011-02-15 21:03:34 +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