David Serduke [Wed, 28 Nov 2007 23:53:54 +0000 (23:53 +0000)]
Back out one of the changes from the previous commit that wasn't necessary to fix the bug and might not be desired.
David Serduke [Wed, 28 Nov 2007 23:42:16 +0000 (23:42 +0000)]
Fixed #1908 by testing to make sure it isn't null before checking the nodeType.
David Serduke [Wed, 28 Nov 2007 23:13:59 +0000 (23:13 +0000)]
Fixed #1070 by converting all setAttribute() values to a string which is what all browsers but IE did. This will bring IE in line with the others and fix the bug.
David Serduke [Wed, 28 Nov 2007 22:23:40 +0000 (22:23 +0000)]
Fixed #1701 by passing through the arguments as suggested.
David Serduke [Wed, 28 Nov 2007 16:38:34 +0000 (16:38 +0000)]
Fixed #1714 by adding a default empty string if the value is falsey.
David Serduke [Wed, 28 Nov 2007 01:01:49 +0000 (01:01 +0000)]
Fixed #1599 as Brandon suggested to ignore negative values to width and height css. The fix itself is slightly different as it was moved to .css() instead of staying in .attr() like in his patch. I decided there was less chance of incorrect behavior (like if someone had an XML file with a width attribute that could be negative). Also took out some unneeded white space while I was in there.
David Serduke [Tue, 27 Nov 2007 23:58:07 +0000 (23:58 +0000)]
Fixed #1942 but running jQuery.css() before jQuery.curCSS(). This way when the property is width or height it gets the values through calculation instead of just css first. This appears to fix the problem in Opera without hurting any of the other browsers.
David Serduke [Tue, 27 Nov 2007 19:20:36 +0000 (19:20 +0000)]
Fixed #1970 by returning true instead of false when the mouse moves over a sub-element. The side effect is the event will not stop default behavior and will propagate which it didn't used to. I could find no compelling reason to stop those things from happening.
John Resig [Tue, 27 Nov 2007 01:03:49 +0000 (01:03 +0000)]
Added a quick shortcut to improve the speed of $(DOMElement) by over 2x.
Brandon Aaron [Mon, 19 Nov 2007 16:15:51 +0000 (16:15 +0000)]
Fix for #1933
Brandon Aaron [Mon, 19 Nov 2007 16:07:44 +0000 (16:07 +0000)]
Fix for #1944. Added nodeName and tagName to jQuery.props and tests for maxlength, defaultValue, selectedIndex, tagName and nodeName.
David Serduke [Sun, 18 Nov 2007 00:46:58 +0000 (00:46 +0000)]
Slightly altered a test that was causing IE7 in some cases to hard crash. The test was setting .html() to many divs, some of which were inside other divs effectly deleting them from the DOM. I suspect this caused some instability and may only have been an IE7 with IEDevBar issue. The test still correctly tests the functionality of that unit test.
David Serduke [Sat, 17 Nov 2007 22:09:51 +0000 (22:09 +0000)]
Fixed #1074 where .html() was incorrectly changing the selected value of an option.
David Serduke [Sat, 17 Nov 2007 04:36:50 +0000 (04:36 +0000)]
Changed core.js from CRLF to LF eol style to match the rest of the source files. This was the only change for this changeset. To see it try: 'svn diff -x --ignore-eol-style -r 3841:3842' and there will be no diffs. (actual revision numbers are an educated guess)
David Serduke [Sat, 17 Nov 2007 04:25:22 +0000 (04:25 +0000)]
Fix #1907 where the never-ending loop prevention used a coersion comparison which sometimes dropped values incorrectly. Also fixed a bug where on deep copies the target copied over itself (i = 2 addition). Last made code handle the case when a property might have a string in it that should be overwritten by an object.
David Serduke [Fri, 16 Nov 2007 23:54:45 +0000 (23:54 +0000)]
Fix #1905 bug where in IE the use of RegExp.test() was failing and needed to be replaced with String.match().
David Serduke [Fri, 16 Nov 2007 23:39:23 +0000 (23:39 +0000)]
Fixed #1095 bug where radio buttons became unchecked during show(). Also added unit test and had to fix a selector test that was broken by the new testing div in test/index.html. Last made some whitespace changes.
David Serduke [Fri, 16 Nov 2007 21:50:27 +0000 (21:50 +0000)]
Fix #1827 bug where extra setInterval()s can be called during animation.
David Serduke [Fri, 16 Nov 2007 19:01:53 +0000 (19:01 +0000)]
Fixed #1727 bug where :nth-child() was non-standard with CSS3 plus two minor white space changes in selector.js.
David Serduke [Fri, 16 Nov 2007 18:23:59 +0000 (18:23 +0000)]
Fixed #1822 bug where queue() didn't always default to type 'fx'.
David Serduke [Fri, 16 Nov 2007 17:49:12 +0000 (17:49 +0000)]
Fix for #1823 bug in animate {queue:false} plus a unit test.
Brandon Aaron [Wed, 14 Nov 2007 21:55:45 +0000 (21:55 +0000)]
Fix for #1925 and removed some unnecessary browser sniffing
Brandon Aaron [Wed, 14 Nov 2007 15:06:48 +0000 (15:06 +0000)]
Fix for #1911
Brandon Aaron [Wed, 14 Nov 2007 04:51:53 +0000 (04:51 +0000)]
Fix for #1893
David Serduke [Mon, 5 Nov 2007 18:49:00 +0000 (18:49 +0000)]
Added a check to make sure a parent node exists in call remove() to avoid errors as seen in bug #1742.
John Resig [Sat, 20 Oct 2007 22:08:03 +0000 (22:08 +0000)]
Spelling mistake.
John Resig [Sat, 20 Oct 2007 22:04:06 +0000 (22:04 +0000)]
Added a fix for .noConflict(true) not reverting properly. Also added unit tests for noConflict.
John Resig [Thu, 18 Oct 2007 17:25:08 +0000 (17:25 +0000)]
Ok, self[...] was BS, switching to window[...], bug #1748.
John Resig [Thu, 18 Oct 2007 00:30:37 +0000 (00:30 +0000)]
Added a fix for bug #1751, where the options getting overwritten for an animation was causing issues.
John Resig [Thu, 18 Oct 2007 00:07:45 +0000 (00:07 +0000)]
Fix for bug #1638, where a non-string data could break an Ajax request.
John Resig [Wed, 17 Oct 2007 23:35:57 +0000 (23:35 +0000)]
Fix for bug #1546 where a deep copy was attempted of DOM elements (which isn't needed).
John Resig [Wed, 17 Oct 2007 23:13:31 +0000 (23:13 +0000)]
Another fix for bug #1584, ajaxStop would not be called for a cross-domain request if a handler was not provided.
John Resig [Wed, 17 Oct 2007 22:42:12 +0000 (22:42 +0000)]
Added a fix for bug #1698, in which injected scripts were executed out of order, in relation to the DOM.
John Resig [Mon, 15 Oct 2007 17:55:54 +0000 (17:55 +0000)]
From a suggestion by Diego, moved the jQuery.ready() call outside of the try{}catch() block for IE/Safari DOM Ready.
Brandon Aaron [Fri, 12 Oct 2007 12:51:07 +0000 (12:51 +0000)]
Fixed .val(String) for select elements (#1760) [Thanks Sam]
Jörn Zaefferer [Fri, 12 Oct 2007 09:46:48 +0000 (09:46 +0000)]
Fix for #1779
Brandon Aaron [Sat, 6 Oct 2007 21:00:37 +0000 (21:00 +0000)]
Fix normalization of pageX and pageY event properties in IE (#1571). Thanks wizzud.
Brandon Aaron [Sat, 6 Oct 2007 17:04:20 +0000 (17:04 +0000)]
Fixes memory leaks relating to events in IE with page unload and with jQuery methods remove, html and empty (#1610, #1618, #1697 and #1731). Also re-worked variable names to be more consistent with the core.
Brandon Aaron [Sat, 6 Oct 2007 16:45:20 +0000 (16:45 +0000)]
Fix regression in add and append in IE after revision 3463
John Resig [Mon, 1 Oct 2007 20:15:20 +0000 (20:15 +0000)]
A fix for bug #1443, where globalEval occurred asynchronously in Safari 2, provided by Andrea Giammarchi.
John Resig [Mon, 1 Oct 2007 14:14:09 +0000 (14:14 +0000)]
Safari 2 was having problems with the syntax used for the ready handling.
John Resig [Thu, 27 Sep 2007 20:49:30 +0000 (20:49 +0000)]
Fixed the attribution for the DOM Ready fix - the previously used changes weren't significant.
Brandon Aaron [Thu, 27 Sep 2007 18:09:23 +0000 (18:09 +0000)]
Fix for #1153
John Resig [Thu, 27 Sep 2007 15:23:07 +0000 (15:23 +0000)]
Converted jQuery to use the new DOM Ready technique (by checking scroll). A single setTimeout loop is used for both IE and Safari now. Fixex bugs #1320 and #1561.
Brandon Aaron [Wed, 26 Sep 2007 22:28:00 +0000 (22:28 +0000)]
offset: fixes for correct body offsets in safari and mozilla (thanks Wizzud)
John Resig [Sun, 23 Sep 2007 16:55:19 +0000 (16:55 +0000)]
Completely overhauled the syntax of core - re-worked variable names, formatting, comments, and some structure.
John Resig [Sun, 23 Sep 2007 15:58:49 +0000 (15:58 +0000)]
Disabled the Ajax tests from running locally.
Brandon Aaron [Fri, 21 Sep 2007 21:41:56 +0000 (21:41 +0000)]
offset: added fixed position support and fixed opera issue with borders on absolute and relative parents
Brandon Aaron [Tue, 18 Sep 2007 18:08:35 +0000 (18:08 +0000)]
offset: do not add borders for table cells
Brandon Aaron [Tue, 18 Sep 2007 14:35:41 +0000 (14:35 +0000)]
Fixed #1474, setting selectedIndex
Brandon Aaron [Tue, 18 Sep 2007 12:38:15 +0000 (12:38 +0000)]
Use document.compatMode for quirks test in width/height method
Brandon Aaron [Mon, 17 Sep 2007 19:14:05 +0000 (19:14 +0000)]
Fix width/height to work properly on window/document
Brandon Aaron [Mon, 17 Sep 2007 18:20:51 +0000 (18:20 +0000)]
remove box global var from offset
John Resig [Mon, 17 Sep 2007 03:42:06 +0000 (03:42 +0000)]
Tagging the 1.2.1 release.
John Resig [Sat, 15 Sep 2007 03:44:44 +0000 (03:44 +0000)]
Added fix for bug #1567 - uppercase nodeName test in .add().
John Resig [Sat, 15 Sep 2007 03:26:33 +0000 (03:26 +0000)]
Fixed animating to 0% (Bug #1586).
John Resig [Sat, 15 Sep 2007 03:12:56 +0000 (03:12 +0000)]
Forgot the 'var' statement, causing variables to leak. (Bug #1592)
John Resig [Sat, 15 Sep 2007 03:08:46 +0000 (03:08 +0000)]
Added .eq(Number) back in - I'm convinced that it's more useful than the .slice() replacement. lt/gt are still gone, though.
John Resig [Sat, 15 Sep 2007 03:05:00 +0000 (03:05 +0000)]
Added a fix for bug #1612, where :contains() was failing on XML documents, in IE.
John Resig [Sat, 15 Sep 2007 02:40:42 +0000 (02:40 +0000)]
Convert relative animations to use -= and += (instead of just - and +, which conflicted with normal absolute animations). (Fixes bug #1607) Also fixed a bug in queue.
John Resig [Sat, 15 Sep 2007 02:24:44 +0000 (02:24 +0000)]
etooled the jQuery constructor, makes it work better for embedding (Bug #1585). Also took the opportunity to do some renaming in the constructor and init.
John Resig [Sat, 15 Sep 2007 02:23:08 +0000 (02:23 +0000)]
Fixed an issue with the suite expecting a different result for the changed triggerHandler behavior.
John Resig [Sat, 15 Sep 2007 02:16:29 +0000 (02:16 +0000)]
Fixed bug #1594, #1565, #1598 - all of which were concerning the improper execution of embedded scripts in IE and Safari.
John Resig [Sat, 15 Sep 2007 01:18:30 +0000 (01:18 +0000)]
Added a fix for bug #1580, where the query string was appended to the POST data, instead of being left alone.
John Resig [Sat, 15 Sep 2007 00:35:16 +0000 (00:35 +0000)]
Bug #1584, ajaxStop/complete calls weren't called for JSONP requests.
John Resig [Sat, 15 Sep 2007 00:23:21 +0000 (00:23 +0000)]
Fix for bug #1600 - multiple selects were being serialized incorrectly.
John Resig [Fri, 14 Sep 2007 23:58:51 +0000 (23:58 +0000)]
Make sure that the right event type is always triggered (was causing problems with UI's event triggering).
John Resig [Fri, 14 Sep 2007 17:47:01 +0000 (17:47 +0000)]
Fixed some bugs in how .queue() works (it wasn't handling the argument order correctly).
Brandon Aaron [Thu, 13 Sep 2007 16:45:53 +0000 (16:45 +0000)]
fix clone(true) for IE
Brandon Aaron [Thu, 13 Sep 2007 16:44:44 +0000 (16:44 +0000)]
clean ant task shouldn't delete the new test folder
Sean Catchpole [Wed, 12 Sep 2007 22:16:43 +0000 (22:16 +0000)]
Absolutely position animations, damn my twichy fingers for commiting too soon.
Sean Catchpole [Wed, 12 Sep 2007 21:04:10 +0000 (21:04 +0000)]
Animate should absolutely position if a number is passed (Ex: -700)
Paul Mclanahan [Wed, 12 Sep 2007 15:45:05 +0000 (15:45 +0000)]
Updated test.js for the runtest build target to reflect the path changes for the test scripts.
Brandon Aaron [Tue, 11 Sep 2007 02:13:00 +0000 (02:13 +0000)]
safari2 should just check the browser and version
Brandon Aaron [Tue, 11 Sep 2007 01:08:51 +0000 (01:08 +0000)]
Include scroll offsets for everything but inline and table-row elements
Brandon Aaron [Tue, 11 Sep 2007 00:43:12 +0000 (00:43 +0000)]
Couple of fixes to the offset method
John Resig [Mon, 10 Sep 2007 19:43:58 +0000 (19:43 +0000)]
Fixed a bug that was occurring in the packed version of jQuery.
John Resig [Mon, 10 Sep 2007 18:51:39 +0000 (18:51 +0000)]
Tagging the 1.2 release.
John Resig [Mon, 10 Sep 2007 18:39:16 +0000 (18:39 +0000)]
Made the expando code attach properties to an anonymous object, as opposed to the global window object, and fixed a bug where .removeAttribute() tried to fire even if it didn't exist.
John Resig [Mon, 10 Sep 2007 00:00:30 +0000 (00:00 +0000)]
Fixed a bug in .dir() where it would return non-element nodes.
John Resig [Sun, 9 Sep 2007 23:17:30 +0000 (23:17 +0000)]
Fixed spelling mistake.
John Resig [Sun, 9 Sep 2007 23:08:21 +0000 (23:08 +0000)]
Added an extra check for removing a named cache property - calling it when it didn't exist caused an exception.
John Resig [Sun, 9 Sep 2007 22:59:41 +0000 (22:59 +0000)]
Landing a version of $(document)/$(window) .width()/.height(). It won't win any awards, but it'll hold us over for this release.
John Resig [Sun, 9 Sep 2007 21:34:37 +0000 (21:34 +0000)]
Added .prevAll() and .nextAll() functionality.
John Resig [Sun, 9 Sep 2007 19:00:56 +0000 (19:00 +0000)]
So, apparently, I never committed the second half of the new field value code. This allows you to set values on groups of checkboxes, radio buttons, and selects.
John Resig [Sun, 9 Sep 2007 18:29:15 +0000 (18:29 +0000)]
Fixed some line ending issues.
John Resig [Sun, 9 Sep 2007 18:09:27 +0000 (18:09 +0000)]
Errors were occuring with getScript, if you called it too early.
John Resig [Sun, 9 Sep 2007 16:17:32 +0000 (16:17 +0000)]
Moved the fx queueing over to the new expando system.
John Resig [Sun, 9 Sep 2007 16:12:56 +0000 (16:12 +0000)]
.stop() wouldn't resume any queued animations.
John Resig [Sat, 8 Sep 2007 23:31:23 +0000 (23:31 +0000)]
Landing the new expando management code. Completely overhauls how data is associated with elements.
Plugins will be most interested in:
- jQuery.data(elem) -> Unique ID for the element
- jQuery.data(elem, name) -> Named data store for the element
- jQuery.data(elem, name, value) -> Saves a value to the named data store
- jQuery.removeData(elem) -> Remove the expando and the complete data store
- jQuery.removeData(elem, name) -> Removes just this one named data store
jQuery's .remove() and .empty() automatically clean up after themselves. Once an element leaves a DOM document their events are no longer intact. Thus, statements like so:
{{{
$("#foo").remove().appendTo("#bar");
}}}
should be written like so:
{{{
$("#foo").appendTo("#bar");
}}}
in order to avoid losing the bound events.
John Resig [Sat, 8 Sep 2007 18:02:39 +0000 (18:02 +0000)]
Reintroduced .offset() as a default include, added original author credits.
John Resig [Sat, 8 Sep 2007 16:19:34 +0000 (16:19 +0000)]
Landing the .clone() rewrite by Brandon (also includes the new event cloning functionality .clone(true)).
John Resig [Sat, 8 Sep 2007 14:58:52 +0000 (14:58 +0000)]
Disabled the automatic inclusion of offset.js
John Resig [Sat, 8 Sep 2007 14:50:11 +0000 (14:50 +0000)]
Removed the test suite generation code.
John Resig [Sat, 8 Sep 2007 14:44:29 +0000 (14:44 +0000)]
Added the new .offset() method, directly imported from Dimensions (heavily worked over by both Brandon and John).
Original source:
http://brandonaaron.net/jquery/issues/dimensions/new_offset/jquery.offset.js
John Resig [Sat, 8 Sep 2007 13:49:42 +0000 (13:49 +0000)]
Added .hasClass() (Simply just passes through to .is()).
John Resig [Sat, 8 Sep 2007 12:46:01 +0000 (12:46 +0000)]
Finished up some of the reorganization.
John Resig [Sat, 8 Sep 2007 12:42:32 +0000 (12:42 +0000)]
Reorganzing the jQuery source (first phase).
John Resig [Sat, 8 Sep 2007 12:33:06 +0000 (12:33 +0000)]
Added a new :animated selector - only selects elements that are currently being animated.
John Resig [Fri, 7 Sep 2007 21:57:40 +0000 (21:57 +0000)]
Massive FX rewrite. Full list of changes:
- You can now animate non-px values (em and %, for example)
- You can animate things things that previously broke (like font-size)
- You can now write fx plugins (to add in the ability to animate colors, for example)
- Advanced queueing controls were added (.queue(), .dequeue(), and {queue:false})
- Step was re-tooled to work with the new fx plugin scheme
- Added the ability to do relative animations
- Made it so that you can do simultaneous animations on a single element
- A complete refactoring of jQuery.fx, improving naming, and usability