Commit Graph

5703 Commits

Author SHA1 Message Date
Rick Waldron
3dccf62c81 Core: Remove special case try/catch in isPlainObject
Fixes #14746
2014-02-02 15:40:39 -05:00
jaubourg
01c360f963 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
2014-01-29 14:18:58 +01:00
Michał Gołębiowski
53e31f478e Build: Specify browserSets for TestSwarm directly 2014-01-27 22:01:15 +01:00
Michał Gołębiowski
b2eb7ec0f0 Support: Add iOS6 support tests results 2014-01-27 21:17:53 +01:00
Michał Gołębiowski
988d99ad27 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
2014-01-26 04:07:27 +01:00
Michał Gołębiowski
d41fc68d9b Build: Remove obsolete UglifyJS workaround 2014-01-26 04:02:20 +01:00
Michał Gołębiowski
d63243d085 Build: Upgrade npm devDependencies 2014-01-26 04:01:57 +01:00
Timmy Willison
4655c3de5f Updating the master version to 2.1.1pre. 2014-01-23 16:12:48 -05:00
Timmy Willison
de7702ac59 Release: Instantiate a zip archiver, run archivers async 2014-01-23 16:00:54 -05:00
Dave Methvin
a20494228d 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
2014-01-23 13:04:40 -05:00
Michał Gołębiowski
3f3f458974 Tests: fix Safari userAgent detection 2014-01-22 21:49:10 +01:00
Michał Gołębiowski
37d036a84c Support: Add expected support results for Safari 7 & IE11 2014-01-22 21:35:09 +01:00
Michał Gołębiowski
c11becbb69 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
2014-01-21 12:02:09 +01:00
Richard Gibson
391c21b15d Traversing: Check all pairwise element combinations for .find( els )
Ref b8d0d54a3c
Fixes #14701
2014-01-17 00:38:56 -05:00
Oleg
a2250b0f4c Tests: Fix code style issues 2014-01-16 07:04:14 +04:00
Oleg
659ac9c155 Tests: Add assertion for the jQuery#val method 2014-01-16 06:58:54 +04:00
Oleg
fdd78fad19 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.
2014-01-16 04:47:44 +04:00
Oleg
38c122a73a Tests: Remove one of the checks for memory leak
This check is redundant since jQuery.fragments object does not exist anymore
2014-01-14 22:01:39 +04:00
Timmy Willison
710d236ad1 Sizzle: update committed dependencies 2014-01-13 16:37:42 -05:00
Richard Gibson
9ac88dea49 Selector: Update Sizzle
Fixes #14657
2014-01-13 09:37:10 -05:00
Dave Methvin
478cf3783b Authors: Update AUTHORS.txt and .mailmap 2014-01-10 17:29:03 -05:00
Jörn Zaefferer
20ea8071b4 Release: Publish to npm
Closes gh-1479
2014-01-10 09:25:11 -05:00
Dave Methvin
6bff3bf7d7 Tests: Remove html5 shiv 2014-01-09 22:36:07 -05:00
Forbes Lindesay
6de1d973a4 Intro: Pass window to intro if available, for browserify
Closes gh-1476
2014-01-09 21:27:28 -05:00
Dave Methvin
3118f58c46 Build: Happy New Year! Thanks @marlonlandaverde 2014-01-09 20:51:21 -05:00
Dave Methvin
085814474e Effects: First step() call should match :animated selector
Fixes #14623
Closes gh-1473
2014-01-07 16:01:34 -05:00
Michał Gołębiowski
5801c3a29a Docs: Link to the browser support page in CONTRIBUTING.md
Instead of duplicating the supported browsers matrix, just link to
the browser support page on jquery.com.
2014-01-06 21:14:17 +01:00
Timmy Willison
4d19306c7f README: Add jQuery environment notes 2014-01-06 11:49:58 -08:00
Timmy Willison
7d758aca35 Update grunt-bowercopy to 0.5.0 2013-12-31 17:39:58 -05:00
Oleg
e1a4329d78 Doc: Update links and simplify build instructions 2013-12-31 23:38:34 +04:00
Timo Tijhof
b39ee05b69 traversing: Optimise .add by not using makeArray
Closes gh-1430
2013-12-30 12:34:08 -05:00
cjqed
537e9ced61 Tests: Avoid use of QUnit.reset() in tests by splitting them
Fix #14040
Close gh-1457
2013-12-23 17:21:22 -05:00
Timmy Willison
23db994404 Release script: _tracMilestone -> tracMilestone 2013-12-21 12:07:40 -05:00
Timmy Willison
e0fad093b6 exports/global: Do not attach global variables for most CommonJS environments
For CommonJS environments where the global already has a document, it is expected
that if a global is needed, the user can attach the global.

Fixes #14645.
2013-12-20 18:39:16 -05:00
Timmy Willison
281808f61d Gruntfile: fix watch task 2013-12-20 18:38:57 -05:00
Timmy Willison
74a48958bd Release script: minor formatting issue. 2013-12-20 17:37:38 -05:00
Timmy Willison
f3062f96e0 Release script: jquery-release integration 2013-12-20 17:25:03 -05:00
Timmy Willison
bae117445b Remove hyphen from pre versions
- It is intentionally invalid semver as pre versions should never be released
- UI and Mobile already do this
2013-12-20 17:25:03 -05:00
Timmy Willison
ed0f0e42df Update AUTHORS.txt using git log --format="%aN <%aE>" 2013-12-20 17:25:03 -05:00
Richard Gibson
29c8003347 Selector: update Sizzle
Fix #14584
2013-12-20 16:46:30 -05:00
Timmy Willison
7e8a91c205 Build: add build option for setting the AMD name.
Fixes #14016.
2013-12-19 15:31:36 -05:00
Timmy Willison
a6f474e699 Build: Add the ability to remove global exposure.
Ref #14016
2013-12-19 15:00:06 -05:00
Oleg
09ede3d33b Use the exact versions dependencies
And remove unused "which" package

Closes gh-1458
2013-12-19 08:34:49 +04:00
Dave Methvin
bb3fff9ac2 Offset: Fix comment typo, thanks @AurelioDeRosa 2013-12-18 20:50:53 -05:00
Dave Methvin
84190105c0 Readme: Fix typo, thanks @tcort 2013-12-18 20:44:32 -05:00
Michał Gołębiowski
7deee6af72 Build: Upgrade to grunt-contrib-jshint 0.7.1 and squash subtasks
grunt-contrib-jshint 0.7.1 allows the jshintrc option to be set to true to have
it read the appropriate config file based on the file being checked. The only
place where we can’t use it is the check for dist/jquery.js that has the onevar
option removed.

Fixes #14504
2013-12-18 15:24:29 +01:00
Michał Gołębiowski
2d73150511 Build: Use absolute paths in .gitignore and .npmignore.
.gitignore/.npmignore treat all its paths as relative to *every*
directory in the repository. In most cases that’s not what’s desired.
2013-12-18 15:16:21 +01:00
Michał Gołębiowski
fd0bce0758 Ajax: don’t test jQuery.ajax() on beforeunload in Chrome 31
Chrome 31 doesn't fire Ajax requests in beforeunload event handler.
There is no way for us to workaround it and it's been fixed in Chrome 32
so let's just blacklist Chrome 31 as long as it's in TestSwarm.
See https://code.google.com/p/chromium/issues/detail?id=321241
2013-12-18 15:10:42 +01:00
Scott González
846771081c CONTRIBUTING: Fixed link to style guide 2013-12-17 09:18:54 -05:00
Chris Antaki
b8d0d54a3c Reduce size by reordering variable declarations
Close gh-1421
2013-12-16 12:48:46 -05:00