Commit Graph

775 Commits

Author SHA1 Message Date
Thomas Fuchs fcc23f0d70 Optimize document.getElementsByClassName and finalize DOM performance optimization refactoring. Closes #6696 2007-03-04 22:55:08 +00:00
Thomas Fuchs 3c743a35f5 Add missing semicolons in hash unit tests 2007-03-04 21:57:29 +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
Thomas Fuchs 91dd60c5a2 Prototype: some more Element.setStyle optimizations 2007-03-02 12:16:42 +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
Thomas Fuchs 06cf9616f9 Prototype: add form elements methods chaining test 2007-02-10 16:22:56 +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 225bf0e6ec prototype: remove redundant conditional 2007-01-28 07:34:43 +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