waldemar%netscape.com
d8ce56167f
Implemented line-grammar
...
git-svn-id: svn://10.0.0.236/trunk@55217 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 22:51:27 +00:00
waldemar%netscape.com
ba77f32bb0
Implemented variant-constraints. Added all-state-transitions.
...
git-svn-id: svn://10.0.0.236/trunk@55216 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 22:50:45 +00:00
waldemar%netscape.com
74631d734b
Changed comments
...
git-svn-id: svn://10.0.0.236/trunk@55215 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 22:49:36 +00:00
waldemar%netscape.com
79877efe0c
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@55214 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 22:49:10 +00:00
waldemar%netscape.com
732ca99228
Added :sort-key to sorted-hash-table-keys
...
git-svn-id: svn://10.0.0.236/trunk@55213 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 22:48:52 +00:00
norris%netscape.com
3b2f68d99a
Fix regressions.
...
git-svn-id: svn://10.0.0.236/trunk@55211 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 21:50:42 +00:00
rogerl%netscape.com
a0cd849978
Switch to ECMA error.
...
git-svn-id: svn://10.0.0.236/trunk@55155 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 02:58:29 +00:00
rogerl%netscape.com
9abcd79da8
Don't let Undefined prototype be assigned to new objects, revert to Object
...
instead. Also, detect Undefined prototype in hasInstance and bail.
git-svn-id: svn://10.0.0.236/trunk@55123 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:10:36 +00:00
norris%netscape.com
12f1c79c88
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 ///////////////////////////////////////////////
git-svn-id: svn://10.0.0.236/trunk@55119 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:04:46 +00:00
fur%netscape.com
9520efcc7a
Fix 20594: C++ comments in C files
...
git-svn-id: svn://10.0.0.236/trunk@55101 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:41:02 +00:00
norris%netscape.com
67b2b41af0
remove invalid test
...
git-svn-id: svn://10.0.0.236/trunk@55077 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 20:04:48 +00:00
norris%netscape.com
34b0e9dc86
EvaluatorExceptions should set an exit error code.
...
git-svn-id: svn://10.0.0.236/trunk@55075 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 19:12:34 +00:00
norris%netscape.com
d129821369
Pass a scope to ScriptRuntime.call so we can throw EcmaErrors if need be.
...
git-svn-id: svn://10.0.0.236/trunk@55074 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 18:17:22 +00:00
waldemar%netscape.com
5697c39c4b
NOT IN BUILD. Added strdup to make Mac standalone js engine work again
...
git-svn-id: svn://10.0.0.236/trunk@55008 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:05:14 +00:00
waldemar%netscape.com
9056e8e1e9
Fix to bug 17263: toPrecision when called with no arguments. r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@55007 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:04:31 +00:00
rogerl%netscape.com
7af4dd377e
Added missing null scope parameter.
...
git-svn-id: svn://10.0.0.236/trunk@54995 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 01:33:22 +00:00
rogerl%netscape.com
206f778c8d
Passing scope down into parser/IRFactory/NodeTransformer so that syntax
...
errors can be packaged as ECMA Error objects.
git-svn-id: svn://10.0.0.236/trunk@54985 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 01:16:02 +00:00
rogerl%netscape.com
63d2572917
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.
git-svn-id: svn://10.0.0.236/trunk@54962 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 23:12:58 +00:00
norris%netscape.com
9d79d50820
Fix js1_3/regress/in-001.js
...
git-svn-id: svn://10.0.0.236/trunk@54919 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 18:43:12 +00:00
norris%netscape.com
a4006c50ef
Fix test ecma_2/Exceptions/string-001.js
...
git-svn-id: svn://10.0.0.236/trunk@54918 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 18:05:49 +00:00
rginda%netscape.com
908f796b86
Testcase produced no output is no longer a failure.
...
git-svn-id: svn://10.0.0.236/trunk@54877 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 06:29:27 +00:00
rginda%netscape.com
96ab5555eb
Added new ecma_3 suite. along with 'new style' (hopefully simpler) shell.js, and
...
a new test (which fails already!)
git-svn-id: svn://10.0.0.236/trunk@54872 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 06:07:28 +00:00
waterson%netscape.com
e85a4b93d4
xpconnect is a component now on Linux/PPC, albeit a broken one...
...
git-svn-id: svn://10.0.0.236/trunk@54870 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 05:20:16 +00:00
brendan%mozilla.org
51687cf23b
Fix obscure eval bug and ECMA conformance issue (20256, r=rginda@netscape.com).
...
git-svn-id: svn://10.0.0.236/trunk@54865 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 04:30:04 +00:00
rogerl%netscape.com
58c25045be
Call createFunctionObject on closure created InterpretedFunction objects
...
so they can be real JS objects like they're supposed to be -with prototypes
and everything.
git-svn-id: svn://10.0.0.236/trunk@54847 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 02:45:58 +00:00
drapeau%eng.sun.com
53f0f48043
My bad: orphaned code fix for bug 5369. The rest of this bug fix was
...
checked in some time ago, but this portion of the fix never made it
it. r=drapeau@eng.sun.com . Log error when LiveConnect cannot be
started due to an error in the Java VM.
git-svn-id: svn://10.0.0.236/trunk@54841 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 01:43:16 +00:00
drapeau%eng.sun.com
8f88c967d6
Fix for bug 14666 ("Running this JavaToJavaScript test causes
...
apprunner to crash."), fix contributed by
jeff.dyer@compilercompany.com , r=drapeau@eng.sun.com . Checks whether
there's a current valid context; if there's no context, don't bother
checking if an exception is pending on that context.
git-svn-id: svn://10.0.0.236/trunk@54834 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:44:08 +00:00
jband%netscape.com
f864a0ff3d
My contribution to bug 5403. Get rid of xpconnect's ServiceReleaser scheme because we can now just call Release on a service just like any other xpcom object. r=mccabe
...
git-svn-id: svn://10.0.0.236/trunk@54830 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 00:27:09 +00:00
norris%netscape.com
eb56ef0b80
anal: fix indentation
...
git-svn-id: svn://10.0.0.236/trunk@54817 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:54:51 +00:00
rginda%netscape.com
56df13b9c5
Added liveconnect option to runtests2.pl, there are now so many shells supported that the -e|--engine=<type> option has replaces all the individual engine options, such as -d, -o, and -r.
...
Updated bugnumber in the function-001(-n)?.js files, and minor simplification in the 10.1.3 testcase.
git-svn-id: svn://10.0.0.236/trunk@54778 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:16:34 +00:00
rginda%netscape.com
e9cb2134b8
Defined __LITTLE_ENDIAN in fdlibm on x86 linux, fixes various Math object issues, r=rogerl@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@54651 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:43:03 +00:00
mccabe%netscape.com
fed797cf9d
Additional Date object APIS courtesy 'Chris' Houck. r=mccabe.
...
git-svn-id: svn://10.0.0.236/trunk@54650 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:42:07 +00:00
rginda%netscape.com
edb94a5acb
Changes to make list selection page work correctly on windows platform.
...
git-svn-id: svn://10.0.0.236/trunk@54615 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 22:31:45 +00:00
rogerl%netscape.com
7711fb73be
r=norris
...
Moved 'ok' to MatchState. Re-wrote matchGreedyKid to reduce stack
usage and allow succesful completion to propagate out. #9141
git-svn-id: svn://10.0.0.236/trunk@54605 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 22:06:22 +00:00
bryner%uiuc.edu
441b7717d1
Minor changes to fix building on Linux with --enable-oji. r=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@54571 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 20:27:00 +00:00
brendan%mozilla.org
aac42b0e3f
Destroy rt->stateChange condvar (also trim deadwood; 20168, r=beard@netscape.com).
...
git-svn-id: svn://10.0.0.236/trunk@54540 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 19:56:52 +00:00
brendan%mozilla.org
49a807da2d
Fix decompiler to search function clone prototypes for args and vars (20160, r=rginda@netscape.com).
...
git-svn-id: svn://10.0.0.236/trunk@54531 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 09:46:33 +00:00
warren%netscape.com
eb9a891946
Eliminated the libs build pass.
...
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
brendan%mozilla.org
ca2032e66d
Eliminate Closure per ECMA ed. 3, fix brutal sharing of lambdas (20076, r=rogerl,shaver).
...
git-svn-id: svn://10.0.0.236/trunk@54474 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 03:25:30 +00:00
shaver%netscape.com
3676f93091
- report function name, if any, when warning about mismatched return
...
- change catchguard syntax to avoid ECMA conflict
- light XDR cleanup
git-svn-id: svn://10.0.0.236/trunk@54364 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 03:36:25 +00:00
rginda%netscape.com
f486d713bc
* Makefile
...
Add target for windows systems.
* runtests2.pl
Add xpcshell option, no longer requires \n at end of list file.
* ecma/ExecutionContexts/10.1.3.js
Reformatted.
git-svn-id: svn://10.0.0.236/trunk@54331 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 22:35:35 +00:00
norris%netscape.com
b275a73219
delete of non-reference just evaluates to true.
...
git-svn-id: svn://10.0.0.236/trunk@54290 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 17:36:17 +00:00
norris%netscape.com
34673b8f9e
Add ConversionError and make it work for undefined.foo.
...
git-svn-id: svn://10.0.0.236/trunk@54288 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 17:30:31 +00:00
norris%netscape.com
13ceb50706
Remove commented-out code.
...
git-svn-id: svn://10.0.0.236/trunk@54287 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 17:29:53 +00:00
norris%netscape.com
412d0add5a
Fix formatting.
...
git-svn-id: svn://10.0.0.236/trunk@54286 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 17:29:34 +00:00
jband%netscape.com
170ebb1f69
fixup the exported api declarations to use JS_PUBLIC_API in a consistent fashion r=mccabe
...
git-svn-id: svn://10.0.0.236/trunk@54224 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 01:02:28 +00:00
norris%netscape.com
4e4fe42d78
Fix test failures:
...
ecma_2/Exceptions/expression-020.js
js1_4/Regress/date-001-n.js
js1_4/Regress/toString-001-n.js
git-svn-id: svn://10.0.0.236/trunk@54214 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 23:48:06 +00:00
rginda%netscape.com
61f33305f8
Return exitcode 3 on runtime errors, and 4 on 'file not found's; added to js and xpc shell,
...
r=jband
git-svn-id: svn://10.0.0.236/trunk@54208 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 23:28:58 +00:00
norris%netscape.com
f6b5e55922
Fix
...
Testcase ecma_2/Exceptions/expression-020.js failed
Failure messages were:
result = this.eval("NaN") (threw No exception thrown) = NaN FAILED! expected: Passed
git-svn-id: svn://10.0.0.236/trunk@54157 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 19:35:59 +00:00
norris%netscape.com
c792dc00f2
'thisArg' could be null, so use 'fun' for scope.
...
git-svn-id: svn://10.0.0.236/trunk@54156 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 19:35:20 +00:00