]>
source.dussan.org Git - jquery.git/log
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.
Oleg [Tue, 14 Jan 2014 17:48:42 +0000 (21:48 +0400)]
Tests: Remove one of the checks for memory leak
This check is redundant since jQuery.fragments object does not exist anymore
Timmy Willison [Mon, 13 Jan 2014 21:37:42 +0000 (16:37 -0500)]
Sizzle: update committed dependencies
Richard Gibson [Mon, 13 Jan 2014 14:37:10 +0000 (09:37 -0500)]
Selector: Update Sizzle
Fixes #14657
Dave Methvin [Fri, 10 Jan 2014 22:29:03 +0000 (17:29 -0500)]
Authors: Update AUTHORS.txt and .mailmap
Jörn Zaefferer [Fri, 10 Jan 2014 12:45:01 +0000 (13:45 +0100)]
Release: Publish to npm
Closes gh-1479
Dave Methvin [Fri, 10 Jan 2014 03:36:07 +0000 (22:36 -0500)]
Tests: Remove html5 shiv
Forbes Lindesay [Wed, 8 Jan 2014 13:44:10 +0000 (13:44 +0000)]
Intro: Pass window to intro if available, for browserify
Closes gh-1476
Dave Methvin [Fri, 10 Jan 2014 01:51:21 +0000 (20:51 -0500)]
Build: Happy New Year! Thanks @marlonlandaverde
Dave Methvin [Tue, 24 Dec 2013 20:59:37 +0000 (15:59 -0500)]
Effects: First step() call should match :animated selector
Fixes #14623
Closes gh-1473
Michał Gołębiowski [Mon, 6 Jan 2014 20:04:20 +0000 (21:04 +0100)]
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.
Timmy Willison [Mon, 6 Jan 2014 19:49:58 +0000 (11:49 -0800)]
README: Add jQuery environment notes
Timmy Willison [Tue, 31 Dec 2013 22:39:58 +0000 (17:39 -0500)]
Update grunt-bowercopy to 0.5.0
Oleg [Tue, 31 Dec 2013 19:38:34 +0000 (23:38 +0400)]
Doc: Update links and simplify build instructions
Timo Tijhof [Sat, 14 Dec 2013 01:10:46 +0000 (02:10 +0100)]
traversing: Optimise .add by not using makeArray
Closes gh-1430
cjqed [Wed, 11 Dec 2013 16:34:05 +0000 (11:34 -0500)]
Tests: Avoid use of QUnit.reset() in tests by splitting them
Fix #14040
Close gh-1457
Timmy Willison [Sat, 21 Dec 2013 17:07:40 +0000 (12:07 -0500)]
Release script: _tracMilestone -> tracMilestone
Timmy Willison [Fri, 20 Dec 2013 23:39:16 +0000 (18:39 -0500)]
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.
Timmy Willison [Fri, 20 Dec 2013 23:38:57 +0000 (18:38 -0500)]
Gruntfile: fix watch task
Timmy Willison [Fri, 20 Dec 2013 22:37:38 +0000 (17:37 -0500)]
Release script: minor formatting issue.
Timmy Willison [Fri, 20 Dec 2013 22:13:48 +0000 (17:13 -0500)]
Release script: jquery-release integration
Timmy Willison [Fri, 20 Dec 2013 17:30:23 +0000 (12:30 -0500)]
Remove hyphen from pre versions
- It is intentionally invalid semver as pre versions should never be released
- UI and Mobile already do this
Timmy Willison [Fri, 20 Dec 2013 17:29:28 +0000 (12:29 -0500)]
Update AUTHORS.txt using git log --format="%aN <%aE>"
Richard Gibson [Fri, 20 Dec 2013 21:46:30 +0000 (16:46 -0500)]
Selector: update Sizzle
Fix #14584
Timmy Willison [Thu, 19 Dec 2013 20:31:36 +0000 (15:31 -0500)]
Build: add build option for setting the AMD name.
Fixes #14016.
Timmy Willison [Thu, 19 Dec 2013 20:00:06 +0000 (15:00 -0500)]
Build: Add the ability to remove global exposure.
Ref #14016
Oleg [Thu, 19 Dec 2013 04:32:40 +0000 (08:32 +0400)]
Use the exact versions dependencies
And remove unused "which" package
Closes gh-1458
Dave Methvin [Thu, 19 Dec 2013 01:50:53 +0000 (20:50 -0500)]
Offset: Fix comment typo, thanks @AurelioDeRosa
Dave Methvin [Thu, 19 Dec 2013 01:44:32 +0000 (20:44 -0500)]
Readme: Fix typo, thanks @tcort
Michał Gołębiowski [Wed, 18 Dec 2013 14:23:27 +0000 (15:23 +0100)]
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
Michał Gołębiowski [Fri, 15 Nov 2013 14:55:59 +0000 (15:55 +0100)]
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.
Michał Gołębiowski [Wed, 18 Dec 2013 14:10:42 +0000 (15:10 +0100)]
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
Scott González [Tue, 17 Dec 2013 14:18:54 +0000 (09:18 -0500)]
CONTRIBUTING: Fixed link to style guide
Chris Antaki [Wed, 6 Nov 2013 05:23:04 +0000 (21:23 -0800)]
Reduce size by reordering variable declarations
Close gh-1421
Dave Methvin [Mon, 16 Dec 2013 03:02:51 +0000 (22:02 -0500)]
Revert "Ajax: Fix #14424. Use ActiveX in IE9+ on local files, close gh-1434."
This reverts commit
498e0e6c9bf486a0b1f16b455d65fcbc6c43867e .
We can't use the ActiveX XHR because it doesn't support events.
Timmy Willison [Fri, 6 Dec 2013 20:55:55 +0000 (15:55 -0500)]
Manage bower dependencies with grunt-bowercopy
Tracked bower dependencies are located at "src/sizzle" and "test/libs".
The source-destination mapping is in the Gruntfile.
When updating a bower dependency, update the version in bower.json, run
`grunt bower`, and then commit the result. When adding a dependency,
update the bowercopy task accordingly.
Fixes #14615.
Closes gh-1452.
Richard Gibson [Wed, 27 Nov 2013 19:51:29 +0000 (14:51 -0500)]
Fix #14579: attribute selectors with trailing spaces after an unquoted value
Corey Frang [Tue, 26 Nov 2013 18:45:39 +0000 (12:45 -0600)]
Ajax: Use weak ETag header in tests
See http://en.wikipedia.org/wiki/HTTP_ETag#Strong_and_weak_validation
Close gh-1448
Jakob Stoeck [Mon, 25 Nov 2013 18:48:10 +0000 (19:48 +0100)]
Add unit tests for .html( number ). Close gh-1447.
John Paul [Thu, 25 Apr 2013 13:11:53 +0000 (09:11 -0400)]
Effects: Integrate sinon fake timers into tests. Close gh-1377.
Michał Gołębiowski [Sun, 17 Nov 2013 00:06:44 +0000 (01:06 +0100)]
Change window to global in the most outer IIFE parameters.
In the most outer IIFE it’s not yet known if the global is window or not.
Using the window variable to denote the global was misleading in that case,
especially that the code didn’t make such assumption, requiring to provide
a Web-like window separately. Renaming window to global clears the confusion.
Timmy Willison [Fri, 15 Nov 2013 22:18:22 +0000 (17:18 -0500)]
Fixes #14549. Execute the factory immediately when CommonJS is used in the browser.
Timmy Willison [Fri, 15 Nov 2013 22:07:12 +0000 (17:07 -0500)]
Fixes #14548. Add main property to package.json
hongymagic [Mon, 11 Nov 2013 02:28:36 +0000 (13:28 +1100)]
Timmy Willison [Fri, 15 Nov 2013 15:48:49 +0000 (10:48 -0500)]
Release script: Add dist files in multiple commits for a clean final commit with a small diff
Timmy Willison [Fri, 15 Nov 2013 15:23:23 +0000 (10:23 -0500)]
Release script: Add .npmignore and keep .gitignore when creating the tag
Dave Methvin [Fri, 15 Nov 2013 14:55:16 +0000 (09:55 -0500)]
Updating the source version to 2.1.0-pre✓™
Dave Methvin [Fri, 15 Nov 2013 14:54:53 +0000 (09:54 -0500)]
Updating version to 2.1.0-beta2.
Michał Gołębiowski [Fri, 15 Nov 2013 14:50:31 +0000 (15:50 +0100)]
Keep bower_components in .gitignore.
Timmy Willison [Fri, 15 Nov 2013 14:19:44 +0000 (09:19 -0500)]
Release script: create tag after building CDN files
Dave Methvin [Thu, 14 Nov 2013 21:33:12 +0000 (16:33 -0500)]
Ref #14180, let focusin/out work on non-element targets.
Dave Methvin [Thu, 14 Nov 2013 02:31:07 +0000 (21:31 -0500)]
Ajax: Fix #14424. Use ActiveX in IE9+ on local files, close gh-1434.
We can't feature detect ActiveX in IE11, but we can just call
it and catch whatever error occurs, then try normal XHR.
Ilya Kantor [Tue, 15 Oct 2013 13:09:55 +0000 (17:09 +0400)]
Event: Fix #14544. Remove elem from event handle, close gh-1400.
This also reduces memory leaks if the element is removed without cleaning
events (e.g with native DOM operations).
Not pickable into the 1.x branch because oldIE still needs this.
Timmy Willison [Thu, 14 Nov 2013 19:36:04 +0000 (14:36 -0500)]
Fixes #14535: update Sizzle to 1.10.13
Timmy Willison [Thu, 14 Nov 2013 15:21:46 +0000 (10:21 -0500)]
Update sizzle location in release script
Timmy Willison [Thu, 14 Nov 2013 15:17:18 +0000 (10:17 -0500)]
Use grunt and bower packages as local dependencies. Close gh-1433.
Timmy Willison [Thu, 14 Nov 2013 03:05:37 +0000 (22:05 -0500)]
Update Sizzle: remove the use of version ranges
Timmy Willison [Thu, 14 Nov 2013 02:25:37 +0000 (21:25 -0500)]
Modify release script to create a headless tag for bower and publish to NPM
njhamann [Sat, 24 Aug 2013 17:02:17 +0000 (13:02 -0400)]
Fix #14036. Remove user/pass from ajaxLocation. Close gh-1340.
Dave Methvin [Thu, 14 Nov 2013 01:53:04 +0000 (20:53 -0500)]
ajax: Fix #14207. file protocol returns status 0, see #8605.
Dave Methvin [Tue, 17 Sep 2013 22:51:54 +0000 (18:51 -0400)]
Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.
Richard Gibson [Tue, 12 Nov 2013 18:31:35 +0000 (13:31 -0500)]
Ref
71b2ac52 : Disallow 2.x bypass of environmental helper methods
Richard Gibson [Tue, 5 Nov 2013 04:36:15 +0000 (23:36 -0500)]
Fix #14492: More correct jQuery.parseJSON. Close gh-1419.
(cherry picked from commit
60a6178131afec97b68c9a45bc24459f7b8bd905 )
Conflicts:
src/ajax/parseJSON.js
Richard Gibson [Tue, 12 Nov 2013 05:08:51 +0000 (00:08 -0500)]
Merge branches 'master' and 'master' of github.com:jquery/jquery
Michał Gołębiowski [Mon, 11 Nov 2013 00:53:23 +0000 (01:53 +0100)]
No ticket. Remove the unnecessary guard in addGetHookIf. Close gh-1426.
In 1.x if the support test executes before doc ready, it may not be able
to return a result yet. In such a case, we protect ourselves from future
breakages, allowing only for the ones before doc ready.
Since in 2.x lazy support tests attach test elements to docElem, not body,
such a guard is unnecessary.
Michał Gołębiowski [Sat, 7 Sep 2013 00:46:55 +0000 (02:46 +0200)]
Fix #14340. Remove remnants of oldIE from unit tests. Close gh-1425.
Michał Gołębiowski [Sun, 10 Nov 2013 23:42:37 +0000 (00:42 +0100)]
No ticket. Remove version sniffing from test/unit/support.js, browsers got updated.
Michał Gołębiowski [Sun, 10 Nov 2013 22:47:04 +0000 (23:47 +0100)]
No ticket. Remove the pre-uglify task form build/tasks/build.js. Fix custom builds.
Michał Gołębiowski [Sat, 9 Nov 2013 22:55:32 +0000 (23:55 +0100)]
Fix #14415. Remove the source map comment in the release script. Close gh-1424.
Michał Gołębiowski [Sat, 7 Sep 2013 00:46:55 +0000 (02:46 +0200)]
No ticket. Restore some parsing tests in core.
Michał Gołębiowski [Sat, 9 Nov 2013 22:12:06 +0000 (23:12 +0100)]
Remove workarounds for the uglify task mishandling banners when used with source maps.
The issue was fixed in grunt-contrib-uglify:
https://github.com/gruntjs/grunt-contrib-uglify/issues/22
Oleg [Fri, 8 Nov 2013 15:03:51 +0000 (16:03 +0100)]
Check Gruntfile and tasks for code style
Oleg [Thu, 7 Nov 2013 21:32:12 +0000 (22:32 +0100)]
Don't execute focus tests in Firefox
Close gh-1423
Oleg [Thu, 7 Nov 2013 21:51:46 +0000 (22:51 +0100)]
Use full version of jQuery 1.9.1
Had some weird failures in IE with xhr build of 1.9.1
Sindre Sorhus [Fri, 25 Oct 2013 18:12:46 +0000 (20:12 +0200)]
Add "keywords" to bower.json
Close gh-1407
Sindre Sorhus [Fri, 25 Oct 2013 18:02:04 +0000 (20:02 +0200)]
Add load-grunt-tasks package dependency
Close gh-1405
Oleg [Thu, 12 Sep 2013 20:51:59 +0000 (00:51 +0400)]
Fix #12757 - use jscs to check the style guide
Close gh-1396
Oleg [Wed, 30 Oct 2013 12:20:38 +0000 (16:20 +0400)]
Add more thorough check for CSP violations
Richard Gibson [Wed, 18 Sep 2013 13:41:07 +0000 (09:41 -0400)]
Fix #14074: element id="nodeName". Close gh-1389.
(cherry picked from commit
126d596b56924613687329b7aab4f0cdf4b593b3 )
Conflicts:
src/data.js
src/data/accepts.js
test/unit/core.js
test/unit/data.js
Marian Sollmann [Mon, 28 Oct 2013 14:31:58 +0000 (15:31 +0100)]
Fix #14190: Remove unnecessary assignment in .closest. Close gh-1411.
(cherry picked from commit
346b031af9e3b315ef351a9cc7fee56f930cf346 )
Conflicts:
src/traversing.js
Corey Frang [Tue, 5 Nov 2013 20:03:28 +0000 (15:03 -0500)]
Fix #14101: $().data() should be undefined, not null
Chris Antaki [Sat, 2 Nov 2013 08:38:37 +0000 (01:38 -0700)]
No ticket: Reduce size by reordering variable declarations. Close gh-1416.
Chris Antaki [Wed, 30 Oct 2013 08:16:05 +0000 (01:16 -0700)]
Fix #11809: Update text without creating DOM nodes. Close gh-1412.
Richard Gibson [Mon, 4 Nov 2013 17:51:57 +0000 (12:51 -0500)]
No ticket: Update support comment to match convention
Richard Gibson [Mon, 4 Nov 2013 14:36:16 +0000 (09:36 -0500)]
Ref
f9d41ac6 : Opera-compatible form target