Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 1302 lines (721 sloc) 75.127 kb
339bc8c @savetheclocktower Bump version number.
savetheclocktower authored
1 *1.7_rc2* (May 12, 2010)
2
3e7bbca @savetheclocktower Remove redefinition of `Element#cumulativeOffset` when `getBoundingClien...
savetheclocktower authored
3 * Remove redefinition of `Element#cumulativeOffset` when `getBoundingClientRect` is present, as it seems to give inaccurate results. (Andrew Dupont)
4
9a752d7 @savetheclocktower Optimize element purging. (RStankov, Andrew Dupont)
savetheclocktower authored
5 * Optimize element purging. (RStankov, Andrew Dupont)
6
c9d6c3e @savetheclocktower Add `Element.purge` for cleaning up event listeners and element storage ...
savetheclocktower authored
7 * Add `Element.purge` for cleaning up event listeners and element storage keys on elements that will be removed from the page. Make `Element.update` perform similar cleanup automatically. (Andrew Dupont, Tobie Langel)
38e85b8 @savetheclocktower Fix issue where `Element.Layout#get` would fail to interpret negative pi...
savetheclocktower authored
8
b76ea83 @sstephenson The second argument to Event.Handler callbacks is the target element whe...
authored
9 * The second argument to Event.Handler callbacks is the target element when no selector is present, or the matching element when a selector is present. Callbacks are always bound to the original element. (sam)
38e85b8 @savetheclocktower Fix issue where `Element.Layout#get` would fail to interpret negative pi...
savetheclocktower authored
10
c9d6c3e @savetheclocktower Add `Element.purge` for cleaning up event listeners and element storage ...
savetheclocktower authored
11 * Fix issue where `Element.Layout#get` would fail to interpret negative pixel values. (Sebastien Gruhier, Andrew Dupont)
eb26357 @savetheclocktower Fix bugs in layout.js. Add tests for `Element.Layout#toCSS`, `#toObject`...
savetheclocktower authored
12
c9d6c3e @savetheclocktower Add `Element.purge` for cleaning up event listeners and element storage ...
savetheclocktower authored
13 * Fix bugs in layout.js. Add tests for `Element.Layout#toCSS`, `#toObject`, and `#toHash`. (RStankov, Andrew Dupont)
949dc83 @savetheclocktower Add `Element.Layout#toObject` and `Element.Layout.toHash`.
savetheclocktower authored
14
c9d6c3e @savetheclocktower Add `Element.purge` for cleaning up event listeners and element storage ...
savetheclocktower authored
15 * Add `Element.Layout#toObject` and `Element.Layout.toHash`. (Andrew Dupont)
16
17 * Make `Element.Layout#toCSS` return camelized property names, as expected by `Element.setStyle`. [#1021 state:resolved] (njakobsen, Andrew Dupont)
2fd5c9b @savetheclocktower Make `Element.Layout#toCSS` return camelized property names, as expected...
savetheclocktower authored
18
0befd5f @savetheclocktower Bump version number.
savetheclocktower authored
19 *1.7_rc1* (April 1, 2010)
20
82d44de @savetheclocktower Fix typo. Update CHANGELOG.
savetheclocktower authored
21 * Add an `Event.Handler` class, plus `Event.on` and `Element#on` methods, for simplified event delegation. (sam, Tobie Langel, Andrew Dupont)
22
91e5582 @savetheclocktower Make `Element.Layout` properly interpret computed non-integer pixel valu...
savetheclocktower authored
23 * Make `Element.Layout` properly interpret computed non-integer pixel values. (e.g., Firefox can report "12.5px" as a computed style value.) (henrymazza)
24
550ec6e @tobie Fix deprecated Selector.matchElements.
tobie authored
25 * Fix deprecated Selector.matchElements. (Tobie Langel)
26
7eeee4f @tobie Make Object.keys ES5 compliant.
tobie authored
27 * Make Object.keys ES5 compliant. (Tobie Langel)
28
038a298 @tobie Make Prototype's JSON implementation EcmaScript 5 compliant.
tobie authored
29 * Make Prototype's JSON implementation EcmaScript 5 compliant. [#453 state:resolved] (Tobie Langel)
30
5cb5ee4 @madrobby Also detect embedded (UIWebView) mobile Safari.
madrobby authored
31 * Also detect embedded (UIWebView) mobile Safari. (Thomas Fuchs)
32
b3fc079 @kangax Avoid object creation and an unnecessary function call in `Class#addMeth...
kangax authored
33 * Avoid object creation and an unnecessary function call in `Class#addMethods`, when working around JScript DontEnum bug. Replace with feature test and a simple boolean check at runtime. (kangax)
34
18f2ac6 @kangax Optimize Element#immediateDescendants.
kangax authored
35 * Optimize Element#immediateDescendants. (kangax, Tobie Langel)
36
82c9b9c @kangax Remove unnecessary function object creation and `Number#times` in `Eleme...
kangax authored
37 * Remove unnecessary function object creation and `Number#times` in `Element._getContentFromAnonymousElement`. (kangax)
38
9ef3f8d @kangax Eliminate runtime forking and long method lookup in `Element.hasAttribut...
kangax authored
39 * Eliminate runtime forking and long method lookup in `Element.hasAttribute`. (kangax)
40
f40fd5a @kangax Remove redundant ternary.
kangax authored
41 * Remove redundant ternary. (kangax)
42
01a2290 @kangax Avoid repeating declaration statements.
kangax authored
43 * Avoid repeating declaration statements where it makes sense, for slightly better runtime performance and minification. (kangax)
44
bf8e404 @tobie Make Event.stopObserving return element in all cases. [#810 state:resolv...
tobie authored
45 * Make `Event.stopObserving` return element in all cases. [#810 state:resolved] (Yaffle, Tobie Langel)
46
3b525f1 @kangax String#startsWith, String#endsWith performance optimization [#808 state:...
kangax authored
47 * String#startsWith, String#endsWith performance optimization (Yaffle, Tobie Langel, kangax)
48
49 * Rewrite String#camelize using String#replace with a replacement function (Phred, John-David Dalton, Samuel Lebeau, kangax)
50
f405b2c @tobie Bump version to 1.6.1.
tobie authored
51 *1.6.1* (August 24, 2009)
52
53 * Avoid triggering a warning when Java is disabled in IE8. [#668 state:resolved] (orv, kangax, Andrew Dupont, Tobie Langel)
94747c5 @tobie Avoid triggering a warning when Java is disabled in IE8. [#668 state:res...
tobie authored
54
de9ba09 @tobie Updated changelog.
tobie authored
55 * Simplify String#(un)escapeHTML and remove their DOM dependencies. (Tobie Langel)
56
57 * Update UnittestJS. Modifiy test template accordingly. (Tobie Langel)
58
59 * Remove redundant if statement in Element#readAttribute. (Tobie Langel)
60
d88aef3 @tobie Add missing semicolons. [#751 state:resolved]
tobie authored
61 * Add missing semicolons. [#751 state:resolved] (Diego Perini)
62
41b034b Improve `getClass` performance. [#747 state:resolved]
Juriy Zaytsev authored
63 * Remove expensive (for such low-level method) internal `getClass` in favor of plain string comparison (kangax)
64
49090bc @tobie Workaround IE's defficient handling of finally statements in PeriodicalE...
tobie authored
65 * Fix `PeriodicalExecuter` so that it no longer suppresses exceptions. [#696 state:resolved] (Samuel Lebeau, Yaffle)
e41ccba @savetheclocktower Re-throw error in otherwise-empty `catch` clause so that `PeriodicalExec...
savetheclocktower authored
66
f4570f3 @savetheclocktower Fix issue related to escaping of selectors for querySelectorAll. [#559 s...
savetheclocktower authored
67 * Fix issue related to escaping of selectors for querySelectorAll. [#559 state:resolved] (Jorn Holm)
68
4586adf @savetheclocktower Bump version number.
savetheclocktower authored
69 *1.6.1_rc3* (June 16, 2009)
70
ad89bfb @tobie Fixed a variety of non-ASCII chars and similar [#610 state:resolved]
tobie authored
71 * Fixed a variety of non-ASCII chars and similar [#610 state:resolved] (T.J. Crowder)
72
6e4a3cd Add Chrome 1+ to the list of supported browsers
Juriy Zaytsev authored
73 * Add Chrome 1+ to the list of supported browsers. (kangax)
74
b2492ae Fix `Template#evaluate` "eating" previous character if `null` was return...
Juriy Zaytsev authored
75 * Fix `Template#evaluate` "eating" previous character if `null` was returned from `toTemplateReplacements` function. (Nir, Jürgen Hörmann, kangax)
76
d655665 Make sure (defficient) APPLET, OBJECT and EMBED elements are extended wi...
Juriy Zaytsev authored
77 * Make sure (deficient) APPLET, OBJECT and EMBED elements are extended with simulated methods in IE8. Return early if `_extendedByPrototype` is present on an element. (Tobie Langel, kangax)
78
703e988 Replace array creation and `Array#include` with a more efficient `RegExp...
Juriy Zaytsev authored
79 * Replace array creation and `Array#include` with a more efficient `RegExp#test`. (kangax)
80
7d02aef Reorganize the way `ElementExtensions` are defined. Make sure elements u...
Juriy Zaytsev authored
81 * Reorganize the way `ElementExtensions` are defined. Make sure elements used in SpecificElementExtensions are cleaned up. (kangax)
82
31fe0a0 Make sure $A works with primitive values.
Juriy Zaytsev authored
83 * Make sure $A works with primitive values. (mr_justin, kangax)
84
cebf7d6 Do not browser sniff when forking `unmark` function in selector suite. I...
Juriy Zaytsev authored
85 * Do not browser sniff when forking `unmark` function in selector suite. Instead use a proper test - PROPERTIES_ATTRIBUTES_MAP. (kangax)
86
7437434 Do not use short-hand element methods notation (@element.getStyle() -> E...
Juriy Zaytsev authored
87 * Do not use short-hand element methods notation (@element.getStyle() -> Element.getStyle(@element)) for performance reasons. Do not use `$A` and `Array.prototype.shift` when `Array.prototype.slice` can be used instead. (kangax)
88
c44a071 @savetheclocktower `Prototype.Browser.Opera` now uses stronger inference and is determined ...
savetheclocktower authored
89 * `Prototype.Browser.Opera` now uses stronger inference and is determined by [[Class]] of `window.opera` being - "Opera". (kangax)
90
6f6b73c @savetheclocktower Fix error in event.js which prevented attaching more than one responder ...
savetheclocktower authored
91 * Fix error in event.js which prevented attaching more than one responder for an event name/element combination. [#651 state:resolved] (Rob Lineweaver)
92
c480bd7 Do not sniff when testing for IE's proprietary mouseenter/mouseleave eve...
Juriy Zaytsev authored
93 * Do not sniff when testing for IE's proprietary mouseenter/mouseleave events support. Use more robust inference instead. (kangax)
94
d4c182c Use `Prototype.emptyFunction` consistently throughout unit tests. [#253 ...
Juriy Zaytsev authored
95 * Use `Prototype.emptyFunction` consistently throughout unit tests. [#253 state:resolved] (Michael M Slusarz, John David Dalton, kangax)
96
827e6ee @tobie deprecation extension: mark Array#reduce() as removed. [#569 state:resol...
tobie authored
97 * deprecation extension: mark Array#reduce() as removed. [#569 state:resolved] (Tobie Langel)
98
0b4e142 `Form.serialize` now works safely with forms that have "length"-named el...
Juriy Zaytsev authored
99 * `Form.serialize` now works safely with forms that have "length"-named elements. [#77 state:resolved] (Peter Adrianov, John-David Dalton, kangax)
100
fd46f6b @savetheclocktower Bump version number.
savetheclocktower authored
101 *1.6.1_rc1* (March 22, 2009)
102
71a8663 `Element#update` now takes care of SCRIPT elements in IE. [#573 state:re...
Juriy Zaytsev authored
103 * `Element#update` now takes care of SCRIPT elements in IE. [#573 state:resolved] (Martin, Tobie Langel, kangax)
104
2c986d8 Remove unused local variables. Fix failing form test.
Juriy Zaytsev authored
105 * Remove unused local variables from `Element.extend`. Fix one of the form tests to remove `_extendedByPrototype` by setting it to `undefined` rather than `false` (`_extendedByPrototype` being `false` does not force `Element.extend` to re-extend element). (T.J. Crowder, kangax)
106
fa15f21 Fix `escapeHTML` in Chrome by using a more strict check.
Juriy Zaytsev authored
107 * Make test for `escapeHTML`/`unescapeHTML` more strict. (Chrome 1.x escapes "<" and "&" with `innerHTML`, but not ">") (kangax)
108
dee8a10 Fix faulty DOM test.
Juriy Zaytsev authored
109 * Remove another sniffing from one of DOM tests. Fixes last IE8 failure. (kangax)
110
0e63247 Make `Element.extend` take care of IE8 HTMLAppletElement and HTMLObjectE...
Juriy Zaytsev authored
111 * `Element.extend` now takes care of IE8 bug when HTMLAppletElement and HTMLObjectElement objects do not inherit from `Element.prototype`. (kangax)
112
eaa8b94 Fix another DOM test to pass in IE8.
Juriy Zaytsev authored
113 * Fix DOM tests to use proper feature test when testing `setOpacity` (kangax)
114
0606843 Fix for/htmlFor translation in IE8
Juriy Zaytsev authored
115 * Fix another failure in IE8, `for`/`htmlFor` {get/set}Attribute translation. (kangax)
116
30c1935 Fix `writeAttribute` and `readAttribute` failures in IE8. Use proper fea...
Juriy Zaytsev authored
117 * Fix `Element#writeAttribute` and `Element#readAttribute` failures in IE8 due to lack of proper feature testing. (kangax)
118
25a38aa resolve conflict
Juriy Zaytsev authored
119 * Remove sniffing from one of the DOM tests, which produced failures in IE8. (kangax)
a97c044 Remove sniffing from one of the DOM tests, making it pass in IE8.
Juriy Zaytsev authored
120
4b9bf98 Fix Form.reset test in IE
Juriy Zaytsev authored
121 * Fix `Form.reset` test where `respondsTo` wouldn't detect a method due to typeof returning "object" (rather than "function") in IE (kangax)
122
b343556 Remove Array#reduce [#569 state:resolved]
Juriy Zaytsev authored
123 * Remove Array#reduce which currently overrides native `reduce` in clients implementing JS1.8, e.g. Firefox 3+ (Tobie Langel, Andrew Dupont, kangax)
124
c7a5d34 Make sure try/catch/finally is used instead of try/finally [#421 state:r...
Juriy Zaytsev authored
125 * Make sure try/catch/finally is used instead of try/finally for clients without support for the latter one (e.g. Blackberry, IE) (Ville Koskinen, kangax)
126
127 * Use `in` operator when accessing property of a nodelist to prevent Safari <=2.0.4 from crashing (kangax)
1a375da Remove sniffing from `$A` by using `in` operator when accessing property...
Juriy Zaytsev authored
128
4fefe32 @savetheclocktower Add Element#clone as a safe wrapper of native `cloneNode`. (Andrew Dupon...
savetheclocktower authored
129 * Add Element#clone as a safe wrapper of native `cloneNode`. (Andrew Dupont, kangax)
130
8f697f3 @savetheclocktower Add tests to ensure IE8 properly assigns a class name in the `Element` c...
savetheclocktower authored
131 * Add tests to ensure IE8 properly assigns a class name in the `Element` constructor. [#529 state:resolved] (Riki Fridrich, Andrew Dupont)
132
fa12b00 @savetheclocktower Remove sniffing from `Element` when detecting broken `setAttribute` in I...
savetheclocktower authored
133 * Remove sniffing from `Element` when detecting broken `setAttribute` in IE. [#571 state:resolved] (kangax)
134
ba2c260 @savetheclocktower Remove sniffing from `Element.update` branching in favor of feature dete...
savetheclocktower authored
135 * Remove sniffing from `Element.update` branching in favor of feature detection. [#574 state:resolved] (kangax)
136
7833e8c @savetheclocktower Remove sniffing when branching `escapeHTML` and `unescapeHTML`. [#570 st...
savetheclocktower authored
137 * Remove sniffing when branching `escapeHTML` and `unescapeHTML`. [#570 state:resolved] (kangax)
138
e88f22e @savetheclocktower Redefine Element#down in IE 6-7 to avoid extending all descendants when ...
savetheclocktower authored
139 * Redefine Element#down in IE 6-7 to avoid extending all descendants when no selector is given. [#452 state:resolved] (eno, Andrew Dupont)
140
141 * Reverse the definitions of Event#pointer(X|Y) and Event#pointer to prevent unnecessary computation. [#403 state:resolved] (Nick Stakenburg, Andrew Dupont)
4a0b9b7 @savetheclocktower Reverse the definitions of Event#pointer(X|Y) and Event#pointer to preve...
savetheclocktower authored
142
9d7a981 @savetheclocktower Add first-class support for `mouseenter` and `mouseleave` events in non-...
savetheclocktower authored
143 * Add first-class support for `mouseenter` and `mouseleave` events in non-IE browsers (IE supports them natively). [#350 state:resolved] (Nick Stakenburg, Andrew Dupont)
144
682a55c @savetheclocktower Make sure `_extendedByPrototype`, `_countedByPrototype`, and `prototypeU...
savetheclocktower authored
145 * Make sure `_extendedByPrototype`, `_countedByPrototype`, and `prototypeUID` node expandos are accessed with `typeof` to prevent errors in some environments. [#354 state:resolved] (Hilberty, kangax, Andrew Dupont)
146
26eaa43 @savetheclocktower Fix issue where Opera 9.x returns incorrect results on certain Selector ...
savetheclocktower authored
147 * Fix issue where Opera 9.x returns incorrect results on certain Selector queries with descendant combinators. [#395 state:resolved] (Arpan, fearphage, kangax, Andrew Dupont)
148
d22a998 @savetheclocktower Null out references to elements in cache on page unload. Need this in ad...
savetheclocktower authored
149 * Null out references to elements in cache on page unload. Need this in addition to the Event#stopObserving calls to clean up memory leaks. [#425 state:resolved] (ykphuah, mr_justin, Andrew Dupont)
150
26eaa43 @savetheclocktower Fix issue where Opera 9.x returns incorrect results on certain Selector ...
savetheclocktower authored
151 * Ensure `toString` and `valueOf` properties are copied to a subclass only when necessary in IE6. [#382 state:resolved] (Samuel Lebeau)
47abfa6 @savetheclocktower Ensure `toString` and `valueOf` properties are copied to a subclass only...
savetheclocktower authored
152
043653a @savetheclocktower Make sure `getAttribute` is used without flag when accessing the "type" ...
savetheclocktower authored
153 * Make sure `getAttribute` is used without flag when accessing the "type" attribute of an iframe (IE throws error otherwise). [#118 state:resolved] (Zekid, kangax)
154
e9bdaef @savetheclocktower String#gsub should escape RegExp metacharacters when the first argument ...
savetheclocktower authored
155 * String#gsub should escape RegExp metacharacters when the first argument is a string. [#469 state:resolved] (michael, kangax)
156
e3845ba @savetheclocktower Fix order of replacement in String#unescapeHTML [#544 state:resolved] (S...
savetheclocktower authored
157 * Fix order of replacement in String#unescapeHTML [#544 state:resolved] (SWeini, kangax)
158
432a942 @savetheclocktower Fix issue where a Selector query rooted on a node that had not been atta...
savetheclocktower authored
159 * Fix issue where a Selector query rooted on a node that had not been attached to the document failed in IE. [#464 state:resolved] (jddalton, kangax, Douglas Fraser, Andrew Dupont)
160
8fe5187 @savetheclocktower Fix Selector to match elements with attributes containing hyphens. [#285...
savetheclocktower authored
161 * Fix Selector to match elements with attributes containing hyphens. [#285 state:resolved] (leiyou, jddalton, kangax)
162
dc9d274 @savetheclocktower Make sure Form.reset always returns a reference to the receiver element....
savetheclocktower authored
163 * Make sure Form.reset always returns a reference to the receiver element. [#309 state:resolved] (Phil, kangax)
164
97fc24a @savetheclocktower Escape ":" and "." characters when doing contextual CSS selection in bro...
savetheclocktower authored
165 * Escape ":" and "." characters when doing contextual CSS selection in browsers that support querySelectorAll. [#559 state:resolved] (fxtentacle, Andrew Dupont)
166
91b787a @savetheclocktower Ensure the `target` property on events is never undefined in IE. [#383 s...
savetheclocktower authored
167 * Ensure the `target` property on events is never undefined in IE. [#383 state:resolved] (Mathias Karstädt, Diego Perini, Andrew Dupont)
168
ab1313e @savetheclocktower Ensure Element#descendants always returns an array. [#373 state:resolved...
savetheclocktower authored
169 * Ensure Element#descendants always returns an array. [#373 state:resolved] (kangax)
170
463141e @sstephenson Update CHANGELOG
authored
171 * Don't switch fixed position elements to absolute in Element.getDimensions [#543 state:resolved] (James Wheare)
172
173 * Avoid infinite loops when calling String#sub with empty pattern [#534 state:resolved] (Samuel Lebeau)
174
9bb3d75 @sstephenson Update CHANGELOG
authored
175 * Switch to Sprockets for building the Prototype distfiles. (sam)
176
997689f @savetheclocktower Switch Object.is(Array|String|Number) to use the vastly-superior approac...
savetheclocktower authored
177 * Switch Object.is(Array|String|Number) to use the vastly-superior approach discovered by Juriy. (kangax)
178
179 * Further fix to ensure Object.is(String|Number) do not throw exceptions on host objects in IE. (grepmaster, kangax, Tobie Langel, Andrew Dupont)
31d1c6f @savetheclocktower Further fix to ensure Object#is(String|Number) do not throw exceptions o...
savetheclocktower authored
180
9f5c40c @savetheclocktower Ensure Enumerable#grep can handle strings with RegExp metacharacters. [#...
savetheclocktower authored
181 * Ensure Enumerable#grep can handle strings with RegExp metacharacters. (Marton Kiss-Albert, kangax)
182
e9e8c7f @savetheclocktower Switch to the "doScroll approach" for the dom:loaded custom event. [#127...
savetheclocktower authored
183 * Switch to the "doScroll approach" for the dom:loaded custom event. (javier, Diego Perini, Nick Stakenburg, Andrew Dupont)
184
0549952 @savetheclocktower I suppose we owe it to our contributors to spell their names right.
savetheclocktower authored
185 * Optimize document.viewport.get(Dimensions|Width|Height). (Nick Stakenburg, Andrew Dupont)
c3c9533 @savetheclocktower Optimize document.viewport.get(Dimensions|Width|Height). [#336 state:res...
savetheclocktower authored
186
07506e6 @savetheclocktower Fix issue where Object#isString and Object#isNumber return false for Str...
savetheclocktower authored
187 * Fix issue where Object#isString and Object#isNumber return false for String and Number "wrapper" objects. (atrepp, Samuel Lebeau, Andrew Dupont)
188
60a6c7a @savetheclocktower Set document.loaded = true before firing dom:loaded custom event.
savetheclocktower authored
189 * Set document.loaded = true before firing dom:loaded custom event. (Andrew Dupont)
190
c4f6066 @savetheclocktower Allow Element#store to accept an object containing several key/value pai...
savetheclocktower authored
191 * Allow Element#store to accept an object containing several key/value pairs. (ZenCocoon, Andrew Dupont)
192
c493d09 @savetheclocktower Fix typo in CHANGELOG.
savetheclocktower authored
193 * Change Element#store to return the element itself (for chaining). (Andrew Dupont)
1ca385b @savetheclocktower Change Element#retrieve to return the element itself (for chaining).
savetheclocktower authored
194
c4c7bf6 @savetheclocktower Update CHANGELOG.
savetheclocktower authored
195 * Add non-bubbling custom events. A new final argument to Element#fire defaults to `true`; pass `false` to prevent bubbling when firing a custom event. (Andrew Dupont)
196
3b21105 @savetheclocktower Alter event system to use new element storage API rather than have its o...
savetheclocktower authored
197 * Alter event system to use new element storage API rather than have its own global hashtable. (Andrew Dupont)
198
77b9a26 @savetheclocktower Alter element storage API to handle the `window` object gracefully.
savetheclocktower authored
199 * Add Element#store and Element#retrieve for safe, hash-backed storage of element metadata (no memory leaks). Also add Element#getStorage for working with the element's storage hash directly. Hat tip: Mootools. (ZenCocoon, Andrew Dupont)
3977e66 @savetheclocktower Added Element#store and Element#retrieve for safe, hash-backed storage o...
savetheclocktower authored
200
8640779 @tobie Fix issue where certain versions of Safari treat class names
tobie authored
201 * Fix issue where certain versions of Safari treat class names case-insensitively in Selector/$$ queries. (Andrew Dupont, kangax, Brice)
202
54bf343 @savetheclocktower Fix issue where Function#argumentNames returned incorrect results in IE ...
savetheclocktower authored
203 * Fix issue where Function#argumentNames returned incorrect results in IE when comments were intermixed with argument names. (Christophe Porteneuve, T.J. Crowder)
204
c039f68 @savetheclocktower Selector.patterns should be represented as an ordered structure. [#315 s...
savetheclocktower authored
205 * Selector.patterns should be represented as an ordered structure. (ADO, kangax)
206
535d4e6 @tobie function.js rewrite.
tobie authored
207 * Performance improvements in Function methods (Samuel Lebeau, kangax, jddalton, Tobie Langel).
208
34ee207 @tobie Bump version number to 1.6.0.3.
tobie authored
209 *1.6.0.3* (September 29, 2008)
210
413d2fd @tobie Add support for the Chrome browser in jstest.rb.
tobie authored
211 * Add support for the Chrome browser in jstest.rb. (Andrew Dupont)
212
deb47c6 @madrobby Workaround a JavaScript exception in Opera.
madrobby authored
213 * Workaround a JavaScript exception in Opera. (Thomas Fuchs)
214
289c87d @tobie Cosmetic changes to CHANGELOG.
tobie authored
215 * Improve NodeList detection for Safari's $A function. (Garrett Smith, jddalton)
b7af8a7 @savetheclocktower Improve NodeList detection for Safari's $A function. [#187 state:resolve...
savetheclocktower authored
216
289c87d @tobie Cosmetic changes to CHANGELOG.
tobie authored
217 * Use different tactic to sniff for Opera in order to avoid false positives in IE. (Tobie Langel, jddalton)
5ddfad8 @savetheclocktower Use different tactic to sniff for Opera in order to avoid false positive...
savetheclocktower authored
218
7444a4a @savetheclocktower Rename variable in Form.Element.Serializers.select. [#180 state:resolved...
savetheclocktower authored
219 * Rename variable in Form.Element.Serializers.select. (jddalton)
220
221 * Coerce Opera's version string into a number whenever we need to sniff. (Sam Holman, jddalton)
6c6f8d3 @savetheclocktower Coerce Opera's version string into a number whenever we need to sniff. [...
savetheclocktower authored
222
d88c25f @savetheclocktower Ensure Object.isElement handles "falsy" values properly.
savetheclocktower authored
223 * Ensure Object.isElement handles "falsy" values properly. (kangax)
224
c01d1a2 @tobie Fix exiting test task on INT signal.
tobie authored
225 * Fix exiting test task on INT signal. (Samuel Lebeau)
226
32628d4 @tobie Fix unit test freeze in IE.
tobie authored
227 * Fix unit test freeze in IE. (Tobie Langel)
228
b31f642 @savetheclocktower Ensure Hash does not return keys from the prototype chain (e.g., constru...
savetheclocktower authored
229 * Ensure Hash does not return keys from the prototype chain (e.g., constructor, valueOf, toString). (kangax)
230
64002a9 @savetheclocktower Fix toString/valueOf sharing same method reference via closure in Class#...
savetheclocktower authored
231 * Fix toString/valueOf sharing same method reference via closure in Class#addMethods. Use plain property assignment, since Object.extend fails to enumerate over toString/valueOf. (kangax)
232
b49c572 @savetheclocktower Stop Form.Element.disable from stealing focus.
savetheclocktower authored
233 * Stop Form.Element.disable from stealing focus. (jddalton)
234
6004aa8 @tobie Ensure Element.hide and Element.show return an element, even if you pass...
tobie authored
235 * Ensure Element.hide and Element.show return an element, even if you pass an element ID. (Andrew Dupont)
236
ae707f4 @tobie Fix an issue where Element#getStyle('height') returns null if the height...
tobie authored
237 * Fix an issue where Element#getStyle('height') returns null if the height is set to "auto." (kangax, jddalton)
238
919b952 @tobie Add unit tests for Element#descendantOf.
tobie authored
239 * Add unit tests for Element#descendantOf. (jddalton)
240
6847d27 @tobie Form#serializeElements should not serialize file inputs.
tobie authored
241 * Form#serializeElements should not serialize file inputs. (kangax, Lonesome Boy)
242
9787801 @savetheclocktower Fix an issue with calling Event.pointer before the DOM is loaded. (kanga...
savetheclocktower authored
243 * Fix an issue with calling Event.pointer before the DOM is loaded. (kangax, jddalton) [#4 state:resolved]
244
b4ea2ab @tobie Element#down on an input element should not raise error.
tobie authored
245 * Element#down on an input element should not raise error. (humeniuc, kangax)
b628c6d @tobie Avoid potential memory leaks in Firefox. [#12 state:resolved]
tobie authored
246
fecdee6 @tobie More unit tests for Object.isHash.
tobie authored
247 * More unit tests for Object.isHash. (Tobie Langel)
248
206a4c8 @tobie Allow Function#argumentNames to handle line breaks between arguments.
tobie authored
249 * Allow Function#argumentNames to handle line breaks between arguments. (Geoff M. Granum, Tobie Langel) [#63 state:resolved]
250
55af63f @madrobby For consistency, add additional optional parameter "context" to Number.p...
madrobby authored
251 * For consistency, add additional optional parameter "context" to Number.prototype.times. (Samuel Lebeau)
252
9c8d9d8 @tobie Replace all instances of foo.__proto__ by foo['__proto__'] for Caja-comp...
tobie authored
253 * Replace all instances of foo.__proto__ by foo['__proto__'] for Caja-compliance. (Tobie Langel)
254
d1d2c35 @tobie Fix typo.
tobie authored
255 * Speed up Function#argumentNames. Avoid Enum dependency. (Samuel Lebeau, Tobie Langel)
de5cc4a @tobie Speed up Function#argumentNames. Avoid Enum dependency.
tobie authored
256
b75bc18 Fix Event#element accessing nonexistent tagName property (e.g. when elem...
kangax authored
257 * Fix Event#element accessing inexistent tagName property (e.g. when element is a document). (kangax)
258
2c03d1a @savetheclocktower Amended failing Element#identify test.
savetheclocktower authored
259 * Amended failing Element#identify test.
260
ae24df9 @tobie update changelog.
tobie authored
261 * Refactor unit tests. Unit tests are now dynamically generated from a JavaScript test file and optional HTML, JS and CSS fixtures. [Tobie Langel]
262
d13a938 @savetheclocktower Fix issue where Safari improperly reports an element as a descendant of ...
savetheclocktower authored
263 * Fix issue where Safari improperly reports an element as a descendant of itself.
264
a3f7b71 @savetheclocktower Greatly simplify IE's implementation of Element#descendantOf.
savetheclocktower authored
265 * Greatly simplify IE's implementation of Element#descendantOf.
266
35a7071 @savetheclocktower Prevent exception when using Selector to search for an attribute that is...
savetheclocktower authored
267 * Prevent exception when using Selector to search for an attribute that is not present. [gryn, Andrew Dupont]
268
55e5d64 @savetheclocktower Fix issues where Firefox improperly returns the wrong node from a call t...
savetheclocktower authored
269 * Fix issues where Firefox improperly returns the wrong node from a call to Event.element. Also fixes possible exception in Event.element in IE. [jdalton, Andrew Dupont]
270
271 * Fix issue where Safari 3 deletes custom properties from the document object when the page is returned to via the back button. [mzsanford, kangax, Andrew Dupont]
272
03c1530 @savetheclocktower Integrate support for the W3C Selectors API into the Selector class. Wil...
savetheclocktower authored
273 * Integrate support for the W3C Selectors API into the Selector class. Will now use the API when possible (browser supports the API *and* recognizes the given selector). Means minor changes to the semantics of :enabled, :disabled, and :empty in order to comply with CSS spec.
274
855e273 @tobie prototype: Avoid re-extending element in Element#getDimensions.
tobie authored
275 * Avoid re-extending element in Element#getDimensions. [kangax]
276
598387f @tobie prototype: Prevent Hash#toQueryString from serializing objets.
tobie authored
277 * Prevent Hash#toQueryString from serializing objets. [kangax, Tobie Langel]
278
32b1b6b @tobie prototype: Fix Event#pointer in IE standard mode. Closes #9920.
tobie authored
279 * Fix Event#pointer in IE standard mode. Closes #9920. [kangax, Tobie Langel]
280
78c4b99 @tobie prototype: Instanciate Test.Unit.Logger on window load.
tobie authored
281 * Instanciate Test.Unit.Logger on window load. [Tobie Langel]
282
283 * Unit tests clean-up. [Tobie Langel]
284
6bae548 @tobie prototype: Refactor String#escapeHTML to avoid using the with statement.
tobie authored
285 * Refactor String#escapeHTML to avoid using the `with` statement. [Tobie Langel]
286
c01cb85 @tobie prototype: Remove usage of the statement from unit tests.
tobie authored
287 * Remove usage of the `with` statement from unit tests. [Tobie Langel]
288
87ce153 @tobie prototype: Complete rewrite of the deprecation helper.
tobie authored
289 * Complete rewrite of the deprecation helper, now renamed UpdateHelper and useable by third-party libs. [Tobie Langel]
290
addfdef @tobie prototype: Make Element#writeAttribute handle frameborder attribute in I...
tobie authored
291 * Make Element#writeAttribute handle frameborder attribute in IE. Closes #11068. [staaky, Tobie Langel]
292
359e881 @tobie prototype: Minor clean-up of selector.js. Closes #10844.
tobie authored
293 * Minor clean-up of selector.js. Closes #10844. [RQuadling]
294
c7e0a3d @tobie prototype: Make String#unescapeHTML strip tags in IE. Closes #10173.
tobie authored
295 * Make String#unescapeHTML strip tags in IE. Closes #10173. [kangax]
296
bfee207 @tobie prototype: Stop form observers in unit tests. Closes #10938.
tobie authored
297 * Stop form observers in unit tests. Closes #10938. [kangax]
298
5a50e4d @tobie prototype: Performance improvements for Enumerables. Closes #11264.
tobie authored
299 * Performance improvements for Enumerables. Closes #11264. [Ben, Samuel Lebeau]
300
fffb3c1 @tobie prototype: mark Hash.toJSON() as removed.
tobie authored
301 * deprecation extension: mark Hash.toJSON() as removed. [Tobie Langel]
302
088c049 @tobie prototype: improvements to deprecation.js.
tobie authored
303 * deprecation extension: mark Class.create() used without arguments as deprecated. [Tobie Langel]
304
305 * deprecation extension: mark Event.unloadCache as removed rather than deprecated. [Tobie Langel]
306
307 * deprecation extension: log everything *but* deprecations with console.error. [Tobie Langel]
308
54a2084 @savetheclocktower Change deprecation extension to use Firebug's console.warn and console.e...
savetheclocktower authored
309 * Change deprecation extension to use Firebug's console.warn and console.error. [Andrew Dupont, Tobie Langel]
310
93d359f @tobie prototype fix a typo.
tobie authored
311 * Make tagName comparisons XHTML-compliant. Closes #11012, #11013, #11014. [cfis, Tobie Langel]
5630369 @tobie prototype: Make Prototype tagName comparisons XHTML-compliant. Closes #1...
tobie authored
312
7821b98 @tobie prototype: Avoid breaking Element.prototype in browsers which support it...
tobie authored
313 * Avoid breaking Element.prototype in browsers which support it. Closes #11004. [cfis, Tobie Langel]
314
2830ac2 @tobie prototype: Prevent Element#cumulativeOffset, Element#getOffsetParent, El...
tobie authored
315 * Prevent Element#cumulativeOffset, Element#getOffsetParent, Element#positionedOffset, Element#viewportOffset and Element#clonePosition from throwing an error in IE when called on a parent-less element. Closes #9416, #10192, #10248. [ronstoney, psiborg, kangax]
316
d770a6c @tobie prototype: Prevent Enumerable#eachSlice from entering into an endless lo...
tobie authored
317 * Prevent Enumerable#eachSlice from entering into an endless loop if passed an argument smaller than 1. Closes #10665. [kangax, Tobie Langel]
318
f4d6835 @tobie prototype: Allow Selector to correctly detect the presence of namespaced...
tobie authored
319 * Allow Selector to correctly detect the presence of namespaced attributes. Closes #10987. [Samuel Lebeau, Tobie Langel]
320
ea9d81e @tobie prototype: Make Element#absolutize and Element#relativize always return ...
tobie authored
321 * Make Element#absolutize and Element#relativize always return element. Closes #10983. [kangax]
322
ed14693 @tobie prototype: Add deprecation extension.
tobie authored
323 * Add deprecation extension. [Tobie Langel]
324
2827428 @sstephenson prototype: Prepare for 1.6.0.2 release
authored
325 *1.6.0.2* (January 25, 2008)
cc69b9c @tobie prototype: Add a description to :test and :dist rake tasks.
tobie authored
326
765cba2 @sstephenson prototype: Update the list of officially supported browsers in the READM...
authored
327 * Update the list of officially supported browsers in the README. [sam]
328
25f1a4f @savetheclocktower Forgot the CHANGELOG on the last commit.
savetheclocktower authored
329 * Add tests for Element#descendantOf that deal with dynamically-created elements. [Andrew Dupont]
330
c24a390 @savetheclocktower Ensure positionedOffset properly considers "position: fixed" elements. A...
savetheclocktower authored
331 * Ensure positionedOffset properly considers "position: fixed" elements. Also ensures IE reports offsets correctly by triggering hasLayout when a "static" element has a "fixed" element as an offset parent. Closes #10644. [heygrady, kangax, Andrew Dupont]
332
ffa0d09 @savetheclocktower Roll back the fix for #9609, since it does not work in Opera. Instead, a...
savetheclocktower authored
333 * Roll back the fix for #9609, since it does not work in Opera. Instead, avoid using "valueOf" or "toString" as field names in forms.
334
a1ec25c @savetheclocktower Prevent DOM node expandos _countedByPrototype and _prototypeEventID from...
savetheclocktower authored
335 * Prevent DOM node expandos _countedByPrototype and _prototypeEventID from being serialized into (inner|outer)HTML in IE. Closes #10909. [dcpedit, Tobie Langel, Andrew Dupont]
336
794457d @tobie Make Ajax.Request#isSameOrigin JavaScript Lint compliant. Backport fix t...
tobie authored
337 * Make Ajax.Request#isSameOrigin JavaScript Lint compliant. [Andrew Dupont]
338
0f97f4c @savetheclocktower Properly serialize form fields with names that collide with built-in JS ...
savetheclocktower authored
339 * Properly serialize form fields with names that collide with built-in JS properties (like "length" or "toString"). Closes #9609. [gryn, kangax]
340
17cd2f9 @tobie prototype: Make Object.isArray correctly identify arrays created in anot...
tobie authored
341 * Make Object.isArray correctly identify arrays created in another frame. Closes #10374. [pointy, Dean Edwards, Andrew Dupont, Tobie Langel]
342
7942a9e @savetheclocktower Fixed issue where Element#match failed on attribute selectors with singl...
savetheclocktower authored
343 * Fixed issue where Element#match failed on attribute selectors with single or double quotes. Closes #10067. [Cezary Okupski, Andrew Dupont]
344
a5fe12b @tobie prototype: Add tests for Element#match.
tobie authored
345 * Add tests for Element#match. [Tobie Langel]
346
b26f4e3 @tobie prototype: Fix Element#writeAttribute to work with 'cellspacing' and 'ce...
tobie authored
347 * Fix Element#writeAttribute to work with 'cellspacing' and 'cellpadding' attributes in IE. Closes #9983. [/dev/urandom, Tobie Langel]
348
02cc999 @tobie prototype: Prevent a potential security issue for cross-site ajax reques...
tobie authored
349 * Prevent a potential security issue for cross-site ajax requests. [Alexey Feldgendler, sam, Tobie Langel]
350
dcada47 @tobie prototype: Test for attribute existence before applying more complex CSS...
tobie authored
351 * Test for attribute existence before applying more complex CSS3 selectors. Closes #10870. [arty, Tobie Langel]
352
353 * Fix "function $A" declaration inside of a conditional (confuses IE). Closes #10882. [Jacco, Andrew Dupont]
c200c27 @savetheclocktower Fix "function $A" declaration inside of a conditional (confuses IE). Fix...
savetheclocktower authored
354
c67fe0b @savetheclocktower Fixed selector parsing so that "#foo [bar=baz]" is treated the same way ...
savetheclocktower authored
355 * Fixed selector parsing so that "#foo [bar=baz]" is treated the same way as "#foo *[bar=baz]". Closes #10734. [jlukas, kangax, Andrew Dupont]
356
89cbe08 @savetheclocktower Fix Element#descendantOf logic in IE. Closes #10413. [martymix, kamil.sz...
savetheclocktower authored
357 * Fix Element#descendantOf logic in IE. Closes #10413. [martymix, kamil.szot]
358
7052c5a @tobie prototype: Fix missing var in Element#insert. Closes #10838.
tobie authored
359 * Fix missing "var" in Element#insert. Closes #10838. [Lantash]
360
584acba @tobie prototype: Add Test.Unit.MessageTemplate class. Add flunk, buildMessage ...
tobie authored
361 * Add Test.Unit.MessageTemplate class. Add flunk, buildMessage and assertBlock methods to Test.Unit.Assertions. Refactor accordingly. [Tobie Langel]
362
7cd956d @tobie prototype: Remove useless binding in Template#evaluate.
tobie authored
363 * Remove useless binding in Template#evaluate. [Tobie Langel]
364
ac48714 @tobie prototype: Make Object.inspect more robust.
tobie authored
365 * Make Object.inspect more robust. [Tobie Langel]
366
cc69b9c @tobie prototype: Add a description to :test and :dist rake tasks.
tobie authored
367 * Add a description to :test and :dist rake tasks. [Christoph Sturm]
368
a246e77 @tobie prototype: Fix Selector.matchElements to allow for coma-separated select...
tobie authored
369 * Fix Selector.matchElements to allow for coma-separated selectors in Element#up/next/previous and Event#findElement. [Samuel Lebeau, Tobie Langel]
5a37860 @tobie prototype: Ensure creates an empty array when its argument's length is ...
tobie authored
370
0008fe4 @tobie prototype: Test.Unit refactoring. Allow running multiple instances of Te...
tobie authored
371 * Test.Unit refactoring. Allow running multiple instances of Test.Unit.Runner on the same page. Allow rake to run specific testcases (e.g.: rake test BROWSERS=firefox TESTS=array TESTCASES=testUniq,test$w). Closes #10704, #10705, #10706. [nicwilliams, Tobie Langel]
372
7c86e29 @tobie prototype: Optimize property detection of outerHTML. Avoids triggering F...
tobie authored
373 * Optimize property detection of outerHTML. Avoids triggering FOUC in Safari 3.0.4. Closes #10702. [subimage, Tobie Langel]
374
6f0def1 @tobie prototype: Add document.loaded, a boolean that is set to true once dom:l...
tobie authored
375 * Add document.loaded, a boolean that is set to true once dom:loaded is fired. Setting document.loaded to true before the document is loaded prevents dom:loaded from being fired. [Tobie Langel]
376
b4735bc @tobie prototype: Make Element#insert standard-compliant. Fixes an issue in FF3...
tobie authored
377 * Make Element#insert standard-compliant. Fixes an issue in FF3b2 when inserting HTML or text inside DOM nodes which aren't (yet) appended to the document. [Tobie Langel]
378
f553d22 @tobie prototype: Add some missing semicolons to the source tree. Closes #1065...
tobie authored
379 * Add some missing semicolons to the source tree. Closes #10659. [Richard Quadling]
380
c9a0757 @tobie prototype: Ensure Ajax.Response#getHeader returns null for missing heade...
tobie authored
381 * Ensure Ajax.Response#getHeader returns null for missing headers in Opera. [Tobie Langel]
382
143b13d @tobie prototype: Allow WEBrick to simulate slow or dropped connections and to ...
tobie authored
383 * Allow WEBrick to simulate slow or dropped connections and to ease Ajax request inspection. [Tobie Langel]
384
f0d54a4 @tobie prototype: Ensure Ajax.Response#getHeader returns null for missing heade...
tobie authored
385 * Ensure Ajax.Response#getHeader returns null for missing headers. [Tobie Langel]
386
5a37860 @tobie prototype: Ensure creates an empty array when its argument's length is ...
tobie authored
387 * Ensure $A creates an empty array when its argument's length is undefined. Closes #10574. [henryju, Tobie Langel]
388
23f7cb6 @tobie prototype: Fix incorrect variable declaration in Event.fire. Closes #103...
tobie authored
389 * Fix incorrect variable declaration in Event.fire. Closes #10329. [rubley]
6f0e0ad @savetheclocktower Handle case-sensitivity in Selector tag names better. Closes #5052. [mex...
savetheclocktower authored
390
c691de7 @savetheclocktower Fix the way Selector handles [pseudoclass + combinator] with no space in...
savetheclocktower authored
391 * Fix the way Selector handles [pseudoclass + combinator] with no space in between. Closes #9696. [kangax, fearphage, Andrew Dupont]
392
0549952 @savetheclocktower I suppose we owe it to our contributors to spell their names right.
savetheclocktower authored
393 * Optimize Element#up/down/next/previous. Closes #10353. [Dylan Bruzenak, Nick Stakenburg, Andrew Dupont]
cb23962 @savetheclocktower Optimize Element#up/down/next/previous. Closes #10353. [Dylan Bruzenak, ...
savetheclocktower authored
394
6f0e0ad @savetheclocktower Handle case-sensitivity in Selector tag names better. Closes #5052. [mex...
savetheclocktower authored
395 * Handle case-sensitivity in Selector tag names better. Closes #5052. [mexx, Andrew Dupont]
396
804b99f @sstephenson prototype: Bump to 1.6.0.1
authored
397 *1.6.0.1* (December 4, 2007)
769ae42 @sstephenson prototype: Ensure that an Ajax.Request's parameters option can be a Hash...
authored
398
0549952 @savetheclocktower I suppose we owe it to our contributors to spell their names right.
savetheclocktower authored
399 * Change document.viewport.getDimensions to exclude scrollbars in all cases. Closes #10148, #9288. [Nick Stakenburg]
4d3ebf0 @savetheclocktower Change document.viewport.getDimensions to exclude scrollbars in all case...
savetheclocktower authored
400
ae76169 @savetheclocktower Add logic to Element#getStyle in Opera that fixes inaccurate reporting o...
savetheclocktower authored
401 * Add logic to Element#getStyle in Opera that fixes inaccurate reporting of computed 'width' and 'height' properties. [Andrew Dupont]
402
769ae42 @sstephenson prototype: Ensure that an Ajax.Request's parameters option can be a Hash...
authored
403 * Ensure that an Ajax.Request's parameters option can be a Hash. Closes #10172. [kangax, sam]
404
c852854 @savetheclocktower * Ensure no comment nodes are returned in Selector queries (IE improperl...
savetheclocktower authored
405 * Ensure no comment nodes are returned in Selector queries (IE improperly returns comment nodes on getElementsByTagName("*")). Change Element#descendants to use Element#getElementsBySelector in order to avoid this issue. Closes #10220. [Jeff Gobel, Andrew Dupont]
406
b01903d @savetheclocktower * Re-enable the XPath approach in Selector for Safari 3. Falls back to t...
savetheclocktower authored
407 * Re-enable the XPath approach in Selector for Safari 3. Falls back to the non-XPath version when it sees a problematic token. [Andrew Dupont]
408
26b8033 @savetheclocktower * Fix a bug in the IE-specific Element#descendantOf logic. [Nicholas, An...
savetheclocktower authored
409 * Fix a bug in the IE-specific Element#descendantOf logic. [Nicholas, Andrew Dupont]
410
2382304 @tobie prototype: Prevent memory leaks in Ajax.PeriodicalUpdater. Closes #10049
tobie authored
411 * Make Ajax.Updater clone its options hash before modifying it. Prevents memory leaks in Ajax.PeriodicalUpdater. Closes #10049 [Mislav Marohnić, Tobie Langel].
412
c371096 @tobie prototype: Remove useless variable in Selector.handlers.child. Closes #1...
tobie authored
413 * Remove useless variable in Selector.handlers.child. Closes #10006 [kuriyama]
414
d20cc77 @tobie prototype: Don't redeclare previously declared variables. Closes #10007
tobie authored
415 * Don't redeclare previously declared variables. Closes #10007 [kuriyama]
416
07a1646 @tobie prototype: use Object.isUndefined where possible.
tobie authored
417 * For consistency: use Object.isUndefined where possible. [Tobie Langel]
418
b058e24 @tobie prototype: Make String#isJSON return false for empty or blank strings. M...
tobie authored
419 * Make String#isJSON return false for empty or blank strings. Make Ajax.Response#responseJSON null when Ajax.Response#responseText is empty or blank. [Andrew Dupont, Thomas Fuchs, Tobie Langel]
420
f8ffe7b @tobie prototype: Make Ajax.Response#_getResponseJSON use Ajax.Response#respons...
tobie authored
421 * Make Ajax.Response#_getResponseJSON use Ajax.Response#responseText. [Tobie Langel]
422
74c005c @tobie prototype: Remove the now redundant forked declaration of Hash#_each.
tobie authored
423 * Remove the forked declaration of Hash#_each. As we are now systematically cloning the object upon instantiation, preventing iteration of shadowed properties is no longer required. [Tobie Langel]
424
0b6a6e2 @tobie prototype: Ensure Event#fire always returns an extended event. Make Even...
tobie authored
425 * Performance optimizations for Event#findElement. Make Event#findElement's expression argument optional, in which case the extended target element is returned (same as Event#element). [Tobie Langel]
426
427 * Ensure Event#fire always returns an extended event. [Tobie Langel]
428
5ad3bad @sstephenson prototype: Version bump
authored
429 *1.6.0* (November 6, 2007)
b83ae95 @sstephenson prototype: Fix template evaluation with empty replacements. Closes #969...
authored
430
9b78edb @sstephenson prototype: Fix Class#addMethods for "toString" and "valueOf" methods in ...
authored
431 * Fix Class#addMethods for "toString" and "valueOf" methods in Internet Explorer. Closes #9901. [sam]
432
b14c9af @savetheclocktower Exclude Opera from using the sourceIndex approach in Element#descendantO...
savetheclocktower authored
433 * Exclude Opera from using the sourceIndex approach in Element#descendantOf. [Tobie Langel, Andrew Dupont]
434
d6b843c @tobie Ensure Element#hasClassName always returns a boolean. Closes #10075.
tobie authored
435 * Ensure Element#hasClassName always returns a boolean. Closes #10075. [ronnylovtangen, Tobie Langel]
436
8cd85d1 @savetheclocktower Ensure selectors of the form "[href]" (attribute token with no preceding...
savetheclocktower authored
437 * Ensure selectors of the form "[href]" (attribute token with no preceding tag name) work properly. Closes #8870. [chao, kangax, Andrew Dupont]
438
7cf17c7 @savetheclocktower Performance optimizations for Element#descendantOf. Costliness should no...
savetheclocktower authored
439 * Performance optimizations for Element#descendantOf. Costliness should no longer be dependent on the difference in depth between the parent and the child. [Andrew Dupont]
440
916cbba @madrobby Apply the workaround for the Firefox "blinking element" opacity=1 bug on...
madrobby authored
441 * Apply the workaround for the Firefox "blinking element" opacity=1 bug only to Firefox 1.5. [Thomas Fuchs]
442
bb66a5e @savetheclocktower Changelog entry for [8037].
savetheclocktower authored
443 * Add event.stopped, a boolean that is set to `true` when Event#stop is called. [Andrew Dupont, sam]
444
18969c5 @sstephenson prototype: Reset the browser's dimensions to their original settings aft...
authored
445 * Reset the browser's dimensions to their original settings after running the DOM viewport tests. [sam]
446
1c5e3fe @sstephenson prototype: Fix the test runner for Firefox in Leopard.
authored
447 * Fix the test runner for Firefox in Leopard. [sam]
448
4dece6b @tobie Use String#include wherever possible.
tobie authored
449 * Use String#include wherever possible.
450
16127b0 @tobie prototype: In IE, allow opacity to be set on elements not yet attached t...
tobie authored
451 * In IE, allow opacity to be set on elements not yet attached to the document. Closes #9904. [Thomas Fuchs, dcpedit, Tobie Langel]
452
f870fba @tobie prototype: Avoid the try..catch block in Ajax.Response#_getResponseJSON ...
tobie authored
453 * Avoid the try..catch block in Ajax.Response#_getResponseJSON unless required. [Tobie Langel]
454
0100aee @tobie prototype: Add more tests to Element.update.
tobie authored
455 * Add more tests to Element.update. Closes #9327. [Tobie Langel]
456
44c9d89 @tobie prototype: Make the Ajax.Response#headerJSON property correctly decode u...
tobie authored
457 * Make the Ajax.Response#headerJSON property correctly decode unicode characters. Closes #9285. [Marius Feraru, Tobie Langel]
458
827c8c6 @tobie prototype: Prevent a Firefox bug from throwing errors on page load/unloa...
tobie authored
459 * Make sure Event and Event.extend are defined before wrapping events and calling their handler. Prevents a known Firefox bug from throwing errors on page load/unload (cf.: https://bugzilla.mozilla.org/show_bug.cgi?id=361271). Closes #5393, #9421. [staaky, John Resig, sam, Tobie Langel]
460
ba96fa7 @tobie prototype: Minor cosmetic changes to the display of unit tests in termin...
tobie authored
461 * Minor cosmetic changes to the display of unit tests in terminal. [Tobie Langel]
462
29c0de6 @tobie prototype: Make submitting forms work in Opera < 9.1.
tobie authored
463 * Make submitting forms work in Opera < 9.1. Closes #9917, #9463, #8260. [kangax]
464
b83ae95 @sstephenson prototype: Fix template evaluation with empty replacements. Closes #969...
authored
465 * Fix template evaluation with empty replacements. Closes #9692. [Ryan McGeary]
e9e1a67 @sstephenson prototype: trunk is now 1.5.2_pre0
authored
466
8327ffd @sstephenson prototype: Hash#toTemplateReplacements is an alias for Hash#toObject so ...
authored
467 * Hash#toTemplateReplacements is an alias for Hash#toObject so you can once again pass hashes to Template#evaluate and String#interpolate. [sam]
468
d114e76 @sstephenson prototype: Fix Event#is(Left|Middle|Right)Click in IE. Closes #7520.
authored
469 * Fix Event#is(Left|Middle|Right)Click in IE. Closes #7520 (again). [Mislav Marohnić]
470
b83ae95 @sstephenson prototype: Fix template evaluation with empty replacements. Closes #969...
authored
471 *1.6.0_rc1* (October 16, 2007)
472
aada1ab @savetheclocktower * Ensure Event.* generic methods work in IE, even when the event is not ...
savetheclocktower authored
473 * Ensure Event.* generic methods work in IE, even when the event is not extended. [Viktor Kojouharov, Andrew Dupont]
474
bfd5353 @sstephenson prototype: Don't translate "keypress" events into "keydown" events.
authored
475 * Don't translate "keypress" events into "keydown" events. [sam]
476 Note: "keypress" is broken in Safari <= 2.x, but Event#stop has no effect on "keydown" events.
477
8d3d6cd @savetheclocktower * Changed Element#makeClipping to remember the original overflow value, ...
savetheclocktower authored
478 * Changed Element#makeClipping to remember the original overflow value, even if it's a non-inline style. [Andrew Dupont]
479
3dd7bd5 @sstephenson prototype: Cross-browser Event#isLeftClick with the addition of is(Middl...
authored
480 * Cross-browser Event#isLeftClick with the addition of is(Middle|Right)Click. Closes #7520. [Christophe Porteneuve, Richard Quadling, Mislav Marohnić]
481
6cd34be @savetheclocktower * Change Selector to use the non-XPath approach for Safari 3 because of ...
savetheclocktower authored
482 * Changed Selector to use the non-XPath approach for Safari 3 because of bugs in its version of document.evaluate. [Andrew Dupont]
483
0dd4ba7 @savetheclocktower * Changed the Selector regex that tests whether the selector can be expr...
savetheclocktower authored
484 * Changed the Selector regex that tests whether the selector can be expressed in XPath; added :checked, since XPath can't detect all scenarios in which an <input> is checked. Fixes #9776. [StelardActek, kangax, Andrew Dupont]
485
486 * Changed Selector pattern match so that descendant combinators after pseudoclass tokens are properly handled. Fixes #9696. [wiktor, kangax, Andrew Dupont]
88f8d3b @savetheclocktower * Changed Selector pattern match so that descendant combinators after ps...
savetheclocktower authored
487
865ac01 @tobie prototype: Make sure $w always returns an array.
tobie authored
488 * Make sure $w always returns an array. [Andrew Dupont, Tobie Langel]
489
0632778 @tobie Add more tests to Hash.
tobie authored
490 * Add more tests to Hash. [Mislav Marohnić]
491
941359b @tobie Performance enhancements to . Closes #9464
tobie authored
492 * Performance enhancements to $A. Closes #9464. [Samuel Lebeau]
493
7dda50a @tobie Make Function#argumentNames work with named functions. Closes #9826
tobie authored
494 * Make Function#argumentNames work with named functions. Closes #9826. [Samuel Lebeau]
495
96af1b7 @tobie Add Object.isHash.
tobie authored
496 * Add Object.isHash. [Tobie Langel]
497
d195111 @tobie Performance improvements to String#times.
tobie authored
498 * Performance improvements to String#times. [Martin Ström]
499
db371dd @tobie Make Ajax.Response#getHeaderJSON and Ajax.Response#getResponseJSON pseud...
tobie authored
500 * Make Ajax.Response#getHeaderJSON and Ajax.Response#getResponseJSON pseudo private instance methods. [Tobie Langel]
501
e7bb042 @tobie Make ObjectRange use the new Class.create syntax.
tobie authored
502 * Make ObjectRange use the new Class.create syntax. [Mislav Marohnić]
503
504 * Fix a failing ClassCreate test case in IE. [Tobie Langel]
505
d25b863 @tobie Complete rewrite of the Hash class.
tobie authored
506 * Complete rewrite of the Hash class.
507
508 !! BACKWARDS COMPATIBILITY CHANGE !! This new version of Hash is NOT backwards compatible with the former Hash class.
509
510 Properties are now hidden away in an private store to prevent the risk of collision with Hash's instance and mixed-in methods.
511 This implies that properties of the hash can no longer be set, accessed or deleted directly: use the new Hash#get(key), Hash#set(key, value) and Hash#unset(key) instance methods instead.
512
513 - Make $H(object) equivalent to new Hash(object). Both now return a new (cloned) instance of Hash in all circumstances.
514 - Make Hash#merge non-destructive.
515
516 - Add Hash#update (a destructive version of Hash#merge).
517 - Add Hash#clone (returns a new, cloned instance of Hash).
518 - Add Hash#toObject (returns a clone of the contained object).
519 - Add Hash#get(key) (returns the value of the specified property).
520 - Add Hash#set(key, value) (sets the value of the given property. returns the value).
521 - Add Hash#unset(key) (deletes the specified property and returns its value).
522 - Add Hash.from as a alias to $H for consistency with Array.from.
523 - Add Object.toQueryString.
524
525 - Deprecate Hash.toQueryString (use Object.toQueryString or the instance method Hash#toQueryString instead).
526
527 - Remove Hash#remove (use Hash#unset instead).
528 - Remove Hash.toJSON (use Object.toJSON or the instance method Hash#toJSON instead). [sam, Tobie Langel]
529
4607e29 @sstephenson prototype: Element#wrap now returns the wrapper instead of the element b...
authored
530 * Element#wrap now returns the wrapper instead of the element being wrapped. [sam]
531
115d3e4 @sstephenson prototype: Namespace all custom event names to avoid conflicts with nati...
authored
532 * Namespace all custom event names to avoid conflicts with native DOM events. [sam]
533 - All custom event names MUST include a namespace. Prefix custom event names for observe, stopObserving, and fire with the namespace followed by a colon. E.g. document.fire("widget:activated")
534 - The "contentloaded" event is now "dom:loaded".
535 - The Event.DOMEvents array is no longer present. If an event name does not include a namespace, the event is treated as a native event.
536
c35598c @sstephenson prototype: Clean up the new class API.
authored
537 * Clean up the new class API. [sam, Tobie Langel]
538 - Add Class#addMethods for adding instance methods to classes.
539 - Remove Class.extend and Class.mixin.
540 - Class.create now takes a variable number of arguments: if the first argument is a class, the newly created class inherits from that class; all other arguments are treated as successive calls to addMethods.
541
8ca43a5 @sstephenson prototype: Fix contentloaded event initialization in IE. Closes #9457, ...
authored
542 * Fix contentloaded event initialization in IE. Closes #9457, #9488, #9707. [Mislav Marohnić]
543
c904fe7 @sstephenson prototype: Deprecate document.getElementsByClassName and Element#getElem...
authored
544 * Deprecate document.getElementsByClassName and Element#getElementsByClassName since native versions return a NodeList and we can only return an Array. Please use $$ or Element#select instead. [sam]
545 For more information see https://bugzilla.mozilla.org/show_bug.cgi?id=390411
546
cf88669 @sstephenson prototype: Fix missing "var" in selector.js. Closes #9761.
authored
547 * Fix missing "var" in selector.js. Closes #9761. [Tobie Langel]
548
4b1fb7e @sstephenson prototype: Date#toJSON now returns times in UTC for better compatibility...
authored
549 * Date#toJSON now returns times in UTC for better compatibility with json.js. Closes #9332. [Tobie Langel]
550
8cf1f89 @sstephenson prototype: Ensure document._getElementsByXPath extends the elements it r...
authored
551 * Ensure document._getElementsByXPath extends the elements it returns; fixes $$ not returning extended elements in Opera 9.2. Closes #8843. [jdalton]
552
553 * Update Prototype.Browser.MobileSafari for iPod touch compatibility. [sam]
554
746a905 @madrobby Add tests for Object.extend and Object.clone.
madrobby authored
555 * Add tests for Object.extend and Object.clone. [Tobie Langel]
556
cca235b @madrobby Prototype: Add a test for Form.Observer.
madrobby authored
557 * Add a test for Form.Observer. [Christoph Sturm]
558
6c94af7 @madrobby Make sure setting opacity works on elements that have "no layout" in IE.
madrobby authored
559 * Make sure setting opacity works on elements that have "no layout" in IE. [Thomas Fuchs]
560
6ed9095 @sstephenson prototype: Simplify Class.create by establishing a prototype chain when ...
authored
561 * Simplify Class.create by establishing a prototype chain when subclassing. Closes #9342. [Ben Newman]
562
5d3fd6f @sstephenson prototype: Fix Ajax.PeriodicalUpdater for compatibility with Ajax.Respon...
authored
563 * Fix Ajax.PeriodicalUpdater for compatibility with Ajax.Response. Closes #9321. [kampers]
564
001b548 @sstephenson prototype: Ensure that classes always have an initialize method.
authored
565 * Ensure that classes always have an initialize method. [Mislav Marohnić]
566
6086db4 @sstephenson prototype: Update Template, Selector, Ajax.*, and ObjectRange classes to...
authored
567 * Update Template, Selector, Ajax.*, and ObjectRange classes to use the new class system. [Mislav Marohnić]
568
75b3f3c @sstephenson prototype: Change Abstract.TimedObserver to subclass PeriodicalExecuter ...
authored
569 * Change Abstract.TimedObserver to subclass PeriodicalExecuter and tweak its subclasses to use new inheritance functionality. TimedObserver can now be stopped the same way as PeriodicalExecuter. Closes #8589. [Mislav Marohnić]
570
bfba40e @sstephenson prototype: Fix Class.mixin to extend the class's prototype.
authored
571 * Fix Class.mixin to extend the class's prototype. [Mislav Marohnić]
572
b923d6d @sstephenson prototype: Fix superclass method call breakage from [7337].
authored
573 * Fix superclass method call breakage from [7337]. [Mislav Marohnić, sam]
574
702d968 @sstephenson prototype: Change Class.extend to allow for superclass method resolution...
authored
575 * Change Class.extend to allow for superclass method resolution and remove Class.inherit. Closes #9274. [Samuel Lebeau]
576
b2f884b @sstephenson prototype: Event handlers are now bound to the observed element, not the...
authored
577 * Event handlers are now bound to the observed element, not the event's target element. [Dan Webb]
578
aa1a7f5 @madrobby prototype: Define Node constants conditionally after checking for Node.E...
madrobby authored
579 * Define Node constants conditionally after checking for Node.ELEMENT_NODE presence. Add unit test to check the values of all constants. Closes #7625. [Mislav Marohnić]
580
194fda0 @madrobby prototype: Make sure Enumerable#include doesnt do type comparision. [Mi...
madrobby authored
581 * Make sure Enumerable#include doesn't do type comparision. [Mislav Marohnić]
582
f86ac77 @madrobby Prototype: Add contextmenu to Event.DOMEvents.
madrobby authored
583 * Add contextmenu to Event.DOMEvents. [Thomas Fuchs]
584
1a0f6b3 @madrobby Prototype: update trunk CHANGELOG
madrobby authored
585 *1.6.0_rc0* (August 15, 2007)
586
d8b8c65 @sstephenson prototype: Fix readAttribute-related failure in form.html in IE.
authored
587 * Fix readAttribute-related failure in form.html in IE. [sam, Andrew Dupont]
588
c27f2de @sstephenson prototype: Fix failing dom.html and selector.html tests in IE.
authored
589 * Fix failing dom.html and selector.html tests in IE. [Tobie Langel, Andrew Dupont]
590
c603fc5 @sstephenson prototype: Make sure the WebKit redefinition of Element#cumulativeOffset...
authored
591 * Make sure the WebKit redefinition of Element#cumulativeOffset uses Element._returnOffset. Closes #9245. [mdaines]
592
11f25aa @sstephenson prototype: Make sure Element#observe is always chainable.
authored
593 * Make sure Element#observe and Element#stopObserving are always chainable. [sam]
d2974cf @sstephenson prototype: Make sure Element#stopObserving is always chainable.
authored
594
14ea77e @sstephenson prototype: Event.fire/Element#fire now returns the newly-fired event ins...
authored
595 * Event.fire/Element#fire now returns the newly-fired event instead of the event's target element. [sam]
596
d7da841 @sstephenson prototype: Restrict Event.DOMEvents to include only events that can be s...
authored
597 * Restrict Event.DOMEvents to include only events that can be supported in all browsers. [sam]
598
ffa744e @sstephenson prototype: Fix a failing test in base.html in Safari 2.
authored
599 * Fix a failing test in base.html in Safari 2. [Tobie Langel]
600
5f76c25 @madrobby Fix Element#positionedOffset and Element#getOffsetParent for static elem...
madrobby authored
601 * Fix Element#positionedOffset and Element#getOffsetParent for static elements on IE. [Thomas Fuchs]
602
2fbb490 @sstephenson prototype: Make sure event handlers and their wrappers are removed from ...
authored
603 * Make sure event handlers and their wrappers are removed from the cache by Event.stopObserving. [sam, Severin Heiniger]
604
f3d9cb2 @madrobby Add line numbers to failures when unit testing in Firefox. Closes #9231...
madrobby authored
605 * Add line numbers to failures when unit testing in Firefox. Closes #9231. [John Resig]
606
e75cd0a @sstephenson prototype: Fix Function#argumentNames for IE
authored
607 * Fix Function#argumentNames for Opera and IE. [Thomas Fuchs]
220f637 @sstephenson prototype: Fix Function#argumentNames for Opera
authored
608
df71a6b @sstephenson prototype: Add Object.isString, Object.isNumber, and Object.isUndefined,...
authored
609 * Add Object.isString, Object.isNumber, and Object.isUndefined, and clean up the source to make use of Object.isXXX where possible. [sam]
610
ae2ab03 @sstephenson prototype: Add the document.viewport object for querying dimensions and ...
authored
611 * Add the document.viewport object for querying dimensions and scroll offsets of the browser viewport. [Andrew Dupont, Thomas Fuchs, sam]
612 Example:
613 document.viewport.getDimensions() // { width: 1149, height: 923 }
614 document.viewport.getWidth() // 1149
615 document.viewport.getHeight() // 923
616 document.viewport.getScrollOffsets() // { left: 0, top: 1592 }
617
c488384 @sstephenson prototype: Add support for brackets in quoted attribute value selectors....
authored
618 * Add support for brackets in quoted attribute value selectors. Closes #9157. [Ken Snyder]
619
620 * Add some missing semicolons to the source tree. Closes #9140. [jdalton]
621
cbaec75 @madrobby Prototype: Fix event extensions and custom events firing for Safari 2.0
madrobby authored
622 * Fix event extensions and custom events firing for Safari 2.0. [Thomas Fuchs]
623
30aa7a6 @sstephenson prototype: Add RegExp.escape for escaping regular expression strings. C...
authored
624 * Add RegExp.escape for escaping regular expression strings. Closes #9094. [Ken Snyder]
625
aa4602b @sstephenson prototype: Merge -r7242:HEAD from ../branches/1-6-0-events. Adds suppor...
authored
626 * Make the eventName and handler arguments to Event.stopObserving optional. If no handler is specified, all handlers for the given event are unregistered. If no event name is specified, all observed events on the element are unregistered. [sam]
627
628 * Add cross-support for the DOMContentLoaded event through a Prototype custom event on document called "contentloaded". The DOMContentLoaded event fires before window.load, when the entire HTML document, but not necessarily its images, stylesheets or other assets, has loaded. Based on [6596]. [sam, Mislav Marohnić]
629 Example:
630 document.observe("contentloaded", function() {
631 $$("a").invoke("identify"); // give all <a> tags an ID
632 });
633
634 * Add Event.fire and Element.Methods.fire for firing custom events. Prototype custom events piggyback on a real DOM event ("ondataavailable"), so they bubble and cancel. You can fire custom events from any element, or fire global events on the document object. Observe custom events just as you'd observe a regular DOM event. [sam, Seth Dillingham]
635
636 * Extend the event object with methods from Event.Methods and normalize it in IE. [sam, Mislav Marohnić]
637
638 * Remove support for observing the capturing phase of DOM events, since we can't support it in all browsers. [sam]
639
52cf3f2 @sstephenson prototype: Merge -r7016:HEAD from ../branches/ajax. Add Ajax.Response ob...
authored
640 * Add Ajax.Response object which supports the following methods: responseJSON, headerJSON, getHeader, getAllHeaders and handles browser discrepancies in the other response methods. Add sanitizeJSON, evalJS and evalJSON to Ajax.Request. Closes #8122, #8006, #7295. [Tobie Langel]
641
642 * Add an isRunningFromRake property to unit tests. [Tobie Langel]
643
644 * Add support for Opera browser in jstest.rb. [Tobie Langel]
645
281ac64 @sstephenson prototype: Merge -r6792:HEAD from ../branches/inheritance/{src/base.js,t...
authored
646 * Inheritance branch merged to trunk; robust inheritance support for Class.create. Closes #5459. [Dean Edwards, Alex Arnell, Andrew Dupont, Mislav Mahronic]
647 - To access a method's superclass method, add "$super" as the first argument. (The naming is significant.) Works like Function#wrap.
648 - Class.create now takes two optional arguments. The first is an existing class to subclass; the second is an object literal defining the instance properties/methods. Either can be omitted. Backwards-compatible with old Class.create.
649 - Added Class.extend for dynamically adding methods to existing classes (while preserving inheritance chain). Can also be used for mixins.
650 - The 'constructor' property of a class instance always points back to the proper class. Class objects themselves have two special properties: 'superclass' and 'subclasses' (which default to 'null' and '[]', respectively). Allows for powerful introspection.
651 - Added Object.isFunction [sam]
652
90c9c69 @sstephenson prototype: Add Function#argumentNames, which returns an ordered array of...
authored
653 * Add Function#argumentNames, which returns an ordered array of the function's named arguments. [sam]
654
52cf3f2 @sstephenson prototype: Merge -r7016:HEAD from ../branches/ajax. Add Ajax.Response ob...
authored
655 * Prevent a crash in Safari 1.3 on String#stripScripts and String#extractScripts. Closes #8332. [grant, Tobie Langel]
656
5645a07 @sstephenson prototype: Add Prototype.Browser.MobileSafari which evaluates to true on...
authored
657 * Add Prototype.Browser.MobileSafari which evaluates to true on the iPhone's browser. [sam]
658
82bedce @sstephenson prototype: Optimize Selector#match and Element#match for simple selector...
authored
659 * Optimize Selector#match and Element#match for simple selectors. Closes #9082. [Andrew Dupont]
660
a529bcf @sstephenson prototype: Remove the dependency on Element.ClassNames from Element#addC...
authored
661 * Remove the dependency on Element.ClassNames from Element#addClassName/removeClassName/toggleClassName, and deprecate Element.ClassNames. Closes #9073. [Tobie Langel]
662
c0735db @sstephenson prototype: Make Element#wrap accept a second argument for setting attrib...
authored
663 * Make Element#wrap accept a second argument for setting attributes on the wrapper. Allow wrapping elements which are not part of the document. Closes #9071. [Tobie Langel]
664
44ef748 @sstephenson prototype: Improvements for Element#replace, Element#update and Element#...
authored
665 * Improvements for Element#replace, Element#update and Element#insert. Closes #7429, #9060. [Tobie Langel]
666 - Element#replace/update/insert uses the argument's toElement or toHTML method if present (toElement has precedence if both are present).
667 - Element#replace and Element#update now also accept DOM elements.
668 - Element#replace better handles table-related elements in IE and Opera.
669
670 * Add Object.isArray and Object.isElement (returns true if the object is a DOM node of type 1). [Tobie Langel]
671
672 * Add Object.toHTML (uses the object's toHTML method if present or else passes the object to String.interpret). [Tobie Langel]
673
7b2ce66 @sstephenson prototype: Make Element#setStyle accept a string argument of CSS rules. ...
authored
674 * Make Element#setStyle accept a string argument of CSS rules. Deprecate uncamelized style property names when setting styles using an object (for performance reasons). Closes #9059. [Tobie Langel]
675 Examples:
676 $('id').setStyle('font-size: 12px; float: left; opacity: 0.5');
677 $('id').setStyle({fontSize: '12px', cssFloat: 'left', opacity: 0.5});
678
679 !! BACKWARDS COMPATIBILITY CHANGE !!
680
681 If you have code that looks like this:
682 $('id').setStyle({'font-size': '12px'});
683 You need to replace it with either of the following:
684 $('id').setStyle({fontSize: '12px'});
685 $('id').setStyle('font-size: 12px;');
686
c6f3daa @sstephenson prototype: Add Element#identify, which returns the element's ID if it ex...
authored
687 * Add Element#identify, which returns the element's ID if it exists, or sets and returns a unique, auto-generated ID (of the form "anonymous_element_" + auto-incremented digit) otherwise. Use this when you need to ensure an element has an ID. Closes #9012. [Jeff Watkins, sam, Tobie Langel]
688
7e6481b @sstephenson prototype: Make Element#readAttribute work for cloned elements in IE. C...
authored
689 * Make Element#readAttribute work for cloned elements in IE. Closes #8481. [chem, Tobie Langel]
690
ff45622 @sstephenson prototype: Template enhancements. Closes #8166.
authored
691 * Template enhancements. Closes #8166. [Christophe Porteneuve]
692 - Added String#interpolate as a shortcut for new Template(...).evaluate(...).
693 - If you pass String#interpolate or Template#evaluate an object with a toTemplateReplacements() method, the return value of that method will be used as the replacement object.
694 - You can now substitute properties of template replacement values in template strings, using dot or bracket notation (or both). Example:
695 "#{name.last}, #{name.first[0]}. (#{location})".interpolate({
696 name: { first: "Christophe", last: "Porteneuve" }, location: "Paris"
697 }) // "Porteneuve, C. (Paris)"
698
699 * Extended grep semantics. The first argument to Enumerable#grep is now a "filter" (an object with a match() method) so you can now e.g. filter an array of DOM nodes by CSS selector. RegExp#match is now an alias to RegExp#test, so grep can still be used to filter an array of strings with a regular expression. Closes #7596. [Christophe Porteneuve, sam]
b59399b @sstephenson prototype: Extended grep semantics. The first argument to Enumerable#gr...
authored
700
38fa39a @sstephenson prototype: Make String#scan explicitly return a string. Closes #6350.
authored
701 * Make String#scan explicitly return a string. This prevents possible issues with methods expecting input data that is typeof == 'string'. Closes #6350. [AndrewRev, Tobie Langel]
702
513042d @madrobby Add Array#intersect for set intersection. Returns a new array containing...
madrobby authored
703 * Add Array#intersect for set intersection. Returns a new array containing all items common to the array and the argument, with duplicates removed (clone of the Ruby & method). [Thomas Fuchs]
704 Example:
705 [1,1,3,5].intersect([1,2,3]) -> [1,3]
706
cea24d6 @madrobby Prototype: Rename Element#getElementsBySelector to Element#select and ad...
madrobby authored
707 * Rename Element#getElementsBySelector to Element#select and add alias for Element#getElementsBySelector. [Thomas Fuchs]
708
709 * Add Element#adjacent as a shortcut to selecting all adjacent nodes (and their children) that match a CSS selector. [Thomas Fuchs]
710
1c17b63 @sstephenson prototype: Enhance the Enumerable and Array APIs to more closely match t...
authored
711 * Enhance the Enumerable and Array APIs to more closely match those of JavaScript 1.6 as implemented in Firefox 1.5. Closes #6650, #8409. [Mislav Marohnić, Sylvain Zimmer]
712 - Add Array#lastIndexOf, and change Array#indexOf not to overwrite the native method.
713 - Make Enumerable use Array.prototype.forEach instead of _each when possible (slight speed increase).
714 - Add "filter", "entries", "every", and "some" Array aliases.
715 - All Enumerable methods now have an additional parameter, "context", which, if present, specifies the object to which the iterators' "this" is bound.
716 - Function#bind and #curry now return the receiving function if the binding object is undefined.
717
29cd62e @sstephenson prototype: Temporary workaround for Prototype.BrowserFeatures.SpecificEl...
authored
718 * Temporary workaround for Prototype.BrowserFeatures.SpecificElementExtensions incorrectly evaluating to true on iPhone. (needs further investigation) [sam]
719
9e7efd5 @madrobby Prototype: merges from form branch. Closes #5031, #5902, #7595, #8401, ...
madrobby authored
720 * The action for Form#request defaults to the current URL if the "action" attribute is empty. (This is what most of the major browsers do.) Fixes #8483. [Tomas, Mislav Marohnić]
721
722 * In form serialization, change the way submit buttons are handled. Previously all submit buttons were serialized; now Prototype serializes only the first one. Change Form#serialize and Form.serializeElements to accept a params hash. With the "hash: false" option, a serialized string is returned instead of the hash data object. With the "submit: 'foo'" option, only the submit button with the name "foo" is serialized. References #5031. [Mislav Marohnić]
723 Examples:
724 $('form').serialize({ submit: 'delete' })
725 $('form').serialize({ hash: false }) //-> equivalent to $('form').serialize()
726
727 * Form#findFirstElement respects HTML tabindexes. Closes #7595. [Christophe Porteneuve]
728
729 * Added Form.Element#setValue method for setting values on various form controls. Checkboxes and radio buttons respond to a boolean and multiple select boxes expect an array of values. Closes #5902. [Jonathan Viney, Mislav Marohnić]
730 Examples:
731 $('text_input').setValue('hello world!')
732 $('remember_me').setValue(true)
733 $('attend_classes').setValue(['cheese rolling', 'evil chemistry'])
734
f2d304b @sstephenson prototype: Merge [7066] from branches/1-5-1-1
authored
735 * Make document.getElementsByClassName match a subset of the WHATWG Web Applications 1.0 specification which was adopted in Firefox 3 (http://www.whatwg.org/specs/web-apps/current-work/#getelementsbyclassname). It now supports multiple class names given as a whitespace-separated list in a string. Array argument is not supported. The method will only return the nodes that match all the class names. In browsers that implement the method natively it will not be overwritten. Closes #8401. [Mislav Marohnić]
d6bf5e4 @sstephenson prototype: Make document.getElementsByClassName match a subset of the WH...
authored
736 Example:
03ae9dd @madrobby * Make document.getElementsByClassName match the WHATWG Web Applications...
madrobby authored
737 document.getElementsByClassName('foo bar')
738
1b8ef5a @madrobby Fix a Safari rendering issue when floating elements could temporarily di...
madrobby authored
739 * Fix a Safari rendering issue when floating elements could temporarily disappear when opacity was set to 1. Closes #7063. References #3044, #3813, #6706. [Thomas Fuchs, davidjrice]
9ff57b0 @madrobby Prevent a crash in Safari when calling String#evalJSON(true) on very lar...
madrobby authored
740
1b8ef5a @madrobby Fix a Safari rendering issue when floating elements could temporarily di...
madrobby authored
741 * Prevent a crash in Safari when calling String#evalJSON(true) on very large strings. Add String#isJSON. Closes #7834. [Tobie Langel]
1e13c1d @madrobby Prototype: Prevent a crash in Safari 1.3 on String#stripScripts and Stri...
madrobby authored
742
1b8ef5a @madrobby Fix a Safari rendering issue when floating elements could temporarily di...
madrobby authored
743 * Prevent a crash in Safari 1.3 on String#stripScripts and String#extractScripts. Closes #8332. [grant, Tobie Langel]
744
745 * Allow JSON data to contain line breaks. Closes #8271. [pijyster, Tobie Langel]
1e13c1d @madrobby Prototype: Prevent a crash in Safari 1.3 on String#stripScripts and Stri...
madrobby authored
746
51bb86d @madrobby Add Hash.prototype.index which returns the first found property that has...
madrobby authored
747 * Add Hash.prototype.index which returns the first found property that has a specific value. Closes #8528. [Thomas Fuchs, slusarz, Mislav Marohnić]
748 Examples:
749 var hash = $H({a:1,b:'2'});
750 hash.index(1) // -> 'a'
751 hash.index('1') // -> undefined
752
ae2ea8a @sstephenson prototype: Ensure HTMLElement exists before creating Element.extend.
authored
753 * Ensure HTMLElement exists before creating Element.extend. [Tobie Langel]
754
86118c3 @madrobby Prototype: Add Number.prototype.round/ceil/floor/abs as an aliases to th...
madrobby authored
755 * Add Number.prototype.round/ceil/floor/abs as an aliases to the respective methods in Math. Refactor to seperate number extensions from base.js. [Thomas Fuchs]
0c7bac1 @madrobby Prototype: Make Element#absolutize and Element#relativize properly use E...
madrobby authored
756
86118c3 @madrobby Prototype: Add Number.prototype.round/ceil/floor/abs as an aliases to th...
madrobby authored
757 * Make Element#absolutize and Element#relativize properly use Element#getStyle. Closes #8580. [Christophe Porteneuve]
225597c @madrobby Prototype: Add Number.prototype.round as an alias to Math.round(). [Tho...
madrobby authored
758
431dd4e @madrobby Prototype: Test library fixes: make rake dist work on Windows, only tear...
madrobby authored
759 * Test library fixes: make rake dist work on Windows, only teardown if a browser is supported. Closes #8463, #8498. [Mislav Marohnić, grant]
760
d4d4fdd @madrobby Prototype: Change Element.insert syntax to allow multiple positions.
madrobby authored
761 * Change Element.insert syntax to allow multiple positions. [Thomas Fuchs]
762 Examples:
763 Element.insert('foo', {top:'bar', bottom:'baz'});
764 $('foo').insert({after: new Element('p').update('bar')});
765 Element.insert('foo', new Element('p').update('bar')); // defaults to bottom
766 Element.insert('foo', 'bar'); // defaults to bottom
767
4cafec8 @madrobby Prototype: String.prototype.truncate now explicitly converts its return ...
madrobby authored
768 * String.prototype.truncate now explicitly converts its return value into a string if no truncation takes place. This prevents possible issues with methods expecting input data that is typeof == 'string'. [Thomas Fuchs, Tobie Langel, Sam Stephenson]
769
b61bca1 @sstephenson prototype: Event.findElement behaves as expected when the element passed...
authored
770 * Event.findElement behaves as expected when the element passed matches the given selector. Closes #8395. [Mislav Marohnić, Tobie Langel]
771
f099e67 @madrobby Element.setOpacity now calls removeAttribute on the filter style on IE i...
madrobby authored
772 * Element.setOpacity now calls removeAttribute on the filter style on IE if no more filters remain, which makes Cleartype work properly. Closes #8376. [alexdemi, Thomas Fuchs]
773
55b658a @sstephenson prototype: Event.findElement now uses Element#up (and as a result can ta...
authored
774 * Event.findElement now uses Element#up (and as a result can take a CSS selector instead of just a tag name). [Tobie Langel]
775
a8a19eb @sstephenson prototype: Minor cleanup of the position methods
authored
776 * Minor cleanup of the position methods [sam]
777
7d2ae29 @sstephenson prototype: Fix Element#clonePosition to call Element#viewportOffset. Cl...
authored
778 * Fix Element#clonePosition to call viewportOffset. Closes #8372. [graemenelson, Christophe Porteneuve]
779
beeb12e @sstephenson prototype: Prevent an error being thrown by $$ when #id does not exist i...
authored
780 * Prevent an error being thrown by $$ when #id does not exist in $$("div #id"). Closes #8325. [Tobie Langel, ecke]
781
a7a0edd @madrobby Make Prototype.ScriptFragment behave when including Prototype inline.
madrobby authored
782 * Make Prototype.ScriptFragment behave when including Prototype inline. [Christophe Porteneuve]
783
5e356c3 @sstephenson prototype: Update CHANGELOG
authored
784 * Deprecate Position (kept for backwards compatibility). Add Element#cumulativeOffset, Element#positionedOffset, Element#absolutize, Element#relativize, Element#cumulativeScrollOffset, Element#getOffsetParent, Element#viewportOffset and Element#clonePosition. [Christophe Porteneuve]
785
83b4b33 @sstephenson Merge -r6634:HEAD from ../branches/dom.
authored
786 * Make Element#update and Element#insert work for SELECT tags in IE and Opera. [Tobie Langel]
787
788 * Make Element#insert and Element#update better handle TABLE related elements in IE and Opera. Closes #7776, #8040, #7550, #7776, #7938. [Tobie Langel]
789
790 * Make Element#readAttribute('title') work in Opera. [Tobie Langel]
791
792 * Make Element#replace work with form elements in Firefox and Safari. Closes #8010, #7989. [dsl239, Tobie Langel]
793
794 * Add Element#wrap which wraps the element inside a new one. Closes #5732. [P. Vande, Tobie Langel]
795
796 * Make Element into a constructor: new Element(tagName, attributes). Add Element#writeAttribute which accepts a hash of attributes or a name/value pair. Closes #7476. [Mislav Marohnić, haraldmartin, Tobie Langel]
797
93c43b9 @sstephenson prototype: Update CHANGELOG to reflect preferred capitalization for Elem...
authored
798 * Insertion overhaul: Add Element.insert(content[, position = 'bottom']). Deprecate Insertion (kept for backwards compatibility). Make Ajax.Updater option.insertion accept both Insertion.Top or the now preferred 'top'. Closes #7907. [Tobie Langel]
83b4b33 @sstephenson Merge -r6634:HEAD from ../branches/dom.
authored
799
67a4d00 @sstephenson prototype: Refactor Element.extend and eliminate Element.extend.cache.
authored
800 * Refactor Element.extend and eliminate Element.extend.cache. [sam]
801
562e61f @sstephenson prototype: Add Function#curry, Function#delay, Function#defer, and Funct...
authored
802 * Add Function#curry, Function#delay, Function#defer, and Function#wrap. Closes #8134. [Andrew Dupont, Tobie Langel, sam]
803
f457c98 @sstephenson prototype: Merge -r6639:HEAD from branches/rel_1-5-1 into trunk.
authored
804 *1.5.1* (May 1, 2007)
805
806 * Don't duplicate the event argument in Function#bindAsEventListener. Closes #6497. [wiktor]
807
808 * Fix Selector :not-clause chaining. [Andrew Dupont]
95df0a7 @sstephenson prototype: Prepare for 1.5.1 release.
authored
809
c580aea @sstephenson prototype: 1.5.1_rc4
authored
810 *1.5.1_rc4* (April 27, 2007)
1886b03 @sstephenson prototype: Fix Element#readAttribute to work with the 'type' attribute i...
authored
811
d6c7cd9 @sstephenson prototype: Fix $F breakage from [6598].
authored
812 * Fix $F breakage from [6598]. [sam]
813
8a382ff @sstephenson prototype: Set window.$continue to an Error with a helpful message for a...
authored
814 * Set window.$continue to an Error with a helpful message for anyone who may still be using "throw $continue". [sam]
815
310b3ec @sstephenson prototype: Fix jstest.rb IE support so you don't have to close the IE wi...
authored
816 * Fix jstest.rb IE support so you don't have to close the IE window after each test (yay!). Closes #8207. [Ryan Schuft]
817
b360a93 @sstephenson prototype: Fix jstest.rb Konqueror support. Closes #7140.
authored
818 * Fix jstest.rb Konqueror support. Closes #7140. [Christophe Porteneuve]
819
b76d34e @sstephenson prototype: Fix regression in which no-argument calls to Element.addMetho...
authored
820 * Fix regression in which no-argument calls to Element.addMethods() would not add the methods defined in Form.Methods and Form.Element.Methods. Closes #8206. [Tobie Langel, fwittekind]
821
1886b03 @sstephenson prototype: Fix Element#readAttribute to work with the 'type' attribute i...
authored
822 * Fix Element#readAttribute to work with the 'type' attribute in IE. Closes #8160. [Tobie Langel, Wiktor Ihárosi]
823
824 *1.5.1_rc3* (April 24, 2007)
fc91a3e @madrobby Fix an issue with String.prototype.endsWith. Closes #7822. [altblue]
madrobby authored
825
47bfeb5 @sstephenson prototype: Add Element#childElements as an alias for Element#immediateDe...
authored
826 * Add Element#childElements as an alias for Element#immediateDescendants. [Tobie Langel]
827
5784d78 @sstephenson prototype: Add Element#firstDescendant to retrieve the first non-text ch...
authored
828 * Optimize DOM navigation methods (Element#up, Element#down, Element#previous, Element#next) for no-argument calls. Closes #7848. [haraldmartin, sam]
829
830 * Add Element#firstDescendant to retrieve the first non-text child node of an element. [sam]
831
63342b9 @sstephenson prototype: Element.addMethods should add methods to Element as well as E...
authored
832 * Element.addMethods should add methods to Element as well as Element.Methods. Closes #7888. [Andrew Dupont]
833
7a324b8 @sstephenson prototype: Add support for per-request onCreate callbacks to Ajax.Reques...
authored
834 * Add support for per-request onCreate callbacks to Ajax.Request. Closes #8011. [Andrew Dupont]
835
4174060 @sstephenson prototype: Don't call evalResponse() when an Ajax response has no Conten...
authored
836 * Don't call evalResponse() when an Ajax response has no Content-type header. Closes #7827. [Tobie Langel]
837
fea6bc1 @sstephenson prototype: Automatically strip security delimiter comments from JSON str...
authored
838 * Automatically strip security delimiter comments from JSON strings before evaling them. The default delimiter is '/*-secure- ... */' or you can specify your own with the Prototype.JSONFilter regular expression. If you wrap your JSON response bodies in this delimiter on the server side, rogue external sites can't hijack potentially sensitive data via <script> tags. Closes #7910. [Tobie Langel]
839 For more details on potential security problems, see: http://www.fortifysoftware.com/servlet/downloads/public/JavaScript_Hijacking.pdf
840
643b7be @sstephenson prototype: Add extra spacing so Array#toJSON and Hash#toJSON generate YA...
authored
841 * Add extra spacing so Array#toJSON and Hash#toJSON generate YAML-loadable JSON. Closes #7883. [Andrew Dupont]
842
95ac141 @madrobby Fix Form.request for forms containing an input element with name="action...
madrobby authored
843 * Fix Form.request for forms containing an input element with name="action". Closes #8063. [Thomas Fuchs, Mislav Marohnić]
844
845 * Make Event.element extend the returned element. Closes #7870. [Thomas Fuchs]
846
68f3b21 @madrobby Fix a CHANGELOG typo
madrobby authored
847 * Prevent a crash on Safari on String.prototype.stripScripts and extractScripts with large <script> tags. [Thomas Fuchs]
4c90be6 @madrobby Prevent a crash on Safari on String.prototype.stripScripts and extractSc...
madrobby authored
848
c0509c7 @madrobby Prototype: clean (un)escapeHTML IE special casing and optimize speed for...
madrobby authored
849 * Prevent linefeed normalisation in String.prototype.escapeHTML and unescapeHTML on IE for consistency with other browsers. Speed optimizations for Safari and IE. [Thomas Fuchs]
9a7dcd5 @madrobby Prevent linefeed normalisation in String.prototype.escapeHTML and unesca...
madrobby authored
850
5f2acb4 @madrobby Make Hash.toQueryString serialize undefined values. Ensure consistency w...
madrobby authored
851 * Make Hash.toQueryString serialize undefined values. Ensure consistency with String.prototype.toQueryParams. Closes #7806. [Mislav Marohnić]
852 Examples:
853 $H({a:'b',c:undefined}).toQueryString() -> 'a=b&c'
854 $H({a:'b',c:null}).toQueryString() -> 'a=b&c='
855 $H('a=b&c'.toQueryParams()).toQueryString() -> 'a=b&c'
856 $H('a=b&c='.toQueryParams()).toQueryString() -> 'a=b&c='
857
4506db2 @madrobby Fix Selector issues with :not and attribute selector double quotes, fixe...
madrobby authored
858 * Fix issues with Selector an+b logic, :not support, attribute selector double quotes, plus performance improvements. Closes #7873, #7901. [Andrew Dupont]
779cd33 @madrobby Fix issues with Selector an+b logic, performance improvements. Closes #...
madrobby authored
859
db2ee67 @madrobby Fix Form.disable to work again on non-form elements. Closes #6887. [Mi...
madrobby authored
860 * Fix Form.disable to work again on non-form elements. Closes #6887. [Mislav Marohnić]
861
fc91a3e @madrobby Fix an issue with String.prototype.endsWith. Closes #7822. [altblue]
madrobby authored
862 * Fix an issue with String.prototype.endsWith. Closes #7822. [altblue]
863
63985a2 @sstephenson prototype: 1.5.1_rc2
authored
864 *1.5.1_rc2* (March 12, 2007)
881b7dc @madrobby Prototype: Fix Element.Methods.descendants() to properly extend elements...
madrobby authored
865
cb1ad0e @sstephenson prototype: Add a tab character via innerHTML to the selector whitespace ...
authored
866 * Add a tab character via innerHTML to the selector whitespace test. [Christophe Porteneuve]
867
868 * Add an attribution to YUI-Ext's DomQuery in selector.js.
869
d17521f @madrobby Missed ticket #
madrobby authored
870 * Make Element.extend work on IE for Nodes with the same ID that where discarded. Closes #7497. [Mislav Marohnić, Thomas Fuchs]
e9501d6 @madrobby Make Element.extend work on IE for Nodes with the same ID that where dis...
madrobby authored
871
b2845e4 @madrobby Prototype: Make Selector correctly extend the first element it returns o...
madrobby authored
872 * Make Selector correctly extend the first element it returns on IE. [Thomas Fuchs]
873
a6984e6 @madrobby Prevent a crash in Safari when using $A() on NodeList objects that conta...
madrobby authored
874 * Prevent a crash in Safari when using $A() on NodeList objects that contain text nodes. [Thomas Fuchs]
875
881b7dc @madrobby Prototype: Fix Element.Methods.descendants() to properly extend elements...
madrobby authored
876 * Fix Element.Methods.descendants() to properly extend elements on IE. [Thomas Fuchs]
877
811fb86 @sstephenson prototype: 1.5.1_rc1: Fix readAttribute for IE7.
authored
878 *1.5.1_rc1* (March 9, 2007)
879
880 * Fix readAttribute for IE7. [Andrew Dupont]
881
94cfdd3 @sstephenson prototype: 1.5.1_rc0
authored
882 *1.5.1_rc0* (March 8, 2007)
ce639c2 @sstephenson prototype: Update HEADER to reflect new URL.
authored
883
00bce41 @sstephenson prototype: Merge the selector branch into trunk, bringing vast performan...
authored
884 * Merge the selector branch into trunk, bringing vast performance improvements, bug fixes, and near-complete CSS3 compliance to $$ and Selector. Closes #7568. [Andrew Dupont]
885 Selector speed test: http://andrewdupont.net/test/double-dollar/
886
f160bc4 @sstephenson prototype: Add support for JSON encoding and decoding. Closes #7427.
authored
887 * Add support for JSON encoding and decoding. Closes #7427. [Tobie Langel]
888
f281192 @sstephenson prototype: Fix double escaping of query parameters in Hash.prototype.toQ...
authored
889 * Fix double escaping of query parameters in Hash.prototype.toQueryString, and prevent Safari from iterating over shadowed properties when creating hashes. Closes #7421. [Tobie Langel, Mislav Marohnić]
890
752eebd @madrobby Prototype: Fix simulated attribute reading for IE for "href", "src" and ...
madrobby authored
891 * Fix simulated attribute reading for IE for "href", "src" and boolean attributes. [Mislav Marohnić, Thomas Fuchs]
892
a9ec091 @madrobby Prototype: Form.Element.disable() will now call blur(), removed blur() c...
madrobby authored
893 * Form.Element.disable() will now call blur(), removed blur() call from Form.Element.enable(). Closes #6034. [tdd]
894
fcc23f0 @madrobby Optimize document.getElementsByClassName and finalize DOM performance op...
madrobby authored
895 * Optimize document.getElementsByClassName and finalize DOM performance optimization refactoring. Closes #6696. [Mislav Marohnić]
896
897 * Fix an issue with serializing empty array inputs. Closes #7516. [stakadush, Mislav Marohnić]
ebd3351 @madrobby Fix an issue with serializing empty array inputs, fixes #7516, merges [6...
madrobby authored
898
899 * Add optional third parameter "camelized" to Element.setStyle, for optimized performance if style names are known to be camelCased. [Thomas Fuchs]
aa7ba0d @madrobby Prototype: Add optional third parameter "camlized" to Element.setStyle, ...
madrobby authored
900
94d8333 @sstephenson prototype: Fix a bug in the simulated hasAttribute for IE due to getAttr...
authored
901 * Fix a bug in the simulated hasAttribute for IE due to getAttributeNode sometimes returning null. [sam]
902
60bb068 @madrobby Prototype: Optimize Element.getStyle and add new Element.getOpacity meth...
madrobby authored
903 * Optimize Element.getStyle and add new Element.getOpacity method. Special case IE and Opera getStyle methods. Closes #7648. [Tobie Langel, Thomas Fuchs]
904
80f6f40 @madrobby Prototype: Optimize Element.setStyle and add new Element.setOpacity meth...
madrobby authored
905 * Optimize Element.setStyle and add new Element.setOpacity method, special case IE and Gecko opacity methods. Closes #7585. [savetheclocktower]
906
d148193 @madrobby Prototype: Add unified Browser detection by providing Prototype.Browser....
madrobby authored
907 * Add unified Browser detection by providing Prototype.Browser.(IE|Gecko|WebKit|Opera) booleans. Closes #6800. [savetheclocktower]
908
5224f0f @madrobby Prototype: Add String.prototype.empty and String.prototype.blank (tests ...
madrobby authored
909 * Add String.prototype.empty and String.prototype.blank (tests if empty or whitespace-only). Closes #7016. [Jonathan Viney, Thomas Fuchs]
910
ab59de3 @madrobby Prototype: Update README to reflect new URLs, update LICENSE copyright y...
madrobby authored
911 * Update README to reflect new URLs, update LICENSE copyright years. Closes #7426. [Tobie Langel]
912
6eca3f0 @sstephenson prototype: Array.prototype.uniq optimization. Closes #7417.
authored
913 * Array.prototype.uniq optimization. Closes #7417. [Christophe Porteneuve]
914
74596ac @sstephenson prototype: String.prototype.endsWith should not fail on multiple occurre...
authored
915 * String.prototype.endsWith should not fail on multiple occurrences. Closes #7416. [Christophe Porteneuve]
916
343eae8 @sstephenson prototype: Add Form.Methods.request as a convenience method for serializ...
authored
917 * Add Form.Methods.request as a convenience method for serializing and submitting a form via Ajax.Request to the URL in the form's action attribute. [sam]
918
919 Options passed to request() are intelligently merged with the underlying Ajax.Request options:
920 - If the form has a method attribute, its value is used for the Ajax.Request method option. If a method option is passed to request(), it takes precedence over the form's method attribute. If neither is specified, method defaults to "post".
921 - Key/value pairs specified in the parameters option (either as a query string or as a hash) will be merged with (and take precedence over) the serialized form parameters.
922
7044da8 @sstephenson prototype: Fix $(form).serialize() in Safari and add support for extendi...
authored
923 * Fix $(form).serialize() in Safari and add support for extending specific tags to Element.addMethods. Closes #7358. [Andrew Dupont]
924
5345085 @sstephenson prototype: Add String.prototype.startsWith, String.prototype.endsWith, a...
authored
925 * Add String.prototype.startsWith, String.prototype.endsWith, and String.prototype.include. Closes #7075. [Tobie Langel]
926
c556c89 @sstephenson prototype: Improve performance of String.prototype.escapeHTML by using a...
authored
927 * Improve performance of String.prototype.escapeHTML by using a cached div and text node. Closes #6937. [altblue]
928
8ea007d @madrobby Prototype: Make setStyle() with opacity: 0 in Internet Explorer work cor...
madrobby authored
929 * Make setStyle() with opacity: 0 in Internet Explorer work correctly. [Thomas Fuchs]
930
8490189 @sstephenson prototype: Form.Element.activate shouldn't raise an exception when the f...
authored
931 * Form.Element.activate shouldn't raise an exception when the form or field is hidden. [sam]
932
c89875c @sstephenson prototype: Remove support for "throw $continue" in Enumerable. Use "ret...
authored
933 * Remove support for "throw $continue" in Enumerable. Use "return" instead. [sam]
934
ce639c2 @sstephenson prototype: Update HEADER to reflect new URL.
authored
935 * Update HEADER to reflect new URL. [sam]
936
3c89b25 @sstephenson prototype: Add release date to CHANGELOG
authored
937 *1.5.0* (January 18, 2007)
bb4d189 @sstephenson prototype: Reorganize the source tree.
authored
938
939 * Add test to ensure Content-type header is set for simulated verbs. [sam]
940
941 * Fix Content-Type header for HTTP methods simulated with POST not defaulting to application/x-www-form-urlencoded. [Thomas Fuchs]
942
943 * Simplify form serialization and add support for fields with the same name as Hash methods. Closes #6649. [Mislav Marohnić]
944
945 * Fix attribute selectors for IE. Closes #5170. [Tobie Langel, Andrew Dupont]
946
947 * A slew of dom.js improvements. Closes #4217, #6589, #7001. [Tobie]
948 - Fix Element.getDimensions() for hidden elements, make Element.getHeight() use .getDimensions()
949 - Add Element.getWidth()
950 - Make Element.replace() call .toString() on the html argument (alike .update())
951 - Fix an issue with Element.get/setStyle() and Safari with 'float'
952 - Add a bunch of missing unit tests
953
954 * Fix an issue with Element.setStyle({opacity:''}) setting the opacity to 0 instead of removing the set inline opacity style. [Thomas Fuchs]
955
956 * Ensure Ajax.Request's evalResponse is called before onComplete so that onComplete can reference any elements created during the response. Closes #6727. [jonathan]
957
958 * Ensure the WEBrick test runner sets the correct Content-Type for tests and fixtures. [sam]
959
960 * Form.serialize once again works with non-form elements. This is a temporary change to prevent the Rails link_to_remote regression described in #6898. Prototype 1.5.1 will introduce an API for working with collections of arbitrary form elements. References #6887. Closes #6898. [sam]
961
962 * Make selectors match forms that have an element with name="id" correctly, fixes #5759 [mislav]
963
964 * Remove support for HTTP authorization in Ajax calls introduced with #6366. Closes #6638 [jmecham]
965
966 * Add Enumerable.size() to count elements in an enumerable and the corresponding Array.size() method, fixes #6710 [ZenCocoon]
967
968 * Add String.succ() method to allow for String ranges, fixes #6037 [Cory Hudson, mislav]
969 Examples:
970 'abcd'.succ(); -> 'abce'
971 $R('a','d').map(function(char){ return char; }); -> ['a','b','c','d']
972
973 * Make Element.scrollTo() correctly consider offsets of parent DOM nodes, fixes #6625 [ohader, savetheclocktower]
974
975 * Fix Enumerable.inGroupsOf() to correctly work with fill values that evaluate to false, fixes #6782 [hawk]
976
977 * Remove/cleanup redundant $() calls in dom.js, fixes #6817 [Tobie]
978
979 * Don't cache files in automatic unit tests, fixes #6218 [voidlock]
980
981 * Add $w() to easily create arrays from strings like Ruby's %w, fixes #5682 [glazedginger, brendon.aaron]
982
983 * Add Element.toggleClassName() to toggle CSS classes on elements, fixes #6759 [Tobie]
984
985 * Make Form.getInputs always return an array for consistency, fixes #6475 [Justin Gehtland, savetheclocktower]
986
987 * Make TimedObserver work correctly for SELECT MULTIPLE elements, fixes #6593 [clemos, tdd]
988
989 * Fix Template.prototype.evaluate to correctly interpret 0 and false values, add String.interpret() for safely interpreting and converting values to strings, fixes #6675 [hawk]
990
991 * Make Element.getStyle() work with camelCased argument, fixes #6686 [Tobie]
992
993 * Fix a redundant check in Array.prototype.compact, fixes #4739 [wlodarcz, mislav]
994
995 * Fix $() to correctly pass back the results of document.getElementById(), notably returning "null" on elements not found, fixes #6582 [adsmart]
996
997 * Change/add assertNull, assertUndefined, assertNullOrUndefined and not-* variants in unittest.js, fixes #6582 [adsmart]
998
999 * Cleanup String.prototype.camelize, fix an issue with String.prototype.underscore, fixes #4714, #6685 [Tobie, Thomas Fuchs]
1000
1001 * Add String.prototype.capitalize, which returns a string with the first character in upper case, fixes #6666 [Tobie]
1002
1003 * Make Element.getStyle() and Element.setStyle() handle the CSS 'opacity' property transparently in IE, fixes #6093 [brandon.aaron, Tobie]
1004
1005 * Fix handling of CSS 'float' property for Element.getStyle() and Element.setStyle(), fixes #4160 [Thomas Fuchs, ericf]
1006
1007 * Fix that onComplete would be called twice with synchronous Ajax requests on Safari (provides units tests for #5756) [Thomas Fuchs]
1008
1009 * Fix Form.Field.activate to not select text on buttons in IE, fixes #2653 [sutch, mislav, Thomas Fuchs]
1010
1011 * Fix String.unescapeHTML() on Firefox for strings that are longer than 2048 bytes, fixes #5789 [Paul Moers, Thomas Fuchs]
1012
1013 * Redefine Array.prototype.concat for Opera, as the native implemenation doesn't work correctly [Thomas Fuchs]
1014
1015 * Add unit tests for Function.prototype.bind() [Thomas Fuchs]
1016
1017 * Add String.prototype.underscore and String.prototype.dasherize [Thomas Fuchs]
1018 Examples:
1019 'Hello_World'.dasherize() -> 'Hello-World'
1020 'borderBottomWidth'.underscore() -> 'border_bottom_width'
1021 'borderBottomWidth'.underscore().dasherize() -> 'border-bottom-width'
1022
1023 *1.5.0_rc2* (November 11, 2006)
1024
1025 * Ensure that existing DOM properties take precedence over extended element methods in all browsers. Closes #5115. [Sean Kleinjung, sam]
1026
1027 * Add Element.Methods.readAttribute as a simple wrapper around getAttribute (which isn't a "real" function and doesn't have .apply or .call in Safari and IE). Useful in conjunction with Enumerable.invoke for extracting the values of a custom attribute from a collection of elements. [sam]
1028 Example:
1029 <div id="widgets">
1030 <div class="widget" widget_id="7">...</div>
1031 <div class="widget" widget_id="8">...</div>
1032 <div class="widget" widget_id="9">...</div>
1033 </div>
1034
1035 $$('div.widget').invoke('readAttribute', 'widget_id')
1036 // ["7", "8", "9"]
1037
1038 * Add Element.Methods.immediateDescendants, like $A($(element).childNodes) but without text nodes. [sam]
1039
1040 * More consistency. Closes #6573. [Bob Silva]
1041
1042 * String.prototype.toQueryParams and Hash.prototype.toQueryString now properly serialize arrays as multiple values. Closes #4436. [mislav, altblue, L`OcuS]
1043
1044 * Fix Form.serialize for options with empty values. Closes #5033. [tdd, Thomas Fuchs, sam]
1045
1046 * Add Element.Methods.Simulated for simulating HTMLElement methods in lesser browsers. Add hasAttribute as the first simulated method. [tdd, Thomas Fuchs, sam]
1047
1048 * Add a "retry with throw" button for test error messages. [sam]
1049
1050 * rake test now runs test/unit/*.html by default. Additionally, you can specify individual tests to run with the TESTS environment variable, and you can restrict the tests to particular browsers using the BROWSERS environment variable. [sam]
1051
1052 Examples:
1053 % BROWSERS=safari,firefox rake test
1054 % TESTS=dom rake test
1055
1056 * Element.hasClassName now bypasses the Element.ClassNames API for performance. [sam]
1057
1058 * Pick some low-hanging performance and DRYness fruit. [sam]
1059 - Inline length property accesses in for loops
1060 - Enumerable-ize for loops where it makes sense
1061 - Make better use of Element.Methods and Form.Methods/Form.Element.Methods
1062
1063 * A slew of Ajax improvements. Closes #6366. [mislav, sam]
1064
1065 Public-facing changes include:
1066 - HTTP method can be specified in either lowercase or uppercase, and uppercase is always used when opening the XHR connection
1067 - Added 'encoding' option (for POST) with a default of 'UTF-8'
1068 - Ajax.Request now recognizes all the JavaScript MIME types we're aware of
1069 - PUT body support with the 'postBody' option
1070 - HTTP authentication support with the 'username' and 'password' options
1071 - Query parameters can be passed as a string or as a hash
1072 - Fixed both String.toQueryParams and Hash.toQueryString when handling empty values
1073 - Request headers can now be specified as a hash with the 'requestHeaders' option
1074
1075 * Improve performance of the common case where $ is called with a single argument. Closes #6347. [sam, rvermillion, mislav]
1076
1077 * Fix Object.inspect to correctly distinguish between null and undefined, fixes #5941 [tdd, mislav]
1078
1079 * Don't serialize disabled form elements, fixes #4586 [tdd]
1080
1081 * Make HTML element classes extension mechanism for Safari not throw errors on WebKit beta versions [Thomas Fuchs]
1082
1083 * Add support for using Element.update() with no or a non-string parameter [Thomas Fuchs]
1084
1085 Example:
1086 $('empty_me').update() -> clears the element
1087 $('easy_as').update(123) -> set element content to '123'
1088
1089 * Add unit tests for hashes, fixes #6344 [Tobie Langel]
1090
1091 * Add clone() method to arrays, fixes #6338 [Tobie Langel]
1092
1093 * Backing out of [5194] (Element.clear) because of issues with IE on certain elements, #6051
1094
1095 * Add Element.clear for easily emptying out elements, fixes #6051 [brandon.aaron@gmail.com]
1096
1097 * Enumerable.each now returns the enumerable to allow for method chaining, fixes #6250 [eventualbuddha]
1098
1099 * Make makeClipping and undoClipping always return their element to stay chainable
1100
1101 * Fix an issue with certain Element chain calls not correctly extending elements with Prototype element methods on IE [Thomas Fuchs]
1102
1103 * Add Enumerable.eachSlice and Enumerable.inGroupsOf, fixes #6046 [rails@tddsworld.com, Thomas Fuchs]
1104
1105 Example:
1106 [1,2,3,4,5].inGroupsOf(3) -> [[1,2,3],[4,5,null]]
1107 [1,2,3].inGroupsOf(4,'x') -> [[1,2,3,'x']]
1108
1109 * Complete unit tests for array.js and string.js [Thomas Fuchs]
1110
1111 * Performance improvements for document.getElementsByClassName, including querying with XPath in supported browsers. [Andrew Dupont]
1112
1113 * Make Form.getElements() return elements in the correct order, fix broken Form.serialize return, fixes #4249, #6172 [lars@pinds.com, Thomas Fuchs, john]
1114
1115 * Add various DOM unit tests, fixes #6176, #6177 [tdd]
1116
1117 * Split Form.serialize into Form.serialize and Form.serializeElements. The latter can be used stand-alone to serialize an array of elements you pass in, instead of the entire form [DHH]
1118
1119 * Form.Element.disable() and .enable() will now work correctly, fixes #6034 [dresselm@businesslogic.com]
1120
1121 * Fix IE and Safari issues with Position.positionedOffset, add position.html unit tests, fixes #5621 [renggli@iam.unibe.ch]
1122
1123 * Fix an issue with Element.undoClipping and IE [Thomas Fuchs]
1124
1125 * Element.cleanWhitespace now correctly removes consecutive empty text nodes, fixes #3209 [livier.duroselle@gmail.com]
1126
1127 * Element.extend now does not try to extend text nodes, fixes #4642 [siegfried.puchbauer@gmail.com]
1128
1129 *1.5.0_rc1* (September 4, 2006)
1130
1131 * bindAsEventListener now passes along any provided arguments after the event argument. Closes #5508. [todd.fisher@revolution.com]
1132
1133 * Fix makeClipping and undoClipping with local overflow style values other than visible and hidden, fixes #3672 [Thomas Fuchs]
1134
1135 * Add Element.up, Element.down, Element.previous, and Element.next for easily traversing the DOM. (Inspired by Thomas Fuchs' original implementation of Element.up: http://pastie.caboo.se/7702) [sam]
1136
1137 Examples:
1138 <div id="sidebar"> -> $('nav').up() or $('menu').up('div')
1139 <ul id="nav"> -> $('sidebar').down() or $('sidebar').down('ul') or $('menu').previous()
1140 <li>...</li> -> $('sidebar').down(1) or $('sidebar').down('li')
1141 <li>...</li> -> $('sidebar').down(2) or $('sidebar').down('li', 2) or $('sidebar').down('li').next('li')
1142 <li class="selected">...</li> -> $('sidebar').down('li.selected')
1143 </ul>
1144 <ul id="menu"> -> $('sidebar').down('ul').next()
1145 ...
1146
1147 * Refactor $$ and Element.getElementsBySelector into Selector.findChildElements. [sam]
1148
1149 * Add Element.match, which takes a single CSS selector expression and returns true if it matches the element. [sam]
1150
1151 * Add Element.ancestors, Element.descendants, Element.previousSiblings, Element.nextSiblings, and Element.siblings. [sam]
1152
1153 * Add Element.inspect for better DOM debugging. [sam]
1154
1155 * Add an optional boolean argument to String.prototype.inspect which, when true, makes the string double-quoted instead of single-quoted. [sam]
1156
1157 * Add the uniq() method to Arrays, which returns a new Array with duplicates removed, fixes #3810 [secondlife]
1158
1159 * Add stop() method to PeriodicalExecutor, fixes #4801 [Jon Evans]
1160
1161 * Fix issues with Enumerable.any, ObjectRange.toArray, added unit tests, fixes #4419 [miyamuko, Thomas Fuchs]
1162
1163 * Fix two instances of unneccesarily redeclared variables, fixes #5229 [Thomas Fuchs]
1164
1165 * Fix a loop in Element.extend to properly use local variable, fixes #5128 [arrix]
1166
1167 * Add constants for additional keys in Event, fixes #5411, #5795 [simone_b]
1168
1169 * Workaround a DOM API bug in Opera in Position.page(), fixes #2407, #5848 [Thomas Fuchs]
1170
1171 * Remove duplicate definition of Position.clone(), fixes #3765 [Thomas Fuchs]
1172
1173 * Make destructive Element, Form, and Form.Element methods return their first argument, so that multiple calls can be chained together. [sam]
1174
1175 ex. $("sidebar").addClassName("selected").show();
1176
1177 The following methods now return their first argument: Element.toggle, Element.hide, Element.show, Element.remove, Element.update, Element.replace, Element.addClassName, Element.removeClassName, Element.observe, Element.stopObserving, Element.cleanWhitespace, Element.scrollTo, Element.setStyle, Element.makePositioned, Element.undoPositioned, Element.makeClipping, Element.undoClipping, Form.reset, Form.disable, Form.enable, Form.focusFirstElement, Form.Element.focus, Form.Element.select, Form.Element.clear, Form.Element.activate, Form.Element.disable, Form.Element.enable.
1178
1179 * For consistency, Element.toggle, Element.show, Element.hide, Field.clear, and Field.present no longer take an arbitrary number of arguments. [sam]
1180
1181 !! BACKWARDS COMPATIBILITY CHANGE !!
1182
1183 If you have code that looks like this:
1184 Element.show('page', 'sidebar', 'content');
1185 You need to replace it with code like this:
1186 ['page', 'sidebar', 'content'].each(Element.show);
1187
1188 * Mix in Form and Form.Element methods to forms and form field elements with $() and $$(). Closes #4448. [Dan Webb, sam]
1189
1190 * Add Object.clone [sam]
1191
1192 * Add Form.Element.disable and Form.Element.enable. Closes #4943. [jan@prima.de]
1193
1194 * Field is now simply an alias for Form.Element. [sam]
1195
1196 * Add Element.Methods.getElementsByClassName and Element.Methods.getElementsBySelector. Closes #4669. [Andrew Dupont, DHH, sam]
1197
1198 * Avoid race condition when stopping an Ajax.PeriodicalUpdater. Closes #4809. [e98cuenc@gmail.com]
1199
1200 * Improve support for synchronous requests. Closes #5916. [sam, jthrom@gmail.com]
1201
1202 * Add serialization and observation support for input type=search. Closes #4096. [rpnielsen@gmail.com]
1203
1204 * Properly decode query components in String.prototype.toQueryParams. Closes #3487. [sam]
1205
1206 * Add Array.prototype.reduce [sam]:
1207 [1, 2].reduce() // [1, 2]
1208 [1].reduce() // 1
1209 [].reduce() // undefined
1210
1211 * Add Object.keys and Object.values [sam]
1212
1213 * Simulate non-GET/POST requests by POSTing with a _method parameter set to the actual verb [DHH]
1214
1215 * Make Element.update() handle TABLE-related elements with the DOM API because of IE's missing .innerHTML property on them [Thomas Fuchs, thx to Rick Olson]
1216
1217 * Sync to script.aculo.us unittest.js library as of 2006/08/29 [Thomas Fuchs]
1218
1219 * Add additional unit tests to test/unit/dom.html for testing Element.update and $().update in various enviroments [Thomas Fuchs]
1220
1221 * Prevent possible exceptions on unloading the page in IE [Thomas Fuchs]
1222
1223 *1.5.0_rc0* (April 5, 2006)
1224
1225 * Modify HTMLElement.prototype and short-circuit Element.extend where possible. Closes #4477. [Thomas Fuchs]
1226
1227 * Only observe window.onunload in IE for Mozilla bfcache support. Closes #3726. [Mike A. Owens]
1228
1229 * Don't redefine Array.prototype.shift. Closes #4138. [leeo]
1230
1231 * Prevent redefining Array.prototype.reverse more than once. Closes #3951. [brettdgibson@gmail.com]
1232
1233 * Fix Enumerable.min/Enumerable.max to recognize the value 0. Closes #3847, #4190. [rubyonrails@brainsick.com, Martin Bialasinski]
1234
1235 * Change Ajax.getTransport to prefer XMLHttpRequest in anticipation of IE 7. Closes #3688. [jschrab@malicstower.org, sam]
1236
1237 * Make Array.prototype.flatten more robust. Closes #3453. [Martin Bialasinski, sam]
1238
1239 * Fix evalScripts from crashing Firefox if script includes 'var'. Closes #3288, #4165. [rahul@ntag.com, sam]
1240
1241 * Scope iterators locally. Closes #4589. [sam]
1242
1243 * Support Insertion.Before/Insertion.After for <tr> elements in IE. Closes #3925. [rails-venkatp@sneakemail.com]
1244
1245 * Add a contentType option for overriding application/x-www-form-urlencoded in Ajax.Request. Closes #3564. [avif@arc90.com, sam]
1246
1247 * Surround values in the X-JSON header in parenthesis for better compatibility with Firefox. Closes #4118. [bigsmoke@gmail.com]
1248
1249 * Fix Form.serialize to properly encode option values in multiple selects in IE. Closes #3291. [rubyonrails@brainsick.com]
1250
1251 * Cache methods added to DOM elements with Element.extend to prevent memory leaks in IE. Closes #4465. [jaen@laborint.com, sam]
1252
1253 * 1.5.0_pre1* (March 26, 2006)
1254
1255 * Add attribute selector support for Selector (and $$). Closes #4368. [devslashnull@gmail.com]
1256 Example:
1257 $$('form#foo input[type=text]').each(function(input) {
1258 input.setStyle({color: 'red'});
1259 });
1260
1261 * Send Accept header containing 'text/javascript, text/html, application/xml, text/xml */*'' to inform Rails that we prefer RJS, but we'll take HTML or XML or whatever if you can't deliver the goods [DHH]
1262
1263 * Make $$ work in IE. Closes #3715. [rubyonrails@brainsick.com]
1264
1265 * Add test/browser.html, which provides a simple object browser for the Prototype source (Firefox/Safari only). [sam]
1266
1267 * Add Element.extend, which mixes Element methods into a single HTML element. This means you can now write $('foo').show() instead of Element.show('foo'). $, $$ and document.getElementsByClassName automatically call Element.extend on any returned elements. [sam]
1268
1269 * Add Element.replace as a cross-browser implementation of the "outerHTML" property. References #3246. [tom@craz8.com]
1270
1271 * Fix Enumerable.zip iterator behavior. [Marcin Kaszynski, sam]
1272
1273 *1.5.0_pre0* (January 18, 2006)
1274
1275 * Add String.prototype.truncate to complement the Action View truncate helper. [sam]
1276
1277 * Add String.prototype.gsub, String.prototype.sub, and String.prototype.scan, all of which take a pattern and an iterator (or a pattern and a replacement template string in the case of gsub and sub). [sam]
1278
1279 * Add a Template class for interpolating named keys from an object in a string. [sam]
1280
1281 * Add the $$ function for finding DOM elements by simple CSS selector strings. [sam]
1282 Example: Find all <img> elements inside <p> elements with class "summary", all inside
1283 the <div> with id "page". Hide each matched <img> tag.
1284 $$('div#page p.summary img').each(Element.hide)
1285
1286 * Add a Selector class for matching elements by single CSS selector tokens. [sam]
1287
1288 * Add Test.Unit.Assertions.assertEnumEqual for comparing Enumerables in tests. [sam]
1289
1290 * Add Element.childOf(element, ancestor) which returns true when element is a child of ancestor. [sam]
1291
1292 * Fix escaping in String.prototype.inspect. [sam]
1293
1294 * Add String.prototype.strip to remove leading and trailing whitespace from a string. [sam]
1295
1296 * Move Prototype to Rails SVN. [sam]
1297 http://dev.rubyonrails.org/svn/rails/spinoffs/prototype/
1298
1299 * Make the console nicer. [sam]
1300
1301 * Prune the source tree. [sam]
Something went wrong with that request. Please try again.