]>
source.dussan.org Git - jquery.git/log
timmywil [Tue, 29 May 2012 19:13:53 +0000 (15:13 -0400)]
Update Sizzle: only one assertion is needed for getElementsByClassName
timmywil [Tue, 29 May 2012 18:58:34 +0000 (14:58 -0400)]
Update Sizzle
timmywil [Tue, 29 May 2012 18:57:37 +0000 (15:57 -0300)]
Update README: IDs are without hashes in t()
timmywil [Tue, 29 May 2012 17:25:02 +0000 (14:25 -0300)]
Update README to stylize docs on jQuery's test suite methods
timmywil [Tue, 29 May 2012 16:40:13 +0000 (12:40 -0400)]
Add quick-start documentation for testing with QUnit and using jQuery's helper methods.
Ben Alman [Tue, 29 May 2012 16:04:27 +0000 (12:04 -0400)]
jQuery#addBack supports an optional selector that can be used to filter the prior set before adding it back. Fixes #9800
Richard Gibson [Tue, 29 May 2012 02:25:04 +0000 (22:25 -0400)]
Fix #11767. Modularize build and unit tests for exluding effects.
Closes gh-785. To build a version of jQuery without effects, use `grunt build:*:*:-effects`. The unit tests feature-check for the interfaces and skip the unit tests for effects if they don't detect it.
Rick Waldron [Tue, 29 May 2012 02:20:37 +0000 (22:20 -0400)]
Adds back dist/.sizecache.json; maintain build/.sizecache.json until build dir is removed
timmywil [Tue, 29 May 2012 01:39:31 +0000 (21:39 -0400)]
Add .sizecache.json to the gitignore
timmywil [Mon, 28 May 2012 23:33:00 +0000 (19:33 -0400)]
Update Sizzle: Case insensitive text filter. Fixes #8943
timmywil [Mon, 28 May 2012 23:16:23 +0000 (19:16 -0400)]
Revert QUnit to a stable release (v1.6.0)
timmywil [Mon, 28 May 2012 22:32:00 +0000 (18:32 -0400)]
Update Sizzle: Add test for [selected] attribute selections. Addresses a small issue in IE8's boolean attribute selections with QSA.
Oleg [Mon, 28 May 2012 05:49:47 +0000 (09:49 +0400)]
Followup gh-796. Eliminate try-catch in oldIE, closes gh-799.
timmywil [Mon, 28 May 2012 20:04:45 +0000 (16:04 -0400)]
Update Sizzle: Fixes a fail in traversing and one in ajax.
timmywil [Mon, 28 May 2012 18:35:01 +0000 (14:35 -0400)]
Move length tests to jQuery's selector tests as it relates to jQuery.merge.
timmywil [Mon, 28 May 2012 17:10:36 +0000 (13:10 -0400)]
Update Sizzle: independent XML testing
timmywil [Mon, 28 May 2012 16:43:41 +0000 (12:43 -0400)]
Minor test suite adjustments
timmywil [Mon, 28 May 2012 16:43:16 +0000 (12:43 -0400)]
Update QUnit
timmywil [Mon, 28 May 2012 16:18:40 +0000 (12:18 -0400)]
Update Sizzle and add tests from the Sizzle suite that require jQuery for the selection to jquery/test/unit/selector.js
Oleg [Sun, 27 May 2012 16:37:35 +0000 (12:37 -0400)]
Fix #11823. Remove webkitConvertPointFromNodeToPage. Closes gh-796.
Richard Gibson [Fri, 25 May 2012 01:52:35 +0000 (21:52 -0400)]
Apply a GibsonTransform(-55) to the #10877 fix. Closes gh-788.
Mike Sherov [Fri, 25 May 2012 01:39:31 +0000 (21:39 -0400)]
Fix #11311. Percents not pixels for top/left/bottom/right. Closes gh-793.
Mike Sherov [Thu, 24 May 2012 12:46:38 +0000 (08:46 -0400)]
Fix #11443 fix. Safari 5.0.x, reliable margin? Riiight. Closes gh-792.
Corey Frang [Wed, 23 May 2012 03:04:45 +0000 (23:04 -0400)]
Optimizations to animation queue/promise logic, closes gh-776.
Oleg [Wed, 23 May 2012 02:36:55 +0000 (22:36 -0400)]
Fix #11755. Avoid :hidden selector for animations. Closes gh-774.
Jason Moon [Mon, 21 May 2012 23:01:59 +0000 (18:01 -0500)]
Fix #11796. Preserve oldIE change delegation on clone. Closes gh-789.
Rick Waldron [Tue, 22 May 2012 21:25:46 +0000 (14:25 -0700)]
Update version to 1.8pre
Mike Sherov [Tue, 22 May 2012 14:11:47 +0000 (10:11 -0400)]
Fix #11443 #11441, shut up Chrome 19 and Safari 5.0.x. Closes gh-790.
checkClone and appendChecked test failures in Chrome 19; reliableMarginRight failures in Safari 5.
Mike Sherov [Mon, 21 May 2012 17:44:19 +0000 (13:44 -0400)]
Fix #10877. Make outerWidth/Height a setter. Closes gh-783.
Dave Methvin [Fri, 18 May 2012 21:01:17 +0000 (17:01 -0400)]
Followup #11649, clean up events in unit test.
Jason Moon [Fri, 18 May 2012 20:30:28 +0000 (16:30 -0400)]
Fix #11649. Preserve oldIE submit flag when cloning, closes gh-772.
Corey Frang [Fri, 18 May 2012 17:48:24 +0000 (13:48 -0400)]
Fix #7157. Animation callbacks shouldn't see an element as :animated.
Unless of course, there are other animations to be done! Closes gh-775.
Trey Hunner [Fri, 18 May 2012 17:28:50 +0000 (13:28 -0400)]
Fix indentation in /speed and /test dirs, closes gh-780.
Trey Hunner [Fri, 18 May 2012 17:24:48 +0000 (13:24 -0400)]
Fix #11777. Add EditorConfig support, closes gh-715.
Dave Methvin [Fri, 18 May 2012 17:15:21 +0000 (13:15 -0400)]
Update to QUnit 1.6.0
Mike Sherov [Fri, 18 May 2012 16:40:10 +0000 (12:40 -0400)]
Inline the boxModel test, and correct unit test. Closes gh-781.
Jörn Zaefferer [Fri, 18 May 2012 12:47:04 +0000 (14:47 +0200)]
Grunt: Increase TestSwarm timeout to 30 minutes
jaubourg [Wed, 16 May 2012 21:43:16 +0000 (23:43 +0200)]
When IE6 & IE7 serve from the cache in async mode, resolves the request asynchronously. Fixes #11778.
Dave Methvin [Wed, 16 May 2012 18:03:59 +0000 (14:03 -0400)]
Merge branch 'master' of github.com:jquery/jquery
jaubourg [Wed, 16 May 2012 14:08:50 +0000 (16:08 +0200)]
Makes sure child element doesn't prevent setting height to 0. Fixes failure in unit test in IE6.
Mike Sherov [Tue, 15 May 2012 01:02:42 +0000 (21:02 -0400)]
Fix #11721. Remove jQuery.boxModel, deprecate jQuery.support.boxModel.
This removes all internal uses of `jQuery.support.boxModel`. jQuery has never run unit tests with Quirks Mode and has not even feigned support for several years, so these remnants weren't doing much except giving false hope.
For now, `jQuery.support.boxModel` continues to have a value indicating whether the W3C box model is *generally* in use, but be aware that this is easily overridden on an element-by-element basis by the `box-model` CSS property. So don't trust this value.
Dave Methvin [Wed, 16 May 2012 03:14:13 +0000 (23:14 -0400)]
Rename .andSelf to .addBack, deprecate .andSelf #9800
Matt Farmer [Mon, 14 May 2012 18:12:14 +0000 (14:12 -0400)]
Fix #6724, though the Mobile Safari wound remains. Closes gh-764.
jaubourg [Sat, 12 May 2012 21:26:39 +0000 (23:26 +0200)]
Fixes #10285 (for real this time).
jaubourg [Sat, 12 May 2012 19:41:39 +0000 (21:41 +0200)]
Preserves context objects when multiple Deferreds are passed to $.when(). Context is an array containing the original contexts in order. When non-observable value is given, associated context is undefined. In case only a single non-observable value is given, context is the global object (thanks so much Function.prototype.apply!). Fixes #11749.
Dave Methvin [Sat, 12 May 2012 17:38:33 +0000 (13:38 -0400)]
Fix #11621, $(document).trigger() must bubble to window.
Corey Frang [Fri, 11 May 2012 20:32:50 +0000 (15:32 -0500)]
Fixes #8892: Adding unit test for #8892 - Actually fixed in
58ed62e
Richard Gibson [Fri, 11 May 2012 20:20:32 +0000 (16:20 -0400)]
Scalarize [value, easing] before css-expanding; closes gh-750.
Dave Methvin [Fri, 11 May 2012 19:11:13 +0000 (15:11 -0400)]
Fix #11738. Remove deprecated .closest(Array) => Array.
Dave Methvin [Fri, 11 May 2012 03:45:14 +0000 (23:45 -0400)]
Fix #11736. Remove deprecated Deferred.isResolved/isRejected.
Jörn Zaefferer [Wed, 9 May 2012 07:34:00 +0000 (09:34 +0200)]
Grunt: Add qunit target. Currently finishes with 33/5510 assertions failing. If that can be made to pass, it should be added to the default task
Rick Waldron [Mon, 7 May 2012 20:49:23 +0000 (16:49 -0400)]
Use a do-while statement to reduce redundant code
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Rick Waldron [Mon, 7 May 2012 20:45:22 +0000 (16:45 -0400)]
Fixes lint issues.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Rick Waldron [Mon, 7 May 2012 20:38:55 +0000 (16:38 -0400)]
Additional reduction per @Raynos suggestion. Thanks!
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Rick Waldron [Mon, 7 May 2012 20:05:05 +0000 (16:05 -0400)]
Further reduce historical cruft. Removes the untested and unnec. jQuery.nth()
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Rick Waldron [Mon, 7 May 2012 19:50:04 +0000 (15:50 -0400)]
Merge branch 'bug11720-nth-argument' of https://github.com/sindresorhus/jquery into 1.8pre
* 'bug11720-nth-argument' of https://github.com/sindresorhus/jquery:
Remove unnecessary arguments from .nth(). Fixes #11720
Sindre Sorhus [Mon, 7 May 2012 17:59:11 +0000 (19:59 +0200)]
Remove unnecessary arguments from .nth(). Fixes #11720
Also use postfix increment to make it a little clearer.
Timo Tijhof [Mon, 7 May 2012 17:43:43 +0000 (19:43 +0200)]
grunt.js testswarm task: shorten job name
jaubourg [Mon, 7 May 2012 17:14:00 +0000 (19:14 +0200)]
@mikesherov said: no need for an else if!
Jörn Zaefferer [Mon, 7 May 2012 10:13:08 +0000 (12:13 +0200)]
Grunt: Fix testswarm username
Jörn Zaefferer [Mon, 7 May 2012 10:06:12 +0000 (12:06 +0200)]
Grunt: Add testswarm task
Timo Tijhof [Wed, 2 May 2012 01:12:55 +0000 (03:12 +0200)]
Update qunit submodule from 1.3.0pre to 1.6.0pre, close gh-761
- See also: https://github.com/jquery/qunit/blob/master/History.md
Scott González [Fri, 4 May 2012 17:55:23 +0000 (13:55 -0400)]
Simplify jQuery( html, props ), closes gh-765.
jaubourg [Sat, 5 May 2012 23:27:01 +0000 (01:27 +0200)]
Fixes #11402. domManip now also removes the closing part of HTML comments or CDATA surrounding executed scripts. Unit tests added.
jaubourg [Sat, 5 May 2012 23:05:03 +0000 (01:05 +0200)]
Transform $.bindReady into $.ready.promise. It is now possible to use $.ready.promise or $.when( $.ready ) to get the ready promise. Costs *1* byte min/gzipped. Unit test added.
Mike Sherov [Fri, 4 May 2012 17:31:35 +0000 (13:31 -0400)]
reduce complexity of ready further, and try manipulating DOM to make sure we're really ready
Mike Sherov [Fri, 4 May 2012 13:57:32 +0000 (09:57 -0400)]
remove jQuery.quickReady, save bytes, style nits in tests
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.