cacao.git
19 years agoThis commit was manufactured by cvs2svn to create tag
unknown [Thu, 23 Dec 2004 11:20:11 +0000 (11:20 +0000)]
This commit was manufactured by cvs2svn to create tag
'cacao-0_91-release'.

19 years agoChanged target to check.
twisti [Thu, 23 Dec 2004 11:20:11 +0000 (11:20 +0000)]
Changed target to check.

19 years ago- typo
twisti [Thu, 23 Dec 2004 11:19:44 +0000 (11:19 +0000)]
- typo
- added native to subdirs

19 years agoextest_clinit removed.
twisti [Wed, 22 Dec 2004 15:35:54 +0000 (15:35 +0000)]
extest_clinit removed.

19 years agoRelease 0.91, -O2.
twisti [Wed, 22 Dec 2004 14:56:34 +0000 (14:56 +0000)]
Release 0.91, -O2.

19 years agoAdded stub size InternalError.
twisti [Wed, 22 Dec 2004 14:50:00 +0000 (14:50 +0000)]
Added stub size InternalError.

19 years agoDARWIN compilation fix.
twisti [Wed, 22 Dec 2004 13:17:24 +0000 (13:17 +0000)]
DARWIN compilation fix.

19 years ago#include "mm/boehm.h"
twisti [Wed, 22 Dec 2004 12:52:24 +0000 (12:52 +0000)]
#include "mm/boehm.h"

19 years agoUse montiorenter/exit only with threads.
twisti [Wed, 22 Dec 2004 12:37:58 +0000 (12:37 +0000)]
Use montiorenter/exit only with threads.

19 years ago- 3 different clinit classes, because an ExceptionInInitializerError causes
twisti [Wed, 22 Dec 2004 12:31:07 +0000 (12:31 +0000)]
- 3 different clinit classes, because an ExceptionInInitializerError causes
  the class to be undefined

19 years agoNow in extest.java.
twisti [Wed, 22 Dec 2004 12:29:25 +0000 (12:29 +0000)]
Now in extest.java.

19 years agoUse monitorenter/exit only with threads.
twisti [Wed, 22 Dec 2004 12:21:38 +0000 (12:21 +0000)]
Use monitorenter/exit only with threads.

19 years ago- use monitorenter/exit only with threads
twisti [Wed, 22 Dec 2004 11:07:18 +0000 (11:07 +0000)]
- use monitorenter/exit only with threads
- declare: asm_calljavafunction2int and asm_calljavafunction2float

19 years ago- use monitorenter/exit only with threads
twisti [Wed, 22 Dec 2004 10:49:35 +0000 (10:49 +0000)]
- use monitorenter/exit only with threads
- some darwin defines

19 years agoQuick hack: #ifdef USE_THREADS cacao_catch_Handler's code.
twisti [Wed, 22 Dec 2004 10:48:27 +0000 (10:48 +0000)]
Quick hack: #ifdef USE_THREADS cacao_catch_Handler's code.

19 years agoUse monitorenter/exit only with threads.
twisti [Wed, 22 Dec 2004 10:47:13 +0000 (10:47 +0000)]
Use monitorenter/exit only with threads.

19 years agoMULTIANEWARRAY bugfix.
twisti [Wed, 22 Dec 2004 10:13:01 +0000 (10:13 +0000)]
MULTIANEWARRAY bugfix.

19 years ago- MULTIANEWARRAY bugfix
twisti [Wed, 22 Dec 2004 09:54:48 +0000 (09:54 +0000)]
- MULTIANEWARRAY bugfix
- added unknown ICMD exception
- warning fixes

19 years ago- MULTIANEWARRAY bugfix
twisti [Wed, 22 Dec 2004 09:35:31 +0000 (09:35 +0000)]
- MULTIANEWARRAY bugfix
- warning fixes

19 years agoless warnings and C90 compile fix
jowenn [Wed, 22 Dec 2004 09:27:58 +0000 (09:27 +0000)]
less warnings and C90 compile fix

19 years agoone useless debug output less
jowenn [Tue, 21 Dec 2004 20:35:54 +0000 (20:35 +0000)]
one useless debug output less

19 years agodon't terminate with "method not found" during compile time Exceptions, jit_compile...
jowenn [Tue, 21 Dec 2004 20:19:19 +0000 (20:19 +0000)]
don't terminate with "method not found" during compile time Exceptions, jit_compile returns now the native stub if it is called with a native function (JNI), 2 additinal static initializer tests

19 years agowrong comment end
jowenn [Tue, 21 Dec 2004 16:54:26 +0000 (16:54 +0000)]
wrong comment end

19 years agoAdded a native function, which is not implemented.
twisti [Tue, 21 Dec 2004 16:53:37 +0000 (16:53 +0000)]
Added a native function, which is not implemented.

19 years ago- test for clinit exceptions in PUTSTATIC and GETSTATIC
twisti [Tue, 21 Dec 2004 16:52:37 +0000 (16:52 +0000)]
- test for clinit exceptions in PUTSTATIC and GETSTATIC
- test for exceptions in native stub

19 years ago- restuctured native stub
twisti [Tue, 21 Dec 2004 16:50:02 +0000 (16:50 +0000)]
- restuctured native stub
- throw exception if stubsize is too small for generated instructions

19 years agoOutput of check, i think ;-)
twisti [Tue, 21 Dec 2004 16:32:46 +0000 (16:32 +0000)]
Output of check, i think ;-)

19 years agokjc runs again. verbose typechecking partly
jowenn [Tue, 21 Dec 2004 15:15:26 +0000 (15:15 +0000)]
kjc runs again. verbose typechecking partly

19 years agojvm98 should work again.
twisti [Tue, 21 Dec 2004 14:10:20 +0000 (14:10 +0000)]
jvm98 should work again.

19 years agoDeclare functions with (void).
twisti [Tue, 21 Dec 2004 10:14:35 +0000 (10:14 +0000)]
Declare functions with (void).

19 years ago- removed pthread/semaphore includes
twisti [Tue, 21 Dec 2004 10:13:27 +0000 (10:13 +0000)]
- removed pthread/semaphore includes
- declare functions with (void)

19 years agoglobal.h include path fix.
twisti [Tue, 21 Dec 2004 10:12:44 +0000 (10:12 +0000)]
global.h include path fix.

19 years ago#include <pthread.h>
twisti [Tue, 21 Dec 2004 10:11:23 +0000 (10:11 +0000)]
#include <pthread.h>

19 years agoFixed function call.
twisti [Tue, 21 Dec 2004 10:09:08 +0000 (10:09 +0000)]
Fixed function call.

19 years ago- declare functions with (void)
twisti [Tue, 21 Dec 2004 10:08:06 +0000 (10:08 +0000)]
- declare functions with (void)
- fixed function calls

19 years ago- check more precise for $host_cpu (e.g. problems with powerpc64)
twisti [Tue, 21 Dec 2004 09:58:17 +0000 (09:58 +0000)]
- check more precise for $host_cpu (e.g. problems with powerpc64)
- move INSTALL_PREFIX into config.h

19 years ago- fixed MULTIANEWARRAY SAVEDVAR bug
twisti [Tue, 21 Dec 2004 09:56:58 +0000 (09:56 +0000)]
- fixed MULTIANEWARRAY SAVEDVAR bug
- increased MCODECHECK in exception stubs
- smaller changes

19 years agoRemoved logging from init_systemclassloader.
twisti [Tue, 21 Dec 2004 09:55:33 +0000 (09:55 +0000)]
Removed logging from init_systemclassloader.

19 years ago- throw exception with name in GetMethodID and GetStaticMethodID
twisti [Tue, 21 Dec 2004 09:51:19 +0000 (09:51 +0000)]
- throw exception with name in GetMethodID and GetStaticMethodID
- removed logging

19 years agoAdded gnu_java_awt_peer_gtk_GdkFontPeer.h to CLEANFILES.
twisti [Tue, 21 Dec 2004 09:37:22 +0000 (09:37 +0000)]
Added gnu_java_awt_peer_gtk_GdkFontPeer.h to CLEANFILES.

19 years agoThis one is generated.
twisti [Tue, 21 Dec 2004 09:36:57 +0000 (09:36 +0000)]
This one is generated.

19 years ago- added gnu header and emacs tailer
twisti [Tue, 21 Dec 2004 09:35:27 +0000 (09:35 +0000)]
- added gnu header and emacs tailer
- sorted awt classes

19 years agoAdded awt includes to CLEANFILES.
twisti [Tue, 21 Dec 2004 09:15:09 +0000 (09:15 +0000)]
Added awt includes to CLEANFILES.

19 years agoWarning fixes.
twisti [Tue, 21 Dec 2004 09:13:53 +0000 (09:13 +0000)]
Warning fixes.

19 years agofix dummy macro for !(i386 || alpha)
jowenn [Tue, 21 Dec 2004 07:46:58 +0000 (07:46 +0000)]
fix dummy macro for !(i386 || alpha)

19 years ago#ifdef GC_darwin_register_mach_handler_thread in GC_DARWIN_THREADS.
twisti [Mon, 20 Dec 2004 22:21:06 +0000 (22:21 +0000)]
#ifdef GC_darwin_register_mach_handler_thread in GC_DARWIN_THREADS.

19 years ago- removed i386 method_uses_ stuff
twisti [Mon, 20 Dec 2004 21:05:31 +0000 (21:05 +0000)]
- removed i386 method_uses_ stuff
- builtin{1,2} warning fixes
- replace intreg_argnum with INT_ARG_CNT

19 years agoRemoved i386 method_uses_ stuff.
twisti [Mon, 20 Dec 2004 21:04:08 +0000 (21:04 +0000)]
Removed i386 method_uses_ stuff.

19 years agogenerate package names correctly, now they are not allways (utf*)0. Adds a new crash...
jowenn [Mon, 20 Dec 2004 20:16:57 +0000 (20:16 +0000)]
generate package names correctly, now they are not allways (utf*)0. Adds a new crash in the typechecking code. The package checks there have to be redone. Now fixed to not crash, but the check is useless currently. Now IllegalAccessException is thrown, if a not accessible field (currently only read (will fix set operations tomorrow)) is being accessed via reflection. method invokation does the check too. If a reflected methodID represents an abstract method or the class it belongs to is an interface, the virtual method is now resolved and called instead.

19 years agoone additional condition which should throw an array index out of bounds, instead...
jowenn [Sun, 19 Dec 2004 17:39:01 +0000 (17:39 +0000)]
one additional condition which should throw an array index out of bounds, instead of crashing. Less debug output. One additional test for crash compatibility with sun's vm

19 years agocalculate destination block offset correctly. Problem (segfault) was triggered in...
jowenn [Sun, 19 Dec 2004 12:40:24 +0000 (12:40 +0000)]
calculate destination block offset correctly. Problem (segfault) was triggered in jython 2.1 in the loadFromPath method

19 years ago1) disable the is leaf check for i386, where there is no problem
jowenn [Fri, 17 Dec 2004 23:05:27 +0000 (23:05 +0000)]
1) disable the is leaf check for i386, where there is no problem
2) classes which are used as objects should really be linked
3) fix fill_callblock_objA to handle references and arrays correctly
(1 detected through mauve test suite. This will have to be fixed for the Alpha architecture, where  the ret address for leaf methods is not stored on the stack)
(2+3 prevented jython from starting. Right now a hello world works, but there are other problems I have to hunt down)

19 years ago- fixed function comments
twisti [Fri, 17 Dec 2004 14:30:32 +0000 (14:30 +0000)]
- fixed function comments
- removed log output

19 years agoCheck MULTIANEWARRAY SAVEDVAR copy code.
twisti [Fri, 17 Dec 2004 12:30:34 +0000 (12:30 +0000)]
Check MULTIANEWARRAY SAVEDVAR copy code.

19 years agoadd check for lr != null to threadHoldsLock
motse [Thu, 16 Dec 2004 22:13:10 +0000 (22:13 +0000)]
add check for lr != null to threadHoldsLock

19 years agodisable gthread-jni's portable native sync due to yet unresolved threading issues
motse [Thu, 16 Dec 2004 16:46:57 +0000 (16:46 +0000)]
disable gthread-jni's portable native sync due to yet unresolved threading issues

19 years agoadd gnu_java_awt_peer_gtk_GdkFontPeer.h to nativetable.inc
motse [Thu, 16 Dec 2004 14:40:58 +0000 (14:40 +0000)]
add gnu_java_awt_peer_gtk_GdkFontPeer.h to nativetable.inc

19 years agoit should not be IllegalArgumentException, but IllegalAccessException, but that check...
jowenn [Wed, 15 Dec 2004 17:25:04 +0000 (17:25 +0000)]
it should not be IllegalArgumentException, but IllegalAccessException, but that check looks wrong anyway. I have to look more into the the topic of handling the IllegalArgumentException, so this is commented out again for now

19 years agothrow the required acceptions in the Field.getXYZ natives, support for static fields...
jowenn [Wed, 15 Dec 2004 16:21:20 +0000 (16:21 +0000)]
throw the required acceptions in the Field.getXYZ natives, support for static fields in reflection. add missing use_class_as_object call

19 years agopowerpc-linux changes.
twisti [Wed, 15 Dec 2004 16:14:57 +0000 (16:14 +0000)]
powerpc-linux changes.

19 years ago#ifdef the cacao_catch_Handler to __DARWIN__.
twisti [Wed, 15 Dec 2004 15:55:32 +0000 (15:55 +0000)]
#ifdef the cacao_catch_Handler to __DARWIN__.

19 years agoUse dynamic buffer in log_message_class and log_message_method to prevent
twisti [Wed, 15 Dec 2004 15:48:43 +0000 (15:48 +0000)]
Use dynamic buffer in log_message_class and log_message_method to prevent
buffer overflows.

19 years ago- use bl instead of lwz-mtctr-bctrl sequence
twisti [Wed, 15 Dec 2004 12:57:23 +0000 (12:57 +0000)]
- use bl instead of lwz-mtctr-bctrl sequence
- removed _ from symbols and added defines for darwin (still to decide how
  to check for darwin assembler)

19 years agoCalculate regoff for float ARGVAR's correcly.
twisti [Tue, 14 Dec 2004 13:16:11 +0000 (13:16 +0000)]
Calculate regoff for float ARGVAR's correcly.

19 years agoFixed x86_64 argument passing typo.
twisti [Tue, 14 Dec 2004 13:14:40 +0000 (13:14 +0000)]
Fixed x86_64 argument passing typo.

19 years agoFixed argument passing in native stub, testarguments now works properly.
twisti [Mon, 13 Dec 2004 16:58:37 +0000 (16:58 +0000)]
Fixed argument passing in native stub, testarguments now works properly.

19 years ago- more checks
twisti [Mon, 13 Dec 2004 10:09:35 +0000 (10:09 +0000)]
- more checks
- gnu header

19 years ago- call builtin_trace_args (runverbose) after monitorenter, to get a proper
twisti [Mon, 13 Dec 2004 08:44:56 +0000 (08:44 +0000)]
- call builtin_trace_args (runverbose) after monitorenter, to get a proper
  calltrace with threads
- nativestub changes: fixed stub size (throw an exception we the sub is too
  small)

19 years ago- much indent (sorry)
twisti [Mon, 13 Dec 2004 08:41:33 +0000 (08:41 +0000)]
- much indent (sorry)
- asm_calljavafunction2 argument copy bugfix

19 years agoChanged x86_64 abi back to 8 float argument registers.
twisti [Mon, 13 Dec 2004 08:40:16 +0000 (08:40 +0000)]
Changed x86_64 abi back to 8 float argument registers.

19 years agoDon't export loadingtime and compilingtime (error with gcc-4.0).
twisti [Mon, 13 Dec 2004 08:28:10 +0000 (08:28 +0000)]
Don't export loadingtime and compilingtime (error with gcc-4.0).

19 years agoInclude paths fixed.
twisti [Mon, 13 Dec 2004 08:27:03 +0000 (08:27 +0000)]
Include paths fixed.

19 years agoinlining of parameters fixed
carolyn [Fri, 10 Dec 2004 23:21:03 +0000 (23:21 +0000)]
inlining of parameters fixed

19 years agoAdded forgotten ansidecl.h.
twisti [Fri, 10 Dec 2004 13:53:36 +0000 (13:53 +0000)]
Added forgotten ansidecl.h.

19 years ago- back to -O0 till next release
twisti [Fri, 10 Dec 2004 13:11:17 +0000 (13:11 +0000)]
- back to -O0 till next release
- added tests/native/Makefile

19 years agoMore generic version, more tests.
twisti [Fri, 10 Dec 2004 13:10:29 +0000 (13:10 +0000)]
More generic version, more tests.

19 years agoAdded src/ to paths.
twisti [Thu, 9 Dec 2004 14:20:12 +0000 (14:20 +0000)]
Added src/ to paths.

19 years ago- fixed -verbosecall crash (too small stub size)
twisti [Thu, 9 Dec 2004 14:07:22 +0000 (14:07 +0000)]
- fixed -verbosecall crash (too small stub size)
- warning fixes
- code cleanup + indent

19 years agoUpdates for parseRT with Threads / debug moved to parseRTprint.h for readablity ...
carolyn [Thu, 9 Dec 2004 10:17:12 +0000 (10:17 +0000)]
Updates for parseRT with Threads / debug moved to parseRTprint.h for readablity / get rid of warnings in inline.c

19 years ago- back in the gtk hack again
twisti [Wed, 8 Dec 2004 19:24:05 +0000 (19:24 +0000)]
- back in the gtk hack again
- bugfix for dummynativetable and gcc-3.4

19 years agoLDADD reordered. Did not work with no threads.
twisti [Wed, 8 Dec 2004 19:22:59 +0000 (19:22 +0000)]
LDADD reordered. Did not work with no threads.

19 years agoExtra dist gtk files.
twisti [Wed, 8 Dec 2004 16:38:48 +0000 (16:38 +0000)]
Extra dist gtk files.

19 years agoAdded classes.am to nativetable.inc dependencies.
twisti [Wed, 8 Dec 2004 16:38:25 +0000 (16:38 +0000)]
Added classes.am to nativetable.inc dependencies.

19 years agoremove quick hack includes to Gtk*Peer.c from native.c
motse [Wed, 8 Dec 2004 11:01:19 +0000 (11:01 +0000)]
remove quick hack includes to Gtk*Peer.c from native.c

19 years agoDefine optimization and debug flags at one place.
twisti [Wed, 8 Dec 2004 00:02:22 +0000 (00:02 +0000)]
Define optimization and debug flags at one place.

19 years agoDepend on offsets.h on genoffsets (breaks make dist).
twisti [Tue, 7 Dec 2004 17:31:44 +0000 (17:31 +0000)]
Depend on offsets.h on genoffsets (breaks make dist).

19 years agohistory updated till 2004/12/07
cacao [Tue, 7 Dec 2004 16:34:19 +0000 (16:34 +0000)]
history updated till 2004/12/07

19 years agoGNU header update.
twisti [Tue, 7 Dec 2004 14:33:27 +0000 (14:33 +0000)]
GNU header update.

19 years agominor changes
cacao [Tue, 7 Dec 2004 13:51:57 +0000 (13:51 +0000)]
minor changes

19 years agoAdded extest_clinit.java
twisti [Tue, 7 Dec 2004 12:41:18 +0000 (12:41 +0000)]
Added extest_clinit.java

19 years agoUpdate.
twisti [Tue, 7 Dec 2004 12:34:57 +0000 (12:34 +0000)]
Update.

19 years agoCFLAGS for irix mipspro and gcc compiler (gcc does not work yet).
twisti [Tue, 7 Dec 2004 12:08:45 +0000 (12:08 +0000)]
CFLAGS for irix mipspro and gcc compiler (gcc does not work yet).

19 years agoUpdated to GPL2.
twisti [Tue, 7 Dec 2004 11:27:01 +0000 (11:27 +0000)]
Updated to GPL2.

19 years agoFixed class not found warning bug with opt_verbose.
twisti [Tue, 7 Dec 2004 11:18:45 +0000 (11:18 +0000)]
Fixed class not found warning bug with opt_verbose.

19 years agoForce installation of link.
twisti [Tue, 7 Dec 2004 10:58:02 +0000 (10:58 +0000)]
Force installation of link.

19 years agoOk, the same with nativeCalls.
twisti [Tue, 7 Dec 2004 10:56:02 +0000 (10:56 +0000)]
Ok, the same with nativeCalls.

19 years agoUpdated to version gdb-6.2 (just to be up-to-date).
twisti [Tue, 7 Dec 2004 10:55:11 +0000 (10:55 +0000)]
Updated to version gdb-6.2 (just to be up-to-date).

19 years ago- build and clean offsets.h
twisti [Tue, 7 Dec 2004 10:51:15 +0000 (10:51 +0000)]
- build and clean offsets.h
- added symcat.h

19 years agoBuild and clean offsets.h.
twisti [Tue, 7 Dec 2004 10:42:04 +0000 (10:42 +0000)]
Build and clean offsets.h.

19 years ago#else is just i386, not a mips or powerpc.
twisti [Tue, 7 Dec 2004 10:38:51 +0000 (10:38 +0000)]
#else is just i386, not a mips or powerpc.