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
cls%seawood.org
3826889094
When cross-compiling, we want to use the header generated from NSPR defines.
...
git-svn-id: svn://10.0.0.236/trunk@54113 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-21 16:06:53 +00:00
duncan%be.com
3346a5d069
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
git-svn-id: svn://10.0.0.236/trunk@54066 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 10:53:34 +00:00
rginda%netscape.com
22c7977472
tweaked html output, added test duration time.
...
git-svn-id: svn://10.0.0.236/trunk@54058 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 07:50:43 +00:00
rginda%netscape.com
e5529bf0b8
Added javapath, and confail options. Made some trace output come out by default so it isn't so eerily quiet in quiet mode.
...
git-svn-id: svn://10.0.0.236/trunk@54038 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 05:22:20 +00:00
waldemar%netscape.com
9edbe5b45d
Fixed MCL incompatibility
...
git-svn-id: svn://10.0.0.236/trunk@54037 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 04:34:42 +00:00
jband%netscape.com
f9c524f923
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
...
git-svn-id: svn://10.0.0.236/trunk@54035 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 04:21:58 +00:00
waldemar%netscape.com
aefedb080a
Added Allegro reference
...
git-svn-id: svn://10.0.0.236/trunk@54027 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 02:18:26 +00:00
waldemar%netscape.com
0685de255a
Updated to work under Allegro Common Lisp
...
git-svn-id: svn://10.0.0.236/trunk@54026 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 02:16:56 +00:00
rginda%netscape.com
9dda965075
s/FAILED!/{return a failure}/ in testcase description to keep from fooling the test driver.
...
git-svn-id: svn://10.0.0.236/trunk@54025 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 01:43:44 +00:00
rginda%netscape.com
ea6fe4f1f9
Correct exit codes on win32, echo output file regardles of -t
...
git-svn-id: svn://10.0.0.236/trunk@54023 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 00:28:06 +00:00
norris%netscape.com
e3823e3854
Fix ecma_2/Expressions/instanceof-003-n.js
...
ScriptRuntime::instanceOf now needs a scope parameter that it can use to construct an exception object
git-svn-id: svn://10.0.0.236/trunk@54022 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 00:19:00 +00:00
norris%netscape.com
ba5ee4bd59
argument.caller shouldn't be defined in the default version
...
git-svn-id: svn://10.0.0.236/trunk@54021 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 23:02:52 +00:00
rginda%netscape.com
46250d0a36
Add bugnumber to reports, bugzilla url option, and expect exit code 3 for negative tests.
...
git-svn-id: svn://10.0.0.236/trunk@54018 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 21:54:46 +00:00
rginda%netscape.com
4cacaf8f66
s/perl5/perl/
...
git-svn-id: svn://10.0.0.236/trunk@53944 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 01:18:33 +00:00
rginda%netscape.com
09b51fab5d
Added most.tests, most of the tests, minus liveconnect and some date/array tests that take a long time.
...
git-svn-id: svn://10.0.0.236/trunk@53931 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:57:18 +00:00
rginda%netscape.com
f4b791db8c
HTML output is in, script generally useful. Not tested on win32 or mac yet.
...
git-svn-id: svn://10.0.0.236/trunk@53929 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:56:17 +00:00
brendan%mozilla.org
1c2d96a428
- 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).
git-svn-id: svn://10.0.0.236/trunk@53898 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 20:19:56 +00:00
shaver%netscape.com
1ec9b3aa0d
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
git-svn-id: svn://10.0.0.236/trunk@53884 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 15:39:28 +00:00
jband%netscape.com
704976db95
remove invalid assertion
...
git-svn-id: svn://10.0.0.236/trunk@53823 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 04:30:54 +00:00
rginda%netscape.com
8bd4b3f833
Added ^c handler, beginnings of html output.
...
git-svn-id: svn://10.0.0.236/trunk@53822 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 04:14:00 +00:00
rginda%netscape.com
4c59ec23d1
* 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.
git-svn-id: svn://10.0.0.236/trunk@53788 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 22:33:05 +00:00
rginda%netscape.com
ee50e06936
Initial checkin of "import test list" dialog.
...
git-svn-id: svn://10.0.0.236/trunk@53787 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 22:31:07 +00:00