Commit Graph

23 Commits

Author SHA1 Message Date
Tobie Langel 48f5ff2072 Split ajax.js. 2008-12-11 11:45:10 +01:00
Tobie Langel 6850979395 Split base.js up. 2008-12-11 11:42:15 +01:00
Andrew Dupont 5ddfad8a62 Use different tactic to sniff for Opera in order to avoid false positives in IE. [#176 state:resolved] 2008-09-07 20:18:21 -07:00
Tobie Langel 9c8d9d89d6 Replace all instances of foo.__proto__ by foo['__proto__'] for Caja-compliance. 2008-09-02 19:06:25 -07:00
Andrew Dupont 7062189fed Added Prototype.BrowserFeatures.SelectorsAPI boolean. 2008-03-29 22:21:58 -05:00
Andrew Dupont b01903d92f * 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] 2007-11-27 18:21:50 +00:00
Tobie Langel 37bab18999 prototype: previous changeset Closes #9917, #9463, #8260. 2007-10-18 15:52:26 +00:00
Tobie Langel 29c0de6937 prototype: Make submitting forms work in Opera < 9.1. 2007-10-18 15:46:30 +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
Sam Stephenson 05e48f6feb prototype: Update Prototype.Browser.MobileSafari for iPod touch compatibility. 2007-10-08 17:30:40 +00:00
Sam Stephenson 5645a0783f prototype: Add Prototype.Browser.MobileSafari which evaluates to true on the iPhone's browser. 2007-07-26 02:03:40 +00:00
Sam Stephenson 29cd62ebeb prototype: Temporary workaround for Prototype.BrowserFeatures.SpecificElementExtensions incorrectly evaluating to true on iPhone. 2007-06-30 16:38:18 +00:00
Thomas Fuchs 1e13c1d0b7 Prototype: Prevent a crash in Safari 1.3 on String#stripScripts and String#extractScripts. Closes #8332. Allow JSON data to contain line breaks. Closes #8271. 2007-06-13 20:57:19 +00:00
Thomas Fuchs 86118c3cb5 Prototype: 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] 2007-06-06 16:10:16 +00:00
Thomas Fuchs a7a0edd830 Make Prototype.ScriptFragment behave when including Prototype inline. 2007-05-18 00:44:20 +00:00
Sam Stephenson 83b4b337e1 Merge -r6634:HEAD from ../branches/dom.
* Make Element#update and Element#insert work for SELECT tags in IE and Opera. [Tobie Langel]

* Make Element#insert and Element#update better handle TABLE related elements in IE and Opera. Closes #7776, #8040, #7550, #7776, #7938. [Tobie Langel]

* Make Element#readAttribute('title') work in Opera. [Tobie Langel]

* Make Element#replace work with form elements in Firefox and Safari. Closes #8010, #7989. [dsl239, Tobie Langel]

* Add Element#wrap which wraps the element inside a new one. Closes #5732. [P. Vande, Tobie Langel]

* 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]

* 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]
2007-05-12 05:01:56 +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
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 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
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 bb4d189b37 prototype: Reorganize the source tree. 2007-01-18 22:24:27 +00:00