Commit Graph

389 Commits

Author SHA1 Message Date
Juriy Zaytsev
01a229011a Avoid repeating declaration statements. 2009-11-11 17:32:19 -05:00
Tobie Langel
bf8e404805 Make Event.stopObserving return element in all cases. [#810 state:resolved] 2009-10-23 07:49:57 +02:00
Juriy Zaytsev
3b525f194d String#startsWith, String#endsWith performance optimization [#808 state:resolved] 2009-09-28 19:21:37 -04:00
Tobie Langel
f405b2c510 Bump version to 1.6.1. 2009-08-24 00:58:06 +02:00
Tobie Langel
94747c579f Avoid triggering a warning when Java is disabled in IE8. [#668 state:resolved] 2009-08-23 23:24:36 +02:00
Tobie Langel
de9ba09371 Updated changelog. 2009-08-12 01:31:35 +02:00
Tobie Langel
d88aef3a55 Add missing semicolons. [#751 state:resolved] 2009-07-30 02:16:39 +02:00
Juriy Zaytsev
41b034b93b Improve getClass performance. [#747 state:resolved] 2009-07-29 15:04:39 +02:00
Tobie Langel
49090bc957 Workaround IE's defficient handling of finally statements in PeriodicalExecuter. [#696 state:resolved] 2009-07-21 17:19:46 +02:00
Andrew Dupont
e41ccba6d8 Re-throw error in otherwise-empty catch clause so that PeriodicalExecuter does not suppress exceptions. [#696 state:resolved] (Samuel Lebeau) 2009-07-18 18:51:16 +02:00
Andrew Dupont
f4570f39d7 Fix issue related to escaping of selectors for querySelectorAll. [#559 state:resolved] 2009-07-13 14:12:18 +02:00
Andrew Dupont
4586adff0b Bump version number. 2009-06-16 16:37:50 -05:00
Tobie Langel
ad89bfb738 Fixed a variety of non-ASCII chars and similar [#610 state:resolved] 2009-06-11 22:48:38 +02:00
Juriy Zaytsev
6e4a3cdec8 Add Chrome 1+ to the list of supported browsers
Conflicts:

	CHANGELOG
2009-06-10 18:44:55 -04:00
Juriy Zaytsev
b2492aeec4 Fix Template#evaluate "eating" previous character if null was returned from toTemplateReplacements function. 2009-06-04 23:14:05 -05:00
Juriy Zaytsev
d655665fb6 Make sure (defficient) APPLET, OBJECT and EMBED elements are extended with simulated methods in IE8. Return early if _extendedByPrototype is present on an element. 2009-06-04 23:11:06 -05:00
Juriy Zaytsev
703e988745 Replace array creation and Array#include with a more efficient RegExp#test 2009-06-04 23:07:41 -05:00
Juriy Zaytsev
7d02aef6ca Reorganize the way ElementExtensions are defined. Make sure elements used in SpecificElementExtensions are cleaned up. 2009-06-04 23:01:47 -05:00
Juriy Zaytsev
31fe0a0328 Make sure $A works with primitive values. 2009-05-15 22:05:53 -05:00
Juriy Zaytsev
cebf7d673b Do not browser sniff when forking unmark function in selector suite. Instead use a proper test - PROPERTIES_ATTRIBUTES_MAP. 2009-05-15 22:04:21 -05:00
Juriy Zaytsev
74374347c1 Do not use short-hand element methods notation (@element.getStyle() -> Element.getStyle(@element)) for performance reasons. Do not use $A and Array.prototype.shift when Array.prototype.slice can be used instead. 2009-05-15 22:02:51 -05:00
Andrew Dupont
c44a071a3f Prototype.Browser.Opera now uses stronger inference and is determined by [[Class]] of window.opera being - "Opera". (kangax) 2009-05-15 21:50:32 -05:00
Andrew Dupont
6f6b73cc75 Fix error in event.js which prevented attaching more than one responder for an event name/element combination. [#651 state:resolved] (Rob Lineweaver) 2009-05-02 13:48:41 -05:00
Juriy Zaytsev
c480bd7b97 Do not sniff when testing for IE's proprietary mouseenter/mouseleave events support. Use more robust inference instead. 2009-03-28 19:45:33 -04:00
Andrew Dupont
fd46f6bbcf Bump version number. 2009-03-27 17:59:59 -05:00
Juriy Zaytsev
6c38d84254 Revert Opera title fix 2009-03-25 01:19:28 -04:00
Juriy Zaytsev
3e3b470009 Use feature testing in Element#readAttribute when taking care of Opera's getAttribute('title') quirk 2009-03-24 23:33:17 -04:00
Juriy Zaytsev
d4c182c03d Use Prototype.emptyFunction consistently throughout unit tests. [#253 state:resolved] 2009-03-24 07:59:32 -04:00
Tobie Langel
827e6ee1ae deprecation extension: mark Array#reduce() as removed. [#569 state:resolved] (Tobie Langel) 2009-03-23 16:06:01 +01:00
Juriy Zaytsev
0b4e142d8a Form.serialize now works safely with forms that have "length"-named elements. [#77 state:resolved] 2009-03-23 00:15:34 -04:00
Juriy Zaytsev
71a8663370 Element#update now takes care of SCRIPT elements in IE. [#573 state:resolved] 2009-03-22 19:04:04 -04:00
Juriy Zaytsev
2c986d8eaf Remove unused local variables. Fix failing form test. 2009-03-22 10:53:08 -04:00
Juriy Zaytsev
fa15f212fa Fix escapeHTML in Chrome by using a more strict check. 2009-03-22 01:12:45 -04:00
Juriy Zaytsev
dee8a1010c Fix faulty DOM test. 2009-03-21 22:23:14 -04:00
Juriy Zaytsev
0e63247604 Make Element.extend take care of IE8 HTMLAppletElement and HTMLObjectElement objects bug. 2009-03-21 22:10:03 -04:00
Juriy Zaytsev
eaa8b949c8 Fix another DOM test to pass in IE8. 2009-03-21 21:09:55 -04:00
Juriy Zaytsev
06068431f7 Fix for/htmlFor translation in IE8 2009-03-20 18:08:34 -04:00
Juriy Zaytsev
30c1935cdb Fix writeAttribute and readAttribute failures in IE8. Use proper feature testing when taking care of getAttribute/setAttribute glitches. 2009-03-20 17:33:56 -04:00
Juriy Zaytsev
25a38aa717 resolve conflict 2009-03-20 16:27:28 -04:00
Juriy Zaytsev
a97c044361 Remove sniffing from one of the DOM tests, making it pass in IE8. 2009-03-20 16:26:08 -04:00
Juriy Zaytsev
4b9bf985a2 Fix Form.reset test in IE 2009-03-20 16:23:38 -04:00
Juriy Zaytsev
88d7671f0d Fix Form.reset test in IE 2009-03-20 16:10:39 -04:00
Juriy Zaytsev
b34355653e Remove Array#reduce [#569 state:resolved] 2009-03-20 12:05:02 -04:00
Juriy Zaytsev
c7a5d3480e Make sure try/catch/finally is used instead of try/finally [#421 state:resolved] 2009-03-19 16:47:07 -04:00
Juriy Zaytsev
1a375daea2 Remove sniffing from $A by using in operator when accessing property of a nodelist. 2009-03-19 16:22:37 -04:00
Andrew Dupont
4fefe32876 Add Element#clone as a safe wrapper of native cloneNode. (Andrew Dupont, kangax) 2009-03-10 12:22:56 -05:00
Andrew Dupont
8f697f3e85 Add tests to ensure IE8 properly assigns a class name in the Element constructor. [#529 state:resolved] (Riki Fridrich, Andrew Dupont) 2009-03-08 20:27:38 -05:00
Andrew Dupont
fa12b00111 Remove sniffing from Element when detecting broken setAttribute in IE. [#571 state:resolved] (kangax) 2009-03-08 18:18:55 -05:00
Andrew Dupont
ba2c26090b Remove sniffing from Element.update branching in favor of feature detection. [#574 state:resolved] 2009-03-08 18:16:02 -05:00
Andrew Dupont
7833e8c909 Remove sniffing when branching escapeHTML and unescapeHTML. [#570 state:resolved] (kangax) 2009-03-08 18:02:09 -05:00