Commit Graph

186 Commits

Author SHA1 Message Date
Andrew Dupont
bb66a5eb9b Changelog entry for [8037]. 2007-10-26 19:20:47 +00:00
Sam Stephenson
18969c5159 prototype: Reset the browser's dimensions to their original settings after running the DOM viewport tests. 2007-10-26 03:10:06 +00:00
Sam Stephenson
1c5e3fe3fb prototype: Fix the test runner for Firefox in Leopard. 2007-10-23 17:41:44 +00:00
Tobie Langel
4dece6b277 Use String#include wherever possible. 2007-10-22 22:16:32 +00:00
Tobie Langel
16127b024a prototype: In IE, allow opacity to be set on elements not yet attached to the document. Closes #9904. 2007-10-22 13:14:56 +00:00
Tobie Langel
f870fba94f prototype: Avoid the try..catch block in Ajax.Response#_getResponseJSON unless required. 2007-10-22 12:04:06 +00:00
Tobie Langel
0100aee1a0 prototype: Add more tests to Element.update. 2007-10-22 11:30:52 +00:00
Tobie Langel
44c9d8937a prototype: Make the Ajax.Response#headerJSON property correctly decode unicode characters. Closes #9285 2007-10-22 11:20:21 +00:00
Tobie Langel
827c8c6b48 prototype: Prevent a Firefox bug from throwing errors on page load/unload. Closes #5393, #9421. 2007-10-22 01:04:17 +00:00
Tobie Langel
ba96fa77bf prototype: Minor cosmetic changes to the display of unit tests in terminal. 2007-10-21 01:47:30 +00:00
Tobie Langel
29c0de6937 prototype: Make submitting forms work in Opera < 9.1. 2007-10-18 15:46:30 +00:00
Sam Stephenson
b83ae95d90 prototype: Fix template evaluation with empty replacements. Closes #9692. 2007-10-17 14:14:27 +00:00
Sam Stephenson
8327ffd8ae prototype: Hash#toTemplateReplacements is an alias for Hash#toObject so you can once again pass hashes to Template#evaluate and String#interpolate. 2007-10-17 13:39:46 +00:00
Sam Stephenson
d114e76e97 prototype: Fix Event#is(Left|Middle|Right)Click in IE. Closes #7520. 2007-10-17 13:26:49 +00:00
Sam Stephenson
082fa20deb prototype: Bump to 1.6.0_rc1 2007-10-16 05:18:50 +00:00
Andrew Dupont
aada1abb56 * Ensure Event.* generic methods work in IE, even when the event is not extended. [Viktor Kojouharov, Andrew Dupont] 2007-10-16 05:11:42 +00:00
Sam Stephenson
bfd5353cbf prototype: Don't translate "keypress" events into "keydown" events. 2007-10-16 03:36:58 +00:00
Andrew Dupont
8d3d6cdb04 * Changed Element#makeClipping to remember the original overflow value, even if it's a non-inline style. [Andrew Dupont] 2007-10-16 03:29:19 +00:00
Sam Stephenson
3dd7bd5b4b prototype: Cross-browser Event#isLeftClick with the addition of is(Middle|Right)Click. Closes #7520. 2007-10-16 03:19:38 +00:00
Andrew Dupont
6cd34be0c4 * Change Selector to use the non-XPath approach for Safari 3 because of bugs in its version of document.evaluate. [Andrew Dupont] 2007-10-16 03:08:31 +00:00
Andrew Dupont
0dd4ba70f6 * 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] 2007-10-16 02:28:28 +00:00
Andrew Dupont
88f8d3b9af * Changed Selector pattern match so that descendant combinators after pseudoclass tokens are properly handled. Fixes #9696. [wiktor, kangax, Andrew Dupont] 2007-10-16 02:21:24 +00:00
Tobie Langel
865ac01937 prototype: Make sure $w always returns an array. 2007-10-15 17:19:16 +00:00
Tobie Langel
0632778884 Add more tests to Hash. 2007-10-14 11:35:59 +00:00
Tobie Langel
941359b2f7 Performance enhancements to . Closes #9464 2007-10-14 11:12:08 +00:00
Tobie Langel
7dda50a7c9 Make Function#argumentNames work with named functions. Closes #9826 2007-10-14 10:54:06 +00:00
Tobie Langel
96af1b7579 Add Object.isHash. 2007-10-14 08:08:42 +00:00
Tobie Langel
d195111a9d Performance improvements to String#times. 2007-10-13 19:05:19 +00:00
Tobie Langel
db371ddb5a Make Ajax.Response#getHeaderJSON and Ajax.Response#getResponseJSON pseudo private instance methods. 2007-10-13 11:37:26 +00:00
Tobie Langel
e7bb042aa6 Make ObjectRange use the new Class.create syntax. 2007-10-13 11:24:23 +00:00
Tobie Langel
d25b863c9a Complete rewrite of the Hash class. 2007-10-13 10:55:52 +00:00
Sam Stephenson
4607e29fa2 prototype: Element#wrap now returns the wrapper instead of the element being wrapped. 2007-10-11 06:11:26 +00:00
Sam Stephenson
115d3e456d prototype: Namespace all custom event names to avoid conflicts with native DOM events. 2007-10-11 06:00:45 +00:00
Sam Stephenson
c35598ca2b prototype: Clean up the new class API. 2007-10-11 05:02:07 +00:00
Sam Stephenson
8ca43a5c88 prototype: Fix contentloaded event initialization in IE. Closes #9457, #9488, #9707. 2007-10-08 22:37:15 +00:00
Sam Stephenson
c904fe7664 prototype: 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. 2007-10-08 21:29:27 +00:00
Sam Stephenson
cf88669931 prototype: Fix missing "var" in selector.js. Closes #9761. 2007-10-08 21:15:46 +00:00
Sam Stephenson
4b1fb7e03a prototype: Date#toJSON now returns times in UTC for better compatibility with json.js. Closes #9332. 2007-10-08 21:14:24 +00:00
Sam Stephenson
8cf1f895f7 prototype: Ensure document._getElementsByXPath extends the elements it returns; fixes $$ not returning extended elements in Opera 9.2. Closes #8843. 2007-10-08 19:01:31 +00:00
Thomas Fuchs
746a905ef4 Add tests for Object.extend and Object.clone. 2007-10-06 12:24:46 +00:00
Thomas Fuchs
cca235b1eb Prototype: Add a test for Form.Observer. 2007-10-03 17:58:33 +00:00
Thomas Fuchs
6c94af703d Make sure setting opacity works on elements that have "no layout" in IE. 2007-08-27 18:37:49 +00:00
Sam Stephenson
6ed9095df9 prototype: Simplify Class.create by establishing a prototype chain when subclassing. Closes #9342. 2007-08-23 21:12:02 +00:00
Sam Stephenson
5d3fd6f3b7 prototype: Fix Ajax.PeriodicalUpdater for compatibility with Ajax.Response. Closes #9321. 2007-08-21 16:18:07 +00:00
Sam Stephenson
001b54865c prototype: Ensure that classes always have an initialize method. 2007-08-21 16:15:59 +00:00
Sam Stephenson
6086db40a7 prototype: Update Template, Selector, Ajax.*, and ObjectRange classes to use the new class system. 2007-08-18 23:21:29 +00:00
Sam Stephenson
75b3f3c844 prototype: 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. 2007-08-18 23:04:28 +00:00
Sam Stephenson
bfba40e0cd prototype: Fix Class.mixin to extend the class's prototype. 2007-08-18 22:58:13 +00:00
Sam Stephenson
b923d6dd52 prototype: Fix superclass method call breakage from [7337]. 2007-08-18 22:55:35 +00:00
Sam Stephenson
702d968841 prototype: Change Class.extend to allow for superclass method resolution and remove Class.inherit. Closes #9274. 2007-08-17 17:35:22 +00:00