Commit Graph

306 Commits

Author SHA1 Message Date
Tobie Langel
bfee207d1a prototype: Stop form observers in unit tests. Closes #10938. 2008-03-09 07:14:28 +00:00
Tobie Langel
5a50e4d2c0 prototype: Performance improvements for Enumerables. Closes #11264. 2008-03-09 06:56:03 +00:00
Tobie Langel
fffb3c1e99 prototype: mark Hash.toJSON() as removed. 2008-02-29 06:53:30 +00:00
Tobie Langel
088c049885 prototype: improvements to deprecation.js. 2008-02-26 12:53:41 +00:00
Andrew Dupont
54a20847c8 Change deprecation extension to use Firebug's console.warn and console.error. [Andrew Dupont, Tobie Langel] 2008-02-12 19:04:26 +00:00
Tobie Langel
93d359f543 prototype fix a typo. 2008-02-05 03:38:37 +00:00
Tobie Langel
5630369f42 prototype: Make Prototype tagName comparisons XHTML-compliant. Closes #11012, #11013, #11014. 2008-02-05 03:35:04 +00:00
Tobie Langel
7821b989fe prototype: Avoid breaking Element.prototype in browsers which support it. Closes #11004. 2008-02-04 23:22:18 +00:00
Tobie Langel
2830ac2ac5 prototype: Prevent Element#cumulativeOffset, Element#getOffsetParent, Element#positionedOffset, Element#viewportOffset and Element#clonePosition from throwing an error in IE when called on a parent-less element. Closes #9416, #10192, #10248. 2008-02-03 22:29:29 +00:00
Tobie Langel
d770a6c704 prototype: Prevent Enumerable#eachSlice from entering into an endless loop if passed an argument smaller than 1. Closes #10665. 2008-02-03 21:08:13 +00:00
Tobie Langel
f4d68350f3 prototype: Allow Selector to correctly detect the presence of namespaced attributes. Closes #10987. 2008-02-03 19:45:32 +00:00
Tobie Langel
ea9d81eea1 prototype: Make Element#absolutize and Element#relativize always return element. Closes #10983. 2008-02-03 19:36:35 +00:00
Tobie Langel
ed1469396e prototype: Add deprecation extension. 2008-02-01 22:47:00 +00:00
Sam Stephenson
2827428bbd prototype: Prepare for 1.6.0.2 release 2008-01-25 22:57:06 +00:00
Sam Stephenson
ef7ac53378 prototype: Update copyright date in LICENSE 2008-01-25 22:54:47 +00:00
Sam Stephenson
765cba2204 prototype: Update the list of officially supported browsers in the README. 2008-01-25 22:54:14 +00:00
Andrew Dupont
25f1a4f0b1 Forgot the CHANGELOG on the last commit. 2008-01-25 22:04:37 +00:00
Andrew Dupont
034d4e1d4a Add tests for Element#descendantOf that deal with dynamically-created elements. [Andrew Dupont] 2008-01-25 22:03:39 +00:00
Andrew Dupont
c24a390c49 Ensure positionedOffset properly considers "position: fixed" elements. Also ensure IE reports offsets correctly by triggering hasLayout when a "static" element has a "fixed" element as an offset parent. Closes #10644. [heygrady, kangax, Andrew Dupont] 2008-01-25 22:02:12 +00:00
Andrew Dupont
ffa0d0943c Roll back the fix for #9609, since it does not work in Opera. Instead, avoid using "valueOf" or "toString" as field names in forms. 2008-01-25 18:54:22 +00:00
Andrew Dupont
a1ec25cddb Prevent DOM node expandos _countedByPrototype and _prototypeEventID from being serialized into (inner|outer)HTML in IE. Closes #10909. [dcpedit, Tobie Langel, Andrew Dupont] 2008-01-25 18:49:40 +00:00
Tobie Langel
794457da75 Make Ajax.Request#isSameOrigin JavaScript Lint compliant. Backport fix to 1.5.1.2. 2008-01-24 03:02:34 +00:00
Andrew Dupont
0f97f4ce20 Properly serialize form fields with names that collide with built-in JS properties (like "length" or "toString"). Closes #9609. [gryn, kangax] 2008-01-24 02:24:33 +00:00
Tobie Langel
17cd2f9f8d prototype: Make Object.isArray correctly identify arrays created in another frame. Closes #10374. 2008-01-24 01:33:28 +00:00
Andrew Dupont
7942a9e5c9 Fixed issue where Element#match failed on attribute selectors with single or double quotes. Closes #10067. [Cezary Okupski, Andrew Dupont] 2008-01-23 20:05:17 +00:00
Tobie Langel
a5fe12b9a1 prototype: Add tests for Element#match. 2008-01-23 12:45:28 +00:00
Tobie Langel
b26f4e349e prototype: Fix Element#writeAttribute to work with 'cellspacing' and 'cellpadding' attributes in IE. Closes #9983. 2008-01-23 12:17:26 +00:00
Tobie Langel
02cc9992e9 prototype: Prevent a potential security issue for cross-site ajax requests. 2008-01-23 00:51:25 +00:00
Tobie Langel
dcada47c6d prototype: Test for attribute existence before applying more complex CSS3 selectors. Closes #10870. 2008-01-23 00:33:04 +00:00
Andrew Dupont
c200c27f48 Fix "function $A" declaration inside of a conditional (confuses IE). Fixes #10882. [Jacco, Andrew Dupont] 2008-01-22 23:36:47 +00:00
Andrew Dupont
c67fe0b2f3 Fixed selector parsing so that "#foo [bar=baz]" is treated the same way as "#foo *[bar=baz]". Closes #10734. [jlukas, kangax, Andrew Dupont] 2008-01-18 04:52:38 +00:00
Andrew Dupont
4753cc82ec Reverted accidental change to dom.html. 2008-01-18 04:33:34 +00:00
Andrew Dupont
89cbe08e1c Fix Element#descendantOf logic in IE. Closes #10413. [martymix, kamil.szot] 2008-01-18 04:31:23 +00:00
Tobie Langel
7052c5a60c prototype: Fix missing var in Element#insert. Closes #10838. 2008-01-17 16:41:34 +00:00
Tobie Langel
f530309461 prototype: fix Unit.Test.Assertions#assertHidden message. 2008-01-14 15:37:30 +00:00
Tobie Langel
584acba3b2 prototype: Add Test.Unit.MessageTemplate class. Add flunk, buildMessage and assertBlock methods to Test.Unit.Assertions. Refactor accordingly. 2008-01-14 14:16:27 +00:00
Tobie Langel
7cd956d9c4 prototype: Remove useless binding in Template#evaluate. 2008-01-14 01:38:28 +00:00
Tobie Langel
ac48714ada prototype: Make Object.inspect more robust. 2008-01-14 01:22:37 +00:00
Tobie Langel
cc69b9c614 prototype: Add a description to :test and :dist rake tasks. 2008-01-07 19:24:18 +00:00
Tobie Langel
a246e777f5 prototype: Fix Selector.matchElements to allow for coma-separated selectors in Element#up/next/previous and Event#findElement. 2008-01-06 21:49:16 +00:00
Tobie Langel
e9be4660e1 prototype: unittest.js cleanup. 2008-01-06 07:38:02 +00:00
Tobie Langel
c48c1496ec prototype: forgot a semicolon. 2008-01-06 00:44:18 +00:00
Tobie Langel
0008fe4aed prototype: Test.Unit refactoring. Allow running multiple instances of Test.Unit.Runner on the same page. Allow rake to run specific testcases. Closes #10704, #10705, #10706. 2008-01-06 00:34:39 +00:00
Tobie Langel
7c86e29805 prototype: Optimize property detection of outerHTML. Avoids triggering FOUC in Safari 3.0.4. Closes #10702. 2008-01-04 23:56:27 +00:00
Tobie Langel
6f0def19c5 prototype: Add document.loaded, a boolean that is set to true once dom:loaded is fired. 2008-01-04 00:30:53 +00:00
Tobie Langel
b4735bca7c prototype: Make Element#insert standard-compliant. Fixes an issue in FF3b2 when inserting HTML or text inside DOM nodes which aren't (yet) appended to the document. 2008-01-03 01:50:36 +00:00
Tobie Langel
f553d2210e prototype: Add some missing semicolons to the source tree. Closes #10659. 2007-12-31 16:16:14 +00:00
Tobie Langel
a427d4a1b0 prototype: jstest.rb cleanup. 2007-12-30 11:16:15 +00:00
Tobie Langel
c9a07576be prototype: Ensure Ajax.Response#getHeader returns null for missing headers in Opera. 2007-12-30 10:59:23 +00:00
Tobie Langel
143b13d069 prototype: Allow WEBrick to simulate slow or dropped connections and to ease Ajax request inspection. 2007-12-30 10:54:34 +00:00