]> source.dussan.org Git - jquery.git/log
jquery.git
15 years agoTweaked the isXMLDoc iframe test case to test the document, not the body element...
John Resig [Thu, 27 Aug 2009 19:22:48 +0000 (19:22 +0000)]
Tweaked the isXMLDoc iframe test case to test the document, not the body element (which doesn't exist in IE). Also made the isXMLDoc code handle cases where elem is null, undefined, etc.

15 years agoIf the XHR object no longer exists assume that the request was aborted.
John Resig [Wed, 26 Aug 2009 17:39:52 +0000 (17:39 +0000)]
If the XHR object no longer exists assume that the request was aborted.

15 years agoTemporarily disabled some tests for Opera 10 - a variety of problems with input eleme...
John Resig [Wed, 26 Aug 2009 16:29:46 +0000 (16:29 +0000)]
Temporarily disabled some tests for Opera 10 - a variety of problems with input elements and selectors exist.

15 years agoMoved exposing window.jQuery and window.$ to the end of the jQuery file (helps some...
John Resig [Mon, 10 Aug 2009 21:22:31 +0000 (21:22 +0000)]
Moved exposing window.jQuery and window.$ to the end of the jQuery file (helps some compatibility cases with older version of Prototype). Fixes ticket #4834.

15 years agoAdded support for .closest(filter, DOMElement). Fixes #4072.
John Resig [Tue, 28 Jul 2009 12:28:59 +0000 (12:28 +0000)]
Added support for .closest(filter, DOMElement). Fixes #4072.

15 years agoBacking out commit #6507 - causes too many problems.
John Resig [Tue, 28 Jul 2009 12:22:10 +0000 (12:22 +0000)]
Backing out commit #6507 - causes too many problems.

15 years agoFix some missing braces in core.js.
John Resig [Mon, 27 Jul 2009 20:48:42 +0000 (20:48 +0000)]
Fix some missing braces in core.js.

15 years agoAdded an improvement to quickExpr and some more tests for jQuery('html'). Fixes ...
John Resig [Mon, 27 Jul 2009 20:47:32 +0000 (20:47 +0000)]
Added an improvement to quickExpr and some more tests for jQuery('html'). Fixes #4979.

15 years agoMake sure payload is sent for PUT requests. (Thanks alx). Fixes #4971.
John Resig [Mon, 27 Jul 2009 19:02:40 +0000 (19:02 +0000)]
Make sure payload is sent for PUT requests. (Thanks alx). Fixes #4971.

15 years agoShortened the isXMLDoc code, based upon recommendation from Andrea.
John Resig [Mon, 27 Jul 2009 13:21:19 +0000 (13:21 +0000)]
Shortened the isXMLDoc code, based upon recommendation from Andrea.

15 years agoAdded an extra documentElement check to isXMLDoc for IE - and added a number of unit...
John Resig [Mon, 27 Jul 2009 13:02:41 +0000 (13:02 +0000)]
Added an extra documentElement check to isXMLDoc for IE - and added a number of unit tests for isXMLDoc. Fixes #4833.

15 years agoImplemented support for .context limited .closest() calls. Fixes #4072.
John Resig [Sat, 25 Jul 2009 21:31:59 +0000 (21:31 +0000)]
Implemented support for .context limited .closest() calls. Fixes #4072.

15 years agoFix for animating hyphenated CSS properties. Fixes #4156.
John Resig [Sat, 25 Jul 2009 20:56:15 +0000 (20:56 +0000)]
Fix for animating hyphenated CSS properties. Fixes #4156.

15 years agoFix for #4972. Dreamweaver CS4 crashes on offset module. Thanks mike.helgeson
Brandon Aaron [Sat, 25 Jul 2009 16:08:18 +0000 (16:08 +0000)]
Fix for #4972. Dreamweaver CS4 crashes on offset module. Thanks mike.helgeson

15 years agorevision 6494 accidentally reverted some changes to offset module
Brandon Aaron [Sat, 25 Jul 2009 16:04:30 +0000 (16:04 +0000)]
revision 6494 accidentally reverted some changes to offset module

15 years agoadd scrollTop/Left tests and fix for IE
Brandon Aaron [Fri, 24 Jul 2009 22:32:53 +0000 (22:32 +0000)]
add scrollTop/Left tests and fix for IE

15 years agospeed: adding a benchmark() function
Ariel Flesler [Fri, 24 Jul 2009 01:50:41 +0000 (01:50 +0000)]
speed: adding a benchmark() function

15 years agospeed: misc changes to the top comment
Ariel Flesler [Fri, 24 Jul 2009 00:58:24 +0000 (00:58 +0000)]
speed: misc changes to the top comment

15 years agospeed: committing a failing experiment of concat vs slice
Ariel Flesler [Fri, 24 Jul 2009 00:57:27 +0000 (00:57 +0000)]
speed: committing a failing experiment of concat vs slice

15 years agoChanged .get(-Number) to use .slice() instead of .toArray() (which doesn't take any...
John Resig [Thu, 23 Jul 2009 22:38:29 +0000 (22:38 +0000)]
Changed .get(-Number) to use .slice() instead of .toArray() (which doesn't take any arguments). Follow-up from commit [6484].

15 years agoFix for incorrect options being selected (noticed same problem with radio/checkbox...
John Resig [Thu, 23 Jul 2009 22:16:29 +0000 (22:16 +0000)]
Fix for incorrect options being selected (noticed same problem with radio/checkbox and fixed it there, as well). Fixes #4962.

15 years agoMake sure that at least one argument is provided to .slice(), in accordance with...
John Resig [Thu, 23 Jul 2009 13:22:55 +0000 (13:22 +0000)]
Make sure that at least one argument is provided to .slice(), in accordance with the spec. Fixes jQuery bug #4942.

15 years agoOptimizing isXMLDoc.
John Resig [Wed, 22 Jul 2009 17:30:17 +0000 (17:30 +0000)]
Optimizing isXMLDoc.

15 years agoSupport dynamically loaded copies of jQuery using document ready. Fixes #4889.
John Resig [Wed, 22 Jul 2009 15:03:23 +0000 (15:03 +0000)]
Support dynamically loaded copies of jQuery using document ready. Fixes #4889.

15 years agoMake sure that the script is removed only if it's actually in the page still. Fixes...
John Resig [Wed, 22 Jul 2009 14:38:21 +0000 (14:38 +0000)]
Make sure that the script is removed only if it's actually in the page still. Fixes #4934.

15 years agoCompletely disable the flaky fx queue test.
John Resig [Tue, 21 Jul 2009 20:48:29 +0000 (20:48 +0000)]
Completely disable the flaky fx queue test.

15 years agoExaggerate the times for the localtimeout ajax test.
John Resig [Tue, 21 Jul 2009 20:24:12 +0000 (20:24 +0000)]
Exaggerate the times for the localtimeout ajax test.

15 years agoRetool the fx test again, making it more apparent which order the queue tests will...
John Resig [Tue, 21 Jul 2009 20:16:44 +0000 (20:16 +0000)]
Retool the fx test again, making it more apparent which order the queue tests will complete in.

15 years agoMade a tweak to the fx queue test (was randomly failing in its current incarnation).
John Resig [Tue, 21 Jul 2009 20:06:05 +0000 (20:06 +0000)]
Made a tweak to the fx queue test (was randomly failing in its current incarnation).

15 years agoTweaked the detach addition in commit [6474].
John Resig [Tue, 21 Jul 2009 15:57:51 +0000 (15:57 +0000)]
Tweaked the detach addition in commit [6474].

15 years agoAdds detach()
Yehuda Katz [Tue, 21 Jul 2009 09:17:33 +0000 (09:17 +0000)]
Adds detach()

15 years agoMade some syntax tweaks to core.js.
John Resig [Sun, 19 Jul 2009 19:55:21 +0000 (19:55 +0000)]
Made some syntax tweaks to core.js.

15 years agoSaved some references to native methods, instead of re-referencing them on every...
John Resig [Sun, 19 Jul 2009 19:50:45 +0000 (19:50 +0000)]
Saved some references to native methods, instead of re-referencing them on every call.

15 years agoMoved some RegExp in core.js, goes toward #4111.
John Resig [Sun, 19 Jul 2009 19:47:30 +0000 (19:47 +0000)]
Moved some RegExp in core.js, goes toward #4111.

15 years agoMoved the RegExp in ajax.js out from inline, goes towards ticket #4111.
John Resig [Sun, 19 Jul 2009 19:44:15 +0000 (19:44 +0000)]
Moved the RegExp in ajax.js out from inline, goes towards ticket #4111.

15 years agoMade a number of syntax tweaks to ajax.js.
John Resig [Sun, 19 Jul 2009 19:37:11 +0000 (19:37 +0000)]
Made a number of syntax tweaks to ajax.js.

15 years agoDid some cleaning up of ajax.js and fixed a bug from commit [6457].
John Resig [Sun, 19 Jul 2009 19:03:18 +0000 (19:03 +0000)]
Did some cleaning up of ajax.js and fixed a bug from commit [6457].

15 years agoFixed a typo with commit [6457].
John Resig [Sun, 19 Jul 2009 17:02:01 +0000 (17:02 +0000)]
Fixed a typo with commit [6457].

15 years agoRemoving extraneous closing ). Fix for [6463].
John Resig [Sun, 19 Jul 2009 16:21:08 +0000 (16:21 +0000)]
Removing extraneous closing ). Fix for [6463].

15 years agoBroke out some of the inline RegExp from css.js. Goes towards fixing #4111.
John Resig [Sun, 19 Jul 2009 16:13:45 +0000 (16:13 +0000)]
Broke out some of the inline RegExp from css.js. Goes towards fixing #4111.

15 years agoFixed various formatting issues in css.js.
John Resig [Sun, 19 Jul 2009 16:08:17 +0000 (16:08 +0000)]
Fixed various formatting issues in css.js.

15 years agoMove cases of .replace(re, Function) out from inline (to avoid being redeclared on...
John Resig [Sun, 19 Jul 2009 15:57:43 +0000 (15:57 +0000)]
Move cases of .replace(re, Function) out from inline (to avoid being redeclared on every use). Fixes #4114.

15 years agoFixed typo in commit #6461.
John Resig [Sun, 19 Jul 2009 15:51:00 +0000 (15:51 +0000)]
Fixed typo in commit #6461.

15 years agoMade more formatting changes to manipulation.js. Also moved all inline RegExp into...
John Resig [Sun, 19 Jul 2009 15:48:30 +0000 (15:48 +0000)]
Made more formatting changes to manipulation.js. Also moved all inline RegExp into a top declaration.

15 years agoTweaked formatting of src/manipulation.js.
John Resig [Sun, 19 Jul 2009 15:29:03 +0000 (15:29 +0000)]
Tweaked formatting of src/manipulation.js.

15 years agoStandardize on using .nodeName in place of .tagName. Fixes jQuery bug #4923.
John Resig [Sun, 19 Jul 2009 13:32:53 +0000 (13:32 +0000)]
Standardize on using .nodeName in place of .tagName. Fixes jQuery bug #4923.

15 years agoStandardizing on .test() and .exec() - moving away from using .match() for RegExp...
John Resig [Sun, 19 Jul 2009 13:21:51 +0000 (13:21 +0000)]
Standardizing on .test() and .exec() - moving away from using .match() for RegExp. Fixes jQuery bug #4113.

15 years agoRewrote .offsetParent() to work against the full jQuery set, added tests. Fixes ...
John Resig [Sun, 19 Jul 2009 13:04:18 +0000 (13:04 +0000)]
Rewrote .offsetParent() to work against the full jQuery set, added tests. Fixes #4922.

15 years agoMade a number of stylistic changes to the offset code (braces, declarations, etc.).
John Resig [Sun, 19 Jul 2009 12:53:39 +0000 (12:53 +0000)]
Made a number of stylistic changes to the offset code (braces, declarations, etc.).

15 years agoSwitching to use a better check for if the node is a document.
John Resig [Sat, 18 Jul 2009 19:44:15 +0000 (19:44 +0000)]
Switching to use a better check for if the node is a document.

15 years agoremoving ambiguous offset tests for now... results are different due to rendering...
Brandon Aaron [Fri, 17 Jul 2009 22:20:26 +0000 (22:20 +0000)]
removing ambiguous offset tests for now... results are different due to rendering differences but are correct for the given browser

15 years agointegrated offset tests into main test suite. offset tests now use iframes instead...
Brandon Aaron [Fri, 17 Jul 2009 22:15:37 +0000 (22:15 +0000)]
integrated offset tests into main test suite. offset tests now use iframes instead of popups

15 years agofix for #4906
Brandon Aaron [Fri, 17 Jul 2009 21:08:13 +0000 (21:08 +0000)]
fix for #4906

15 years agoAdd test for jQuery(jQueryObj) cloning and simplify new get() code
Yehuda Katz [Fri, 17 Jul 2009 17:33:44 +0000 (17:33 +0000)]
Add test for jQuery(jQueryObj) cloning and simplify new get() code

15 years agojQuery objects have a default length of 0. Simplifies $() some.
Yehuda Katz [Fri, 17 Jul 2009 01:47:26 +0000 (01:47 +0000)]
jQuery objects have a default length of 0. Simplifies $() some.

15 years agojquery core: Simplifying isEmptyObject() and adding tests.
Ariel Flesler [Thu, 16 Jul 2009 15:16:44 +0000 (15:16 +0000)]
jquery core: Simplifying isEmptyObject() and adding tests.

15 years agoRefactor queueing system to allow auto-dequeuing to use dequeue directly and
Yehuda Katz [Thu, 16 Jul 2009 07:32:39 +0000 (07:32 +0000)]
Refactor queueing system to allow auto-dequeuing to use dequeue directly and
therefore require dequeue to always leave the element it has dequeued on
the queue.

  - In the fx queue, a progress sentinel is added when a queue element
    is dequeued.
  - The sentinel is ignored when dequeue is called explicitly
  - When adding a new element to the fx queue, queue() checks if
    the progress sentinel is present. If not, it calls dequeue()

15 years agoRefactor jQuery.data a bit to reduce property lookups
Yehuda Katz [Thu, 16 Jul 2009 07:32:31 +0000 (07:32 +0000)]
Refactor jQuery.data a bit to reduce property lookups

  - Also added jQuery.isEmptyObject

15 years agoImplemented .data() to get the entire data object. Closes #4284
Yehuda Katz [Thu, 16 Jul 2009 07:32:25 +0000 (07:32 +0000)]
Implemented .data() to get the entire data object. Closes #4284

15 years agoAdd a test for index()
Yehuda Katz [Thu, 16 Jul 2009 07:32:17 +0000 (07:32 +0000)]
Add a test for index()

15 years agoUnify .not and .filter (resolves #4200).
Yehuda Katz [Thu, 16 Jul 2009 07:32:11 +0000 (07:32 +0000)]
Unify .not and .filter (resolves #4200).

 - Both now support Function, Element, Selector, and Arrayish (including jQuery object)

15 years agojQuery.extend(true, Object, Object) copies custom objects correctly.
Yehuda Katz [Thu, 16 Jul 2009 07:32:03 +0000 (07:32 +0000)]
jQuery.extend(true, Object, Object) copies custom objects correctly.

  - Also update jQuery.isObject to handle this case correctly

15 years agojQuery.extend(true, Object, Object) copies objects with length keys correctly
Yehuda Katz [Thu, 16 Jul 2009 07:31:55 +0000 (07:31 +0000)]
jQuery.extend(true, Object, Object) copies objects with length keys correctly

15 years agoClear some dangling whitespace
Yehuda Katz [Thu, 16 Jul 2009 07:31:47 +0000 (07:31 +0000)]
Clear some dangling whitespace

15 years agoAdd support for .get(-Number) Closes #4188
Yehuda Katz [Thu, 16 Jul 2009 07:31:41 +0000 (07:31 +0000)]
Add support for .get(-Number) Closes #4188

15 years agoMake toArray an alias for .get(). Closes #3999
Yehuda Katz [Thu, 16 Jul 2009 07:31:32 +0000 (07:31 +0000)]
Make toArray an alias for .get(). Closes #3999

15 years agoAdded gitignore for people using git-svn
Yehuda Katz [Thu, 16 Jul 2009 07:31:22 +0000 (07:31 +0000)]
Added gitignore for people using git-svn

15 years agoScope 'document' locally (also useful for sandboxing). Patch from Andrea Giammarchi...
John Resig [Wed, 15 Jul 2009 12:35:57 +0000 (12:35 +0000)]
Scope 'document' locally (also useful for sandboxing). Patch from Andrea Giammarchi. Fixes bug #4905.

15 years agoWe only support wrapping the first element around an element (all others are ignored...
John Resig [Tue, 14 Jul 2009 23:43:58 +0000 (23:43 +0000)]
We only support wrapping the first element around an element (all others are ignored). Fixes ticket #4903.

15 years agoFixed wrapping of elements that hold text nodes. Thanks to David Flanagan for the...
John Resig [Tue, 14 Jul 2009 23:28:07 +0000 (23:28 +0000)]
Fixed wrapping of elements that hold text nodes. Thanks to David Flanagan for the patch. Fixes #4902.

15 years agoFixed spelling mistake in Ajax tests.
John Resig [Tue, 14 Jul 2009 21:20:16 +0000 (21:20 +0000)]
Fixed spelling mistake in Ajax tests.

15 years agoFixed the handling of .status == 304 in Opera (it always returns 0). Also silently...
John Resig [Tue, 14 Jul 2009 21:13:23 +0000 (21:13 +0000)]
Fixed the handling of .status == 304 in Opera (it always returns 0). Also silently "pass" in Opera 9.6 (which is unable to send the correct headers with setRequestHeader). Follow-up to bug #4764.

15 years agoclearQueue and next should now work with default fx on all browsers
Yehuda Katz [Mon, 13 Jul 2009 22:21:40 +0000 (22:21 +0000)]
clearQueue and next should now work with default fx on all browsers

15 years agoUses the more stable font-size as a sentinel
Yehuda Katz [Mon, 13 Jul 2009 21:50:58 +0000 (21:50 +0000)]
Uses the more stable font-size as a sentinel

15 years agoTest Tweak to normalize the CSS results across browsers
Yehuda Katz [Mon, 13 Jul 2009 19:48:08 +0000 (19:48 +0000)]
Test Tweak to normalize the CSS results across browsers

15 years agoFix dangling comma of death in data.js
Yehuda Katz [Mon, 13 Jul 2009 19:24:44 +0000 (19:24 +0000)]
Fix dangling comma of death in data.js

15 years agoUpdates css() tests to use hex rather than color names
Yehuda Katz [Mon, 13 Jul 2009 19:24:23 +0000 (19:24 +0000)]
Updates css() tests to use hex rather than color names

15 years agoAdd tests for replaceAll(fn) and wrap(fn) -- mark wrapAll and wrapWithin as TODO
Yehuda Katz [Sun, 12 Jul 2009 21:08:54 +0000 (21:08 +0000)]
Add tests for replaceAll(fn) and wrap(fn) -- mark wrapAll and wrapWithin as TODO

15 years agoSupport for .foo(Function) and testing. TODO: More tests
Yehuda Katz [Sun, 12 Jul 2009 20:19:43 +0000 (20:19 +0000)]
Support for .foo(Function) and testing. TODO: More tests

15 years agoAdded test for css(String, Function) and css(Object) where values are Functions;...
Yehuda Katz [Sun, 12 Jul 2009 18:31:26 +0000 (18:31 +0000)]
Added test for css(String, Function) and css(Object) where values are Functions; fixed css(Object)

15 years agoAdd clearQueue for clearing non-fx queues
Yehuda Katz [Sun, 12 Jul 2009 15:14:01 +0000 (15:14 +0000)]
Add clearQueue for clearing non-fx queues

15 years agoAdded a next() shortcut for queues
Yehuda Katz [Sun, 12 Jul 2009 14:31:32 +0000 (14:31 +0000)]
Added a next() shortcut for queues

15 years agoIE doesn't seem to like caching fragments that have options in them. Ticket #4883.
John Resig [Sat, 11 Jul 2009 15:23:18 +0000 (15:23 +0000)]
IE doesn't seem to like caching fragments that have options in them. Ticket #4883.

15 years agoLimit domManip caching to strings < 512 characters long. Ticket #4883.
John Resig [Sat, 11 Jul 2009 14:50:59 +0000 (14:50 +0000)]
Limit domManip caching to strings < 512 characters long. Ticket #4883.

15 years agoFixes regression in .attr(), patch by David Flanagan. Fixes #4884.
John Resig [Sat, 11 Jul 2009 13:57:38 +0000 (13:57 +0000)]
Fixes regression in .attr(), patch by David Flanagan. Fixes #4884.

15 years agoAdded caching to domManip. Fixes #4883.
John Resig [Sat, 11 Jul 2009 13:49:46 +0000 (13:49 +0000)]
Added caching to domManip. Fixes #4883.

15 years agoOptimized jQuery(Element) to not call jQuery() twice.
John Resig [Sat, 11 Jul 2009 13:44:44 +0000 (13:44 +0000)]
Optimized jQuery(Element) to not call jQuery() twice.

15 years agoreverting sizzle updates from previous commit, appears i had an outdated version
Brandon Aaron [Tue, 23 Jun 2009 18:14:57 +0000 (18:14 +0000)]
reverting sizzle updates from previous commit, appears i had an outdated version

15 years agofix for #4512 and minor sizzle updates
Brandon Aaron [Tue, 23 Jun 2009 18:11:09 +0000 (18:11 +0000)]
fix for #4512 and minor sizzle updates

15 years agojquery core: Closes #2827. jQuery.each iterates over functions
Ariel Flesler [Sat, 20 Jun 2009 15:51:19 +0000 (15:51 +0000)]
jquery core: Closes #2827. jQuery.each iterates over functions

15 years agofix for #3533, triggering an event with a colon in the name on a table no longer...
Brandon Aaron [Wed, 17 Jun 2009 02:31:45 +0000 (02:31 +0000)]
fix for #3533, triggering an event with a colon in the name on a table no longer throws an error in IE

15 years agoMinor tab-spacing tweak.
John Resig [Mon, 15 Jun 2009 13:40:10 +0000 (13:40 +0000)]
Minor tab-spacing tweak.

15 years agoAdding support for etags in $.ajax() - and simplified the if-modified-since implement...
John Resig [Mon, 15 Jun 2009 13:36:12 +0000 (13:36 +0000)]
Adding support for etags in $.ajax() - and simplified the if-modified-since implementation. Thanks to Lawrence for the patch! Closes ticket #4764.

15 years agojquery core: removed the version.txt newline; please keep it that way, otherwise...
Jörn Zaefferer [Thu, 4 Jun 2009 17:36:23 +0000 (17:36 +0000)]
jquery core: removed the version.txt newline; please keep it that way, otherwise that ant replacement fails, it inserts the file content wherever it finds @VERSION

15 years agojquery fx: Exposing the ticking function
Ariel Flesler [Tue, 2 Jun 2009 02:14:58 +0000 (02:14 +0000)]
jquery fx: Exposing the ticking function

15 years agoReverting accidental test suite corruption from the Sizzle merge.
John Resig [Wed, 20 May 2009 21:59:24 +0000 (21:59 +0000)]
Reverting accidental test suite corruption from the Sizzle merge.

15 years agoRemoved some cases of strict errors.
John Resig [Wed, 20 May 2009 21:52:47 +0000 (21:52 +0000)]
Removed some cases of strict errors.

15 years agoSwitched to using new Function instead of eval for handling JSON parsing (Fixes bug...
John Resig [Wed, 20 May 2009 21:28:48 +0000 (21:28 +0000)]
Switched to using new Function instead of eval for handling JSON parsing (Fixes bug #4680). Added support for JSON.parse, if it exists (Fixes bug #4429).

15 years agoDid some light reordering of the jQuery definition. Moved window and undefined to...
John Resig [Wed, 20 May 2009 21:12:08 +0000 (21:12 +0000)]
Did some light reordering of the jQuery definition. Moved window and undefined to exist in intro/outro.

15 years agofix :hidden and :visible selectors. fixes #4512
Brandon Aaron [Mon, 18 May 2009 15:36:36 +0000 (15:36 +0000)]
fix :hidden and :visible selectors. fixes #4512