Commit Graph

1470 Commits

Author SHA1 Message Date
norris%netscape.com
92b89b162f anal: fix indentation 1999-11-30 23:54:51 +00:00
rginda%netscape.com
e2104bde87 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.
1999-11-30 22:16:34 +00:00
rginda%netscape.com
4c7fbf76bc Defined __LITTLE_ENDIAN in fdlibm on x86 linux, fixes various Math object issues, r=rogerl@netscape.com 1999-11-30 00:43:03 +00:00
mccabe%netscape.com
af2de0b090 Additional Date object APIS courtesy 'Chris' Houck. r=mccabe. 1999-11-30 00:42:07 +00:00
rginda%netscape.com
66dc2f9905 Changes to make list selection page work correctly on windows platform. 1999-11-29 22:31:45 +00:00
rogerl%netscape.com
aa8912475e r=norris
Moved 'ok' to MatchState. Re-wrote matchGreedyKid to reduce stack
usage and allow succesful completion to propagate out. #9141
1999-11-29 22:06:22 +00:00
bryner%uiuc.edu
c19f2eda7f Minor changes to fix building on Linux with --enable-oji. r=shaver. 1999-11-29 20:27:00 +00:00
brendan%mozilla.org
ef9a60a3fb Destroy rt->stateChange condvar (also trim deadwood; 20168, r=beard@netscape.com). 1999-11-28 19:56:52 +00:00
brendan%mozilla.org
8e5a02d3ad Fix decompiler to search function clone prototypes for args and vars (20160, r=rginda@netscape.com). 1999-11-28 09:46:33 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
brendan%mozilla.org
c8fe63ef47 Eliminate Closure per ECMA ed. 3, fix brutal sharing of lambdas (20076, r=rogerl,shaver). 1999-11-25 03:25:30 +00:00
shaver%netscape.com
41142ac228 - report function name, if any, when warning about mismatched return
- change catchguard syntax to avoid ECMA conflict
- light XDR cleanup
1999-11-24 03:36:25 +00:00
rginda%netscape.com
d92a60ca20 * 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.
1999-11-23 22:35:35 +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
jband%netscape.com
e5417278ef fixup the exported api declarations to use JS_PUBLIC_API in a consistent fashion r=mccabe 1999-11-23 01:02:28 +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
rginda%netscape.com
9c43d9dd60 Return exitcode 3 on runtime errors, and 4 on 'file not found's; added to js and xpc shell,
r=jband
1999-11-22 23:28:58 +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
jband%netscape.com
6c1ccd58bb removing the .cvsignore file in an abandoned directory so that using -P with cvs will trim the thing out of a tree 1999-11-22 05:46:56 +00:00
cls%seawood.org
b5c60ca764 When cross-compiling, we want to use the header generated from NSPR defines. 1999-11-21 16:06:53 +00:00
duncan%be.com
727d390659 Make locale work under BeOS (added XP_BEOS next to XP_UNIX). r=nhotta
Make JS timing work under BeOS (added XP_BEOS next to XP_UNIX). r=mcafee
Make nsSigHandlers.cpp build under BeOS (strsignal returns const char *). r=mcafee
1999-11-20 10:53:34 +00:00
rginda%netscape.com
cb3e802cca tweaked html output, added test duration time. 1999-11-20 07:50:43 +00:00
rginda%netscape.com
8690e6a483 Added javapath, and confail options. Made some trace output come out by default so it isn't so eerily quiet in quiet mode. 1999-11-20 05:22:20 +00:00
waldemar%netscape.com
fa91c627f0 Fixed MCL incompatibility 1999-11-20 04:34:42 +00:00
jband%netscape.com
7da2390416 r=fur Conform to the recently changed semantics of nsHashtableEnumerator::IsDone to fix the infinite loop that started happening in the Components.[interfaces,classes,classesByID] enumerators 1999-11-20 04:21:58 +00:00
waldemar%netscape.com
64986b5750 Added Allegro reference 1999-11-20 02:18:26 +00:00
waldemar%netscape.com
a4ec14d393 Updated to work under Allegro Common Lisp 1999-11-20 02:16:56 +00:00
rginda%netscape.com
448e41a9f0 s/FAILED!/{return a failure}/ in testcase description to keep from fooling the test driver. 1999-11-20 01:43:44 +00:00
rginda%netscape.com
d0e43c1429 Correct exit codes on win32, echo output file regardles of -t 1999-11-20 00:28:06 +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
rginda%netscape.com
b239bc3205 Add bugnumber to reports, bugzilla url option, and expect exit code 3 for negative tests. 1999-11-19 21:54:46 +00:00
rginda%netscape.com
4bc1e98f8c s/perl5/perl/ 1999-11-19 01:18:33 +00:00
rginda%netscape.com
32f54cc801 Added most.tests, most of the tests, minus liveconnect and some date/array tests that take a long time. 1999-11-19 00:57:18 +00:00
rginda%netscape.com
c95eafb39f HTML output is in, script generally useful. Not tested on win32 or mac yet. 1999-11-19 00:56:17 +00:00
brendan%mozilla.org
6edd393ab6 - Add JS_HAS_FUN_EXPR_STMT jsconfig.h macro and use it to ifdef a special case explicitly specified by ECMA ed. 3 to be an error: a function expression that's a statement (not at top-level). This allows one to wrap functions in if and else statements and conditionally define them.
(More work is needed to conform to ECMA ed. 3 by removing Closure objects; also we want more efficient closure calling, soon.)

- Move mislocated call to js_FoldConstants from jsemit.c's js_EmitTree, the TOK_FUNCTION case, back to jsparse.c.  This avoids redundant fold-walks over non-top-level functions.  Folding should be done at tree-gen time, not at code-gen time.

- Eliminate dead code in if-else and ?: when folding constants.

- Release tempPool arena space before early return on error in js_FoldConstants, just to be nice (all arena space gets released eventually, when the compiler finishes).
1999-11-18 20:19:56 +00:00
shaver%netscape.com
0fe6c3f505 Fix some MLK and FMR badness.
Use nsCOMPtr to manage services (thank you dp, thank you).
Only push context on stack when actually executing JS via JSAPI.
Use nsXPIDLCString to simplify memory management (thank you waterson,
thank you).
Use generic module stuff.
r=fur,jband
1999-11-18 15:39:28 +00:00
jband%netscape.com
eac24add27 remove invalid assertion 1999-11-18 04:30:54 +00:00
rginda%netscape.com
e3135f057e Added ^c handler, beginnings of html output. 1999-11-18 04:14:00 +00:00
rginda%netscape.com
ccde6647c6 * menuhead.html
make all targets "other_window" to reduce number of open windows.
* mklistpage.pl
  make all targets "other_window" to reduce number of open windows.
* runtests2.pl
  more hacking, still not done.
1999-11-17 22:33:05 +00:00
rginda%netscape.com
4b4a717419 Initial checkin of "import test list" dialog. 1999-11-17 22:31:07 +00:00
rginda%netscape.com
57279e1a51 * Global.java
Cleared global.exitCode in quit() just to be safe.
* Main.java
  Adjusted exit code constants to match the js and xpcshells.
1999-11-17 20:26:17 +00:00
rogerl%netscape.com
600050ef02 Changes for JS1.5 build under AIX4.3.
(Not a part of SeaMonkey builds)
1999-11-17 18:34:04 +00:00
brendan%mozilla.org
1900c52e89 Unregress top-level lambda expressions not in with statements to avoid full closure overhead. 1999-11-17 07:41:12 +00:00
brendan%mozilla.org
92490cbc03 Whitespace, comment, and bracing diffs. 1999-11-17 04:32:37 +00:00
brendan%mozilla.org
9ef31f6661 Brutal sharing followup (15146, r=shaver@mozilla.org)
- jsinterp.c changes: 
__- JSOP_CLOSURE comment fixes.
____(NB: ECMA ed 3 seems to require that we abolish the Closure object altogether, replacing it with a new Function object where we used to make a new closure.  That says we should use JS_CloneFunctionObject or an internal form (js_).) 
__- Use obj rather than the same-valued fp->scopeChain as fourth argument to js_ConstructObject. 
__- JSOP_DEFFUN change to auto-clone when running a script in a different scope from the one the compiler used for static function scope linkage. 
__- Remove bogus assertion from JSOP_DEFVAR/CONST: case.

- jsparse.c/.h changes:
__- Restored outerFun test to FunctionDef in jsparse.c, so that we make a closure if (outerFun || lambda || !funAtom) -- i.e., if we're compiling
____- A function statement within an active function via eval;
____- We're compiling a function expression statement (not at apparent-to-compiler top-level; part of some kind of compound statement, e.g. if or with);
____- Or the function, even at top statement level and not in another function, has no name. 
__- Don't predefine local variables at compile time if they're in with statement
__- Enforce const at compile time for local consts

- Minor jsemit.[ch] cleanup.
1999-11-17 04:13:05 +00:00