├── js ├── jsd │ ├── .cvsignore │ ├── CVS │ │ ├── Tag │ │ ├── Repository │ │ ├── Root │ │ ├── Entries.Log │ │ └── Entries │ ├── classes │ │ ├── .cvsignore │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Entries.Log │ │ │ ├── Repository │ │ │ ├── Root │ │ │ └── Entries │ │ └── netscape │ │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Entries │ │ │ ├── Repository │ │ │ └── Root │ │ │ └── jsdebug │ │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Repository │ │ │ ├── Root │ │ │ └── Entries │ │ │ ├── Hook.java │ │ │ ├── InterruptHook.java │ │ │ ├── DebugBreakHook.java │ │ │ └── PC.java │ ├── corba │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Repository │ │ │ ├── Entries.Log │ │ │ ├── Root │ │ │ └── Entries │ │ ├── idl │ │ │ ├── CVS │ │ │ │ ├── Tag │ │ │ │ ├── Repository │ │ │ │ ├── Root │ │ │ │ └── Entries │ │ │ └── .cvsignore │ │ ├── java │ │ │ ├── .cvsignore │ │ │ └── CVS │ │ │ │ ├── Tag │ │ │ │ ├── Repository │ │ │ │ ├── Entries.Log │ │ │ │ ├── Root │ │ │ │ └── Entries │ │ ├── src │ │ │ ├── CVS │ │ │ │ ├── Tag │ │ │ │ ├── Repository │ │ │ │ ├── Root │ │ │ │ └── Entries │ │ │ ├── package_header.h │ │ │ ├── WAIT.COM │ │ │ ├── README │ │ │ ├── Thing.java │ │ │ ├── IJSPC.java │ │ │ ├── IScriptSection.java │ │ │ ├── IJSSourceLocation.java │ │ │ ├── IJSStackFrameInfo.java │ │ │ ├── IJSExecutionHook.java │ │ │ ├── StringReciever.java │ │ │ ├── IScriptHook.java │ │ │ ├── IScript.java │ │ │ ├── TestInterface.java │ │ │ ├── bogus0.java │ │ │ ├── bogus1.java │ │ │ ├── IExecResult.java │ │ │ ├── cutlines.awk │ │ │ └── IJSErrorReporter.java │ │ └── .cvsignore │ ├── idl │ │ ├── .cvsignore │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Repository │ │ │ ├── Root │ │ │ └── Entries │ │ └── Makefile.in │ ├── java │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Repository │ │ │ ├── Root │ │ │ └── Entries │ │ ├── jre │ │ │ ├── CVS │ │ │ │ ├── Tag │ │ │ │ ├── Repository │ │ │ │ ├── Root │ │ │ │ └── Entries │ │ │ └── win32 │ │ │ │ ├── CVS │ │ │ │ ├── Tag │ │ │ │ ├── Repository │ │ │ │ ├── Root │ │ │ │ └── Entries │ │ │ │ └── jre_md.h │ │ ├── jniheadr.mak │ │ ├── jsdjava.mak │ │ └── jni_stubs.c │ ├── jsdb │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Repository │ │ │ ├── Entries.Log │ │ │ ├── Root │ │ │ └── Entries │ │ ├── .cvsignore │ │ ├── test.js │ │ ├── mk.bat │ │ ├── README │ │ ├── f.js │ │ ├── objects.js │ │ └── jsdb.h │ ├── javawrap │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Repository │ │ │ ├── Root │ │ │ └── Entries │ │ └── mk.bat │ ├── mkshell.bat │ ├── jsd.pkg │ ├── README │ ├── jsd.mak │ ├── jsdstubs.c │ └── resource.h ├── src │ ├── CVS │ │ ├── Tag │ │ ├── Repository │ │ ├── Root │ │ └── Entries.Log │ ├── config │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Repository │ │ │ ├── Root │ │ │ └── Entries │ │ ├── Darwin1.4.mk │ │ ├── IRIX5.3.mk │ │ ├── IRIX6.1.mk │ │ ├── IRIX6.2.mk │ │ ├── IRIX6.3.mk │ │ ├── IRIX6.5.mk │ │ ├── SunOS5.7.mk │ │ ├── SunOS5.8.mk │ │ ├── SunOS5.9.mk │ │ ├── SunOS5.5.1.mk │ │ ├── SunOS5.10.mk │ │ ├── AIX4.2.mk │ │ ├── AIX4.1.mk │ │ ├── AIX4.3.mk │ │ ├── dgux.mk │ │ ├── OSF1V5.0.mk │ │ ├── HP-UXB.10.10.mk │ │ └── HP-UXB.10.20.mk │ ├── fdlibm │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Repository │ │ │ └── Root │ │ ├── .cvsignore │ │ ├── fdlibm.mdp │ │ ├── s_signgam.c │ │ └── s_matherr.c │ ├── liveconnect │ │ ├── jsj_nodl.c │ │ ├── CVS │ │ │ ├── Tag │ │ │ ├── Repository │ │ │ ├── Root │ │ │ ├── Entries.Log │ │ │ └── Entries │ │ ├── _jni │ │ │ ├── CVS │ │ │ │ ├── Tag │ │ │ │ ├── Repository │ │ │ │ ├── Root │ │ │ │ └── Entries │ │ │ └── netscape_javascript_JSException.h │ │ ├── classes │ │ │ ├── .cvsignore │ │ │ ├── CVS │ │ │ │ ├── Tag │ │ │ │ ├── Entries.Log │ │ │ │ ├── Repository │ │ │ │ ├── Root │ │ │ │ └── Entries │ │ │ ├── netscape │ │ │ │ ├── CVS │ │ │ │ │ ├── Tag │ │ │ │ │ ├── Repository │ │ │ │ │ ├── Root │ │ │ │ │ └── Entries │ │ │ │ ├── javascript │ │ │ │ │ ├── CVS │ │ │ │ │ │ ├── Tag │ │ │ │ │ │ ├── Root │ │ │ │ │ │ ├── Repository │ │ │ │ │ │ └── Entries │ │ │ │ │ ├── Makefile.ref │ │ │ │ │ └── JSUtil.java │ │ │ │ └── Makefile.ref │ │ │ └── Makefile.ref │ │ ├── config │ │ │ ├── CVS │ │ │ │ ├── Tag │ │ │ │ ├── Repository │ │ │ │ ├── Root │ │ │ │ └── Entries │ │ │ ├── SunOS5.6.mk │ │ │ ├── SunOS5.7.mk │ │ │ ├── SunOS5.8.mk │ │ │ ├── IRIX6.2.mk │ │ │ ├── IRIX6.3.mk │ │ │ ├── IRIX6.5.mk │ │ │ ├── HP-UXB.10.10.mk │ │ │ ├── HP-UXB.10.20.mk │ │ │ ├── HP-UXB.11.00.mk │ │ │ ├── AIX4.1.mk │ │ │ ├── AIX4.2.mk │ │ │ ├── WINNT4.0.mk │ │ │ ├── AIX4.3.mk │ │ │ ├── SunOS5.5.1.mk │ │ │ ├── OSF1V5.0.mk │ │ │ └── OSF1V4.0.mk │ │ ├── .cvsignore │ │ ├── liveconnect.pkg │ │ └── LiveConnectShell.dsw │ ├── editline │ │ └── CVS │ │ │ ├── Tag │ │ │ ├── Repository │ │ │ ├── Root │ │ │ └── Entries │ ├── js.pkg │ ├── js.mdp │ ├── .cvsignore │ ├── resource.h │ ├── Y.js │ ├── SpiderMonkey.rsp │ ├── plify_jsdhash.sed │ ├── perfect.js │ ├── build.mk │ ├── jsinvoke.c │ ├── js3240.rc │ ├── jsmath.h │ ├── jsfile.h │ ├── jslocko.asm │ ├── jscompat.h │ └── jsshell.msg └── README ├── README.md └── PlayBook-build └── jsautocfg.h /js/jsd/.cvsignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | -------------------------------------------------------------------------------- /js/jsd/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/src/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/classes/.cvsignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | -------------------------------------------------------------------------------- /js/jsd/classes/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/corba/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/idl/.cvsignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | -------------------------------------------------------------------------------- /js/jsd/idl/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/java/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/jsdb/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/src/config/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/src/fdlibm/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/jsj_nodl.c: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /js/jsd/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd 2 | -------------------------------------------------------------------------------- /js/jsd/corba/idl/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/corba/java/.cvsignore: -------------------------------------------------------------------------------- 1 | com 2 | 3 | -------------------------------------------------------------------------------- /js/jsd/corba/java/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/corba/src/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/java/jre/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/javawrap/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/jsdb/.cvsignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | js 3 | -------------------------------------------------------------------------------- /js/jsd/jsdb/test.js: -------------------------------------------------------------------------------- 1 | load('objects.js') 2 | -------------------------------------------------------------------------------- /js/src/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/src 2 | -------------------------------------------------------------------------------- /js/src/editline/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/classes/netscape/CVS/Tag: -------------------------------------------------------------------------------- 1 | TJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/idl/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd/idl 2 | -------------------------------------------------------------------------------- /js/jsd/java/jre/win32/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/_jni/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/classes/CVS/Entries.Log: -------------------------------------------------------------------------------- 1 | A D/netscape//// 2 | -------------------------------------------------------------------------------- /js/jsd/classes/netscape/CVS/Entries: -------------------------------------------------------------------------------- 1 | D/jsdebug//// 2 | -------------------------------------------------------------------------------- /js/jsd/corba/.cvsignore: -------------------------------------------------------------------------------- 1 | class 2 | cpp 3 | java 4 | -------------------------------------------------------------------------------- /js/jsd/corba/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd/corba 2 | -------------------------------------------------------------------------------- /js/jsd/java/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd/java 2 | -------------------------------------------------------------------------------- /js/jsd/jsdb/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd/jsdb 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/.cvsignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/classes/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd/classes 2 | -------------------------------------------------------------------------------- /js/jsd/classes/netscape/jsdebug/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/java/jre/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd/java/jre 2 | -------------------------------------------------------------------------------- /js/jsd/javawrap/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd/javawrap 2 | -------------------------------------------------------------------------------- /js/src/config/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/src/config 2 | -------------------------------------------------------------------------------- /js/src/editline/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/src/editline 2 | -------------------------------------------------------------------------------- /js/src/fdlibm/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/src/fdlibm 2 | -------------------------------------------------------------------------------- /js/jsd/corba/idl/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd/corba/idl 2 | -------------------------------------------------------------------------------- /js/jsd/corba/java/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd/corba/java 2 | -------------------------------------------------------------------------------- /js/jsd/corba/src/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd/corba/src 2 | -------------------------------------------------------------------------------- /js/jsd/javawrap/mk.bat: -------------------------------------------------------------------------------- 1 | nmake -f javawrap.mak %1 %2 %3 %4 %5 2 | -------------------------------------------------------------------------------- /js/jsd/jsdb/CVS/Entries.Log: -------------------------------------------------------------------------------- 1 | A D/jre//// 2 | R D/jre//// 3 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/CVS/Entries.Log: -------------------------------------------------------------------------------- 1 | A D/netscape//// 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/netscape/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/corba/idl/.cvsignore: -------------------------------------------------------------------------------- 1 | ifaces_original.idl 2 | temp.idl 3 | -------------------------------------------------------------------------------- /js/jsd/jsdb/mk.bat: -------------------------------------------------------------------------------- 1 | nmake -f jsdb.mak %1 %2 %3 %4 %5 %6 %7 %8 %9 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/src/liveconnect 2 | -------------------------------------------------------------------------------- /js/jsd/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/jsd/java/jre/win32/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd/java/jre/win32 2 | -------------------------------------------------------------------------------- /js/src/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/src/js.pkg: -------------------------------------------------------------------------------- 1 | [gecko xpi-bootstrap] 2 | dist/bin/@SHARED_LIBRARY@ 3 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/netscape/javascript/CVS/Tag: -------------------------------------------------------------------------------- 1 | NJS_180_RC1 2 | -------------------------------------------------------------------------------- /js/jsd/classes/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/jsd/classes/netscape/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd/classes/netscape 2 | -------------------------------------------------------------------------------- /js/jsd/corba/CVS/Entries.Log: -------------------------------------------------------------------------------- 1 | A D/idl//// 2 | A D/java//// 3 | A D/src//// 4 | -------------------------------------------------------------------------------- /js/jsd/corba/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/jsd/corba/java/CVS/Entries.Log: -------------------------------------------------------------------------------- 1 | A D/netscape//// 2 | R D/netscape//// 3 | -------------------------------------------------------------------------------- /js/jsd/idl/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/jsd/java/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/jsd/jsdb/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/src/config/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/src/fdlibm/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/_jni/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/src/liveconnect/_jni 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/src/liveconnect/config 2 | -------------------------------------------------------------------------------- /js/jsd/corba/idl/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/jsd/corba/java/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/jsd/corba/src/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/jsd/java/jre/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/jsd/javawrap/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/src/editline/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/src/liveconnect/classes 2 | -------------------------------------------------------------------------------- /js/jsd/classes/netscape/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/jsd/java/jre/win32/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/src/js.mdp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackberry/SpiderMonkey/HEAD/js/src/js.mdp -------------------------------------------------------------------------------- /js/src/liveconnect/_jni/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/jsd/classes/netscape/jsdebug/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/jsd/classes/netscape/jsdebug 2 | -------------------------------------------------------------------------------- /js/jsd/corba/java/CVS/Entries: -------------------------------------------------------------------------------- 1 | /.cvsignore/1.1/Wed Sep 16 22:23:51 1998//TJS_180_RC1 2 | D 3 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/jsd/classes/netscape/jsdebug/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/jsd/corba/src/package_header.h: -------------------------------------------------------------------------------- 1 | 2 | package com.netscape.jsdebugging.remote.corba; 3 | 4 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/netscape/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/src/liveconnect/classes/netscape 2 | -------------------------------------------------------------------------------- /js/src/fdlibm/.cvsignore: -------------------------------------------------------------------------------- 1 | *.pdb 2 | *.ncb 3 | *.opt 4 | *.plg 5 | Debug 6 | Release 7 | Makefile 8 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/netscape/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/src/fdlibm/fdlibm.mdp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackberry/SpiderMonkey/HEAD/js/src/fdlibm/fdlibm.mdp -------------------------------------------------------------------------------- /js/src/liveconnect/.cvsignore: -------------------------------------------------------------------------------- 1 | *.pdb 2 | *.ncb 3 | *.opt 4 | *.plg 5 | Debug 6 | Release 7 | Makefile 8 | -------------------------------------------------------------------------------- /js/jsd/corba/src/WAIT.COM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blackberry/SpiderMonkey/HEAD/js/jsd/corba/src/WAIT.COM -------------------------------------------------------------------------------- /js/src/liveconnect/classes/netscape/javascript/CVS/Root: -------------------------------------------------------------------------------- 1 | :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/netscape/javascript/CVS/Repository: -------------------------------------------------------------------------------- 1 | mozilla/js/src/liveconnect/classes/netscape/javascript 2 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/netscape/CVS/Entries: -------------------------------------------------------------------------------- 1 | /Makefile.ref/1.5/Sat Nov 15 00:11:07 2003//TJS_180_RC1 2 | D/javascript//// 3 | -------------------------------------------------------------------------------- /js/src/.cvsignore: -------------------------------------------------------------------------------- 1 | *.pdb 2 | *.ncb 3 | *.opt 4 | *.plg 5 | Debug 6 | Release 7 | Makefile 8 | jscpucfg 9 | jsautocfg.h 10 | -------------------------------------------------------------------------------- /js/src/liveconnect/liveconnect.pkg: -------------------------------------------------------------------------------- 1 | # this is part of the GRE, but *not* part of the embedding packages 2 | [gre] 3 | dist/bin/@SHARED_LIBRARY@ 4 | -------------------------------------------------------------------------------- /js/jsd/corba/idl/CVS/Entries: -------------------------------------------------------------------------------- 1 | /.cvsignore/1.1/Wed Sep 16 22:23:49 1998//TJS_180_RC1 2 | /ifaces.idl/1.1/Wed Sep 16 22:23:49 1998//TJS_180_RC1 3 | D 4 | -------------------------------------------------------------------------------- /js/jsd/java/jre/CVS/Entries: -------------------------------------------------------------------------------- 1 | /jre.c/1.4/Sat Dec 31 12:14:44 2005//TJS_180_RC1 2 | /jre.h/1.4/Sat Dec 31 12:14:44 2005//TJS_180_RC1 3 | D/win32//// 4 | -------------------------------------------------------------------------------- /js/jsd/java/jre/win32/CVS/Entries: -------------------------------------------------------------------------------- 1 | /jre_md.c/1.2/Thu Nov 5 08:57:15 1998//TJS_180_RC1 2 | /jre_md.h/1.2/Thu Nov 5 08:57:16 1998//TJS_180_RC1 3 | D 4 | -------------------------------------------------------------------------------- /js/src/liveconnect/CVS/Entries.Log: -------------------------------------------------------------------------------- 1 | A D/_jni//// 2 | A D/_jri//// 3 | A D/classes//// 4 | A D/config//// 5 | A D/macbuild//// 6 | R D/macbuild//// 7 | R D/_jri//// 8 | -------------------------------------------------------------------------------- /js/jsd/CVS/Entries.Log: -------------------------------------------------------------------------------- 1 | A D/classes//// 2 | A D/corba//// 3 | A D/idl//// 4 | A D/java//// 5 | A D/javawrap//// 6 | A D/jsdb//// 7 | A D/macbuild//// 8 | R D/macbuild//// 9 | -------------------------------------------------------------------------------- /js/jsd/mkshell.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM nmake -f jsdshell.mak JSDEBUGGER_JAVA_UI=1 LIVECONNECT=1 %1 %2 %3 %4 %5 3 | @echo on 4 | nmake -f jsdshell.mak JSDEBUGGER_JAVA_UI=1 %1 %2 %3 %4 %5 5 | -------------------------------------------------------------------------------- /js/src/liveconnect/_jni/CVS/Entries: -------------------------------------------------------------------------------- 1 | /netscape_javascript_JSException.h/1.3/Thu Sep 17 18:17:04 1998//TJS_180_RC1 2 | /netscape_javascript_JSObject.h/1.9/Sat Nov 15 00:11:06 2003//TJS_180_RC1 3 | D 4 | -------------------------------------------------------------------------------- /js/jsd/classes/CVS/Entries: -------------------------------------------------------------------------------- 1 | /.cvsignore/1.1/Sat Dec 5 09:02:29 1998//TJS_180_RC1 2 | /Makefile.in/1.4/Sat Feb 12 20:10:16 2005//TJS_180_RC1 3 | /makefile.win/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 4 | D 5 | -------------------------------------------------------------------------------- /js/jsd/javawrap/CVS/Entries: -------------------------------------------------------------------------------- 1 | /javawrap.mak/1.2/Thu Nov 5 08:57:17 1998//TJS_180_RC1 2 | /mk.bat/1.2/Thu Nov 5 08:57:18 1998//TJS_180_RC1 3 | /nativejsengine.c/1.2/Thu Nov 5 08:57:18 1998//TJS_180_RC1 4 | D 5 | -------------------------------------------------------------------------------- /js/jsd/idl/CVS/Entries: -------------------------------------------------------------------------------- 1 | /.cvsignore/1.1/Fri Jul 6 02:36:12 2001//TJS_180_RC1 2 | /Makefile.in/1.3/Sun Apr 18 21:57:31 2004//TJS_180_RC1 3 | /jsdIDebuggerService.idl/1.35/Wed Apr 25 13:43:18 2007//TJS_180_RC1 4 | D 5 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/CVS/Entries: -------------------------------------------------------------------------------- 1 | /.cvsignore/1.1/Sat Dec 5 09:02:36 1998//TJS_180_RC1 2 | /Makefile.in/1.8/Sat Nov 15 00:11:07 2003//TJS_180_RC1 3 | /Makefile.ref/1.7/Sat Nov 15 00:11:07 2003//TJS_180_RC1 4 | D 5 | -------------------------------------------------------------------------------- /js/README: -------------------------------------------------------------------------------- 1 | 1. The latest release notes for SpiderMonkey can be found at: 2 | 3 | https://developer.mozilla.org/En/SpiderMonkey/1.8 4 | 5 | 6 | 2. js/jsd contains code for debugging support for the C-based JavaScript engine in js/src. 7 | 8 | -------------------------------------------------------------------------------- /js/jsd/jsd.pkg: -------------------------------------------------------------------------------- 1 | # xxxbsmedberg: this should arguably be part of the GRE 2 | [xpfe-browser] 3 | #if SHARED_LIBRARY 4 | dist/bin/components/@SHARED_LIBRARY@ 5 | #else 6 | !staticcomp @LIBRARY@ @MODULE_NAME@ 7 | #endif 8 | !xpt dist/bin/components/jsdservice.xpt 9 | -------------------------------------------------------------------------------- /js/jsd/README: -------------------------------------------------------------------------------- 1 | js/jsd contains code for debugging support for the C-based JavaScript engine 2 | in js/src. jsd_xpc.cpp provides an XPCOM binding for the library. 3 | 4 | js/jsd/jsdb is a console debugger using only native code (see README in that 5 | directory.) This debugger is no longer being actively developed, though it 6 | should work. 7 | -------------------------------------------------------------------------------- /js/jsd/corba/CVS/Entries: -------------------------------------------------------------------------------- 1 | /.cvsignore/1.1/Wed Sep 16 22:23:43 1998//TJS_180_RC1 2 | /ifaces_c.cpp/1.1/Wed Sep 16 22:23:44 1998//TJS_180_RC1 3 | /ifaces_c.hh/1.1/Wed Sep 16 22:23:45 1998//TJS_180_RC1 4 | /ifaces_s.cpp/1.1/Wed Sep 16 22:23:45 1998//TJS_180_RC1 5 | /ifaces_s.hh/1.1/Wed Sep 16 22:23:46 1998//TJS_180_RC1 6 | /jsd_iiop.cpp/1.6/Thu Feb 23 09:36:27 2006//TJS_180_RC1 7 | D 8 | -------------------------------------------------------------------------------- /js/src/CVS/Entries.Log: -------------------------------------------------------------------------------- 1 | A D/config//// 2 | A D/editline//// 3 | A D/fdlibm//// 4 | A D/liveconnect//// 5 | A D/macbuild//// 6 | A D/mininspr//// 7 | A D/os//// 8 | A D/perlconnect//// 9 | A D/sh//// 10 | A D/xpcom//// 11 | A D/xpconnect//// 12 | R D/xpconnect//// 13 | R D/xpcom//// 14 | R D/sh//// 15 | R D/perlconnect//// 16 | R D/os//// 17 | R D/mininspr//// 18 | R D/macbuild//// 19 | -------------------------------------------------------------------------------- /js/src/editline/CVS/Entries: -------------------------------------------------------------------------------- 1 | /Makefile.ref/1.6/Sat Feb 12 20:10:33 2005//TJS_180_RC1 2 | /README/1.2/Sun May 9 10:22:38 1999//TJS_180_RC1 3 | /editline.3/1.2/Sun May 9 10:22:39 1999//TJS_180_RC1 4 | /editline.c/1.8/Thu Jun 29 12:51:42 2006//TJS_180_RC1 5 | /editline.h/1.5/Sat Feb 12 20:10:33 2005//TJS_180_RC1 6 | /sysunix.c/1.5/Sat Feb 12 20:10:33 2005//TJS_180_RC1 7 | /unix.h/1.5/Sat Feb 12 20:10:33 2005//TJS_180_RC1 8 | D 9 | -------------------------------------------------------------------------------- /js/src/liveconnect/_jni/netscape_javascript_JSException.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE - it is machine generated */ 2 | #include "jni.h" 3 | 4 | /* Header for class netscape_javascript_JSException */ 5 | 6 | #ifndef _Included_netscape_javascript_JSException 7 | #define _Included_netscape_javascript_JSException 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | #endif 15 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/netscape/javascript/CVS/Entries: -------------------------------------------------------------------------------- 1 | /JSException.java/1.8/Sat Nov 15 00:11:08 2003//TJS_180_RC1 2 | /JSObject.java/1.9/Sat Nov 15 00:11:08 2003//TJS_180_RC1 3 | /JSProxy.java/1.8/Sat Nov 15 00:11:08 2003//TJS_180_RC1 4 | /JSRunnable.java/1.8/Sat Nov 15 00:11:08 2003//TJS_180_RC1 5 | /JSUtil.java/1.9/Sat Nov 15 00:11:08 2003//TJS_180_RC1 6 | /Makefile.ref/1.5/Sat Nov 15 00:11:08 2003//TJS_180_RC1 7 | D 8 | -------------------------------------------------------------------------------- /js/src/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by js3240.rc 4 | // 5 | 6 | // Next default values for new objects 7 | // 8 | #ifdef APSTUDIO_INVOKED 9 | #ifndef APSTUDIO_READONLY_SYMBOLS 10 | #define _APS_NEXT_RESOURCE_VALUE 101 11 | #define _APS_NEXT_COMMAND_VALUE 40001 12 | #define _APS_NEXT_CONTROL_VALUE 1000 13 | #define _APS_NEXT_SYMED_VALUE 101 14 | #endif 15 | #endif 16 | -------------------------------------------------------------------------------- /js/src/Y.js: -------------------------------------------------------------------------------- 1 | // The Y combinator, applied to the factorial function 2 | 3 | function factorial(proc) { 4 | return function (n) { 5 | return (n <= 1) ? 1 : n * proc(n-1); 6 | } 7 | } 8 | 9 | function Y(outer) { 10 | function inner(proc) { 11 | function apply(arg) { 12 | return proc(proc)(arg); 13 | } 14 | return outer(apply); 15 | } 16 | return inner(inner); 17 | } 18 | 19 | print("5! is " + Y(factorial)(5)); 20 | -------------------------------------------------------------------------------- /js/src/SpiderMonkey.rsp: -------------------------------------------------------------------------------- 1 | mozilla/js/src/* 2 | mozilla/js/src/config/* 3 | mozilla/js/src/fdlibm/* 4 | mozilla/js/src/liveconnect/* 5 | mozilla/js/src/liveconnect/_jni/* 6 | mozilla/js/src/liveconnect/classes/* 7 | mozilla/js/src/liveconnect/classes/netscape/* 8 | mozilla/js/src/liveconnect/classes/netscape/javascript/* 9 | mozilla/js/src/liveconnect/config/* 10 | mozilla/js/src/liveconnect/macbuild/* 11 | mozilla/js/src/liveconnect/macbuild/JavaSession/* 12 | mozilla/js/src/macbuild/* 13 | -------------------------------------------------------------------------------- /js/jsd/java/CVS/Entries: -------------------------------------------------------------------------------- 1 | /jni_stubs.c/1.4/Sat Dec 31 12:14:44 2005//TJS_180_RC1 2 | /jniheadr.mak/1.2/Thu Nov 5 08:57:06 1998//TJS_180_RC1 3 | /jsd_jntv.c/1.4/Sat Dec 31 12:14:44 2005//TJS_180_RC1 4 | /jsd_jvm.c/1.4/Sat Dec 31 12:14:44 2005//TJS_180_RC1 5 | /jsdj.h/1.4/Sat Dec 31 12:14:44 2005//TJS_180_RC1 6 | /jsdjava.c/1.4/Sat Dec 31 12:14:44 2005//TJS_180_RC1 7 | /jsdjava.h/1.4/Sat Dec 31 12:14:44 2005//TJS_180_RC1 8 | /jsdjava.mak/1.2/Thu Nov 5 08:57:10 1998//TJS_180_RC1 9 | D/jre//// 10 | -------------------------------------------------------------------------------- /js/jsd/jsdb/README: -------------------------------------------------------------------------------- 1 | /* jband - 10/26/98 - */ 2 | 3 | js/jsd/jsdb is a console debugger using only native code. It is experimental. 4 | The only makefile supplied is for Win32. 5 | 6 | jsdb.mak will build a debugger enabled js/src/js.c shell. The debugger is 7 | implemented by reflecting the JSD api into JavaScript. The actual debugger 8 | logic is fully implemented in debugger.js. The debugger can debug itself. It 9 | can also be modified and reloaded at runtime. 10 | 11 | The JavaScript keyword 'debugger' is used to break into the debugger. A 'help()' 12 | command is supplied to show available commands when execution is stopped. 13 | -------------------------------------------------------------------------------- /js/jsd/jsdb/CVS/Entries: -------------------------------------------------------------------------------- 1 | /.cvsignore/1.1/Tue Sep 7 05:03:42 1999//TJS_180_RC1 2 | /Makefile.in/1.7/Fri Oct 19 07:40:57 2007//TJS_180_RC1 3 | /README/1.3/Sun Feb 17 09:02:53 2008//TJS_180_RC1 4 | /debugger.js/1.5/Sat Feb 12 20:10:17 2005//TJS_180_RC1 5 | /f.js/1.2/Thu Nov 5 08:57:21 1998//TJS_180_RC1 6 | /jsdb.c/1.12/Thu Mar 6 05:11:39 2008//TJS_180_RC1 7 | /jsdb.h/1.5/Thu Mar 6 05:10:10 2008//TJS_180_RC1 8 | /jsdb.mak/1.3/Fri Jan 4 19:24:14 2002//TJS_180_RC1 9 | /jsdbpriv.h/1.5/Thu Mar 6 05:24:04 2008//TJS_180_RC1 10 | /jsdrefl.c/1.10/Thu Mar 6 05:10:10 2008//TJS_180_RC1 11 | /mk.bat/1.2/Thu Nov 5 08:57:23 1998//TJS_180_RC1 12 | /objects.js/1.2/Thu Nov 5 08:57:24 1998//TJS_180_RC1 13 | /test.js/1.2/Thu Nov 5 08:57:24 1998//TJS_180_RC1 14 | D 15 | -------------------------------------------------------------------------------- /js/src/liveconnect/LiveConnectShell.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 5.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "LiveConnect"=.\LiveConnect.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Project: "LiveConnectShell"=.\LiveConnectShell.dsp - Package Owner=<4> 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<4> 25 | {{{ 26 | Begin Project Dependency 27 | Project_Dep_Name LiveConnect 28 | End Project Dependency 29 | }}} 30 | 31 | ############################################################################### 32 | 33 | Global: 34 | 35 | Package=<5> 36 | {{{ 37 | }}} 38 | 39 | Package=<3> 40 | {{{ 41 | }}} 42 | 43 | ############################################################################### 44 | 45 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/CVS/Entries: -------------------------------------------------------------------------------- 1 | /AIX4.1.mk/1.5/Sat Feb 12 20:10:34 2005//TJS_180_RC1 2 | /AIX4.2.mk/1.5/Sat Feb 12 20:10:34 2005//TJS_180_RC1 3 | /AIX4.3.mk/1.6/Sat Feb 12 20:10:34 2005//TJS_180_RC1 4 | /HP-UXB.10.10.mk/1.5/Sat Feb 12 20:10:34 2005//TJS_180_RC1 5 | /HP-UXB.10.20.mk/1.5/Sat Feb 12 20:10:34 2005//TJS_180_RC1 6 | /HP-UXB.11.00.mk/1.5/Sat Feb 12 20:10:34 2005//TJS_180_RC1 7 | /IRIX6.2.mk/1.5/Sat Feb 12 20:10:34 2005//TJS_180_RC1 8 | /IRIX6.3.mk/1.5/Sat Feb 12 20:10:34 2005//TJS_180_RC1 9 | /IRIX6.5.mk/1.5/Sat Feb 12 20:10:34 2005//TJS_180_RC1 10 | /Linux_All.mk/1.9/Sat Feb 12 20:10:34 2005//TJS_180_RC1 11 | /OSF1V4.0.mk/1.7/Sat Feb 12 20:10:34 2005//TJS_180_RC1 12 | /OSF1V5.0.mk/1.3/Sat Feb 12 20:10:34 2005//TJS_180_RC1 13 | /SunOS5.5.1.mk/1.6/Sat Feb 12 20:10:34 2005//TJS_180_RC1 14 | /SunOS5.6.mk/1.6/Sat Feb 12 20:10:34 2005//TJS_180_RC1 15 | /SunOS5.7.mk/1.3/Sat Feb 12 20:10:34 2005//TJS_180_RC1 16 | /SunOS5.8.mk/1.3/Sat Feb 12 20:10:34 2005//TJS_180_RC1 17 | /WINNT4.0.mk/1.6/Sat Feb 12 20:10:34 2005//TJS_180_RC1 18 | D 19 | -------------------------------------------------------------------------------- /js/jsd/java/jniheadr.mak: -------------------------------------------------------------------------------- 1 | 2 | JSDJNI = . 3 | #CLASS_DIR_BASE = $(JSDJNI)\..\..\..\jsdj\dist\classes 4 | # until jsdj moves to mozilla... 5 | CLASS_DIR_BASE = $(JSDJNI)\..\..\..\..\..\ns\js\jsdj\dist\classes 6 | GEN = $(JSDJNI)\_jni 7 | HEADER_FILE = $(GEN)\jsdjnih.h 8 | 9 | PACKAGE_SLASH = netscape\jsdebug 10 | PACKAGE_DOT = netscape.jsdebug 11 | 12 | STD_CLASSPATH = -classpath $(CLASS_DIR_BASE);$(CLASSPATH) 13 | 14 | CLASSES_WITH_NATIVES = \ 15 | $(PACKAGE_DOT).DebugController \ 16 | $(PACKAGE_DOT).JSPC \ 17 | $(PACKAGE_DOT).JSSourceTextProvider \ 18 | $(PACKAGE_DOT).JSStackFrameInfo \ 19 | $(PACKAGE_DOT).JSThreadState \ 20 | $(PACKAGE_DOT).Script \ 21 | $(PACKAGE_DOT).SourceTextProvider \ 22 | $(PACKAGE_DOT).ThreadStateBase \ 23 | $(PACKAGE_DOT).Value 24 | 25 | all: $(GEN) 26 | @echo generating JNI headers 27 | @javah -jni -o "$(HEADER_FILE)" $(STD_CLASSPATH) $(CLASSES_WITH_NATIVES) 28 | 29 | $(GEN) : 30 | @mkdir $(GEN) 31 | 32 | clean: 33 | @if exist $(HEADER_FILE) @del $(HEADER_FILE) > NUL -------------------------------------------------------------------------------- /js/jsd/corba/src/README: -------------------------------------------------------------------------------- 1 | /* jband - 09/09/97 - readme for the dreaded js/jsd/corba system */ 2 | 3 | This stuff in js/jsd/corba/src is used to generate corba source in IDL, Java, 4 | and C++. The raw source is all Java. The 'makefile' is mk.bat which is currently 5 | expected to run only on jband's NT box. All of the important output of this 6 | process should be checked in to cvs. mk.bat is only needed to regenerate new 7 | sources as the interfaces change. Those new sources should then be committed to 8 | cvs. 9 | 10 | The main scheme here is to use the Java code in js/jsd/corba/src as idl. 11 | mk.bat uses java2idl, orbeline, and idl2java to generate IDL and stubs and 12 | skeletons in C++ and Java. There are a few hacks to deal with limitations of 13 | these tools. 14 | 15 | The C++ output is copied to js/jsd/corba. 16 | The Java output is copied to 17 | js/jsdj/classes/com/netscape/jsdebugging/remote/corba. 18 | 19 | Note that the files: 20 | 21 | StringReciever.java 22 | TestInterface.java 23 | Thing.java 24 | 25 | are used only in test programs and are not part of the product 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Spider Monkey 2 | 3 | The _**SpiderMonkey**_ repository holds the sources for Mozilla SpiderMonkey, ported to run with the Native SDK for BlackBerry © Tablet OS. 4 | 5 | 6 | **Repository Committers** 7 | 8 | * [Clifford Hung](https://github.com/hungc) 9 | 10 | 11 | ## Bug Reporting and Feature Requests 12 | 13 | If you find a bug in a Sample, or have an enhancement request, simply file an [Issue](https://github.com/blackberry/SpiderMonkey/issues) for the Sample and send a message (via github messages) to the Committers to the project to let them know that you have filed an [Issue](https://github.com/blackberry/SpiderMonkey/issues). 14 | 15 | ## Disclaimer 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 18 | 19 | -------------------------------------------------------------------------------- /js/jsd/jsdb/f.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * for(var p in Script.scripts) { 4 | * 5 | * var script = Script.scripts[p]; 6 | * var handle = script.handle; 7 | * var base = script.base; 8 | * var limit = base + script.extent; 9 | * 10 | * print(script+"\n"); 11 | * 12 | * for(var i = base; i < limit; i++) { 13 | * var pc = jsd.GetClosestPC(handle,i) 14 | * var hascode = String(pc).length && i == jsd.GetClosestLine(handle,pc); 15 | * print("line "+i+" "+ (hascode ? "has code" : "has NO code")); 16 | * } 17 | * print("...............................\n"); 18 | * } 19 | */ 20 | 21 | function rlocals() 22 | { 23 | var retval = ""; 24 | var name = "___UNIQUE_NAME__"; 25 | var fun = ""+ 26 | "var text = \\\"\\\";"+ 27 | "for(var p in ob)"+ 28 | "{"+ 29 | " if(text != \\\"\\\")"+ 30 | " text += \\\",\\\";"+ 31 | " text += p;"+ 32 | "}"+ 33 | "return text;"; 34 | 35 | reval(name+" = new Function(\"ob\",\""+fun+"\")"); 36 | // show(name); 37 | retval = _reval([name+"("+"arguments.callee"+")"]); 38 | reval("delete "+name); 39 | 40 | return retval; 41 | } 42 | 43 | function e(a) 44 | { 45 | return eval(a); 46 | } -------------------------------------------------------------------------------- /js/src/plify_jsdhash.sed: -------------------------------------------------------------------------------- 1 | / * Double hashing implementation./a\ 2 | * GENERATED BY js/src/plify_jsdhash.sed -- DO NOT EDIT!!! 3 | / * Double hashing, a la Knuth 6./a\ 4 | * GENERATED BY js/src/plify_jsdhash.sed -- DO NOT EDIT!!! 5 | s/jsdhash_h___/pldhash_h___/ 6 | s/jsdhash\.bigdump/pldhash.bigdump/ 7 | s/jstypes\.h/nscore.h/ 8 | s/jsbit\.h/prbit.h/ 9 | s/jsdhash\.h/pldhash.h/ 10 | s/jsdhash\.c/pldhash.c/ 11 | s/jsdhash:/pldhash:/ 12 | s/jsutil\.h/nsDebug.h/ 13 | s/JS_DHASH/PL_DHASH/g 14 | s/JS_DHash/PL_DHash/g 15 | s/JSDHash/PLDHash/g 16 | s/JSHash/PLHash/g 17 | s/uint32 /PRUint32/g 18 | s/\([^U]\)int32 /\1PRInt32/g 19 | s/uint16 /PRUint16/g 20 | s/\([^U]\)int16 /\1PRInt16/g 21 | s/uint32/PRUint32/g 22 | s/\([^U]\)int32/\1PRInt32/g 23 | s/uint16/PRUint16/g 24 | s/\([^U]\)int16/\1PRInt16/g 25 | s/JSBool/PRBool/g 26 | s/extern JS_PUBLIC_API(\([^()]*\))/NS_COM_GLUE \1/ 27 | s/JS_PUBLIC_API(\([^()]*\))/\1/ 28 | s/JS_DLL_CALLBACK/PR_CALLBACK/ 29 | s/JS_STATIC_DLL_CALLBACK/PR_STATIC_CALLBACK/ 30 | s/JS_NewDHashTable/PL_NewDHashTable/ 31 | s/JS_ASSERT(0)/NS_NOTREACHED("0")/ 32 | s/\( *\)JS_ASSERT(\(.*\));/\1NS_ASSERTION(\2,\n\1 "\2");/ 33 | s/JS_UNLIKELY/NS_UNLIKELY/g 34 | s/JS_LIKELY/NS_LIKELY/g 35 | s/JS_/PR_/g 36 | s/fprintf(stderr,/printf_stderr(/ 37 | -------------------------------------------------------------------------------- /js/jsd/jsdb/objects.js: -------------------------------------------------------------------------------- 1 | // some tests... 2 | 3 | function set_a(a) {this.a = a;} 4 | function set_b(b) {this.b = b;} 5 | function set_c(c) {this.c = c;} 6 | 7 | function f_ctor(a,b,c) 8 | { 9 | this.set_a = set_a; 10 | this.set_b = set_b; 11 | this.set_c = set_c; 12 | 13 | // NOTE: these break JSD_LOWLEVEL_SOURCE in shell debugger 14 | this.get_a = new Function("return this.a;"); 15 | // this.get_b = new Function("return this.b;"); 16 | // this.get_c = new Function("return this.c;"); 17 | 18 | // this.get_a = function() {return this.a;}; 19 | this.get_b = function() {return this.b;}; 20 | this.get_c = function() {return this.c;}; 21 | 22 | this.set_a(a); 23 | this.set_b(b); 24 | this.set_c(c); 25 | } 26 | 27 | function f2_ctor(param) 28 | { 29 | this.A = new f_ctor(1,2,3); 30 | this.b = new f_ctor("A","B","C"); 31 | this.number = param; 32 | } 33 | 34 | function callMe() 35 | { 36 | var A = new f2_ctor(1); 37 | debugger; 38 | var b = new f2_ctor(5); 39 | } 40 | 41 | function foo(a,b,c,d,e,f) 42 | { 43 | var g; 44 | var h; 45 | var i; 46 | var j; 47 | debugger; 48 | } 49 | 50 | A = new f2_ctor(0); 51 | AA = new f2_ctor(100); 52 | callMe(); 53 | foo(1,2,3,4,5); 54 | 55 | A.A.set_b(8); 56 | print(A.A.get_b()); 57 | -------------------------------------------------------------------------------- /js/src/perfect.js: -------------------------------------------------------------------------------- 1 | // Some simple testing of new, eval and some string stuff. 2 | 3 | // constructor -- expression array initialization 4 | function ExprArray(n,v) 5 | { 6 | // Initializes n values to v coerced to a string. 7 | for (var i = 0; i < n; i++) { 8 | this[i] = "" + v; 9 | } 10 | } 11 | 12 | 13 | // Print the perfect numbers up to n and the sum expression for n's divisors. 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 | print("That's all."); 33 | } 34 | 35 | 36 | print("\nA number is 'perfect' if it is equal to the sum of its") 37 | print("divisors (excluding itself).\n"); 38 | perfect(500); 39 | 40 | -------------------------------------------------------------------------------- /js/jsd/classes/netscape/jsdebug/CVS/Entries: -------------------------------------------------------------------------------- 1 | /DebugBreakHook.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 2 | /DebugController.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 3 | /Hook.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 4 | /InstructionHook.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 5 | /InterruptHook.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 6 | /InvalidInfoException.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 7 | /JSErrorReporter.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 8 | /JSPC.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 9 | /JSSourceLocation.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 10 | /JSSourceTextProvider.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 11 | /JSStackFrameInfo.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 12 | /JSThreadState.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 13 | /PC.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 14 | /Script.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 15 | /ScriptHook.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 16 | /SourceLocation.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 17 | /SourceTextItem.java/3.4/Thu Feb 23 09:36:27 2006//TJS_180_RC1 18 | /SourceTextProvider.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 19 | /StackFrameInfo.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 20 | /ThreadStateBase.java/3.3/Sat Feb 12 20:10:16 2005//TJS_180_RC1 21 | D 22 | -------------------------------------------------------------------------------- /js/jsd/corba/src/CVS/Entries: -------------------------------------------------------------------------------- 1 | /IDebugController.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 2 | /IExecResult.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 3 | /IJSErrorReporter.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 4 | /IJSExecutionHook.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 5 | /IJSPC.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 6 | /IJSSourceLocation.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 7 | /IJSStackFrameInfo.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 8 | /IJSThreadState.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 9 | /IScript.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 10 | /IScriptHook.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 11 | /IScriptSection.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 12 | /ISourceTextProvider.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 13 | /README/1.1/Wed Sep 16 22:23:57 1998//TJS_180_RC1 14 | /StringReciever.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 15 | /TestInterface.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 16 | /Thing.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 17 | /WAIT.COM/1.1/Wed Sep 16 22:23:58 1998/-kb/TJS_180_RC1 18 | /bogus0.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 19 | /bogus1.java/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 20 | /cutlines.awk/1.3/Sat Feb 12 20:10:17 2005//TJS_180_RC1 21 | /mk.bat/1.1/Wed Sep 16 22:24:00 1998//TJS_180_RC1 22 | /package_header.h/1.1/Wed Sep 16 22:24:00 1998//TJS_180_RC1 23 | D 24 | -------------------------------------------------------------------------------- /PlayBook-build/jsautocfg.h: -------------------------------------------------------------------------------- 1 | #ifndef js_cpucfg___ 2 | #define js_cpucfg___ 3 | 4 | /* AUTOMATICALLY GENERATED - DO NOT EDIT */ 5 | 6 | #define IS_LITTLE_ENDIAN 1 7 | #undef IS_BIG_ENDIAN 8 | 9 | #define JS_BYTES_PER_BYTE 1L 10 | #define JS_BYTES_PER_SHORT 2L 11 | #define JS_BYTES_PER_INT 4L 12 | #define JS_BYTES_PER_INT64 8L 13 | #define JS_BYTES_PER_LONG 4L 14 | #define JS_BYTES_PER_FLOAT 4L 15 | #define JS_BYTES_PER_DOUBLE 8L 16 | #define JS_BYTES_PER_WORD 4L 17 | #define JS_BYTES_PER_DWORD 8L 18 | 19 | #define JS_BITS_PER_BYTE 8L 20 | #define JS_BITS_PER_SHORT 16L 21 | #define JS_BITS_PER_INT 32L 22 | #define JS_BITS_PER_INT64 64L 23 | #define JS_BITS_PER_LONG 32L 24 | #define JS_BITS_PER_FLOAT 32L 25 | #define JS_BITS_PER_DOUBLE 64L 26 | #define JS_BITS_PER_WORD 32L 27 | 28 | #define JS_BITS_PER_BYTE_LOG2 3L 29 | #define JS_BITS_PER_SHORT_LOG2 4L 30 | #define JS_BITS_PER_INT_LOG2 5L 31 | #define JS_BITS_PER_INT64_LOG2 6L 32 | #define JS_BITS_PER_LONG_LOG2 5L 33 | #define JS_BITS_PER_FLOAT_LOG2 5L 34 | #define JS_BITS_PER_DOUBLE_LOG2 6L 35 | #define JS_BITS_PER_WORD_LOG2 5L 36 | 37 | #define JS_ALIGN_OF_SHORT 2L 38 | #define JS_ALIGN_OF_INT 4L 39 | #define JS_ALIGN_OF_LONG 4L 40 | #define JS_ALIGN_OF_INT64 4L 41 | #define JS_ALIGN_OF_FLOAT 4L 42 | #define JS_ALIGN_OF_DOUBLE 8L 43 | #define JS_ALIGN_OF_POINTER 4L 44 | #define JS_ALIGN_OF_WORD 4L 45 | 46 | #define JS_BYTES_PER_WORD_LOG2 2L 47 | #define JS_BYTES_PER_DWORD_LOG2 3L 48 | #define JS_WORDS_PER_DWORD_LOG2 1L 49 | 50 | #define JS_STACK_GROWTH_DIRECTION (-1) 51 | 52 | #define JS_HAVE_LONG_LONG 53 | 54 | #endif /* js_cpucfg___ */ 55 | -------------------------------------------------------------------------------- /js/jsd/CVS/Entries: -------------------------------------------------------------------------------- 1 | /.cvsignore/1.1/Sat Dec 5 09:02:27 1998//TJS_180_RC1 2 | /Makefile.in/1.29/Wed Feb 21 15:13:36 2007//TJS_180_RC1 3 | /README/3.3/Sun Sep 30 08:52:04 2001//TJS_180_RC1 4 | /jsd.h/3.21/Thu Apr 27 01:33:45 2006//TJS_180_RC1 5 | /jsd.mak/3.2/Thu Apr 3 22:42:02 2003//TJS_180_RC1 6 | /jsd.pkg/1.2/Wed Jan 7 01:21:43 2004//TJS_180_RC1 7 | /jsd1640.def/3.3/Sun Apr 18 21:57:30 2004//TJS_180_RC1 8 | /jsd1640.rc/3.6/Sun Apr 18 21:57:30 2004//TJS_180_RC1 9 | /jsd3240.rc/3.6/Sun Apr 18 21:57:30 2004//TJS_180_RC1 10 | /jsd_atom.c/3.6/Sun Apr 18 21:57:30 2004//TJS_180_RC1 11 | /jsd_high.c/3.14/Mon Jun 12 22:39:54 2006//TJS_180_RC1 12 | /jsd_hook.c/3.10/Sun Apr 18 21:57:30 2004//TJS_180_RC1 13 | /jsd_java.c/3.8/Thu Jul 7 22:35:38 2005//TJS_180_RC1 14 | /jsd_lock.c/3.10/Tue Feb 26 15:07:05 2008//TJS_180_RC1 15 | /jsd_lock.h/3.7/Sun Apr 18 21:57:30 2004//TJS_180_RC1 16 | /jsd_obj.c/3.8/Sun Apr 18 21:57:30 2004//TJS_180_RC1 17 | /jsd_scpt.c/3.16/Sun Feb 10 04:16:54 2008//TJS_180_RC1 18 | /jsd_stak.c/3.23/Thu Jul 20 15:25:32 2006//TJS_180_RC1 19 | /jsd_step.c/3.17/Fri Apr 25 18:40:05 2008//TJS_180_RC1 20 | /jsd_text.c/3.8/Sun Apr 18 21:57:30 2004//TJS_180_RC1 21 | /jsd_val.c/3.13/Fri Jun 23 22:29:51 2006//TJS_180_RC1 22 | /jsd_xpc.cpp/1.90/Sat Mar 29 10:34:30 2008//TJS_180_RC1 23 | /jsd_xpc.h/1.22/Sun Jul 8 07:08:29 2007//TJS_180_RC1 24 | /jsdebug.c/3.15/Tue Aug 2 15:53:59 2005//TJS_180_RC1 25 | /jsdebug.h/3.20/Fri Nov 25 08:16:36 2005//TJS_180_RC1 26 | /jsdshell.mak/3.2/Thu Apr 3 22:42:02 2003//TJS_180_RC1 27 | /jsdstubs.c/3.8/Thu Jul 7 22:35:38 2005//TJS_180_RC1 28 | /mkshell.bat/3.1/Thu Nov 5 08:57:03 1998//TJS_180_RC1 29 | /resource.h/3.6/Sun Apr 18 21:57:31 2004//TJS_180_RC1 30 | D 31 | -------------------------------------------------------------------------------- /js/jsd/java/jre/win32/jre_md.h: -------------------------------------------------------------------------------- 1 | /* 2 | * @(#)jre_md.h 1.1 97/05/19 David Connelly 3 | * 4 | * Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved. 5 | * 6 | * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use, 7 | * modify and redistribute this software in source and binary code form, 8 | * provided that i) this copyright notice and license appear on all copies of 9 | * the software; and ii) Licensee does not utilize the software in a manner 10 | * which is disparaging to Sun. 11 | * 12 | * This software is provided "AS IS," without a warranty of any kind. ALL 13 | * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY 14 | * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR 15 | * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE 16 | * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING 17 | * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS 18 | * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, 19 | * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER 20 | * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF 21 | * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE 22 | * POSSIBILITY OF SUCH DAMAGES. 23 | * 24 | * This software is not designed or intended for use in on-line control of 25 | * aircraft, air traffic, aircraft navigation or aircraft communications; or in 26 | * the design, construction, operation or maintenance of any nuclear 27 | * facility. Licensee represents and warrants that it will not use or 28 | * redistribute the Software for such purposes. 29 | */ 30 | 31 | /* 32 | * Win32 specific JRE support definitions 33 | */ 34 | 35 | #define FILE_SEPARATOR '\\' 36 | #define PATH_SEPARATOR ';' 37 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/SunOS5.6.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | include $(DEPTH)/liveconnect/config/SunOS5.5.1.mk 40 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/SunOS5.7.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | include $(DEPTH)/liveconnect/config/SunOS5.5.1.mk 40 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/SunOS5.8.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | include $(DEPTH)/liveconnect/config/SunOS5.5.1.mk 40 | -------------------------------------------------------------------------------- /js/src/build.mk: -------------------------------------------------------------------------------- 1 | # ***** BEGIN LICENSE BLOCK ***** 2 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 3 | # 4 | # The contents of this file are subject to the Mozilla Public License Version 5 | # 1.1 (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # http://www.mozilla.org/MPL/ 8 | # 9 | # Software distributed under the License is distributed on an "AS IS" basis, 10 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 | # for the specific language governing rights and limitations under the 12 | # License. 13 | # 14 | # The Original Code is the Mozilla build system. 15 | # 16 | # The Initial Developer of the Original Code is 17 | # the Mozilla Foundation . 18 | # Portions created by the Initial Developer are Copyright (C) 2006 19 | # the Initial Developer. All Rights Reserved. 20 | # 21 | # Contributor(s): 22 | # Benjamin Smedberg (Initial Code) 23 | # 24 | # Alternatively, the contents of this file may be used under the terms of 25 | # either the GNU General Public License Version 2 or later (the "GPL"), or 26 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 27 | # in which case the provisions of the GPL or the LGPL are applicable instead 28 | # of those above. If you wish to allow use of your version of this file only 29 | # under the terms of either the GPL or the LGPL, and not to allow others to 30 | # use your version of this file under the terms of the MPL, indicate your 31 | # decision by deleting the provisions above and replace them with the notice 32 | # and other provisions required by the GPL or the LGPL. If you do not delete 33 | # the provisions above, a recipient may use your version of this file under 34 | # the terms of any one of the MPL, the GPL or the LGPL. 35 | # 36 | # ***** END LICENSE BLOCK ***** 37 | 38 | TIERS += js 39 | 40 | tier_js_dirs += \ 41 | js/src/fdlibm \ 42 | js/src \ 43 | $(NULL) 44 | -------------------------------------------------------------------------------- /js/src/config/Darwin1.4.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # Mike McCabe 26 | # 27 | # Alternatively, the contents of this file may be used under the terms of 28 | # either the GNU General Public License Version 2 or later (the "GPL"), or 29 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 30 | # in which case the provisions of the GPL or the LGPL are applicable instead 31 | # of those above. If you wish to allow use of your version of this file only 32 | # under the terms of either the GPL or the LGPL, and not to allow others to 33 | # use your version of this file under the terms of the MPL, indicate your 34 | # decision by deleting the provisions above and replace them with the notice 35 | # and other provisions required by the GPL or the LGPL. If you do not delete 36 | # the provisions above, a recipient may use your version of this file under 37 | # the terms of any one of the MPL, the GPL or the LGPL. 38 | # 39 | # ***** END LICENSE BLOCK ***** 40 | 41 | include $(DEPTH)/config/Darwin1.3.mk 42 | -------------------------------------------------------------------------------- /js/src/config/IRIX5.3.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for IRIX5.3 42 | # 43 | 44 | include $(DEPTH)/config/IRIX.mk 45 | -------------------------------------------------------------------------------- /js/src/config/IRIX6.1.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for IRIX6.3 42 | # 43 | 44 | include $(DEPTH)/config/IRIX.mk 45 | -------------------------------------------------------------------------------- /js/src/config/IRIX6.2.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for IRIX6.3 42 | # 43 | 44 | include $(DEPTH)/config/IRIX.mk 45 | -------------------------------------------------------------------------------- /js/src/config/IRIX6.3.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for IRIX6.3 42 | # 43 | 44 | include $(DEPTH)/config/IRIX.mk 45 | -------------------------------------------------------------------------------- /js/src/config/IRIX6.5.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for IRIX6.3 42 | # 43 | 44 | include $(DEPTH)/config/IRIX.mk 45 | -------------------------------------------------------------------------------- /js/src/config/SunOS5.7.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1999 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for SunOS5.7 42 | # 43 | 44 | include $(DEPTH)/config/SunOS5.5.mk 45 | -------------------------------------------------------------------------------- /js/src/config/SunOS5.8.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1999 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for SunOS5.8 42 | # 43 | 44 | include $(DEPTH)/config/SunOS5.5.mk 45 | -------------------------------------------------------------------------------- /js/src/config/SunOS5.9.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1999 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for SunOS5.9 42 | # 43 | 44 | include $(DEPTH)/config/SunOS5.5.mk 45 | -------------------------------------------------------------------------------- /js/src/config/SunOS5.5.1.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for SunOS5.5.1 42 | # 43 | 44 | include $(DEPTH)/config/SunOS5.5.mk 45 | -------------------------------------------------------------------------------- /js/jsd/jsd.mak: -------------------------------------------------------------------------------- 1 | 2 | PROJ = jsd 3 | JSD = . 4 | JS = $(JSD)\..\src 5 | JSPROJ = js32 6 | 7 | !IF "$(BUILD_OPT)" != "" 8 | OBJ = Release 9 | CC_FLAGS = /DNDEBUG 10 | !ELSE 11 | OBJ = Debug 12 | CC_FLAGS = /DDEBUG 13 | LINK_FLAGS = /DEBUG 14 | !ENDIF 15 | 16 | QUIET=@ 17 | 18 | CFLAGS = /nologo /MDd /W3 /Gm /GX /Zi /Od\ 19 | /I $(JS)\ 20 | /I $(JSD)\ 21 | /DDEBUG /DWIN32 /D_CONSOLE /DXP_WIN /D_WINDOWS /D_WIN32\ 22 | /DJSDEBUGGER\ 23 | !IF "$(JSD_THREADSAFE)" != "" 24 | /DJSD_THREADSAFE\ 25 | !ENDIF 26 | /DEXPORT_JSD_API\ 27 | $(CC_FLAGS)\ 28 | /c /Fp$(OBJ)\$(PROJ).pch /Fd$(OBJ)\$(PROJ).pdb /YX -Fo$@ $< 29 | 30 | LFLAGS = /nologo /subsystem:console /DLL /incremental:no /machine:I386 \ 31 | $(LINK_FLAGS) /pdb:$(OBJ)\$(PROJ).pdb -out:$(OBJ)\$(PROJ).dll 32 | 33 | LLIBS = kernel32.lib advapi32.lib $(JS)\$(OBJ)\$(JSPROJ).lib 34 | # unused... user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib 35 | 36 | CPP=cl.exe 37 | LINK32=link.exe 38 | 39 | all: $(OBJ) $(OBJ)\$(PROJ).dll 40 | 41 | 42 | $(OBJ)\$(PROJ).dll: \ 43 | $(OBJ)\jsdebug.obj \ 44 | $(OBJ)\jsd_atom.obj \ 45 | $(OBJ)\jsd_high.obj \ 46 | $(OBJ)\jsd_hook.obj \ 47 | $(OBJ)\jsd_obj.obj \ 48 | $(OBJ)\jsd_scpt.obj \ 49 | $(OBJ)\jsd_stak.obj \ 50 | $(OBJ)\jsd_step.obj \ 51 | $(OBJ)\jsd_text.obj \ 52 | $(OBJ)\jsd_lock.obj \ 53 | $(OBJ)\jsd_val.obj 54 | $(QUIET)$(LINK32) $(LFLAGS) $** $(LLIBS) 55 | 56 | {$(JSD)}.c{$(OBJ)}.obj : 57 | $(QUIET)$(CPP) $(CFLAGS) 58 | 59 | $(OBJ) : 60 | $(QUIET)mkdir $(OBJ) 61 | 62 | clean: 63 | @echo deleting old output 64 | $(QUIET)del $(OBJ)\*.pch >NUL 65 | $(QUIET)del $(OBJ)\*.obj >NUL 66 | $(QUIET)del $(OBJ)\*.exp >NUL 67 | $(QUIET)del $(OBJ)\*.lib >NUL 68 | $(QUIET)del $(OBJ)\*.idb >NUL 69 | $(QUIET)del $(OBJ)\*.pdb >NUL 70 | $(QUIET)del $(OBJ)\*.dll >NUL 71 | -------------------------------------------------------------------------------- /js/src/fdlibm/s_signgam.c: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is Mozilla Communicator client code, released 17 | * March 31, 1998. 18 | * 19 | * The Initial Developer of the Original Code is 20 | * Sun Microsystems, Inc. 21 | * Portions created by the Initial Developer are Copyright (C) 1998 22 | * the Initial Developer. All Rights Reserved. 23 | * 24 | * Contributor(s): 25 | * 26 | * Alternatively, the contents of this file may be used under the terms of 27 | * either of the GNU General Public License Version 2 or later (the "GPL"), 28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | * in which case the provisions of the GPL or the LGPL are applicable instead 30 | * of those above. If you wish to allow use of your version of this file only 31 | * under the terms of either the GPL or the LGPL, and not to allow others to 32 | * use your version of this file under the terms of the MPL, indicate your 33 | * decision by deleting the provisions above and replace them with the notice 34 | * and other provisions required by the GPL or the LGPL. If you do not delete 35 | * the provisions above, a recipient may use your version of this file under 36 | * the terms of any one of the MPL, the GPL or the LGPL. 37 | * 38 | * ***** END LICENSE BLOCK ***** */ 39 | #include "fdlibm.h" 40 | int signgam = 0; 41 | -------------------------------------------------------------------------------- /js/jsd/corba/src/Thing.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | public final class Thing 40 | { 41 | public String s; 42 | public int i; 43 | } 44 | 45 | -------------------------------------------------------------------------------- /js/jsd/corba/src/IJSPC.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | public final class IJSPC 40 | { 41 | public IScript script; 42 | public int offset; 43 | } 44 | 45 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/IRIX6.2.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | JDK = /share/builds/components/jdk/1.1.6/IRIX 40 | 41 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/irix 42 | 43 | OTHER_LIBS += -L$(JDK)/lib/sgi/native_threads -ljava 44 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/IRIX6.3.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | JDK = /share/builds/components/jdk/1.1.6/IRIX 40 | 41 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/irix 42 | 43 | OTHER_LIBS += -L$(JDK)/lib/sgi/native_threads -ljava 44 | -------------------------------------------------------------------------------- /js/jsd/corba/src/IScriptSection.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | public final class IScriptSection 40 | { 41 | public int base; 42 | public int extent; 43 | } 44 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/IRIX6.5.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | JDK = /share/builds/components/jdk/1.1.6/IRIX 40 | 41 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/irix 42 | 43 | OTHER_LIBS += -L$(JDK)/lib32/sgi/native_threads -ljava 44 | -------------------------------------------------------------------------------- /js/jsd/corba/src/IJSSourceLocation.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | public final class IJSSourceLocation 40 | { 41 | public int line; 42 | public IJSPC pc; 43 | } 44 | -------------------------------------------------------------------------------- /js/jsd/corba/src/IJSStackFrameInfo.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | public final class IJSStackFrameInfo 40 | { 41 | public IJSPC pc; 42 | public int jsdframe; 43 | } 44 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/HP-UXB.10.10.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | JDK = /share/builds/components/jdk/1.1.5/HP-UX10 40 | 41 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/hp-ux 42 | 43 | OTHER_LIBS += -L$(JDK)/lib/PA_RISC/green_threads -ljava 44 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/HP-UXB.10.20.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | JDK = /share/builds/components/jdk/1.1.5/HP-UX10 40 | 41 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/hp-ux 42 | 43 | OTHER_LIBS += -L$(JDK)/lib/PA_RISC/green_threads -ljava 44 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/HP-UXB.11.00.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | JDK = /share/builds/components/jdk/1.1.5/HP-UX 40 | 41 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/hp-ux 42 | 43 | OTHER_LIBS += -L$(JDK)/lib/PA_RISC/native_threads -ljava 44 | -------------------------------------------------------------------------------- /js/src/jsinvoke.c: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * vim: set ts=8 sw=4 et tw=78: 3 | * 4 | * ***** BEGIN LICENSE BLOCK ***** 5 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 6 | * 7 | * The contents of this file are subject to the Mozilla Public License Version 8 | * 1.1 (the "License"); you may not use this file except in compliance with 9 | * the License. You may obtain a copy of the License at 10 | * http://www.mozilla.org/MPL/ 11 | * 12 | * Software distributed under the License is distributed on an "AS IS" basis, 13 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 14 | * for the specific language governing rights and limitations under the 15 | * License. 16 | * 17 | * The Original Code is Mozilla Communicator client code, released 18 | * March 31, 1998. 19 | * 20 | * The Initial Developer of the Original Code is 21 | * Netscape Communications Corporation. 22 | * Portions created by the Initial Developer are Copyright (C) 1998 23 | * the Initial Developer. All Rights Reserved. 24 | * 25 | * Contributor(s): 26 | * 27 | * Alternatively, the contents of this file may be used under the terms of 28 | * either of the GNU General Public License Version 2 or later (the "GPL"), 29 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 30 | * in which case the provisions of the GPL or the LGPL are applicable instead 31 | * of those above. If you wish to allow use of your version of this file only 32 | * under the terms of either the GPL or the LGPL, and not to allow others to 33 | * use your version of this file under the terms of the MPL, indicate your 34 | * decision by deleting the provisions above and replace them with the notice 35 | * and other provisions required by the GPL or the LGPL. If you do not delete 36 | * the provisions above, a recipient may use your version of this file under 37 | * the terms of any one of the MPL, the GPL or the LGPL. 38 | * 39 | * ***** END LICENSE BLOCK ***** */ 40 | 41 | #define js_invoke_c__ 42 | 43 | #include "jsinterp.c" 44 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/AIX4.1.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | # Change these to the current platform settings!!! 40 | 41 | JDK = /tools/ns 42 | 43 | INCLUDES += -I$(JDK)/include/java -I$(JDK)/include/java/aix 44 | 45 | OTHER_LIBS += -L$(JDK)/lib/aix/native_threads -ljava 46 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/AIX4.2.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | # Change these to the current platform settings!!! 40 | 41 | JDK = /tools/ns 42 | 43 | INCLUDES += -I$(JDK)/include/java -I$(JDK)/include/java/aix 44 | 45 | OTHER_LIBS += -L$(JDK)/lib/aix/native_threads -ljava 46 | -------------------------------------------------------------------------------- /js/jsd/corba/src/IJSExecutionHook.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | public interface IJSExecutionHook extends org.omg.CORBA.Object 40 | { 41 | public void aboutToExecute(IJSThreadState debug, IJSPC pc); 42 | } 43 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/netscape/Makefile.ref: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either of the GNU General Public License Version 2 or later (the "GPL"), 28 | # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | DEPTH = ../../.. 41 | 42 | include $(DEPTH)/config.mk 43 | include $(DEPTH)/liveconnect/config/$(OS_CONFIG).mk 44 | 45 | DIRS = javascript 46 | 47 | include $(DEPTH)/rules.mk 48 | -------------------------------------------------------------------------------- /js/jsd/corba/src/StringReciever.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | public interface StringReciever extends org.omg.CORBA.Object 40 | { 41 | public void recieveString(String s); 42 | public void bounce(int count); 43 | } 44 | 45 | -------------------------------------------------------------------------------- /js/jsd/java/jsdjava.mak: -------------------------------------------------------------------------------- 1 | 2 | PROJ = jsdjava 3 | JSDJAVA = . 4 | JSD = $(JSDJAVA)\.. 5 | JS = $(JSD)\..\src 6 | JSPROJ = js32 7 | JSDPROJ = jsd 8 | 9 | !IF "$(BUILD_OPT)" != "" 10 | OBJ = Release 11 | CC_FLAGS = /DNDEBUG 12 | !ELSE 13 | OBJ = Debug 14 | CC_FLAGS = /DDEBUG 15 | LINK_FLAGS = /DEBUG 16 | !ENDIF 17 | 18 | QUIET=@ 19 | 20 | CFLAGS = /nologo /MDd /W3 /Gm /GX /Zi /Od\ 21 | /I $(JS)\ 22 | /I $(JSD)\ 23 | /I $(JSDJAVA)\ 24 | /DDEBUG /DWIN32 /DXP_PC /D_WINDOWS /D_WIN32\ 25 | /DJSD_THREADSAFE\ 26 | /DEXPORT_JSDJ_API\ 27 | /DJSDEBUGGER\ 28 | !IF "$(JSD_STANDALONE_JAVA_VM)" != "" 29 | /I $(JSDJAVA)\jre\ 30 | /I $(JSDJAVA)\jre\win32\ 31 | /DJSD_STANDALONE_JAVA_VM\ 32 | !ENDIF 33 | $(CC_FLAGS)\ 34 | /c /Fp$(OBJ)\$(PROJ).pch /Fd$(OBJ)\$(PROJ).pdb /YX -Fo$@ $< 35 | 36 | LFLAGS = /nologo /subsystem:console /DLL /incremental:no /machine:I386 \ 37 | $(LINK_FLAGS) /pdb:$(OBJ)\$(PROJ).pdb -out:$(OBJ)\$(PROJ).dll 38 | 39 | LLIBS = kernel32.lib advapi32.lib \ 40 | $(JS)\$(OBJ)\$(JSPROJ).lib $(JSD)\$(OBJ)\$(JSDPROJ).lib 41 | 42 | CPP=cl.exe 43 | LINK32=link.exe 44 | 45 | all: $(OBJ) $(OBJ)\$(PROJ).dll 46 | 47 | 48 | $(OBJ)\$(PROJ).dll: \ 49 | !IF "$(JSD_STANDALONE_JAVA_VM)" != "" 50 | $(OBJ)\jsd_jvm.obj \ 51 | $(OBJ)\jre.obj \ 52 | $(OBJ)\jre_md.obj \ 53 | !ENDIF 54 | $(OBJ)\jsdjava.obj \ 55 | $(OBJ)\jsd_jntv.obj 56 | $(QUIET)$(LINK32) $(LFLAGS) $** $(LLIBS) 57 | 58 | {$(JSDJAVA)}.c{$(OBJ)}.obj : 59 | $(QUIET)$(CPP) $(CFLAGS) 60 | 61 | {$(JSDJAVA)\jre}.c{$(OBJ)}.obj : 62 | $(QUIET)$(CPP) $(CFLAGS) 63 | 64 | {$(JSDJAVA)\jre\win32}.c{$(OBJ)}.obj : 65 | $(QUIET)$(CPP) $(CFLAGS) 66 | 67 | $(OBJ) : 68 | $(QUIET)mkdir $(OBJ) 69 | 70 | clean: 71 | @echo deleting old output 72 | $(QUIET)del $(OBJ)\*.pch >NUL 73 | $(QUIET)del $(OBJ)\*.obj >NUL 74 | $(QUIET)del $(OBJ)\*.exp >NUL 75 | $(QUIET)del $(OBJ)\*.lib >NUL 76 | $(QUIET)del $(OBJ)\*.idb >NUL 77 | $(QUIET)del $(OBJ)\*.pdb >NUL 78 | $(QUIET)del $(OBJ)\*.dll >NUL 79 | -------------------------------------------------------------------------------- /js/jsd/corba/src/IScriptHook.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | public interface IScriptHook extends org.omg.CORBA.Object 40 | { 41 | public void justLoadedScript(IScript script); 42 | public void aboutToUnloadScript(IScript script); 43 | } 44 | 45 | -------------------------------------------------------------------------------- /js/jsd/idl/Makefile.in: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is mozilla.org code. 16 | # 17 | # The Initial Developer of the Original Code is 18 | # Netscape Communications Corporation. 19 | # Portions created by the Initial Developer are Copyright (C) 1998 20 | # the Initial Developer. All Rights Reserved. 21 | # 22 | # Contributor(s): 23 | # 24 | # Alternatively, the contents of this file may be used under the terms of 25 | # either the GNU General Public License Version 2 or later (the "GPL"), or 26 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 27 | # in which case the provisions of the GPL or the LGPL are applicable instead 28 | # of those above. If you wish to allow use of your version of this file only 29 | # under the terms of either the GPL or the LGPL, and not to allow others to 30 | # use your version of this file under the terms of the MPL, indicate your 31 | # decision by deleting the provisions above and replace them with the notice 32 | # and other provisions required by the GPL or the LGPL. If you do not delete 33 | # the provisions above, a recipient may use your version of this file under 34 | # the terms of any one of the MPL, the GPL or the LGPL. 35 | # 36 | # ***** END LICENSE BLOCK ***** 37 | 38 | DEPTH = ../../.. 39 | topsrcdir = @top_srcdir@ 40 | srcdir = @srcdir@ 41 | VPATH = @srcdir@ 42 | 43 | include $(DEPTH)/config/autoconf.mk 44 | 45 | MODULE = jsdebug 46 | XPIDL_MODULE = jsdservice 47 | 48 | XPIDLSRCS = \ 49 | jsdIDebuggerService.idl \ 50 | $(NULL) 51 | 52 | include $(topsrcdir)/config/rules.mk 53 | -------------------------------------------------------------------------------- /js/src/config/SunOS5.10.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1999 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for SunOS5.10, using vendor gcc and NSPR 42 | # 43 | 44 | include $(DEPTH)/config/SunOS5.5.mk 45 | 46 | INCLUDES += -I/usr/sfw/include/mozilla/nspr 47 | OTHER_LIBS += -L/usr/sfw/lib/mozilla -R/usr/sfw/lib/mozilla 48 | 49 | CC=gcc 50 | 51 | -------------------------------------------------------------------------------- /js/src/js3240.rc: -------------------------------------------------------------------------------- 1 | //Microsoft Developer Studio generated resource script. 2 | // 3 | #include "resource.h" 4 | 5 | #define APSTUDIO_READONLY_SYMBOLS 6 | ///////////////////////////////////////////////////////////////////////////// 7 | // 8 | // Generated from the TEXTINCLUDE 2 resource. 9 | // 10 | #include "winver.h" 11 | 12 | ///////////////////////////////////////////////////////////////////////////// 13 | #undef APSTUDIO_READONLY_SYMBOLS 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // 17 | // Version 18 | // 19 | 20 | VS_VERSION_INFO VERSIONINFO 21 | FILEVERSION 4,0,0,0 22 | PRODUCTVERSION 4,0,0,0 23 | FILEFLAGSMASK 0x3fL 24 | #ifdef _DEBUG 25 | FILEFLAGS 0x1L 26 | #else 27 | FILEFLAGS 0x0L 28 | #endif 29 | FILEOS 0x10004L 30 | FILETYPE 0x2L 31 | FILESUBTYPE 0x0L 32 | BEGIN 33 | BLOCK "StringFileInfo" 34 | BEGIN 35 | BLOCK "040904e4" 36 | BEGIN 37 | VALUE "CompanyName", "Netscape Communications Corporation\0" 38 | VALUE "FileDescription", "Netscape 32-bit JavaScript Module\0" 39 | VALUE "FileVersion", "4.0\0" 40 | VALUE "InternalName", "JS3240\0" 41 | VALUE "LegalCopyright", "Copyright Netscape Communications. 1994-96\0" 42 | VALUE "LegalTrademarks", "Netscape, Mozilla\0" 43 | VALUE "OriginalFilename", "js3240.dll\0" 44 | VALUE "ProductName", "NETSCAPE\0" 45 | VALUE "ProductVersion", "4.0\0" 46 | END 47 | END 48 | BLOCK "VarFileInfo" 49 | BEGIN 50 | VALUE "Translation", 0x409, 1252 51 | END 52 | END 53 | 54 | #ifdef APSTUDIO_INVOKED 55 | ///////////////////////////////////////////////////////////////////////////// 56 | // 57 | // TEXTINCLUDE 58 | // 59 | 60 | 1 TEXTINCLUDE DISCARDABLE 61 | BEGIN 62 | "resource.h\0" 63 | END 64 | 65 | 2 TEXTINCLUDE DISCARDABLE 66 | BEGIN 67 | "#include ""winver.h""\r\n" 68 | "\0" 69 | END 70 | 71 | 3 TEXTINCLUDE DISCARDABLE 72 | BEGIN 73 | "\r\n" 74 | "\0" 75 | END 76 | 77 | #endif // APSTUDIO_INVOKED 78 | 79 | ///////////////////////////////////////////////////////////////////////////// -------------------------------------------------------------------------------- /js/jsd/corba/src/IScript.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | public final class IScript 40 | { 41 | public String url; 42 | public String funname; 43 | public int base; 44 | public int extent; 45 | public int jsdscript; 46 | public IScriptSection[] sections; 47 | } 48 | 49 | -------------------------------------------------------------------------------- /js/src/config/CVS/Entries: -------------------------------------------------------------------------------- 1 | /AIX4.1.mk/1.7/Sat Feb 12 20:10:33 2005//TJS_180_RC1 2 | /AIX4.2.mk/1.9/Sat Feb 12 20:10:33 2005//TJS_180_RC1 3 | /AIX4.3.mk/1.9/Sat Feb 12 20:10:33 2005//TJS_180_RC1 4 | /Darwin.mk/1.7/Sun Mar 2 23:10:49 2008//TJS_180_RC1 5 | /Darwin1.3.mk/1.3/Sat Feb 12 20:10:33 2005//TJS_180_RC1 6 | /Darwin1.4.mk/1.3/Sat Feb 12 20:10:33 2005//TJS_180_RC1 7 | /Darwin5.2.mk/1.3/Sat Feb 12 20:10:33 2005//TJS_180_RC1 8 | /Darwin5.3.mk/1.3/Sat Feb 12 20:10:33 2005//TJS_180_RC1 9 | /HP-UXB.10.10.mk/1.9/Sat Feb 12 20:10:33 2005//TJS_180_RC1 10 | /HP-UXB.10.20.mk/1.8/Sat Feb 12 20:10:33 2005//TJS_180_RC1 11 | /HP-UXB.11.00.mk/1.9/Sat Feb 12 20:10:33 2005//TJS_180_RC1 12 | /IRIX.mk/1.9/Sat Feb 12 20:10:33 2005//TJS_180_RC1 13 | /IRIX5.3.mk/1.7/Sat Feb 12 20:10:33 2005//TJS_180_RC1 14 | /IRIX6.1.mk/1.7/Sat Feb 12 20:10:33 2005//TJS_180_RC1 15 | /IRIX6.2.mk/1.6/Sat Feb 12 20:10:33 2005//TJS_180_RC1 16 | /IRIX6.3.mk/1.6/Sat Feb 12 20:10:33 2005//TJS_180_RC1 17 | /IRIX6.5.mk/1.6/Sat Feb 12 20:10:33 2005//TJS_180_RC1 18 | /Linux_All.mk/1.15/Sun Mar 2 23:10:49 2008//TJS_180_RC1 19 | /Mac_OS10.0.mk/1.4/Sat Feb 12 20:10:33 2005//TJS_180_RC1 20 | /OSF1V4.0.mk/1.9/Sat Feb 12 20:10:33 2005//TJS_180_RC1 21 | /OSF1V5.0.mk/1.5/Sat Feb 12 20:10:33 2005//TJS_180_RC1 22 | /SunOS4.1.4.mk/1.6/Sat Feb 12 20:10:33 2005//TJS_180_RC1 23 | /SunOS5.10.mk/1.1/Sun Jan 20 02:12:59 2008//TJS_180_RC1 24 | /SunOS5.3.mk/1.7/Sat Feb 12 20:10:33 2005//TJS_180_RC1 25 | /SunOS5.4.mk/1.7/Sat Feb 12 20:10:33 2005//TJS_180_RC1 26 | /SunOS5.5.1.mk/1.8/Sat Feb 12 20:10:33 2005//TJS_180_RC1 27 | /SunOS5.5.mk/1.10/Sat Feb 12 20:10:33 2005//TJS_180_RC1 28 | /SunOS5.6.mk/1.13/Sat Feb 12 20:10:33 2005//TJS_180_RC1 29 | /SunOS5.7.mk/1.6/Sat Feb 12 20:10:33 2005//TJS_180_RC1 30 | /SunOS5.8.mk/1.4/Sat Feb 12 20:10:33 2005//TJS_180_RC1 31 | /SunOS5.9.mk/1.2/Sat Feb 12 20:10:33 2005//TJS_180_RC1 32 | /WINNT4.0.mk/1.15/Wed Jul 18 19:55:15 2007//TJS_180_RC1 33 | /WINNT5.0.mk/1.10/Fri Aug 10 23:23:38 2007//TJS_180_RC1 34 | /WINNT5.1.mk/1.6/Fri Aug 10 23:23:38 2007//TJS_180_RC1 35 | /WINNT5.2.mk/1.5/Fri Aug 10 23:23:38 2007//TJS_180_RC1 36 | /WINNT6.0.mk/1.1/Mon Nov 5 20:08:23 2007//TJS_180_RC1 37 | /dgux.mk/1.7/Sat Feb 12 20:10:33 2005//TJS_180_RC1 38 | D 39 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/WINNT4.0.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | ifeq ($(JDKVER),1_2_2) 40 | 41 | JDK = c:/jdk1.2.2 42 | OTHER_LIBS += $(JDK)/lib/jvm.lib ../$(OBJDIR)/js32.lib 43 | 44 | else 45 | 46 | JDK = c:/jdk1.1.8 47 | OTHER_LIBS += $(JDK)/lib/javai.lib ../$(OBJDIR)/js32.lib 48 | 49 | endif 50 | 51 | INCLUDES += -I$(JDK)/include -I$(JDK)/include/win32 52 | 53 | JSDLL_CFLAGS = 54 | -------------------------------------------------------------------------------- /js/jsd/corba/src/TestInterface.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | public interface TestInterface extends org.omg.CORBA.Object 40 | { 41 | public String getFirstAppInList(); 42 | public void getAppNames( StringReciever sr ); 43 | public Thing[] getThings(); 44 | public void callBounce( StringReciever sr, int count ); 45 | } 46 | 47 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/AIX4.3.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | # Change these to the current platform settings!!! 40 | 41 | #JDK = /tools/ns 42 | JDK = /share/builds/components/jdk/1.2beta/AIX 43 | JAVAC = $(JDK)/sh/javac 44 | JAR = $(JDK)/sh/jar 45 | 46 | INCLUDES += -I$(JDK)/include 47 | 48 | #OTHER_LIBS += -L$(JDK)/lib/aix/native_threads -ljava 49 | OTHER_LIBS += -L$(JDK)/jre/bin -ljava -L$(JDK)/jre/bin/classic -ljvm 50 | 51 | -------------------------------------------------------------------------------- /js/jsd/corba/src/bogus0.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | // 40 | // This class only exist to force a forward declaration in the outputed 41 | // idl file. 42 | // 43 | // It should be handed to java2idl after IScriptSection.class but before 44 | // IScript.class 45 | // 46 | 47 | public final class bogus0 48 | { 49 | public IScriptSection[] bogus; 50 | } 51 | 52 | -------------------------------------------------------------------------------- /js/jsd/corba/src/bogus1.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | // 40 | // This class only exist to force a forward declaration in the outputed 41 | // idl file. 42 | // 43 | // It should be handed to java2idl after IJSStackFrameInfo.class but before 44 | // IJSThreadState.class 45 | // 46 | 47 | public final class bogus1 48 | { 49 | public IJSStackFrameInfo[] bogus; 50 | } 51 | 52 | -------------------------------------------------------------------------------- /js/jsd/corba/src/IExecResult.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | public final class IExecResult 40 | { 41 | public String result; 42 | public boolean errorOccured; 43 | public String errorMessage; 44 | public String errorFilename; 45 | public int errorLineNumber; 46 | public String errorLineBuffer; 47 | public int errorTokenOffset; 48 | } 49 | 50 | -------------------------------------------------------------------------------- /js/jsd/classes/netscape/jsdebug/Hook.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | package netscape.jsdebug; 40 | 41 | 42 | /** 43 | * An instance of this class is returned for each hook set by 44 | * the debugger as a handle for removing the hook later. 45 | * 46 | * @author John Bandhauer 47 | * @author Nick Thompson 48 | * @version 1.0 49 | * @since 1.0 50 | */ 51 | public abstract class Hook { 52 | } 53 | -------------------------------------------------------------------------------- /js/src/liveconnect/CVS/Entries: -------------------------------------------------------------------------------- 1 | /.cvsignore/1.4/Tue Apr 20 19:25:21 1999//TJS_180_RC1 2 | /LiveConnect.dsp/1.4/Thu Apr 3 19:35:28 2003//TJS_180_RC1 3 | /LiveConnectShell.dsp/1.4/Thu Apr 3 19:35:28 2003//TJS_180_RC1 4 | /LiveConnectShell.dsw/1.2/Mon Jan 25 07:59:51 1999//TJS_180_RC1 5 | /Makefile.in/1.34/Wed Dec 15 04:06:59 2004//TJS_180_RC1 6 | /Makefile.ref/1.11/Sat Nov 15 00:11:05 2003//TJS_180_RC1 7 | /README.html/1.7/Sat Nov 15 00:11:05 2003//TJS_180_RC1 8 | /jsj.c/1.36/Thu Feb 15 06:33:34 2007//TJS_180_RC1 9 | /jsj.msg/1.7/Sat Nov 15 00:11:05 2003//TJS_180_RC1 10 | /jsj_JSObject.c/1.34/Tue Jan 23 05:28:31 2007//TJS_180_RC1 11 | /jsj_JavaArray.c/1.27/Wed Jan 12 19:21:11 2005//TJS_180_RC1 12 | /jsj_JavaClass.c/1.27/Mon Feb 25 08:59:21 2008//TJS_180_RC1 13 | /jsj_JavaMember.c/1.18/Wed May 9 11:11:53 2007//TJS_180_RC1 14 | /jsj_JavaObject.c/1.45/Tue Jan 23 05:28:31 2007//TJS_180_RC1 15 | /jsj_JavaPackage.c/1.25/Sat Mar 10 06:22:21 2007//TJS_180_RC1 16 | /jsj_array.c/1.9/Sat Nov 15 00:11:06 2003//TJS_180_RC1 17 | /jsj_class.c/1.24/Wed Jun 6 15:59:45 2007//TJS_180_RC1 18 | /jsj_convert.c/1.19/Tue Mar 13 03:18:29 2007//TJS_180_RC1 19 | /jsj_field.c/1.10/Sat Nov 15 00:11:06 2003//TJS_180_RC1 20 | /jsj_hash.c/1.13/Wed Jan 30 02:36:33 2008//TJS_180_RC1 21 | /jsj_hash.h/1.9/Sat Nov 15 00:11:06 2003//TJS_180_RC1 22 | /jsj_method.c/1.24/Tue Jan 23 05:28:31 2007//TJS_180_RC1 23 | /jsj_nodl.c/1.3/Sun Apr 2 07:17:22 2000//TJS_180_RC1 24 | /jsj_private.h/1.41/Mon Aug 28 20:12:33 2006//TJS_180_RC1 25 | /jsj_simpleapi.c/1.12/Thu Jul 7 22:35:39 2005//TJS_180_RC1 26 | /jsj_utils.c/1.21/Tue Jan 23 05:28:31 2007//TJS_180_RC1 27 | /jsjava.h/1.28/Tue Jan 23 05:28:31 2007//TJS_180_RC1 28 | /liveconnect.pkg/1.2/Wed Jan 7 01:21:45 2004//TJS_180_RC1 29 | /netscape_javascript_JSObject.h/1.9/Sat Nov 15 00:11:06 2003//TJS_180_RC1 30 | /nsCLiveconnect.cpp/1.52/Tue May 6 22:01:32 2008//TJS_180_RC1 31 | /nsCLiveconnect.h/1.13/Thu Aug 19 02:36:36 2004//TJS_180_RC1 32 | /nsCLiveconnectFactory.cpp/1.20/Thu Aug 31 16:45:29 2006//TJS_180_RC1 33 | /nsCLiveconnectFactory.h/1.7/Sat Nov 15 00:11:06 2003//TJS_180_RC1 34 | /nsILiveconnect.h/1.15/Fri Nov 11 14:36:04 2005//TJS_180_RC1 35 | /nsISecureLiveconnect.h/1.8/Thu Jul 27 16:51:24 2006//TJS_180_RC1 36 | /nsISecurityContext.h/1.11/Fri Nov 11 14:36:04 2005//TJS_180_RC1 37 | D 38 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/netscape/javascript/Makefile.ref: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either of the GNU General Public License Version 2 or later (the "GPL"), 28 | # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | DEPTH = ../../../.. 41 | 42 | include $(DEPTH)/config.mk 43 | include $(DEPTH)/liveconnect/config/$(OS_CONFIG).mk 44 | 45 | JARPATH = netscape/javascript 46 | 47 | JAVA_SRCS = JSException.java \ 48 | JSObject.java \ 49 | JSProxy.java \ 50 | JSRunnable.java \ 51 | JSUtil.java 52 | 53 | include $(DEPTH)/rules.mk 54 | -------------------------------------------------------------------------------- /js/src/jsmath.h: -------------------------------------------------------------------------------- 1 | /* ***** BEGIN LICENSE BLOCK ***** 2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 3 | * 4 | * The contents of this file are subject to the Mozilla Public License Version 5 | * 1.1 (the "License"); you may not use this file except in compliance with 6 | * the License. You may obtain a copy of the License at 7 | * http://www.mozilla.org/MPL/ 8 | * 9 | * Software distributed under the License is distributed on an "AS IS" basis, 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 | * for the specific language governing rights and limitations under the 12 | * License. 13 | * 14 | * The Original Code is Mozilla Communicator client code, released 15 | * March 31, 1998. 16 | * 17 | * The Initial Developer of the Original Code is 18 | * Netscape Communications Corporation. 19 | * Portions created by the Initial Developer are Copyright (C) 1998-1999 20 | * the Initial Developer. All Rights Reserved. 21 | * 22 | * Contributor(s): 23 | * 24 | * Alternatively, the contents of this file may be used under the terms of 25 | * either of the GNU General Public License Version 2 or later (the "GPL"), 26 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 27 | * in which case the provisions of the GPL or the LGPL are applicable instead 28 | * of those above. If you wish to allow use of your version of this file only 29 | * under the terms of either the GPL or the LGPL, and not to allow others to 30 | * use your version of this file under the terms of the MPL, indicate your 31 | * decision by deleting the provisions above and replace them with the notice 32 | * and other provisions required by the GPL or the LGPL. If you do not delete 33 | * the provisions above, a recipient may use your version of this file under 34 | * the terms of any one of the MPL, the GPL or the LGPL. 35 | * 36 | * ***** END LICENSE BLOCK ***** */ 37 | 38 | /* -*- Mode: C; tab-width: 8 -*- 39 | * Copyright (C) 1998-1999 Netscape Communications Corporation, All Rights Reserved. 40 | */ 41 | 42 | #ifndef jsmath_h___ 43 | #define jsmath_h___ 44 | /* 45 | * JS math functions. 46 | */ 47 | 48 | JS_BEGIN_EXTERN_C 49 | 50 | extern JSClass js_MathClass; 51 | 52 | extern JSObject * 53 | js_InitMathClass(JSContext *cx, JSObject *obj); 54 | 55 | JS_END_EXTERN_C 56 | 57 | #endif /* jsmath_h___ */ 58 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/Makefile.ref: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either of the GNU General Public License Version 2 or later (the "GPL"), 28 | # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | DEPTH = ../.. 41 | 42 | include $(DEPTH)/config.mk 43 | JAR = $(JDK)/bin/jar 44 | include $(DEPTH)/liveconnect/config/$(OS_CONFIG).mk 45 | 46 | JARS = $(LCJAR) 47 | 48 | JARS := $(addprefix $(CLASSDIR)/$(OBJDIR)/, $(JARS)) 49 | 50 | PREDIRS = netscape 51 | TARGETS += $(JARS) 52 | 53 | include $(DEPTH)/rules.mk 54 | 55 | $(CLASSDIR)/$(OBJDIR)/$(LCJAR): 56 | cd $(CLASSDIR)/$(OBJDIR) ; \ 57 | $(JAR) cvf $(@F) netscape 58 | -------------------------------------------------------------------------------- /js/jsd/jsdstubs.c: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 | /* ***** BEGIN LICENSE BLOCK ***** 3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | * 5 | * The contents of this file are subject to the Mozilla Public License Version 6 | * 1.1 (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * http://www.mozilla.org/MPL/ 9 | * 10 | * Software distributed under the License is distributed on an "AS IS" basis, 11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | * for the specific language governing rights and limitations under the 13 | * License. 14 | * 15 | * The Original Code is mozilla.org code. 16 | * 17 | * The Initial Developer of the Original Code is 18 | * Netscape Communications Corporation. 19 | * Portions created by the Initial Developer are Copyright (C) 1998 20 | * the Initial Developer. All Rights Reserved. 21 | * 22 | * Contributor(s): 23 | * 24 | * Alternatively, the contents of this file may be used under the terms of 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or 26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 27 | * in which case the provisions of the GPL or the LGPL are applicable instead 28 | * of those above. If you wish to allow use of your version of this file only 29 | * under the terms of either the GPL or the LGPL, and not to allow others to 30 | * use your version of this file under the terms of the MPL, indicate your 31 | * decision by deleting the provisions above and replace them with the notice 32 | * and other provisions required by the GPL or the LGPL. If you do not delete 33 | * the provisions above, a recipient may use your version of this file under 34 | * the terms of any one of the MPL, the GPL or the LGPL. 35 | * 36 | * ***** END LICENSE BLOCK ***** */ 37 | 38 | /* this is all going away... replaced by code in js/jsd/java */ 39 | 40 | #if 0 41 | 42 | #include "_stubs/netscape_jsdebug_Script.c" 43 | #include "_stubs/netscape_jsdebug_DebugController.c" 44 | #include "_stubs/netscape_jsdebug_JSThreadState.c" 45 | #include "_stubs/netscape_jsdebug_JSStackFrameInfo.c" 46 | #include "_stubs/netscape_jsdebug_JSPC.c" 47 | #include "_stubs/netscape_jsdebug_JSSourceTextProvider.c" 48 | 49 | #endif 50 | -------------------------------------------------------------------------------- /js/src/jsfile.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is Mozilla Communicator client code, released 17 | * March 31, 1998. 18 | * 19 | * The Initial Developer of the Original Code is 20 | * Netscape Communications Corporation. 21 | * Portions created by the Initial Developer are Copyright (C) 1998 22 | * the Initial Developer. All Rights Reserved. 23 | * 24 | * Contributor(s): 25 | * 26 | * Alternatively, the contents of this file may be used under the terms of 27 | * either of the GNU General Public License Version 2 or later (the "GPL"), 28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | * in which case the provisions of the GPL or the LGPL are applicable instead 30 | * of those above. If you wish to allow use of your version of this file only 31 | * under the terms of either the GPL or the LGPL, and not to allow others to 32 | * use your version of this file under the terms of the MPL, indicate your 33 | * decision by deleting the provisions above and replace them with the notice 34 | * and other provisions required by the GPL or the LGPL. If you do not delete 35 | * the provisions above, a recipient may use your version of this file under 36 | * the terms of any one of the MPL, the GPL or the LGPL. 37 | * 38 | * ***** END LICENSE BLOCK ***** */ 39 | 40 | #ifndef _jsfile_h__ 41 | #define _jsfile_h__ 42 | 43 | #if JS_HAS_FILE_OBJECT 44 | 45 | #include "jsobj.h" 46 | 47 | extern JS_PUBLIC_API(JSObject*) 48 | js_InitFileClass(JSContext *cx, JSObject* obj); 49 | 50 | extern JS_PUBLIC_API(JSObject*) 51 | js_NewFileObject(JSContext *cx, char *bytes); 52 | 53 | extern JSClass js_FileClass; 54 | 55 | #endif /* JS_HAS_FILE_OBJECT */ 56 | #endif /* _jsfile_h__ */ 57 | -------------------------------------------------------------------------------- /js/jsd/resource.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 | /* ***** BEGIN LICENSE BLOCK ***** 3 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | * 5 | * The contents of this file are subject to the Mozilla Public License Version 6 | * 1.1 (the "License"); you may not use this file except in compliance with 7 | * the License. You may obtain a copy of the License at 8 | * http://www.mozilla.org/MPL/ 9 | * 10 | * Software distributed under the License is distributed on an "AS IS" basis, 11 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | * for the specific language governing rights and limitations under the 13 | * License. 14 | * 15 | * The Original Code is mozilla.org code. 16 | * 17 | * The Initial Developer of the Original Code is 18 | * Netscape Communications Corporation. 19 | * Portions created by the Initial Developer are Copyright (C) 1998 20 | * the Initial Developer. All Rights Reserved. 21 | * 22 | * Contributor(s): 23 | * 24 | * Alternatively, the contents of this file may be used under the terms of 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or 26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 27 | * in which case the provisions of the GPL or the LGPL are applicable instead 28 | * of those above. If you wish to allow use of your version of this file only 29 | * under the terms of either the GPL or the LGPL, and not to allow others to 30 | * use your version of this file under the terms of the MPL, indicate your 31 | * decision by deleting the provisions above and replace them with the notice 32 | * and other provisions required by the GPL or the LGPL. If you do not delete 33 | * the provisions above, a recipient may use your version of this file under 34 | * the terms of any one of the MPL, the GPL or the LGPL. 35 | * 36 | * ***** END LICENSE BLOCK ***** */ 37 | 38 | //{{NO_DEPENDENCIES}} 39 | // Microsoft Developer Studio generated include file. 40 | // Used by jsd3240.rc 41 | // 42 | 43 | // Next default values for new objects 44 | // 45 | #ifdef APSTUDIO_INVOKED 46 | #ifndef APSTUDIO_READONLY_SYMBOLS 47 | #define _APS_NEXT_RESOURCE_VALUE 101 48 | #define _APS_NEXT_COMMAND_VALUE 40001 49 | #define _APS_NEXT_CONTROL_VALUE 1000 50 | #define _APS_NEXT_SYMED_VALUE 101 51 | #endif 52 | #endif 53 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/SunOS5.5.1.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # Change these to the current platform settings!!! 41 | 42 | ifndef JDK_VERSION 43 | JDK_VERSION = 1.2.2 44 | endif 45 | 46 | JDK = /share/builds/components/jdk/$(JDK_VERSION)/SunOS 47 | 48 | # INCLUDES += -I$(JDK)/include -I$(JDK)/include/solaris 49 | INCLUDES += -I$(JDK)/include/solaris -I$(JDK)/include 50 | 51 | OTHER_LIBS += -L$(JDK)/jre/lib/sparc/native_threads 52 | OTHER_LIBS += -L$(JDK)/jre/lib/sparc/classic 53 | OTHER_LIBS += -L$(JDK)/jre/lib/sparc -ljava -ljvm 54 | 55 | 56 | -------------------------------------------------------------------------------- /js/jsd/corba/src/cutlines.awk: -------------------------------------------------------------------------------- 1 | # -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is mozilla.org code. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | # 40 | # see usage... 41 | # 42 | 43 | BEGIN { 44 | skiplines_left = 0 45 | if( 0 == lines || 0 == pat ) 46 | { 47 | # show usage... 48 | print "\n" 49 | print "strips some lines when first line contains pattern\n" 50 | print "\tusage -v pat=\"pattern\" -v lines=3" 51 | } 52 | } 53 | 54 | { 55 | if( skiplines_left ) 56 | skiplines_left--; 57 | else 58 | { 59 | if( match($0, pat) != 0 ) 60 | skiplines_left = lines-1; 61 | else 62 | print $0; 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /js/jsd/corba/src/IJSErrorReporter.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | public interface IJSErrorReporter extends org.omg.CORBA.Object 40 | { 41 | /* keep these in sync with the numbers in jsdebug.h */ 42 | public static final int PASS_ALONG = 0; 43 | public static final int RETURN = 1; 44 | public static final int DEBUG = 2; 45 | 46 | public int reportError( String msg, 47 | String filename, 48 | int lineno, 49 | String linebuf, 50 | int tokenOffset ); 51 | } 52 | 53 | -------------------------------------------------------------------------------- /js/src/config/AIX4.2.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for AIX 42 | # 43 | 44 | CC = xlC_r 45 | CCC = xlC_r 46 | CFLAGS += -qarch=com -qnoansialias -qinline+$(INLINES) -DXP_UNIX -DAIX -DAIXV3 -DSYSV -DHAVE_LOCALTIME_R 47 | 48 | RANLIB = ranlib 49 | 50 | #.c.o: 51 | # $(CC) -c -MD $*.d $(CFLAGS) $< 52 | ARCH := aix 53 | CPU_ARCH = rs6000 54 | GFX_ARCH = x 55 | INLINES = js_compare_and_swap:js_fast_lock1:js_fast_unlock1:js_lock_get_slot:js_lock_set_slot:js_lock_scope1 56 | 57 | #-lpthreads -lc_r 58 | 59 | MKSHLIB = /usr/lpp/xlC/bin/makeC++SharedLib_r -p 0 -G -berok 60 | 61 | ifdef JS_THREADSAFE 62 | XLDFLAGS += -ldl 63 | endif 64 | 65 | -------------------------------------------------------------------------------- /js/jsd/java/jni_stubs.c: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | /* 40 | * This supplies non-functional stubs for a couple of JNI functions we need 41 | * in order to link LiveConnect 42 | */ 43 | 44 | #include "jni.h" 45 | 46 | jint JNICALL JNI_GetDefaultJavaVMInitArgs(void * ignored) 47 | { 48 | return 0; 49 | } 50 | 51 | jint JNICALL JNI_CreateJavaVM(JavaVM ** vm, JNIEnv ** env, void * ignored) 52 | { 53 | return 0; 54 | } 55 | 56 | -------------------------------------------------------------------------------- /js/src/liveconnect/classes/netscape/javascript/JSUtil.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: Java; tab-width: 8; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is Mozilla Communicator client code, released 17 | * March 31, 1998. 18 | * 19 | * The Initial Developer of the Original Code is 20 | * Netscape Communications Corporation. 21 | * Portions created by the Initial Developer are Copyright (C) 1998 22 | * the Initial Developer. All Rights Reserved. 23 | * 24 | * Contributor(s): 25 | * 26 | * Alternatively, the contents of this file may be used under the terms of 27 | * either of the GNU General Public License Version 2 or later (the "GPL"), 28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | * in which case the provisions of the GPL or the LGPL are applicable instead 30 | * of those above. If you wish to allow use of your version of this file only 31 | * under the terms of either the GPL or the LGPL, and not to allow others to 32 | * use your version of this file under the terms of the MPL, indicate your 33 | * decision by deleting the provisions above and replace them with the notice 34 | * and other provisions required by the GPL or the LGPL. If you do not delete 35 | * the provisions above, a recipient may use your version of this file under 36 | * the terms of any one of the MPL, the GPL or the LGPL. 37 | * 38 | * ***** END LICENSE BLOCK ***** */ 39 | /* ** */ 40 | 41 | package netscape.javascript; 42 | import java.io.*; 43 | 44 | public class JSUtil { 45 | 46 | /* Return the stack trace of an exception or error as a String */ 47 | public static String getStackTrace(Throwable t) { 48 | ByteArrayOutputStream captureStream; 49 | PrintWriter p; 50 | 51 | captureStream = new ByteArrayOutputStream(); 52 | p = new PrintWriter(captureStream); 53 | 54 | t.printStackTrace(p); 55 | p.flush(); 56 | 57 | return captureStream.toString(); 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /js/src/config/AIX4.1.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for AIX 42 | # 43 | 44 | CC = xlC_r 45 | CCC = xlC_r 46 | 47 | RANLIB = ranlib 48 | 49 | #.c.o: 50 | # $(CC) -c -MD $*.d $(CFLAGS) $< 51 | ARCH := aix 52 | CPU_ARCH = rs6000 53 | GFX_ARCH = x 54 | INLINES = js_compare_and_swap:js_fast_lock1:js_fast_unlock1:js_lock_get_slot:js_lock_set_slot:js_lock_scope1 55 | 56 | OS_CFLAGS = -qarch=com -qinline+$(INLINES) -DXP_UNIX -DAIX -DAIXV3 -DSYSV -DHAVE_LOCALTIME_R 57 | OS_LIBS = -lbsd -lsvld -lm 58 | #-lpthreads -lc_r 59 | 60 | MKSHLIB = $(LD) -bM:SRE -bh:4 -bnoentry -berok 61 | XLDFLAGS += -lc 62 | 63 | ifdef JS_THREADSAFE 64 | XLDFLAGS += -lsvld 65 | endif 66 | -------------------------------------------------------------------------------- /js/src/jslocko.asm: -------------------------------------------------------------------------------- 1 | ; -*- Mode: asm; tab-width: 8; c-basic-offset: 4 -*- 2 | 3 | ; ***** BEGIN LICENSE BLOCK ***** 4 | ; Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | ; 6 | ; The contents of this file are subject to the Mozilla Public License Version 7 | ; 1.1 (the "License"); you may not use this file except in compliance with 8 | ; the License. You may obtain a copy of the License at 9 | ; http://www.mozilla.org/MPL/ 10 | ; 11 | ; Software distributed under the License is distributed on an "AS IS" basis, 12 | ; WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | ; for the specific language governing rights and limitations under the 14 | ; License. 15 | ; 16 | ; The Original Code is an OS/2 implementation of js_CompareAndSwap in assembly. 17 | ; 18 | ; The Initial Developer of the Original Code is 19 | ; IBM Corporation. 20 | ; Portions created by the Initial Developer are Copyright (C) 2001 21 | ; the Initial Developer. All Rights Reserved. 22 | ; 23 | ; Contributor(s): 24 | ; 25 | ; Alternatively, the contents of this file may be used under the terms of 26 | ; either the GNU General Public License Version 2 or later (the "GPL"), or 27 | ; the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | ; in which case the provisions of the GPL or the LGPL are applicable instead 29 | ; of those above. If you wish to allow use of your version of this file only 30 | ; under the terms of either the GPL or the LGPL, and not to allow others to 31 | ; use your version of this file under the terms of the MPL, indicate your 32 | ; decision by deleting the provisions above and replace them with the notice 33 | ; and other provisions required by the GPL or the LGPL. If you do not delete 34 | ; the provisions above, a recipient may use your version of this file under 35 | ; the terms of any one of the MPL, the GPL or the LGPL. 36 | ; 37 | ; ***** END LICENSE BLOCK ***** 38 | 39 | .486P 40 | .MODEL FLAT, OPTLINK 41 | .STACK 42 | 43 | .CODE 44 | 45 | ;;;--------------------------------------------------------------------- 46 | ;;; int _Optlink js_CompareAndSwap(jsword *w, jsword ov, jsword nv) 47 | ;;;--------------------------------------------------------------------- 48 | js_CompareAndSwap PROC OPTLINK EXPORT 49 | push ebx 50 | mov ebx, eax 51 | mov eax, edx 52 | mov edx, ebx 53 | lock cmpxchg [ebx], ecx 54 | sete al 55 | and eax, 1h 56 | pop ebx 57 | ret 58 | js_CompareAndSwap endp 59 | 60 | END 61 | -------------------------------------------------------------------------------- /js/src/config/AIX4.3.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for AIX 42 | # 43 | 44 | CC = xlC_r 45 | CCC = xlC_r 46 | CFLAGS += -qarch=com -qnoansialias -qinline+$(INLINES) -DXP_UNIX -DAIX -DAIXV3 -DSYSV -DAIX4_3 -DHAVE_LOCALTIME_R 47 | 48 | RANLIB = ranlib 49 | 50 | #.c.o: 51 | # $(CC) -c -MD $*.d $(CFLAGS) $< 52 | ARCH := aix 53 | CPU_ARCH = rs6000 54 | GFX_ARCH = x 55 | INLINES = js_compare_and_swap:js_fast_lock1:js_fast_unlock1:js_lock_get_slot:js_lock_set_slot:js_lock_scope1 56 | 57 | #-lpthreads -lc_r 58 | 59 | MKSHLIB_BIN = /usr/ibmcxx/bin/makeC++SharedLib_r 60 | MKSHLIB = $(MKSHLIB_BIN) -p 0 -G -berok -bM:UR 61 | 62 | ifdef JS_THREADSAFE 63 | XLDFLAGS += -ldl 64 | endif 65 | 66 | -------------------------------------------------------------------------------- /js/src/config/dgux.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for Data General DG/UX 42 | # 43 | 44 | # 45 | # Initial DG/UX port by Marc Fraioli (fraioli@dg-rtp.dg.com) 46 | # 47 | 48 | AS = as 49 | CC = gcc 50 | CCC = g++ 51 | 52 | RANLIB = echo 53 | 54 | # 55 | # _DGUX_SOURCE is needed to turn on a lot of stuff in the headers if 56 | # you're not using DG's compiler. It shouldn't hurt if you are. 57 | # 58 | # _POSIX4A_DRAFT10_SOURCE is needed to pick up localtime_r, used in 59 | # prtime.c 60 | # 61 | OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DDGUX -D_DGUX_SOURCE -D_POSIX4A_DRAFT10_SOURCE -DHAVE_LOCALTIME_R 62 | OS_LIBS = -lsocket -lnsl 63 | 64 | NOSUCHFILE = /no-such-file 65 | -------------------------------------------------------------------------------- /js/src/jscompat.h: -------------------------------------------------------------------------------- 1 | /* ***** BEGIN LICENSE BLOCK ***** 2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 3 | * 4 | * The contents of this file are subject to the Mozilla Public License Version 5 | * 1.1 (the "License"); you may not use this file except in compliance with 6 | * the License. You may obtain a copy of the License at 7 | * http://www.mozilla.org/MPL/ 8 | * 9 | * Software distributed under the License is distributed on an "AS IS" basis, 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 | * for the specific language governing rights and limitations under the 12 | * License. 13 | * 14 | * The Original Code is Mozilla Communicator client code, released 15 | * March 31, 1998. 16 | * 17 | * The Initial Developer of the Original Code is 18 | * Netscape Communications Corporation. 19 | * Portions created by the Initial Developer are Copyright (C) 1998-1999 20 | * the Initial Developer. All Rights Reserved. 21 | * 22 | * Contributor(s): 23 | * 24 | * Alternatively, the contents of this file may be used under the terms of 25 | * either of the GNU General Public License Version 2 or later (the "GPL"), 26 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 27 | * in which case the provisions of the GPL or the LGPL are applicable instead 28 | * of those above. If you wish to allow use of your version of this file only 29 | * under the terms of either the GPL or the LGPL, and not to allow others to 30 | * use your version of this file under the terms of the MPL, indicate your 31 | * decision by deleting the provisions above and replace them with the notice 32 | * and other provisions required by the GPL or the LGPL. If you do not delete 33 | * the provisions above, a recipient may use your version of this file under 34 | * the terms of any one of the MPL, the GPL or the LGPL. 35 | * 36 | * ***** END LICENSE BLOCK ***** */ 37 | 38 | /* -*- Mode: C; tab-width: 8 -*- 39 | * Copyright (C) 1996-1999 Netscape Communications Corporation, All Rights Reserved. 40 | */ 41 | #ifndef jscompat_h___ 42 | #define jscompat_h___ 43 | /* 44 | * Compatibility glue for various NSPR versions. We must always define int8, 45 | * int16, jsword, and so on to minimize differences with js/ref, no matter what 46 | * the NSPR typedef names may be. 47 | */ 48 | #include "jstypes.h" 49 | #include "jslong.h" 50 | 51 | typedef JSIntn intN; 52 | typedef JSUintn uintN; 53 | typedef JSUword jsuword; 54 | typedef JSWord jsword; 55 | typedef float float32; 56 | #define allocPriv allocPool 57 | #endif /* jscompat_h___ */ 58 | -------------------------------------------------------------------------------- /js/jsd/classes/netscape/jsdebug/InterruptHook.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | package netscape.jsdebug; 40 | 41 | /** 42 | * InterruptHook must be subclassed to respond when interrupts occur 43 | * 44 | * @author John Bandhauer 45 | * @author Nick Thompson 46 | * @version 1.0 47 | * @since 1.0 48 | */ 49 | public class InterruptHook extends Hook { 50 | 51 | /** 52 | * Override this method to respond when interrupts occur 53 | * @param debug the state of this thread 54 | * @param pc the pc of the instruction about to execute 55 | */ 56 | public void aboutToExecute(ThreadStateBase debug, PC pc) { 57 | // defaults to no action 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /js/src/config/OSF1V5.0.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for Tru64 Unix 5.0 42 | # 43 | 44 | # 45 | # Initial DG/UX port by Marc Fraioli (fraioli@dg-rtp.dg.com) 46 | # 47 | 48 | ifndef NS_USE_NATIVE 49 | CC = gcc 50 | CCC = g++ 51 | CFLAGS += -mieee -Wall -Wno-format 52 | else 53 | CC = cc 54 | CCC = cxx 55 | CFLAGS += -ieee -std -pthread 56 | # LD = cxx 57 | endif 58 | 59 | RANLIB = echo 60 | MKSHLIB = $(LD) -shared -all -expect_unresolved "*" 61 | 62 | # 63 | # _POSIX4A_DRAFT10_SOURCE is needed to pick up localtime_r, used in 64 | # prtime.c 65 | # 66 | OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_POSIX4A_DRAFT10_SOURCE -DOSF1 -DHAVE_LOCALTIME_R 67 | OS_LIBS = -lsocket -lnsl 68 | 69 | NOSUCHFILE = /no-such-file 70 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/OSF1V5.0.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | # JDK = /share/builds/components/jdk/1.1.6/OSF1 40 | 41 | # INCLUDES += -I$(JDK)/include/java -I$(JDK)/include/java/alpha 42 | 43 | # OTHER_LIBS += -L$(JDK)/lib/alpha -ljava 44 | 45 | # XLDFLAGS += -taso 46 | 47 | ifndef JDK_VERSION 48 | JDK_VERSION = 1.2.2 49 | endif 50 | 51 | # jni.h #error's without this. 52 | CFLAGS += -pthread 53 | 54 | JDK = /share/builds/components/jdk/$(JDK_VERSION)/OSF1 55 | 56 | # INCLUDES += -I$(JDK)/include -I$(JDK)/include/solaris 57 | INCLUDES += -I$(JDK)/include/alpha -I$(JDK)/include 58 | 59 | # XXX is this consistent with -pthread above? 60 | OTHER_LIBS += -L$(JDK)/jre/lib/alpha/native_threads 61 | OTHER_LIBS += -L$(JDK)/jre/lib/alpha/classic 62 | OTHER_LIBS += -L$(JDK)/jre/lib/alpha -ljava -ljvm 63 | -------------------------------------------------------------------------------- /js/jsd/classes/netscape/jsdebug/DebugBreakHook.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | package netscape.jsdebug; 40 | 41 | /** 42 | * DebugBreakHook must be subclassed to respond when a debug break is 43 | * requested 44 | * 45 | * @author John Bandhauer 46 | * @version 1.0 47 | * @since 1.0 48 | */ 49 | public class DebugBreakHook extends Hook { 50 | 51 | /** 52 | * Override this method to respond just before a thread 53 | * reaches a particular instruction. 54 | *

55 | * @param debug ThreadState representing the current state 56 | * @param pc the location of the instruction about to be executed 57 | */ 58 | public void aboutToExecute(ThreadStateBase debug, PC pc) { 59 | // defaults to no action 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /js/src/fdlibm/s_matherr.c: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is Mozilla Communicator client code, released 17 | * March 31, 1998. 18 | * 19 | * The Initial Developer of the Original Code is 20 | * Sun Microsystems, Inc. 21 | * Portions created by the Initial Developer are Copyright (C) 1998 22 | * the Initial Developer. All Rights Reserved. 23 | * 24 | * Contributor(s): 25 | * 26 | * Alternatively, the contents of this file may be used under the terms of 27 | * either of the GNU General Public License Version 2 or later (the "GPL"), 28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | * in which case the provisions of the GPL or the LGPL are applicable instead 30 | * of those above. If you wish to allow use of your version of this file only 31 | * under the terms of either the GPL or the LGPL, and not to allow others to 32 | * use your version of this file under the terms of the MPL, indicate your 33 | * decision by deleting the provisions above and replace them with the notice 34 | * and other provisions required by the GPL or the LGPL. If you do not delete 35 | * the provisions above, a recipient may use your version of this file under 36 | * the terms of any one of the MPL, the GPL or the LGPL. 37 | * 38 | * ***** END LICENSE BLOCK ***** */ 39 | 40 | /* @(#)s_matherr.c 1.3 95/01/18 */ 41 | /* 42 | * ==================================================== 43 | * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 44 | * 45 | * Developed at SunSoft, a Sun Microsystems, Inc. business. 46 | * Permission to use, copy, modify, and distribute this 47 | * software is freely granted, provided that this notice 48 | * is preserved. 49 | * ==================================================== 50 | */ 51 | 52 | #include "fdlibm.h" 53 | 54 | #ifdef __STDC__ 55 | int fd_matherr(struct exception *x) 56 | #else 57 | int fd_matherr(x) 58 | struct exception *x; 59 | #endif 60 | { 61 | int n=0; 62 | if(x->arg1!=x->arg1) return 0; 63 | return n; 64 | } 65 | -------------------------------------------------------------------------------- /js/jsd/jsdb/jsdb.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | /* 40 | * Public headers for JSDB 41 | */ 42 | 43 | #ifndef jsdb_h___ 44 | #define jsdb_h___ 45 | 46 | /* Get jstypes.h included first. After that we can use PR macros for doing 47 | * this extern "C" stuff! 48 | */ 49 | #ifdef __cplusplus 50 | extern "C" 51 | { 52 | #endif 53 | #include "jstypes.h" 54 | #ifdef __cplusplus 55 | } 56 | #endif 57 | 58 | JS_BEGIN_EXTERN_C 59 | #include "jsapi.h" 60 | #include "jsdebug.h" 61 | JS_END_EXTERN_C 62 | 63 | JS_BEGIN_EXTERN_C 64 | 65 | extern JS_EXPORT_API(void) 66 | JSDB_TermDebugger(JSDContext* jsdc); 67 | 68 | extern JS_EXPORT_API(JSBool) 69 | JSDB_InitDebugger(JSRuntime* rt, JSDContext* jsdc, int depth); 70 | 71 | JS_END_EXTERN_C 72 | 73 | #endif /* jsdb_h___ */ 74 | -------------------------------------------------------------------------------- /js/src/jsshell.msg: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is Mozilla Communicator client code, released 17 | * March 31, 1998. 18 | * 19 | * The Initial Developer of the Original Code is 20 | * Netscape Communications Corporation. 21 | * Portions created by the Initial Developer are Copyright (C) 1998 22 | * the Initial Developer. All Rights Reserved. 23 | * 24 | * Contributor(s): 25 | * 26 | * Alternatively, the contents of this file may be used under the terms of 27 | * either of the GNU General Public License Version 2 or later (the "GPL"), 28 | * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | * in which case the provisions of the GPL or the LGPL are applicable instead 30 | * of those above. If you wish to allow use of your version of this file only 31 | * under the terms of either the GPL or the LGPL, and not to allow others to 32 | * use your version of this file under the terms of the MPL, indicate your 33 | * decision by deleting the provisions above and replace them with the notice 34 | * and other provisions required by the GPL or the LGPL. If you do not delete 35 | * the provisions above, a recipient may use your version of this file under 36 | * the terms of any one of the MPL, the GPL or the LGPL. 37 | * 38 | * ***** END LICENSE BLOCK ***** */ 39 | 40 | /* 41 | Error messages for JSShell. See js.msg for format. 42 | */ 43 | 44 | MSG_DEF(JSSMSG_NOT_AN_ERROR, 0, 0, JSEXN_NONE, "") 45 | MSG_DEF(JSSMSG_CANT_OPEN, 1, 2, JSEXN_NONE, "can't open {0}: {1}") 46 | MSG_DEF(JSSMSG_TRAP_USAGE, 2, 0, JSEXN_NONE, "usage: trap [fun] [pc] expr") 47 | MSG_DEF(JSSMSG_LINE2PC_USAGE, 3, 0, JSEXN_NONE, "usage: line2pc [fun] line") 48 | MSG_DEF(JSSMSG_FILE_SCRIPTS_ONLY, 4, 0, JSEXN_NONE, "only works on JS scripts read from files") 49 | MSG_DEF(JSSMSG_UNEXPECTED_EOF, 5, 1, JSEXN_NONE, "unexpected EOF in {0}") 50 | MSG_DEF(JSSMSG_DOEXP_USAGE, 6, 0, JSEXN_NONE, "usage: doexp obj id") 51 | -------------------------------------------------------------------------------- /js/jsd/classes/netscape/jsdebug/PC.java: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- 2 | * 3 | * ***** BEGIN LICENSE BLOCK ***** 4 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | * 6 | * The contents of this file are subject to the Mozilla Public License Version 7 | * 1.1 (the "License"); you may not use this file except in compliance with 8 | * the License. You may obtain a copy of the License at 9 | * http://www.mozilla.org/MPL/ 10 | * 11 | * Software distributed under the License is distributed on an "AS IS" basis, 12 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | * for the specific language governing rights and limitations under the 14 | * License. 15 | * 16 | * The Original Code is mozilla.org code. 17 | * 18 | * The Initial Developer of the Original Code is 19 | * Netscape Communications Corporation. 20 | * Portions created by the Initial Developer are Copyright (C) 1998 21 | * the Initial Developer. All Rights Reserved. 22 | * 23 | * Contributor(s): 24 | * 25 | * Alternatively, the contents of this file may be used under the terms of 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | * in which case the provisions of the GPL or the LGPL are applicable instead 29 | * of those above. If you wish to allow use of your version of this file only 30 | * under the terms of either the GPL or the LGPL, and not to allow others to 31 | * use your version of this file under the terms of the MPL, indicate your 32 | * decision by deleting the provisions above and replace them with the notice 33 | * and other provisions required by the GPL or the LGPL. If you do not delete 34 | * the provisions above, a recipient may use your version of this file under 35 | * the terms of any one of the MPL, the GPL or the LGPL. 36 | * 37 | * ***** END LICENSE BLOCK ***** */ 38 | 39 | package netscape.jsdebug; 40 | 41 | /** 42 | * The PC class is an opaque representation of a program counter. It 43 | * may have different implementations for interpreted Java methods, 44 | * methods compiled by the JIT, JavaScript methods, etc. 45 | * 46 | * @author John Bandhauer 47 | * @author Nick Thompson 48 | * @version 1.0 49 | * @since 1.0 50 | */ 51 | public abstract class PC { 52 | /** 53 | * Get the SourceLocation associated with this PC value. 54 | * returns null if the source location is unavailable. 55 | */ 56 | public abstract SourceLocation getSourceLocation(); 57 | 58 | /** 59 | * Ask whether two program counter values are equal. 60 | */ 61 | public abstract boolean equals(Object obj); 62 | } 63 | -------------------------------------------------------------------------------- /js/src/config/HP-UXB.10.10.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for HPUX 42 | # 43 | 44 | # CC = gcc 45 | # CCC = g++ 46 | # CFLAGS += -Wall -Wno-format -fPIC 47 | 48 | CC = cc -Ae +Z 49 | CCC = CC -Ae +a1 +eh +Z 50 | 51 | RANLIB = echo 52 | MKSHLIB = $(LD) -b 53 | 54 | SO_SUFFIX = sl 55 | 56 | #.c.o: 57 | # $(CC) -c -MD $*.d $(CFLAGS) $< 58 | 59 | CPU_ARCH = hppa 60 | GFX_ARCH = x 61 | 62 | OS_CFLAGS = -DXP_UNIX -DHPUX -DSYSV -DHAVE_LOCALTIME_R 63 | OS_LIBS = -ldld 64 | 65 | ifeq ($(OS_RELEASE),B.10) 66 | PLATFORM_FLAGS += -DHPUX10 -Dhpux10 67 | PORT_FLAGS += -DRW_NO_OVERLOAD_SCHAR -DHAVE_MODEL_H 68 | ifeq ($(OS_VERSION),.10) 69 | PLATFORM_FLAGS += -DHPUX10_10 70 | endif 71 | ifeq ($(OS_VERSION),.20) 72 | PLATFORM_FLAGS += -DHPUX10_20 73 | endif 74 | ifeq ($(OS_VERSION),.30) 75 | PLATFORM_FLAGS += -DHPUX10_30 76 | endif 77 | endif 78 | -------------------------------------------------------------------------------- /js/src/config/HP-UXB.10.20.mk: -------------------------------------------------------------------------------- 1 | # -*- Mode: makefile -*- 2 | # 3 | # ***** BEGIN LICENSE BLOCK ***** 4 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 | # 6 | # The contents of this file are subject to the Mozilla Public License Version 7 | # 1.1 (the "License"); you may not use this file except in compliance with 8 | # the License. You may obtain a copy of the License at 9 | # http://www.mozilla.org/MPL/ 10 | # 11 | # Software distributed under the License is distributed on an "AS IS" basis, 12 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 13 | # for the specific language governing rights and limitations under the 14 | # License. 15 | # 16 | # The Original Code is Mozilla Communicator client code, released 17 | # March 31, 1998. 18 | # 19 | # The Initial Developer of the Original Code is 20 | # Netscape Communications Corporation. 21 | # Portions created by the Initial Developer are Copyright (C) 1998 22 | # the Initial Developer. All Rights Reserved. 23 | # 24 | # Contributor(s): 25 | # 26 | # Alternatively, the contents of this file may be used under the terms of 27 | # either the GNU General Public License Version 2 or later (the "GPL"), or 28 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 29 | # in which case the provisions of the GPL or the LGPL are applicable instead 30 | # of those above. If you wish to allow use of your version of this file only 31 | # under the terms of either the GPL or the LGPL, and not to allow others to 32 | # use your version of this file under the terms of the MPL, indicate your 33 | # decision by deleting the provisions above and replace them with the notice 34 | # and other provisions required by the GPL or the LGPL. If you do not delete 35 | # the provisions above, a recipient may use your version of this file under 36 | # the terms of any one of the MPL, the GPL or the LGPL. 37 | # 38 | # ***** END LICENSE BLOCK ***** 39 | 40 | # 41 | # Config stuff for HPUX 42 | # 43 | 44 | # CC = gcc 45 | # CCC = g++ 46 | # CFLAGS += -Wall -Wno-format -fPIC 47 | 48 | CC = cc -Ae +Z 49 | CCC = CC -Ae +a1 +eh +Z 50 | 51 | RANLIB = echo 52 | MKSHLIB = $(LD) -b 53 | 54 | SO_SUFFIX = sl 55 | 56 | #.c.o: 57 | # $(CC) -c -MD $*.d $(CFLAGS) $< 58 | 59 | CPU_ARCH = hppa 60 | GFX_ARCH = x 61 | 62 | OS_CFLAGS = -DXP_UNIX -DHPUX -DSYSV -DHAVE_LOCALTIME_R 63 | OS_LIBS = -ldld 64 | 65 | ifeq ($(OS_RELEASE),B.10) 66 | PLATFORM_FLAGS += -DHPUX10 -Dhpux10 67 | PORT_FLAGS += -DRW_NO_OVERLOAD_SCHAR -DHAVE_MODEL_H 68 | ifeq ($(OS_VERSION),.10) 69 | PLATFORM_FLAGS += -DHPUX10_10 70 | endif 71 | ifeq ($(OS_VERSION),.20) 72 | PLATFORM_FLAGS += -DHPUX10_20 73 | endif 74 | ifeq ($(OS_VERSION),.30) 75 | PLATFORM_FLAGS += -DHPUX10_30 76 | endif 77 | endif 78 | -------------------------------------------------------------------------------- /js/src/liveconnect/config/OSF1V4.0.mk: -------------------------------------------------------------------------------- 1 | # 2 | # ***** BEGIN LICENSE BLOCK ***** 3 | # Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 | # 5 | # The contents of this file are subject to the Mozilla Public License Version 6 | # 1.1 (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # http://www.mozilla.org/MPL/ 9 | # 10 | # Software distributed under the License is distributed on an "AS IS" basis, 11 | # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 12 | # for the specific language governing rights and limitations under the 13 | # License. 14 | # 15 | # The Original Code is Mozilla Communicator client code, released 16 | # March 31, 1998. 17 | # 18 | # The Initial Developer of the Original Code is 19 | # Netscape Communications Corporation. 20 | # Portions created by the Initial Developer are Copyright (C) 1998 21 | # the Initial Developer. All Rights Reserved. 22 | # 23 | # Contributor(s): 24 | # 25 | # Alternatively, the contents of this file may be used under the terms of 26 | # either the GNU General Public License Version 2 or later (the "GPL"), or 27 | # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 28 | # in which case the provisions of the GPL or the LGPL are applicable instead 29 | # of those above. If you wish to allow use of your version of this file only 30 | # under the terms of either the GPL or the LGPL, and not to allow others to 31 | # use your version of this file under the terms of the MPL, indicate your 32 | # decision by deleting the provisions above and replace them with the notice 33 | # and other provisions required by the GPL or the LGPL. If you do not delete 34 | # the provisions above, a recipient may use your version of this file under 35 | # the terms of any one of the MPL, the GPL or the LGPL. 36 | # 37 | # ***** END LICENSE BLOCK ***** 38 | 39 | # JDK = /share/builds/components/jdk/1.1.6/OSF1 40 | 41 | # INCLUDES += -I$(JDK)/include/java -I$(JDK)/include/java/alpha 42 | 43 | # OTHER_LIBS += -L$(JDK)/lib/alpha -ljava 44 | 45 | # XLDFLAGS += -taso 46 | 47 | ifndef JDK_VERSION 48 | JDK_VERSION = 1.2.2 49 | endif 50 | 51 | # jni.h #error's without this. 52 | CFLAGS += -pthread 53 | 54 | JDK = /share/builds/components/jdk/$(JDK_VERSION)/OSF1 55 | 56 | # INCLUDES += -I$(JDK)/include -I$(JDK)/include/solaris 57 | INCLUDES += -I$(JDK)/include/alpha -I$(JDK)/include 58 | 59 | # XXX is this consistent with -pthread above? 60 | OTHER_LIBS += -L$(JDK)/jre/lib/alpha/native_threads 61 | OTHER_LIBS += -L$(JDK)/jre/lib/alpha/classic 62 | OTHER_LIBS += -L$(JDK)/jre/lib/alpha -ljava -ljvm 63 | 64 | # Taken from the previous revision - no idea what it does. 65 | XLDFLAGS += -taso 66 | --------------------------------------------------------------------------------