Commit Graph

460 Commits

Author SHA1 Message Date
Andrew Dupont
e9bdaef0af String#gsub should escape RegExp metacharacters when the first argument is a string. [#469 state:resolved] (michael, kangax) 2009-02-23 20:13:41 -06:00
Andrew Dupont
e3845ba0f6 Fix order of replacement in String#unescapeHTML [#544 state:resolved] (SWeini, kangax) 2009-02-23 20:07:43 -06:00
Andrew Dupont
432a9422d6 Fix issue where a Selector query rooted on a node that had not been attached to the document failed in IE. [#464 state:resolved] (jddalton, kangax, Douglas Fraser, Andrew Dupont) 2009-02-22 15:59:01 -06:00
Andrew Dupont
8fe518719e Fix Selector to match elements with attributes containing hyphens. [#285 state:resolved] (leiyou, jddalton, kangax) 2009-02-22 15:16:19 -06:00
Andrew Dupont
dc9d274d89 Make sure Form.reset always returns a reference to the receiver element. [#309 state:resolved] (Phil, kangax) 2009-02-22 15:11:40 -06:00
Andrew Dupont
97fc24a0b2 Escape ":" and "." characters when doing contextual CSS selection in browsers that support querySelectorAll. [#559 state:resolved] (fxtentacle, Andrew Dupont) 2009-02-22 12:45:00 -06:00
Andrew Dupont
9da5045df2 Removed redundant lines in selector.js. [#138 state:resolved] (Richard Quadling) 2009-02-21 23:32:00 -06:00
Andrew Dupont
91b787ae17 Ensure the target property on events is never undefined in IE. [#383 state:resolved] 2009-02-21 23:27:18 -06:00
Andrew Dupont
ab1313ea20 Ensure Element#descendants always returns an array. [#373 state:resolved] 2009-02-18 10:34:01 -06:00
Andrew Dupont
d3189652a6 Fixed incorrect usage of === operator. [#127 state:resolved] 2009-02-18 10:30:19 -06:00
Sam Stephenson
69adbbbf8f Update to the latest Sprockets, which trims trailing whitespace from source lines 2009-02-16 12:13:13 -06:00
Sam Stephenson
6fb6308744 Update vendor/sprockets so Prototype builds on Windows again 2009-02-15 21:53:12 -06:00
sstephenson
463141edc5 Update CHANGELOG 2009-02-10 19:20:19 -07:00
James Wheare
03512f5060 Fix for http://prototype.lighthouseapp.com/projects/8886/tickets/543. Don't switch fixed position elements to absolute in Element.getDimensions
Signed-off-by: Sam Stephenson <sam@37signals.com>
2009-02-11 10:14:15 +08:00
Samuel Lebeau
ceb7b72621 Avoid String#sub with empty pattern to make endless loop [#534 state:resolved]
Signed-off-by: Sam Stephenson <sam@37signals.com>
2009-02-11 10:12:28 +08:00
Sam Stephenson
9bb3d7517d Update CHANGELOG 2009-02-10 11:26:14 -06:00
Sam Stephenson
6d706084ac Update to Sprockets 0.9.0 2009-02-10 11:18:24 -06:00
Sam Stephenson
938ac16c2d Load PROTOTYPE_VERSION from src/constants.yml 2009-02-10 10:52:08 -06:00
Sam Stephenson
a519c02b2e Sprocketize Prototype 2009-01-27 15:42:32 -06:00
Sam Stephenson
d5be195340 Add sprockets as a submodule 2009-01-27 13:32:57 -06:00
Andrew Dupont
952feb48a3 Changes to dom.js to get direct extension of element prototypes working in IE8. We're down to one test failure in the dom.js unit tests. 2009-01-21 20:40:45 -06:00
Andrew Dupont
4af7dc0f5d Changed feature detection in order to properly detect the mutable Element prototypes in IE8. 2009-01-21 20:29:23 -06:00
Andrew Dupont
44287477cc Updated Rakefile to check for presence of PDoc before running 'doc' task. 2009-01-12 09:00:42 -06:00
Andrew Dupont
9bcf687751 Update PDoc submodule to latest version. 2009-01-12 08:51:02 -06:00
Samuel Lebeau
e819a241e2 Fix Rakefile for PDoc generation 2009-01-12 08:28:59 -06:00
Samuel Lebeau
8a999a0389 Fix Range documentation 2009-01-12 08:28:49 -06:00
Samuel Lebeau
b2597ece0c Start PDoc integration. 2009-01-12 08:27:43 -06:00
Andrew Dupont
24fb692281 Added PDoc as a git submodule. 2009-01-11 18:36:25 -06:00
Andrew Dupont
997689fcea Switch Object.is(Array|String|Number) to use the vastly-superior approach discovered by Juriy. 2009-01-11 18:26:26 -06:00
savetheclocktower
31d1c6fd48 Further fix to ensure Object#is(String|Number) do not throw exceptions on host objects in IE. [#510 state:resolved] 2009-01-05 10:49:09 -06:00
Andrew Dupont
9f5c40c744 Ensure Enumerable#grep can handle strings with RegExp metacharacters. [#257 state:resolved] 2008-12-19 18:50:08 -06:00
Andrew Dupont
e9e8c7fbe5 Switch to the "doScroll approach" for the dom:loaded custom event. [#127 state:resolved] 2008-12-16 22:52:24 -06:00
savetheclocktower
bd1d3fa1ff Change the way we detect that an object of key/value pairs has been passed to Element#store. 2008-12-16 13:19:23 -06:00
savetheclocktower
0549952094 I suppose we owe it to our contributors to spell their names right. 2008-12-16 13:16:07 -06:00
Andrew Dupont
c3c953363b Optimize document.viewport.get(Dimensions|Width|Height). [#336 state:resolved] 2008-12-15 20:40:15 -06:00
Andrew Dupont
07506e648b Fix issue where Object#isString and Object#isNumber return false for String and Number "wrapper" objects. [#375 state:resolved] 2008-12-15 20:31:18 -06:00
Andrew Dupont
c493d09b7b Fix typo in CHANGELOG. 2008-12-15 20:21:44 -06:00
Andrew Dupont
60a6c7ac70 Set document.loaded = true before firing dom:loaded custom event. 2008-12-15 20:21:17 -06:00
savetheclocktower
c4f6066d2c Allow Element#store to accept an object containing several key/value pairs. 2008-12-15 09:51:16 -06:00
savetheclocktower
1ca385b18c Change Element#retrieve to return the element itself (for chaining). 2008-12-15 09:41:10 -06:00
savetheclocktower
f8a25223d0 Add tests for Element#retrieve. 2008-12-15 09:37:12 -06:00
Tobie Langel
2403e3e8ce Remove useless base_test fixtures. 2008-12-15 00:46:18 +01:00
Andrew Dupont
c4c7bf63db Update CHANGELOG. 2008-12-14 03:54:18 -06:00
Andrew Dupont
f6a2cdb067 Merge branch 'storage' 2008-12-14 03:51:35 -06:00
Andrew Dupont
0f2bbafd11 Remove redundant tests from base_test.js. 2008-12-14 03:40:27 -06:00
Andrew Dupont
bc899339a9 Remove redundant tests from base_test.js. 2008-12-14 03:40:15 -06:00
Andrew Dupont
3b21105237 Alter event system to use new element storage API rather than have its own global hashtable. 2008-12-14 01:35:49 -06:00
Andrew Dupont
77b9a2614a Alter element storage API to handle the window object gracefully. 2008-12-14 01:35:12 -06:00
Andrew Dupont
3977e66796 Added Element#store and Element#retrieve for safe, hash-backed storage of element metadata (no memory leaks). Also added Element#getStorage for working with the element's storage hash directly. Hat tip: Mootools. 2008-12-12 23:53:39 -06:00
Tobie Langel
99f74b526a Add caja_builder for optional cajoled tests. 2008-12-12 13:55:28 +01:00