Commit Graph

211 Commits

Author SHA1 Message Date
Sam Stephenson 8a382ff853 prototype: Set window.$continue to an Error with a helpful message for anyone who may still be using 'throw $continue'. 2007-04-28 03:00:57 +00:00
Sam Stephenson 310b3eccfa prototype: Fix jstest.rb IE support so you don't have to close the IE window after each test (yay!). Closes #8207. 2007-04-28 02:41:00 +00:00
Sam Stephenson b360a93999 prototype: Fix jstest.rb Konqueror support. Closes #7140. 2007-04-28 02:37:53 +00:00
Sam Stephenson b76d34e7bb prototype: 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. 2007-04-28 02:32:21 +00:00
Sam Stephenson 1886b03d60 prototype: Fix Element#readAttribute to work with the 'type' attribute in IE. Closes #8160. 2007-04-28 02:23:26 +00:00
Sam Stephenson d01b0b0668 changelog 2007-04-24 06:19:25 +00:00
Sam Stephenson 47bfeb5083 prototype: Add Element#childElements as an alias for Element#immediateDescendants. 2007-04-24 06:17:59 +00:00
Sam Stephenson 5784d78f6e prototype: Add Element#firstDescendant to retrieve the first non-text child node of an element. Optimize DOM navigation methods (Element#up, Element#down, Element#previous, Element#next) for no-argument calls. Closes #7848. 2007-04-24 06:06:44 +00:00
Sam Stephenson 63342b9c01 prototype: Element.addMethods should add methods to Element as well as Element.Methods. Closes #7888. 2007-04-24 05:23:41 +00:00
Sam Stephenson 7a324b859c prototype: Add support for per-request onCreate callbacks to Ajax.Request. Closes #8011. 2007-04-24 03:58:34 +00:00
Sam Stephenson 4174060d5b prototype: Don't call evalResponse() when an Ajax response has no Content-type header. Closes #7827. 2007-04-24 03:34:30 +00:00
Sam Stephenson fea6bc1a21 prototype: 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. 2007-04-24 03:31:14 +00:00
Sam Stephenson 643b7bec37 prototype: Add extra spacing so Array#toJSON and Hash#toJSON generate YAML-loadable JSON. Closes #7883. 2007-04-24 02:50:52 +00:00
Thomas Fuchs 95ac141bd9 Fix Form.request for forms containing an input element with name="action". Closes #8063. 2007-04-17 17:41:22 +00:00
Thomas Fuchs 68f3b219e0 Fix a CHANGELOG typo 2007-04-17 17:10:57 +00:00
Thomas Fuchs a0532bd933 Rolling back #7683 as it breaks existing effects in certain scenarios 2007-04-05 12:50:59 +00:00
Thomas Fuchs 4c90be6a30 Prevent a crash on Safari on String.prototype.stripScripts and extractScripts with large <script> tags. 2007-04-03 22:21:58 +00:00
Thomas Fuchs c0509c7f5f Prototype: clean (un)escapeHTML IE special casing and optimize speed for IE and Safari 2007-03-29 17:39:48 +00:00
Thomas Fuchs 9a7dcd54fb Prevent linefeed normalisation in String.prototype.escapeHTML and unescapeHTML on IE for consistency with other browsers 2007-03-28 11:35:05 +00:00
Thomas Fuchs 5f2acb4be5 Make Hash.toQueryString serialize undefined values. Ensure consistency with String.prototype.toQueryParams. Closes #7806. [Mislav Marohnic] 2007-03-27 20:55:56 +00:00
Thomas Fuchs 296cada736 Prototype: Make automatic unit testing work smoother on non-english versions of Windows 2007-03-27 18:31:25 +00:00
Thomas Fuchs 4506db2df2 Fix Selector issues with :not and attribute selector double quotes, fixes #7901. [Andrew Dupont] 2007-03-27 18:20:35 +00:00
Thomas Fuchs 779cd337b8 Fix issues with Selector an+b logic, performance improvements. Closes #7873. [Andrew Dupont] 2007-03-27 18:14:53 +00:00
Thomas Fuchs 930c8f2665 Fix an issue with Element.getDimensions with some element types on non IE-browsers. Closes #7683. [Andrew Dupont] 2007-03-27 18:04:59 +00:00
Thomas Fuchs db2ee67799 Fix Form.disable to work again on non-form elements. Closes #6887. [Mislav Marohnic] 2007-03-27 17:53:52 +00:00
Thomas Fuchs fc91a3e456 Fix an issue with String.prototype.endsWith. Closes #7822. [altblue] 2007-03-27 17:43:30 +00:00
Sam Stephenson 63985a21ed prototype: 1.5.1_rc2 2007-03-12 21:27:17 +00:00
Sam Stephenson cb1ad0e2cd prototype: Add a tab character via innerHTML to the selector whitespace test. 2007-03-12 21:26:21 +00:00
Thomas Fuchs d17521f960 Missed ticket # 2007-03-11 22:40:52 +00:00
Thomas Fuchs e9501d63e5 Make Element.extend work on IE for Nodes with the same ID that where discarded. 2007-03-11 22:40:24 +00:00
Thomas Fuchs b2845e4557 Prototype: Make Selector correctly extend the first element it returns on IE. [Thomas Fuchs] 2007-03-11 14:51:14 +00:00
Thomas Fuchs a6984e692b Prevent a crash in Safari when using $A() on NodeList objects that contain text nodes. [Thomas Fuchs] 2007-03-11 13:42:40 +00:00
Thomas Fuchs 881b7dc00f Prototype: Fix Element.Methods.descendants() to properly extend elements on IE. 2007-03-11 10:59:06 +00:00
Sam Stephenson 811fb86286 prototype: 1.5.1_rc1: Fix readAttribute for IE7. 2007-03-09 19:17:50 +00:00
Sam Stephenson 94cfdd3e47 prototype: 1.5.1_rc0 2007-03-09 04:24:49 +00:00
Sam Stephenson 00bce412d2 prototype: Merge the selector branch into trunk, bringing vast performance improvements, bug fixes, and near-complete CSS3 compliance to $$ and Selector. Closes #7568. 2007-03-09 04:12:13 +00:00
Sam Stephenson f160bc4d4d prototype: Add support for JSON encoding and decoding. Closes #7427. 2007-03-09 03:23:24 +00:00
Sam Stephenson f281192758 prototype: Fix double escaping of query parameters in Hash.prototype.toQueryString, and prevent Safari from iterating over shadowed properties when creating hashes. Closes #7421. 2007-03-09 03:15:03 +00:00
Thomas Fuchs 752eebdd26 Prototype: Fix simulated attribute reading for IE for "href", "src" and boolean attributes. 2007-03-08 22:43:18 +00:00
Thomas Fuchs a9ec09115b Prototype: Form.Element.disable() will now call blur(), removed blur() call from Form.Element.enable(). Closes #6034. [tdd] 2007-03-05 16:03:11 +00:00
Thomas Fuchs fcc23f0d70 Optimize document.getElementsByClassName and finalize DOM performance optimization refactoring. Closes #6696 2007-03-04 22:55:08 +00:00
Thomas Fuchs ebd3351b20 Fix an issue with serializing empty array inputs, fixes #7516, merges [6309] and [6312] from from branch 2007-03-04 21:54:09 +00:00
Thomas Fuchs aa7ba0d4ff Prototype: Add optional third parameter "camlized" to Element.setStyle, for optimized performance if style names are known to be camelCased. [Thomas Fuchs] 2007-03-02 12:36:09 +00:00
Sam Stephenson 94d8333448 prototype: Fix a bug in the simulated hasAttribute for IE due to getAttributeNode sometimes returning null. 2007-02-28 01:16:52 +00:00
Thomas Fuchs 60bb0686ba Prototype: Optimize Element.getStyle and add new Element.getOpacity method. Special case IE and Opera getStyle methods. Closes #7648. [Tobie Langel, Thomas Fuchs] 2007-02-27 11:35:21 +00:00
Thomas Fuchs 80f6f4076b Prototype: Optimize Element.setStyle and add new Element.setOpacity method, special case IE and Gecko opacity methods. Closes #7585. [savetheclocktower] 2007-02-23 01:19:18 +00:00
Thomas Fuchs d1481932b9 Prototype: Add unified Browser detection by providing Prototype.Browser.(IE|Gecko|WebKit|Opera) booleans. Closes #6800. [savetheclocktower] 2007-02-19 22:23:10 +00:00
Thomas Fuchs 5224f0fc4f Prototype: Add String.prototype.empty and String.prototype.blank (tests if empty or whitespace-only). Closes #7016. [Jonathan Viney, Thomas Fuchs] 2007-02-19 21:32:37 +00:00
Thomas Fuchs ab59de3949 Prototype: Update README to reflect new URLs, update LICENSE copyright years. Closes #7426. [Tobie Langel] 2007-02-19 20:57:19 +00:00
Sam Stephenson 6eca3f0eea prototype: Array.prototype.uniq optimization. Closes #7417. 2007-02-05 05:09:41 +00:00
Sam Stephenson 74596ac289 prototype: String.prototype.endsWith should not fail on multiple occurrences. Closes #7416. 2007-02-05 04:56:46 +00:00
Sam Stephenson 343eae8bfc prototype: 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. 2007-01-28 07:30:04 +00:00
Sam Stephenson 7044da8138 prototype: Fix $(form).serialize() in Safari and add support for extending specific tags to Element.addMethods. Closes #7358. 2007-01-27 19:45:34 +00:00
Sam Stephenson 5345085b33 prototype: Add String.prototype.startsWith, String.prototype.endsWith, and String.prototype.include. Closes #7075. 2007-01-27 18:45:54 +00:00
Sam Stephenson c556c89627 prototype: Improve performance of String.prototype.escapeHTML by using a cached div and text node. Closes #6937. 2007-01-27 18:33:03 +00:00
Thomas Fuchs 8ea007df28 Prototype: Make setStyle() with opacity: 0 in Internet Explorer work correctly. [Thomas Fuchs] 2007-01-19 18:01:43 +00:00
Sam Stephenson 84901897c8 prototype: Form.Element.activate shouldn't raise an exception when the form or field is hidden. 2007-01-18 23:07:02 +00:00
Sam Stephenson c89875ce8c prototype: Remove support for "throw $continue" in Enumerable. Use "return" instead. 2007-01-18 22:59:23 +00:00
Sam Stephenson ce639c2c8b prototype: Update HEADER to reflect new URL. 2007-01-18 22:33:49 +00:00
Sam Stephenson 3c89b25cbe prototype: Add release date to CHANGELOG 2007-01-18 22:26:31 +00:00
Sam Stephenson bb4d189b37 prototype: Reorganize the source tree. 2007-01-18 22:24:27 +00:00