MOOTOOLS CHANGELOG ------ r474 ------ 1.1 (??? ??, 2007) http://svn.mootools.net/trunk/ ADD: Added $iterable to Utility.js - returns true for arrays and iterable objects (digitarald) ADD: Added: document.head holds a shortcut to the element (kamicane) ADD: Fx.Transitions allows now configurable transitions parameters for effects (kamicane) ADD: Added Element::injectTop to inject Elements as first child (kamicane) ADD: Added String::contains, which checks occurence of string, second parameter is an optional seperator. (kamicane) ADD: Added String::escapeRegExp, escapes expression characters in string (kamicane) ADD: Added Cookie option: secure for secure connections (digitarald) ADD: Added Element::empty, trashes all child elements and sets innerHTML to '' (aaron) ADD: Drag.Base grid option, for snap-to-grid movement, also accepts an object with the usual x/y values. (kamicane) ADD: Slider with offset option for exact knob position (kamicane) ADD: When you click the Slider Container you can also drag with the same click (kamicane) ADD: Added Element::removeProperty (kamicane) ADD: Element::getStyle: Full paddings/margins/borders support, correct width/height for ie. (kamicane) ADD: Added simple Abstract, to automatically add .extend to objects. Converted singletons to Abstract (kamicane) ADD: Added global MooTools object, with version property ADD: Added Array.getLast and .getRandom (kamicane) ADD: Accordion now allows you to add elements to it after its creation (addSection) (kamicane) ADD: Group class to collect events from several class instances ADD: Garbage.trash automatically cleans up the internal $ property for elements and fires onTrash before cleaning elements ADD: Implemented custom events, with some defaults as mouseenter, mouseleave and domready (kamicane) ADD: Added Array::merge and Array::include (similar to extend/push but with duplicate check) (kamicane) ADD: Ajax::evalScripts with global eval and automated eval for javascript response, can be forced with evalResponse , added Ajax::getHeader (digitarald) ADD: XHR now has a 'cancel' method, the option 'autoCancel' and the running property for active requests (digitarald, kamicane) ADD: UrlEncoding moved from Ajax to XHR to allow get/post encoding for Xhr/Json.Request (digitarald, kamicane) ADD: Added Element::hasChild() (kamicane) CHG: Element::setStyle does not require anymore "+ 'px'", automatically added to number values (kamicane) ADD: BREAKING CHANGE: Ajax: postBody renamed in data. It now works also with method=get. (kamicane) ADD: Added Array.include, to push an item in an array only if it's not already in. (kamicane) ADD: Added $time (Utility.js) to return the current timestamp [#90] (Inviz) ADD: Dom.js now uses Xpath if supported (window.xpath property), including selector caching and duplicate check ADD: setOptions accepts now any number of arguments, this.options holds the default values (Inviz) ADD: f1-f12 keys for Event.key [#70] (Inviz) ADD: Element constructor now takes an object argument for setting 'styles', 'attributes' and 'events' (ibolmo) ADD: Added $merge, merging objects recursively (aaron) ADD: Added Element.getStyles() (aaron) ADD: $each iterates objects and arrays (aaron) CHG: Refractored Element::getStyle. Now smaller, safer, better, up to 40% faster. (kamicane) CHG: DEPRECATED Array::test is now Array::contains (kamicane) CHG: BREAKING CHANGE: Hash::empty now clears the Hash values (kamicane) CHG: Drag.Base, return this to Drag::attach/detach (kamicane) CHG: Behavior of fixed tooltips is different, is not anymore relative to the mouse position, but to the element position. CHG: Element::inject allows 'top' CHG: $type does now recognize 'regexp' [#163] (digitarald) CHG: BREAKING CHANGE: Hash::each callback arguments are now (value, key) to be consistent with all each's (blame digitarald) CHG: Object.extend is now $extend, still compatible CHG: Object.native is now $native, still compatible CHG: Renamed internal element properties with prepended $ ($events, $included) (digitarald) CHG: Cookie.remove with paths and domains [#127] (kamicane) CHG: Added $pick to bind argument in Function::create, to allow null binds (kamicane) CHG: Added Array::removeItem, copied from remove, useful for $$ collection as remove gets overridden by Element::remove (kamicane) CHG: Added set and get Property cases for the attribute 'for' [#48] (kamicane) CHG: Event.js mouse events now respond also to menu types and all click types (including dblclick) (kamicane) CHG: Added String.prototype.hasListed for speedy classNames and tilde attributes (kamicane) CHG: MINOR BREAKING CHANGE: Element.hasClass does not use Regexp anymore (For Dom.js performance) CHG: Splitted Element.js in Element, Element.Dimensions, Element.Events and Element.Form, moved Files from Addons to Core/Native/Plugins (kamicane) CHG: Fast Element.walk for getNext/Previous/Last/First (Inviz) CHG: onProgress of Asset.Images is now binded to the current image and the index is passed. (kamicane) CHG: In Event class keys are now only computed for 'keydown' (kamicane) CHG: DEPRECATED window.onDomReady, use window.addEvent('domready', fn) CHG: Window.Base.js renamed to Window.DomReady.js CHG: Tips now use 'mouseenter' and 'mouseleave' instead of 'mouseover' and 'mouseout' (kamicane) CHG: Moved 'get' fallback from Ajax to XHR (kamicane) CHG: Garbage.trash now take as input an array of elements (kamicane) CHG: Event onStateChange in XHR is gone (kamicane) CHG: Garbage.unload is now Garbage.empty (kamicane) CHG: Hash.remove now use delete operator, and Hash.each uses $each (digitarald) CHG: BREAKING CHANGE: Cookie has now Cookie.options, duration is now in seconds, not days and false by default [for sessions] (digitarald) CHG: Sortables are now independent from Drag.Base, also have their own ghosting behaviour (kamicane) CHG: Element.setStyle also supports float now (kamicane) CHG: Fx.Slide allows borders and margins. Positioning is now possible. (kamicane) CHG: Ajax.request can take data as first argument to override options [#69] (Inviz) CHG: Element.adopt allows multiple arguments [#71] (Inviz) CHG: Removed new Element in adopt, inject and replaceWith, now only id's and element references are allows (kamicane) CHG: Fixed Element.getValue/Element.toQueryString with support for multiple-selects (digitarald) CHG: Moved $type to Moo.js FIX: Array::remove now also works with null/undefined/0 FIX: Fixed several bugs with Assets.image and Assets.images, cleaner and better behaviour (digitarald) FIX: Fixed ie-domready-problem with secure sites FIX: Better behvaiour for Fx.Scroll::toElement [#169] (Yuffster) FIX: Couple of fixes to the Color class, now it also carries hex values. (kamicane) FIX: String::toInt fixed [#125] FIX: SmoothScroll now sets hash, not href [#149] (digitarald) FIX: Fixed the drag bug about the element getting stuck to the cursor when right-clicking or clicking outside of the window [#84] (kamicane) FIX: little fix for $each, provided default binding (kamicane) FIX: Fixed domready problem in secure sites [#139] FIX: Element.setOpacity with opacity/clear-type fix for ie (digitarald) FIX: Fixed Safari relatedTarget for Text Nodes issue (kamicane) FIX: Event.keyCode can also be 0 (kamicane) FIX: Element.toQueryString takes empty values into account [#105] (kamicane) FIX: Fixed opacity/clear-type fo IE to Element.setOpacity. It resets filter when opacity is 1 (digitarald) FIX: Fixed a bug in Asset.image, the property to the object and only once (kamicane) FIX: Fixed a bug in getElements to avoid potentially return of duplicates (kamicane) FIX: Fixed a possible warning in Array.remove (kamicane) FIX: Fixed flickering in Sortables (kamicane) FIX: $$ does not returns duplicate entries anymore (kamicane) FIX: Added HTMLElement support for safari, a lot faster (kamicane) FIX: Array iterations in Array.js optimized (digitarald) FIX: Accordion now resets paddings and margins (kamicane) FIX: Optional isSuccess in XHR with correct this (kamicane) FIX: Element was not extended in SmoothScroll [#45] (chris) FIX: Fixed a bug in Fx.Slide() causing an error in Safari when first calling show() or hide() (Chris) FIX: Fixed object key names not encoded correctly if they contained the " or \ special characters, in Json.toString (Chris) FIX: PERL-Syntax for regexp in Json.toString for better perfomance (Chris) FIX: Fixed Array methods behaviour [#43] (Chris) FIX: Several minor documentation errors fixed and more examples FIX: Several missing dependency fixed FIX: Several space fixed 1.0 (January 29, 2007) http://svn.mootools.net/tags/1-00/ CHG: BREAKING CHANGES: 0.87 (December 12, 2006) http://svn.mootools.net/tags/0-87/