Commit graph

1159 commits

Author SHA1 Message Date
John Resig 456da2d4a8 Tagging the 1.2.1 release. 2007-09-17 03:42:06 +00:00
John Resig e0c6e4ef98 Added fix for bug #1567 - uppercase nodeName test in .add(). 2007-09-15 03:44:44 +00:00
John Resig f6a2e1734f Fixed animating to 0% (Bug #1586). 2007-09-15 03:26:33 +00:00
John Resig dbca9cbf62 Forgot the 'var' statement, causing variables to leak. (Bug #1592) 2007-09-15 03:12:56 +00:00
John Resig 3dabd7ec30 Added .eq(Number) back in - I'm convinced that it's more useful than the .slice() replacement. lt/gt are still gone, though. 2007-09-15 03:08:46 +00:00
John Resig 1088d06e54 Added a fix for bug #1612, where :contains() was failing on XML documents, in IE. 2007-09-15 03:05:00 +00:00
John Resig df246df2da 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. 2007-09-15 02:40:42 +00:00
John Resig 9c2c47d7c0 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. 2007-09-15 02:24:44 +00:00
John Resig d5f2129ac4 Fixed an issue with the suite expecting a different result for the changed triggerHandler behavior. 2007-09-15 02:23:08 +00:00
John Resig 606b863eda Fixed bug #1594, #1565, #1598 - all of which were concerning the improper execution of embedded scripts in IE and Safari. 2007-09-15 02:16:29 +00:00
John Resig 62d84e44ac Added a fix for bug #1580, where the query string was appended to the POST data, instead of being left alone. 2007-09-15 01:18:30 +00:00
John Resig d9a3b133f1 Bug #1584, ajaxStop/complete calls weren't called for JSONP requests. 2007-09-15 00:35:16 +00:00
John Resig 6d71a10ed2 Fix for bug #1600 - multiple selects were being serialized incorrectly. 2007-09-15 00:23:21 +00:00
John Resig 82eccdfcd0 Make sure that the right event type is always triggered (was causing problems with UI's event triggering). 2007-09-14 23:58:51 +00:00
John Resig 41590d37e1 Fixed some bugs in how .queue() works (it wasn't handling the argument order correctly). 2007-09-14 17:47:01 +00:00
Brandon Aaron 500ff12d5d fix clone(true) for IE 2007-09-13 16:45:53 +00:00
Brandon Aaron 08a6acc362 clean ant task shouldn't delete the new test folder 2007-09-13 16:44:44 +00:00
Sean Catchpole 8ece9e8fb1 Absolutely position animations, damn my twichy fingers for commiting too soon. 2007-09-12 22:16:43 +00:00
Sean Catchpole e4a62e4ec6 Animate should absolutely position if a number is passed (Ex: -700) 2007-09-12 21:04:10 +00:00
Paul Mclanahan e22336e7ae Updated test.js for the runtest build target to reflect the path changes for the test scripts. 2007-09-12 15:45:05 +00:00
Brandon Aaron 4c5f091d22 safari2 should just check the browser and version 2007-09-11 02:13:00 +00:00
Brandon Aaron ed51be1622 Include scroll offsets for everything but inline and table-row elements 2007-09-11 01:08:51 +00:00
Brandon Aaron 2608bae438 Couple of fixes to the offset method 2007-09-11 00:43:12 +00:00
John Resig a36771c83e Fixed a bug that was occurring in the packed version of jQuery. 2007-09-10 19:43:58 +00:00
John Resig ce256312d5 Tagging the 1.2 release. 2007-09-10 18:51:39 +00:00
John Resig 6476b15f1a 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. 2007-09-10 18:39:16 +00:00
John Resig 899ee03d37 Fixed a bug in .dir() where it would return non-element nodes. 2007-09-10 00:00:30 +00:00
John Resig f38251b2ce Fixed spelling mistake. 2007-09-09 23:17:30 +00:00
John Resig cd6ec6e157 Added an extra check for removing a named cache property - calling it when it didn't exist caused an exception. 2007-09-09 23:08:21 +00:00
John Resig 139b03af7c Landing a version of $(document)/$(window) .width()/.height(). It won't win any awards, but it'll hold us over for this release. 2007-09-09 22:59:41 +00:00
John Resig 052aa1445a Added .prevAll() and .nextAll() functionality. 2007-09-09 21:34:37 +00:00
John Resig b59c94d5c2 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. 2007-09-09 19:00:56 +00:00
John Resig b4bf244c0e Fixed some line ending issues. 2007-09-09 18:29:15 +00:00
John Resig 4e504d86b9 Errors were occuring with getScript, if you called it too early. 2007-09-09 18:09:27 +00:00
John Resig 97fe63cb48 Moved the fx queueing over to the new expando system. 2007-09-09 16:17:32 +00:00
John Resig 7e9d853154 .stop() wouldn't resume any queued animations. 2007-09-09 16:12:56 +00:00
John Resig 3a4e1233aa 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.
2007-09-08 23:31:23 +00:00
John Resig 15a78f8fea Reintroduced .offset() as a default include, added original author credits. 2007-09-08 18:02:39 +00:00
John Resig 2929f8aa67 Landing the .clone() rewrite by Brandon (also includes the new event cloning functionality .clone(true)). 2007-09-08 16:19:34 +00:00
John Resig cc22c04c90 Disabled the automatic inclusion of offset.js 2007-09-08 14:58:52 +00:00
John Resig 2ce41905c4 Removed the test suite generation code. 2007-09-08 14:50:11 +00:00
John Resig 28ee5c6922 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
2007-09-08 14:44:29 +00:00
John Resig d2f82aba26 Added .hasClass() (Simply just passes through to .is()). 2007-09-08 13:49:42 +00:00
John Resig 6728e3cf74 Finished up some of the reorganization. 2007-09-08 12:46:01 +00:00
John Resig b4e23b5af0 Reorganzing the jQuery source (first phase). 2007-09-08 12:42:32 +00:00
John Resig 13b66c8ba9 Added a new :animated selector - only selects elements that are currently being animated. 2007-09-08 12:33:06 +00:00
John Resig 902554a38d 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
2007-09-07 21:57:40 +00:00
John Resig 3abf3125cb Fix for bug #760 (fontSize returns different values in IE). This was part of a larger issue where IE returned non-pixel values from it's computed style - this normalizes it (thanks to a fix by Dean Edwards). 2007-09-07 21:39:44 +00:00
John Resig ba2109136d Fixed a bug in event - "native" is a reserved word in Safari 2. 2007-09-07 19:28:25 +00:00
John Resig 84eb2cffca Forgot to update the $.param() tests. 2007-09-05 17:22:13 +00:00