John Resig [Fri, 31 Aug 2007 03:26:03 +0000 (03:26 +0000)]
Added $(...).map() functionality. (Also closes #1250, imo)
John Resig [Thu, 30 Aug 2007 16:34:34 +0000 (16:34 +0000)]
Made it so that you can pass in an event object to the trigger data args and it'll override the custom event object (this way you can pass in the event object of a mousemove to a drag event trigger, for example).
John Resig [Thu, 30 Aug 2007 05:51:11 +0000 (05:51 +0000)]
Added a new extra fn arg to trigger (so you don't have to simulate the trigger yourself). (Bug #1467) Added a new .triggerHandler() method that allows you to NOT trigger native calls AND returns the response from the handlers. (Bug #873 & #1417)
John Resig [Tue, 28 Aug 2007 04:42:35 +0000 (04:42 +0000)]
Made jQuery's internal trigger method return the value from handle. (Bug #1417)
John Resig [Tue, 28 Aug 2007 04:34:23 +0000 (04:34 +0000)]
Made it so that the last return value is always returned from handle() (unless one of the return values was false, in which case the return value is false). (Bug #1416)
John Resig [Mon, 27 Aug 2007 04:58:02 +0000 (04:58 +0000)]
Fixed the issue where $("body").find("div#foo") would ignore the specified tag name. (Bug #1543)
John Resig [Sat, 25 Aug 2007 05:12:20 +0000 (05:12 +0000)]
Added new replaceWith() (replace all matched elements with the specified HTML/DOM Elements/Array/etc.) and replaceAll() (replace the specified elements with the set of matched elements).
John Resig [Sat, 25 Aug 2007 03:55:12 +0000 (03:55 +0000)]
Added a test case for "purple include", fixed a bug.
John Resig [Sat, 25 Aug 2007 03:33:08 +0000 (03:33 +0000)]
New feature: You can now inject portions of a document via .load(), as opposed to the full thing.
Examples:
- $("#test").load("test.html #something");
- $("#test").load("test.html p.user");
Caveats:
- No scripts are injected when a selector is used.
- The selector is rooted inside the head and body - it's equivalent to doing:
$("body,head").find(selector)
John Resig [Sat, 25 Aug 2007 03:03:27 +0000 (03:03 +0000)]
Landing animation of scrollLeft/scrollTop (also works on random DOM object properties as well).
John Resig [Fri, 24 Aug 2007 01:49:27 +0000 (01:49 +0000)]
Tagging the 1.1.4 release.
John Resig [Fri, 24 Aug 2007 01:28:07 +0000 (01:28 +0000)]
Marked all the appropriate methods as being deprecated for the 1.1.4 release (in preparation for 1.2).
John Resig [Fri, 24 Aug 2007 01:06:23 +0000 (01:06 +0000)]
Brought back a husk method to represent evalScripts. I didn't realize so many plugins relied on it (it's deprecated in this release).
John Resig [Wed, 22 Aug 2007 07:10:50 +0000 (07:10 +0000)]
Tweaked the Ajax test suite for Safari.
John Resig [Wed, 22 Aug 2007 06:51:41 +0000 (06:51 +0000)]
Only bind .ready() once per instance of jQuery - and only bind if the ready() method is actually called (nothing is bound if window/load is used).
John Resig [Wed, 22 Aug 2007 06:47:44 +0000 (06:47 +0000)]
Fixed bug with the packed version of jQuery.
John Resig [Wed, 22 Aug 2007 06:19:47 +0000 (06:19 +0000)]
Fixed the case where global events weren't being triggered on window and document.
John Resig [Wed, 22 Aug 2007 06:19:22 +0000 (06:19 +0000)]
Fixed use of eval() and new Function() to work within the correct scope (and not throw errors).
John Resig [Wed, 22 Aug 2007 05:44:47 +0000 (05:44 +0000)]
Made 'jQuery' unrollable via .noConflict(true) and instances of new Function() have been converted to eval(function(){}) in order to handle jQuery name changes. (Bug #1393)
John Resig [Wed, 22 Aug 2007 04:52:53 +0000 (04:52 +0000)]
Added fix for undefined property in animation, in IE (Bug #1518)
John Resig [Tue, 21 Aug 2007 08:25:11 +0000 (08:25 +0000)]
Using some of the ideas presented by rformato, I've significantly sped up $("#id") selection. It's now just 10% slower than doing: $(document.getElementById("test")), which seems quite acceptable. (Bug #1316)
John Resig [Tue, 21 Aug 2007 07:33:52 +0000 (07:33 +0000)]
Added the new :has() selector (Bug #1521)
John Resig [Tue, 21 Aug 2007 07:00:06 +0000 (07:00 +0000)]
You can now assign jQuery to random namespaces - very cool. (Bug #1393)
John Resig [Tue, 21 Aug 2007 05:43:44 +0000 (05:43 +0000)]
Fix for a selector speed regression (calling a simple selector many times resulted in a significant speed down). This has been fixed by breaking the RegExps out into the global scope. This required that a closure be implemented around the full jQuery script (which is now the case). Some simple changes were made in addition to the RegExp one, allowing for some greater flexibility on our part - and hopefully better compression.
Speed results:
http://dev.jquery.com/~john/ticket/1351/ vs.
http://dev.jquery.com/~john/ticket/1351/113.html vs.
http://dev.jquery.com/~john/ticket/1351/112.html
John Resig [Tue, 21 Aug 2007 04:46:07 +0000 (04:46 +0000)]
Two quick fixes in relation to #1028. ajaxSetup shouldn't be deep and the boolean arg should be used, not overwritten with 'true'.
John Resig [Tue, 21 Aug 2007 04:42:31 +0000 (04:42 +0000)]
Make deep .extend() an optional argument - it will go deep if you pass in an boolean as the first argument (fixed bug #1028).
Jörn Zaefferer [Mon, 20 Aug 2007 20:31:06 +0000 (20:31 +0000)]
ignore dist folder
Jörn Zaefferer [Mon, 20 Aug 2007 18:59:21 +0000 (18:59 +0000)]
ignore eclipse' .project files
John Resig [Mon, 20 Aug 2007 07:08:01 +0000 (07:08 +0000)]
Fixed two cases where []. was used instead of Array.prototype. (Bug #1427)
John Resig [Mon, 20 Aug 2007 07:04:00 +0000 (07:04 +0000)]
Just pushed in my changes for making jQuery.each on objects faster, sample results: dev.jquery.com/~john/ticket/each/obj.html
John Resig [Mon, 20 Aug 2007 06:29:41 +0000 (06:29 +0000)]
Just pushed some major speed improvements through for $.each() - we're now seeing a 2x speed improvement over 1.1.3. Some crude results can be found here: dev.jquery.com/~john/ticket/each/
John Resig [Mon, 20 Aug 2007 03:59:34 +0000 (03:59 +0000)]
Make jQuery work without warnings in strict mode, in Firefox.
John Resig [Mon, 20 Aug 2007 02:51:57 +0000 (02:51 +0000)]
Implemented the new .slice() method (bug #1517).
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).
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)
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)
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)
John Resig [Sun, 19 Aug 2007 00:07:41 +0000 (00:07 +0000)]
Fixed non-unique results from .parent(), .parents(), .next(), etc. (Bug #1449)
John Resig [Thu, 16 Aug 2007 03:35:29 +0000 (03:35 +0000)]
Added a fix for bug #1489, appending <caption> was broken.
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
John Resig [Tue, 7 Aug 2007 22:25:26 +0000 (22:25 +0000)]
More missing semicolons.
John Resig [Tue, 7 Aug 2007 22:23:30 +0000 (22:23 +0000)]
Added a couple JSLint-caught fixes.
John Resig [Tue, 31 Jul 2007 02:59:53 +0000 (02:59 +0000)]
Brought back jQuery.globalEval(), fixing bug #1425.
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).
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)
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.
John Resig [Sun, 29 Jul 2007 23:10:00 +0000 (23:10 +0000)]
Fixed failing test for Safari 2.
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.
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)
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.
Sean Catchpole [Thu, 26 Jul 2007 00:31:48 +0000 (00:31 +0000)]
nevermind, I'm dumb. =P
Sean Catchpole [Thu, 26 Jul 2007 00:27:56 +0000 (00:27 +0000)]
Fixed ajax array arguments in $.param
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.
John Resig [Wed, 25 Jul 2007 00:39:45 +0000 (00:39 +0000)]
Added a fix for relative // - $("//div",this) (bug #1418)
Brandon Aaron [Sat, 21 Jul 2007 04:26:13 +0000 (04:26 +0000)]
selectedIndex is now cloned cross-browser (#1294)
Brandon Aaron [Sat, 21 Jul 2007 03:16:22 +0000 (03:16 +0000)]
selectedIndex is now cloned in IE (#1294)
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)
Brandon Aaron [Sat, 21 Jul 2007 01:53:38 +0000 (01:53 +0000)]
missing semi-colon
Brandon Aaron [Sat, 21 Jul 2007 01:04:59 +0000 (01:04 +0000)]
trigger DOM0 event handlers when doing a trigger (#1363)
John Resig [Sat, 21 Jul 2007 00:52:30 +0000 (00:52 +0000)]
Added support for parsererror errors from Ajax requests (bug #1145).
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).
John Resig [Fri, 20 Jul 2007 23:43:12 +0000 (23:43 +0000)]
Added a fix for h1 + h2 not working. (Bug #1361)
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)
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).
John Resig [Fri, 20 Jul 2007 21:59:52 +0000 (21:59 +0000)]
Completely reworked the evalScripts() code, fixing bugs #1332, #975, and #777.
Brandon Aaron [Fri, 20 Jul 2007 21:53:37 +0000 (21:53 +0000)]
broken test in IE
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).
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).
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)
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).
Brandon Aaron [Fri, 20 Jul 2007 18:58:38 +0000 (18:58 +0000)]
Fix for #1402
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)
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).
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:...})
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.
John Resig [Thu, 12 Jul 2007 20:33:05 +0000 (20:33 +0000)]
Fix for IE firing document ready too soon (Bug #1320).
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.
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.
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.
John Resig [Mon, 9 Jul 2007 00:48:16 +0000 (00:48 +0000)]
Touched up the XMLHttpRequest code (fixed some bugs, fixed formatting, etc.).
Yehuda Katz [Mon, 9 Jul 2007 00:20:44 +0000 (00:20 +0000)]
Adds XHR support to Rhino evn
John Resig [Mon, 9 Jul 2007 00:15:44 +0000 (00:15 +0000)]
Tweaked some of the tests, added in events and fx tests.
John Resig [Mon, 9 Jul 2007 00:02:32 +0000 (00:02 +0000)]
Added a className tweak. All core and selector tests now pass.
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.
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.
John Resig [Sun, 8 Jul 2007 22:26:05 +0000 (22:26 +0000)]
A barebones implementation of getComputedStyle.
John Resig [Sun, 8 Jul 2007 20:22:50 +0000 (20:22 +0000)]
UTF8 support rolled in (both for external docs and innerHTML).
John Resig [Sun, 8 Jul 2007 16:35:48 +0000 (16:35 +0000)]
Attribute values should be JS strings.
John Resig [Sun, 8 Jul 2007 16:33:23 +0000 (16:33 +0000)]
.ownerDocument should be null on document.
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.
John Resig [Sun, 8 Jul 2007 16:06:10 +0000 (16:06 +0000)]
Fixed selected/checked/disabled, added .style support, added .elements.
John Resig [Sun, 8 Jul 2007 07:02:36 +0000 (07:02 +0000)]
Added .value to the env impl.
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.
John Resig [Sun, 8 Jul 2007 04:48:11 +0000 (04:48 +0000)]
Upgraded Rhino to 1.6r6.
John Resig [Sun, 8 Jul 2007 04:46:21 +0000 (04:46 +0000)]
Making the test suite a little more XML-compliant.
John Resig [Fri, 6 Jul 2007 13:36:38 +0000 (13:36 +0000)]
Final fix for Safari crasher (bug #1331).
John Resig [Thu, 5 Jul 2007 20:40:44 +0000 (20:40 +0000)]
Fix for Safari 1.3 crash (bug #1331).
Ed Engelhardt [Thu, 5 Jul 2007 08:19:18 +0000 (08:19 +0000)]
commit annother trivial comment fix to reduce my local changesets
Ed Engelhardt [Thu, 5 Jul 2007 08:18:25 +0000 (08:18 +0000)]
fix little typo in comment
John Resig [Thu, 5 Jul 2007 04:43:24 +0000 (04:43 +0000)]
Tagging the 1.1.3.1 release.