]> source.dussan.org Git - jquery.git/log
jquery.git
13 years agoFix Makefile to use plain sed. Remove unicode trickery
Anton M [Mon, 24 Jan 2011 19:01:25 +0000 (20:01 +0100)]
Fix Makefile to use plain sed. Remove unicode trickery

13 years agoMakes prefilters and transport inspection more robust and uses better variable names...
jaubourg [Mon, 24 Jan 2011 03:22:46 +0000 (04:22 +0100)]
Makes prefilters and transport inspection more robust and uses better variable names for readability.

13 years agoRevised internal implementation of ajaxPrefilter() and ajaxTransport(). Everything...
jaubourg [Sun, 23 Jan 2011 21:03:24 +0000 (22:03 +0100)]
Revised internal implementation of ajaxPrefilter() and ajaxTransport(). Everything is shorter and more efficient now. Also fixes a couple spacing issues that remained.

13 years agoMore code style fixes.
jaubourg [Sun, 23 Jan 2011 19:46:09 +0000 (20:46 +0100)]
More code style fixes.

13 years agoApply JQuery Core Style Guidelines to ajax.js and ajax/*.js,
jaubourg [Sun, 23 Jan 2011 04:51:41 +0000 (05:51 +0100)]
Apply JQuery Core Style Guidelines to ajax.js and ajax/*.js,

13 years agoFixes some coding style issues in core.js. In jQuery.fn.ready(), simplifies the whole...
jaubourg [Sun, 23 Jan 2011 04:01:36 +0000 (05:01 +0100)]
Fixes some coding style issues in core.js. In jQuery.fn.ready(), simplifies the whole code (for better backward compatibility) and removes redefinition of the function itself (in order not to clash with proxying). Also, in jQuery.when(), removes unnecessary closure and early rejection test and makes use of then instead of done/fail (better interoperability).

13 years agoRe-organizes ajax.js: prefilters and transports are no longer stored in ajaxSettings...
jaubourg [Sat, 22 Jan 2011 03:45:20 +0000 (04:45 +0100)]
Re-organizes ajax.js: prefilters and transports are no longer stored in ajaxSettings (their structure is not handled correctly by extend() and was causing some overhead when constructing the final options map in ajax()); base function for ajaxPrefilter and ajaxTransport has been renamed and split in two (one for inspection, one for addition); response/dataType determination and data conversion logics have been externalized from the ajax() internal callback; data conversion no longer sets responseXXX fields; some minor re-formatting and simplifications.

13 years agoFix selector scope on some tests, so they don't fail on testswarm.
Anton M [Sat, 22 Jan 2011 00:12:18 +0000 (01:12 +0100)]
Fix selector scope on some tests, so they don't fail on testswarm.

13 years agoMerge branch '8017lint' of https://github.com/rwldrn/jquery into 8017lint
rwldrn [Fri, 21 Jan 2011 23:41:42 +0000 (00:41 +0100)]
Merge branch '8017lint' of https://github.com/rwldrn/jquery into 8017lint

13 years agoMerge branch 'fix-7398-frameset-docs' of https://github.com/dmethvin/jquery into...
jeresig [Fri, 21 Jan 2011 16:22:55 +0000 (11:22 -0500)]
Merge branch 'fix-7398-frameset-docs' of https://github.com/dmethvin/jquery into dmethvin-fix-7398-frameset-docs

13 years agoMerge branch '8013p' of https://github.com/rwldrn/jquery into rwldrn-8013p
jeresig [Fri, 21 Jan 2011 16:20:05 +0000 (11:20 -0500)]
Merge branch '8013p' of https://github.com/rwldrn/jquery into rwldrn-8013p

13 years agoBasic unit tests; This patch relies on the 51 existing clone() tests 200/head
rwldrn [Fri, 21 Jan 2011 16:08:15 +0000 (11:08 -0500)]
Basic unit tests; This patch relies on the 51 existing clone() tests

13 years agoDon't do body-related feature tests on frameset docs that have no body. Fixes #7398. 199/head
Dave Methvin [Fri, 21 Jan 2011 14:51:30 +0000 (09:51 -0500)]
Don't do body-related feature tests on frameset docs that have no body. Fixes #7398.

13 years agoRevert "Make sure that focusin/focusout bubbles in non-IE browsers." This was causing...
jeresig [Fri, 21 Jan 2011 14:24:09 +0000 (09:24 -0500)]
Revert "Make sure that focusin/focusout bubbles in non-IE browsers." This was causing problems with the focusin event, see: #7340.

This reverts commit 88068f82c199847d3679b130664dd91cc2e89f00.

Conflicts:

src/event.js
test/unit/event.js

13 years agoReplaces "text in-between" technique with a full-fledged one-level transitive search...
jaubourg [Fri, 21 Jan 2011 02:58:28 +0000 (03:58 +0100)]
Replaces "text in-between" technique with a full-fledged one-level transitive search for converters (unit tests added). Also cleans up auto dataType determination and adds converter checks in order to guess the best dataType possible.

13 years agoCleaned up; fixes per review
rwldrn [Thu, 20 Jan 2011 20:25:04 +0000 (15:25 -0500)]
Cleaned up; fixes per review

13 years agoMerge branch 'fix-7853-add-context' of https://github.com/dmethvin/jquery into dmethv...
John Resig [Thu, 20 Jan 2011 19:51:30 +0000 (14:51 -0500)]
Merge branch 'fix-7853-add-context' of https://github.com/dmethvin/jquery into dmethvin-fix-7853-add-context

13 years agoMerge branch 'master' of https://github.com/scottjehl/jquery into scottjehl-master
John Resig [Thu, 20 Jan 2011 19:39:57 +0000 (14:39 -0500)]
Merge branch 'master' of https://github.com/scottjehl/jquery into scottjehl-master

13 years agoMerge branch 'make_fix' of https://github.com/danheberden/jquery into danheberden...
John Resig [Thu, 20 Jan 2011 19:39:28 +0000 (14:39 -0500)]
Merge branch 'make_fix' of https://github.com/danheberden/jquery into danheberden-make_fix

13 years agocloneCopyEvent; jQuery.clone() review
rwldrn [Thu, 20 Jan 2011 19:25:56 +0000 (14:25 -0500)]
cloneCopyEvent; jQuery.clone() review

13 years agoMoves determineResponse logic into main ajax callback. Puts responseXXX fields defini...
jaubourg [Thu, 20 Jan 2011 18:40:51 +0000 (19:40 +0100)]
Moves determineResponse logic into main ajax callback. Puts responseXXX fields definitions into ajaxSettings.

13 years agoRemoves misleading comment.
jaubourg [Thu, 20 Jan 2011 17:50:47 +0000 (18:50 +0100)]
Removes misleading comment.

13 years agoMerge branch 'master' of github.com:jquery/jquery
jeresig [Thu, 20 Jan 2011 16:58:52 +0000 (11:58 -0500)]
Merge branch 'master' of github.com:jquery/jquery

13 years agoBring jQuery('#id') and jQuery('body') logic back into core (while leaving it in...
jeresig [Thu, 20 Jan 2011 16:58:44 +0000 (11:58 -0500)]
Bring jQuery('#id') and jQuery('body') logic back into core (while leaving it in Sizzle at the same time). Was causing too much of a performance hit to leave it all to Sizzle.

13 years agoMerge branch 'master' of github.com:jquery/jquery
jaubourg [Thu, 20 Jan 2011 16:52:10 +0000 (17:52 +0100)]
Merge branch 'master' of github.com:jquery/jquery

13 years agoRenames Deferred's fire and fireReject methods as resolveWith and rejectWith respecti...
jaubourg [Thu, 20 Jan 2011 16:51:57 +0000 (17:51 +0100)]
Renames Deferred's fire and fireReject methods as resolveWith and rejectWith respectively.

13 years agoFix typo in regex tweak from previous commit.
jeresig [Thu, 20 Jan 2011 16:46:50 +0000 (11:46 -0500)]
Fix typo in regex tweak from previous commit.

13 years agoRenames determineDataType as determineResponse. Makes it more generic as a first...
jaubourg [Thu, 20 Jan 2011 16:38:21 +0000 (17:38 +0100)]
Renames determineDataType as determineResponse. Makes it more generic as a first step into integrating the logic into the main ajax done callback. Also fixes some comments in ajax/xhr.js.

13 years agoMove jQuery(...) selector speed-up logic into Sizzle(...) qSA handling. Additionally...
jeresig [Thu, 20 Jan 2011 16:34:35 +0000 (11:34 -0500)]
Move jQuery(...) selector speed-up logic into Sizzle(...) qSA handling. Additionally add in a new catch for Sizzle('.class') (avoid using qSA and use getElementsByClassName instead, where applicable).

13 years agoRevises the way arguments are handled in ajax.
jaubourg [Thu, 20 Jan 2011 15:22:36 +0000 (16:22 +0100)]
Revises the way arguments are handled in ajax.

13 years agoMakes sure statusCode callbacks are ordered in the same way success and error callbac...
jaubourg [Thu, 20 Jan 2011 14:39:30 +0000 (15:39 +0100)]
Makes sure statusCode callbacks are ordered in the same way success and error callbacks are. Unit tests added.

13 years agoCleans up and simplifies code shared by ajaxPrefilter and ajaxTransport. Removes...
jaubourg [Thu, 20 Jan 2011 03:12:15 +0000 (04:12 +0100)]
Cleans up and simplifies code shared by ajaxPrefilter and ajaxTransport. Removes chainability of ajaxSetup, ajaxPrefilter and ajaxTransport. Also makes sure context is handled properly by ajaxSetup (unit test added).

13 years agoRework unit tests to check actual result elements. 153/head
Dave Methvin [Thu, 20 Jan 2011 02:02:46 +0000 (21:02 -0500)]
Rework unit tests to check actual result elements.

13 years agoMoves active counter test after all other ajax tests where it should be.
jaubourg [Wed, 19 Jan 2011 17:44:21 +0000 (18:44 +0100)]
Moves active counter test after all other ajax tests where it should be.

13 years agoRevised the Nokia support fallback. It turns out that Nokia supports the documentElem... 143/head
scottjehl [Wed, 19 Jan 2011 17:40:32 +0000 (12:40 -0500)]
Revised the Nokia support fallback. It turns out that Nokia supports the documentElement property but does not define document.compatMode. Adding this third fallback allows Nokia to run jQuery error-free and return proper values for window width and height.

13 years agoMoves things around to make jsLint happier.
jaubourg [Wed, 19 Jan 2011 17:36:42 +0000 (18:36 +0100)]
Moves things around to make jsLint happier.

13 years agoFixes crossDomain test so that it assumes port to be 80 for http and 443 for https...
jaubourg [Wed, 19 Jan 2011 17:35:40 +0000 (18:35 +0100)]
Fixes crossDomain test so that it assumes port to be 80 for http and 443 for https when it is not provided.

13 years agoMerge remote branch 'upstream/master'
scottjehl [Wed, 19 Jan 2011 17:32:57 +0000 (12:32 -0500)]
Merge remote branch 'upstream/master'

13 years agoMoves determineDataType into ajaxSettings so that it is accessible to transports...
jaubourg [Wed, 19 Jan 2011 17:16:29 +0000 (18:16 +0100)]
Moves determineDataType into ajaxSettings so that it is accessible to transports without the need for a second argument and so that we can now pass the original options to the transport instead. Also ensures the original options are actually propagated to prefilters (they were not).

13 years agoRe-adds hastily removed variable and simplifies statusCode based callbacks handling.
jaubourg [Wed, 19 Jan 2011 16:51:33 +0000 (17:51 +0100)]
Re-adds hastily removed variable and simplifies statusCode based callbacks handling.

13 years agoUse undefined instead of 0 to deference transport for clarity.
jaubourg [Wed, 19 Jan 2011 16:24:56 +0000 (17:24 +0100)]
Use undefined instead of 0 to deference transport for clarity.

13 years agoRemoves unnecessary test and ensures getResponseHeader returns null if the header...
jaubourg [Wed, 19 Jan 2011 16:21:51 +0000 (17:21 +0100)]
Removes unnecessary test and ensures getResponseHeader returns null if the header does not exist.

13 years agoRevised how context is determined and removed unnecessary "parameter as variable...
jaubourg [Wed, 19 Jan 2011 16:06:33 +0000 (17:06 +0100)]
Revised how context is determined and removed unnecessary "parameter as variable" trick.

13 years agoMoved ajaxSettings.xhr definition together with support.ajax and support.cors determi...
jaubourg [Wed, 19 Jan 2011 15:55:26 +0000 (16:55 +0100)]
Moved ajaxSettings.xhr definition together with support.ajax and support.cors determination into ajax/xhr.js.

13 years agoRevert uglify.js to original and handle build changes in make file 191/head
Dan Heberden [Wed, 19 Jan 2011 10:11:43 +0000 (02:11 -0800)]
Revert uglify.js to original and handle build changes in make file

13 years agoRemove an unused regex and optimize character escape regex usage.
Anton M [Tue, 18 Jan 2011 23:15:28 +0000 (00:15 +0100)]
Remove an unused regex and optimize character escape regex usage.

13 years agoMerge branch 'master' of https://github.com/mathiasbynens/jquery into mathiasbynens...
John Resig [Tue, 18 Jan 2011 23:11:54 +0000 (18:11 -0500)]
Merge branch 'master' of https://github.com/mathiasbynens/jquery into mathiasbynens-master

13 years agoMerge branch 'chrome-slice-comment' of https://github.com/ajpiano/jquery into ajpiano...
John Resig [Tue, 18 Jan 2011 23:07:37 +0000 (18:07 -0500)]
Merge branch 'chrome-slice-comment' of https://github.com/ajpiano/jquery into ajpiano-chrome-slice-comment

13 years agoWeird, not sure why I got an exec error before - doesn't seem to be needed.
John Resig [Tue, 18 Jan 2011 23:06:44 +0000 (18:06 -0500)]
Weird, not sure why I got an exec error before - doesn't seem to be needed.

13 years agoAdd missing line break after copyright header and trailing semicolon at the end of... 190/head
Mathias Bynens [Tue, 18 Jan 2011 22:14:32 +0000 (23:14 +0100)]
Add missing line break after copyright header and trailing semicolon at the end of the minified version.

13 years agoMake sure that the UglifyJS file is executable.
John Resig [Tue, 18 Jan 2011 21:40:42 +0000 (16:40 -0500)]
Make sure that the UglifyJS file is executable.

13 years agoAdd another tweak for handling CSP - we need to make sure that we don't trigger any...
John Resig [Tue, 18 Jan 2011 20:13:09 +0000 (15:13 -0500)]
Add another tweak for handling CSP - we need to make sure that we don't trigger any eval on load (not sure if it's the best tweak, definitely not ideal). Add a test page as well so that it's easier to catch problem.

13 years agoMerge branch 'master' of https://github.com/russtacular/jquery into russtacular-master
John Resig [Tue, 18 Jan 2011 19:20:05 +0000 (14:20 -0500)]
Merge branch 'master' of https://github.com/russtacular/jquery into russtacular-master

13 years agoClarify cygwin instructions slightly and swap the order of arguments to which in...
Colin Snover [Tue, 18 Jan 2011 03:06:57 +0000 (21:06 -0600)]
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.

13 years agoUpdate Makefile to use either nodejs or node, whichever exists (Debian uses nodejs).
Colin Snover [Tue, 18 Jan 2011 01:04:32 +0000 (19:04 -0600)]
Update Makefile to use either nodejs or node, whichever exists (Debian uses nodejs).

13 years agoUpdate unit test for #7608 which was leaking timers.
rwldrn [Tue, 18 Jan 2011 00:55:40 +0000 (18:55 -0600)]
Update unit test for #7608 which was leaking timers.

13 years agoReplace build system with a faster new one that uses Node and UglifyJS and generates...
Colin Snover [Tue, 18 Jan 2011 00:49:24 +0000 (18:49 -0600)]
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.

13 years agoDisabled a broken test for now, until WebKit browsers become more current.
jeresig [Mon, 17 Jan 2011 23:12:42 +0000 (18:12 -0500)]
Disabled a broken test for now, until WebKit browsers become more current.

13 years agoAccidentally removed the module teardown code.
jeresig [Mon, 17 Jan 2011 23:08:51 +0000 (18:08 -0500)]
Accidentally removed the module teardown code.

13 years agoOpera was falling back to undefined, which it didn't appreciate.
jeresig [Mon, 17 Jan 2011 23:07:52 +0000 (18:07 -0500)]
Opera was falling back to undefined, which it didn't appreciate.

13 years agoMerge branch 'master' of github.com:jquery/jquery
jeresig [Mon, 17 Jan 2011 22:44:54 +0000 (17:44 -0500)]
Merge branch 'master' of github.com:jquery/jquery

13 years agoFixed a couple issues with escaping of attribute values in selectors. Fixes #6093.
jeresig [Mon, 17 Jan 2011 22:44:42 +0000 (17:44 -0500)]
Fixed a couple issues with escaping of attribute values in selectors. Fixes #6093.

13 years agoFix tabs vs spaces in initial workaround commit 186/head
adam j. sontag [Mon, 17 Jan 2011 22:20:37 +0000 (17:20 -0500)]
Fix tabs vs spaces in initial workaround commit

13 years agoshorten the SHA
adam j. sontag [Mon, 17 Jan 2011 22:08:44 +0000 (17:08 -0500)]
shorten the SHA

13 years agoAdd link to chrome issue ticket
adam j. sontag [Mon, 17 Jan 2011 22:03:45 +0000 (17:03 -0500)]
Add link to chrome issue ticket

13 years agoMerge branch 'master' of github.com:jquery/jquery into jquery-master
Colin Snover [Mon, 17 Jan 2011 21:32:57 +0000 (15:32 -0600)]
Merge branch 'master' of github.com:jquery/jquery into jquery-master

13 years agoMerge in data_nocollide branch. Fixes #6968, improves unit testing framework checks...
Colin Snover [Mon, 17 Jan 2011 21:31:43 +0000 (15:31 -0600)]
Merge in data_nocollide branch. Fixes #6968, improves unit testing framework checks for leaky stuff.

13 years agoDefer scriptEval test until first use to prevent Content Security Policy inline-scrip...
Brandon Sterne [Mon, 17 Jan 2011 21:31:12 +0000 (16:31 -0500)]
Defer scriptEval test until first use to prevent Content Security Policy inline-script violations from occuring. Fixes #7371.

13 years agoIntroduce a temporary hack to allow jQuery.fn.data("events") to continue to work... 170/head
Colin Snover [Mon, 17 Jan 2011 21:22:49 +0000 (15:22 -0600)]
Introduce 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.

13 years agoAdd a comment to explain (and enforce the temporary-ness of) an extra line of code...
adam j. sontag [Mon, 17 Jan 2011 21:10:14 +0000 (16:10 -0500)]
Add a comment to explain (and enforce the temporary-ness of) an extra line of code added to workaround a Chrome 10 bug

13 years agoMerge branch '7608' of https://github.com/rwldrn/jquery into rwldrn-7608
jeresig [Mon, 17 Jan 2011 20:50:20 +0000 (15:50 -0500)]
Merge branch '7608' of https://github.com/rwldrn/jquery into rwldrn-7608

13 years agoMerging pull request 183 for #7793.
jeresig [Mon, 17 Jan 2011 20:45:07 +0000 (15:45 -0500)]
Merging pull request 183 for #7793.

13 years agoAdded unit tests to check and demonstrate new jQuery.Deferred() works.
jaubourg [Mon, 17 Jan 2011 16:52:30 +0000 (17:52 +0100)]
Added unit tests to check and demonstrate new jQuery.Deferred() works.

13 years agoPut the split to get the list of promise methods out of the promise method itself...
jaubourg [Sun, 16 Jan 2011 17:33:32 +0000 (18:33 +0100)]
Put 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.

13 years agoImplements joined jQuery.when statements. Makes it so calling jQuery.when with no...
jaubourg [Sun, 16 Jan 2011 16:41:39 +0000 (17:41 +0100)]
Implements 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.

13 years agoFixed the ajax test regarding the jsonp option set to false and added a test to contr...
jaubourg [Sun, 16 Jan 2011 04:36:20 +0000 (05:36 +0100)]
Fixed 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.

13 years agoRevised jsonp unit tests and added a test for when the jsonp option is set to false.
jaubourg [Sun, 16 Jan 2011 04:27:16 +0000 (05:27 +0100)]
Revised jsonp unit tests and added a test for when the jsonp option is set to false.

13 years agoSetting the jsonp option to false now inhibits any url manipulation regarding the...
jaubourg [Sun, 16 Jan 2011 04:26:46 +0000 (05:26 +0100)]
Setting the jsonp option to false now inhibits any url manipulation regarding the callback.

13 years agoThe script prefilter now forces cross-domain requests type to GET.
jaubourg [Sun, 16 Jan 2011 04:25:45 +0000 (05:25 +0100)]
The script prefilter now forces cross-domain requests type to GET.

13 years agoMakes it so a prefilter can change the type of a request.
jaubourg [Sun, 16 Jan 2011 04:24:14 +0000 (05:24 +0100)]
Makes it so a prefilter can change the type of a request.

13 years agoRemoved internal dataTypes option and added headers & crossDomain options into commen...
jaubourg [Sun, 16 Jan 2011 02:05:03 +0000 (03:05 +0100)]
Removed internal dataTypes option and added headers & crossDomain options into commented out options of ajaxSettings.

13 years agoFixes #2994. Not finding a transport now fires the error callbacks and doesn't make...
jaubourg [Sun, 16 Jan 2011 01:57:39 +0000 (02:57 +0100)]
Fixes #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.

13 years agoUpdate test case to feature-detect Opera's lack of defaultPrevented and skip the... 183/head
Dave Methvin [Sat, 15 Jan 2011 15:24:13 +0000 (10:24 -0500)]
Update test case to feature-detect Opera's lack of defaultPrevented and skip the test for it.

13 years agoUpdating the source version to 1.5pre.
jeresig [Fri, 14 Jan 2011 19:56:37 +0000 (14:56 -0500)]
Updating the source version to 1.5pre.

13 years agoTagging the 1.5b1 release. 1.5b1
jeresig [Fri, 14 Jan 2011 19:56:21 +0000 (14:56 -0500)]
Tagging the 1.5b1 release.

13 years agoRevert "Revert fb4445070cd9e06929c7b6f27c10dbf42d4a3367 which is no longer necessary...
jeresig [Fri, 14 Jan 2011 19:12:29 +0000 (14:12 -0500)]
Revert "Revert fb4445070cd9e06929c7b6f27c10dbf42d4a3367 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.

This reverts commit 012f0c3b4bd3d04c2f3e1ea80fc1230901d607d9.

13 years agoSo embarrassing :(
wycats [Fri, 14 Jan 2011 17:46:14 +0000 (12:46 -0500)]
So embarrassing :(

13 years agoMerge branch 'master' of https://github.com/scottgonzalez/jquery
jeresig [Fri, 14 Jan 2011 16:23:05 +0000 (11:23 -0500)]
Merge branch 'master' of https://github.com/scottgonzalez/jquery

13 years agoFix a strange Chrome issue
wycats [Fri, 14 Jan 2011 16:21:45 +0000 (11:21 -0500)]
Fix a strange Chrome issue

13 years agoFix a failing subclass test due to a change in master
wycats [Fri, 14 Jan 2011 16:17:32 +0000 (11:17 -0500)]
Fix a failing subclass test due to a change in master

13 years agoOverwrite CRLF with LF
wycats [Fri, 14 Jan 2011 15:36:45 +0000 (10:36 -0500)]
Overwrite CRLF with LF

13 years agoadded jQuery.subclass
Jared Grippe [Sun, 10 Oct 2010 00:32:54 +0000 (17:32 -0700)]
added jQuery.subclass

13 years agoAvoid running jQuery.unique() for methods that are guaranteed to produce a unique... 180/head
Scott González [Fri, 14 Jan 2011 14:55:40 +0000 (09:55 -0500)]
Avoid running jQuery.unique() for methods that are guaranteed to produce a unique result set. Fixes #7964 - Some traversal methods perform an unnecessary uniqueness check.

13 years agoset name to lowercase, since it's passed as initial caps
scottjehl [Thu, 13 Jan 2011 19:20:00 +0000 (14:20 -0500)]
set name to lowercase, since it's passed as initial caps

13 years agoMerge branch 'master' of https://github.com/jquery/jquery
scottjehl [Thu, 13 Jan 2011 19:14:04 +0000 (14:14 -0500)]
Merge branch 'master' of https://github.com/jquery/jquery

13 years agoMoved jQuery.ajax.prefilter and jQuery.ajax.transport to jQuery.ajaxPrefilter and...
jaubourg [Thu, 13 Jan 2011 17:33:24 +0000 (18:33 +0100)]
Moved 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(...).

13 years agoFixes #4964. Adds a statusCode object together with a new statusCode method on the...
jaubourg [Thu, 13 Jan 2011 16:01:25 +0000 (17:01 +0100)]
Fixes #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.

13 years agoRemoved xhr pooling since failing cross-domain requests leaves the xhr object in...
jaubourg [Thu, 13 Jan 2011 15:58:16 +0000 (16:58 +0100)]
Removed 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.

13 years agoReworked script and xhr abort logic to take advantage of the fact jXHR.abort will...
jaubourg [Thu, 13 Jan 2011 01:05:39 +0000 (02:05 +0100)]
Reworked script and xhr abort logic to take advantage of the fact jXHR.abort will complete the request itself if not done already.

13 years agoCleans up statusText handling and simplifies 304 notmodified logic.
jaubourg [Thu, 13 Jan 2011 00:43:42 +0000 (01:43 +0100)]
Cleans up statusText handling and simplifies 304 notmodified logic.