Commit Graph

353 Commits

Author SHA1 Message Date
Michał Gołębiowski
7d5a12376d No ticket. Remove the pre-uglify task form build/tasks/build.js. Fix custom builds. 2013-11-10 23:47:04 +01:00
Michał Gołębiowski
562145e887 Fix #14415. Remove the source map comment in the release script. Close gh-1424. 2013-11-10 23:24:26 +01:00
Michał Gołębiowski
d0fadbba9f 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
2013-11-09 23:12:06 +01:00
Timmy Willison
b24a3d5368 Unify build script capabilities between branches. Specifically, added a special comment pragma for removing certain lines. 2013-10-15 12:03:55 -04:00
Timmy Willison
96286498d6 Remove comment 2013-10-15 10:44:50 -04:00
Timmy Willison
310b8f5b6e Update requirejs to compatible version, remove r.js 2013-10-15 09:51:09 -04:00
Timmy Willison
fc4ff9315d Add bower install script and release scripts to jshint and pass lint 2013-10-07 18:24:02 -04:00
Timmy Willison
fea6904d46 Edit bower install script based on comments. Close gh-1392. 2013-10-07 17:19:04 -04:00
Scott González
4d818ab12c Warn on npm install if Bower isn't installed. 2013-10-07 17:17:04 -04:00
Timo Tijhof
d1f247daf8 Gruntfile: Remove project prefix from TestSwarm job name, close gh-1387 2013-10-06 21:42:55 -04:00
Michał Gołębiowski
923bfc80db No ticket. Simplify the post-uglify task. 2013-10-02 00:39:49 +02:00
Dave Methvin
d79c036ad6 Update release script for sourcmap syntax change 2013-09-19 09:06:19 -04:00
Timmy Willison
aab9d63279 Map Sizzle to a path with config to allow users to put Sizzle wherever they want 2013-09-10 18:47:36 -05:00
Timmy Willison
d788010aa7 Don't keep semicolons if the require call is not a var declaration 2013-09-09 13:55:07 -05:00
Timmy Willison
3b53b75160 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. 2013-09-09 11:34:23 -04:00
Timmy Willison
2fe09ceaf9 Update r.js (running latest master until new r.js is published to NPM) 2013-09-09 11:23:22 -04:00
Timmy Willison
1b3c0c00fa Add AMD+CommonJS capabilities to the build script (for modules with long unreadable dependency lists) 2013-09-09 09:50:12 -04:00
Timmy Willison
8791920183 Restore optIn behavior for builds 2013-09-08 22:26:05 -04:00
Michał Gołębiowski
dfaee326e6 Fix #13983. Switch to //# for sourcemap directives. 2013-09-05 18:23:56 +02:00
Timmy Willison
a542590687 Fix cherry-pick issue. The master branch tests should not be run in oldIE. 2013-08-19 15:49:18 -04:00
Timmy Willison
32e803c5bc Minor build change: remove trailing tabs 2013-08-16 14:41:13 -04:00
Timmy Willison
b693b370a4 When converting the source to AMD, don't forget to AMD 2013-08-16 12:54:43 -04:00
Timmy Willison
338e48aea5 Custom builds: Fix source folder location now that build.js is in the tasks folder 2013-08-16 10:13:09 -04:00
Oleg Gaidarenko
df67c1ab09 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
2013-08-16 09:48:00 -04:00
Timmy Willison
7877c4fa73 Remove log 2013-08-15 15:58:15 -04:00
Timmy Willison
b7b50a7d5f Fix build for jenkins 2013-08-15 15:56:47 -04:00
Timmy Willison
6318ae6ab9 AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163. 2013-08-15 14:15:49 -04:00
Dave Methvin
6e630fbbb1 Revert "Fix #13983. Switch to //# for sourcemaps."
Per the discussion here:
https://code.google.com/p/chromium/issues/detail?id=256636

Thanks to the Chrome team for the quick response!

This reverts commit d53ddc90c1.
2013-07-02 16:58:20 -04:00
Dave Methvin
a44202dc60 Change the changelog header style 2013-07-02 16:12:12 -04:00
Dave Methvin
d53ddc90c1 Fix #13983. Switch to //# for sourcemaps.
Normally we'd avoid doing this on a patch release, but Chrome Canary is
spewing deprecation warnings already and that's generating bug tickets.
2013-07-02 09:48:40 -04:00
Dave Methvin
9cbd6898b9 Do not include the path in map references. 2013-05-24 12:37:32 -04:00
Dave Methvin
df372ad6e7 Update the map reference in each minified file.
(cherry picked from commit ebc7899ba1)
2013-05-16 23:04:38 -04:00
Dave Methvin
5e8a5f4adc build: switch from .min.gz to .zip format. 2013-05-12 21:58:53 -04:00
Chris Talkington
eaee6eae0f build: update release script to use nodejs archiver. 2013-05-12 16:40:49 -05:00
Chris Talkington
8ab32fe3ff build: correct paths so that archiving works. 2013-05-12 16:02:00 -05:00
Dave Methvin
47f56f1612 Create CDN archives in the build script. 2013-05-08 20:00:24 -04:00
Dave Methvin
caf963992d Make it easier to debug the release script. 2013-05-06 10:32:16 -04:00
Dave Methvin
f6471f4f36 Use semantic versions. 2013-04-09 08:09:26 -04:00
Michał Z. Gołębiowski
79992d7523 Edited comments and minor adjustments. Fixes #13553. Closes gh-1195. 2013-03-12 21:06:25 -04:00
Dave Methvin
a8cbbd3615 Let version 1.9 claim jquery.js and jquery-latest.js files. 2013-01-14 23:11:33 -05:00
Dave Methvin
e7a2e3c72f Simplify release notes generator script. 2013-01-14 22:10:39 -05:00
Dave Methvin
c9b75df7fb Add release support for map files. 2012-12-28 21:05:01 -05:00
Dave Methvin
6ecac3b152 Use the right repo. 2012-12-16 18:55:42 -05:00
Dave Methvin
bddd10037a Update the build script so it runs on Windows. 2012-12-16 17:19:51 -05:00
Dave Methvin
24db7346ef Update version in release notes builder. 2012-12-16 17:19:48 -05:00
Dave Methvin
6e995583a1 Tagging the 1.8.2 release. 2012-09-20 21:12:38 -04:00
Dave Methvin
044ee41282 Update release notes script to 1.8.2 and add debug option. 2012-09-20 21:05:40 -04:00
Dave Methvin
a31f28b026 Update release script and notes builder. 2012-08-30 17:07:03 -04:00
Dave Methvin
e41553950d Don't let the release notes script truncate! 2012-08-09 20:16:06 -04:00
Dave Methvin
81bf633596 Updating the source version to 1.8.1pre 2012-08-09 16:25:57 -04:00
Dave Methvin
d308531339 Update release script; use package.json as the One True Version. 2012-08-09 16:24:30 -04:00
Rick Waldron
36623de76c Take out the papers and the trash (from build/) 2012-06-04 12:53:53 -04:00
Oleg
d0763a37c6 Fix #11823. Remove webkitConvertPointFromNodeToPage. Closes gh-796. 2012-05-27 12:37:35 -04:00
Mike Sherov
77536f5cb2 Fix #10996, simplify offset code by forsaking ancient browsers. 2012-04-05 21:55:28 -04:00
Dave Methvin
f40c862d1e Update release notes version. 2012-03-09 13:47:59 -05:00
Mike Sherov
3f88249b44 too many undefs. 2012-01-28 17:03:14 -05:00
Mike Sherov
135bb4ff81 Add undef:true to JSHint now that it understands hoisting
also add smarttabs:true and fix some smarttabs spacing issues
2012-01-19 22:36:08 -05:00
Rick Waldron
b6a2dfbeb9 Improves handling of EOL whitespace error reporting 2012-01-11 21:49:55 -05:00
Rick Waldron
f724bc6c92 Reformat jshint errors to be readable; make post-compile.js write directly to jquery.min.js; update required Node version 2011-12-15 10:11:24 -05:00
Dave Methvin
e452ebd76d Two eq is not enough; three eq is more than we want for now.
We also don't need the lint alias.
2011-12-08 21:17:11 -05:00
Mike Sherov
98386cfd77 Fix #10692. JSLint is dead! Long live JSHint!
Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
2011-12-08 21:04:57 -05:00
Dave Methvin
dff11c0392 Update release notes version. 2011-11-21 20:04:18 -05:00
Dave Methvin
d459bd40d0 Update version. 2011-11-17 19:14:39 -05:00
Dave Methvin
3cd651669c Update the version for building release notes. 2011-11-03 16:10:23 -04:00
Rick Waldron
e1a5d3ebfb Landing pull request 560. Further reduce minimal header. Fixes #10553.
More Details:
 - https://github.com/jquery/jquery/pull/560
 - http://bugs.jquery.com/ticket/10553
2011-10-22 16:06:57 -04:00
Rick Waldron
9f5d56a8b5 Landing pull request 523. Adds character frequency reporting tool, use: make freq. Fixes #10372.
More Details:
 - https://github.com/jquery/jquery/pull/523
 - http://bugs.jquery.com/ticket/10372
2011-10-01 16:58:01 -04:00
Corey Frang
61277d2864 Landing pull request 511. Adding a little Makefile jQuery sizing utility to easily see differences in size between makes. Fixes #10308.
More Details:
 - https://github.com/jquery/jquery/pull/511
2011-09-19 15:27:43 -04:00
Dave Methvin
2fc6205fc7 Tagging the 1.6.3rc1 release. 2011-08-29 13:38:26 -04:00
Rick Waldron
68f1f4d545 Removes date from minimal license 2011-07-25 13:23:14 -04:00
Rick Waldron
7a1e880963 Mine and munge date from full source license header 2011-07-23 19:18:41 -04:00
Rick Waldron
8a610073f9 Builds minimal license header block for jquery.min.js 2011-07-23 17:58:08 -04:00
John Resig
d269e426e0 Updating version in release notes script. 2011-06-14 15:05:27 -07:00
John Resig
d443e533aa Tagging the 1.6.2rc1 release. 2011-06-14 14:54:23 -07:00
John Resig
f794f48f02 Adding in test case to support #9211. 2011-05-11 11:43:37 -04:00
John Resig
3cdffce19f Updating release note script. 2011-05-03 15:01:29 -04:00
John Resig
89fd9dffad Less aggressive semicolon insertion for the minified file. 2011-05-02 16:36:16 -04:00
John Resig
f8a112f08e Ensure that an endline is in place at the end of the minified jQuery file. 2011-05-02 16:32:02 -04:00
John Resig
f4b5d3fc51 Update the UglifyJS code. 2011-05-02 16:25:36 -04:00
John Resig
c0d993903b Fix bug with handling minor releases after major releases in the build script. 2011-05-02 16:25:20 -04:00
John Resig
b5772da087 Add a simple script for generating the release notes of a pre-release. 2011-04-27 00:56:08 -04:00
John Resig
a8988e3cd1 Adding a Node-based release management script for pushing new releases to the CDN. 2011-04-26 16:23:09 -04:00
John Resig
2a71493447 Updating UglifyJS. 2011-04-17 18:17:31 -04:00
awgy
2862f589db Remove sed from post-build code, due to portability issues between GNU and BSD versions.
Follow up to ba43d37394 which apparently
didn't fix the problem completly on Mac OS X.
2011-02-12 13:53:04 +01:00
Dan Heberden
74dfc7f2a9 Revert uglify.js to original and handle build changes in make file 2011-01-19 02:11:43 -08:00
John Resig
fc7bd61200 Merge branch 'master' of https://github.com/mathiasbynens/jquery into mathiasbynens-master 2011-01-18 18:11:54 -05:00
John Resig
be6ef80f8a Weird, not sure why I got an exec error before - doesn't seem to be needed. 2011-01-18 18:06:44 -05:00
Mathias Bynens
c5ec1cb3e5 Add missing line break after copyright header and trailing semicolon at the end of the minified version. 2011-01-18 23:14:32 +01:00
John Resig
80928cc6fb Make sure that the UglifyJS file is executable. 2011-01-18 16:40:42 -05:00
Colin Snover
d503845d0c Replace build system with a faster new one that uses Node and UglifyJS and generates smaller minified files. Also removes builds through rake/ant since having 3 different build systems was too much to maintain (make was the only one consistently kept up-to-date). Fixes #7973. 2011-01-17 18:49:24 -06:00
John Resig
25828768d7 Handle the case where JSLint complains about arguments in try/catch already being defined (we use the name 'e' consistently for catch(e) - will work to standardize on that now). 2010-10-17 10:50:17 -04:00
John Resig
ae772e7422 Updating the copy of Google Closure Compiler. 2010-10-14 16:35:35 -04:00
Brandon Aaron
a2e1051fb4 Increase max number of JSLint errors. This is necessary because we have several error messages that we choose to ignore. 2010-09-01 10:48:19 -05:00
jeresig
950b5d64a2 Added in integrated JSLint checking against the jQuery source. Just run 'make lint' to see the result. 2010-03-01 21:51:44 -05:00
jeresig
3fd62eae9d Switched from using YUI Compressor to Google Compiler. Minified and Gzipped filesize reduced to 22,839 bytes from 26,169 bytes (13% decrease in filesize). Sizzle copyright was merged into the main header (since it's removed automatically). Still passes all unit tests. 2009-12-18 21:23:26 -05:00
John Resig
c7006d2fa5 Removing the old speed perf directory (the current one is in the main 'speed' directory). 2009-10-22 22:06:20 -04:00
John Resig
cd05cac37f Cleaned out the build directory - a lot of old files that weren't being used anymore. 2009-10-22 21:54:34 -04:00
Jörn Zaefferer
cde93dc547 core: ant build - add Date and Revision to to header (just like make build) 2009-01-18 13:30:09 +00:00
Jörn Zaefferer
2f536b3d4d core: replaced version.js build script in ant build; wasn't used in make anymore anyway 2009-01-18 13:04:32 +00:00
Jörn Zaefferer
f649acd8ab core: Ant target to generate openAjaxMetadata; uses http://www.exfer.net/jquery/createjQueryXMLDocs.py to get the data from the wiki, and transforms it using xslt (see build/style.xsl) 2009-01-14 22:43:55 +00:00
John Resig
9c029f1687 Updated the benchmarking utility to use the Yahoo homepage and a bunch of new selectors. 2009-01-12 18:22:44 +00:00
John Resig
7623702565 Tweaked the benchmark tests. 2009-01-12 00:24:36 +00:00
John Resig
ef661a50b9 Removed all uses of @ in the benchmarker and added a couple :not() tests. 2009-01-06 20:23:44 +00:00
John Resig
dcbec1f498 Cleaned up the benchmarking utility (using a newer version of jQuery and fixing the runner). 2009-01-06 16:19:55 +00:00
John Resig
434b87b8a2 Moved from the old JSMin to using YUIMin for compressing the jQuery source. Additionally landed some improvements from #3770 which dramatically reduce the filesize. The final minifed + gzipped size of jQuery went from 19817 bytes to 18063 bytes. 2009-01-04 15:29:27 +00:00
Jörn Zaefferer
ba4453def2 core: cleanup of build - build.js isn't used anywhere 2008-12-18 16:43:39 +00:00
Jörn Zaefferer
e7fef859f1 global replace for @VERSION, fixed #2101 2008-01-20 14:23:22 +00:00
John Resig
04eb060692 Fixed minor issue with pack build script. (Bug #2101) 2008-01-14 19:13:46 +00:00
Jörn Zaefferer
ba9c14a589 added version to all builds; changed current version to 1.2.2-pre - to be updated after each release so its clear that a build is from which milestone; build.xml cleanup (removing uselss lite, docs, test and _with_plguins targets); deleted useless docs build files (replaced by wiki and wiki xml exporter and api browsers) 2007-12-19 22:26:05 +00:00
David Serduke
b0b5fa74b6 Fixed the build/speed testing application to work with current versions of jQuery. The main changes were implementing :has() where necessary to replace functionality that no longer existed and to use noConflict() so the libraries wouldn't have to be modified for the speed testing.
So now the file jquery-basis.js will be tested against the jquery.js in the /dist directory. Version 1.2.1 is currently in jquery-basis.js.
2007-12-05 17:33:49 +00:00
Paul Mclanahan
e22336e7ae Updated test.js for the runtest build target to reflect the path changes for the test scripts. 2007-09-12 15:45:05 +00:00
John Resig
b4e23b5af0 Reorganzing the jQuery source (first phase). 2007-09-08 12:42:32 +00:00
John Resig
f96bf10415 Integration of Mike Alsup's excellent form serialization code. The benefits are as follows:
- New method: .serializeArray()
This returns an array of name/value pairs representing the contents of a form, or individual input elements.
- Enhancement: .serialize()
The results are correct now (as opposed to the mess from before), and allows you to serializes forms directly (rather than just the input elements).
- Enhancement: .val()
This now returns the correct value when dealing wih selects. Additionally, when dealing with multiple selects, it returns an array of values.

Based upon Mike's code:
http://malsup.com/jquery/form/comp/form.js

and test suite:
http://malsup.com/jquery/form/comp/test.html
2007-09-05 17:06:05 +00:00
John Resig
a5dbcaf675 Added support for:
- Cross Domain getScript
  $.getScript("http://foo.com/script.js");
- JSONP
  $.ajax({ url: "script.js", type: "jsonp" });
  $.getJSON("script.js?callback=?");
- Cross Domain JSONP/getJSON
  $.getJSON("http://foo.com/script.js?callback=?");
- No-cache Ajax Requests
  $.ajax({ url: "test.html", cache: false });
2007-09-03 23:45:14 +00:00
John Resig
346ceacce3 Added support for a new :header psuedo-selector (only selects H1-H6 elements). 2007-08-31 05:43:24 +00:00
John Resig
fbd2b066a7 Make it so that you can filter tests by keyword. 2007-08-31 05:41:08 +00:00
John Resig
0477a6e99e Added a test case for "purple include", fixed a bug. 2007-08-25 03:55:12 +00:00
John Resig
2ef4093cf7 Complete overhaul of the Ajax test suite, it's now passing in all browsers. In order to achieve this I had to fix a numbe
r of bugs in the suite itself, along with other random bugs that popped up. The following bugs were resolved along the wa
y: #1236 (.extend() keeps processing when it hits nulls), #1028 (.extend() now works recursively), #1080 ($.get no longer
 overwrites the data parameter), #1210 (Creating script and link tags now work), and #1463 (jQuery.global has been re-too
led to no longer leak memory and slow things down).
2007-08-19 23:37:26 +00:00
John Resig
05d401dd84 Fixed non-unique results from .parent(), .parents(), .next(), etc. (Bug #1449) 2007-08-19 00:07:41 +00:00
Jörn Zaefferer
d38ee78db9 reverted my "fixes", seems like they work only with the latest (dev) rhino version, which isn't that helpful 2007-08-14 16:37:14 +00:00
John Resig
660490e6f4 The test for underscore selectors broke under Opera, so the element is now loaded via Ajax and tested. (bug #1084) 2007-07-30 02:52:24 +00:00
John Resig
80a149b828 Integrated the custom fx test suite into the main test suite. All tests are now run automatically. Removed the old suite, as it was no longer needed. 2007-07-29 19:07:21 +00:00
Jörn Zaefferer
eb5529eac0 Added runtest ant task (doesn't display results yet);
added href-attribute to DOMElement, fixed XMLHttpRequest to actually allow sync requests, fixed new Thread(new Runnable({run...})) to use new Thread({run:...})
2007-07-17 07:54:14 +00:00
John Resig
7c85d973bf Added better support for local file XHR, added document.innerHTML, change .valueOf() to be .outerHTML. 2007-07-10 02:38:20 +00:00
John Resig
0bb035a1ab Added support for events, made window.location Async (and based upon XHR), added trigger for window.onload. 2007-07-09 16:14:19 +00:00
John Resig
d776dc9d5c Got some XHR tests to run, still some hanging threads (need to investigate). Started moving some Ajax tests away from using PHP (more portable this way). Fixed a number of XHR env bugs. 2007-07-09 03:08:20 +00:00
John Resig
de71a046e6 Touched up the XMLHttpRequest code (fixed some bugs, fixed formatting, etc.). 2007-07-09 00:48:16 +00:00
Yehuda Katz
c4eddea7c3 Adds XHR support to Rhino evn 2007-07-09 00:20:44 +00:00
John Resig
54035207fe Tweaked some of the tests, added in events and fx tests. 2007-07-09 00:15:44 +00:00
John Resig
b09043fbf6 Added a className tweak. All core and selector tests now pass. 2007-07-09 00:02:32 +00:00
John Resig
b147039acc Added a number of fixes: Tag name case-sensitivity, text escaping, opacity setting. Tweaked the test suite slightly. 2007-07-08 23:52:14 +00:00
John Resig
69ef5fac9e Added basic support for IFrames, disabled a test which we don't take into account. 2007-07-08 23:19:09 +00:00
John Resig
b5bf00a373 A barebones implementation of getComputedStyle. 2007-07-08 22:26:05 +00:00
John Resig
5e7c1fc3ae UTF8 support rolled in (both for external docs and innerHTML). 2007-07-08 20:22:50 +00:00
John Resig
feb475d9b1 Attribute values should be JS strings. 2007-07-08 16:35:48 +00:00
John Resig
b83a6b7a32 .ownerDocument should be null on document. 2007-07-08 16:33:23 +00:00
John Resig
6f0c9a5fd7 Added support for "first option is auto-selected in a drop-down" functionality. 2007-07-08 16:28:45 +00:00
John Resig
52c6739c20 Fixed selected/checked/disabled, added .style support, added .elements. 2007-07-08 16:06:10 +00:00
John Resig
e155a6ae51 Added .value to the env impl. 2007-07-08 07:02:36 +00:00
John Resig
89a9a747b6 Automated test running using Rhino (no browser required!). Still very buggy, but off to a good start. 2007-07-08 05:00:24 +00:00
John Resig
4f85aaebc6 Upgraded Rhino to 1.6r6. 2007-07-08 04:48:11 +00:00
John Resig
5ed992d5f5 Making the test suite a little more XML-compliant. 2007-07-08 04:46:21 +00:00
John Resig
73ab36b8f8 Added the Speed Test Suite. Can be made by doing 'make speed'. 2007-06-30 00:21:30 +00:00
John Resig
28c9c6a805 Disabling Ajax tests for now - too many timeouts. 2007-06-29 20:27:20 +00:00
Jörn Zaefferer
6f510757ab use jquery for dblclick handler to access event.target 2007-06-20 21:13:56 +00:00
Jörn Zaefferer
4b8c7d8561 Removed useless safari workarounds, added rerun-single-test feature: just doubleclick on a single test to execute that one, use browser's back button get back to executing all 2007-06-14 22:12:49 +00:00
Jörn Zaefferer
f621f92a4d Modified min build to include (like pack) the license header, thanks John for the regex 2007-06-14 22:06:00 +00:00
John Resig
5e964a4a73 Fix for bug #983 (Packed jQuery doesn't have a license at the top of the file.) 2007-05-20 16:42:42 +00:00
John Resig
9b5363b9eb Added fixes for bug #1052. Fixes the problems with animation chaining (and problems with toggling). Also, removed toggling from jQuery.fx (it's now handled in .animate() instead). 2007-05-20 08:40:13 +00:00
Brandon Aaron
7c6100f5ed Fix for #1169 2007-05-13 17:20:03 +00:00
John Resig
003af8e383 Updated Packer - the current version was working incorrectly. 2007-05-05 17:37:38 +00:00