pschwartau%netscape.com
f06074305e
Adding a comment
...
git-svn-id: svn://10.0.0.236/trunk@126195 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 00:13:00 +00:00
jdunn%netscape.com
26fec565e8
removing antiquated aix/jdk1.1.6 hackery
...
sr=brendan@mozilla.org
r=rogerl@netscape.com
a=asa@mozilla.org
# 158115
git-svn-id: svn://10.0.0.236/trunk@126154 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 11:04:21 +00:00
brendan%mozilla.org
ee9c693dce
khanson's patch with a comment elaboration for bug 157652 (r=rogerl, sr=me, a=rjesup).
...
git-svn-id: svn://10.0.0.236/trunk@126129 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 21:45:16 +00:00
dbradley%netscape.com
ecb84fbc69
Added makefile.in to prepare for nmake going away. This is built separately, not part of the mozilla build process.
...
git-svn-id: svn://10.0.0.236/trunk@126010 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 20:47:02 +00:00
brendan%mozilla.org
3950b292ff
Finally fix 137000, which requires working around an MSVC ISO-C violation ('identical COMDAT folding', 151066, r=brendan/jrgm, sr=bryner/shaver, a=asa).
...
git-svn-id: svn://10.0.0.236/trunk@125664 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 01:53:07 +00:00
rogerl%netscape.com
6042d2a155
Changed decimal escape handling to backward compatible rather than ECMA3
...
conforming. (Bug#158159)
git-svn-id: svn://10.0.0.236/trunk@125639 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 21:38:03 +00:00
brendan%mozilla.org
615fd435f4
Don't return 1 cast to JSProperty* for a property found in a non-LiveConnect prototype object (155740, r=rogerl, sr=jband, a=chofmann/blizzard/scc).
...
git-svn-id: svn://10.0.0.236/trunk@125516 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 22:00:03 +00:00
pschwartau%netscape.com
d61df3aa38
Initial add. Regression test for bug 141078.
...
git-svn-id: svn://10.0.0.236/trunk@125465 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 18:36:44 +00:00
seawood%netscape.com
5a25868f3a
Remove DARWIN define from osx builds as it cripples the feature set provided by OSX headers.
...
Bug #154232 r=wtc sr=scc a=scc
git-svn-id: svn://10.0.0.236/trunk@125440 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 04:09:30 +00:00
pschwartau%netscape.com
1c0c54a637
Skip testcase for bug 157652. Will not fix this in Rhino; the OOM error is reasonable.
...
git-svn-id: svn://10.0.0.236/trunk@125393 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 18:20:58 +00:00
pschwartau%netscape.com
bd64afa8ab
Changing summary text.
...
git-svn-id: svn://10.0.0.236/trunk@125324 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 21:35:30 +00:00
pschwartau%netscape.com
223e70cbbd
Initial add. Regression test for bug 157652.
...
git-svn-id: svn://10.0.0.236/trunk@125322 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 21:23:58 +00:00
igor%mir2.org
64213cbcf3
Serialization fixes to correctly restore members and related fields in NativeJavaClass.
...
git-svn-id: svn://10.0.0.236/trunk@125320 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 21:17:09 +00:00
igor%mir2.org
8b45eec30f
Fixing the bug 157196: custom serialization of ScriptableObject not to save deleted/empty slot.
...
git-svn-id: svn://10.0.0.236/trunk@125319 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 21:15:51 +00:00
igor%mir2.org
0b2c94950a
Checking for 1.2 version in toString for objects and arrays is replaced by calling cx.hasFeature(Context.FEATURE_TO_STRING_AS_SOURCE) to allow to control toString from applications without switching on other JS 1.2 features.
...
git-svn-id: svn://10.0.0.236/trunk@125302 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 17:42:18 +00:00
igor%mir2.org
f3367c89e9
I removed startString/getString and their support code as TokenStream uses its own buffer and fixed the bug 151337 which was cause by incorrect getLine
...
git-svn-id: svn://10.0.0.236/trunk@125301 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 17:37:46 +00:00
pschwartau%netscape.com
be4875d3c7
Initial add. Regression test for bug 58274.
...
git-svn-id: svn://10.0.0.236/trunk@125256 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 23:20:15 +00:00
pschwartau%netscape.com
4c78026770
Initial add. Testing identifiers with double-byte names; see bug 58274.
...
git-svn-id: svn://10.0.0.236/trunk@125254 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 23:15:52 +00:00
igor%mir2.org
55ae98c99d
I changed TokenStream to use internal buffer in place of LineBuffer#startString/getString to store currently read characters for identifiers, strings and numbers. For the price of yet another character coping it allows to simplify code logic especially regarding interaction with LineBuffer.
...
I also fixed http://bugzilla.mozilla.org/show_bug.cgi?id=157509
git-svn-id: svn://10.0.0.236/trunk@125229 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 18:49:42 +00:00
pschwartau%netscape.com
d896129cde
Correcting two sections of test.
...
git-svn-id: svn://10.0.0.236/trunk@125225 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 17:28:05 +00:00
pschwartau%netscape.com
5fb9b41f57
Expanding a comment for one section in greater detail.
...
git-svn-id: svn://10.0.0.236/trunk@125224 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 17:04:38 +00:00
pschwartau%netscape.com
4bb036ffe0
Initial add. Regression test for bug 157509.
...
git-svn-id: svn://10.0.0.236/trunk@125219 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 15:22:35 +00:00
pschwartau%netscape.com
e2aaf6643f
Comment edit.
...
git-svn-id: svn://10.0.0.236/trunk@125217 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 15:07:33 +00:00
pschwartau%netscape.com
cd52e68590
Added revision date + comment clean-up.
...
git-svn-id: svn://10.0.0.236/trunk@125216 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 15:06:37 +00:00
pschwartau%netscape.com
aa9222e54c
Correcting an error in the test. See bug 155291.
...
git-svn-id: svn://10.0.0.236/trunk@125193 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 00:40:14 +00:00
pschwartau%netscape.com
2aa4367266
Correcting errors in test. See bug 155289.
...
git-svn-id: svn://10.0.0.236/trunk@125192 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 00:29:37 +00:00
pschwartau%netscape.com
05b930589a
Correcting errors in the test. See bug 155289.
...
git-svn-id: svn://10.0.0.236/trunk@125191 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 00:04:22 +00:00
pschwartau%netscape.com
5a05ebc498
Correcting errors in the test. See bug 155289.
...
git-svn-id: svn://10.0.0.236/trunk@125190 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 23:57:03 +00:00
pschwartau%netscape.com
970893aaaf
Correcting an error in one section of the test. See bug 155285.
...
git-svn-id: svn://10.0.0.236/trunk@125189 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 23:42:23 +00:00
pschwartau%netscape.com
e7e5a1677a
Rhino has also decided to conform with SpiderMonkey on this test. Adding early return for Rhino as well.
...
git-svn-id: svn://10.0.0.236/trunk@125187 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 22:34:50 +00:00
pschwartau%netscape.com
3dd30e325a
Rhino has also decided to conform with SpiderMonkey on this test. Removing early return for Rhino.
...
git-svn-id: svn://10.0.0.236/trunk@125186 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-14 22:23:52 +00:00
rginda%netscape.com
175c89a2ea
bug 155838, "Infinite loop caused by strange code", r=peterv, sr=brendan, a=roc+moz@cs.cmu.edu
...
don't leave gDeadScripts pointing at garbage. May or may not fix the problem at hand, but is an improvement in either case.
git-svn-id: svn://10.0.0.236/trunk@125124 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 21:28:29 +00:00
igor%mir2.org
7368ef0536
Call to InterpretedFunction.construct is inlined to avoid argument array allocation.
...
git-svn-id: svn://10.0.0.236/trunk@125106 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 19:40:49 +00:00
igor%mir2.org
c95dcd43e0
Creation and initialization of new object in BaseFunction.construct is moved to a separated function createObject to simplify inlining of InterpretedFunction.construct in Interpreter
...
git-svn-id: svn://10.0.0.236/trunk@125105 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 19:39:57 +00:00
igor%mir2.org
63fd7c33bc
Added ObjToIntMap.intern()
...
git-svn-id: svn://10.0.0.236/trunk@125103 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 19:37:20 +00:00
brendan%mozilla.org
90ad3b5df3
Emulate IE6 by making RegExp.prototype match the empty string (156355, r=rogerl, sr=shaver, a=dbaron).
...
git-svn-id: svn://10.0.0.236/trunk@125078 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 04:54:57 +00:00
igor%mir2.org
b1fd9a85ef
When calling interpreted functions from Interpreter.interpret, pass current stack arrays to the callee to avoid creation of temporary argument arrays and wrapping double numbers into Double objects.
...
git-svn-id: svn://10.0.0.236/trunk@125033 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 21:17:34 +00:00
igor%mir2.org
9b1cfb6e2c
Optimizing encode/decode not to allocate temporary buffers if the result equals the original string
...
git-svn-id: svn://10.0.0.236/trunk@125032 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 21:10:36 +00:00
igor%mir2.org
deb429400d
Optimizing NativeGlobal.js_escape, ScriptRuntime.escapeString not to create StringBuffer if there are no character to escape in the initial string. Workaround for JDK 1.1 compiler bug in the initialization of ScriptRuntime.ComparableClass.
...
git-svn-id: svn://10.0.0.236/trunk@125021 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 18:45:16 +00:00
igor%mir2.org
3d6303bbd3
Fixing 136893: for(i in undefined), for(i in null) do not throw TypeError but treated as for(i in {})
...
git-svn-id: svn://10.0.0.236/trunk@125020 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 18:39:24 +00:00
pschwartau%netscape.com
47d45b3c19
Initial add. Based on examples from ECMA-262 Ed.3 spec, Section 15.10.2
...
git-svn-id: svn://10.0.0.236/trunk@124984 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 23:09:48 +00:00
igor%mir2.org
ceccecffc0
With Roger's <rogerl@netscape.com> new RegExp implementation Rhino passes:
...
js1_2/regexp/regress-9141.js
ecma_3/String/regress-104375.js
git-svn-id: svn://10.0.0.236/trunk@124980 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 22:14:48 +00:00
pschwartau%netscape.com
76021460f7
Skip testcase for bug 152646. Will not fix this in Rhino; too much of a corner case.
...
git-svn-id: svn://10.0.0.236/trunk@124973 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 21:03:07 +00:00
igor%mir2.org
d16d432af6
No more skiping of ecma/LexicalConventions/7.7.3.js, it works as DToA converts numbers to strings properly
...
git-svn-id: svn://10.0.0.236/trunk@124970 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 20:00:25 +00:00
brendan%mozilla.org
3e01415843
Fix GC_MARK_DEBUG (DEBUG only, r/sr=dbaron).
...
git-svn-id: svn://10.0.0.236/trunk@124930 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 03:01:32 +00:00
rogerl%netscape.com
8962e0aa5e
Fixes for bugs #155285 - Array.join(undefined) should use ','
...
#155289 - String.prototype.XXX.length has some wrong values
#155291 - RegExp properties should be DontEnum
Plus fix for matching against RegEXp captures with undefined value.
git-svn-id: svn://10.0.0.236/trunk@124891 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 22:28:52 +00:00
igor%mir2.org
250429589c
Examples now uses try {} finally { Context.exit(); } to release Context even in case of errors
...
git-svn-id: svn://10.0.0.236/trunk@124854 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 17:49:16 +00:00
brendan%mozilla.org
dbf788b8a5
Null-check prop before dropping it (156354, r=khanson, sr=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@124811 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 02:24:51 +00:00
brendan%mozilla.org
8c024b9f0a
Eliminate broken old pre-ECMA switch case compile-time evaluation (144834, r=khanson, sr=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@124803 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 02:15:49 +00:00
pschwartau%netscape.com
bb8f63af01
Trivial whitespace edit.
...
git-svn-id: svn://10.0.0.236/trunk@124790 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 00:48:13 +00:00