1849 Commits

Author SHA1 Message Date
rginda%netscape.com
0c1eb4f76c * jsDriver.pl
Turn off trace by default (oops)
  Fix test list/ skil list output


git-svn-id: svn://10.0.0.236/trunk@55480 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:38:23 +00:00
rginda%netscape.com
0875663ade Moved test from js1_2 section
git-svn-id: svn://10.0.0.236/trunk@55478 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:32:25 +00:00
rogerl%netscape.com
b7d94f969c version() must have int type argument.
Fixed VERSION setting to match shell.js
Fixed 'pass!' string to match 'pass'


git-svn-id: svn://10.0.0.236/trunk@55457 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:47:51 +00:00
rogerl%netscape.com
1f742a3284 version() must have int type argument.
Fixed VERSION setting to match expected string in shell.js


git-svn-id: svn://10.0.0.236/trunk@55456 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:46:46 +00:00
rogerl%netscape.com
f23980eeb6 version() must have int type argument
git-svn-id: svn://10.0.0.236/trunk@55455 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:45:53 +00:00
norris%netscape.com
c99a01bbd4 Fix ecma_3/ExecutionContexts/10.1.4-1.js
git-svn-id: svn://10.0.0.236/trunk@55429 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 19:03:21 +00:00
rginda%netscape.com
6130dcc35b * README-jsDriver.html
Minor wording changes.

* jsDriver.pl
  Display negative list in output, fix display of test list as part of output (which was broken by the multiple test-list change)
  Added hours field in tastcase duration output (man that sparc20 is slow.)


git-svn-id: svn://10.0.0.236/trunk@55393 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 04:29:18 +00:00
rginda%netscape.com
ec40cdfc6a Backing out.
git-svn-id: svn://10.0.0.236/trunk@55334 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 04:34:15 +00:00
rginda%netscape.com
f775b525e1 Checking in JS Component changes for shaver
"<shaverAway> slamm reviewed, I made the diff, it's a tested fix"
I built and ran here as well.


git-svn-id: svn://10.0.0.236/trunk@55331 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 03:36:59 +00:00
rginda%netscape.com
a2d6c52697 * runtests2.pl was renamed to jsDriver.pl
jsDriver.pl now supports multiple lists to be specified in the -l argument,
and directory names as well.  Directory names can also be used in list files.
'Negative' lists are supported as well.  They consist of a list of tests to skip, and are of the same format as the regular lists.

* README-jsDriver.html
  man-like html page describing how to use jsDriver.pl


git-svn-id: svn://10.0.0.236/trunk@55327 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 02:15:22 +00:00
waldemar%netscape.com
23207ef36f Clean grammars on allegro to save memory
git-svn-id: svn://10.0.0.236/trunk@55277 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 05:04:08 +00:00
waldemar%netscape.com
77c4947349 Added canonical LR(1) grammars and grammar cleaning
git-svn-id: svn://10.0.0.236/trunk@55276 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 05:03:20 +00:00
waldemar%netscape.com
2ced75f311 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@55275 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 05:01:34 +00:00
waldemar%netscape.com
394c83b71d File Removed.
git-svn-id: svn://10.0.0.236/trunk@55274 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 05:01:06 +00:00
beard%netscape.com
d194832bb2 removed NativeClosure.java.
git-svn-id: svn://10.0.0.236/trunk@55237 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 00:32:16 +00:00
norris%netscape.com
6631edc16e Fix instanceof.
git-svn-id: svn://10.0.0.236/trunk@55235 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 00:21:41 +00:00
norris%netscape.com
82eaf33e41 clean up tests
git-svn-id: svn://10.0.0.236/trunk@55231 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 23:54:36 +00:00
norris%netscape.com
e050a38db8 eval() called indirectly should throw an EvalError
git-svn-id: svn://10.0.0.236/trunk@55228 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 23:44:58 +00:00
norris%netscape.com
dd16ebd747 Fix ecma_2/Exceptions/exception-006.js
git-svn-id: svn://10.0.0.236/trunk@55224 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 23:32:46 +00:00
norris%netscape.com
3b147ba16a Remove spurious quote
git-svn-id: svn://10.0.0.236/trunk@55222 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 23:17:43 +00:00
norris%netscape.com
8a8f67d122 VAR --> var
git-svn-id: svn://10.0.0.236/trunk@55221 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 23:16:23 +00:00
waldemar%netscape.com
8d2a10ff82 Implemented line-grammar and added utility functions for analyzing grammar state table
git-svn-id: svn://10.0.0.236/trunk@55219 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 22:53:21 +00:00
waldemar%netscape.com
a38c51c58b Implemented variant-constraints
git-svn-id: svn://10.0.0.236/trunk@55218 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 22:52:18 +00:00
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