Commit Graph

682 Commits

Author SHA1 Message Date
Andrew Dupont a1d89b4503 Fixed a faulty variable assignment, the result of my own idiocy last week. 2008-04-04 12:55:59 -05:00
Andrew Dupont 1c00700894 Fix parentheses. 2008-03-31 13:58:10 -05:00
Andrew Dupont ab8cc48b8d Account for context to assure Element#down, et al., work properly with Selectors API. 2008-03-31 12:51:44 -05:00
Andrew Dupont ee52460014 Refactored unittest.js so that it does not rely on Selector methods. (Easier to debug Selector test failures.) 2008-03-31 12:07:46 -05:00
Andrew Dupont d13a93882c Fix issue where Safari improperly reports an element as a descendant of itself. 2008-03-30 21:02:47 -05:00
Andrew Dupont a3f7b712c3 Greatly simplify IE's implementation of Element#descendantOf. 2008-03-30 20:07:47 -05:00
Andrew Dupont b03d4d40a0 Merge branch 'master' of git@github.com:sstephenson/prototype 2008-03-29 22:23:50 -05:00
Andrew Dupont 7062189fed Added Prototype.BrowserFeatures.SelectorsAPI boolean. 2008-03-29 22:21:58 -05:00
Andrew Dupont 35a70710b0 Prevent exception when using Selector to search for an attribute that is not present. 2008-03-28 13:31:36 -05:00
Andrew Dupont 55e5d645e1 Fix issues where Firefox improperly returns the wrong node from a call to Event.element. Also fixes possible exception in Event.element in IE. 2008-03-28 13:13:16 -05:00
Andrew Dupont 0c676269e9 Fix issue where Safari 3 deletes custom properties from the document object when the page is returned to via the back button. 2008-03-28 12:48:42 -05:00
Andrew Dupont d238a55586 Added 'prototype.js' to dist/.gitignore so it won't get added on checkins. 2008-03-27 15:00:35 -05:00
Andrew Dupont 8e5eede8f8 Adding empty .gitignore file so that 'dist' directory will be recognized by git. 2008-03-27 11:52:42 -05:00
Andrew Dupont 03c1530014 Integrate support for the W3C Selectors API into the Selector class. Will now use the API when possible (browser supports the API *and* recognizes the given selector). Means minor changes to the semantics of :enabled, :disabled, and :empty in order to comply with CSS spec. 2008-03-27 01:18:15 -05:00
Tobie Langel 855e27311d prototype: Avoid re-extending element in Element#getDimensions. 2008-03-19 14:04:52 +00:00
Tobie Langel 598387f137 prototype: Prevent Hash#toQueryString from serializing objets. 2008-03-19 13:01:47 +00:00
Tobie Langel 32b1b6b7cd prototype: Fix Event#pointer in IE standard mode. Closes #9920. 2008-03-19 07:01:49 +00:00
Andrew Dupont 6a2d81ce62 Fixed an improperly-encoded apostrophe in a comment. 2008-03-17 15:59:58 +00:00
Tobie Langel 78c4b99df7 prototype: Instanciate Test.Unit.Logger on window load. 2008-03-16 20:00:07 +00:00
Tobie Langel 2ab483b695 prototype: unit tests clean-up. 2008-03-16 19:47:17 +00:00
Tobie Langel 6bae548e0a prototype: Refactor String#escapeHTML to avoid using the with statement. 2008-03-16 19:08:34 +00:00
Tobie Langel c01cb850c1 prototype: Remove usage of the statement from unit tests. 2008-03-16 18:53:51 +00:00
Tobie Langel 87ce1533e4 prototype: Complete rewrite of the deprecation helper. 2008-03-15 16:43:00 +00:00
Tobie Langel addfdef8ff prototype: Make Element#writeAttribute handle frameborder attribute in IE. Closes #11068. 2008-03-09 08:05:29 +00:00
Tobie Langel 359e8810de prototype: Minor clean-up of selector.js. Closes #10844. 2008-03-09 07:27:02 +00:00
Tobie Langel c7e0a3d93c prototype: Make String#unescapeHTML strip tags in IE. Closes #10173. 2008-03-09 07:21:45 +00:00
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