jquery.git
17 years agoWhen we disabled triggering of clicks, we also killed off blur and focus, this fixes...
John Resig [Tue, 31 Jul 2007 02:22:39 +0000 (02:22 +0000)]
When we disabled triggering of clicks, we also killed off blur and focus, this fixes that (bug #1440).

17 years agoThe test for underscore selectors broke under Opera, so the element is now loaded...
John Resig [Mon, 30 Jul 2007 02:52:24 +0000 (02:52 +0000)]
The test for underscore selectors broke under Opera, so the element is now loaded via Ajax and tested. (bug #1084)

17 years agoIE prunes whitespace from the start of innerHTML-injected strings. This fixes that.
John Resig [Mon, 30 Jul 2007 02:14:06 +0000 (02:14 +0000)]
IE prunes whitespace from the start of innerHTML-injected strings. This fixes that.

17 years agoFixed failing test for Safari 2.
John Resig [Sun, 29 Jul 2007 23:10:00 +0000 (23:10 +0000)]
Fixed failing test for Safari 2.

17 years agoGot .css() working in Safari 2 as well (a number of shortcuts had to be removed,...
John Resig [Sun, 29 Jul 2007 23:01:42 +0000 (23:01 +0000)]
Got .css() working in Safari 2 as well (a number of shortcuts had to be removed, unfortunately). This should successfully close bug #1349.

17 years agoAdded a fix for Safari's broken CSS getComputedStyle accessing. Additionally, added...
John Resig [Sun, 29 Jul 2007 22:32:06 +0000 (22:32 +0000)]
Added a fix for Safari's broken CSS getComputedStyle accessing. Additionally, added a fix for Safari mis-reporting @selected for display: none options. The test suite is now completely passing in Safari 3. (Bug #1349)

17 years agoIntegrated the custom fx test suite into the main test suite. All tests are now run...
John Resig [Sun, 29 Jul 2007 19:07:21 +0000 (19:07 +0000)]
Integrated the custom fx test suite into the main test suite. All tests are now run automatically. Removed the old suite, as it was no longer needed.

17 years agonevermind, I'm dumb. =P
Sean Catchpole [Thu, 26 Jul 2007 00:31:48 +0000 (00:31 +0000)]
nevermind, I'm dumb. =P

17 years agoFixed ajax array arguments in $.param
Sean Catchpole [Thu, 26 Jul 2007 00:27:56 +0000 (00:27 +0000)]
Fixed ajax array arguments in $.param

17 years ago$("#foo", xml) would always return an empty set, fixed (bug #877). Additionally,...
John Resig [Wed, 25 Jul 2007 00:56:50 +0000 (00:56 +0000)]
$("#foo", xml) would always return an empty set, fixed (bug #877). Additionally, a bug in jQuery.isXMLDoc(xmlDoc) was discovered, if the element was, in fact, an XML document.

17 years agoAdded a fix for relative // - $("//div",this) (bug #1418)
John Resig [Wed, 25 Jul 2007 00:39:45 +0000 (00:39 +0000)]
Added a fix for relative // - $("//div",this) (bug #1418)

17 years agoselectedIndex is now cloned cross-browser (#1294)
Brandon Aaron [Sat, 21 Jul 2007 04:26:13 +0000 (04:26 +0000)]
selectedIndex is now cloned cross-browser (#1294)

17 years agoselectedIndex is now cloned in IE (#1294)
Brandon Aaron [Sat, 21 Jul 2007 03:16:22 +0000 (03:16 +0000)]
selectedIndex is now cloned in IE (#1294)

17 years agoaddClass doesn't fail when passed an undefined or null variable (#1309)
Brandon Aaron [Sat, 21 Jul 2007 01:55:05 +0000 (01:55 +0000)]
addClass doesn't fail when passed an undefined or null variable (#1309)

17 years agomissing semi-colon
Brandon Aaron [Sat, 21 Jul 2007 01:53:38 +0000 (01:53 +0000)]
missing semi-colon

17 years agotrigger DOM0 event handlers when doing a trigger (#1363)
Brandon Aaron [Sat, 21 Jul 2007 01:04:59 +0000 (01:04 +0000)]
trigger DOM0 event handlers when doing a trigger (#1363)

17 years agoAdded support for parsererror errors from Ajax requests (bug #1145).
John Resig [Sat, 21 Jul 2007 00:52:30 +0000 (00:52 +0000)]
Added support for parsererror errors from Ajax requests (bug #1145).

17 years agoAdded a fix for setting the style property in IE: .attr("style", "...") (bug #1170).
John Resig [Sat, 21 Jul 2007 00:12:18 +0000 (00:12 +0000)]
Added a fix for setting the style property in IE: .attr("style", "...") (bug #1170).

17 years agoAdded a fix for h1 + h2 not working. (Bug #1361)
John Resig [Fri, 20 Jul 2007 23:43:12 +0000 (23:43 +0000)]
Added a fix for h1 + h2 not working. (Bug #1361)

17 years agoSafari doesn't return the correct computed opacity. (Fix for bug #1369)
John Resig [Fri, 20 Jul 2007 22:47:21 +0000 (22:47 +0000)]
Safari doesn't return the correct computed opacity. (Fix for bug #1369)

17 years agoAdded a fix to prevent the completion callback from firing multiple times in Firefox...
John Resig [Fri, 20 Jul 2007 22:21:41 +0000 (22:21 +0000)]
Added a fix to prevent the completion callback from firing multiple times in Firefox on OSX (fixed bug #1406).

17 years agoCompletely reworked the evalScripts() code, fixing bugs #1332, #975, and #777.
John Resig [Fri, 20 Jul 2007 21:59:52 +0000 (21:59 +0000)]
Completely reworked the evalScripts() code, fixing bugs #1332, #975, and #777.

17 years agobroken test in IE
Brandon Aaron [Fri, 20 Jul 2007 21:53:37 +0000 (21:53 +0000)]
broken test in IE

17 years agoMoving the easing check logic to the fx function, since Interface was overwriting...
John Resig [Fri, 20 Jul 2007 20:05:20 +0000 (20:05 +0000)]
Moving the easing check logic to the fx function, since Interface was overwriting the speed function :-( (Fix for bug #1396).

17 years agoAdded a fix for when trim receives a null value (bug #1395).
John Resig [Fri, 20 Jul 2007 19:44:15 +0000 (19:44 +0000)]
Added a fix for when trim receives a null value (bug #1395).

17 years agoMade it so that you can set the text value of elements to numbers (in addition to...
John Resig [Fri, 20 Jul 2007 19:41:17 +0000 (19:41 +0000)]
Made it so that you can set the text value of elements to numbers (in addition to strings). (Fix for bug #1386)

17 years agoThe isTimeout fix from #970 was causing unintended status bugs (fixed). This also...
John Resig [Fri, 20 Jul 2007 19:33:44 +0000 (19:33 +0000)]
The isTimeout fix from #970 was causing unintended status bugs (fixed). This also includes a fix for errors that occurred during an empty eval in IE (but #1410).

17 years agoFix for #1402
Brandon Aaron [Fri, 20 Jul 2007 18:58:38 +0000 (18:58 +0000)]
Fix for #1402

17 years agoMade the error message equal to "timeout", if the request timed out. (Bug #970)
John Resig [Fri, 20 Jul 2007 18:58:22 +0000 (18:58 +0000)]
Made the error message equal to "timeout", if the request timed out. (Bug #970)

17 years agoIE doesn't like doing attaching the mergeNum property to XML documents, so for now...
John Resig [Fri, 20 Jul 2007 18:08:29 +0000 (18:08 +0000)]
IE doesn't like doing attaching the mergeNum property to XML documents, so for now, we're just going to (possibly) return duplicates in IE, in XML documents. (bug #1357).

17 years agoAdded runtest ant task (doesn't display results yet);
Jörn Zaefferer [Tue, 17 Jul 2007 07:54:14 +0000 (07:54 +0000)]
Added runtest ant task (doesn't display results yet);
added href-attribute to DOMElement, fixed XMLHttpRequest to actually allow sync requests, fixed new Thread(new Runnable({run...})) to use new Thread({run:...})

17 years agodisplay block was being set on top/left animation, when they shouldn't be.
John Resig [Sun, 15 Jul 2007 02:42:11 +0000 (02:42 +0000)]
display block was being set on top/left animation, when they shouldn't be.

17 years agoFix for IE firing document ready too soon (Bug #1320).
John Resig [Thu, 12 Jul 2007 20:33:05 +0000 (20:33 +0000)]
Fix for IE firing document ready too soon (Bug #1320).

17 years agoAdded better support for local file XHR, added document.innerHTML, change .valueOf...
John Resig [Tue, 10 Jul 2007 02:38:20 +0000 (02:38 +0000)]
Added better support for local file XHR, added document.innerHTML, change .valueOf() to be .outerHTML.

17 years agoAdded support for events, made window.location Async (and based upon XHR), added...
John Resig [Mon, 9 Jul 2007 16:14:19 +0000 (16:14 +0000)]
Added support for events, made window.location Async (and based upon XHR), added trigger for window.onload.

17 years agoGot some XHR tests to run, still some hanging threads (need to investigate). Started...
John Resig [Mon, 9 Jul 2007 03:08:20 +0000 (03:08 +0000)]
Got some XHR tests to run, still some hanging threads (need to investigate). Started moving some Ajax tests away from using PHP (more portable this way). Fixed a number of XHR env bugs.

17 years agoTouched up the XMLHttpRequest code (fixed some bugs, fixed formatting, etc.).
John Resig [Mon, 9 Jul 2007 00:48:16 +0000 (00:48 +0000)]
Touched up the XMLHttpRequest code (fixed some bugs, fixed formatting, etc.).

17 years agoAdds XHR support to Rhino evn
Yehuda Katz [Mon, 9 Jul 2007 00:20:44 +0000 (00:20 +0000)]
Adds XHR support to Rhino evn

17 years agoTweaked some of the tests, added in events and fx tests.
John Resig [Mon, 9 Jul 2007 00:15:44 +0000 (00:15 +0000)]
Tweaked some of the tests, added in events and fx tests.

17 years agoAdded a className tweak. All core and selector tests now pass.
John Resig [Mon, 9 Jul 2007 00:02:32 +0000 (00:02 +0000)]
Added a className tweak. All core and selector tests now pass.

17 years agoAdded a number of fixes: Tag name case-sensitivity, text escaping, opacity setting...
John Resig [Sun, 8 Jul 2007 23:52:14 +0000 (23:52 +0000)]
Added a number of fixes: Tag name case-sensitivity, text escaping, opacity setting. Tweaked the test suite slightly.

17 years agoAdded basic support for IFrames, disabled a test which we don't take into account.
John Resig [Sun, 8 Jul 2007 23:19:09 +0000 (23:19 +0000)]
Added basic support for IFrames, disabled a test which we don't take into account.

17 years agoA barebones implementation of getComputedStyle.
John Resig [Sun, 8 Jul 2007 22:26:05 +0000 (22:26 +0000)]
A barebones implementation of getComputedStyle.

17 years agoUTF8 support rolled in (both for external docs and innerHTML).
John Resig [Sun, 8 Jul 2007 20:22:50 +0000 (20:22 +0000)]
UTF8 support rolled in (both for external docs and innerHTML).

17 years agoAttribute values should be JS strings.
John Resig [Sun, 8 Jul 2007 16:35:48 +0000 (16:35 +0000)]
Attribute values should be JS strings.

17 years ago.ownerDocument should be null on document.
John Resig [Sun, 8 Jul 2007 16:33:23 +0000 (16:33 +0000)]
.ownerDocument should be null on document.

17 years agoAdded support for "first option is auto-selected in a drop-down" functionality.
John Resig [Sun, 8 Jul 2007 16:28:45 +0000 (16:28 +0000)]
Added support for "first option is auto-selected in a drop-down" functionality.

17 years agoFixed selected/checked/disabled, added .style support, added .elements.
John Resig [Sun, 8 Jul 2007 16:06:10 +0000 (16:06 +0000)]
Fixed selected/checked/disabled, added .style support, added .elements.

17 years agoAdded .value to the env impl.
John Resig [Sun, 8 Jul 2007 07:02:36 +0000 (07:02 +0000)]
Added .value to the env impl.

17 years agoAutomated test running using Rhino (no browser required!). Still very buggy, but...
John Resig [Sun, 8 Jul 2007 05:00:24 +0000 (05:00 +0000)]
Automated test running using Rhino (no browser required!). Still very buggy, but off to a good start.

17 years agoUpgraded Rhino to 1.6r6.
John Resig [Sun, 8 Jul 2007 04:48:11 +0000 (04:48 +0000)]
Upgraded Rhino to 1.6r6.

17 years agoMaking the test suite a little more XML-compliant.
John Resig [Sun, 8 Jul 2007 04:46:21 +0000 (04:46 +0000)]
Making the test suite a little more XML-compliant.

17 years agoFinal fix for Safari crasher (bug #1331).
John Resig [Fri, 6 Jul 2007 13:36:38 +0000 (13:36 +0000)]
Final fix for Safari crasher (bug #1331).

17 years agoFix for Safari 1.3 crash (bug #1331).
John Resig [Thu, 5 Jul 2007 20:40:44 +0000 (20:40 +0000)]
Fix for Safari 1.3 crash (bug #1331).

17 years agocommit annother trivial comment fix to reduce my local changesets
Ed Engelhardt [Thu, 5 Jul 2007 08:19:18 +0000 (08:19 +0000)]
commit annother trivial comment fix to reduce my local changesets

17 years agofix little typo in comment
Ed Engelhardt [Thu, 5 Jul 2007 08:18:25 +0000 (08:18 +0000)]
fix little typo in comment

17 years agoTagging the 1.1.3.1 release.
John Resig [Thu, 5 Jul 2007 04:43:24 +0000 (04:43 +0000)]
Tagging the 1.1.3.1 release.

17 years agoOverflow revert was completely borked when you animated multiple properties (like...
John Resig [Thu, 5 Jul 2007 04:27:46 +0000 (04:27 +0000)]
Overflow revert was completely borked when you animated multiple properties (like in .show() or .hide()) (see bug #1343).

17 years agoAdded fix for broken child selectors in XML documents, bug #1346.
John Resig [Thu, 5 Jul 2007 02:45:01 +0000 (02:45 +0000)]
Added fix for broken child selectors in XML documents, bug #1346.

17 years agoAdded a fix for bug #1331, which caused Safari 1.3 to crash.
John Resig [Wed, 4 Jul 2007 16:15:09 +0000 (16:15 +0000)]
Added a fix for bug #1331, which caused Safari 1.3 to crash.

17 years agoFixed bug that prevented $= from working on elements that didn't have the specified...
John Resig [Wed, 4 Jul 2007 16:10:26 +0000 (16:10 +0000)]
Fixed bug that prevented $= from working on elements that didn't have the specified attribute.

17 years agoThe browser.version check was causing browsers with undetected useragents to die...
John Resig [Tue, 3 Jul 2007 13:19:09 +0000 (13:19 +0000)]
The browser.version check was causing browsers with undetected useragents to die. This, at least, makes it fail gracefully.

17 years agofix opacity issues in IE
Brandon Aaron [Mon, 2 Jul 2007 15:27:58 +0000 (15:27 +0000)]
fix opacity issues in IE

17 years agoTagging the 1.1.3 release.
John Resig [Sun, 1 Jul 2007 12:54:38 +0000 (12:54 +0000)]
Tagging the 1.1.3 release.

17 years agoDid some minor tidying up.
John Resig [Sat, 30 Jun 2007 13:57:49 +0000 (13:57 +0000)]
Did some minor tidying up.

17 years agoSimplified some of the IE styleFloat/cssFloat code.
John Resig [Sat, 30 Jun 2007 13:47:40 +0000 (13:47 +0000)]
Simplified some of the IE styleFloat/cssFloat code.

17 years agoAdded support for min and speed to the 'all' build.
John Resig [Sat, 30 Jun 2007 00:22:36 +0000 (00:22 +0000)]
Added support for min and speed to the 'all' build.

17 years agoAdded the Speed Test Suite. Can be made by doing 'make speed'.
John Resig [Sat, 30 Jun 2007 00:21:30 +0000 (00:21 +0000)]
Added the Speed Test Suite. Can be made by doing 'make speed'.

17 years agoFix for #1322
Brandon Aaron [Fri, 29 Jun 2007 22:20:02 +0000 (22:20 +0000)]
Fix for #1322

17 years agoFix for #1231
Brandon Aaron [Fri, 29 Jun 2007 22:05:25 +0000 (22:05 +0000)]
Fix for #1231

17 years agoWho am I kidding |= is useless.
John Resig [Fri, 29 Jun 2007 21:52:45 +0000 (21:52 +0000)]
Who am I kidding |= is useless.

17 years agoAdded minor support for |= and ~= selectors.
John Resig [Fri, 29 Jun 2007 21:43:22 +0000 (21:43 +0000)]
Added minor support for |= and ~= selectors.

17 years agoAdded fix for :nth-child(n).
John Resig [Fri, 29 Jun 2007 21:08:46 +0000 (21:08 +0000)]
Added fix for :nth-child(n).

17 years agoAdded fix for broken :only-child.
John Resig [Fri, 29 Jun 2007 21:03:27 +0000 (21:03 +0000)]
Added fix for broken :only-child.

17 years agoCalling jQuery() with apply would break things (namely in the SlickSpeed test suite).
John Resig [Fri, 29 Jun 2007 20:52:59 +0000 (20:52 +0000)]
Calling jQuery() with apply would break things (namely in the SlickSpeed test suite).

17 years agoDisabling Ajax tests for now - too many timeouts.
John Resig [Fri, 29 Jun 2007 20:27:20 +0000 (20:27 +0000)]
Disabling Ajax tests for now - too many timeouts.

17 years agoAdded extra last-child test.
John Resig [Fri, 29 Jun 2007 20:26:14 +0000 (20:26 +0000)]
Added extra last-child test.

17 years agoAdded massive speed improvements to selectors. Also added support for :nth-child...
John Resig [Fri, 29 Jun 2007 19:52:38 +0000 (19:52 +0000)]
Added massive speed improvements to selectors. Also added support for :nth-child(An+B) syntax.

17 years agoForgot to change the number of tests.
John Resig [Tue, 26 Jun 2007 20:46:19 +0000 (20:46 +0000)]
Forgot to change the number of tests.

17 years agoDisabled the test until after 1.1.3 (when we have time to deal with it). (Bug #975)
John Resig [Tue, 26 Jun 2007 20:45:06 +0000 (20:45 +0000)]
Disabled the test until after 1.1.3 (when we have time to deal with it). (Bug #975)

17 years agoFix for #1187, #1278 and #1279
Brandon Aaron [Thu, 21 Jun 2007 19:21:56 +0000 (19:21 +0000)]
Fix for #1187, #1278 and #1279

17 years agoAdded a fix for easing problems (fall back to "linear" if swing doesn't exist) (bug...
John Resig [Thu, 21 Jun 2007 03:09:04 +0000 (03:09 +0000)]
Added a fix for easing problems (fall back to "linear" if swing doesn't exist) (bug #1212).

17 years agoNormal hide/show toggling was broken, this fixes it (#1219).
John Resig [Thu, 21 Jun 2007 02:52:53 +0000 (02:52 +0000)]
Normal hide/show toggling was broken, this fixes it (#1219).

17 years agoFix for #1214, #1216, #1234 (problem with animations). In a nutshell, the callback...
John Resig [Thu, 21 Jun 2007 02:38:16 +0000 (02:38 +0000)]
Fix for #1214, #1216, #1234 (problem with animations). In a nutshell, the callback needs to occur even if the animation does not run.

17 years agouse jquery for dblclick handler to access event.target
Jörn Zaefferer [Wed, 20 Jun 2007 21:13:56 +0000 (21:13 +0000)]
use jquery for dblclick handler to access event.target

17 years agoFixed an issue with JSON data in packed scripts. (Bug #1298)
John Resig [Sat, 16 Jun 2007 22:19:17 +0000 (22:19 +0000)]
Fixed an issue with JSON data in packed scripts. (Bug #1298)

17 years agoRemoved useless safari workarounds, added rerun-single-test feature: just doubleclick...
Jörn Zaefferer [Thu, 14 Jun 2007 22:12:49 +0000 (22:12 +0000)]
Removed useless safari workarounds, added rerun-single-test feature: just doubleclick on a single test to execute that one, use browser's back button get back to executing all

17 years agoModified min build to include (like pack) the license header, thanks John for the...
Jörn Zaefferer [Thu, 14 Jun 2007 22:06:00 +0000 (22:06 +0000)]
Modified min build to include (like pack) the license header, thanks John for the regex

17 years agoAdding test for #1182
Brandon Aaron [Thu, 31 May 2007 16:49:49 +0000 (16:49 +0000)]
Adding test for #1182

17 years agoFix for #1185
Brandon Aaron [Thu, 31 May 2007 04:15:41 +0000 (04:15 +0000)]
Fix for #1185

17 years agoFix for #923, #1136 and #1233
Brandon Aaron [Thu, 31 May 2007 03:51:28 +0000 (03:51 +0000)]
Fix for #923, #1136 and #1233

17 years agoUse .one() when doing a .bind() with an "unload" event type (#1242)
Brandon Aaron [Thu, 31 May 2007 00:13:54 +0000 (00:13 +0000)]
Use .one() when doing a .bind() with an "unload" event type (#1242)

17 years agoFix event.which (#1217)
Brandon Aaron [Wed, 30 May 2007 19:22:24 +0000 (19:22 +0000)]
Fix event.which (#1217)

17 years agoClean up in jQuery.event.add for assigning a handler.guid
Brandon Aaron [Wed, 23 May 2007 13:51:04 +0000 (13:51 +0000)]
Clean up in jQuery.event.add for assigning a handler.guid

17 years agoRolling back Rev 1892
Brandon Aaron [Wed, 23 May 2007 12:48:15 +0000 (12:48 +0000)]
Rolling back Rev 1892

17 years agoremove an unused variable and its assignment in the 'map' method
Ed Engelhardt [Tue, 22 May 2007 10:37:54 +0000 (10:37 +0000)]
remove an unused variable and its assignment in the 'map' method

17 years agoremove a little superfluous blank which confused my eye the second time now
Ed Engelhardt [Tue, 22 May 2007 08:43:49 +0000 (08:43 +0000)]
remove a little superfluous blank which confused my eye the second time now

17 years agoIn r1576 on 2007-03-24 the merge() method was split into merge() and
Ed Engelhardt [Tue, 22 May 2007 08:18:31 +0000 (08:18 +0000)]
In r1576 on 2007-03-24 the merge() method was split into merge() and
unique() for speed improvement reasons. Document this fact and also be
clear about the fact that merge() is a generic function while unique()
really works just with jQuery objects.

17 years agofix style, prefix and typo in a few comments
Ed Engelhardt [Tue, 22 May 2007 07:11:50 +0000 (07:11 +0000)]
fix style, prefix and typo in a few comments

17 years agoimprove documentation of animate() function by mentioning both the 'swing' and 'linea...
Ed Engelhardt [Tue, 22 May 2007 07:05:32 +0000 (07:05 +0000)]
improve documentation of animate() function by mentioning both the 'swing' and 'linear' easings which are provided by default