jquery.git
14 years agoIgnore html files living in the main directory (likely being used for testing).
John Resig [Thu, 10 Dec 2009 07:45:56 +0000 (23:45 -0800)]
Ignore html files living in the main directory (likely being used for testing).

14 years agoMake sure that the correct args are passed in to the filter callback (and by extensio...
John Resig [Thu, 10 Dec 2009 06:03:14 +0000 (22:03 -0800)]
Make sure that the correct args are passed in to the filter callback (and by extension, the not callback). Fixes #5594.

14 years agoMake sure that calling .width(num) or .height(num) on an empty set returns the empty...
John Resig [Thu, 10 Dec 2009 05:58:29 +0000 (21:58 -0800)]
Make sure that calling .width(num) or .height(num) on an empty set returns the empty set. Fixes #5600.

14 years agoRewrote .merge() (faster and less obtuse now). Fixed #5610.
John Resig [Thu, 10 Dec 2009 05:43:20 +0000 (21:43 -0800)]
Rewrote .merge() (faster and less obtuse now). Fixed #5610.

14 years agoRestrict the attr quick setters to only methods that specifically ask for the functio...
John Resig [Thu, 10 Dec 2009 05:28:33 +0000 (21:28 -0800)]
Restrict the attr quick setters to only methods that specifically ask for the functionality. Fixes #5612.

14 years agoFix up whitespace and a couple of glitches.
Yehuda Katz [Thu, 10 Dec 2009 05:15:49 +0000 (21:15 -0800)]
Fix up whitespace and a couple of glitches.

14 years agoMerge branch 'master' of git@github.com:jquery/jquery
John Resig [Thu, 10 Dec 2009 04:59:12 +0000 (20:59 -0800)]
Merge branch 'master' of git@github.com:jquery/jquery

14 years agoMake sure that the defaultView exists before attempting to get at the computedStyle...
John Resig [Thu, 10 Dec 2009 04:58:49 +0000 (20:58 -0800)]
Make sure that the defaultView exists before attempting to get at the computedStyle (makes it easier to hide items that don't have a view). Fixes #5619.

14 years agoAdd function values to addClass, removeClass, toggleClass, text, and removeAttr
Yehuda Katz [Thu, 10 Dec 2009 04:57:19 +0000 (20:57 -0800)]
Add function values to addClass, removeClass, toggleClass, text, and removeAttr

14 years agoMade sure that css('width') and height returned string values, not numerical values...
John Resig [Thu, 10 Dec 2009 04:51:58 +0000 (20:51 -0800)]
Made sure that css('width') and height returned string values, not numerical values. Fixes #5627.

14 years agoWork around a weird computed number issue in WebKit. Fixes #5145.
John Resig [Thu, 10 Dec 2009 04:37:14 +0000 (20:37 -0800)]
Work around a weird computed number issue in WebKit. Fixes #5145.

14 years agoSwitched jQuery() to represent jQuery([]) instead of jQuery(document).
John Resig [Thu, 10 Dec 2009 04:36:07 +0000 (20:36 -0800)]
Switched jQuery() to represent jQuery([]) instead of jQuery(document).

14 years agoAdd a try/catch to handle the exception thrown by unloaded iframes in IE. Fixes ...
John Resig [Thu, 10 Dec 2009 00:00:59 +0000 (16:00 -0800)]
Add a try/catch to handle the exception thrown by unloaded iframes in IE. Fixes #4280.

14 years agoClarified the use of jQuery.browser and enforced jQuery.browser.firefox matching...
John Resig [Wed, 9 Dec 2009 23:07:16 +0000 (15:07 -0800)]
Clarified the use of jQuery.browser and enforced jQuery.browser.firefox matching Firefox, after the discussion in 17791c9a3e8a88e129a6956e7053b964d7b34778.

14 years agoMake sure that we don't try to trigger non-existant native events on applets, embed...
John Resig [Wed, 9 Dec 2009 22:49:31 +0000 (14:49 -0800)]
Make sure that we don't try to trigger non-existant native events on applets, embed, objects, etc. as it'll cause an exception with Java applets. Fixes #2414.

14 years agoFixed problems with removing live events. Fixes #4894.
John Resig [Wed, 9 Dec 2009 22:43:53 +0000 (14:43 -0800)]
Fixed problems with removing live events. Fixes #4894.

14 years agoWe have to access the native event handlers/triggers directly, otherwise they won...
John Resig [Wed, 9 Dec 2009 21:53:07 +0000 (13:53 -0800)]
We have to access the native event handlers/triggers directly, otherwise they won't execute in most modern browsers. Fixes #5124.

14 years agoMake sure that document ready events, inside a document ready, are added to the queue...
John Resig [Wed, 9 Dec 2009 21:45:06 +0000 (13:45 -0800)]
Make sure that document ready events, inside a document ready, are added to the queue rather than executing immediately. Fixes #5261.

14 years agoMade .clone(true) also copy over element data. Fixes #4191.
John Resig [Wed, 9 Dec 2009 21:28:58 +0000 (13:28 -0800)]
Made .clone(true) also copy over element data. Fixes #4191.

14 years agoAdded support for .data(Object), overwriting the existing data object. Fixes #4284.
John Resig [Wed, 9 Dec 2009 21:16:18 +0000 (13:16 -0800)]
Added support for .data(Object), overwriting the existing data object. Fixes #4284.

14 years agoLanding in jQuery.contains, jQuery.fn.contains, and jQuery.fn.has support. Fixes...
Yehuda Katz [Wed, 9 Dec 2009 20:43:13 +0000 (12:43 -0800)]
Landing in jQuery.contains, jQuery.fn.contains, and jQuery.fn.has support. Fixes #4101.

14 years agoMake sure that an actual timeout is triggered (and not accidentally triggered from...
John Resig [Wed, 9 Dec 2009 16:09:41 +0000 (08:09 -0800)]
Make sure that an actual timeout is triggered (and not accidentally triggered from a setInterval). Fixes #5609.

14 years agoAdded in jQuery.browser.firefox, deprecated jQuery.browser.mozilla.
John Resig [Wed, 9 Dec 2009 06:52:32 +0000 (22:52 -0800)]
Added in jQuery.browser.firefox, deprecated jQuery.browser.mozilla.

14 years agoHandle changing form attributes correctly when there is a child element with the...
David Petersen [Mon, 7 Dec 2009 23:43:36 +0000 (07:43 +0800)]
Handle changing form attributes correctly when there is a child element with the same name.  Fixes #4299

14 years agoGet browser version rather than rendering engine version.
Dave Methvin [Wed, 9 Dec 2009 03:46:07 +0000 (11:46 +0800)]
Get browser version rather than rendering engine version.
Don't recognize Chrome as Safari.
See results of different userAgent strings here:
http://spreadsheets.google.com/ccc?key=0Aj5JJFjq9rZDdHdxXzRLVnY0SzFpRTBOUDc4VmhzRVE

14 years agoFurther cleanups on ant build
jzaefferer [Tue, 8 Dec 2009 21:22:49 +0000 (22:22 +0100)]
Further cleanups on ant build

14 years agoMerge branch 'master' of github.com:jquery/jquery
unknown [Tue, 8 Dec 2009 21:09:49 +0000 (22:09 +0100)]
Merge branch 'master' of github.com:jquery/jquery

14 years agoFixed ant build by cloning or pulling qunit and sizzle submodules, similar to the...
unknown [Tue, 8 Dec 2009 21:03:22 +0000 (22:03 +0100)]
Fixed ant build by cloning or pulling qunit and sizzle submodules, similar to the make build

14 years agoFurther cleanup on ant build: Revision is gone
unknown [Tue, 8 Dec 2009 20:27:27 +0000 (21:27 +0100)]
Further cleanup on ant build: Revision is gone

14 years agoFurther cleanup on ant build
unknown [Tue, 8 Dec 2009 20:22:15 +0000 (21:22 +0100)]
Further cleanup on ant build

14 years agoFurther cleanup on ant build
unknown [Tue, 8 Dec 2009 20:17:26 +0000 (21:17 +0100)]
Further cleanup on ant build

14 years agoCleaning up build.xml in prepartion to get it running again
unknown [Tue, 8 Dec 2009 19:59:05 +0000 (20:59 +0100)]
Cleaning up build.xml in prepartion to get it running again

14 years agoMake sure that events are cloned for wrap, fixes #2977.
John Resig [Tue, 8 Dec 2009 19:21:24 +0000 (11:21 -0800)]
Make sure that events are cloned for wrap, fixes #2977.

14 years agoFixed extra p in Rakefile.
John Resig [Tue, 8 Dec 2009 02:07:15 +0000 (18:07 -0800)]
Fixed extra p in Rakefile.

14 years agoRemoved uses of arguments.callee from jQuery.
John Resig [Tue, 8 Dec 2009 00:42:25 +0000 (16:42 -0800)]
Removed uses of arguments.callee from jQuery.

14 years agoMoved .ready() to core.js from event.js.
John Resig [Tue, 8 Dec 2009 00:34:55 +0000 (16:34 -0800)]
Moved .ready() to core.js from event.js.

14 years agoCheck Sizzle or jQuery.
John Resig [Mon, 7 Dec 2009 23:33:14 +0000 (15:33 -0800)]
Check Sizzle or jQuery.

14 years agoOnly run the visibility selectors if the filter exists.
John Resig [Mon, 7 Dec 2009 23:31:25 +0000 (15:31 -0800)]
Only run the visibility selectors if the filter exists.

14 years agoFixed other nodeNode mistake, sigh.
John Resig [Mon, 7 Dec 2009 23:08:06 +0000 (15:08 -0800)]
Fixed other nodeNode mistake, sigh.

14 years agoThis is why you don't do commits when you're tired. Fixing bugs from 59802928566b6be3...
John Resig [Mon, 7 Dec 2009 15:48:15 +0000 (07:48 -0800)]
This is why you don't do commits when you're tired. Fixing bugs from 59802928566b6be3a66d65e77c2418fff37e6f5f.

14 years agosupport.js needs to come before event.js (also placed in a temporary setTimeout to...
John Resig [Mon, 7 Dec 2009 15:45:20 +0000 (07:45 -0800)]
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).

14 years agoOops, missed a closing } from 7d36ccfa8eb018fcf349e1f74e3a0a614385558f.
John Resig [Mon, 7 Dec 2009 15:38:16 +0000 (07:38 -0800)]
Oops, missed a closing } from 7d36ccfa8eb018fcf349e1f74e3a0a614385558f.

14 years agoAdded support for per-property easing
James Padolsey [Sun, 6 Dec 2009 16:37:34 +0000 (00:37 +0800)]
Added support for per-property easing

14 years agoAdded an extra function check to prevent crashes in Safari 2. Fixes #3039.
John Resig [Mon, 7 Dec 2009 04:20:49 +0000 (20:20 -0800)]
Added an extra function check to prevent crashes in Safari 2. Fixes #3039.

14 years agoMake sure that expando properties aren't set on embed, applet, or object elements...
John Resig [Mon, 7 Dec 2009 04:00:31 +0000 (20:00 -0800)]
Make sure that expando properties aren't set on embed, applet, or object elements. An uncatchable exception is thrown and we must avoid it. Fixes #1675 and #2349.

14 years agoBroke out the logic for the bubbling change/submit events so that they aren't bound...
John Resig [Mon, 7 Dec 2009 02:20:08 +0000 (18:20 -0800)]
Broke out the logic for the bubbling change/submit events so that they aren't bound if they aren't used.

14 years agoMake sure that we're doing proper focus bubble testing. Also simplified the logic...
John Resig [Mon, 7 Dec 2009 02:02:58 +0000 (18:02 -0800)]
Make sure that we're doing proper focus bubble testing. Also simplified the logic for the IE focusin/focusout handling.

14 years agoUse the isXML function from Sizzle.
John Resig [Mon, 7 Dec 2009 01:52:31 +0000 (17:52 -0800)]
Use the isXML function from Sizzle.

14 years agoUse the getText utility function provided by Sizzle.
John Resig [Mon, 7 Dec 2009 01:47:41 +0000 (17:47 -0800)]
Use the getText utility function provided by Sizzle.

14 years agoAdded in support for injecting area elements into map elements. Fixes #4484.
John Resig [Mon, 7 Dec 2009 01:26:39 +0000 (17:26 -0800)]
Added in support for injecting area elements into map elements. Fixes #4484.

14 years agoAdded in support for $.ajax jsonpCallback (allowing you to specify the name of the...
John Resig [Mon, 7 Dec 2009 01:17:14 +0000 (17:17 -0800)]
Added in support for $.ajax jsonpCallback (allowing you to specify the name of the callback method - and allowing you to avoid skipping the cache). Fixes #4206.

14 years agoAdding in cross-browser onbeforeunload support. Fixes #4106.
John Resig [Mon, 7 Dec 2009 00:55:08 +0000 (16:55 -0800)]
Adding in cross-browser onbeforeunload support. Fixes #4106.

14 years agoMerge branch 'master' of git@github.com:jquery/jquery
John Resig [Sun, 6 Dec 2009 23:51:15 +0000 (15:51 -0800)]
Merge branch 'master' of git@github.com:jquery/jquery

14 years agoSplit the queue code out from data.js into a dedicated queue.js file (also split...
John Resig [Sun, 6 Dec 2009 22:19:33 +0000 (17:19 -0500)]
Split the queue code out from data.js into a dedicated queue.js file (also split tests accordingly).

14 years agoRenamed isObjectLiteral to isPlainObject (makes more sense, per the suggestion of...
John Resig [Sun, 6 Dec 2009 22:11:51 +0000 (17:11 -0500)]
Renamed isObjectLiteral to isPlainObject (makes more sense, per the suggestion of Michael Geary).

14 years agoFix regexp for $.trim so it doesn't whack embedded spaces.
Dave Methvin [Sun, 6 Dec 2009 02:02:15 +0000 (10:02 +0800)]
Fix regexp for $.trim so it doesn't whack embedded spaces.

14 years agoFix for #4011, crash when two text nodes are appended in IE.
Dave Methvin [Sun, 6 Dec 2009 01:06:00 +0000 (09:06 +0800)]
Fix for #4011, crash when two text nodes are appended in IE.

14 years agoMake sure that animated show resets the display correctly. Fixes #5130.
jeresig [Sun, 6 Dec 2009 02:06:14 +0000 (21:06 -0500)]
Make sure that animated show resets the display correctly. Fixes #5130.

14 years agoFix inverted 'orig' and 'fix' event in mouseenter/mouseleave special events.
lrbabe [Mon, 30 Nov 2009 20:04:55 +0000 (04:04 +0800)]
Fix inverted 'orig' and 'fix' event in mouseenter/mouseleave special events.

14 years agoadded semicolons to end of 2 statements (and fixed a misspelled word in comment)
Karl Swedberg [Sat, 5 Dec 2009 21:49:21 +0000 (05:49 +0800)]
added semicolons to end of 2 statements (and fixed a misspelled word in comment)

14 years agoAdding in an extra check, per the comments in 25b0ba9f9612583033b902a0e40345463a3a71d0.
jeresig [Sat, 5 Dec 2009 23:06:27 +0000 (18:06 -0500)]
Adding in an extra check, per the comments in 25b0ba9f9612583033b902a0e40345463a3a71d0.

14 years agoMake sure that the previous element is removed from the page before the next is inser...
jeresig [Sat, 5 Dec 2009 20:30:36 +0000 (15:30 -0500)]
Make sure that the previous element is removed from the page before the next is inserted, in replaceWith. Using a variation of the patch by snaury. Fixes #2697.

14 years agoMade sure that css() in IE handles negative non-px values correctly. Fixes #3331.
jeresig [Sat, 5 Dec 2009 20:12:02 +0000 (15:12 -0500)]
Made sure that css() in IE handles negative non-px values correctly. Fixes #3331.

14 years agoMinor syntactical changes to :visible and :hidden.
jeresig [Sat, 5 Dec 2009 20:02:45 +0000 (15:02 -0500)]
Minor syntactical changes to :visible and :hidden.

14 years agoMade sure that a null speed doesn't get passed around. Patch from daltonlp. Fixes...
jeresig [Sat, 5 Dec 2009 19:33:40 +0000 (14:33 -0500)]
Made sure that a null speed doesn't get passed around. Patch from daltonlp. Fixes #5557.

14 years agoMake sure that width or height don't animate to a negative value. Fixes #3881.
John Resig [Sat, 5 Dec 2009 05:10:19 +0000 (00:10 -0500)]
Make sure that width or height don't animate to a negative value. Fixes #3881.

14 years agoRetooled the native triggering code, simplifying it.
John Resig [Sat, 5 Dec 2009 04:18:05 +0000 (23:18 -0500)]
Retooled the native triggering code, simplifying it.

14 years agoAllow the user to explicitly set a content-type header even when there's no data...
John Resig [Sat, 5 Dec 2009 02:20:58 +0000 (21:20 -0500)]
Allow the user to explicitly set a content-type header even when there's no data being sent to the server. Fixes #1900.

14 years agoFixes a bug I introduced
Yehuda Katz [Sat, 5 Dec 2009 02:18:37 +0000 (18:18 -0800)]
Fixes a bug I introduced

14 years agoAdded a test for bug 1095 for animations (animations don't clear check boxes)
Yehuda Katz [Tue, 1 Dec 2009 22:34:44 +0000 (14:34 -0800)]
Added a test for bug 1095 for animations (animations don't clear check boxes)

14 years agoUpdating the source version to 1.4a2pre.
jeresig [Fri, 4 Dec 2009 17:53:09 +0000 (12:53 -0500)]
Updating the source version to 1.4a2pre.

14 years agoTagging the 1.4a1 release.
jeresig [Fri, 4 Dec 2009 17:51:47 +0000 (12:51 -0500)]
Tagging the 1.4a1 release.

14 years agoSwitched to using slice instead of join to get the correct results.
jeresig [Fri, 4 Dec 2009 17:36:24 +0000 (12:36 -0500)]
Switched to using slice instead of join to get the correct results.

14 years agoLanding Ben Alman's patch to add nextUntil, prevUntil, and parentsUntil. Also adds...
Ben Alman [Fri, 4 Dec 2009 17:28:47 +0000 (12:28 -0500)]
Landing Ben Alman's patch to add nextUntil, prevUntil, and parentsUntil. Also adds some tests for prevAll and nextAll, and fixes an test edge case in parents.

14 years agoAdded in the .delay() method for delaying the execution of queued functions and anima...
jeresig [Fri, 4 Dec 2009 17:06:47 +0000 (12:06 -0500)]
Added in the .delay() method for delaying the execution of queued functions and animations.

14 years agoAdding in support for bubbling submit and change events, thanks to the patch by Justi...
Justin Meyer [Fri, 4 Dec 2009 16:28:50 +0000 (11:28 -0500)]
Adding in support for bubbling submit and change events, thanks to the patch by Justin Meyer. Includes a delegation test suite for manually testing to see if the events work as intended.

14 years agoMinor syntax changes to the winnow function.
jeresig [Thu, 3 Dec 2009 19:20:06 +0000 (14:20 -0500)]
Minor syntax changes to the winnow function.

14 years agoUse now() in support.js instead of getTime.
jeresig [Thu, 3 Dec 2009 18:59:19 +0000 (13:59 -0500)]
Use now() in support.js instead of getTime.

14 years agoTweaked a CSS test to handle differences in font-size % support in browsers.
jeresig [Thu, 3 Dec 2009 17:34:27 +0000 (12:34 -0500)]
Tweaked a CSS test to handle differences in font-size % support in browsers.

14 years agoRemoved broken hidden/visible test.
jeresig [Thu, 3 Dec 2009 17:26:25 +0000 (12:26 -0500)]
Removed broken hidden/visible test.

14 years agoRemoving unnecessary parens from :hidden.
jeresig [Thu, 3 Dec 2009 16:59:59 +0000 (11:59 -0500)]
Removing unnecessary parens from :hidden.

14 years agoRe-arranged many of the selector tests, breaking them into smaller test groups and...
jeresig [Thu, 3 Dec 2009 16:45:38 +0000 (11:45 -0500)]
Re-arranged many of the selector tests, breaking them into smaller test groups and into more-appropriate sections.

14 years agoJust restore window.JSON in the getJSON test, don't try to delete the value.
jeresig [Thu, 3 Dec 2009 16:28:49 +0000 (11:28 -0500)]
Just restore window.JSON in the getJSON test, don't try to delete the value.

14 years agoLanded the rest of the liveHandler rewrite that takes advantage of the new closest...
jeresig [Thu, 3 Dec 2009 16:15:26 +0000 (11:15 -0500)]
Landed the rest of the liveHandler rewrite that takes advantage of the new closest multi-selector signature (sorry, accidentally committed some of it in the wrong commit: 4daae7a79f43815935a2890d16904c5a052717f3).

14 years agoRe-worked the closest no-duplicate-selector code again to be more efficient.
jeresig [Thu, 3 Dec 2009 16:14:10 +0000 (11:14 -0500)]
Re-worked the closest no-duplicate-selector code again to be more efficient.

14 years agoPrevent duplicate selectors from having to match in closest.
jeresig [Thu, 3 Dec 2009 16:05:12 +0000 (11:05 -0500)]
Prevent duplicate selectors from having to match in closest.

14 years agoNo need to do the closest match if no selectors are passed in.
jeresig [Thu, 3 Dec 2009 15:51:04 +0000 (10:51 -0500)]
No need to do the closest match if no selectors are passed in.

14 years agoAdded in the new .closest(Array) method, will be used to improve the performance...
jeresig [Thu, 3 Dec 2009 00:05:51 +0000 (19:05 -0500)]
Added in the new .closest(Array) method, will be used to improve the performance of live filtering.

14 years agoExtracted the logic for copying events from one jQuery set to another, makes it easie...
jeresig [Wed, 2 Dec 2009 22:15:09 +0000 (17:15 -0500)]
Extracted the logic for copying events from one jQuery set to another, makes it easier to work with disconnected DOM nodes.

14 years agoFixed logic error in html method - support.leadingWhitespace shouldn't have been...
jeresig [Wed, 2 Dec 2009 20:20:33 +0000 (15:20 -0500)]
Fixed logic error in html method - support.leadingWhitespace shouldn't have been negated.

14 years agoRemoved debug statements from manipulation tests, was causing errors in IE.
jeresig [Wed, 2 Dec 2009 20:14:48 +0000 (15:14 -0500)]
Removed debug statements from manipulation tests, was causing errors in IE.

14 years agoMake sure that a DOM node isn't getting passed through (as is the case in IE, it...
jeresig [Wed, 2 Dec 2009 19:59:19 +0000 (14:59 -0500)]
Make sure that a DOM node isn't getting passed through (as is the case in IE, it has a toString of [object Object].

14 years agoAdded some isObjectLiteral tests.
jeresig [Wed, 2 Dec 2009 19:57:13 +0000 (14:57 -0500)]
Added some isObjectLiteral tests.

14 years agoAdding a test that a new option can be selected with val(N)
Yehuda Katz [Tue, 1 Dec 2009 22:11:32 +0000 (14:11 -0800)]
Adding a test that a new option can be selected with val(N)

14 years agoFix css("opacity") to not clobber other filters in IE. Closes #4707.
Yehuda Katz [Tue, 1 Dec 2009 19:40:28 +0000 (11:40 -0800)]
Fix css("opacity") to not clobber other filters in IE. Closes #4707.

14 years agoUpdated the Rakefile to use the correct init code.
jeresig [Mon, 30 Nov 2009 20:56:40 +0000 (15:56 -0500)]
Updated the Rakefile to use the correct init code.

14 years agoShortened the build messages in the Makefile and added test/qunit and src/sizzle...
jeresig [Mon, 30 Nov 2009 20:54:14 +0000 (15:54 -0500)]
Shortened the build messages in the Makefile and added test/qunit and src/sizzle to the cleanup.

14 years agoDon't try to run the clone code if the directory already exists.
jeresig [Mon, 30 Nov 2009 20:52:41 +0000 (15:52 -0500)]
Don't try to run the clone code if the directory already exists.

14 years agoSwitched from using Git Submodules to just doing a straight clone of the QUnit and...
jeresig [Mon, 30 Nov 2009 20:45:16 +0000 (15:45 -0500)]
Switched from using Git Submodules to just doing a straight clone of the QUnit and Sizzle directories. Works much better for what we want.

14 years agoBringing Sizzle and QUnit up to date.
jeresig [Mon, 30 Nov 2009 20:09:50 +0000 (15:09 -0500)]
Bringing Sizzle and QUnit up to date.