Commit Graph

94 Commits

Author SHA1 Message Date
jaubourg
2d0bc7ce72 Moves Deferred-related code into a separate module. Context handling has been simplified in _Deferred.resolve and jQuery.when has been refactored for clarity (and minor optimization). 2011-03-03 19:38:06 +01: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
Anton M
ba43d37394 Fix Makefile to use plain sed agin. Remove unicode trickery. Thanks to danheberden and gnarf for figuring out why it previously faild on Mac OS X. 2011-01-26 22:50:15 +01:00
jeresig
2c290709d8 Make sure that init is run before jquery is built (avoiding weird warnings when running 'make jquery' or 'make min'). Additionally only attempt to run JSLint or the minifier if NodeJS is installed (avoiding a weird warning when you first run 'make' or 'make all'). 2011-01-26 16:36:33 -05:00
jeresig
6c18a1becb Revert "Fix Makefile to use plain sed. Remove unicode trickery"
This reverts commit 6d358c0cdd.
2011-01-24 14:14:55 -05:00
Anton M
6d358c0cdd Fix Makefile to use plain sed. Remove unicode trickery 2011-01-24 20:01:25 +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
Colin Snover
3d0aa196c5 Clarify cygwin instructions slightly and swap the order of arguments to which in Makefile because of a bug in current versions of MSYS that causes only the first argument to /bin/which to be searched. 2011-01-17 21:06:57 -06:00
Colin Snover
9ae837a167 Update Makefile to use either nodejs or node, whichever exists (Debian uses nodejs). 2011-01-17 19:04:32 -06: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
jaubourg
c43b078c69 Renamed src/transports to src/ajax (in case we need prefilters in the future and to avoid a separate prefilters directory). 2011-01-06 01:17:31 +01:00
jaubourg
981d1e08eb Removed re-usability from jXHR object (no more open, send & onreadystatechange support). Streamlined the implementation and put it back into ajax.js (removed xhr.js in the process). Went back to a more simple & direct approach to options handling (keeping much room to further minification-related optimizations). Code is cleaner, smaller & faster. Removed & edited unit tests accordingly. All build files have had xhr.js removed. 2010-12-31 04:13:40 +01:00
Jonas Pfenniger
c1625f6b79 Update Rakefile to remove module wrappers (feature parity with make and ant). Update Makefile to avoid rebuilding jquery.js when it is not necessary to do so. 2010-12-30 01:38:28 -06:00
Colin Snover
3e0cc81504 Clean trailing whitespace from all files. 2010-12-30 00:34:48 -06:00
jaubourg
ac80ca2883 Replaced spaces with a tab in Makefile. 2010-12-10 02:55:43 +01:00
jaubourg
ab3ba4a812 Rewrite of the Ajax module by Julian Aubourg. Some (dated) details can be found here: http://oksoclap.com/6Y26bm1ZsB more details are forthcoming. Fixes #7195. 2010-12-09 13:34:28 -05:00
John Resig
9bd9ebdd73 Allow for versions with spaces in them, in the Makefile. 2010-10-23 00:35:09 -04:00
John Resig
ae772e7422 Updating the copy of Google Closure Compiler. 2010-10-14 16:35:35 -04:00
jeresig
2c04035cd1 Fix broken min file header generation. 2010-10-10 23:28:30 -04:00
Carl Fürstenberg
06883449d6 Makefile: cleanup
* updating init to either pull or clone, not do both
* make sure it building only when it needs to
* make some variables overridable
* use variables when they should be used instead of direct text
* add V verbosity variable
2010-09-22 11:21:59 -04:00
jeresig
1ed405176b Trim out the module wrappers during the build process. Follow-up to #7011. 2010-09-09 10:34:21 -04:00
Richard D. Worth
6803bf1fe5 Minor fix to Makefile so that 'make clean' doesn't fail when run immediately after 'make clean' 2010-07-21 22:47:13 +08:00
Richard D. Worth
4ec1b743a8 Simplified getting the commit date using git log --pretty. Fixed missing date in ant build. 2010-07-21 22:47:13 +08:00
jeresig
a33d01a7b0 Remove the need for the return in sizzle-jquery and just remove the attempt to expose Sizzle completely. jQuery is 100% passing JSLint ('make lint') now. 2010-03-01 21:56:08 -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
Iraê Carvalho
d3d497f900 Ignore potential error codes from Github in doing a clone. Fixes #6049. 2010-02-10 16:40:48 -05:00
jeresig
31f1e99500 Add a new build mode to the Makefile that doesn't try to pull from external sources (assumes that they're already built and not changing frequently). 2010-01-28 14:18:20 -05:00
jeresig
8e53f7b5d6 Fixed typo in logic, also disabled function setters in this case to allow the functions to passthrough and bind. 2010-01-12 21:54:06 -05:00
jeresig
c320e4f3c2 Accidentally removed the init from the Makefile selector build. 2010-01-12 10:33:04 -05:00
jeresig
7afe6dcc08 Make sure that Opera fires events after an aborted Ajax attempt. Fixes #5787. 2010-01-12 10:31:51 -05:00
jeresig
6cf981eea2 Allow the Makefile to be more resiliant to broken builds and handle redirecting the output better in more shells. Thanks to 'candlerb' on jquery-dev for the suggestion. 2009-12-31 09:59:16 -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
jeresig
b70872f70d Renamed the 'fx' module to 'effects'. Should've been done a long time ago. 2009-12-18 11:01:19 -05:00
John Resig
afaae84a7a support.js needs to come before event.js (also placed in a temporary setTimeout to delay the introduction of the ready in support - will remove when ready is moved to core.js, likely later today). 2009-12-07 07:45:20 -08:00
John Resig
ebad701751 Split the queue code out from data.js into a dedicated queue.js file (also split tests accordingly). 2009-12-06 17:19:33 -05:00
jeresig
5480cd3fa1 Shortened the build messages in the Makefile and added test/qunit and src/sizzle to the cleanup. 2009-11-30 15:54:14 -05:00
jeresig
d605b8ee56 Don't try to run the clone code if the directory already exists. 2009-11-30 15:52:41 -05:00
jeresig
6798df54f4 Switched from using Git Submodules to just doing a straight clone of the QUnit and Sizzle directories. Works much better for what we want. 2009-11-30 15:45:16 -05:00
jeresig
918cf68dfd Don't do the update after the pull - forces the submodules up to date. 2009-11-30 15:08:55 -05:00
John Resig
1ce92e022d Make sure that the submodules are pulling from the right location. 2009-11-11 18:08:07 -05:00
John Resig
a8b089a020 Force the submodules to keep up to date. 2009-11-10 02:13:58 +01:00
John Resig
81f65ce339 Pull in the Sizzle library dynamically using a submodule and make it part of the jQuery build process. 2009-10-26 18:23:31 -04:00
Jon Evans
b7ccc58afe fix sed statement used to extract the date 2009-10-23 23:13:47 +08:00
John Resig
bcbd06b66f Removed the revision info and fixed the date pull to work against git log instead of SVN. 2009-10-23 03:25:40 -04: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
b2e9680116 Removed the 'lite' build option (no longer used) and updated the README. 2009-10-22 21:56:49 -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
John Resig
4c85dec058 Added the submodule init/update to the Makefile for 'make test' and updated the README to be more current. 2009-10-22 21:44:44 -04:00
John Resig
520f1a2684 Broke the logic for .clean() wrap out into a separate, static, data structure. Also improved the performance of .html() looking for the case where .innerHTML can be used without problems. Also tweaked some cases where cleanData() was used, no need to use jQuery selectors in these cases. 2009-09-07 20:55:36 +00:00
Brandon Aaron
d7d908b05a decoupling styles retrieval from the attr method 2009-03-22 23:25:03 +00:00