Commit Graph

1537 Commits

Author SHA1 Message Date
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
waldemar%netscape.com
0df97687fd Removed field, method, and constructor. Added static. 1999-12-08 00:35:00 +00:00
waldemar%netscape.com
ac82c657bc Fixed Harlequin incompatibilities 1999-12-08 00:34:29 +00:00
waldemar%netscape.com
d11e909dcb Added next-token-unit. Simplified grammar and removed boolean actions that indicate whether the next token can be a regexp. Added assertion that a * can't follow a division. 1999-12-07 22:09:10 +00:00
waldemar%netscape.com
9d3db083d9 Added hash-table-entries 1999-12-07 22:07:04 +00:00
waldemar%netscape.com
c8ebca0bda Fixed bug in forbidden terminalset calculations 1999-12-07 22:06:43 +00:00
waldemar%netscape.com
0bd84dc104 Made semantics compiled on Allegro 1999-12-07 22:04:58 +00:00
rginda%netscape.com
f0d3d00dfb Should be working on all platforms again. 1999-12-07 20:00:27 +00:00
rginda%netscape.com
9d9b8ecabf More windows dual-build tweaks (arg!) 1999-12-07 19:56:40 +00:00
rginda%netscape.com
f4d35bb883 More tweaks to sm engine selection
Updated documentation to reflect tweaks
1999-12-07 19:47:06 +00:00
rginda%netscape.com
96f68f37e4 * jsDriver.pl
Fix it to know about the two kinds of spidermonkey make on windows
  (Makefile.ref and js.mak)
1999-12-07 19:35:45 +00:00
rginda%netscape.com
49050135c0 Fix exit code detection. 1999-12-07 00:22:06 +00:00
rogerl%netscape.com
5fba491f2a Removed unsued local var version - shadowing caused typeof version test
to fail.
1999-12-06 23:53:57 +00:00
rginda%netscape.com
3bd9441aa0 * jsDriver.pl
Turn off trace by default (oops)
  Fix test list/ skil list output
1999-12-06 23:38:23 +00:00
rginda%netscape.com
8e4736f170 Moved test from js1_2 section 1999-12-06 23:32:25 +00:00
rogerl%netscape.com
4bc7c46423 version() must have int type argument.
Fixed VERSION setting to match shell.js
Fixed 'pass!' string to match 'pass'
1999-12-06 22:47:51 +00:00
rogerl%netscape.com
3cea9cfa35 version() must have int type argument.
Fixed VERSION setting to match expected string in shell.js
1999-12-06 22:46:46 +00:00
rogerl%netscape.com
07c7898644 version() must have int type argument 1999-12-06 22:45:53 +00:00
norris%netscape.com
698b9afdab Fix ecma_3/ExecutionContexts/10.1.4-1.js 1999-12-06 19:03:21 +00:00
rginda%netscape.com
f9206b848e * 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.)
1999-12-06 04:29:18 +00:00
rginda%netscape.com
ff42cfec6d Backing out. 1999-12-05 04:34:15 +00:00
rginda%netscape.com
901e8db373 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.
1999-12-05 03:36:59 +00:00
rginda%netscape.com
7127cadec4 * 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
1999-12-05 02:15:22 +00:00
waldemar%netscape.com
0a0d00b642 Clean grammars on allegro to save memory 1999-12-04 05:04:08 +00:00
waldemar%netscape.com
1383728082 Added canonical LR(1) grammars and grammar cleaning 1999-12-04 05:03:20 +00:00
waldemar%netscape.com
2e91b03fa0 First Checked In. 1999-12-04 05:01:34 +00:00
waldemar%netscape.com
2ad31160d0 File Removed. 1999-12-04 05:01:06 +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
b961d3803b clean up tests 1999-12-03 23:54:36 +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
4954e5b285 Remove spurious quote 1999-12-03 23:17:43 +00:00
norris%netscape.com
198af5013e VAR --> var 1999-12-03 23:16:23 +00:00
waldemar%netscape.com
5f79a9def5 Implemented line-grammar and added utility functions for analyzing grammar state table 1999-12-03 22:53:21 +00:00
waldemar%netscape.com
bd0aff3161 Implemented variant-constraints 1999-12-03 22:52:18 +00:00
waldemar%netscape.com
7739c8a455 Implemented line-grammar 1999-12-03 22:51:27 +00:00
waldemar%netscape.com
1fcf592044 Implemented variant-constraints. Added all-state-transitions. 1999-12-03 22:50:45 +00:00
waldemar%netscape.com
61d016c3db Changed comments 1999-12-03 22:49:36 +00:00
waldemar%netscape.com
013b5906b0 First Checked In. 1999-12-03 22:49:10 +00:00
waldemar%netscape.com
d38bfa54de Added :sort-key to sorted-hash-table-keys 1999-12-03 22:48:52 +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
fur%netscape.com
3a22f1cfae Fix 20594: C++ comments in C files 1999-12-02 22:41:02 +00:00
norris%netscape.com
f03998dff2 remove invalid test 1999-12-02 20:04:48 +00:00