Commit Graph

4290 Commits

Author SHA1 Message Date
Mike Sherov
91a6d9dafc Speed up .css() by eliminating the middleman. 2012-04-05 21:42:23 -04:00
Richard Gibson
590bcab245 Fix #11543: .has should work on detached elements. 2012-04-05 21:03:41 -04:00
Oleg
c04bfce556 Fixes #11338, .replaceWith should work on detached nodes. 2012-04-05 12:53:36 -04:00
cmcnulty
4cd57d727a Fix 11528. Exclude link/html5 tags from innerHTML path on oldIE. 2012-04-05 12:26:20 -04:00
tsinha
36d2d9ae93 Fix #8653, .param() undefined/null values become empty strings 2012-04-05 11:06:54 -04:00
Sindre Sorhus
fdf37de778 Followup to #11469; add test case and clarify code. 2012-04-04 23:30:13 -04:00
Sindre Sorhus
d5ee856a44 Remove moot second argument from slice.call()
The zeroes were added to fix http://bugs.jquery.com/ticket/4942 but those browsers are no longer supported.
2012-04-04 23:22:15 -04:00
Richard Gibson
22ad8723ce Fix #11325: smaller/stronger domManip/buildFragment/clean 2012-04-04 23:03:34 -04:00
J Bruni
7c814f4837 Updating year to 2012. 2012-04-04 22:29:56 -04:00
Oskari
da70ca6b96 Use multiply rather than divide for speed. 2012-04-04 22:14:33 -04:00
Robert Katic
077fd7ed6f Fix #11439. Remove use of undefined jQuery.support.parentNode. 2012-04-04 21:57:48 -04:00
Andy Monat
dc337f628c Fix #11435. Remove obsolete test code. 2012-04-04 21:38:47 -04:00
Oleg
203a168980 Fix #8545. Plug event handling memory leak in oldIE. 2012-04-04 21:38:46 -04:00
jaubourg
41056ab195 Merge branch '1.8/#11011/Callbacks' into 1.8pre 2012-04-03 14:19:43 +02:00
jaubourg
03c5836fa1 Merge branch '1.8/#11010/Deferred' into 1.8pre 2012-04-03 14:19:27 +02:00
jaubourg
914df9cb42 For much improved consistency, jqXHR.abort() sets a default statusText of 'canceled' right until after beforeSend has been called (in which case it reverts to the default of 'abort'): now all early aborts have a statusText of 'canceled'. 2012-04-02 02:04:46 +02:00
jaubourg
395612bb15 $.ajax now always returns an object implementing the Promise interface. Fixes #10944. Unit tests amended.
For back-compat, in case of an early abort, callbacks passed in the options are not called (while subsequent callbacks attached to the returned Promise are).
For early abort triggered by returning false in beforeSend, statusText is "canceled".
2012-04-02 01:54:19 +02:00
jaubourg
a41f240674 Makes Deferred implementation truly Promise/A compliant. Unit tests amended. Actually few changes required in jQuery's own source and we gained 8 bytes minified gzipped \o/. 2012-04-02 01:29:39 +02:00
jaubourg
7fa0da08b8 Allows traditional options object for $.Callbacks flags. Fixes #11011. Unit tests added. 2012-04-02 01:03:34 +02:00
timmywil
a29d482894 Update Sizzle and add test for sizzle getText fix. Removes usage of innerText. Fixes #11153. 2012-03-30 17:10:25 -04:00
Rick Waldron waldron.rick@gmail.com
2795a8390c Ensure innerHTML of src/dest clone nodes is correctly set. Fixes #10324
Signed-off-by: Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
2012-03-23 11:54:12 -04:00
Rick Waldron waldron.rick@gmail.com
379a137016 Failing test (http://gyazo.com/0a7285e1d10039bc8ec8bc340fac15a9.png)
Signed-off-by: Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
2012-03-23 11:31:05 -04:00
Dave Methvin
c68f4fe548 Updating the source version to 1.7.3pre 2012-03-21 12:46:59 -07:00
Dave Methvin
754bda21cb Tagging the 1.7.2 release. 2012-03-21 12:46:34 -07:00
louisremi
07c8a9b244 Fix #11469. Exclude margins from the negative property check. 2012-03-21 12:28:10 -07:00
Dave Methvin
f40c862d1e Update release notes version. 2012-03-09 13:47:59 -05:00
Dave Methvin
d39f73583d Updating the source version to 1.7.2pre 2012-03-09 13:43:52 -05:00
Dave Methvin
968e750673 Tagging the 1.7.2rc1 release. 2012-03-09 13:42:24 -05:00
Dave Methvin
8d94ed91e4 Revert "No more php/js logic duplication..." on a hunch.
TestSwarm hasn't been happy since this commit, and everyone deserves to be happy.

This reverts commit 318d47b730.
2012-03-07 15:31:35 -05:00
jaubourg
ae138ac6d1 Makes sure start is always called with default context and no arguments. Should stop FF from acting up. Hopefully, this ugly patch can be removed in the future. 2012-03-07 18:23:46 +01:00
jaubourg
c5712a24bd Prevents firefox from hanging on the test (could it be that firefox passes the delay to start?). 2012-03-07 17:55:07 +01:00
jaubourg
d30859eb6b Makes parseXML act like parseJSON when given an empty or non-string input: now returns null rather than throwing an exception. Incidently fixes #10527. Unit tests added. 2012-03-07 17:37:14 +01:00
jaubourg
bd56456b1e Fixes #4624... 3 years later, people! 2012-03-07 17:08:59 +01:00
jaubourg
d3fad51cad Fixes #11264 or rather seriously limits the risk of global ajaxSettings screwing with script loading in domManip. Gotta love globals and sneaky dependencies. Unit test added. 2012-03-07 16:54:05 +01:00
jaubourg
484cea1b56 Fixes #11426: getting the responseText of an xhr should be tried/caught because of IE's inability to give access to binary data. Unit test added. 2012-03-07 15:39:39 +01:00
jaubourg
014b2a5700 Not testing his code properly makes Julian a silly coder. 2012-03-07 11:58:18 +01:00
jaubourg
318d47b730 No more php/js logic duplication. Ensures modules are still loaded separately when using "file:" protocol (makes debugging much easier, /kiss @rwaldron). Ensures test iframes will use the same jquery as specified in the main document. Known issue: chrome will cringe at cross-frame access using file: protocol, apparently chrome sees this as cross-domain... go figure. 2012-03-07 09:54:52 +01:00
Dave Methvin
92a92be10f Fix #11049. Let bubbling submit be cancellable in oldIE. 2012-03-06 19:56:17 -05:00
Rick Waldron waldron.rick@gmail.com
619f0d908a Guard against exceptions when clearing safeChildNodes.
Supplements #11356 and fixes unit test failures in FF 3.6.
2012-03-06 12:54:51 -05:00
Dave Methvin
e529d91ccd Add more delay to the "halfway" tests for non-focused cases.
When the browser window isn't visible, setTimeouts have 1-second granularity.
2012-03-05 21:37:43 -05:00
timmywil
d3320462df Do not set boolean attributes to empty string on removal. Fixes #10870. +0 bytes compressed 2012-03-05 12:54:44 -05:00
Dave Methvin
8013163a36 Fix frequent Firefox failures -- force longer timeouts. 2012-03-02 21:54:08 -05:00
Mike Sherov
935df49d77 Followup for #7986 to fix a botched merge.
Okay, Jenkins, you were right this time.
2012-03-02 21:10:36 -05:00
Sindre Sorhus
92cd999097 Fix #11217. WebKit clone() loses check if name follows checked attribute.
Please folks, hold your questions. We don't explain em, we just fix em.
2012-03-02 13:55:58 -05:00
Mathias Bynens
2803a5e6f2 Fix #11316. Find valHooks first by element type, then by nodeName.
Reverses the previous search order.
2012-03-02 13:28:27 -05:00
Rick Waldron waldron.rick@gmail.com
f0732c1e41 Fix #11323. Consistently use rscriptType in jQuery.clean() 2012-03-02 13:13:43 -05:00
Rick Waldron
1ff284d2cd Fix #11356. Avoid hoarding elements in DocumentFragments. 2012-03-02 12:03:32 -05:00
Mike Sherov
5cae50e66e Fix #3838, $(document).height() incorrect in IE6
May still be broken in Netscape Navigator 4.
2012-03-02 11:45:30 -05:00
Mike Sherov
da02e190b5 Fixes #10828, .attr("coords") returns undefined in IE7 2012-03-02 11:08:52 -05:00
Dave Methvin
56426261f0 Fix #11415: Stop non-negative prop undershoot on animation.
This doesn't fix *all* of them (see the ticket for a supposedly complete list) but these were already handy so it was relatively cheap to fix them. If you need others fixed, add a custom step function as was done here. Thanks @scott_gonzalez!
2012-03-01 22:31:17 -05:00