Martin Naumann
4e3f971866
Build: Fixed issue with base path that contain 'var'
...
Remove the cwd from the paths, so the regex doesn't kick in on "var"
Cherry-picked from 0c34e68843
Fixes gh-2450
Closes gh-2641
2015-10-12 18:18:44 +03: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
Timmy Willison
cbb0be6c41
Build: space between curly and paren is optional
...
Ref 63a577aa0b
Fixes gh-2399
Close gh-2400
2015-09-07 20:14:59 +03:00
Oleg Gaidarenko
20ddbe4f59
Build: Update jscs and lint files
...
Ref 10fdad742a
Fixes gh-2056
2015-09-07 20:14:50 +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
8992ac86cc
Docs: Rename 1.x to compat
2015-03-30 22:46:29 +02: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
Timmy Willison
57652eecd9
Build: fix tests in AMD mode
2014-12-10 10:18:59 -05:00
David Corbacho
2138f158be
Build: Remove empty define({}) from build output
...
Fixes gh-1768
Closes gh-1569
(cherry picked from commit 2c1b556d98
)
2014-12-04 16:48:28 -05:00
Oleg Gaidarenko
3f9fda8fab
Build: Fix various typos
...
Thanks @jamesgpearce, @imyousuf
Ref dc4b914a05
2014-11-08 17:43:27 +01:00
Timmy Willison
764f3643a3
Build: denote that sizzle cannot be removed on this branch
...
Fixes #14775
2014-07-17 17:47:39 -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
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
Michał Gołębiowski
6c41d16b4e
Build: set default testswarm timeout to 15 minutes
...
We're not testing on IE6-7 anymore.
(cherry-picked from a0568b07d8
)
2014-04-15 11:48:57 +02:00
Michał Gołębiowski
a43000a185
Build: use browserSets from config file; allow to override
...
(cherry-picked from 7869891a97
)
2014-04-15 11:45:22 +02:00
Michał Gołębiowski
be565d1cdb
Build: Change the timeout for the weekly job from 4h to 1h
...
(cherry-picked from c1e9bb9e61
)
2014-03-18 11:56:29 +01:00
Michał Gołębiowski
c84835633a
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.
(cherry-picked from aa951a3184
)
2014-03-16 04:14:48 +01:00
Jörn Zaefferer
59c4adbaff
Build: Fix testswarm task, use API correctly
...
(cherry-picked from 22c515c671
)
2014-03-12 12:24:58 +01:00
Michał Gołębiowski
c601eae7f6
Build: Allow to specify timeout in the testswarm task
...
(cherry-picked from a81dbc4ed8
)
2014-03-11 21:15:01 +01:00
Michał Gołębiowski
a59a1cd17a
Build: Make it possible to change browserSets in the testswarm task
...
(cherry-picked from 14872941f9
)
2014-03-10 20:57:28 +01:00
Timmy Willison
bb1db391cd
Build: Fix AMD option for custom builds
...
Fixes #14859
2014-03-07 09:56:43 -05:00
Michał Gołębiowski
4c7250cf2f
Build: Specify browserSets for TestSwarm directly
2014-01-27 22:02:30 +01:00
Michał Gołębiowski
d2c37afdd5
Build: Remove obsolete UglifyJS workaround
...
(cherry-picked from d41fc68d9b
)
2014-01-26 04:05:05 +01: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
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
14272ba9d1
No ticket. Remove the pre-uglify task form build/tasks/build.js. Fix custom builds. (cherry-picked from 7d5a12376d
)
2013-11-10 23:47:56 +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
Timmy Willison
62900a9edb
Fixes #14450 . Remove CommonJS+AMD syntax.
...
- To keep file size unaffected, an extra pragma was added to build.js to remove certain lines when building with special comments.
Conflicts:
src/core.js
src/css.js
src/effects.js
src/event.js
src/manipulation.js
src/offset.js
2013-10-15 11:59:16 -04:00
Timmy Willison
03dd51494f
Remove comment
2013-10-15 10:45:15 -04:00
Timmy Willison
67e56db39e
Update requirejs to compatible version, remove r.js
...
Conflicts:
package.json
2013-10-15 09:54:06 -04:00
Timo Tijhof
2ef0a17031
Gruntfile: Remove project prefix from TestSwarm job name
2013-10-06 21:54:03 -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
Timmy Willison
5bd074dd46
Remove offset dependency from css. Move curCSS and getStyles to their own module.
2013-09-10 20:08:54 -05:00
Timmy Willison
5fbf4a4fe3
Map Sizzle to a path with config to allow users to put Sizzle wherever they want
2013-09-10 18:48:53 -05:00
Timmy Willison
6c57339112
Don't keep semicolons if the require call is not a var declaration
2013-09-09 12:32:13 -04:00
Timmy Willison
2063d6c189
Break jQuery.access out into its own module to separate it from core; Adjust CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax.
...
Conflicts:
src/core.js
src/css.js
src/data.js
src/effects.js
src/event.js
src/manipulation.js
src/traversing.js
2013-09-09 12:04:03 -04:00
Timmy Willison
ee0343dd1b
Add AMD+CommonJS capabilities to the build script (for modules with long unreadable dependency lists)
...
Conflicts:
src/core.js
2013-09-09 11:47:03 -04:00
Timmy Willison
a289beb688
Restore optIn behavior for builds
...
Conflicts:
build/tasks/build.js
2013-09-08 22:27:40 -04: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
ca4a007524
Minor build change: remove trailing tabs
2013-08-16 14:33:42 -04:00
Timmy Willison
2f985ff826
When converting the source to AMD, don't forget to AMD
2013-08-16 12:56:33 -04:00
Timmy Willison
993418e9e9
Custom builds: Fix source folder location now that build.js is in the tasks folder
2013-08-16 10:13:45 -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