Commit Graph

86 Commits

Author SHA1 Message Date
Dave Methvin
b94af72bc8 Build: Add "deprecated" to the Testswarm module list
Ref #1740

Yeah.
(cherry picked from commit 1144e754a6)
2015-10-20 12:33:58 -04:00
Michał Gołębiowski
c7d458fb9e Tests: Backport basic tests from master
Commit 2c7e9c9 added the basic test suite; these are the only tests that
are now run on Android 2.3 on master. On compat we're keeping full Android 2.3
support for now but the tests and the testswarm basic run mode have been
cherry-picked anyway to reduce the divergence between branches.

(cherry-picked from 2c7e9c9349)

Fixes gh-2505
Closes gh-2509
Refs gh-2483
2015-09-08 18:10:51 +02:00
Michał Gołębiowski
5f1c7fc81e Build: Don't install jsdom 3 on Node.js 0.10 & 0.12 by default
jsdom 3 requires Python & Visual Studio on Windows which is a significant
barrier to contributors. Newer jsdom versions don't require pre-compiling
but work only on io.js. This commit installs the new jsdom everywhere (it
does install in old Node.js, it just won't work) and executes Node-related
tests only on newer Nodes or if a working jsdom version is installed. The
latter can be achieved by running the `old_jsdom` task.

Node.js is merging with io.js soon so this will become a smaller problem over
time.

One drawback is our Jenkins setup runs on Node 0.10 so it won't be running
Node tests anymore. We have Travis set up on io.js, though so all PRs
have those tests run. When the new LTS Node.js arrives (as it soon merges
with io.js) we should update our Jenkins infrastructure so that it runs on this
new version.

(cherry-picked from dbb2daa8c3)

Fixes gh-2519
Closes gh-2526
2015-09-08 17:50:33 +02:00
Thomas Tortorini
f71e32d4b4 Effects: Finish should call progress
(cherry-picked from 3dd3d1357d)

Fixes gh-2283
Closes gh-2292
2015-09-08 02:42:47 +02:00
Oleg Gaidarenko
20ddbe4f59 Build: Update jscs and lint files
Ref 10fdad742a
Fixes gh-2056
2015-09-07 20:14:50 +03:00
Oleg Gaidarenko
fa8a5a90e1 Build: correct jscs paths
Ref 99975c44ab
2015-09-07 20:14:28 +03:00
Michał Gołębiowski
04ec688e80 Core: Support non-browser environments
Fixes gh-2133
Fixes gh-2501
Closes gh-2504
Refs gh-1950
Refs gh-1949
Refs gh-2397
Refs gh-1537
Refs gh-2504
Refs 842958e7ae
2015-08-16 22:29:42 +02:00
Michał Gołębiowski
b988c0e45d Build: Add a comment explaining why the es3 option is needed
It might not be obvious to everyone that IE 9 & Android 4.0 are not
ES5-compliant browsers (by a large margin) so it's better to add a support
comment. This requires slight changes in parsing the config file
as it's not a pure JSON anymore. JSHint understands such files without
problems.

(cherry-picked from 669cb16d76)

Closes gh-2520
2015-08-03 18:55:36 +02:00
Corey Frang
0ff805772a Effects: Adding unit tests for jQuery.Animation
Closes gh-2340

(cherry picked from commit b3b2d6c3dd)

Conflicts:
	src/effects.js
2015-06-26 20:12:42 -04:00
Corey Frang
6b10f9d7e9 Effects: Add tests for jQuery.Tween
Conflicts:
	src/selector-native.js
	test/index.html
	test/unit/effects.js
2015-06-26 20:11:55 -04:00
Oleg Gaidarenko
24a6bb9fe8 Build: remove bower.json lint target
(Cherry-picked from 285cfbfccc)
Ref 26eca143c2
2015-06-11 16:27:24 +03:00
Richard Gibson
34f2563179 Deferred: Backwards-compatible standards interoperability
Fixes gh-1722
Closes gh-1996

(cherry picked from commit 555a50d340)
2015-03-20 02:14:04 -04:00
Timmy Willison
f71d7f56e9 Release: remove sourcemap comment from all copies of minified file
Fixes gh-1707
2015-01-30 12:42:21 -08:00
Richard Gibson
07719736b7 Build: Rearrange grunt/npm tasks into a build/dist/test pattern
Ref 76df9e4e38
Ref bb928bde7e

Conflicts:
	Gruntfile.js
	package.json
2015-01-11 10:41:31 -05:00
Anne-Gaelle Colom
a0bf5bf710 Build: Remove dates from copyright notice
Closes gh-1983
(cherry picked from commit 66e1b6b8d4)

Conflicts:
	Gruntfile.js
2015-01-03 16:11:22 -05:00
Timmy Willison
238bc32a11 Sizzle: update 2.1.1 2014-12-15 12:33:46 -05:00
Michał Gołębiowski
8cd6875935 Build: Put "jQuery Compat" in banners in built files 2014-11-03 23:32:56 +01:00
Timmy Willison
181b451646 Build: update source map options for the new grunt jshint 2014-07-17 11:16:21 -07:00
Timmy Willison
91e06e9aeb Build: update grunt-jscs-checker and pass with the new rules
Conflicts:
	build/tasks/build.js
	src/ajax/xhr.js
	src/attributes/classes.js
	src/attributes/prop.js
	src/attributes/val.js
	src/core/init.js
	src/core/ready.js
	src/css.js
	src/css/curCSS.js
	src/css/defaultDisplay.js
	src/data.js
	src/data/var/dataPriv.js
	src/data/var/dataUser.js
	src/dimensions.js
	src/effects.js
	src/event.js
	src/manipulation.js
	src/offset.js
	src/queue.js
	src/selector-native.js
	test/data/testrunner.js
2014-07-17 11:08:37 -07:00
Timmy Willison
79c0732ac2 Build: drop bower; use npm for front-end deps
Fixes #15186
Closes gh-1620

Conflicts:
	bower.json
2014-07-17 10:29:17 -07:00
Timmy Willison
1c3138412c Build: update Sizzle to 1.11.1 and include license 2014-06-25 13:50:33 -04:00
Scott González
72e6192517 Build: Move all external libraries to external directory
Closes gh-1593

Conflicts:
	Gruntfile.js
	test/index.html
2014-06-25 13:48:49 -04:00
Scott González
62f7f7be9b Build: Remove unused Sizzle test files 2014-06-25 13:45:21 -04:00
Timmy Willison
8530a2fc72 Ajax: move ajax event aliases to their own file
Fixes #15126
2014-06-02 12:41:24 -04:00
Timmy Willison
43756f6e7a Build: run jshint and jscs on release scripts 2014-05-27 15:17:51 -04:00
Oleg Gaidarenko
4287ee10ef Build: Remove json check for jscs config
(cherry-picked from 1514dca501)
2014-04-23 20:03:00 +04:00
Michał Gołębiowski
d2c488402a Build: Remove Sizzle from run names passed to the testswarm task
(cherry-picked from d0131da70e)
2014-04-15 16:39:06 +02:00
Oleg Gaidarenko
1e1ebfbf3c Build: Add lint task 2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
f5ea571753 Build: Use jscs to check test helpers
Also fix issues found by jscs

Conflicts:
	test/data/testrunner.js
2014-04-15 17:46:25 +04:00
Timmy Willison
a247bd09ed Sizzle: update committed dependencies 2014-01-13 16:39:09 -05:00
Oleg
f1af3c23f9 Tests: Fix sinon timers for oldIE 2014-01-13 22:22:51 +04: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
551c12c242 Build: Happy New Year! Thanks @marlonlandaverde
(cherry picked from commit 3118f58c46)

Closes gh-1477
2014-01-09 21:07:45 -05:00
Timmy Willison
bf6c95a81e Gruntfile: fix watch task 2013-12-20 18:42:21 -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
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
Timmy Willison
a9f5946294 Use grunt and bower packages as local dependencies. Close gh-1433. 2013-11-14 10:18:12 -05:00
Michał Gołębiowski
762459aa0d Grunt: put .sizecache.json in build/, not dist/. (see 6095be1260) 2013-11-10 22:34:46 +01:00
Michał Gołębiowski
7c38b0686d Remove workarounds for the uglify task mishandling banners when used with source maps. (cherry-picked from d0fadbba9f)
The issue was fixed in grunt-contrib-uglify:
https://github.com/gruntjs/grunt-contrib-uglify/issues/22
2013-11-09 23:12:40 +01:00
Oleg
0b987dbaf9 Check Gruntfile and tasks for code style
Cherry picked from 85d4c0133b commit
2013-11-08 16:07:45 +01:00
Sindre Sorhus
7e5c2cb6e8 Add load-grunt-tasks package dependency
Cherry picked from abfa210adf commit
2013-11-07 22:09:33 +01:00
Oleg
bcae427015 Fix #12757 - use jscs to check the style guide
Cherry picked from ab63e568f50b5b9823490eda9c184e48cc6440c4 commit
2013-11-07 22:09:32 +01:00
Timmy Willison
08b6271b6d Only set uglify options if not already the default 2013-10-15 18:00:41 -04:00
Timo Tijhof
e15627022f No ticket: Clean up uglifyjs compress options. Close gh-1382. 2013-10-15 16:48:33 -04:00
Timmy Willison
e239873b27 Add bower install script and release scripts to jshint and pass lint 2013-10-07 18:24:14 -04:00
Michał Gołębiowski
11f386fe89 No ticket. Simplify the post-uglify task. (cherry-picked from 923bfc80db) 2013-10-02 00:40:29 +02:00
Michał Gołębiowski
f044622bae No ticket. Restore checking individual src/**/*.js files by jsHint. 2013-09-06 20:31:48 +02:00
Michał Gołębiowski
9035cab8c8 Fix #13983. Switch to //# for sourcemap directives. (cherry-picked from dfaee326e6) 2013-09-05 18:24:13 +02:00
Timmy Willison
4d9c62a95c Custom builds: Remove _evalUrl when excluding ajax 2013-08-16 10:13:39 -04:00
Oleg Gaidarenko
213eaad880 Move jQuery specific tasks to independent files. Close gh-1334.
Also:
	* Confirm build task to the style guide
	* Use grunt API to load jQuery specific tasks
	* Add "use strict"; statements

Conflicts:
	Gruntfile.js
	build/tasks/build.js
2013-08-16 10:04:31 -04:00