170 Commits

Author SHA1 Message Date
fur%netscape.com
4744e211dd Added do-nothing stub for registerNatives().
git-svn-id: svn://10.0.0.236/trunk@18096 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:16:40 +00:00
fur%netscape.com
d0b03dc69c Implement doPrivileged() method in a trivial way, such that privileges are
not actually checked or set.


git-svn-id: svn://10.0.0.236/trunk@18095 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:15:55 +00:00
fur%netscape.com
f1d1b986ee Don't add a thread-id or a newline to each logfile output line, at least not
in the default case.


git-svn-id: svn://10.0.0.236/trunk@18094 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:12:46 +00:00
fur%netscape.com
5707f6d56d Ensure that log-file flushing occurs even if the default log file is being used.
git-svn-id: svn://10.0.0.236/trunk@18093 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:11:55 +00:00
fur%netscape.com
22c3cb9f47 Work in progress
git-svn-id: svn://10.0.0.236/trunk@17946 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 06:22:14 +00:00
fur%netscape.com
7f437ecbfe + 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.


git-svn-id: svn://10.0.0.236/trunk@16856 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:21:58 +00:00
fur%netscape.com
99d79a713c Flush HTML method dump file after writing it. Otherwise, the file is truncated
if EF dies while compiling.


git-svn-id: svn://10.0.0.236/trunk@16855 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:19:49 +00:00
fur%netscape.com
ca361d5346 Eliminate double declaration of variable
git-svn-id: svn://10.0.0.236/trunk@16854 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:15:57 +00:00
fur%netscape.com
d3c0cc39b7 Do classname-mangling correctly (or at least closer to correct, since
the code still does not handle unicode characters).


git-svn-id: svn://10.0.0.236/trunk@16853 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:15:07 +00:00
fur%netscape.com
2e24b50dbc Added stubs for missing native methods.
git-svn-id: svn://10.0.0.236/trunk@16852 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:14:13 +00:00
fur%netscape.com
347d867084 Closer to building packages again in the new mozilla world.
git-svn-id: svn://10.0.0.236/trunk@16851 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:12:59 +00:00
fur%netscape.com
cf06946888 Check-in rth's support for 64-bit arithmetic, with a few mods to make it build
on Win32.


git-svn-id: svn://10.0.0.236/trunk@16850 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:11:59 +00:00
fur%netscape.com
5cb83ab7ee 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.


git-svn-id: svn://10.0.0.236/trunk@16807 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 18:01:28 +00:00
fur%netscape.com
6fdf35b4ee Adding SportModel, Warren Harris' partially complete garbage collector
code for the ElectricalFire JIT.


git-svn-id: svn://10.0.0.236/trunk@16558 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 07:00:17 +00:00
fur%netscape.com
d6c51785c1 Added Todd Proebsting's BURG to the tree, now that it's in the public domain.
git-svn-id: svn://10.0.0.236/trunk@16557 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 06:36:50 +00:00
toshok%hungry.com
1716bebdaa (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.
git-svn-id: svn://10.0.0.236/trunk@16481 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:38:18 +00:00
toshok%hungry.com
9829ca641c clear up screw up in previous commit.
git-svn-id: svn://10.0.0.236/trunk@16478 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:30:14 +00:00
toshok%hungry.com
7bb90048a0 install shared libs in dist/ARCH/bin, not dist/ARCH/lib - following the same convention as the mozilla tree.
git-svn-id: svn://10.0.0.236/trunk@16477 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:28:17 +00:00
toshok%hungry.com
0344418064 build shared libs with CC instead of LD.
git-svn-id: svn://10.0.0.236/trunk@16476 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:26:49 +00:00
toshok%hungry.com
be3cf9b82e dist is not one directory higher than ef.
git-svn-id: svn://10.0.0.236/trunk@16473 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:13:05 +00:00
rth%cygnus.com
b6e23e71e1 Detect and handle overloaded methods.
git-svn-id: svn://10.0.0.236/trunk@16312 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 08:21:25 +00:00
rth%cygnus.com
3a6c1f822f Re-implement for your legal protection.
git-svn-id: svn://10.0.0.236/trunk@16311 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 08:20:30 +00:00
rth%cygnus.com
602715aa5d Add missing java class include files.
git-svn-id: svn://10.0.0.236/trunk@16310 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 08:18:07 +00:00
rth%cygnus.com
4ff48ea3da Insert directory entries into a SortedTree for searching.
git-svn-id: svn://10.0.0.236/trunk@16309 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 05:23:36 +00:00
rth%cygnus.com
c4a9714f3e (EF_LIBS): Add DebuggerChannel and EFDisassemble.
(JAVAH): Set LD_LIBRARY_PATH.


git-svn-id: svn://10.0.0.236/trunk@16308 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:10:43 +00:00
rth%cygnus.com
47a1d7b033 (MKSHLIB): Must use gcc, not ld, to create shared libraries w/ constructors.
(NSPR_THREAD_LIBS): New.


git-svn-id: svn://10.0.0.236/trunk@16307 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:09:28 +00:00
rth%cygnus.com
e4d95b9e00 (LIBRARY_NAME): Change to EFDisassemble.
git-svn-id: svn://10.0.0.236/trunk@16306 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:08:12 +00:00
rth%cygnus.com
b8c872a73d (DIRS): Wildcard on the cpu, so that processors that do not have
disassemblers can still build.


git-svn-id: svn://10.0.0.236/trunk@16305 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:07:44 +00:00
rth%cygnus.com
32c02678df Use local labels as needed.
git-svn-id: svn://10.0.0.236/trunk@16304 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:06:58 +00:00
rth%cygnus.com
8981c7a2bd (GetPassedException): Abort. The existing "mov ecx,E" thing can not work.
Plus it generated invalid assembly.


git-svn-id: svn://10.0.0.236/trunk@16303 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:06:26 +00:00
rth%cygnus.com
6b2df5a9e9 Streamline INLINE_GET_EBP.
Error if this file is used on anything except x86.


git-svn-id: svn://10.0.0.236/trunk@16302 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:04:01 +00:00
rth%cygnus.com
c103052793 ANSI C++ disallows reinterpret_cast between objects and functions.
git-svn-id: svn://10.0.0.236/trunk@16301 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:02:56 +00:00
rth%cygnus.com
812e904367 Make sure nsinstall gets built before make export tries to use it.
git-svn-id: svn://10.0.0.236/trunk@16300 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:02:05 +00:00
rth%cygnus.com
f857e60a6a The arch bits call for Linux{ver} not LinuxELF{ver}.
git-svn-id: svn://10.0.0.236/trunk@16267 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:49:27 +00:00
rth%cygnus.com
c5788fe90b Re-implement for your legal protection.
git-svn-id: svn://10.0.0.236/trunk@16266 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:37:20 +00:00
rth%cygnus.com
c3a25ce396 Use a proper sigcontext for Linux, just as is done for BSD.
git-svn-id: svn://10.0.0.236/trunk@16265 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:35:52 +00:00
rth%cygnus.com
eeae032cab Fix bogus gcc x86 asms.
git-svn-id: svn://10.0.0.236/trunk@16264 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:33:48 +00:00
toshok%hungry.com
72d49f0cd4 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.
git-svn-id: svn://10.0.0.236/trunk@16235 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:41:05 +00:00
toshok%hungry.com
ea272eaf71 anything greater than gcc 2.8 should have terminate already.
git-svn-id: svn://10.0.0.236/trunk@16234 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:10:21 +00:00
toshok%hungry.com
65aff93c06 XDisAsmTable.c is not included in the distribution (for licensing reasons.) don't reference it in the Makefile.
git-svn-id: svn://10.0.0.236/trunk@16233 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:04:19 +00:00
toshok%hungry.com
a34ea1260f add freebsd support.
git-svn-id: svn://10.0.0.236/trunk@16232 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:03:33 +00:00
toshok%hungry.com
0036e5a7c2 allow building without jvmdi
git-svn-id: svn://10.0.0.236/trunk@16231 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:03:13 +00:00
toshok%hungry.com
11e1103860 add FreeBSD support.
git-svn-id: svn://10.0.0.236/trunk@16230 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:01:07 +00:00
toshok%hungry.com
5eddfaefc6 cleanup
git-svn-id: svn://10.0.0.236/trunk@16229 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:00:52 +00:00
toshok%hungry.com
e0eda77346 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
git-svn-id: svn://10.0.0.236/trunk@16228 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:00:14 +00:00
toshok%hungry.com
e87e4810ec add support for FreeBSD
git-svn-id: svn://10.0.0.236/trunk@16227 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 03:57:33 +00:00
toshok%hungry.com
9961f53f40 file needed for freebsd port.
git-svn-id: svn://10.0.0.236/trunk@16226 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 03:57:00 +00:00
toshok%hungry.com
019795499b 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.
git-svn-id: svn://10.0.0.236/trunk@16216 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:48:32 +00:00
toshok%hungry.com
c3757648b3 reorder member initialization to quiet warning.
git-svn-id: svn://10.0.0.236/trunk@16210 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:39:50 +00:00
toshok%hungry.com
aef3a93e3a 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.
git-svn-id: svn://10.0.0.236/trunk@16148 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 11:52:47 +00:00