]>
source.dussan.org Git - jquery.git/log
tsinha [Thu, 5 Apr 2012 15:06:54 +0000 (11:06 -0400)]
Fix #8653, .param() undefined/null values become empty strings
Sindre Sorhus [Thu, 5 Apr 2012 03:30:13 +0000 (23:30 -0400)]
Followup to #11469; add test case and clarify code.
Sindre Sorhus [Tue, 13 Mar 2012 13:39:40 +0000 (14:39 +0100)]
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.
Richard Gibson [Thu, 5 Apr 2012 03:00:58 +0000 (23:00 -0400)]
Fix #11325: smaller/stronger domManip/buildFragment/clean
J Bruni [Tue, 6 Mar 2012 20:56:02 +0000 (17:56 -0300)]
Updating year to 2012.
Oskari [Tue, 6 Mar 2012 15:25:29 +0000 (17:25 +0200)]
Use multiply rather than divide for speed.
Robert Katic [Mon, 5 Mar 2012 21:57:34 +0000 (22:57 +0100)]
Fix #11439. Remove use of undefined jQuery.support.parentNode.
Andy Monat [Sun, 4 Mar 2012 17:54:33 +0000 (12:54 -0500)]
Fix #11435. Remove obsolete test code.
Oleg [Thu, 5 Apr 2012 01:17:01 +0000 (21:17 -0400)]
Fix #8545. Plug event handling memory leak in oldIE.
jaubourg [Tue, 3 Apr 2012 12:19:43 +0000 (14:19 +0200)]
Merge branch '1.8/#11011/Callbacks' into 1.8pre
jaubourg [Tue, 3 Apr 2012 12:19:27 +0000 (14:19 +0200)]
Merge branch '1.8/#11010/Deferred' into 1.8pre
jaubourg [Mon, 2 Apr 2012 00:04:46 +0000 (02:04 +0200)]
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'.
jaubourg [Sun, 1 Apr 2012 23:54:19 +0000 (01:54 +0200)]
$.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".
jaubourg [Sun, 1 Apr 2012 23:29:39 +0000 (01:29 +0200)]
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/.
jaubourg [Sun, 1 Apr 2012 23:03:34 +0000 (01:03 +0200)]
Allows traditional options object for $.Callbacks flags. Fixes #11011. Unit tests added.
timmywil [Fri, 30 Mar 2012 21:09:46 +0000 (17:09 -0400)]
Update Sizzle and add test for sizzle getText fix. Removes usage of innerText. Fixes #11153.
Dave Methvin [Wed, 21 Mar 2012 19:46:59 +0000 (12:46 -0700)]
Updating the source version to 1.7.3pre
Dave Methvin [Wed, 21 Mar 2012 19:46:34 +0000 (12:46 -0700)]
Tagging the 1.7.2 release.
louisremi [Wed, 21 Mar 2012 19:04:10 +0000 (20:04 +0100)]
Fix #11469. Exclude margins from the negative property check.
Dave Methvin [Fri, 9 Mar 2012 18:47:59 +0000 (13:47 -0500)]
Update release notes version.
Dave Methvin [Fri, 9 Mar 2012 18:43:52 +0000 (13:43 -0500)]
Updating the source version to 1.7.2pre
Dave Methvin [Fri, 9 Mar 2012 18:42:24 +0000 (13:42 -0500)]
Tagging the 1.7.2rc1 release.
Dave Methvin [Wed, 7 Mar 2012 20:28:00 +0000 (15:28 -0500)]
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
318d47b730769f538dbc24800b9ad67ff8e73ea9 .
jaubourg [Wed, 7 Mar 2012 17:23:46 +0000 (18:23 +0100)]
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.
jaubourg [Wed, 7 Mar 2012 16:55:07 +0000 (17:55 +0100)]
Prevents firefox from hanging on the test (could it be that firefox passes the delay to start?).
jaubourg [Wed, 7 Mar 2012 16:37:14 +0000 (17:37 +0100)]
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.
jaubourg [Wed, 7 Mar 2012 16:08:59 +0000 (17:08 +0100)]
Fixes #4624... 3 years later, people!
jaubourg [Wed, 7 Mar 2012 15:54:05 +0000 (16:54 +0100)]
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.
jaubourg [Wed, 7 Mar 2012 14:39:39 +0000 (15:39 +0100)]
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.
jaubourg [Wed, 7 Mar 2012 10:58:18 +0000 (11:58 +0100)]
Not testing his code properly makes Julian a silly coder.
jaubourg [Wed, 7 Mar 2012 08:54:25 +0000 (09:54 +0100)]
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.
Dave Methvin [Mon, 5 Mar 2012 02:11:50 +0000 (21:11 -0500)]
Fix #11049. Let bubbling submit be cancellable in oldIE.
Rick Waldron waldron.rick@gmail.com [Tue, 6 Mar 2012 15:22:58 +0000 (10:22 -0500)]
Guard against exceptions when clearing safeChildNodes.
Supplements #11356 and fixes unit test failures in FF 3.6.
Dave Methvin [Tue, 6 Mar 2012 02:37:43 +0000 (21:37 -0500)]
Add more delay to the "halfway" tests for non-focused cases.
When the browser window isn't visible, setTimeouts have 1-second granularity.
timmywil [Mon, 5 Mar 2012 17:54:44 +0000 (12:54 -0500)]
Do not set boolean attributes to empty string on removal. Fixes #10870. +0 bytes compressed
Dave Methvin [Sat, 3 Mar 2012 02:40:44 +0000 (21:40 -0500)]
Fix frequent Firefox failures -- force longer timeouts.
Mike Sherov [Sat, 3 Mar 2012 00:21:24 +0000 (19:21 -0500)]
Followup for #7986 to fix a botched merge.
Okay, Jenkins, you were right this time.
Sindre Sorhus [Thu, 9 Feb 2012 14:45:34 +0000 (15:45 +0100)]
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.
Mathias Bynens [Fri, 10 Feb 2012 16:14:13 +0000 (17:14 +0100)]
Fix #11316. Find valHooks first by element type, then by nodeName.
Reverses the previous search order.
Rick Waldron waldron.rick@gmail.com [Fri, 10 Feb 2012 21:39:28 +0000 (16:39 -0500)]
Fix #11323. Consistently use rscriptType in jQuery.clean()
Rick Waldron [Fri, 2 Mar 2012 17:03:32 +0000 (12:03 -0500)]
Fix #11356. Avoid hoarding elements in DocumentFragments.
Mike Sherov [Sat, 25 Feb 2012 18:13:16 +0000 (13:13 -0500)]
Fix #3838, $(document).height() incorrect in IE6
May still be broken in Netscape Navigator 4.
Mike Sherov [Sat, 25 Feb 2012 20:05:15 +0000 (15:05 -0500)]
Fixes #10828, .attr("coords") returns undefined in IE7
Dave Methvin [Fri, 2 Mar 2012 03:31:17 +0000 (22:31 -0500)]
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!
Mike Sherov [Fri, 24 Feb 2012 05:14:15 +0000 (00:14 -0500)]
Fix #7986. $.support.boxModel shan't be fooled by page-level CSS.
Vladislav Zarakovsky [Mon, 13 Feb 2012 14:52:43 +0000 (17:52 +0300)]
Fix #11337. Properly calculate $.support.reliableMarginRight.
Dave Methvin [Fri, 24 Feb 2012 04:22:04 +0000 (23:22 -0500)]
Firefox stalls without longer delays.
Not really happy with this, but perhaps Jenkins will be.
Richard Gibson [Fri, 17 Feb 2012 19:17:20 +0000 (14:17 -0500)]
Fix #11359: preserve contents for cloned scripts
Mike Sherov [Thu, 23 Feb 2012 20:48:12 +0000 (15:48 -0500)]
fixes #10693, generalizes the "test something in an iframe" code when a callback isn't needed
Richard Gibson [Wed, 22 Feb 2012 05:21:18 +0000 (00:21 -0500)]
Fix #11370: .siblings() shouldn't throw exception on a detached element
Mike Sherov [Tue, 14 Feb 2012 23:19:32 +0000 (18:19 -0500)]
fixes #10901, PHP required for unit tests, but still allow the tests to run
Richard Gibson [Fri, 9 Dec 2011 17:41:35 +0000 (12:41 -0500)]
Fix #10967: jQuery.fn.promise returns provided object
Dave Methvin [Tue, 14 Feb 2012 02:44:32 +0000 (18:44 -0800)]
Merge pull request #679 from rwldrn/fix-ws
Fix whitespace mismatch introduced in
bf7a4df22a
Rick Waldron waldron.rick@gmail.com [Fri, 10 Feb 2012 21:17:12 +0000 (16:17 -0500)]
Fix whitespace mismatch introduced in
bf7a4df22a
Scott González [Mon, 6 Feb 2012 15:02:58 +0000 (10:02 -0500)]
Easing: Only use the state to calculate the value. Fixes #11284 - Simplify easings to only rely on the state.
Arne de Bree [Fri, 10 Feb 2012 01:48:21 +0000 (20:48 -0500)]
Fix #11291. Always clone XML docs with a genuine .cloneNode().
Sindre Sorhus [Fri, 10 Feb 2012 01:25:43 +0000 (20:25 -0500)]
Fix #11309. Recognize hexadecimal in data attributes.
Dave Methvin [Wed, 1 Feb 2012 01:11:53 +0000 (20:11 -0500)]
Updating the source version to 1.7.2pre
Dave Methvin [Wed, 1 Feb 2012 01:11:27 +0000 (20:11 -0500)]
Tagging the 1.7.2b1 release.
timmywil [Tue, 31 Jan 2012 21:02:25 +0000 (16:02 -0500)]
Update README.md
Dave Methvin [Tue, 31 Jan 2012 03:56:41 +0000 (19:56 -0800)]
Merge pull request #663 from presbrey/patch-1
Fix prefilter comment typo.
Rick Waldron [Tue, 31 Jan 2012 03:38:37 +0000 (22:38 -0500)]
Fix #11257. Correct path to source files.
jaubourg [Tue, 31 Jan 2012 01:31:22 +0000 (02:31 +0100)]
Fixes #10952 by introducing a real fired flag in the Callbacks closure.
jQuery Size - compared to last make
250235 (+69) jquery.js
94225 (+7) jquery.min.js
33445 (+3) jquery.min.js.gz
jaubourg [Tue, 31 Jan 2012 01:23:04 +0000 (02:23 +0100)]
Adds unit test to exhibit #10952
Mike Sherov [Mon, 23 Jan 2012 17:20:32 +0000 (12:20 -0500)]
too many undefs.
Dave Methvin [Sat, 28 Jan 2012 21:46:52 +0000 (16:46 -0500)]
Fix #10878. Clear oldIE special change/submit flags on a clone.
Dave Methvin [Sat, 28 Jan 2012 19:58:00 +0000 (14:58 -0500)]
Fix #11076. If .clone() won't delegate, we must remediate.
Since `jQuery.event.add` can accept a handleObj there's no need to reiterate them as args, but we *do* need to set the `selector` variable correctly.
presbrey [Sun, 22 Jan 2012 19:53:50 +0000 (14:53 -0500)]
fix prefilter comment typo
Rick Waldron [Fri, 20 Jan 2012 21:47:49 +0000 (16:47 -0500)]
Adds test to support Sizzle getText patch for document fragments. Fixes #10864.
timmywil [Fri, 20 Jan 2012 21:41:14 +0000 (16:41 -0500)]
Update qunit and sizzle
timmywil [Fri, 20 Jan 2012 20:57:11 +0000 (15:57 -0500)]
Add unit tests for animation toggling from hide position. Supplements #10848.
timmywil [Fri, 20 Jan 2012 19:17:02 +0000 (14:17 -0500)]
When stopping a show, save showing end state instead of start state to fix animation toggling issue. Fixes #10848.
Mike Sherov [Fri, 20 Jan 2012 02:47:23 +0000 (21:47 -0500)]
Add undef:true to JSHint now that it understands hoisting
also add smarttabs:true and fix some smarttabs spacing issues
Dave Methvin [Fri, 20 Jan 2012 03:14:24 +0000 (22:14 -0500)]
Fix #8165: Ignore events bubbling through disabled elements.
Although #6911 fixed the case where event.target was disabled, it missed the case where the target was a sub-element.
Mike Sherov [Mon, 26 Dec 2011 20:22:29 +0000 (15:22 -0500)]
fixes #11048: make sure support tests don't modify the layout of the body
Rick Waldron [Fri, 13 Jan 2012 01:30:45 +0000 (20:30 -0500)]
Fix #11130: Don't neglect the data arg when event-map is passed.
Rick Waldron [Fri, 13 Jan 2012 01:14:51 +0000 (20:14 -0500)]
Fix #10978: Let jQuery.param() accept non-native constructed objects.
Richard Gibson [Thu, 12 Jan 2012 17:39:08 +0000 (12:39 -0500)]
Fix #10931: Make unit tests work without web access.
Applies https://github.com/gibson042/jquery/tree/10931 to
dd900460ac6f77be71ceb878bc2cd1465397dc60
Oleg [Fri, 13 Jan 2012 00:40:41 +0000 (19:40 -0500)]
Fix #10006: Allow .show() to work on detached elements.
Rick Waldron [Sun, 18 Dec 2011 15:54:30 +0000 (10:54 -0500)]
Adds 'bdi' and 'data' to shim list and test runner. Fixes #11055
cmc3cn [Thu, 12 Jan 2012 03:11:22 +0000 (22:11 -0500)]
Fix #11119: The curCSS function needs only 2 arguments
Richard Gibson [Thu, 12 Jan 2012 02:56:18 +0000 (21:56 -0500)]
Fix #11145: Harden dispatch against a form-aliased "disabled" property
Rick Waldron [Thu, 29 Dec 2011 16:36:41 +0000 (11:36 -0500)]
Improves handling of EOL whitespace error reporting
Mike Sherov [Thu, 12 Jan 2012 02:35:13 +0000 (21:35 -0500)]
Fix #10902. DRY up the ways to include src files in tests.
Rick Waldron [Thu, 15 Dec 2011 15:11:24 +0000 (10:11 -0500)]
Reformat jshint errors to be readable; make post-compile.js write directly to jquery.min.js; update required Node version
Dave Methvin [Wed, 14 Dec 2011 03:29:35 +0000 (22:29 -0500)]
Fix #11021. There should be no mangling of the "hover" namespace.
Dave Methvin [Wed, 14 Dec 2011 02:57:48 +0000 (21:57 -0500)]
Fix #10961. XRegExp's shimmed .exec() can't handle undefined.
There's no reason to call quickParse if selector is falsy, so it's a minor performance optimization anyway. No change in behavior at all on our side, so no test case needed.
Dave Methvin [Wed, 14 Dec 2011 02:40:59 +0000 (21:40 -0500)]
Fix #10984. Use origType when unbinding via the event object.
timmywil [Mon, 12 Dec 2011 16:23:47 +0000 (11:23 -0500)]
Use Sizzle.Expr.match.globalPOS for identifying POS selectors in traversing. Fixes #10970.
timmywil [Mon, 12 Dec 2011 15:22:38 +0000 (10:22 -0500)]
When the width/height computed unit is not pixels, return that instead. Fixes #10782.
- Reordered some of css.js in preparation for jshint undef.
timmywil [Mon, 12 Dec 2011 14:53:34 +0000 (06:53 -0800)]
Merge pull request #633 from rwldrn/contribute
Fix Contribution Guides list of links, hopefully easier to notice and read 0_o
Rick Waldron [Sun, 11 Dec 2011 23:20:13 +0000 (18:20 -0500)]
Fix Contribution Guides list of links, hopefully easier to notice and read 0_o
Dave Methvin [Fri, 9 Dec 2011 03:13:00 +0000 (22:13 -0500)]
Pull in sizzle updates for JSHint
Mike Sherov [Fri, 9 Dec 2011 02:27:05 +0000 (21:27 -0500)]
Fix #10753. Inline evalScript as it's only used in one place
Dave Methvin [Fri, 9 Dec 2011 02:17:11 +0000 (21:17 -0500)]
Two eq is not enough; three eq is more than we want for now.
We also don't need the lint alias.
Mike Sherov [Fri, 9 Dec 2011 01:42:47 +0000 (20:42 -0500)]
Fix #10692. JSLint is dead! Long live JSHint!
Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
Richard Gibson [Fri, 9 Dec 2011 01:26:50 +0000 (20:26 -0500)]
Fix #10858: CSS regexps recognize non-integer and explicit positive numbers.
Mike Sherov [Fri, 9 Dec 2011 01:01:23 +0000 (20:01 -0500)]
Fix #8498. Add cssHooks[prop].expand for use by animate().
Mike Sherov [Wed, 7 Dec 2011 01:32:26 +0000 (20:32 -0500)]
Fix #10639. Make percent-specified margins return px values in WebKit.
Dave Methvin [Wed, 7 Dec 2011 01:07:29 +0000 (20:07 -0500)]
Precompute the parts array; clean up a JSLint complaint.
Followup to
6c2a501de40a5f6b3ad382e2d309e5a10fce04d0 for bug #5571.