Commit Graph

769 Commits

Author SHA1 Message Date
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
Tobie Langel f0d54a48bd prototype: Ensure Ajax.Response#getHeader returns null for missing headers. 2007-12-29 11:09:43 +00:00
Tobie Langel 5a37860ffb prototype: Ensure creates an empty array when its argument's length is undefined. Closes #10574 2007-12-20 15:47:32 +00:00
Tobie Langel 23f7cb642c prototype: Fix incorrect variable declaration in Event.fire. Closes #10329. 2007-12-20 13:10:42 +00:00
Andrew Dupont c691de7810 Fix the way Selector handles [pseudoclass + combinator] with no space in between. Closes #9696. [kangax, fearphage, Andrew Dupont] 2007-12-20 00:17:24 +00:00
Andrew Dupont cb239625b3 Optimize Element#up/down/next/previous. Closes #10353. [Dylan Bruzenak, Nick Stackenburg, Andrew Dupont] 2007-12-19 23:43:48 +00:00
Andrew Dupont 6f0e0ad649 Handle case-sensitivity in Selector tag names better. Closes #5052. [mexx, Andrew Dupont] 2007-12-19 23:32:21 +00:00
Sam Stephenson 804b99fb77 prototype: Bump to 1.6.0.1 2007-12-05 03:01:15 +00:00
Andrew Dupont 4d3ebf0912 Change document.viewport.getDimensions to exclude scrollbars in all cases. Closes #10148, #9288. [Nick Stackenburg] 2007-12-04 04:28:27 +00:00
Andrew Dupont ae76169baf Add logic to Element#getStyle in Opera that fixes inaccurate reporting of computed 'width' and 'height' properties. [Andrew Dupont] 2007-12-04 04:03:56 +00:00
Andrew Dupont 3e82a712d1 Changed some unit tests to filter out false test failures in Opera. 2007-12-04 03:58:44 +00:00
Andrew Dupont f869020f05 Oops, correcting previous checkin 2007-12-04 01:57:26 +00:00
Andrew Dupont 08a68b1b3a Updated a Selector test to reflect a recent bug fix. 2007-12-04 01:53:56 +00:00
Sam Stephenson 769ae42fcc prototype: Ensure that an Ajax.Request's parameters option can be a Hash. Closes #10172. 2007-11-29 00:24:54 +00:00
Andrew Dupont c85285496b * Ensure no comment nodes are returned in Selector queries (IE improperly returns comment nodes on getElementsByTagName("*")). Change Element#descendants to use Element#getElementsBySelector in order to avoid this issue. Closes #10220. [Jeff Gobel, Andrew Dupont] 2007-11-27 18:43:56 +00: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
Andrew Dupont 26b8033295 * Fix a bug in the IE-specific Element#descendantOf logic. [Nicholas, Andrew Dupont] 2007-11-27 17:59:46 +00:00
Thomas Fuchs 6e080aa186 Add a test to check that defer handles arguments correctly 2007-11-23 11:55:42 +00:00
Tobie Langel 23823048d1 prototype: Prevent memory leaks in Ajax.PeriodicalUpdater. Closes #10049 2007-11-15 23:14:36 +00:00
Tobie Langel c371096a71 prototype: Remove useless variable in Selector.handlers.child. Closes #10006. 2007-11-15 22:21:08 +00:00
Tobie Langel d20cc77e0c prototype: Don't redeclare previously declared variables. Closes #10007 2007-11-15 22:15:24 +00:00
Tobie Langel 07a16464e8 prototype: use Object.isUndefined where possible. 2007-11-15 21:53:15 +00:00
Tobie Langel b058e24a05 prototype: Make String#isJSON return false for empty or blank strings. Make Ajax.Response#responseJSON null when Ajax.Response#responseText is empty or blank. 2007-11-15 19:37:26 +00:00
Tobie Langel f8ffe7b40f prototype: Make Ajax.Response#_getResponseJSON use Ajax.Response#responseText. 2007-11-15 14:02:25 +00:00
Tobie Langel 26b4b3aee5 prototype: add a test to event.html. 2007-11-14 12:49:56 +00:00
Tobie Langel 74c005c678 prototype: Remove the now redundant forked declaration of Hash#_each. 2007-11-14 11:56:15 +00:00
Tobie Langel 0b6a6e2f2f prototype: Ensure Event#fire always returns an extended event. Make Event#findElement's expression argument optional. Perf optimizations for Event#findElement. 2007-11-13 21:48:09 +00:00
Sam Stephenson a26b4d2ffa prototype: svn:ignore pkg and dist/*, closes #9705 2007-11-06 14:41:40 +00:00
Sam Stephenson 5ad3bad390 prototype: Version bump 2007-11-06 01:57:01 +00:00
Sam Stephenson 9b78edb9de prototype: Fix Class#addMethods for "toString" and "valueOf" methods in Internet Explorer. Closes #9901. 2007-11-06 01:44:24 +00:00
Andrew Dupont b14c9afa58 Exclude Opera from using the sourceIndex approach in Element#descendantOf. [Tobie Langel, Andrew Dupont] 2007-11-05 17:54:13 +00:00
Tobie Langel d6b843c9cb Ensure Element#hasClassName always returns a boolean. Closes #10075. 2007-11-05 17:43:56 +00:00
Andrew Dupont 8cd85d12a2 Ensure selectors of the form "[href]" (attribute token with no preceding tag name) work properly. Closes #8870. [chao, kangax, Andrew Dupont] 2007-11-05 17:11:41 +00:00
Andrew Dupont e457edbcf4 Simplified the bitmask in Element#descendantOf. 2007-11-01 19:06:02 +00:00
Andrew Dupont 7cf17c7bec Performance optimizations for Element#descendantOf. Costliness should no longer be dependent on the difference in depth between the parent and the child. [Andrew Dupont] 2007-11-01 15:11:52 +00:00
Thomas Fuchs 916cbbaf4c Apply the workaround for the Firefox "blinking element" opacity=1 bug only to Firefox 1.5. 2007-10-29 23:06:15 +00:00
Andrew Dupont bb66a5eb9b Changelog entry for [8037]. 2007-10-26 19:20:47 +00:00
Andrew Dupont 67cf750956 Add event.stopped, a boolean that is set to when Event#stop is called. 2007-10-26 19:15:35 +00:00