Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/spinoffs/scriptaculous/CHANGELOG

Revision 2504, 20.7 kB (checked in by madrobby, 5 years ago)

script.aculo.us: V1.5_rc2 release

Line 
1 *V1.5.0_rc3*
2
3 * Make Effect position available to callbacks
4
5 * Droppables.fire: send event to onDrop callback [François Beausoleil], #2389
6
7 * InPlaceEditor: Add disabling the field while loadTextURL loads and add a class while loading, plus fix various bugs with Internet Explorer and InPlaceEditor, [Jon Tirsen] #2302, #2303
8
9 * Made Droppables.remove work again [thx Mindaugas Pelionis], #2409
10
11 * Fixed that IE6 would incorrectly render the "fix-windowed-elements-overlapping" IFRAME on autocompletion [thx tshinnic], #2403
12
13 * Fixed Element.getOpacity throwing an error on Safari in some situations (this caused the autocompleter not to work)
14
15 * Added format option to Sortable.create and Sortable.serialize to allow custom id formats. The format option takes a regular expression where the first grouping that matches is used for building the parameters. The default format is /^[^_]*_(.*)$/ which matches the string_identifier format. If you want to use the full id of the elements, use "format: /(.*)/". More examples are available in the sortable unit test file.
16
17 * Started refactorings to use the new Prototype features and general code-cleanup
18
19 * Update lib/prototype.js to Prototype 1.4.0_pre11
20
21 * Fixed a typo breaking the up arrow key for autocompletion [thx tshinnic], #2406
22
23 * Changed the handle option on Draggbles to accept classnames, or ids or elements [thx to Andrew West], #2274
24
25 * Force indicator to be hidden on hiding autocompletion update element, #2342
26
27 * Make Draggables honor external CSS positioning [thx to Mark Shawkey], #2359
28
29 * Make zindex handling for Draggables honor external CSS styles
30
31 * Fix two Sortable.serialize issues, [thx Avi, Gorou], #2339, #2357
32
33 * Make Element.getOpacity work with IE, added unit tests [thx to Greg Hill]
34
35 * Make Element.setOpacity honor non-alpha filters on IE (it now works with filters for alpha PNGs)
36
37 * Fixed that Element.class.remove wrongly deleted spaces between class names, fixes #2311, #2313
38
39 * Fixed Builder for OPTION and OPTGROUP tags on Firefox < 1.5 and Internet Explorer 6, completely fixes #2325
40
41 * Improved Builder implementation to deal with Firefox-specific requirements and innerHTML parsing, partly fixes #2325
42
43 *V1.5.0_rc2*
44
45 * Update lib/prototype.js to corrected Prototype 1.4.0_pre7 (fixed a problem with IE)
46
47 * Update lib/prototype.js to Prototype 1.4.0_pre7
48
49 * Reverted to patched version of Prototype 1.4.0_pre4 for the time being (getResponseHeader problem on Mozilla)
50
51 * Attempt to fix crashes in Safari 2.0.1, probably related to the event registering und unregistering in Draggables, possibly fixes #2310
52
53 * Update lib/prototype.js to Prototype 1.4.0_pre6
54
55 * Changed effects_test.html functional test to incoporate Firefox anti-flicker overflow:hidden CSS property
56
57 *V1.5.0_rc1*
58
59 * Prepared Rakefile and README for V1.5.0_rc1 release
60
61 * Droppables w/greedy and hoverclass are now reverted when dragged item is no longer over them, fixes #2184
62
63 * Let Effect.Highlight correctly parse IE colors, add String.prototype.parseColor() for this, fixes #2037
64
65 * Fix Effect.Highlight to restore background image only if there was one
66
67 * Made Effect.tagifyText work again on IE
68
69 * Added String.prototype.toArray because Strings aren't iterable on IE
70
71 * Fixed Element.getOpacity falsely returning 0 on IE
72
73 * Some cleaning up in util.js
74
75 * Cleaned up Effect.Opacity
76
77 * Removed useless line in Position.page
78
79 * Make scriptaculous.js work if a query strings are used when calling it
80
81 * Fixed typos in slider.js and the functional test
82
83 * Fixed a bug with Safari and the InPlaceEditor with form submission. Add support for interpreting simple <br>s into linebreaks. [Jon Tirsen]
84
85 * New Control.Slider() for horizontal and vertical sliders [Marty Haught]
86
87 * Fixed autoapplying a 'layout' on IE with Effect.Opacity not working for elements given as id string
88
89 * Make Effect.Parallel render final frames and call beforeFinish/afterFinish on included effects
90
91 * Make Element.setOpacity work correctly again (browser-specific extensions, except for IE, are disabled at this time)
92
93 * Added focusing the text field or text area created when using Ajax.InPlaceEditor #2126 [thx to Lee Mallabone]
94
95 * Fixed Element.Class.childrenWith not returning the correct elements #2120 [cmees AT rogers DOT com]
96
97 * Added MIT-LICENSE header to scriptaculous.js, cut back on license info in other libs to keep files smaller
98
99 * Fix issues with form elements inside draggables not clickable with Firefox #2129
100
101 * Fixed an error in dragdrop.js with Draggables when no Droppables are defined
102
103 * Fixed an issue with Element.makePositioned causing Effect.SlideDown to fail on Safari
104
105 * Make effects "stateless" by cleaning up element.style after finish of effect #2133 [agr30 AT uni-koeln DOT de]
106
107 * Add "internal" events to effects, to make them more easily extendable [Martin Bialasinski]
108
109 * Set container element height to auto on finishing Effect.BlindDown und Effect.SlideDown #2123 [Tony Arnold]
110
111 * Fixed a weird char in dragdrop.js
112
113 * Controls.js Autocompleter.Base.updateElement() hook #2116 [Rob Wills]
114
115 * Refactoring to use the Prototype enumerable extensions
116
117 * Update to Prototype 1.4.0_pre4
118
119 *V1.5.0_pre4*
120
121 * Added a queue option to effects for easy stacking and simple timeline building. Valid values are "front", "end" and "parallel" (default), see for test/functional/effects_queue_test.html for usage
122
123 * Added a setup function to the core effects that gets called by Effect.Base when first entering into running state, which allows them to query the current state of an element or other page properties when queuing and/or delays are used
124
125 * Added a state instance variable to Effect.Base that indicates whether a effect that uses the queue is idle, running or finished
126
127 * Fixed a flicker with Effect.Puff
128
129 * General code cleaning to get rid of (legitimate) Mozilla strict javascript warnings
130
131 * Changes to assertVisible in unittest.js
132
133 * Slight refactoring of Effect.Text, now known as Effect.multiple(), change first parameter to also accept an array of strings or elements, or a NodeList of elements (if a single element or a string is given, defaults to $('element').childNodes)
134
135 * Made tagifyText work with IE. defaults to a style of "position: relative; zoom:1;" for the created SPAN wrappers. It also replaces spaces with non-breakable spaces. These sit-ups are required to work around problems with rendering elements with the proprietary IE "layout" and non-quirksmode documents.
136
137 * Add a break to scriptaculous.js when the includes are done [thx to Danilo Celic]
138
139 * Fixed a problem with the Autocompleter when hitting ESC would select the entry in IE and redisplay the entries box in Safari
140
141 * Fixed that the onDrop callback on Droppables didn't receive the dopped element as second parameter
142
143 * Make check for correct Prototype version on loading script.aculo.us
144
145 * Changed implementation of Builder to an innerHTML-based approach to make it work with IE6 (note: removed special "style" handling for now)
146
147 * Changed non-sync Effects to use a common setInterval call for better timing and page update speeds. See the new Effect.Queue object.
148
149 * Fixed a problem with setting opacity in Effect.Opacity to very small values
150
151 * Changed the implemention of Effect.Base to use setInterval
152
153 * Set version number to 1.5_pre4_trunk
154
155 * Added experimental Effect.Text function that allows to start delayed text effects, see test/functional/texteffects_test.html.
156
157 * Added experimental Effect.tagifyText(element) which wraps an elements text nodes characters in relatively positioned span elements
158
159 * Added "delay" option to Effect.Base to start an effect only after a specified delay
160
161 * Finetuning unittest.js + even more unit tests
162
163 * Added support for Firefox and Konqueror automatic unit testing on Linux [Michael Schuerig]
164
165 * Added basic unit test files for Effects, updated unit testing tests
166
167 * Fix typo in lib/prototype.js fix in R2069 (whoops)
168
169 * Added unit test for Position.clone
170
171 * Made the Postition.cumulative override recognize KHTML and AppleWebKit
172
173 * Fix the "hide form controls" iframe fix on the Autocompleter on Internet Explorer
174
175 *V1.5.0_pre3*
176
177 * More positioning fixes, expanded Element.clone [thx to Michael Schuerig]
178
179 * Fixed some JavaScript warnings about redeclared vars [Courtenay]
180
181 * Fixed a problem with autocompleting update divs not correctly positioned inside positioned elements [thx to Jonathan Feinberg]
182
183 * Workaround for a Safari bug on absolutely positioned children of the BODY element
184
185 * Added test/run_functional_test.html to more easily find your way around in the functional tests
186
187 * Fixed some missing var declarations in effects.js
188
189 * Support for automatic unit testing on IE/Win [Jon Tirsen]
190
191 * Added loading the text for the Ajax.InPlaceEditor from the server, more CSS support [Richard Livsey, Jon Tirsen]
192
193 * Made builder_test.html unit test work with Safari, fixed (one of two) caching issues with javascripttest.rb, added ajax_autocompleter_test.html to Rakefile unittests
194
195 * Fixed Element.Class getting false matches on class names like classA-foobar, added unit tests [Martin Bialasinski]
196
197 * Added a test to evluate the Fade/Appear effects across browsers and elements (test/functional/effects6_test.html)
198
199 * Framework for completely self-running in-browser unit tests on Mac OS X (try "rake unittest") [Jon Tirsen]
200
201 * Updates to Ajax.InPlaceEditor (Highlighting, Ajax options, more) [Jon Tirsen]
202
203 * Made event registering on Draggables happen per drag for improved performance [thx to Cathy]
204
205 * Moved Element.collectTextNodesIgnoreClass to util.js (preparation for refactoring)
206
207 * Made sortable onChange option work again
208
209 * Fixed a bug with Sortables resulting in wrong result when using Sortable.serialize with onUpdate on ghostly Sortables [thx Richard Livsey, Caleb Buxton]
210
211 * Changed version number in scriptaculous.js to 1.5_pre3
212
213 * Moved setting focus in Autocompleter to updateElement function to make it overridable [Brian Palmer]
214
215 * Added special handling for style attributes to Builder [Michael Schuerig]
216
217 * Changed opacity=1.0 check back to be inline with its original (pre 1.5) implementation to prevent flickering in Firefox < 1.1 on opacity-based effects (this also fixes flickering with drag-and-drop, sortable lists and autocompleting text fields). Note that this potentially breaks correct colors in some situations. [thx to David Zülke]
218
219 * Automatically deactivate browser built-in autocompletion on autocompleting textfields, fixes part of Rails #1824.
220
221 * Fixed a problem with Ajax.InPlaceEditor causing a JavaScript exception on Safari [thx to Patrick Lenz]
222
223 *V1.5.0_pre2*
224
225 * Fixed a weird character in dragdrop.js, added check to allow empty containers on Sortables (useful with dropOnEmpty option) [thx to Dave Strus]
226
227 * Added unit test runner file test/run_unit_tests.html, new unit test files must be listed in test/unit/index.html
228
229 * Added unit tests for Prototype string functions
230
231 *V1.5.0_pre1*
232
233 * Prepared README for V1.5.0_pre1
234
235 * Added a main scriptaculous.js file to load in the other libraries transparently:
236
237   <script src="path/to/prototype.js" type="text/javascript"></script>
238   <script src="path/to/scriptaculous.js" type="text/javascript"></script>
239  
240   in the HEAD section of an HTML file is now all that's needed to include all of the script.aculo.us libraries,
241   given that they all can be accessed by the same path as scriptaculous.js is.
242
243 * Fixed possible problem with greedy Droppables when using the dropOnEmpty option on Sortable.create
244
245 * Added new CSS/background color features to Ajax.InPlaceEditor [Jon Tirsen]
246
247 * Added unit test for Autocompleter, first Version
248
249 * Added Event.simulateKey/s to unittest.js. Note that due to a bug in Firefox this will only work with Firefox up to v1.0.4 (see https://bugzilla.mozilla.org/show_bug.cgi?id=289940)
250
251 * Fixed a condition where standard a href=xxx links wouldn't work in autocomplete results. These do now, the onclick event is not cancelled. [thx to Jasper Slits]
252
253 * Fix showing ghosting marker only on ghosting Sortables
254
255 * Some more Builder stuff, expanded builder unit tests
256
257 * Moved stuff that didn't belong into specific libs into util.js; util.js is now required for all script.aculo.us libs
258
259 * Corrected weirdness in unittest.js
260
261 * Added dropOnEmpty option to Sortables to allow dropping on empty lists (see test/functional/sortable3_test.html)
262
263 * Changed algoritm for drag/drop position setting
264
265 * Changed workaround for class attributes (fixes a Firefox 1.0 error) from klass to className to be more Javascriptesque [thx to Martin Bialasinski]
266
267 * Fixed a typo in ajax_inplaceeditor_test.html
268
269 * Updated Rakefile to add unittest.js and util.js to the package
270
271 * Added util.js which contains various utlity functions and extensions to Prototype
272
273 * Major restructuring
274
275 * Added TEXTAREA support to Ajax.InPlaceEditor [Sanford Barr]
276
277 * Added Ghost Train alpha 0.1.0. See ghosttrain/test.html.
278
279 * More features for Ajax.InPlaceEditor [Jon Tirsen]
280
281 * Tweaks to unittest.css [Thomas Fuchs]
282
283 * Refactoring and new features in unittest.js [Thomas Fuchs] [Jon Tirsen]
284
285 * Fixed a wrong variable reference in Effect.Scale
286
287 * Fix Element.makePositioned to recognize the 'static' position
288
289 * Allow to choose the parameter name for Ajax.Autocompleter [Cameron Braid]
290
291 * Changed resolving indicator DOM element more flexibility [Cameron Braid]
292
293 * Fixed a reference in Ajax.InPlaceEditor
294
295 * Added contributors to unittest.js
296
297 * Souped-up Ajax.InPlaceEditor, added support for a form id and specifying all the texts through options [Jon Tirsen]
298
299 * Make unit testing look good [Michael Schuerig]
300
301 * Changed default revert duration for Draggables to distance-dependent algorithm [suggested by San]
302
303 * Fix double unescaping in Autocompleter
304
305 * Refactoring auf Autocompleter classes to use camelCase (note: changes the syntax of some of the options)
306
307 * Add updateElement option to Autocompleter [Rob Sharp]
308
309 * Updated Ajax.InPlaceEditor, refactoring of unit testing [Jon Tirsen]
310
311 * Added preliminary version of Ajax.InPlaceEditor to controls.js; added experimental Firefox only functional testing for it (inplaceeditor_result.html) [Jon Tirsen]
312
313 * Added some addtional test files.
314
315 * Fixes a bug with Droppables not recognizing a drop if no hoverclass is given [thanks drewie]
316
317 * Fixes to ghosting marker, allow a predefined marker (element with id "dropmarker").
318
319 * Changed Effect.Opacity to better handle 100% opacity
320
321 * Various fixes to ghosting, improves compatiblity with Safari and IE. [thanks to David Zülke]
322
323 * Added experimental ghosting option to Sortables. See sortable_functional_ghosting.html for usage.
324
325 * Renamed the clone option on Draggables to "ghosting".
326
327 * Added experimental "clone" option to Draggable to so that a "clone" stays in place while dragging a translucent version of the draggable element. Currently, this requires relatively positioned elements, and doesn't work with sortable lists (but should after some tweaking). See dragdrop_function_4.html test file for details.
328
329 * Added Element.getStyle to find computed CSS styles of an element. Note: doesn't work in all cases in Safari, see my bug report at http://bugzilla.opendarwin.org/show_bug.cgi?id=4125
330
331 *1.1beta1*
332
333 * Fixed rendering of last frame of animation when from/to is not 0.0/1.0. [thanks to David Zülke]
334
335 * Updated internal Prototype JavaScript framework to version 1.4.0_pre2 (patched w/ workaround for Ajax.Updater init bug)
336
337 * Some refactoring of controls.js to get rid of "dirty" implementation detail (dont' ask)
338
339 * Added returning the generated combined effects to allow for .cancel() on all effects
340
341 * Updated internal Prototype JavaScript framework to version 1.4.0_pre2
342
343 *Rails 0.13.1*
344
345 * Updated Ajax.Autocompleter to deal with parameters options correctly [Martin Marinschek]
346
347 * Updated controls.js to allow multple matches in local localcompletion [Ivan Krstic]
348
349 * Make version of prototype.js in lib have a nicer Event object [David Zülke]
350
351 * Added incremental and local autocompleting and loads of documentation to controls.js [Ivan Krstic]
352
353 * Experimental: make version of prototype.js in lib destroy events on page unload to prevent browser memory leaks
354
355 * Fixed a possible memory leak in dragdrop.js
356
357 * Make version of prototype.js in lib compatible with some 3rd-party JavaScript libraries (like IE7) by refactoring to use Object.extend() for testing [David Zülke]
358
359 * Make effects.js, dragdrop.js and controls.js compatible with some 3rd-party JavaScript libraries (like IE7) by refactoring to use Object.extend() [David Zülke]
360
361 * Changed some tests to work better
362
363 * Always reset background color on Effect.Highlight; this make change backwards-compatibility, to be sure include style="background-color:(target-color)" on your elements or else elements will fall back to their CSS rules (which is a good thing in most circumstances)
364
365 * Removed a possible memory leaks with IE with sortables and droppables (removed references from elements)
366
367 * Changes to class extension in effects.js
368
369 * Make Effect.Highlight restore any previously set background color when finishing (makes effect work with set CSS classes)
370
371 * Added capability to remove draggables/droppables and redeclare sortables in dragdrop.js
372
373 * Added Effect.ScrollTo to smoothly scroll the page to an element
374
375 * Better Firefox flickering handling on SlideUp/SlideDown
376
377 * Some cleaning up in effects.js
378
379 * Removed a possible memory leak in IE with draggables
380
381 * Added support for cancelling dragging my hitting ESC
382
383 * Changed logic of drag-and-drop to only include the last referenced droppable when firing a drop event. This change also offers slight performance gains. [Dominik Wagner]
384
385 * Added addtional effects test page, added tests for scriptfragment matching
386
387 *1.0.0*
388
389 * Changed auto-hiding update div in Ajax.Autocompleter
390
391 * Changed default serialization on Ajax.Autocompleter to use Form.Element.serialize
392
393 * Added test file for drag/drop inside scrolled elements
394
395 * Fixed dragging of unpositioned elements in Internet Explorer
396
397 * Change default behaviour of Ajax.Autocompleter to do automatic overlapping, sizing and appear/fade effects
398
399 * Fixed Internet Explorer hide-windowed-controls iframe handling
400
401 * Changed Ajax.Autocompleter event handling
402
403 * Added onShow/onHide callbacks to Ajax.Autocompleter to allow for customized handling/effects
404
405 * Fixed SlideUp/SlideDown to restore the overflow CSS property (note: Firefox 1.0.X is buggy, set overflow:hidden as a workaround)
406
407 * Fixed BlindUp/BlindDown to restore the overflow CSS property (note: Firefox 1.0.X is buggy, set overflow:hidden as a workaround)
408
409 * Fixed draggables with revert:false on repeated drags behaving badly
410
411 * Expanded the revert option on draggables to optionally take a function and revert only if it returns true
412
413 * Added the dragged element as a parameter to the Draggables.notify callbacks [Michael Sokolov]
414
415 * Removed a deprecated reference to Effect2 om Effect.Fold
416
417 * Make the percentage on Element.setContentZoom absolute
418
419 * Corrected rendering of Ajax.AutoCompleter when focus is lost while updating
420
421 * Added (crude) functional tests
422
423 * Some slight refactoring in controls.js
424
425 * Changed dragdrop.js to use the Effect namespace for its effects
426
427 * Updated to Prototype 1.3.0: removal of prototype-ext.js; refactoring.
428
429 * Fixed behaviour of cursor keys in Safari on autocomplete script
430
431 * Fixed Position.within_including_scrolloffsets
432
433 * Fixed sortables that are absolutely positioned
434
435 * Fixed unhandled whitespace in Ajax.Autocompleter
436
437 * Updated prototype-ext.js to include additions for Ajax.Autocompleter
438
439 * Added controls.js, contains AJAX autocompleting text fields from #960
440
441 * Refactored Event object
442
443 * Renamed effects2.js to effects.js
444
445 * Fixed draggables on pages with no droppables
446
447 * Moved Event, Position and Element.Class to prototype-ext.js in preparation to Rails 0.13
448
449 * Added Effect.Transitions.pulse
450
451 * Added Effect.Pulsate and Effect.Fold effect by Justin Palmer
452
453 * Added transitions by Mark Pilgrim: .full, .none
454
455 * Added effects by Mark Pilgrim: Effect.Grow, Effect.Shrink
456
457 * Changed effects namespace to Effect. (Effect2 is deprecated, but works too)
458
459 * Changed old Effect.ContentZoom class to Element.setContentZoom() function
460
461 * Greatly expanded Effect.Highlight to have user-defined colors and autodetecting the background color
462
463 * Converted remaining effects (Squish, Highlight) to new format
464
465 * Sortable.create now passes the zindex, starteffect, reverteffect and endeffect options to the underlying Draggables
466
467 * Sortable.serialize now honors the only option on Sortable.create
468
469 * New overridable options on Draggables: zindex, starteffect, reverteffect, endeffect
470
471 * Fix a Gecko engine flicker on Sortables in dragdrop.js
472
473 * Fixed event.isLeftClick
474
475 * Some small changes in effects2.js
476
477 * Refactoring of dragdrop.js
478
479 * Added an Object.prototype.inspect() and more verbose messages for js unit testing
480
481 * Added test/unittest.js and initial tests in test/html.
482
483 * Cleaning up of effects2.js (convert tabs to spaces)
484
485 * Added Rakefile for distribution packaging (default task = make distribution, rake clean for cleaning up)
486
487 * Initial check-in and directory layout for the script.aculo.us JavaScripts
Note: See TracBrowser for help on using the browser.