Commit Graph

5345 Commits

Author SHA1 Message Date
Oleg
2b98a2636b Tests: Fix code style issues
(cherry-picked from a2250b0f4c)
2014-01-16 07:05:11 +04:00
Oleg
f601dd4d23 Attrs: Restore ability to pass array to jQuery#val
Thanks @gibson042
2014-01-16 06:55:56 +04:00
Oleg
9fe051d57e Attrs: Force reflow in select value setter
When new option element is added to select box we need to force reflow
of newly added node in order to workaround delay of initialization props.

try...catch statment is required for bug isolation

Fixes #2252
2014-01-16 04:56:32 +04:00
Oleg
92cbf5362c Attrs: Fix valHook for option element
Fixes #14686
2014-01-16 03:21:25 +04:00
Oleg
a3cd88f14b Tests: Remove one of the checks for memory leak
This check is redundant since jQuery.fragments object does not exist anymore
(cherry-picked from 38c122a73a)
2014-01-14 22:02:21 +04:00
Oleg
3fbbe933ea Tests: Fix another issue with sinon timers 2014-01-14 20:58:10 +04:00
Timmy Willison
a247bd09ed Sizzle: update committed dependencies 2014-01-13 16:39:09 -05:00
Oleg
06ee2c16f1 Ajax: support non-RFC2616 methods for oldIE
Closes gh-1466
Fixes #13240
2014-01-14 00:38:38 +04:00
Oleg
f1af3c23f9 Tests: Fix sinon timers for oldIE 2014-01-13 22:22:51 +04:00
Richard Gibson
c991edd2e2 Selector: Update Sizzle
Fixes #14657
(cherry picked from commit 9ac88dea49)
2014-01-13 09:40:28 -05:00
Dave Methvin
f4a3587a65 Tests: Straighten out sinon dependencies
* Cherry-pick took the wrong lines for a couple of things.
* Update and commit dependencies after `grunt bower`
2014-01-10 10:24:57 -05:00
Dave Methvin
09b28534fa Effects: First step() call should match :animated selector
(cherry picked from commit 085814474e)

Fixes #14623
Closes gh-1473
2014-01-09 22:29:05 -05:00
Dave Methvin
ab1224dd2d Tests: Fix test broken by previous cherry-pick 2014-01-09 22:26:25 -05:00
John Paul
2d6da2da6c Effects: Integrate sinon fake timers into tests
(cherry picked from commit b407bddea2)

Closes gh-1377
2014-01-09 22:03:24 -05:00
Forbes Lindesay
eb827097b8 Intro: Pass window to intro if available, for browserify
Closes gh-1476
(cherry picked from commit 6de1d973a4)
2014-01-09 21:31:24 -05:00
Dave Methvin
551c12c242 Build: Happy New Year! Thanks @marlonlandaverde
(cherry picked from commit 3118f58c46)

Closes gh-1477
2014-01-09 21:07:45 -05:00
Michał Gołębiowski
8b88ca2887 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.

(cherry-picked from 5801c3a29a)
2014-01-06 21:20:30 +01:00
Timmy Willison
ed94889b68 README: Add jQuery environment notes 2014-01-06 11:54:17 -08:00
cjqed
305eefe6ab Tests: Avoid use of QUnit.reset() in tests by splitting them
Closes gh-1470
Ref #1457
2014-01-03 08:01:46 +04:00
Timmy Willison
3140d3bdd3 Update grunt-bowercopy to 0.5.0 2013-12-31 17:40:16 -05:00
Oleg
286bf7e569 Doc: Update links and simplify build instructions
(cherry picked from commit e1a4329d78)
2013-12-31 23:41:00 +04:00
Timo Tijhof
1828c9856e traversing: Optimise .add by not using makeArray
(cherry picked from commit b39ee05b69)

Closes gh-1430
2013-12-30 12:36:31 -05:00
Timmy Willison
7468461569 Release script: _tracMilestone -> tracMilestone 2013-12-21 12:07:55 -05:00
Timmy Willison
36f00d0771 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:42:26 -05:00
Timmy Willison
bf6c95a81e Gruntfile: fix watch task 2013-12-20 18:42:21 -05:00
Timmy Willison
0b7aecab7b Release script: minor formatting issue. 2013-12-20 17:37:50 -05:00
Timmy Willison
827b5141df Release script: jquery-release integration
Conflicts:
	build/release.js
2013-12-20 17:29:35 -05:00
Timmy Willison
fd9c32118f Remove hyphen from pre versions
- It is intentionally invalid semver as pre versions should never be released
- UI and Mobile already do this

Conflicts:
	bower.json
	package.json
2013-12-20 17:29:35 -05:00
Timmy Willison
499ae3a252 Update AUTHORS.txt using git log --format="%aN <%aE>" 2013-12-20 17:29:35 -05:00
Richard Gibson
189b2d22fb Selector: update Sizzle
Fix #14584
(cherry picked from commit 29c8003347)
2013-12-20 16:48:27 -05:00
Timmy Willison
36c3f32f00 Build: add build option for setting the AMD name.
Fixes #14016.
2013-12-19 15:36:34 -05:00
Timmy Willison
1d3b60044b Build: Add the ability to remove global exposure.
Ref #14016

Conflicts:
	build/tasks/build.js
	src/core.js
2013-12-19 15:36:34 -05:00
Oleg
0e89df5b6d Use the exact versions dependencies
And remove unused "which" package

Cherry picked from the commit 09ede3d33b
2013-12-19 08:41:45 +04:00
Dave Methvin
b876352d97 Offset: Fix comment typo, thanks @AurelioDeRosa 2013-12-18 20:54:02 -05:00
Dave Methvin
04a652a99a Readme: Fix typo, thanks @tcort
(cherry picked from commit 84190105c0)
2013-12-18 20:49:30 -05:00
Michał Gołębiowski
c4e88083d2 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.

(cherry-picked from 7deee6af72)

Fixes #14504
2013-12-18 15:25:11 +01:00
Michał Gołębiowski
15d245ff57 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.

(cherry-picked from 2d73150511)
2013-12-18 15:17:19 +01:00
Michał Gołębiowski
c536e7e19e 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

(cherry-picked from fd0bce0758)
2013-12-18 15:11:18 +01:00
Scott González
e2022ddeac CONTRIBUTING: Fixed link to style guide
(cherry-picked from 846771081c)
2013-12-17 16:13:09 +01:00
Timmy Willison
c2e0dbdaa5 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.

Conflicts:
	bower.json
	test/index.html
2013-12-06 16:14:27 -05:00
Richard Gibson
b869d3f1ac Fix #14579: attribute selectors with trailing spaces after an unquoted value
(cherry picked from commit ed20e7c645)
2013-11-27 14:52:20 -05:00
Corey Frang
d6684dc3aa Ajax: Use weak ETag header in tests
See http://en.wikipedia.org/wiki/HTTP_ETag#Strong_and_weak_validation

Close gh-1448
(cherry picked from commit d2aa969206)
2013-11-26 14:16:12 -05:00
Jakob Stoeck
d14f617886 Add unit tests for .html( number ). Close gh-1447.
(cherry picked from commit ed291938c2)
2013-11-26 10:14:45 -05:00
Timmy Willison
e07c00be72 Fixes #14535: update Sizzle to 1.10.13
(cherry picked from commit c389c2e6ba)
2013-11-26 09:44:29 -05:00
Michał Gołębiowski
91586997e0 Change window to global in the most outer IIFE parameters. (cherry-picked from dc649a33e0)
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.
2013-11-17 01:08:53 +01:00
Timmy Willison
54419cb5ad Fixes #14549. Execute the factory immediately when CommonJS is used in the browser. 2013-11-15 17:18:47 -05:00
Timmy Willison
9cf253891e Fixes #14548. Add main property to package.json
Conflicts:
	package.json
2013-11-15 17:08:01 -05:00
Dave Methvin
c06462410a Updating the source version to 1.11.0-pre✓™ 2013-11-15 10:59:01 -05:00
Dave Methvin
26dbe634d4 Updating version to 1.11.0-beta2. 2013-11-15 10:58:35 -05:00
Timmy Willison
21a1e7d38f Release script: Add dist files in multiple commits for a clean final commit with a small diff 2013-11-15 10:57:43 -05:00