jquery.git
16 years agoComplete overhaul of the Ajax test suite, it's now passing in all browsers. In order...
John Resig [Sun, 19 Aug 2007 23:37:26 +0000 (23:37 +0000)]
Complete overhaul of the Ajax test suite, it's now passing in all browsers. In order to achieve this I had to fix a numbe
r of bugs in the suite itself, along with other random bugs that popped up. The following bugs were resolved along the wa
y: #1236 (.extend() keeps processing when it hits nulls), #1028 (.extend() now works recursively), #1080 ($.get no longer
 overwrites the data parameter), #1210 (Creating script and link tags now work), and #1463 (jQuery.global has been re-too
led to no longer leak memory and slow things down).

16 years agoAdded a fix for IE returning comment nodes in * queries. I put the logic in $.merge...
John Resig [Sun, 19 Aug 2007 07:28:41 +0000 (07:28 +0000)]
Added a fix for IE returning comment nodes in * queries. I put the logic in $.merge() but added a conditional such that the speed hit only effects IE users. (Bug #1155)

16 years agoApplied arrix's fix for getting style values on elements that aren't in the DOM,...
John Resig [Sun, 19 Aug 2007 07:06:15 +0000 (07:06 +0000)]
Applied arrix's fix for getting style values on elements that aren't in the DOM, in Safari. (Bug #1482)

16 years agoWe were catching exceptions within the success callback of an Ajax request, then...
John Resig [Sun, 19 Aug 2007 00:48:53 +0000 (00:48 +0000)]
We were catching exceptions within the success callback of an Ajax request, then causing an error callback to be called (which is incorrect). (Bug #1441)

16 years agoFixed non-unique results from .parent(), .parents(), .next(), etc. (Bug #1449)
John Resig [Sun, 19 Aug 2007 00:07:41 +0000 (00:07 +0000)]
Fixed non-unique results from .parent(), .parents(), .next(), etc. (Bug #1449)

16 years agoAdded a fix for bug #1489, appending <caption> was broken.
John Resig [Thu, 16 Aug 2007 03:35:29 +0000 (03:35 +0000)]
Added a fix for bug #1489, appending <caption> was broken.

16 years agoreverted my "fixes", seems like they work only with the latest (dev) rhino version...
Jörn Zaefferer [Tue, 14 Aug 2007 16:37:14 +0000 (16:37 +0000)]
reverted my "fixes", seems like they work only with the latest (dev) rhino version, which isn't that helpful

16 years agoMore missing semicolons.
John Resig [Tue, 7 Aug 2007 22:25:26 +0000 (22:25 +0000)]
More missing semicolons.

16 years agoAdded a couple JSLint-caught fixes.
John Resig [Tue, 7 Aug 2007 22:23:30 +0000 (22:23 +0000)]
Added a couple JSLint-caught fixes.

16 years agoBrought back jQuery.globalEval(), fixing bug #1425.
John Resig [Tue, 31 Jul 2007 02:59:53 +0000 (02:59 +0000)]
Brought back jQuery.globalEval(), fixing bug #1425.

16 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).

16 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)

16 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.

16 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.

16 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.

16 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)

16 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.

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

16 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

16 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.

16 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)

16 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)

16 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)

16 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)

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

16 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)

16 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).

16 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).

16 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)

16 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)

16 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).

16 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.

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

16 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).

16 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).

16 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)

16 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).

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

16 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)

16 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).

16 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:...})

16 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.

16 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).

16 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.

16 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.

16 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.

16 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.).

16 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

16 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.

16 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.

16 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.

16 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.

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

16 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).

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

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

16 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.

16 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).

16 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).

16 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

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

16 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.

16 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).

16 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.

16 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.

16 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.

16 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.

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

16 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.

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

16 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.

16 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.

16 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'.

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

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

16 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.

16 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.

16 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).

16 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.

16 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).

16 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.

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

16 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.

16 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.

16 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)

16 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

16 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).

16 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).

16 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.

16 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

16 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)

16 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

16 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

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

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