From d8ebf0ac3ce81ebbeca33ce6d71c7cac4130f247 Mon Sep 17 00:00:00 2001 From: "fur%netscape.com" Date: Fri, 16 Oct 1998 22:18:00 +0000 Subject: [PATCH] The files in this directory are all obsolete. JavaScript development has been moved to the js/src directory. Sample code has been moved to js/samples. --- js/ref/.cvsignore | 0 js/ref/ChangeLog | 0 js/ref/MacPrefix.h | 0 js/ref/Makefile | 0 js/ref/Makefile.in | 0 js/ref/README | 677 +----------------- js/ref/TODO | 0 js/ref/config/AIX4.1.mk | 0 js/ref/config/AIX4.2.mk | 0 js/ref/config/HP-UXB.10.10.mk | 0 js/ref/config/HP-UXB.10.20.mk | 0 js/ref/config/HP-UXB.11.00.mk | 0 js/ref/config/IRIX.mk | 0 js/ref/config/IRIX5.3.mk | 0 js/ref/config/IRIX6.1.mk | 0 js/ref/config/IRIX6.2.mk | 0 js/ref/config/IRIX6.3.mk | 0 js/ref/config/Linux_All.mk | 0 js/ref/config/SunOS4.1.4.mk | 0 js/ref/config/SunOS5.3.mk | 0 js/ref/config/SunOS5.4.mk | 0 js/ref/config/SunOS5.5.1.mk | 0 js/ref/config/SunOS5.5.mk | 0 js/ref/config/WINNT4.0.mk | 0 js/ref/config/dgux.mk | 0 js/ref/files | 0 js/ref/js.c | 0 js/ref/js.mak | 0 js/ref/js.mdp | 0 js/ref/js32.dsp | 0 js/ref/jsapi.c | 0 js/ref/jsapi.h | 0 js/ref/jsarray.c | 0 js/ref/jsarray.h | 0 js/ref/jsatom.c | 0 js/ref/jsatom.h | 0 js/ref/jsbool.c | 0 js/ref/jsbool.h | 0 js/ref/jscntxt.c | 0 js/ref/jscntxt.h | 0 js/ref/jsconfig.h | 0 js/ref/jsd/jsd.h | 0 js/ref/jsd/jsd_high.c | 0 js/ref/jsd/jsd_hook.c | 0 js/ref/jsd/jsd_lock.c | 0 js/ref/jsd/jsd_lock.h | 0 js/ref/jsd/jsd_scpt.c | 0 js/ref/jsd/jsd_stak.c | 0 js/ref/jsd/jsd_text.c | 0 js/ref/jsd/jsdebug.c | 0 js/ref/jsd/jsdebug.h | 0 js/ref/jsd/jsdshell.mak | 0 js/ref/jsdate.c | 0 js/ref/jsdate.h | 0 js/ref/jsdbgapi.c | 0 js/ref/jsdbgapi.h | 0 js/ref/jsemit.c | 0 js/ref/jsemit.h | 0 js/ref/jsexn.c | 0 js/ref/jsexn.h | 0 js/ref/jsfun.c | 0 js/ref/jsfun.h | 0 js/ref/jsgc.c | 0 js/ref/jsgc.h | 0 js/ref/jsinterp.c | 0 js/ref/jsinterp.h | 0 js/ref/jslock.c | 0 js/ref/jslock.h | 0 js/ref/jsmath.c | 0 js/ref/jsmath.h | 0 js/ref/jsmsg.def | 0 js/ref/jsnum.c | 0 js/ref/jsnum.h | 0 js/ref/jsobj.c | 0 js/ref/jsobj.h | 0 js/ref/jsopcode.c | 0 js/ref/jsopcode.def | 0 js/ref/jsopcode.h | 0 js/ref/jsparse.c | 0 js/ref/jsparse.h | 0 js/ref/jsprvtd.h | 0 js/ref/jspubtd.h | 0 js/ref/jsregexp.c | 0 js/ref/jsregexp.h | 0 js/ref/jsscan.c | 0 js/ref/jsscan.h | 0 js/ref/jsscope.c | 0 js/ref/jsscope.h | 0 js/ref/jsscript.c | 0 js/ref/jsscript.h | 0 js/ref/jsshell.dsp | 0 js/ref/jsstddef.h | 0 js/ref/jsstr.c | 0 js/ref/jsstr.h | 0 js/ref/jsxdrapi.c | 0 js/ref/jsxdrapi.h | 0 js/ref/liveconnect/.cvsignore | 0 js/ref/liveconnect/LC.mak | 0 js/ref/liveconnect/LCS.mak | 0 js/ref/liveconnect/LiveConnect.dsp | 0 js/ref/liveconnect/LiveConnectShell.dsp | 0 js/ref/liveconnect/LiveConnectShell.dsw | 0 js/ref/liveconnect/Makefile | 0 js/ref/liveconnect/README.html | 0 .../_jni/netscape_javascript_JSObject.h | 0 .../netscape/javascript/JSException.java | 0 .../classes/netscape/javascript/JSObject.java | 0 .../classes/netscape/javascript/JSProxy.java | 0 .../netscape/javascript/JSRunnable.java | 0 .../classes/netscape/javascript/JSUtil.java | 0 .../javascript/JSWrappedException.java | 0 js/ref/liveconnect/config/SunOS5.5.1.mk | 0 js/ref/liveconnect/jsj.c | 0 js/ref/liveconnect/jsj_JSObject.c | 0 js/ref/liveconnect/jsj_JavaArray.c | 0 js/ref/liveconnect/jsj_JavaClass.c | 0 js/ref/liveconnect/jsj_JavaMember.c | 0 js/ref/liveconnect/jsj_JavaObject.c | 0 js/ref/liveconnect/jsj_JavaPackage.c | 0 js/ref/liveconnect/jsj_array.c | 0 js/ref/liveconnect/jsj_class.c | 0 js/ref/liveconnect/jsj_convert.c | 0 js/ref/liveconnect/jsj_field.c | 0 js/ref/liveconnect/jsj_hash.c | 0 js/ref/liveconnect/jsj_hash.h | 0 js/ref/liveconnect/jsj_method.c | 0 js/ref/liveconnect/jsj_msg.def | 0 js/ref/liveconnect/jsj_private.h | 0 js/ref/liveconnect/jsj_utils.c | 0 js/ref/liveconnect/jsjava.h | 0 .../macbuild/JavaSession/JavaSession.cpp | 0 .../macbuild/JavaSession/JavaSession.h | 0 .../macbuild/JavaSession/OSStatusException.h | 0 js/ref/liveconnect/macbuild/LiveConnect.mcp | 0 .../liveconnect/macbuild/LiveConnectShell.mcp | 0 .../macbuild/LiveConnectShell.prefix | 0 .../netscape_javascript_JSObject.h | 0 js/ref/lock_SunOS.s | 0 js/ref/macbuild/JSRef.mcp | 0 js/ref/macbuild/JSRef.prefix | 0 js/ref/os/aix.h | 0 js/ref/os/bsdi.h | 0 js/ref/os/hpux.h | 0 js/ref/os/irix.h | 0 js/ref/os/linux.h | 0 js/ref/os/nec.h | 0 js/ref/os/osf1.h | 0 js/ref/os/reliantunix.h | 0 js/ref/os/scoos.h | 0 js/ref/os/solaris.h | 0 js/ref/os/sony.h | 0 js/ref/os/sunos.h | 0 js/ref/os/unixware.h | 0 js/ref/os/win16.h | 0 js/ref/os/win32.h | 0 js/ref/perfect.js | 0 js/ref/prarena.c | 0 js/ref/prarena.h | 0 js/ref/prassert.c | 0 js/ref/prassert.h | 0 js/ref/prclist.h | 0 js/ref/prcpucfg.c | 0 js/ref/prcpucfg.h | 0 js/ref/prdtoa.c | 0 js/ref/prdtoa.h | 0 js/ref/prhash.c | 0 js/ref/prhash.h | 0 js/ref/prlog2.c | 0 js/ref/prlong.c | 0 js/ref/prlong.h | 0 js/ref/prmacos.cpp | 0 js/ref/prmacos.h | 0 js/ref/prosdep.h | 0 js/ref/prpcos.h | 0 js/ref/prprintf.c | 0 js/ref/prprintf.h | 0 js/ref/prtime.c | 0 js/ref/prtime.h | 0 js/ref/prtypes.h | 0 js/ref/prunixos.h | 0 js/ref/samples/jsdraw/data.c | 0 js/ref/samples/jsdraw/draw.c | 0 js/ref/samples/jsdraw/headers.h | 0 js/ref/samples/jsdraw/jsdraw.c | 0 js/ref/samples/jsdraw/jsdraw.h | 0 js/ref/samples/jsdraw/jsdraw.mak | 0 js/ref/samples/jsdraw/jsdraw.rc | 0 js/ref/samples/jsdraw/maindlg.c | 0 js/ref/samples/jsdraw/prompt.c | 0 js/ref/samples/jsdraw/resource.h | 0 js/ref/samples/jsdraw/run/autoload.js | 0 js/ref/samples/jsdraw/run/readme.txt | 0 js/ref/samples/jslogger/JSLogger.html | 0 .../samples/jslogger/JSLoggerAsIFCApplet.java | 0 js/ref/samples/jslogger/mk.bat | 0 .../jslogger/netscape/jslogger/CallChain.java | 0 .../netscape/jslogger/ControlPanel.java | 0 .../jslogger/netscape/jslogger/JSLogger.java | 0 .../netscape/jslogger/MyErrorReporter.java | 0 .../netscape/jslogger/MyInterruptHook.java | 0 .../netscape/jslogger/MyScriptHook.java | 0 js/ref/samples/jslogger/readme.txt | 0 js/ref/samples/xdr/Makefile | 0 js/ref/samples/xdr/common.c | 0 js/ref/samples/xdr/compile.c | 0 js/ref/samples/xdr/run.c | 0 js/ref/shellmsg.def | 0 js/ref/sunos4.h | 0 js/ref/ycomb.js | 0 209 files changed, 4 insertions(+), 673 deletions(-) delete mode 100644 js/ref/.cvsignore delete mode 100644 js/ref/ChangeLog delete mode 100644 js/ref/MacPrefix.h delete mode 100644 js/ref/Makefile delete mode 100644 js/ref/Makefile.in delete mode 100644 js/ref/TODO delete mode 100644 js/ref/config/AIX4.1.mk delete mode 100644 js/ref/config/AIX4.2.mk delete mode 100755 js/ref/config/HP-UXB.10.10.mk delete mode 100644 js/ref/config/HP-UXB.10.20.mk delete mode 100755 js/ref/config/HP-UXB.11.00.mk delete mode 100644 js/ref/config/IRIX.mk delete mode 100644 js/ref/config/IRIX5.3.mk delete mode 100644 js/ref/config/IRIX6.1.mk delete mode 100644 js/ref/config/IRIX6.2.mk delete mode 100644 js/ref/config/IRIX6.3.mk delete mode 100644 js/ref/config/Linux_All.mk delete mode 100644 js/ref/config/SunOS4.1.4.mk delete mode 100644 js/ref/config/SunOS5.3.mk delete mode 100644 js/ref/config/SunOS5.4.mk delete mode 100644 js/ref/config/SunOS5.5.1.mk delete mode 100644 js/ref/config/SunOS5.5.mk delete mode 100644 js/ref/config/WINNT4.0.mk delete mode 100644 js/ref/config/dgux.mk delete mode 100644 js/ref/files delete mode 100644 js/ref/js.c delete mode 100644 js/ref/js.mak delete mode 100644 js/ref/js.mdp delete mode 100644 js/ref/js32.dsp delete mode 100644 js/ref/jsapi.c delete mode 100644 js/ref/jsapi.h delete mode 100644 js/ref/jsarray.c delete mode 100644 js/ref/jsarray.h delete mode 100644 js/ref/jsatom.c delete mode 100644 js/ref/jsatom.h delete mode 100644 js/ref/jsbool.c delete mode 100644 js/ref/jsbool.h delete mode 100644 js/ref/jscntxt.c delete mode 100644 js/ref/jscntxt.h delete mode 100644 js/ref/jsconfig.h delete mode 100644 js/ref/jsd/jsd.h delete mode 100644 js/ref/jsd/jsd_high.c delete mode 100644 js/ref/jsd/jsd_hook.c delete mode 100644 js/ref/jsd/jsd_lock.c delete mode 100644 js/ref/jsd/jsd_lock.h delete mode 100644 js/ref/jsd/jsd_scpt.c delete mode 100644 js/ref/jsd/jsd_stak.c delete mode 100644 js/ref/jsd/jsd_text.c delete mode 100644 js/ref/jsd/jsdebug.c delete mode 100644 js/ref/jsd/jsdebug.h delete mode 100644 js/ref/jsd/jsdshell.mak delete mode 100644 js/ref/jsdate.c delete mode 100644 js/ref/jsdate.h delete mode 100644 js/ref/jsdbgapi.c delete mode 100644 js/ref/jsdbgapi.h delete mode 100644 js/ref/jsemit.c delete mode 100644 js/ref/jsemit.h delete mode 100644 js/ref/jsexn.c delete mode 100644 js/ref/jsexn.h delete mode 100644 js/ref/jsfun.c delete mode 100644 js/ref/jsfun.h delete mode 100644 js/ref/jsgc.c delete mode 100644 js/ref/jsgc.h delete mode 100644 js/ref/jsinterp.c delete mode 100644 js/ref/jsinterp.h delete mode 100644 js/ref/jslock.c delete mode 100644 js/ref/jslock.h delete mode 100644 js/ref/jsmath.c delete mode 100644 js/ref/jsmath.h delete mode 100644 js/ref/jsmsg.def delete mode 100644 js/ref/jsnum.c delete mode 100644 js/ref/jsnum.h delete mode 100644 js/ref/jsobj.c delete mode 100644 js/ref/jsobj.h delete mode 100644 js/ref/jsopcode.c delete mode 100644 js/ref/jsopcode.def delete mode 100644 js/ref/jsopcode.h delete mode 100644 js/ref/jsparse.c delete mode 100644 js/ref/jsparse.h delete mode 100644 js/ref/jsprvtd.h delete mode 100644 js/ref/jspubtd.h delete mode 100644 js/ref/jsregexp.c delete mode 100644 js/ref/jsregexp.h delete mode 100644 js/ref/jsscan.c delete mode 100644 js/ref/jsscan.h delete mode 100644 js/ref/jsscope.c delete mode 100644 js/ref/jsscope.h delete mode 100644 js/ref/jsscript.c delete mode 100644 js/ref/jsscript.h delete mode 100644 js/ref/jsshell.dsp delete mode 100644 js/ref/jsstddef.h delete mode 100644 js/ref/jsstr.c delete mode 100644 js/ref/jsstr.h delete mode 100644 js/ref/jsxdrapi.c delete mode 100644 js/ref/jsxdrapi.h delete mode 100644 js/ref/liveconnect/.cvsignore delete mode 100644 js/ref/liveconnect/LC.mak delete mode 100644 js/ref/liveconnect/LCS.mak delete mode 100644 js/ref/liveconnect/LiveConnect.dsp delete mode 100644 js/ref/liveconnect/LiveConnectShell.dsp delete mode 100644 js/ref/liveconnect/LiveConnectShell.dsw delete mode 100644 js/ref/liveconnect/Makefile delete mode 100644 js/ref/liveconnect/README.html delete mode 100644 js/ref/liveconnect/_jni/netscape_javascript_JSObject.h delete mode 100644 js/ref/liveconnect/classes/netscape/javascript/JSException.java delete mode 100644 js/ref/liveconnect/classes/netscape/javascript/JSObject.java delete mode 100644 js/ref/liveconnect/classes/netscape/javascript/JSProxy.java delete mode 100644 js/ref/liveconnect/classes/netscape/javascript/JSRunnable.java delete mode 100644 js/ref/liveconnect/classes/netscape/javascript/JSUtil.java delete mode 100644 js/ref/liveconnect/classes/netscape/javascript/JSWrappedException.java delete mode 100644 js/ref/liveconnect/config/SunOS5.5.1.mk delete mode 100644 js/ref/liveconnect/jsj.c delete mode 100644 js/ref/liveconnect/jsj_JSObject.c delete mode 100644 js/ref/liveconnect/jsj_JavaArray.c delete mode 100644 js/ref/liveconnect/jsj_JavaClass.c delete mode 100644 js/ref/liveconnect/jsj_JavaMember.c delete mode 100644 js/ref/liveconnect/jsj_JavaObject.c delete mode 100644 js/ref/liveconnect/jsj_JavaPackage.c delete mode 100644 js/ref/liveconnect/jsj_array.c delete mode 100644 js/ref/liveconnect/jsj_class.c delete mode 100644 js/ref/liveconnect/jsj_convert.c delete mode 100644 js/ref/liveconnect/jsj_field.c delete mode 100644 js/ref/liveconnect/jsj_hash.c delete mode 100644 js/ref/liveconnect/jsj_hash.h delete mode 100644 js/ref/liveconnect/jsj_method.c delete mode 100644 js/ref/liveconnect/jsj_msg.def delete mode 100644 js/ref/liveconnect/jsj_private.h delete mode 100644 js/ref/liveconnect/jsj_utils.c delete mode 100644 js/ref/liveconnect/jsjava.h delete mode 100644 js/ref/liveconnect/macbuild/JavaSession/JavaSession.cpp delete mode 100644 js/ref/liveconnect/macbuild/JavaSession/JavaSession.h delete mode 100644 js/ref/liveconnect/macbuild/JavaSession/OSStatusException.h delete mode 100644 js/ref/liveconnect/macbuild/LiveConnect.mcp delete mode 100644 js/ref/liveconnect/macbuild/LiveConnectShell.mcp delete mode 100644 js/ref/liveconnect/macbuild/LiveConnectShell.prefix delete mode 100644 js/ref/liveconnect/netscape_javascript_JSObject.h delete mode 100644 js/ref/lock_SunOS.s delete mode 100644 js/ref/macbuild/JSRef.mcp delete mode 100644 js/ref/macbuild/JSRef.prefix delete mode 100644 js/ref/os/aix.h delete mode 100644 js/ref/os/bsdi.h delete mode 100644 js/ref/os/hpux.h delete mode 100644 js/ref/os/irix.h delete mode 100644 js/ref/os/linux.h delete mode 100644 js/ref/os/nec.h delete mode 100644 js/ref/os/osf1.h delete mode 100644 js/ref/os/reliantunix.h delete mode 100644 js/ref/os/scoos.h delete mode 100644 js/ref/os/solaris.h delete mode 100644 js/ref/os/sony.h delete mode 100644 js/ref/os/sunos.h delete mode 100644 js/ref/os/unixware.h delete mode 100644 js/ref/os/win16.h delete mode 100644 js/ref/os/win32.h delete mode 100644 js/ref/perfect.js delete mode 100644 js/ref/prarena.c delete mode 100644 js/ref/prarena.h delete mode 100644 js/ref/prassert.c delete mode 100644 js/ref/prassert.h delete mode 100644 js/ref/prclist.h delete mode 100644 js/ref/prcpucfg.c delete mode 100644 js/ref/prcpucfg.h delete mode 100644 js/ref/prdtoa.c delete mode 100644 js/ref/prdtoa.h delete mode 100644 js/ref/prhash.c delete mode 100644 js/ref/prhash.h delete mode 100644 js/ref/prlog2.c delete mode 100644 js/ref/prlong.c delete mode 100644 js/ref/prlong.h delete mode 100644 js/ref/prmacos.cpp delete mode 100644 js/ref/prmacos.h delete mode 100644 js/ref/prosdep.h delete mode 100644 js/ref/prpcos.h delete mode 100644 js/ref/prprintf.c delete mode 100644 js/ref/prprintf.h delete mode 100644 js/ref/prtime.c delete mode 100644 js/ref/prtime.h delete mode 100644 js/ref/prtypes.h delete mode 100644 js/ref/prunixos.h delete mode 100644 js/ref/samples/jsdraw/data.c delete mode 100644 js/ref/samples/jsdraw/draw.c delete mode 100644 js/ref/samples/jsdraw/headers.h delete mode 100644 js/ref/samples/jsdraw/jsdraw.c delete mode 100644 js/ref/samples/jsdraw/jsdraw.h delete mode 100644 js/ref/samples/jsdraw/jsdraw.mak delete mode 100644 js/ref/samples/jsdraw/jsdraw.rc delete mode 100644 js/ref/samples/jsdraw/maindlg.c delete mode 100644 js/ref/samples/jsdraw/prompt.c delete mode 100644 js/ref/samples/jsdraw/resource.h delete mode 100644 js/ref/samples/jsdraw/run/autoload.js delete mode 100644 js/ref/samples/jsdraw/run/readme.txt delete mode 100644 js/ref/samples/jslogger/JSLogger.html delete mode 100644 js/ref/samples/jslogger/JSLoggerAsIFCApplet.java delete mode 100755 js/ref/samples/jslogger/mk.bat delete mode 100644 js/ref/samples/jslogger/netscape/jslogger/CallChain.java delete mode 100644 js/ref/samples/jslogger/netscape/jslogger/ControlPanel.java delete mode 100644 js/ref/samples/jslogger/netscape/jslogger/JSLogger.java delete mode 100644 js/ref/samples/jslogger/netscape/jslogger/MyErrorReporter.java delete mode 100644 js/ref/samples/jslogger/netscape/jslogger/MyInterruptHook.java delete mode 100644 js/ref/samples/jslogger/netscape/jslogger/MyScriptHook.java delete mode 100644 js/ref/samples/jslogger/readme.txt delete mode 100644 js/ref/samples/xdr/Makefile delete mode 100644 js/ref/samples/xdr/common.c delete mode 100644 js/ref/samples/xdr/compile.c delete mode 100644 js/ref/samples/xdr/run.c delete mode 100644 js/ref/shellmsg.def delete mode 100644 js/ref/sunos4.h delete mode 100644 js/ref/ycomb.js diff --git a/js/ref/.cvsignore b/js/ref/.cvsignore deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/ChangeLog b/js/ref/ChangeLog deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/MacPrefix.h b/js/ref/MacPrefix.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/Makefile b/js/ref/Makefile deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/Makefile.in b/js/ref/Makefile.in deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/README b/js/ref/README index 1df9c220870..e2bc3911b19 100644 --- a/js/ref/README +++ b/js/ref/README @@ -1,674 +1,5 @@ -This is the README file for the JavaScript Reference (JSRef) implementation. -It consists of build conventions and instructions, source code conventions, a -design walk-through, and a brief file-by-file description of the source. +This directory used to contain JSRef, the standalone version of the +JavaScript engine. The entire contents of the js/ref directory have +been merged with the js/src directory, which now contains the source +for the JavaScript engine, both standalone and embedded in the browser. -JSRef builds a library or DLL containing the JavaScript runtime (compiler, -interpreter, decompiler, garbage collector, atom manager, standard classes). -It then compiles a small "shell" program and links that with the library to -make an interpreter that can be used interactively and with test .js files to -run scripts. - -The current version of JSRef lacks a conformance testsuite. We aim to provide -one as soon as possible. - -Quick start tip: skip to "Using the JS API" below, build js, and play with the -object named "it" (start by setting 'it.noisy = true'). - -Brendan Eich, 9/17/96 - ------------------------------------------------------------------------------- - -Build conventions: - -- On Windows, use MSDEV4.2 (js*.mdp) or 5.0 (js*.mak). - -- On Mac, use CodeWarrior 3.x (JSRef.mcp in the macbuild subdirectory) - -- On Unix, use vendor cc or gcc (ftp://prep.ai.mit.edu/pub/gnu) for compiling, - and use gmake for building. - - To compile optimized code, pass BUILD_OPT=1 on the nmake/gmake command line - or preset it in the environment or makefile. The C preprocessor macro DEBUG - will be undefined, and NDEBUG (archaic Unix-ism for "No Debugging") will be - defined. Without BUILD_OPT, DEBUG is predefined and NDEBUG is undefined. - - On Unix, your own debug flag, DEBUG_$USER, will be defined or undefined as - BUILD_OPT is unset or set. - - (Linux autoconf support way overdue; coming some day soon, I promise.) - -- To add C compiler options from the make command line, set XCFLAGS=-Dfoo. - To predefine -D or -U options in the makefile, set DEFINES. - To predefine -I options in the makefile, set INCLUDES. - -- To turn on GC instrumentation, define JS_GCMETER. -- To enable multi-threaded execution, define JS_THREADSAFE and flesh out the - stubs and required headers in jslock.c/.h. See the JS API docs for more. -- To turn on the arena package's instrumentation, define PR_ARENAMETER. -- To turn on the hash table package's metering, define PR_HASHMETER. - -Naming and coding conventions: - -- Public function names begin with JS_ followed by capitalized "intercaps", - e.g. JS_NewObject. -- Extern but library-private function names use a js_ prefix and mixed case, - e.g. js_LookupSymbol. -- Most static function names have unprefixed, mixed-case names: GetChar. -- But static native methods of JS objects have lowercase, underscore-separated - or intercaps names, e.g., str_indexOf. -- And library-private and static data use underscores, not intercaps (but - library-private data do use a js_ prefix). -- Scalar type names are lowercase and js-prefixed: jsdouble. -- Aggregate type names are JS-prefixed and mixed-case: JSObject. -- Macros are generally ALL_CAPS and underscored, to call out potential - side effects, multiple uses of a formal argument, etc. - -- Four spaces of indentation per statement nesting level. -- Tabs are taken to be eight spaces, and an Emacs magic comment at the top of - each file tries to help. If you're using MSVC or similar, you'll want to - set tab width to 8, or convert these files to be space-filled. -- DLL entry points have their return type expanded within a PR_PUBLIC_API() - macro call, to get the right Windows secret type qualifiers in the right - places for both 16- and 32-bit builds. -- Callback functions that might be called from a DLL are similarly macroized - with PR_STATIC_CALLBACK (if the function otherwise would be static to hide - its name) or PR_CALLBACK (this macro takes no type argument; it should be - used after the return type and before the function name). - -Using the JS API: - -- Starting up: - - /* - * Tune this to avoid wasting space for shallow stacks, while saving on - * malloc overhead/fragmentation for deep or highly-variable stacks. - */ - #define STACK_CHUNK_SIZE 8192 - - JSRuntime *rt; - JSContext *cx; - - /* You need a runtime and one or more contexts to do anything with JS. */ - rt = JS_Init(1000000L); - if (!rt) - fail("can't create JavaScript runtime"); - cx = JS_NewContext(rt, STACK_CHUNK_SIZE); - if (!cx) - fail("can't create JavaScript context"); - - /* - * The context definitely wants a global object, in order to have standard - * classes and functions like Date and parseInt. See below for details on - * JS_NewObject. - */ - JSObject *globalObj; - - globalObj = JS_NewObject(cx, &my_global_class, 0, 0); - JS_InitStandardClasses(cx, globalObj); - -- Defining objects and properties: - - /* Statically initialize a class to make "one-off" objects. */ - JSClass my_class = { - "MyClass", - - /* All of these can be replaced with the corresponding JS_*Stub - function pointers. */ - my_addProperty, my_delProperty, my_getProperty, my_setProperty, - my_enumerate, my_resolve, my_convert, my_finalize - }; - - JSObject *obj; - - /* - * Define an object named in the global scope that can be enumerated by - * for/in loops. The parent object is passed as the second argument, as - * with all other API calls that take an object/name pair. The prototype - * passed in is null, so the default object prototype will be used. - */ - obj = JS_DefineObject(cx, globalObj, "myObject", &my_class, 0, - JSPROP_ENUMERATE); - - /* - * Define a bunch of properties with a JSPropertySpec array statically - * initialized and terminated with a null-name entry. Besides its name, - * each property has a "tiny" identifier (MY_COLOR, e.g.) that can be used - * in switch statements (in a common my_getProperty function, for example). - */ - enum my_tinyid { - MY_COLOR, MY_HEIGHT, MY_WIDTH, MY_FUNNY, MY_ARRAY, MY_RDONLY - }; - - static JSPropertySpec my_props[] = { - {"color", MY_COLOR, JSPROP_ENUMERATE}, - {"height", MY_HEIGHT, JSPROP_ENUMERATE}, - {"width", MY_WIDTH, JSPROP_ENUMERATE}, - {"funny", MY_FUNNY, JSPROP_ENUMERATE}, - {"array", MY_ARRAY, JSPROP_ENUMERATE}, - {"rdonly", MY_RDONLY, JSPROP_READONLY}, - {0} - }; - - JS_DefineProperties(cx, obj, my_props); - - /* - * Given the above definitions and call to JS_DefineProperties, obj will - * need this sort of "getter" method in its class (my_class, above). See - * the example for the "It" class in js.c. - */ - static JSBool - my_getProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp) - { - if (JSVAL_IS_INT(id)) { - switch (JSVAL_TO_INT(id)) { - case MY_COLOR: *vp = . . .; break; - case MY_HEIGHT: *vp = . . .; break; - case MY_WIDTH: *vp = . . .; break; - case MY_FUNNY: *vp = . . .; break; - case MY_ARRAY: *vp = . . .; break; - case MY_RDONLY: *vp = . . .; break; - } - } - return JS_TRUE; - } - -- Defining functions: - - /* Define a bunch of native functions first: */ - static JSBool - my_abs(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) - { - jsdouble x, z; - - if (!JS_ValueToNumber(cx, argv[0], &x)) - return JS_FALSE; - z = (x < 0) ? -x : x; - return JS_NewDoubleValue(cx, z, rval); - } - - . . . - - /* - * Use a JSFunctionSpec array terminated with a null name to define a - * bunch of native functions. - */ - static JSFunctionSpec my_functions[] = { - /* name native nargs */ - {"abs", my_abs, 1}, - {"acos", my_acos, 1}, - {"asin", my_asin, 1}, - . . . - {0} - }; - - /* - * Pass a particular object to define methods for it alone. If you pass - * a prototype object, the methods will apply to all instances past and - * future of the prototype's class (see below for classes). - */ - JS_DefineFunctions(cx, globalObj, my_functions); - -- Defining classes: - - /* - * This pulls together the above API elements by defining a constructor - * function, a prototype object, and properties of the prototype and of - * the constructor, all with one API call. - * - * Initialize a class by defining its constructor function, prototype, and - * per-instance and per-class properties. The latter are called "static" - * below by analogy to Java. They are defined in the constructor object's - * scope, so that 'MyClass.myStaticProp' works along with 'new MyClass()'. - * - * JS_InitClass takes a lot of arguments, but you can pass null for any of - * the last four if there are no such properties or methods. - * - * Note that you do not need to call JS_InitClass to make a new instance of - * that class -- otherwise there would be a chicken-and-egg problem making - * the global object -- but you should call JS_InitClass if you require a - * constructor function for script authors to call via new, and/or a class - * prototype object ('MyClass.prototype') for authors to extend with new - * properties at run-time. - */ - protoObj = JS_InitClass(cx, globalObj, &my_class, - - /* native constructor function and min arg count */ - MyClass, 0, - - /* prototype object properties and methods -- these - will be "inherited" by all instances through - delegation up the instance's prototype link. */ - my_props, my_methods, - - /* class constructor properties and methods */ - my_static_props, my_static_methods); - -- Running scripts: - - /* These should indicate source location for diagnostics. */ - char *filename; - uintN lineno; - - /* - * The return value comes back here -- if it could be a GC thing, you must - * add it to the GC's "root set" with JS_AddRoot(cx, &thing) where thing - * is a JSString *, JSObject *, or jsdouble *, and remove the root before - * rval goes out of scope, or when rval is no longer needed. - */ - jsval rval; - JSBool ok; - - /* - * Some example source in a C string. Larger, non-null-terminated buffers - * can be used, if you pass the buffer length to JS_EvaluateScript. - */ - char *source = "x * f(y)"; - - ok = JS_EvaluateScript(cx, globalObj, source, strlen(source), - filename, lineno, &rval); - - if (ok) { - /* Should get a number back from the example source. */ - jsdouble d; - - ok = JS_ValueToNumber(cx, rval, &d); - . . . - } - -- Calling functions: - - /* Call a global function named "foo" that takes no arguments. */ - ok = JS_CallFunctionName(cx, globalObj, "foo", 0, 0, &rval); - - jsval argv[2]; - - /* Call a function in obj's scope named "method", passing two arguments. */ - argv[0] = . . .; - argv[1] = . . .; - ok = JS_CallFunctionName(cx, obj, "method", 2, argv, &rval); - -- Shutting down: - - /* For each context you've created: */ - JS_DestroyContext(cx); - - /* And finally: */ - JS_Finish(rt); - -- Debugging API - - See the trap, untrap, watch, unwatch, line2pc, and pc2line commands in js.c. - Also the (scant) comments in jsdbgapi.h. - -Design walk-through: - - This section must be brief for now -- it could easily turn into a book. - -- JS "JavaScript Proper" - - JS modules declare and implement the JavaScript compiler, interpreter, - decompiler, GC and atom manager, and standard classes. - - JavaScript uses untyped bytecode and runtime type tagging of data values. - The jsval type is a signed machine word that contains either a signed integer - value (if the low bit is set), or a type-tagged pointer or boolean value (if - the low bit is clear). Tagged pointers all refer to 8-byte-aligned things in - the GC heap. - - Objects consist of a possibly shared structural description, called the map - or scope; and unshared property values in a vector, called the slots. Object - properties are associated with nonnegative integers stored in jsvals, or with - atoms (unique string descriptors) if named by an identifier or a non-integral - index expression. - - Scripts contain bytecode, source annotations, and a pool of string, number, - and identifier literals. Functions are objects that extend scripts or native - functions with formal parameters, a literal syntax, and a distinct primitive - type ("function"). - - The compiler consists of a recursive-descent parser and a random-logic rather - than table-driven lexical scanner. Semantic and lexical feedback are used to - disambiguate hard cases such as missing semicolons, assignable expressions - ("lvalues" in C parlance), etc. The parser generates bytecode as it parses, - using fixup lists for downward branches and code buffering and rewriting for - exceptional cases such as for loops. It attempts no error recovery. - - The interpreter executes the bytecode of top-level scripts, and calls itself - indirectly to interpret function bodies (which are also scripts). All state - associated with an interpreter instance is passed through formal parameters - to the interpreter entry point; most implicit state is collected in a type - named JSContext. Therefore, all API and almost all other functions in JSRef - take a JSContext pointer as their first argument. - - The decompiler translates postfix bytecode into infix source by consulting a - separate byte-sized code, called source notes, to disambiguate bytecodes that - result from more than one grammatical production. - - The GC is a mark-and-sweep, non-conservative (perfect) collector. It can - allocate only fixed-sized things -- the current size is two machine words. - It is used to hold JS object and string descriptors (but not property lists - or string bytes), and double-precision floating point numbers. It runs - automatically only when maxbytes (as passed to JS_Init) bytes of GC things - have been allocated and another thing-allocation request is made. JS API - users should call JS_GC or JS_MaybeGC between script executions or from the - branch callback, as often as necessary. - - An important point about the GC's "perfection": you must add roots for new - objects created by your native methods if you store references to them into - a non-JS structure in the malloc heap or in static data. Also, if you make - a new object in a native method, but do not store it through the rval result - parameter (see math_abs in the "Using the JS API" section above) so that it - is in a known root, the object is guaranteed to survive only until another - new object is created. Either lock the first new object when making two in - a row, or store it in a root you've added, or store it via rval. - - The atom manager consists of a hash table associating strings uniquely with - scanner/parser information such as keyword type, index in script or function - literal pool, etc. Atoms play three roles in JSRef: as literals referred to - by unaligned 16-bit immediate bytecode operands, as unique string descriptors - for efficient property name hashing, and as members of the root GC set for - perfect GC. This design therefore requires atoms to be manually reference - counted, from script literal pools (JSAtomMap) and object symbol (JSSymbol) - entry keys. - - Native objects and methods for arrays, booleans, dates, functions, numbers, - and strings are implemented using the JS API and certain internal interfaces - used as "fast paths". - - In general, errors are signaled by false or unoverloaded-null return values, - and are reported using JS_ReportError or one of its variants by the lowest - level in order to provide the most detail. Client code can substitute its - own error reporting function and suppress errors, or reflect them into Java - or some other runtime system as exceptions, GUI dialogs, etc. - -- PR "Portable Runtime" - - PR modules declare and implement fundamental representation types and macros, - arenas, hash tables, 64-bit integers, double-precision floating point to - string and back conversions, and date/time functions that are used by the JS - modules. The PR code is independent of JavaScript and can be used without - linking with the JS code. - - In general, errors are signaled by false or unoverloaded-null return values, - but are not reported. Therefore, JS calls to PR functions check returns and - report errors as specifically as possible. - -File walk-through: - -- jsapi.c, jsapi.h - - The public API to be used by almost all client code. - - If your client code can't make do with jsapi.h, and must reach into a friend - or private js* file, please let us know so we can extend jsapi.h to include - what you need in a fashion that we can support over the long run. - -- jspubtd.h, jsprvtd.h - - These files exist to group struct and scalar typedefs so they can be used - everywhere without dragging in struct definitions from N different files. - The jspubtd.h file contains public typedefs, and is included by jsapi.h. - The jsprvtd.h file contains private typedefs and is included by various .h - files that need type names, but not type sizes or declarations. - -- jsdbgapi.c, jsdbgapi.h - - The Debugging API, still very much under development. Provided so far: - - - Traps, with which breakpoints, single-stepping, step over, step out, and - so on can be implemented. The debugger will have to consult jsopcode.def - on its own to figure out where to plant trap instructions to implement - functions like step out, but a future jsdbgapi.h will provide convenience - interfaces to do these things. - - At most one trap per bytecode can be set. When a script (JSScript) is - destroyed, all traps set in its bytecode are cleared. - - - Watchpoints, for intercepting set operations on properties and running a - debugger-supplied function that receives the old value and a pointer to - the new one, which it can use to modify the new value being set. - - - Line number to PC and back mapping functions. The line-to-PC direction - "rounds" toward the next bytecode generated from a line greater than or - equal to the input line, and may return the PC of a for-loop update part, - if given the line number of the loop body's closing brace. Any line after - the last one in a script or function maps to a PC one byte beyond the last - bytecode in the script. - - An example, from perfect.js: - -14 function perfect(n) -15 { -16 print("The perfect numbers up to " + n + " are:"); -17 -18 // We build sumOfDivisors[i] to hold a string expression for -19 // the sum of the divisors of i, excluding i itself. -20 var sumOfDivisors = new ExprArray(n+1,1); -21 for (var divisor = 2; divisor <= n; divisor++) { -22 for (var j = divisor + divisor; j <= n; j += divisor) { -23 sumOfDivisors[j] += " + " + divisor; -24 } -25 // At this point everything up to 'divisor' has its sumOfDivisors -26 // expression calculated, so we can determine whether it's perfect -27 // already by evaluating. -28 if (eval(sumOfDivisors[divisor]) == divisor) { -29 print("" + divisor + " = " + sumOfDivisors[divisor]); -30 } -31 } -32 delete sumOfDivisors; -33 print("That's all."); -34 } - - The line number to PC and back mappings can be tested using the js program - with the following script: - - load("perfect.js") - print(perfect) - dis(perfect) - - print() - for (var ln = 0; ln <= 40; ln++) { - var pc = line2pc(perfect,ln) - var ln2 = pc2line(perfect,pc) - print("\tline " + ln + " => pc " + pc + " => line " + ln2) - } - - The result of the for loop over lines 0 to 40 inclusive is: - - line 0 => pc 0 => line 16 - line 1 => pc 0 => line 16 - line 2 => pc 0 => line 16 - line 3 => pc 0 => line 16 - line 4 => pc 0 => line 16 - line 5 => pc 0 => line 16 - line 6 => pc 0 => line 16 - line 7 => pc 0 => line 16 - line 8 => pc 0 => line 16 - line 9 => pc 0 => line 16 - line 10 => pc 0 => line 16 - line 11 => pc 0 => line 16 - line 12 => pc 0 => line 16 - line 13 => pc 0 => line 16 - line 14 => pc 0 => line 16 - line 15 => pc 0 => line 16 - line 16 => pc 0 => line 16 - line 17 => pc 19 => line 20 - line 18 => pc 19 => line 20 - line 19 => pc 19 => line 20 - line 20 => pc 19 => line 20 - line 21 => pc 36 => line 21 - line 22 => pc 53 => line 22 - line 23 => pc 74 => line 23 - line 24 => pc 92 => line 22 - line 25 => pc 106 => line 28 - line 26 => pc 106 => line 28 - line 27 => pc 106 => line 28 - line 28 => pc 106 => line 28 - line 29 => pc 127 => line 29 - line 30 => pc 154 => line 21 - line 31 => pc 154 => line 21 - line 32 => pc 161 => line 32 - line 33 => pc 172 => line 33 - line 34 => pc 172 => line 33 - line 35 => pc 172 => line 33 - line 36 => pc 172 => line 33 - line 37 => pc 172 => line 33 - line 38 => pc 172 => line 33 - line 39 => pc 172 => line 33 - line 40 => pc 172 => line 33 - -- jsconfig.h - - Various configuration macros defined as 0 or 1 depending on how JS_VERSION - is defined (as 10 for JavaScript 1.0, 11 for JavaScript 1.1, etc.). Not all - macros are tested around related code yet. In particular, JS 1.0 support is - missing from JSRef. JS 1.2 support will appear in a future JSRef release. - -- js.c - - The "JS shell", a simple interpreter program that uses the JS API and more - than a few internal interfaces (some of these internal interfaces could be - replaced by jsapi.h calls). The js program built from this source provides - a test vehicle for evaluating scripts and calling functions, trying out new - debugger primitives, etc. - -- jsarray.c, jsarray.h -- jsbool.c, jsbool.h -- jsdate.c, jsdate.h -- jsfun.c, jsfun.h -- jsmath.c, jsmath.h -- jsnum.c, jsnum.h -- jsstr.c, jsstr.h - - These file pairs implement the standard classes and (where they exist) their - underlying primitive types. They have similar structure, generally starting - with class definitions and continuing with internal constructors, finalizers, - and helper functions. - -- jsobj.c, jsobj.h -- jsscope.c, jsscope.h - - These two pairs declare and implement the JS object system. All of the - following happen here: - - - creating objects by class and prototype, and finalizing objects; - - defining, looking up, getting, setting, and deleting properties; - - creating and destroying properties and binding names to them. - - The details of an object map (scope) are mostly hidden in jsscope.[ch], - where scopes start out as linked lists of symbols, and grow after some - threshold into PR hash tables. - -- jsatom.c, jsatom.h - - The atom manager. Contains well-known string constants, their atoms, the - global atom hash table and related state, the js_Atomize() function that - turns a counted string of bytes into an atom, and literal pool (JSAtomMap) - methods. - -- jsgc.c, jsgc.h - - [TBD] - -- jsinterp.c, jsinterp.h -- jscntxt.c, jscntxt.h - - The bytecode interpreter, and related functions such as Call and AllocStack, - live in interp.c. The JSContext constructor and destructor are factored out - into jscntxt.c for minimal linking when the compiler part of JS is split from - the interpreter part into a separate program. - -- jsemit.c, jsemit.h -- jsopcode.def, jsopcode.c, jsopcode.h -- jsparse.c, jsparse.h -- jsscan.c, jsscan.h -- jsscript.c, jsscript.h - - Compiler and decompiler modules. The jsopcode.def file is a C preprocessor - source that defines almost everything there is to know about JS bytecodes. - See its major comment for how to use it. For now, a debugger will use it - and its dependents such as jsopcode.h directly, but over time we intend to - extend jsdbgapi.h to hide uninteresting details and provide conveniences. - - The code generator is split across paragraphs of code in jsparse.c, and the - utility methods called on JSCodeGenerator appear in jsemit.c. Source notes - generated by jsparse.c and jsemit.c are used in jsscript.c to map line number - to program counter and back. - -- prtypes.h, prlog2.c - - Fundamental representation types and utility macros. This file alone among - all .h files in JSRef must be included first by .c files. It is not nested - in .h files, as other prerequisite .h files generally are, since it is also - a direct dependency of most .c files and would be over-included if nested in - addition to being directly included. - - The one "not-quite-a-macro macro" is the PR_CeilingLog2 function in prlog2.c. - -- prarena.c, prarena.h - - Last-In-First-Out allocation macros that amortize malloc costs and allow for - en-masse freeing. See the paper mentioned in prarena.h's major comment. - -- prassert.c, prassert.h - - The PR_ASSERT macro is used throughout JSRef source as a proof device to make - invariants and preconditions clear to the reader, and to hold the line during - maintenance and evolution against regressions or violations of assumptions - that it would be too expensive to test unconditionally at run-time. Certain - assertions are followed by run-time tests that cope with assertion failure, - but only where I'm too smart or paranoid to believe the assertion will never - fail... - -- prclist.h - - Doubly-linked circular list struct and macros. - -- prcpucfg.c - - This standalone program generates prcpucfg.h, a header file containing bytes - per word and other constants that depend on CPU architecture and C compiler - type model. It tries to discover most of these constants by running its own - experiments on the build host, so if you are cross-compiling, beware. - -- prdtoa.c, prdtoa.h - - David Gay's portable double-precision floating point to string conversion - code, with Permission To Use notice included. - -- prhash.c, prhash.h - - Portable, extensible hash tables. These use multiplicative hash for strength - reduction over division hash, yet with very good key distribution over power - of two table sizes. Collisions resolve via chaining, so each entry burns a - malloc and can fragment the heap. - -- prlong.c, prlong.h - - 64-bit integer emulation, and compatible macros that use C's long long type - where it exists (my last company mapped long long to a 128-bit type, but no - real architecture does 128-bit ints yet). - -- prosdep.h, prmacos.h, prpcos.h, prunixos.h, os/*.h - - A bunch of annoying OS dependencies rationalized into a few "feature-test" - macros such as HAVE_LONG_LONG. - -- prprintf.c, prprintf.h - - Portable, buffer-overrun-resistant sprintf and friends. - - For no good reason save lack of time, the %e, %f, and %g formats cause your - system's native sprintf, rather than PR_dtoa, to be used. This bug doesn't - affect JSRef, because it uses its own PR_dtoa call in jsnum.c to convert - from double to string, but it's a bug that we'll fix later, and one you - should be aware of if you intend to use a PR_*printf function with your own - floating type arguments -- various vendor sprintf's mishandle NaN, +/-Inf, - and some even print normal floating values inaccurately. - -- prtime.c, prtime.h - - Time functions. These interfaces are named in a way that makes local vs. - universal time confusion likely. Caveat emptor, and we're working on it. - To make matters worse, Java (and therefore JavaScript) uses "local" time - numbers (offsets from the epoch) in its Date class. diff --git a/js/ref/TODO b/js/ref/TODO deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/AIX4.1.mk b/js/ref/config/AIX4.1.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/AIX4.2.mk b/js/ref/config/AIX4.2.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/HP-UXB.10.10.mk b/js/ref/config/HP-UXB.10.10.mk deleted file mode 100755 index e69de29bb2d..00000000000 diff --git a/js/ref/config/HP-UXB.10.20.mk b/js/ref/config/HP-UXB.10.20.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/HP-UXB.11.00.mk b/js/ref/config/HP-UXB.11.00.mk deleted file mode 100755 index e69de29bb2d..00000000000 diff --git a/js/ref/config/IRIX.mk b/js/ref/config/IRIX.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/IRIX5.3.mk b/js/ref/config/IRIX5.3.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/IRIX6.1.mk b/js/ref/config/IRIX6.1.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/IRIX6.2.mk b/js/ref/config/IRIX6.2.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/IRIX6.3.mk b/js/ref/config/IRIX6.3.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/Linux_All.mk b/js/ref/config/Linux_All.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/SunOS4.1.4.mk b/js/ref/config/SunOS4.1.4.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/SunOS5.3.mk b/js/ref/config/SunOS5.3.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/SunOS5.4.mk b/js/ref/config/SunOS5.4.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/SunOS5.5.1.mk b/js/ref/config/SunOS5.5.1.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/SunOS5.5.mk b/js/ref/config/SunOS5.5.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/WINNT4.0.mk b/js/ref/config/WINNT4.0.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/config/dgux.mk b/js/ref/config/dgux.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/files b/js/ref/files deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/js.c b/js/ref/js.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/js.mak b/js/ref/js.mak deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/js.mdp b/js/ref/js.mdp deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/js32.dsp b/js/ref/js32.dsp deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsapi.c b/js/ref/jsapi.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsapi.h b/js/ref/jsapi.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsarray.c b/js/ref/jsarray.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsarray.h b/js/ref/jsarray.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsatom.c b/js/ref/jsatom.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsatom.h b/js/ref/jsatom.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsbool.c b/js/ref/jsbool.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsbool.h b/js/ref/jsbool.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jscntxt.c b/js/ref/jscntxt.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jscntxt.h b/js/ref/jscntxt.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsconfig.h b/js/ref/jsconfig.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsd/jsd.h b/js/ref/jsd/jsd.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsd/jsd_high.c b/js/ref/jsd/jsd_high.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsd/jsd_hook.c b/js/ref/jsd/jsd_hook.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsd/jsd_lock.c b/js/ref/jsd/jsd_lock.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsd/jsd_lock.h b/js/ref/jsd/jsd_lock.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsd/jsd_scpt.c b/js/ref/jsd/jsd_scpt.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsd/jsd_stak.c b/js/ref/jsd/jsd_stak.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsd/jsd_text.c b/js/ref/jsd/jsd_text.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsd/jsdebug.c b/js/ref/jsd/jsdebug.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsd/jsdebug.h b/js/ref/jsd/jsdebug.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsd/jsdshell.mak b/js/ref/jsd/jsdshell.mak deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsdate.c b/js/ref/jsdate.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsdate.h b/js/ref/jsdate.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsdbgapi.c b/js/ref/jsdbgapi.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsdbgapi.h b/js/ref/jsdbgapi.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsemit.c b/js/ref/jsemit.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsemit.h b/js/ref/jsemit.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsexn.c b/js/ref/jsexn.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsexn.h b/js/ref/jsexn.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsfun.c b/js/ref/jsfun.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsfun.h b/js/ref/jsfun.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsgc.c b/js/ref/jsgc.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsgc.h b/js/ref/jsgc.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsinterp.c b/js/ref/jsinterp.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsinterp.h b/js/ref/jsinterp.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jslock.c b/js/ref/jslock.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jslock.h b/js/ref/jslock.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsmath.c b/js/ref/jsmath.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsmath.h b/js/ref/jsmath.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsmsg.def b/js/ref/jsmsg.def deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsnum.c b/js/ref/jsnum.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsnum.h b/js/ref/jsnum.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsobj.c b/js/ref/jsobj.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsobj.h b/js/ref/jsobj.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsopcode.c b/js/ref/jsopcode.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsopcode.def b/js/ref/jsopcode.def deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsopcode.h b/js/ref/jsopcode.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsparse.c b/js/ref/jsparse.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsparse.h b/js/ref/jsparse.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsprvtd.h b/js/ref/jsprvtd.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jspubtd.h b/js/ref/jspubtd.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsregexp.c b/js/ref/jsregexp.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsregexp.h b/js/ref/jsregexp.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsscan.c b/js/ref/jsscan.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsscan.h b/js/ref/jsscan.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsscope.c b/js/ref/jsscope.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsscope.h b/js/ref/jsscope.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsscript.c b/js/ref/jsscript.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsscript.h b/js/ref/jsscript.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsshell.dsp b/js/ref/jsshell.dsp deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsstddef.h b/js/ref/jsstddef.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsstr.c b/js/ref/jsstr.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsstr.h b/js/ref/jsstr.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsxdrapi.c b/js/ref/jsxdrapi.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/jsxdrapi.h b/js/ref/jsxdrapi.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/.cvsignore b/js/ref/liveconnect/.cvsignore deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/LC.mak b/js/ref/liveconnect/LC.mak deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/LCS.mak b/js/ref/liveconnect/LCS.mak deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/LiveConnect.dsp b/js/ref/liveconnect/LiveConnect.dsp deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/LiveConnectShell.dsp b/js/ref/liveconnect/LiveConnectShell.dsp deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/LiveConnectShell.dsw b/js/ref/liveconnect/LiveConnectShell.dsw deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/Makefile b/js/ref/liveconnect/Makefile deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/README.html b/js/ref/liveconnect/README.html deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/_jni/netscape_javascript_JSObject.h b/js/ref/liveconnect/_jni/netscape_javascript_JSObject.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/classes/netscape/javascript/JSException.java b/js/ref/liveconnect/classes/netscape/javascript/JSException.java deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/classes/netscape/javascript/JSObject.java b/js/ref/liveconnect/classes/netscape/javascript/JSObject.java deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/classes/netscape/javascript/JSProxy.java b/js/ref/liveconnect/classes/netscape/javascript/JSProxy.java deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/classes/netscape/javascript/JSRunnable.java b/js/ref/liveconnect/classes/netscape/javascript/JSRunnable.java deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/classes/netscape/javascript/JSUtil.java b/js/ref/liveconnect/classes/netscape/javascript/JSUtil.java deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/classes/netscape/javascript/JSWrappedException.java b/js/ref/liveconnect/classes/netscape/javascript/JSWrappedException.java deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/config/SunOS5.5.1.mk b/js/ref/liveconnect/config/SunOS5.5.1.mk deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj.c b/js/ref/liveconnect/jsj.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_JSObject.c b/js/ref/liveconnect/jsj_JSObject.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_JavaArray.c b/js/ref/liveconnect/jsj_JavaArray.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_JavaClass.c b/js/ref/liveconnect/jsj_JavaClass.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_JavaMember.c b/js/ref/liveconnect/jsj_JavaMember.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_JavaObject.c b/js/ref/liveconnect/jsj_JavaObject.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_JavaPackage.c b/js/ref/liveconnect/jsj_JavaPackage.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_array.c b/js/ref/liveconnect/jsj_array.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_class.c b/js/ref/liveconnect/jsj_class.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_convert.c b/js/ref/liveconnect/jsj_convert.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_field.c b/js/ref/liveconnect/jsj_field.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_hash.c b/js/ref/liveconnect/jsj_hash.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_hash.h b/js/ref/liveconnect/jsj_hash.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_method.c b/js/ref/liveconnect/jsj_method.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_msg.def b/js/ref/liveconnect/jsj_msg.def deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_private.h b/js/ref/liveconnect/jsj_private.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsj_utils.c b/js/ref/liveconnect/jsj_utils.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/jsjava.h b/js/ref/liveconnect/jsjava.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/macbuild/JavaSession/JavaSession.cpp b/js/ref/liveconnect/macbuild/JavaSession/JavaSession.cpp deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/macbuild/JavaSession/JavaSession.h b/js/ref/liveconnect/macbuild/JavaSession/JavaSession.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/macbuild/JavaSession/OSStatusException.h b/js/ref/liveconnect/macbuild/JavaSession/OSStatusException.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/macbuild/LiveConnect.mcp b/js/ref/liveconnect/macbuild/LiveConnect.mcp deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/macbuild/LiveConnectShell.mcp b/js/ref/liveconnect/macbuild/LiveConnectShell.mcp deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/macbuild/LiveConnectShell.prefix b/js/ref/liveconnect/macbuild/LiveConnectShell.prefix deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/liveconnect/netscape_javascript_JSObject.h b/js/ref/liveconnect/netscape_javascript_JSObject.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/lock_SunOS.s b/js/ref/lock_SunOS.s deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/macbuild/JSRef.mcp b/js/ref/macbuild/JSRef.mcp deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/macbuild/JSRef.prefix b/js/ref/macbuild/JSRef.prefix deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/aix.h b/js/ref/os/aix.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/bsdi.h b/js/ref/os/bsdi.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/hpux.h b/js/ref/os/hpux.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/irix.h b/js/ref/os/irix.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/linux.h b/js/ref/os/linux.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/nec.h b/js/ref/os/nec.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/osf1.h b/js/ref/os/osf1.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/reliantunix.h b/js/ref/os/reliantunix.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/scoos.h b/js/ref/os/scoos.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/solaris.h b/js/ref/os/solaris.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/sony.h b/js/ref/os/sony.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/sunos.h b/js/ref/os/sunos.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/unixware.h b/js/ref/os/unixware.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/win16.h b/js/ref/os/win16.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/os/win32.h b/js/ref/os/win32.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/perfect.js b/js/ref/perfect.js deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prarena.c b/js/ref/prarena.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prarena.h b/js/ref/prarena.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prassert.c b/js/ref/prassert.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prassert.h b/js/ref/prassert.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prclist.h b/js/ref/prclist.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prcpucfg.c b/js/ref/prcpucfg.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prcpucfg.h b/js/ref/prcpucfg.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prdtoa.c b/js/ref/prdtoa.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prdtoa.h b/js/ref/prdtoa.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prhash.c b/js/ref/prhash.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prhash.h b/js/ref/prhash.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prlog2.c b/js/ref/prlog2.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prlong.c b/js/ref/prlong.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prlong.h b/js/ref/prlong.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prmacos.cpp b/js/ref/prmacos.cpp deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prmacos.h b/js/ref/prmacos.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prosdep.h b/js/ref/prosdep.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prpcos.h b/js/ref/prpcos.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prprintf.c b/js/ref/prprintf.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prprintf.h b/js/ref/prprintf.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prtime.c b/js/ref/prtime.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prtime.h b/js/ref/prtime.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prtypes.h b/js/ref/prtypes.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/prunixos.h b/js/ref/prunixos.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jsdraw/data.c b/js/ref/samples/jsdraw/data.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jsdraw/draw.c b/js/ref/samples/jsdraw/draw.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jsdraw/headers.h b/js/ref/samples/jsdraw/headers.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jsdraw/jsdraw.c b/js/ref/samples/jsdraw/jsdraw.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jsdraw/jsdraw.h b/js/ref/samples/jsdraw/jsdraw.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jsdraw/jsdraw.mak b/js/ref/samples/jsdraw/jsdraw.mak deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jsdraw/jsdraw.rc b/js/ref/samples/jsdraw/jsdraw.rc deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jsdraw/maindlg.c b/js/ref/samples/jsdraw/maindlg.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jsdraw/prompt.c b/js/ref/samples/jsdraw/prompt.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jsdraw/resource.h b/js/ref/samples/jsdraw/resource.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jsdraw/run/autoload.js b/js/ref/samples/jsdraw/run/autoload.js deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jsdraw/run/readme.txt b/js/ref/samples/jsdraw/run/readme.txt deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jslogger/JSLogger.html b/js/ref/samples/jslogger/JSLogger.html deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jslogger/JSLoggerAsIFCApplet.java b/js/ref/samples/jslogger/JSLoggerAsIFCApplet.java deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jslogger/mk.bat b/js/ref/samples/jslogger/mk.bat deleted file mode 100755 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jslogger/netscape/jslogger/CallChain.java b/js/ref/samples/jslogger/netscape/jslogger/CallChain.java deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jslogger/netscape/jslogger/ControlPanel.java b/js/ref/samples/jslogger/netscape/jslogger/ControlPanel.java deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jslogger/netscape/jslogger/JSLogger.java b/js/ref/samples/jslogger/netscape/jslogger/JSLogger.java deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jslogger/netscape/jslogger/MyErrorReporter.java b/js/ref/samples/jslogger/netscape/jslogger/MyErrorReporter.java deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jslogger/netscape/jslogger/MyInterruptHook.java b/js/ref/samples/jslogger/netscape/jslogger/MyInterruptHook.java deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jslogger/netscape/jslogger/MyScriptHook.java b/js/ref/samples/jslogger/netscape/jslogger/MyScriptHook.java deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/jslogger/readme.txt b/js/ref/samples/jslogger/readme.txt deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/xdr/Makefile b/js/ref/samples/xdr/Makefile deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/xdr/common.c b/js/ref/samples/xdr/common.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/xdr/compile.c b/js/ref/samples/xdr/compile.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/samples/xdr/run.c b/js/ref/samples/xdr/run.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/shellmsg.def b/js/ref/shellmsg.def deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/sunos4.h b/js/ref/sunos4.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/js/ref/ycomb.js b/js/ref/ycomb.js deleted file mode 100644 index e69de29bb2d..00000000000