3d0aa196c5Clarify 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.
Colin Snover
2011-01-17 21:06:57 -0600
9ae837a167Update Makefile to use either nodejs or node, whichever exists (Debian uses nodejs).
Colin Snover
2011-01-17 19:04:32 -0600
35aeac1336Update unit test for #7608 which was leaking timers.
rwldrn
2011-01-17 18:55:40 -0600
d503845d0cReplace 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.
Colin Snover
2011-01-17 18:49:24 -0600
9c76ac4f6dDisabled a broken test for now, until WebKit browsers become more current.
jeresig
2011-01-17 18:12:42 -0500
e01e8d434dAccidentally removed the module teardown code.
jeresig
2011-01-17 18:08:51 -0500
3ab7b72919Opera was falling back to undefined, which it didn't appreciate.
jeresig
2011-01-17 18:07:52 -0500
733eb5e253Merge branch 'master' of github.com:jquery/jquery
jeresig
2011-01-17 17:44:54 -0500
0c1ffe3cb3Fixed a couple issues with escaping of attribute values in selectors. Fixes#6093.
jeresig
2011-01-17 17:44:42 -0500
d9660e1bf4Fix tabs vs spaces in initial workaround commit
adam j. sontag
2011-01-17 17:20:37 -0500
78be517727shorten the SHA
adam j. sontag
2011-01-17 17:08:44 -0500
4058881784Add link to chrome issue ticket
adam j. sontag
2011-01-17 17:03:45 -0500
0cbe4cb8bdMerge branch 'master' of github.com:jquery/jquery into jquery-master
Colin Snover
2011-01-17 15:32:57 -0600
e78d3a7e2dMerge in data_nocollide branch. Fixes#6968, improves unit testing framework checks for leaky stuff.
Colin Snover
2011-01-17 15:31:43 -0600
220a0ce162Defer scriptEval test until first use to prevent Content Security Policy inline-script violations from occuring. Fixes#7371.
Brandon Sterne
2011-01-17 16:31:12 -0500
57cc182a40Introduce a temporary hack to allow jQuery.fn.data("events") to continue to work. This will be going away in 1.6. More information will be available in the 1.5 release notes.
Colin Snover
2011-01-17 15:22:49 -0600
28a1bad7b1Add a comment to explain (and enforce the temporary-ness of) an extra line of code added to workaround a Chrome 10 bug
adam j. sontag
2011-01-17 16:10:14 -0500
987c44bee4Merging pull request 183 for #7793.
jeresig
2011-01-17 15:45:07 -0500
ac2e731b2dAdded unit tests to check and demonstrate new jQuery.Deferred() works.
jaubourg
2011-01-17 17:52:30 +0100
5798446b98Put the split to get the list of promise methods out of the promise method itself and also switched from jQuery.each to a while loop to remove as much overhead as possible. Thanks go to scott_gonzalez for reminding me of this.
jaubourg
2011-01-16 18:33:32 +0100
c272f5f7daImplements joined jQuery.when statements. Makes it so calling jQuery.when with no parameter returns a resolved promise. Ensures promise method on promises supports the promise(obj) signature. Ensures a deferred and its promise always return the same promise (itself for the promise). Unit tests provided.
jaubourg
2011-01-16 17:41:39 +0100
cfca6d3836Fixed the ajax test regarding the jsonp option set to false and added a test to control the prefilter actually does not tamper with the url.
jaubourg
2011-01-16 05:36:20 +0100
0e93b2e24cRevised jsonp unit tests and added a test for when the jsonp option is set to false.
jaubourg
2011-01-16 05:27:16 +0100
158fa822deSetting the jsonp option to false now inhibits any url manipulation regarding the callback.
jaubourg
2011-01-16 05:26:46 +0100
f74b844989The script prefilter now forces cross-domain requests type to GET.
jaubourg
2011-01-16 05:25:45 +0100
914aa3d66bMakes it so a prefilter can change the type of a request.
jaubourg
2011-01-16 05:24:14 +0100
21143c3b21Removed internal dataTypes option and added headers & crossDomain options into commented out options of ajaxSettings.
jaubourg
2011-01-16 03:05:03 +0100
8ab23aec2cFixes#2994. Not finding a transport now fires the error callbacks and doesn't make ajax return false. Had to revise how jsonp and script prefilters & transports work (better separation of concerns). Also took the opportunity to revise jXHR getRequestHeader and abort methods and enabled early transport garbage collection when the request completes.
jaubourg
2011-01-16 02:57:39 +0100
007e2d152eUpdate test case to feature-detect Opera's lack of defaultPrevented and skip the test for it.
Dave Methvin
2011-01-15 10:24:13 -0500
75655e5758Use parseFloat instead of parseInt to read CSS values.
Sylvester Keil
2011-01-15 13:56:20 +0100
d9cb69873cUpdating the source version to 1.5pre.
jeresig
2011-01-14 14:56:37 -0500
bcdd4f8173Tagging the 1.5b1 release.
1.5b1
jeresig
2011-01-14 14:56:21 -0500
cf7ddcf79aRevert "Revert fb4445070c which is no longer necessary with the release of Opera 11. Fixes #7608." We will be continuing to support Opera 10.6 in jQuery 1.5.
jeresig
2011-01-14 14:12:29 -0500
52a02383faFix a strange Chrome issue
wycats
2011-01-14 11:21:45 -0500
fa45f25d1cFix a failing subclass test due to a change in master
wycats
2011-01-14 11:17:32 -0500
3716f2d041Overwrite CRLF with LF
wycats
2011-01-14 10:36:45 -0500
d483ce0a9cadded jQuery.subclass
Jared Grippe
2010-10-09 17:32:54 -0700
e5ee89ec9aAvoid running jQuery.unique() for methods that are guaranteed to produce a unique result set. Fixes#7964 - Some traversal methods perform an unnecessary uniqueness check.
Scott González
2011-01-14 09:55:40 -0500
73d060b522set name to lowercase, since it's passed as initial caps
scottjehl
2011-01-13 14:20:00 -0500
a8fa5f2ec1Moved jQuery.ajax.prefilter and jQuery.ajax.transport to jQuery.ajaxPrefilter and jQuery.ajaxTransport so that proxying the ajax method doesn't turn into a nightmare. Thanks go to scott_gonzalez and DaveMethvin for pointing out the issue. Also made ajaxSetup return "this" to enable chainable definitions -- jQuery.ajaxSetup(...).ajaxPrefilter(...).ajaxTransport(...).
jaubourg
2011-01-13 18:33:24 +0100
44fc87f66cFixes#4964. Adds a statusCode object together with a new statusCode method on the jXHR object (deferred behaviour). They accept a map of statusCode/callback(s). Callbacks are fired when the status code of the response correponds to the key (as a success or an error callback depending on how the request completed). Unit tests added.
jaubourg
2011-01-13 17:01:25 +0100
57956152d8Removed xhr pooling since failing cross-domain requests leaves the xhr object in an undefined state in Firefox. Also rewrote comments related to the active xhr list so that they make sense.
jaubourg
2011-01-13 16:58:16 +0100
667a3b31e6Reworked script and xhr abort logic to take advantage of the fact jXHR.abort will complete the request itself if not done already.
jaubourg
2011-01-13 02:05:39 +0100
b07d43c649Cleans up statusText handling and simplifies 304 notmodified logic.
jaubourg
2011-01-13 01:43:42 +0100
97b244312eRemoves unnecessary variables and adds much needed comments into the data conversion logic in ajax.
jaubourg
2011-01-13 01:18:46 +0100
ed1144816bFixes a regression by calling dataFilter with the second argument set as the dataType.
jaubourg
2011-01-13 00:49:58 +0100
e9fb7d5be6Gets rid of a var statement by moving variable declarations up.
jaubourg
2011-01-13 00:41:10 +0100
e221d39e98Script transport now uses ajaxSetup to define script dataType.
jaubourg
2011-01-12 18:54:15 +0100
14b07ec5deAjaxSetup now uses deep extend internally to accomodate map structured options.
jaubourg
2011-01-12 18:53:00 +0100
0c51e9d55fFixes#4897. Added ?? as a context-insensitive placeholder for the callback name of a JSONP request. Unit tests provided.
jaubourg
2011-01-12 18:36:00 +0100
f83cdc3c4cYet another missing semicolon!
jaubourg
2011-01-11 23:43:02 +0100
6504d4f700Fixes#6230. Added a unit test to control that, since the ajax rewrite, setting the Accept header actually replaced the previous value and didn't append to it (tested in Safari 4.0.4 for which the problem was specifically reported).
jaubourg
2011-01-11 23:01:18 +0100
5a721cf31bFixes 4825. jQuery.fn.load: use the jXHR's Promise interface to get the actual response in case ajaxSettings contains a dataFilter. Unit test added.
jaubourg
2011-01-11 20:02:33 +0100
9bd9d270f6whitespace fixes in unit tests
rwldrn
2011-01-10 13:17:08 -0500
b78e3fc39fBug 7931; Inverted logic in scrollTop/Left (i.e. made
Xavi
2011-01-09 20:51:20 -0500
bed64e65ccBug 7931; Added unit tests for scrollTop/Left.
Xavi
2011-01-09 20:39:23 -0500
8d28f41f66Bug 7931; Replaced with and
Xavi
2011-01-09 20:34:15 -0500
628bacc3ceBug 7931; Added missing semicolon and replaced '!=' with '!==' to allow null through
Xavi
2011-01-09 20:12:29 -0500
c5c1f18adbMerge branch 'master' of github.com:jquery/jquery into jquery-master
Colin Snover
2011-01-09 18:41:15 -0600
b14f02899eEnsure that buildFragment clones elements properly in all browsers. Fixes#3879, #6655. Also improves form element clone tests and fixes bugs in $.fn.clone exposed by these new test cases related to the values of checkboxes and radio buttons in IE.
Colin Snover
2011-01-09 18:38:44 -0600
d03d2e9f26Bug 7931; Fixed bug that caused scrollTop and scrollLeft setters to return null when called on an empty jquery object
Xavi
2011-01-09 19:11:05 -0500
84319aa4a3Fixes a race condition in JSONP Local test.
jaubourg
2011-01-10 00:52:20 +0100
012f0c3b4bRevert fb4445070c which is no longer necessary with the release of Opera 11. Fixes#7608.
Colin Snover
2011-01-09 17:34:58 -0600
fcf623786aEnsure that the DOM element ref in an event handler is removed by cleanData to avoid an IE6/7/8 memory leak. Fixes#7054.
Dave Methvin
2011-01-09 16:25:44 -0600
4e86766d54Change embedded regexp to a variable (for #6876).
Dave Methvin
2011-01-09 16:22:11 -0600
e2941d5a98Update unit tests with a leak detection mechanism for the various jQuery globals and fix all leaks in the tests.
Colin Snover
2011-01-09 15:58:47 -0600
80af46e8ffFix jQuery.queue leaks empty queues.
Colin Snover
2011-01-09 15:58:23 -0600
885d06c8efFix domManip leaks the first element when appending elements to multiple other elements.
Colin Snover
2011-01-09 15:56:40 -0600
8e59a99e0aChange the way jQuery.data works so that there is no longer a chance of collision between user data and internal data. Fixes#6968.
Colin Snover
2011-01-09 15:52:33 -0600
1d1d4fe112Moved unload abort code so that the event is only bound if the xhr transport is used. Fixes#5280.
jaubourg
2011-01-09 22:20:58 +0100
8c8bd3bf6aFixes#5812. =? will be detected even when it has been escaped during data serialization.
jaubourg
2011-01-09 21:48:52 +0100
62a1a1a8faFixes#5803. Reworked jsonp prefilter so that it sets the dataType as jsonp and recognizes requests with originalSettings having jsonp or jsonpCallback to be jsonp. Moved default jsonp option value into ajaxSettings. Attached the transport to "jsonp" which avoids unnecessary testing. Transport factory sets dataType back to json for proper data conversion.
jaubourg
2011-01-09 21:19:27 +0100
0f28835ee9Make it so prefilters get access to the original settings.
jaubourg
2011-01-09 20:31:15 +0100
5a5f67800bFixes#5955. Option crossDomain now forces ajax to consider a request as cross-domain even when it is not. Useful for when servers issue redirects to cross-domain urls. Unit test added.
jaubourg
2011-01-09 16:50:13 +0100
c55a76a23fMake sure prefilters have been called and transport has been selected before sending any global event (in case the "global" option has been changed).
jaubourg
2011-01-09 16:32:51 +0100
63487505c6Added a test for retrying a request on error using jQuery.ajax(this). Works as intended. Fixes#7461.
jaubourg
2011-01-09 06:19:27 +0100
afefb4f3d2Fixes#7465. Reworked the regexp and associated test for cross-domain detection so that it now includes ports. Added cross-domain detection tests for protocol, hostname and port.
jaubourg
2011-01-09 06:01:00 +0100
d515068ee8Fixes#7868. ResponseText is now properly propagated for error callbacks.
jaubourg
2011-01-09 04:53:29 +0100
69497c3fd7Fixes#7881. Setting contentType to false will prevent the Content-Type header from being sent. Unit test added.
jaubourg
2011-01-09 04:28:42 +0100
98c6c4b2b0Added a simple cache for xhr objects in the xhr transport.
jaubourg
2011-01-09 04:03:00 +0100
1ca82ccd94Renamed "complete" to "done" in order to avoid conflicts with jXHR.complete.
jaubourg
2011-01-06 01:26:06 +0100
47e4cc1a0fFixed mixing of tabs & spaces to make JSLint happier.
jaubourg
2011-01-06 01:18:03 +0100
c43b078c69Renamed src/transports to src/ajax (in case we need prefilters in the future and to avoid a separate prefilters directory).
jaubourg
2011-01-06 01:17:31 +0100
e56de77df9Cleaning up trailing whitespace again.
Colin Snover
2011-01-05 15:41:23 -0600
ae6655bcb6Revert "Register as a CommonJS async module if in that kind of environment. Fixes #7102."
wycats
2011-01-05 13:26:05 -0800
8099cdce80Bug #7608 elem.runtimeStyle throws exception in Opera
rwldrn
2011-01-05 13:32:59 -0500
cbf591152c"then" renamed "complete" and new "then" method defined using "complete" and "fail" internally. The API is still symetrical (complete/fail), still promotes AOP but is also now Promise/A compliant. Changed unit tests and ajax module accordingly.
jaubourg
2011-01-05 04:29:30 +0100
4ab94a578eUpdating year to 2011.
jeresig
2011-01-04 06:52:26 -0800
612a908514#7883 .delegate and .live should accept false as the fn arg, like bind
rwldrn
2011-01-01 13:49:59 -0500
eed3803c98When serializing text, encode all line breaks as CRLF pairs per the application/x-www-form-urlencoded specification. Fixes#6876.
Dave Methvin
2010-12-31 13:56:51 -0600
7e2810fa95Merge branch 'deferred' of github.com:jquery/jquery into deferred
jaubourg
2010-12-31 04:21:08 +0100
6fb9759a75Simplified the way a Promise is tested for (removed promiseMarker). Removed isCancelled helper method from _Deferred, wasn't used nor tested. Reworked jQuery.Deferred and removed unnecessary variables. Also ensured a Promise will return itself when asked for a Promise. Finally, the jQuery.when tests have been revamped.
jaubourg
2010-12-30 17:06:53 +0100