]>
source.dussan.org Git - jquery.git/log
Oleg Gaidarenko [Tue, 15 Apr 2014 14:08:18 +0000 (18:08 +0400)]
Build: Update jscsrc
* Update "grunt-jscs-checker" package
* Use ".jscsrc" file instead of old ".jscs.json"
* Use jquery preset instead of explicitly defining all the jscs rules
Oleg Gaidarenko [Tue, 15 Apr 2014 14:06:18 +0000 (18:06 +0400)]
Build: Fix code style issue
Remove needless empty line character
Oleg Gaidarenko [Fri, 4 Apr 2014 18:31:38 +0000 (22:31 +0400)]
Tests: Fix failing ajax tests in oldIE
(cherry-picked from the
71780965072b1271018f2cf360e82fbe31f4987e )
Picked up so tests from the 1.x-master would be more similar to this branch
Oleg Gaidarenko [Sat, 5 Apr 2014 14:23:03 +0000 (18:23 +0400)]
Tests: Bring back some of the clean-up logic
Oleg Gaidarenko [Wed, 26 Feb 2014 23:33:15 +0000 (03:33 +0400)]
Tests: Remove unused variables
Oleg Gaidarenko [Wed, 26 Feb 2014 23:32:02 +0000 (03:32 +0400)]
Tests: Copy some Sizzle combinators tests
Oleg Gaidarenko [Wed, 26 Feb 2014 23:23:10 +0000 (03:23 +0400)]
Tests: Add more tests for Sizzle attributes
Oleg Gaidarenko [Wed, 26 Feb 2014 23:13:26 +0000 (03:13 +0400)]
Tests: Add test for selectors with commas
Oleg Gaidarenko [Wed, 26 Feb 2014 23:01:48 +0000 (03:01 +0400)]
Tests: Copy Sizzle.uniqueSort tests
Oleg Gaidarenko [Wed, 26 Feb 2014 23:01:07 +0000 (03:01 +0400)]
Tests: Copy Sizzle.contains tests
Oleg Gaidarenko [Mon, 24 Feb 2014 18:05:16 +0000 (22:05 +0400)]
Tests: Move some of the Sizzle tests to selector
Oleg Gaidarenko [Tue, 18 Feb 2014 17:52:48 +0000 (21:52 +0400)]
Tests: Do global clean up in teardown function
Oleg Gaidarenko [Tue, 18 Feb 2014 17:50:42 +0000 (21:50 +0400)]
Tests: Improve jsonp tests
Since global variable for callback always would be equal to undefined value
it better to check for boolean instead
Oleg Gaidarenko [Tue, 18 Feb 2014 17:46:00 +0000 (21:46 +0400)]
Tests: Correct logic of a broken assertion
Oleg Gaidarenko [Tue, 18 Feb 2014 16:34:49 +0000 (20:34 +0400)]
Build: Add lint task
Oleg Gaidarenko [Tue, 18 Feb 2014 16:32:17 +0000 (20:32 +0400)]
Build: Use jscs to check test helpers
Also fix issues found by jscs
Oleg Gaidarenko [Tue, 18 Feb 2014 16:13:48 +0000 (20:13 +0400)]
Tests: More improvments for testrunner
Conform to style guide and simplify it
Oleg Gaidarenko [Tue, 18 Feb 2014 15:49:24 +0000 (19:49 +0400)]
Tests: Remove Sizzle intergration tests
Fixes #14818
Oleg Gaidarenko [Mon, 27 Jan 2014 19:43:27 +0000 (23:43 +0400)]
Tests: Simplify globals cleanup
Oleg Gaidarenko [Mon, 27 Jan 2014 19:32:46 +0000 (23:32 +0400)]
Tests: Remove QUnit start hook
Oleg Gaidarenko [Mon, 27 Jan 2014 19:27:32 +0000 (23:27 +0400)]
Tests: Remove uselss "keys" helper
Oleg Gaidarenko [Mon, 27 Jan 2014 19:26:27 +0000 (23:26 +0400)]
Tests: Simplify "testTimeout" option
Michał Gołębiowski [Tue, 15 Apr 2014 09:47:52 +0000 (11:47 +0200)]
Build: set default testswarm timeout to 15 minutes
We're not testing on IE6-7 anymore.
Michał Gołębiowski [Tue, 15 Apr 2014 09:34:02 +0000 (11:34 +0200)]
Build: use browserSets from config file; allow to override
Michał Gołębiowski [Fri, 4 Apr 2014 09:38:15 +0000 (11:38 +0200)]
Build: change .gitattributes; use system line ends for non-JS files
Michał Gołębiowski [Mon, 31 Mar 2014 21:05:49 +0000 (23:05 +0200)]
Support: Add Android support tests results
Scott González [Tue, 18 Mar 2014 15:48:21 +0000 (11:48 -0400)]
Build: Update release script for new jquery-release API
Closes gh-1544
Philip Jägenstedt [Fri, 21 Feb 2014 18:43:51 +0000 (01:43 +0700)]
Selector: Use Element.matches in selector-native if available
Spec:
http://dom.spec.whatwg.org/#dom-element-matches
Support in Chromium:
https://code.google.com/p/chromium/issues/detail?id=326652
Fixes #14902
Closes gh-1524
Michał Gołębiowski [Tue, 18 Mar 2014 21:38:08 +0000 (22:38 +0100)]
Event: Fix isDefaultPrevented for bubbled events in Android 2.3
Fixes #14897
Closes gh-1545
Richard Gibson [Thu, 20 Mar 2014 07:39:36 +0000 (03:39 -0400)]
Effects: Don't overwrite display:none when .hide()ing hidden elements
Fixes #14848
Closes gh-1548
Oleg Gaidarenko [Wed, 5 Feb 2014 05:54:15 +0000 (09:54 +0400)]
CSS: jQuery#hide should always save display value
Fixes #14750
Closes gh-1509
Jonathan Sampson [Tue, 11 Mar 2014 07:44:34 +0000 (03:44 -0400)]
Manipulation: Change support test to be WWA-friendly
Setting the innerHTML property in an unsafe manner raises issues in
Windows Web Applications. Strings being passed into innerHTML cannot
include the name attribute.
Closes gh-1537
John Hoven [Thu, 6 Mar 2014 19:56:09 +0000 (13:56 -0600)]
Attributes: Trim whitespace from option text when returned as a value
Fixes #14858
Ref #14686
Closes gh-1531
(cherry picked from commit
9ec429cf6270e455aba4eba85f4db80e633806b6 )
Conflicts:
src/attributes/val.js
Rodrigo Rosenfeld Rosas [Tue, 28 Jan 2014 17:19:25 +0000 (15:19 -0200)]
CSS: window.getDefaultComputedStyle may return null
Fixes #14736
Closes gh-1501
(cherry picked from commit
51910ba8a5aff4cd1a811f1fdb76a6c62a09a666 )
Benjy Cui [Tue, 18 Mar 2014 09:15:58 +0000 (17:15 +0800)]
Core: Fix comments for .get() method
Closes gh-1547
Dave Methvin [Thu, 20 Mar 2014 13:00:22 +0000 (09:00 -0400)]
Tests: Remove obsolete speed directory
Closes gh-1551
Jörn Zaefferer [Fri, 21 Feb 2014 11:53:36 +0000 (12:53 +0100)]
Build: Add commitplease for commit msg checking
Closes gh-1523
Jörn Zaefferer [Fri, 21 Feb 2014 11:53:00 +0000 (12:53 +0100)]
Package: Sort devDependencies
Michał Gołębiowski [Wed, 19 Mar 2014 01:29:04 +0000 (02:29 +0100)]
Core: Change the sleep time in dont_return.php from 100s to 30s
Half a minute is more than enough for the test to finish even in the slowest
browsers and in case of starving the PHP FPM process pool, one has to wait
for only half a minute to try again.
Michał Gołębiowski [Tue, 18 Mar 2014 19:59:33 +0000 (20:59 +0100)]
Event: Simplify the logic behind blacklisting Android 2.3 on one test
Michał Gołębiowski [Tue, 18 Mar 2014 19:55:50 +0000 (20:55 +0100)]
Event: Don't test stopImmediatePropagation in Android 2.3
Android 2.3 doesn't support stopImmediatePropagation; jQuery fallbacks
to stopPropagation in such a case.
Michał Gołębiowski [Tue, 18 Mar 2014 15:50:04 +0000 (16:50 +0100)]
Core: Change the sleep time in dont_return.php to a sane value
PHP sleep function accepts time in seconds, not milliseconds; the previous
value was starving the PHP FPM process pool.
Michał Gołębiowski [Tue, 18 Mar 2014 10:55:06 +0000 (11:55 +0100)]
Build: Change the timeout for the weekly job from 4h to 1h
Michał Gołębiowski [Mon, 17 Mar 2014 17:13:00 +0000 (18:13 +0100)]
Core: Blacklist the ready test on async-loaded jQuery in iOS7
Fixes #14882
Dave Methvin [Sun, 16 Mar 2014 14:46:57 +0000 (10:46 -0400)]
Event: Unit test for #14741 fix
Fixes #14741
Closes gh-1503
louisremi [Thu, 30 Jan 2014 15:07:06 +0000 (16:07 +0100)]
Event: Treat Pointer events like mouse events, #14741
Ref #14741
Ref gh-1503
Dave Methvin [Thu, 13 Mar 2014 18:16:52 +0000 (11:16 -0700)]
Readme: Fix subsection titles and grammar, thanks @robgraeber
Fixes gh-1540
Michał Gołębiowski [Sun, 16 Mar 2014 03:09:12 +0000 (04:09 +0100)]
Build: Refactor testswarm Grunt task options
Add a possibility to specify the project name. Infer browserSets & timeout
out of it instead of defining it in the Jenkins configuration.
Roman Rei_ [Mon, 10 Mar 2014 18:30:22 +0000 (19:30 +0100)]
CSS: Add flex-grow and flex-shrink to cssNumber
Fixes #14888
Closes gh-1536
Leonardo Balter [Wed, 22 Jan 2014 03:47:54 +0000 (01:47 -0200)]
Readme: updating QUnit information
updates QUnit reference site and method naming.
Closes gh-1493
S. Andrew Sheppard [Thu, 9 Jan 2014 21:27:18 +0000 (15:27 -0600)]
AMD: Note on AMD best practices
Fixes #14687
Closes gh-1478
Michał Gołębiowski [Thu, 13 Mar 2014 02:26:27 +0000 (03:26 +0100)]
Core: Bump timeouts to stabilize doc ready test
The "document ready when jQuery loaded asynchronously" test fails all the time
in iOS7 and sometimes in other browsers. Bumping the timeouts *might* help
these other browsers to be less flakey here.
Dave Methvin [Thu, 6 Mar 2014 03:46:23 +0000 (22:46 -0500)]
Event: Call underlying stopImmediatePropagation when present
Fixes #13997
Michał Gołębiowski [Thu, 13 Mar 2014 00:46:18 +0000 (01:46 +0100)]
Support: Make the support matrix for iOS 6 match iOS 7 as well
Jörn Zaefferer [Wed, 12 Mar 2014 10:08:16 +0000 (11:08 +0100)]
Build: Fix testswarm task, use API correctly
Michał Gołębiowski [Tue, 11 Mar 2014 20:12:39 +0000 (21:12 +0100)]
Build: Allow to specify timeout in the testswarm task
Michał Gołębiowski [Mon, 10 Mar 2014 19:37:11 +0000 (20:37 +0100)]
Build: Make it possible to change browserSets in the testswarm task
Michał Gołębiowski [Mon, 10 Mar 2014 18:53:50 +0000 (19:53 +0100)]
Css: Fix tests
It's not easy to find a CSS property that is implemented even in
ancient browsers and that returns a consistent result among browsers
when passed through .css(). color didn't work since Firefox normalizes
it an empty value to rgb(0, 0, 0).
Michał Gołębiowski [Sun, 9 Mar 2014 23:59:14 +0000 (00:59 +0100)]
Css: Revert
24e587929f62428e1959b10aace6dc4fd65ab397
The workaround to be able to change !important styles broke the browser
keeping the old CSS value if the new one was rejected. Patching it would
involve a significant perf hit (~33%) so the initial patch needs to be
reverted instead.
Tests by m_gol & gibson042.
Fixes #14836
Closes gh-1532
Michał Gołębiowski [Mon, 10 Mar 2014 13:56:42 +0000 (14:56 +0100)]
Ajax, Effects: Disable Chrome 31 workarounds
Michał Gołębiowski [Sun, 9 Mar 2014 22:31:59 +0000 (23:31 +0100)]
Manipulation: don't use Object.keys for consistency
Fixes #14659
Timmy Willison [Fri, 7 Mar 2014 14:55:26 +0000 (09:55 -0500)]
Build: Fix AMD option for custom builds
Fixes #14859
Dave Methvin [Tue, 4 Mar 2014 03:04:23 +0000 (22:04 -0500)]
Core: Do not run window.onready when ready
Fixes #14802
Dave Methvin [Tue, 4 Mar 2014 01:55:30 +0000 (20:55 -0500)]
CSS: Return values should be numbers
Fixes #14792
Dave Methvin [Tue, 4 Mar 2014 03:43:51 +0000 (22:43 -0500)]
Event: Allow triggerHandler(beforeunload)
Fixes #14791
Dave Methvin [Tue, 4 Mar 2014 02:37:56 +0000 (21:37 -0500)]
Ajax: .load() should trim its selector
Fixes #14773
Dave Methvin [Tue, 4 Mar 2014 03:18:50 +0000 (22:18 -0500)]
Core: Arrays like [42] should fail .isNumeric()
Fixes #14179
Michał Gołębiowski [Tue, 4 Mar 2014 22:08:35 +0000 (23:08 +0100)]
Core: Remove native String#trim usage to save size
Fixes #14794
Timmy Willison [Wed, 19 Feb 2014 22:57:34 +0000 (17:57 -0500)]
Bower: stop ignoring yourself, bower
Ref #14798
Ref gh-1516
Ref gh-1338
Timmy Willison [Wed, 19 Feb 2014 22:25:00 +0000 (17:25 -0500)]
Bower: add main property, move Sizzle to devDependencies, add license property
Fixes #14798
Close gh-1516
Ref gh-1338
Richard Gibson [Fri, 14 Feb 2014 15:05:47 +0000 (07:05 -0800)]
Richard Gibson [Fri, 14 Feb 2014 14:22:44 +0000 (06:22 -0800)]
Support: Skip style-based tests when element.style is undefined
Fixes #14785
Ref #13754
Ref
badcd1b6f301e6253405f17759c1270549a34e12
Michał Gołębiowski [Fri, 14 Feb 2014 00:12:06 +0000 (16:12 -0800)]
Effects: Don't check fill-opacity in Android 2.3, it's not supported
Michał Gołębiowski [Fri, 14 Feb 2014 00:00:30 +0000 (16:00 -0800)]
Event: Blacklist the onbeforeunload test in Android 2.3
Similarly to iOS, Android 2.3 has the onbeforeunload property on window
but doesn't support the event. This commit blacklists the test there as well.
Michał Gołębiowski [Thu, 13 Feb 2014 23:57:27 +0000 (15:57 -0800)]
Css: Don't check fill-opacity in Android 2.3, it's not supported
Michał Gołębiowski [Thu, 13 Feb 2014 22:48:58 +0000 (14:48 -0800)]
Core: Fix trim in Android<4.1
Rick Waldron [Tue, 11 Feb 2014 18:59:14 +0000 (10:59 -0800)]
Tests: remove all the empty line whitespace
Michał Gołębiowski [Wed, 5 Feb 2014 14:57:11 +0000 (15:57 +0100)]
Support: Document box-sizing was unprefixed in Firefox 29
Michał Gołębiowski [Wed, 5 Feb 2014 14:54:23 +0000 (15:54 +0100)]
Docs: Change raises to throws in README test assertions
Michał Gołębiowski [Sun, 2 Feb 2014 21:44:13 +0000 (22:44 +0100)]
Build: Upgrade QUnit to 1.14.0
Michał Gołębiowski [Wed, 5 Feb 2014 14:10:22 +0000 (15:10 +0100)]
Selector: update Sizzle
Oleg [Wed, 5 Feb 2014 06:23:49 +0000 (10:23 +0400)]
Attrs: Simplify an option hook
Since getter was removed in
fdd78fad19ea3390cd96971cd29430e36378d137
there is no longer a need to wrap option element in order to get its value
Fixes #14756
Michał Gołębiowski [Sun, 2 Feb 2014 21:17:23 +0000 (22:17 +0100)]
Build: Switch to explicit dependencies versions in bower.json
Rick Waldron [Sun, 2 Feb 2014 20:36:14 +0000 (15:36 -0500)]
Core: Remove special case try/catch in isPlainObject
Fixes #14746
jaubourg [Sat, 25 Jan 2014 07:20:18 +0000 (08:20 +0100)]
Ajax: Protect against exceptions thrown synchronously by xhr.send
When xhr.send throws an exception synchronously, the onerror handler may have
been called already which, unchecked, makes the exception bubble up outside of
jQuery.ajax.
We now catch the exception pre-emptively and only rethrow if we know it hasn't
already been notified through the onerror handler.
Fixes #14683
Michał Gołębiowski [Mon, 27 Jan 2014 21:01:15 +0000 (22:01 +0100)]
Build: Specify browserSets for TestSwarm directly
Michał Gołębiowski [Mon, 27 Jan 2014 19:16:06 +0000 (20:16 +0100)]
Support: Add iOS6 support tests results
Michał Gołębiowski [Thu, 23 Jan 2014 04:43:58 +0000 (05:43 +0100)]
Tests: Blacklist beforeunload test in iOS
iOS has the window.onbeforeunload field but doesn't support the beforeunload
handler making it impossible to feature-detect the support.
Fixes #14717
Closes gh-1496
Michał Gołębiowski [Sun, 26 Jan 2014 03:02:20 +0000 (04:02 +0100)]
Build: Remove obsolete UglifyJS workaround
Michał Gołębiowski [Sun, 26 Jan 2014 03:01:57 +0000 (04:01 +0100)]
Build: Upgrade npm devDependencies
Timmy Willison [Thu, 23 Jan 2014 21:12:48 +0000 (16:12 -0500)]
Updating the master version to 2.1.1pre.
Timmy Willison [Thu, 23 Jan 2014 20:45:23 +0000 (15:45 -0500)]
Release: Instantiate a zip archiver, run archivers async
Dave Methvin [Wed, 22 Jan 2014 22:50:36 +0000 (14:50 -0800)]
Manipulation: Use textarea for missing IE defaultValue check
IE11 fixed the checkbox defaultValue issue but not textarea. Rather than
creating a new detect name I'm reusing the old one to protect anyone who
is unwisely using this externally. Re-fixing the defaultValue when it
doesn't need to be done is not a problem, so leave that code for IE11.
Fixes #14716
Closes gh-1495
Michał Gołębiowski [Wed, 22 Jan 2014 20:49:10 +0000 (21:49 +0100)]
Tests: fix Safari userAgent detection
Michał Gołębiowski [Wed, 22 Jan 2014 20:35:09 +0000 (21:35 +0100)]
Support: Add expected support results for Safari 7 & IE11
Michał Gołębiowski [Tue, 21 Jan 2014 11:02:09 +0000 (12:02 +0100)]
Tests: Blacklist one effects test in Chrome 31
Chrome 31 reports incorrect offsetWidth on a table cell with fixed width.
This is fixed in Chrome 32 so let’s just skip the failing test in Chrome 31.
See https://code.google.com/p/chromium/issues/detail?id=290399
Richard Gibson [Fri, 17 Jan 2014 05:38:56 +0000 (00:38 -0500)]
Traversing: Check all pairwise element combinations for .find( els )
Ref
b8d0d54a3c4960794a1b492957abeb56eddd1e48
Fixes #14701
Oleg [Thu, 16 Jan 2014 03:04:14 +0000 (07:04 +0400)]
Tests: Fix code style issues
Oleg [Thu, 16 Jan 2014 02:58:54 +0000 (06:58 +0400)]
Tests: Add assertion for the jQuery#val method
Oleg [Sun, 12 Jan 2014 19:44:07 +0000 (23:44 +0400)]
Attrs: Remove outdated valHook for option element
This hook was relevant for BlackBerry 4.7 which is no longer supported.
But this code path now raises error in IE10-11 (#14686) in 1.x-master branch.
So to just to be safe, also add test for IE issue to this branch too.