beard%netscape.com
b49ea8f4c9
added DTOA.java
2000-02-09 23:15:27 +00:00
rogerl%netscape.com
49e2fdfbfb
Changed implementation of toString(<base>) to use Waldemar's code from
...
SpiderMonkey.
2000-02-09 19:52:31 +00:00
norris%netscape.com
e221b94f7b
Remove unused private method.
2000-01-31 18:49:07 +00:00
norris%netscape.com
97ca106067
Propagate changes from Rhino150R1_BRANCH.
2000-01-27 17:35:29 +00:00
norris%netscape.com
da933ad300
Propagate changes from 1.5 branch.
2000-01-26 18:57:00 +00:00
beard%netscape.com
8d01d34630
changed all "try { s = (Scriptable) obj; } catch (ClassCastException e) {...}" to "if (obj instanceof Scriptable) { ... }". This will generally be more efficient NOT to use exception handling where instanceof will do.
2000-01-22 04:41:30 +00:00
beard%netscape.com
7e8572925e
fix case for anonymous functions.
2000-01-22 03:28:04 +00:00
norris%netscape.com
7092bd508b
Fix ecma_3/ExecutionContexts/10.1.3.js
...
r=rogerl
2000-01-20 20:59:56 +00:00
rogerl%netscape.com
be8d0da3f8
Bug #24023 , infinite loop in interpreter when catch clause has a throw.
...
This was caused by a previous bug fix in which I moved the try stack
decrement to the end of the catch clause because it was getting skipped
by the final statement in the try block (which is always a goto around the
catch block). Better is to make sure the endTry is the statment just before
that goto, and do the try stack decrement in the catch the way god intended.
2000-01-19 22:50:27 +00:00
rogerl%netscape.com
3d19609d66
Bug #23609 - optimization in IRFactory for post-increment was incomplete.
2000-01-19 19:32:45 +00:00
norris%netscape.com
a2be2fadf4
Fix icode printing for call opcodes.
2000-01-19 18:38:42 +00:00
norris%netscape.com
913e66ba3c
Propagate fix from branch.
2000-01-06 16:28:43 +00:00
rogerl%netscape.com
329f23093b
Need to update the value of newly created closure.
1999-12-24 00:49:44 +00:00
rogerl%netscape.com
0b84cb0f44
Clean-up message text
1999-12-23 00:16:07 +00:00
norris%netscape.com
881d203b8f
Fix Counter example.
1999-12-16 22:49:50 +00:00
norris%netscape.com
7d795f197b
Make it possible to report multiple errors.
1999-12-16 18:47:27 +00:00
norris%netscape.com
a155377984
Remove unused member variable.
1999-12-09 23:37:18 +00:00
beard%netscape.com
f32c492fc7
fixes case where an InterpretedFunction has both a closure and needs an activation.
1999-12-09 22:05:09 +00:00
rogerl%netscape.com
d5a5a0e7fc
smaller faster better - it'll probably burn up on entry.
1999-12-09 00:26:09 +00:00
rogerl%netscape.com
7b2b34b4b3
Added 'flat' argument to NewRegExp to force literal interpretation of
...
entire string.
1999-12-08 01:48:03 +00:00
rogerl%netscape.com
b75ab1c96c
Needed a quick-and-dirty constructor from a string.
1999-12-08 01:47:13 +00:00
rogerl%netscape.com
bcf6134bde
Added 'flat' argument to NewRegExp to force literal interpretation of
...
entire string.
Fixed String.replace to not coerce first arg to regexp.
Fixed behaviour of replace w.r.t. $
1999-12-08 01:46:43 +00:00
rogerl%netscape.com
4ce70bbabb
Added 'flat' argument to NewRegEXp to force literal interpretation of
...
entire string.
1999-12-08 01:44:08 +00:00
norris%netscape.com
698b9afdab
Fix ecma_3/ExecutionContexts/10.1.4-1.js
1999-12-06 19:03:21 +00:00
beard%netscape.com
a0069ee91f
removed NativeClosure.java.
1999-12-04 00:32:16 +00:00
norris%netscape.com
65135b7a4a
Fix instanceof.
1999-12-04 00:21:41 +00:00
norris%netscape.com
f1b3d47cb2
eval() called indirectly should throw an EvalError
1999-12-03 23:44:58 +00:00
norris%netscape.com
db8bea4b84
Fix ecma_2/Exceptions/exception-006.js
1999-12-03 23:32:46 +00:00
norris%netscape.com
9971f38d08
Fix regressions.
1999-12-03 21:50:42 +00:00
rogerl%netscape.com
93db42fecd
Switch to ECMA error.
1999-12-03 02:58:29 +00:00
rogerl%netscape.com
42ee9bb786
Don't let Undefined prototype be assigned to new objects, revert to Object
...
instead. Also, detect Undefined prototype in hasInstance and bail.
1999-12-03 00:10:36 +00:00
norris%netscape.com
c4c76975f6
Fix the following bug:
...
Subject:
Rhino request URGENT
Date:
Thu, 02 Dec 1999 15:58:40 -0500
From:
slobo@espialgroup.com
To:
Norris Boyd <norris@netscape.com>
References:
1 , 2
Hello Norris
In Rhino, the following script gives the error : "function does not always return a value" during the parsing phase. The script
runs perfectly fine in Netscape 4.61. It is an urgent requirement. Many thanks in advance.
Steven
///////////////////////////////////////////////////////SCRIPT BEGIN ///////////////////////////////////////////////
function test (a) {
this.arg = a;
if (a>20)
return;
return this;
}
//print = alert;
function joe() {
a = new test (20);
print (a.arg);
a = new test (25);
print (a.arg);
}
joe();
///////////////////////////////////////////////////////SCRIPT END ///////////////////////////////////////////////
1999-12-03 00:04:46 +00:00
norris%netscape.com
403430a7d3
EvaluatorExceptions should set an exit error code.
1999-12-02 19:12:34 +00:00
norris%netscape.com
413a71493b
Pass a scope to ScriptRuntime.call so we can throw EcmaErrors if need be.
1999-12-02 18:17:22 +00:00
rogerl%netscape.com
a75fb74671
Added missing null scope parameter.
1999-12-02 01:33:22 +00:00
rogerl%netscape.com
a7e0325cf6
Passing scope down into parser/IRFactory/NodeTransformer so that syntax
...
errors can be packaged as ECMA Error objects.
1999-12-02 01:16:02 +00:00
rogerl%netscape.com
741cf4ed39
Bug #19980 - insist on curly-brace after catch block rather than just
...
accepting it - forces error that allows catch block to span lines for
interactive input.
1999-12-01 23:12:58 +00:00
norris%netscape.com
051daf4abf
Fix js1_3/regress/in-001.js
1999-12-01 18:43:12 +00:00
norris%netscape.com
459c97e38a
Fix test ecma_2/Exceptions/string-001.js
1999-12-01 18:05:49 +00:00
rogerl%netscape.com
acd3c7ef86
Call createFunctionObject on closure created InterpretedFunction objects
...
so they can be real JS objects like they're supposed to be -with prototypes
and everything.
1999-12-01 02:45:58 +00:00
norris%netscape.com
92b89b162f
anal: fix indentation
1999-11-30 23:54:51 +00:00
norris%netscape.com
d6faee6812
delete of non-reference just evaluates to true.
1999-11-23 17:36:17 +00:00
norris%netscape.com
0912f3ec41
Add ConversionError and make it work for undefined.foo.
1999-11-23 17:30:31 +00:00
norris%netscape.com
54e442adf3
Remove commented-out code.
1999-11-23 17:29:53 +00:00
norris%netscape.com
eb5865d934
Fix formatting.
1999-11-23 17:29:34 +00:00
norris%netscape.com
504a2557ce
Fix test failures:
...
ecma_2/Exceptions/expression-020.js
js1_4/Regress/date-001-n.js
js1_4/Regress/toString-001-n.js
1999-11-22 23:48:06 +00:00
norris%netscape.com
ce59129ab9
Fix
...
Testcase ecma_2/Exceptions/expression-020.js failed
Failure messages were:
result = this.eval("NaN") (threw No exception thrown) = NaN FAILED! expected: Passed
1999-11-22 19:35:59 +00:00
norris%netscape.com
c6f15cb391
'thisArg' could be null, so use 'fun' for scope.
1999-11-22 19:35:20 +00:00
norris%netscape.com
865f66a07b
Fix ecma_2/Expressions/instanceof-003-n.js
...
ScriptRuntime::instanceOf now needs a scope parameter that it can use to construct an exception object
1999-11-20 00:19:00 +00:00
norris%netscape.com
0a7318f579
argument.caller shouldn't be defined in the default version
1999-11-19 23:02:52 +00:00