]>
source.dussan.org Git - jquery.git/log
Oleg [Thu, 3 May 2012 20:13:28 +0000 (00:13 +0400)]
-8 bytes
jaubourg [Wed, 2 May 2012 00:29:12 +0000 (02:29 +0200)]
Fixes the parameters given to load callback when the request errors.
jaubourg [Wed, 2 May 2012 00:22:56 +0000 (02:22 +0200)]
Adds unit test to show order of parameters in the load callback are off for errors since the rewrite (this test works in master).
jaubourg [Wed, 2 May 2012 00:15:09 +0000 (02:15 +0200)]
Makes test message more meaningful.
Oleg [Tue, 1 May 2012 18:47:14 +0000 (14:47 -0400)]
jQuery.fn.load optimization
Oleg [Tue, 1 May 2012 18:39:45 +0000 (14:39 -0400)]
jQuery.ajaxSetup() data is merged with params. Fixes #10524
jaubourg [Mon, 30 Apr 2012 01:04:45 +0000 (03:04 +0200)]
Gandalf the Grey says you shall not leak globals, even in the depths of Unit Tests. So fly, you fools!
jaubourg [Sat, 28 Apr 2012 21:06:48 +0000 (23:06 +0200)]
Gains 1 more byte min/gz and reminds that isResolved and isRejected are deprecated in the comments.
jaubourg [Sat, 28 Apr 2012 20:57:32 +0000 (22:57 +0200)]
Merge branch '1.8-deferred-optimize2' of git://github.com/gibson042/jquery into PR754
jaubourg [Sat, 28 Apr 2012 20:54:13 +0000 (22:54 +0200)]
Simplifies the way the internal memory storage is handled.
jaubourg [Sat, 28 Apr 2012 14:52:32 +0000 (16:52 +0200)]
Opera announced they will start supporting the -webkit- prefix for a selected set of css properties. Let's put the inspection of -webkit- prefix properties as the last one in case this propagates to the style object and/or other browsers (the cssPrefixes array is inspected from right to left).
Mike Sherov [Fri, 27 Apr 2012 15:22:01 +0000 (11:22 -0400)]
Update dimensions unit tests from changes in #11604
Richard Gibson [Thu, 26 Apr 2012 20:08:17 +0000 (16:08 -0400)]
code compression
jaubourg [Wed, 25 Apr 2012 16:24:34 +0000 (18:24 +0200)]
Trims down deferred.js. The gist of it is from the magnificent @gibson042, I just added some minor touches.
jaubourg [Wed, 25 Apr 2012 16:18:44 +0000 (18:18 +0200)]
Callbacks.add now accepts array-like objects (like Arguments). Now uses the slice method of the args array in fireWith rather than a quite slow jQuery.merge.
Rick Waldron waldron.rick@gmail.com [Wed, 25 Apr 2012 15:18:07 +0000 (11:18 -0400)]
Add resource by @mikesherov to gruntfile
jaubourg [Wed, 25 Apr 2012 15:15:48 +0000 (17:15 +0200)]
Use real declaration since that helps gzip: thanks @gibson042.
jaubourg [Wed, 25 Apr 2012 14:08:38 +0000 (16:08 +0200)]
Regression: makes sure that all instances of a callback are removed. Unit test added.
jaubourg [Wed, 25 Apr 2012 13:50:26 +0000 (15:50 +0200)]
How about we save 62 bytes? Also ensure that the arguments array given to fireWith is copied internally.
jaubourg [Wed, 25 Apr 2012 00:16:37 +0000 (02:16 +0200)]
Since we can pass an object to jQuery.Callbacks now, let's name it options to be consistent with the rest of the code.
jaubourg [Wed, 25 Apr 2012 00:13:26 +0000 (02:13 +0200)]
Adds a unit test to control options are being copied by jQuery.Callbacks internally.
jaubourg [Wed, 25 Apr 2012 00:06:21 +0000 (02:06 +0200)]
Uses a copy of the flags when they are given as an object rather than the object itself. That way, we're sure flags are immutable for the entire lifetime of the Callbacks instance.
Mike Sherov [Mon, 23 Apr 2012 19:43:26 +0000 (15:43 -0400)]
Fix #10067. Create jQuery.quickReady; closes gh-736.
Allows us to get to the ready state sooner by not waiting for iframes to load. If that causes backcompat pain, use `jQuery.quickReady = false` as prescribed by your developer.
Corey Frang [Mon, 23 Apr 2012 19:05:12 +0000 (15:05 -0400)]
Effects: 1.8 Animation Rewrite - thanks @mikesherov and @gibson042
jaubourg [Sun, 22 Apr 2012 22:07:15 +0000 (00:07 +0200)]
Prevents tests for replaceInData to take place if replaceInUrl is already true.
jaubourg [Sun, 22 Apr 2012 21:55:34 +0000 (23:55 +0200)]
Merge branch '1.8-jsonp-optimize' of git://github.com/gibson042/jquery into pr749
jaubourg [Sun, 22 Apr 2012 21:49:16 +0000 (23:49 +0200)]
Fixes a minor spacing issue.
Richard Gibson [Sun, 22 Apr 2012 18:53:36 +0000 (14:53 -0400)]
remove redundant condition
Richard Gibson [Sun, 22 Apr 2012 15:40:02 +0000 (11:40 -0400)]
style adherence
Richard Gibson [Sun, 22 Apr 2012 15:36:44 +0000 (11:36 -0400)]
refactor jsonp.js for size and clarity
Mike Sherov [Fri, 20 Apr 2012 18:18:15 +0000 (14:18 -0400)]
define curCSS without temp vars to save 10 bytes
Timo Tijhof [Fri, 20 Apr 2012 14:55:07 +0000 (10:55 -0400)]
Enforce 20s timeout for all unit tests.
jaubourg [Fri, 20 Apr 2012 01:02:20 +0000 (03:02 +0200)]
Fixes #8205. Mitigates memory usage by recycling jsonp callback names the safest possible way (no kittens were harmed in the making of this). Doesn't even try to delete window properties (would necessitate a try/catch for IE which makes the cost in size prohibitive). Unit tests added.
Mike Sherov [Thu, 19 Apr 2012 14:43:26 +0000 (10:43 -0400)]
Remove unnec. else condition
Rick Waldron waldron.rick@gmail.com [Wed, 18 Apr 2012 21:00:44 +0000 (17:00 -0400)]
Update grunt version to >=0.3.9
Rick Waldron waldron.rick@gmail.com [Wed, 18 Apr 2012 20:07:35 +0000 (16:07 -0400)]
Initial grunt implementation
Dave Methvin [Wed, 18 Apr 2012 17:04:04 +0000 (13:04 -0400)]
Remove $("body") case; $(document.body) is 2x faster.
Oleg [Tue, 17 Apr 2012 01:57:41 +0000 (21:57 -0400)]
Fix #8894. Ensure `.appendTo` creates a new set in oldIE.
Rick Waldron [Mon, 16 Apr 2012 13:43:59 +0000 (09:43 -0400)]
Make test async to please Opera 11.1; supplements #11500
Rick Waldron [Mon, 16 Apr 2012 13:31:04 +0000 (06:31 -0700)]
Merge pull request #738 from rwldrn/fix-mangled-indents
Fix mangled indents
Rick Waldron waldron.rick@gmail.com [Mon, 16 Apr 2012 02:54:18 +0000 (22:54 -0400)]
More indent correction
Signed-off-by: Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
Rick Waldron waldron.rick@gmail.com [Mon, 16 Apr 2012 01:59:25 +0000 (21:59 -0400)]
Fixes mangled indents.
Signed-off-by: Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
Yehuda Katz [Sun, 15 Apr 2012 21:53:00 +0000 (17:53 -0400)]
Update sizzle rev
Yehuda Katz [Sun, 15 Apr 2012 21:52:48 +0000 (17:52 -0400)]
Fix some stragglers
Yehuda Katz [Sun, 15 Apr 2012 21:41:54 +0000 (17:41 -0400)]
Remove Ajax requirement for simple XML tests
Previously, all jQuery tests that wanted an XML
document would make an Ajax request to go through
jQuery's XML parsing logic in jQuery.ajax. Now,
use jQuery.parseXML instead.
This removes the need for the Ajax server for
these tests, improves their performance, and
decouples simple core tests from Ajax.
(with scottgonzalez)
Rick Waldron [Wed, 11 Apr 2012 16:00:42 +0000 (12:00 -0400)]
Amends #10324. Remove object markup fixture; create programmatically
Dave Methvin [Wed, 11 Apr 2012 02:30:26 +0000 (22:30 -0400)]
Followup on #10324. Eliminate duplicate name attribute.
Rick Waldron [Wed, 11 Apr 2012 01:54:07 +0000 (21:54 -0400)]
Fix #11500. Allow triggered, simulated change events.
Rick Waldron [Wed, 11 Apr 2012 01:38:11 +0000 (21:38 -0400)]
Fix #10324. IE9 fumbles the innerHTML on object elements.
Arne de Bree [Mon, 2 Apr 2012 22:37:02 +0000 (00:37 +0200)]
Fix 11547. XML and IE DOM can't be force-lowercase in removeAttr().
See discussion on pull request: https://github.com/jquery/jquery/pull/724
Mike Sherov [Tue, 10 Apr 2012 21:18:00 +0000 (17:18 -0400)]
Fix 11004. getWH() box-sizing:border-box includes padding and border.
Mike Sherov [Fri, 6 Apr 2012 12:39:59 +0000 (08:39 -0400)]
Fix #10413, #10679. Fix box-sizing:border-box and add css vendor prefix support.
Mike Sherov [Fri, 6 Apr 2012 01:51:27 +0000 (21:51 -0400)]
Fix #10996, simplify offset code by forsaking ancient browsers.
Mike Sherov [Sat, 10 Mar 2012 18:30:07 +0000 (13:30 -0500)]
Speed up .css() by eliminating the middleman.
Richard Gibson [Mon, 2 Apr 2012 17:12:57 +0000 (13:12 -0400)]
Fix #11543: .has should work on detached elements.
Oleg [Fri, 30 Mar 2012 15:56:11 +0000 (19:56 +0400)]
Fixes #11338, .replaceWith should work on detached nodes.
cmcnulty [Thu, 5 Apr 2012 16:12:38 +0000 (12:12 -0400)]
Fix 11528. Exclude link/html5 tags from innerHTML path on oldIE.
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.
Rick Waldron waldron.rick@gmail.com [Fri, 23 Mar 2012 15:31:53 +0000 (11:31 -0400)]
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>
Rick Waldron waldron.rick@gmail.com [Fri, 23 Mar 2012 15:31:05 +0000 (11:31 -0400)]
Failing test (http://gyazo.com/
0a7285e1d10039bc8ec8bc340fac15a9 .png)
Signed-off-by: Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
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.