Commit Graph

145 Commits

Author SHA1 Message Date
fur%netscape.com
a7adaf7126 Wrong path for Packages binaries 1999-02-09 05:46:47 +00:00
fur%netscape.com
821bb96abc Gratuitous change to work around bug that appears in egcs 1.0.3 1999-02-09 00:08:41 +00:00
fur%netscape.com
bc8b55b791 Quash egcs warning 1999-02-09 00:07:20 +00:00
fur%netscape.com
4045d5c9f6 Use OBJDIR naming scheme that is the same as NSPR's 1999-02-09 00:02:19 +00:00
fur%netscape.com
f787d50e81 mkdepend rules now work again 1999-02-09 00:01:56 +00:00
fur%netscape.com
ec688dd6fd Don't assume that gcc is C compiler when computing dependencies 1999-02-09 00:01:02 +00:00
fur%netscape.com
7d1029eedf Got rid of problematic -fexceptions flag 1999-02-08 23:59:19 +00:00
fur%netscape.com
50f767a020 Get rid of classpath during header generation. For now, depend on setting of CLASSPATH env variable. 1999-02-08 23:58:16 +00:00
fur%netscape.com
d0cdd06b65 Replaced outdated rules w/ new rules that are identical to NSPR's 1999-02-08 23:57:21 +00:00
fur%netscape.com
6d2fc0ea6e Ignore generated files. 1999-01-31 06:00:48 +00:00
fur%netscape.com
665e67cbf9 Fixed VerifyError and RuntimeError messages to be less dire. Also, don't exit
the program if an error occurs since it will be propagated to a Java caller as
an exception.
1999-01-29 05:23:06 +00:00
fur%netscape.com
cb865ea272 The -sys command-line option is now default behavior. You can disable System
class initialization with the new -nosystem option).
1999-01-29 05:21:48 +00:00
fur%netscape.com
a28eee27d1 Really this time: temporarily hard-coded y.tab.[ch] into build, instead of
generating them
1999-01-29 05:20:25 +00:00
fur%netscape.com
7030130215 Was incorrectly reporting classfile corruption when file was actually not found. 1999-01-29 05:09:46 +00:00
fur%netscape.com
d62f23151e Temporarily hard-coded y.tab.[ch] into build, instead of generating them. 1999-01-28 08:22:55 +00:00
fur%netscape.com
044c5729ed Temporarily checking in y.tab.c and y.tab.h because of yacc/bison problems. 1999-01-28 08:21:57 +00:00
fur%netscape.com
ca6e438532 Add java_lang_Thread.h 1999-01-21 01:25:12 +00:00
fur%netscape.com
7b5c6b88c2 Fix comment. 1999-01-21 00:42:03 +00:00
fur%netscape.com
65fec7605c Allow class CharToByteConverter to be initialized, since the codegen limitations
that didn't allow it to be compiled have been remedied.
1999-01-21 00:41:09 +00:00
fur%netscape.com
d84ca63910 Unicode characters are uint16, not int16. 1999-01-21 00:39:17 +00:00
fur%netscape.com
366b96e226 Added routines to handle conversion of Java strings between UTF8 and UCS2
representations.
1999-01-21 00:38:34 +00:00
fur%netscape.com
8294dd6711 Frame::getCallingJavaMethod() now takes a stack depth parameter which indicates
the number of levels to pop the stack.
1999-01-21 00:37:14 +00:00
fur%netscape.com
3ea48d26a2 Flush the log file after entry into a method is traced. 1999-01-21 00:22:22 +00:00
fur%netscape.com
6c7512d748 Unicode characters are uint16's not int16's. 1999-01-21 00:20:41 +00:00
fur%netscape.com
78937749e8 Fixes to newInstance0() method:
When checking to see if a calling method has permission to access a
class/constructor with package-level scope, walk two levels up the
stack, instead of one, since the immediate caller is always
java.lang.newInstance().

In addition to creating the object, invoke it's zero-argument constructor.
1999-01-21 00:19:56 +00:00
fur%netscape.com
ba8baa29ab Added do-nothing stub for registerNatives(). 1999-01-21 00:16:40 +00:00
fur%netscape.com
a45dd92751 Implement doPrivileged() method in a trivial way, such that privileges are
not actually checked or set.
1999-01-21 00:15:55 +00:00
fur%netscape.com
21d5ff5438 Don't add a thread-id or a newline to each logfile output line, at least not
in the default case.
1999-01-21 00:12:46 +00:00
fur%netscape.com
e6989dcc0d Ensure that log-file flushing occurs even if the default log file is being used. 1999-01-21 00:11:55 +00:00
fur%netscape.com
d92b51d33f Work in progress 1999-01-18 06:22:14 +00:00
fur%netscape.com
0e1d9dbd8d + Flush HTML method dump file after writing it. Otherwise, the file is
truncated if EF dies while compiling.

+ Print a placeholder disassembled instruction rather than assert-botching,
  so that the -html option still works.
1998-12-23 20:21:58 +00:00
fur%netscape.com
6125a49b1a Flush HTML method dump file after writing it. Otherwise, the file is truncated
if EF dies while compiling.
1998-12-23 20:19:49 +00:00
fur%netscape.com
74590617a8 Eliminate double declaration of variable 1998-12-23 20:15:57 +00:00
fur%netscape.com
9006576ab5 Do classname-mangling correctly (or at least closer to correct, since
the code still does not handle unicode characters).
1998-12-23 20:15:07 +00:00
fur%netscape.com
78f477adcf Added stubs for missing native methods. 1998-12-23 20:14:13 +00:00
fur%netscape.com
4eb7a05540 Closer to building packages again in the new mozilla world. 1998-12-23 20:12:59 +00:00
fur%netscape.com
e3d43ac36b Check-in rth's support for 64-bit arithmetic, with a few mods to make it build
on Win32.
1998-12-23 20:11:59 +00:00
fur%netscape.com
31ffa9b84f Fixed incorrect assumption that the extra_field_length value in the central
directory record  was the same as the extra_field_length in the corresponding
local file header record.
1998-12-22 18:01:28 +00:00
fur%netscape.com
4a6bd744a3 Adding SportModel, Warren Harris' partially complete garbage collector
code for the ElectricalFire JIT.
1998-12-17 07:00:17 +00:00
fur%netscape.com
fc8d514fb4 Added Todd Proebsting's BURG to the tree, now that it's in the public domain. 1998-12-17 06:36:50 +00:00
toshok%hungry.com
4182e3c193 (at least for GNUC platforms) don't rely on nasty division-by-zero tricks to generate +-inf and nan. instead borrow the bitlevel twiddling javascript uses. I would imagine that this would work for all platforms that use IEEE floats (which is necessarily all platforms for which EF will work), but someone else needs to figure out if windows will work with this code. 1998-12-16 01:38:18 +00:00
toshok%hungry.com
7c1fe1e23b clear up screw up in previous commit. 1998-12-16 01:30:14 +00:00
toshok%hungry.com
024f7c420c install shared libs in dist/ARCH/bin, not dist/ARCH/lib - following the same convention as the mozilla tree. 1998-12-16 01:28:17 +00:00
toshok%hungry.com
17f97dc512 build shared libs with CC instead of LD. 1998-12-16 01:26:49 +00:00
toshok%hungry.com
ff3a41c05a dist is not one directory higher than ef. 1998-12-16 01:13:05 +00:00
rth%cygnus.com
a3d3a0db9e Detect and handle overloaded methods. 1998-12-12 08:21:25 +00:00
rth%cygnus.com
e75b2e9f3c Re-implement for your legal protection. 1998-12-12 08:20:30 +00:00
rth%cygnus.com
41389ffd04 Add missing java class include files. 1998-12-12 08:18:07 +00:00
rth%cygnus.com
5ca08c04d2 Insert directory entries into a SortedTree for searching. 1998-12-12 05:23:36 +00:00
rth%cygnus.com
4f1d3174f2 (EF_LIBS): Add DebuggerChannel and EFDisassemble.
(JAVAH): Set LD_LIBRARY_PATH.
1998-12-12 04:10:43 +00:00
rth%cygnus.com
9c6669247a (MKSHLIB): Must use gcc, not ld, to create shared libraries w/ constructors.
(NSPR_THREAD_LIBS): New.
1998-12-12 04:09:28 +00:00
rth%cygnus.com
d6850523df (LIBRARY_NAME): Change to EFDisassemble. 1998-12-12 04:08:12 +00:00
rth%cygnus.com
abc0c157c6 (DIRS): Wildcard on the cpu, so that processors that do not have
disassemblers can still build.
1998-12-12 04:07:44 +00:00
rth%cygnus.com
81be5b69a8 Use local labels as needed. 1998-12-12 04:06:58 +00:00
rth%cygnus.com
472f7014a7 (GetPassedException): Abort. The existing "mov ecx,E" thing can not work.
Plus it generated invalid assembly.
1998-12-12 04:06:26 +00:00
rth%cygnus.com
d1e33853f7 Streamline INLINE_GET_EBP.
Error if this file is used on anything except x86.
1998-12-12 04:04:01 +00:00
rth%cygnus.com
79c51fc35c ANSI C++ disallows reinterpret_cast between objects and functions. 1998-12-12 04:02:56 +00:00
rth%cygnus.com
a5d91840f3 Make sure nsinstall gets built before make export tries to use it. 1998-12-12 04:02:05 +00:00
rth%cygnus.com
29108aacac The arch bits call for Linux{ver} not LinuxELF{ver}. 1998-12-11 18:49:27 +00:00
rth%cygnus.com
2ed6644e55 Re-implement for your legal protection. 1998-12-11 18:37:20 +00:00
rth%cygnus.com
37151cfd16 Use a proper sigcontext for Linux, just as is done for BSD. 1998-12-11 18:35:52 +00:00
rth%cygnus.com
111dcdf731 Fix bogus gcc x86 asms. 1998-12-11 18:33:48 +00:00
toshok%hungry.com
a8ef75c191 we need to fix this, but to get things building i've made the copy constructors public and provided an implementation of them that just PR_ASSERT(0)'s. 1998-12-11 04:41:05 +00:00
toshok%hungry.com
6487ac2934 anything greater than gcc 2.8 should have terminate already. 1998-12-11 04:10:21 +00:00
toshok%hungry.com
a7ad97fa3a XDisAsmTable.c is not included in the distribution (for licensing reasons.) don't reference it in the Makefile. 1998-12-11 04:04:19 +00:00
toshok%hungry.com
7d1687c62f add freebsd support. 1998-12-11 04:03:33 +00:00
toshok%hungry.com
3358bcb0a5 allow building without jvmdi 1998-12-11 04:03:13 +00:00
toshok%hungry.com
93b9d0abc5 add FreeBSD support. 1998-12-11 04:01:07 +00:00
toshok%hungry.com
6d0004f661 cleanup 1998-12-11 04:00:52 +00:00
toshok%hungry.com
67caadc4ac always turn on BATCH_COMPILATION (ef won't build without it.) and allow building without jvmdi support. to enable jvmdi support, install the jvmdi.h file in ef/Debugger and setenv USE_JVMDI 1 1998-12-11 04:00:14 +00:00
toshok%hungry.com
97dd202bee add support for FreeBSD 1998-12-11 03:57:33 +00:00
toshok%hungry.com
81f4d465cf file needed for freebsd port. 1998-12-11 03:57:00 +00:00
toshok%hungry.com
2a63480ecc Fix the burm_STATE_LABEL thing, since the version of burg that I have (and that I assume we'll be using) doesn't use SET_STATE_LABEL - it makes assignments to STATE_LABEL. 1998-12-11 02:48:32 +00:00
toshok%hungry.com
4632333389 reorder member initialization to quiet warning. 1998-12-11 02:39:50 +00:00
toshok%hungry.com
f6170c6cc9 fix warnings by providing empty virtual destructors for classes that needed them, reordering initialization of member variables, and by giving the type uint to all the 'const nFooTypes;' variables. 1998-12-10 11:52:47 +00:00
toshok%hungry.com
3d232abecd do it right this time. 1998-12-10 11:27:43 +00:00
toshok%hungry.com
9bb45241da reverse initialization order to get around compiler warning. 1998-12-10 11:25:31 +00:00
toshok%hungry.com
bd37d4f912 remove trigraph 1998-12-10 11:17:47 +00:00
toshok%hungry.com
e2fe80efb2 add a special rule so that make doesn't attempt on successive builds to compile PrimitiveOperations from PrimitiveOperations.cpp 1998-12-10 11:03:29 +00:00
toshok%hungry.com
69e06fb0dd correct (rather serious) warning. 1998-12-10 10:51:45 +00:00
toshok%hungry.com
199b6771f3 add FREEBSD 1998-12-10 08:09:06 +00:00
toshok%hungry.com
eafa7c04cf trim down Makefile. 1998-12-10 08:07:31 +00:00
toshok%hungry.com
70133f558a get the Compiler/CodeGenerator/md stuff compiling 1998-12-10 08:06:25 +00:00
toshok%hungry.com
4b5613a052 the object files for EF are put in $(DIST)/modules/EF/ now. track this change. 1998-12-10 08:04:55 +00:00
toshok%hungry.com
55c31a1dbd remove the manifest.mn and rules.mk files, folding them into the Makefile. 1998-12-10 08:04:18 +00:00
toshok%hungry.com
3a68cd97d6 phew. ok. get the config stuff at least limping along. i've used freebsd for this, but linux ought to work as well (even the freebsd stuff isn't perfect yet.) 1998-12-10 08:03:50 +00:00
toshok%hungry.com
13a92f2be8 use the mkdepend from the normal mozilla tree. it's got more portability foo in it. 1998-12-10 08:02:59 +00:00
toshok%hungry.com
8918acfd22 fix a warning in generated code. 1998-12-10 07:59:47 +00:00
toshok%hungry.com
d3275a4eb0 add md stuff for freebsd. 1998-12-10 07:56:37 +00:00
toshok%hungry.com
cdd493b664 add the npl/copyright foo 1998-12-10 04:56:00 +00:00
fur%netscape.com
fbe8eaa043 Moved Win32 build instructions to mozilla.org 1998-12-09 05:57:20 +00:00
toshok%hungry.com
b417477d3c remove this stragler. 1998-12-05 01:37:01 +00:00
toshok%hungry.com
7518edbcda wrap -include with ifneq 1998-12-04 22:50:22 +00:00
toshok%hungry.com
b095244e66 get rid of the remaining manifest, rules.mk, and config.mk files. 1998-12-04 22:37:15 +00:00
fur%netscape.com
4ca5cf5fca Initial check-in of ElectricalFire, a Java JIT compiler. 1998-12-03 21:10:47 +00:00