cacao.git
20 years agoCheck error(...) and .inc files
edwin [Sun, 14 Dec 2003 12:50:38 +0000 (12:50 +0000)]
Check error(...) and .inc files

20 years agoadded check for illegal opcode 186
edwin [Sun, 14 Dec 2003 12:24:02 +0000 (12:24 +0000)]
added check for illegal opcode 186

20 years agoGet rid of asm_javacallmethod
stefan [Sat, 13 Dec 2003 23:11:08 +0000 (23:11 +0000)]
Get rid of asm_javacallmethod

20 years agoMissing dependency added
stefan [Sat, 13 Dec 2003 23:08:38 +0000 (23:08 +0000)]
Missing dependency added

20 years ago- added gnu header, emacs tailer
twisti [Sat, 13 Dec 2003 23:04:49 +0000 (23:04 +0000)]
- added gnu header, emacs tailer
- code indent
- don't return NoClassDefFoundError in forName(), a ClassNotfoundException
  is expected

20 years ago- added i386 scratch register stuff
twisti [Sat, 13 Dec 2003 22:56:53 +0000 (22:56 +0000)]
- added i386 scratch register stuff
- code indent

20 years agoExport reg_setup
twisti [Sat, 13 Dec 2003 22:53:49 +0000 (22:53 +0000)]
Export reg_setup

20 years ago- most important: exchanged REG_ITMP2 and REG_ITMP3, because we try to use
twisti [Sat, 13 Dec 2003 22:52:32 +0000 (22:52 +0000)]
- most important: exchanged REG_ITMP2 and REG_ITMP3, because we try to use
  REG_ITMP3 as scratch register, if it's not used (right now, in the whole
  function, this will be changed)
- CALCOFFSETBYTES and CALCIMMEDIATEBYTES fixes

20 years agoWe do have SUPPORT_IFCVT and SUPPORT_FICVT.
twisti [Sat, 13 Dec 2003 22:49:18 +0000 (22:49 +0000)]
We do have SUPPORT_IFCVT and SUPPORT_FICVT.

20 years ago- warning fix
twisti [Sat, 13 Dec 2003 22:48:23 +0000 (22:48 +0000)]
- warning fix
- added a helper function

20 years ago- added gnu header and emacs tailer
twisti [Sat, 13 Dec 2003 22:47:44 +0000 (22:47 +0000)]
- added gnu header and emacs tailer
- changes in the nat handling code

20 years ago- changes reg_init
twisti [Sat, 13 Dec 2003 22:42:03 +0000 (22:42 +0000)]
- changes reg_init
- added reg_setup
- some i386 stuff

20 years ago- removed command line option variables
twisti [Sat, 13 Dec 2003 22:39:25 +0000 (22:39 +0000)]
- removed command line option variables
- some i386 stuff

20 years ago- usage of imm_union in struct instruction
twisti [Sat, 13 Dec 2003 22:38:03 +0000 (22:38 +0000)]
- usage of imm_union in struct instruction
- define some i386 stuff

20 years agoGet rid of asm_javacallmethod
stefan [Sat, 13 Dec 2003 22:36:08 +0000 (22:36 +0000)]
Get rid of asm_javacallmethod

20 years ago- made code more readable (this one is big!)
twisti [Sat, 13 Dec 2003 22:30:00 +0000 (22:30 +0000)]
- made code more readable (this one is big!)
- removed command line option variables

20 years agoRemoved command line option variables.
twisti [Sat, 13 Dec 2003 22:27:31 +0000 (22:27 +0000)]
Removed command line option variables.

20 years ago- added class_java_lang_NoClassDefFoundError
twisti [Sat, 13 Dec 2003 22:26:17 +0000 (22:26 +0000)]
- added class_java_lang_NoClassDefFoundError
- javastring_new and javastring_new_char return now java_lang_String* (i
  hope this works as expected)

20 years ago- added class_java_lang_NoClassDefFoundError
twisti [Sat, 13 Dec 2003 22:25:24 +0000 (22:25 +0000)]
- added class_java_lang_NoClassDefFoundError
- made code more readable
- javastring_new and javastring_new_char return now java_lang_String* (i
  hope this works as expected)

20 years agoRemoved some needless defines.
twisti [Sat, 13 Dec 2003 22:23:01 +0000 (22:23 +0000)]
Removed some needless defines.

20 years ago- made some code more readable
twisti [Sat, 13 Dec 2003 22:22:09 +0000 (22:22 +0000)]
- made some code more readable
- warning fix

20 years agoCan't remember, but made some compiling problems.
twisti [Sat, 13 Dec 2003 22:21:01 +0000 (22:21 +0000)]
Can't remember, but made some compiling problems.

20 years agoRemoved heap_addreference.
twisti [Sat, 13 Dec 2003 22:20:33 +0000 (22:20 +0000)]
Removed heap_addreference.

20 years agoJust in case, make getcputime return s8.
twisti [Sat, 13 Dec 2003 22:17:44 +0000 (22:17 +0000)]
Just in case, make getcputime return s8.

20 years agoDefine command line option variables.
twisti [Sat, 13 Dec 2003 22:14:42 +0000 (22:14 +0000)]
Define command line option variables.

20 years ago- put all command line option variables here
twisti [Sat, 13 Dec 2003 22:13:59 +0000 (22:13 +0000)]
- put all command line option variables here
- code beautify
- removed heap_addreference
- print better exceptions

20 years agoCode beautify.
twisti [Sat, 13 Dec 2003 22:10:17 +0000 (22:10 +0000)]
Code beautify.

20 years agoRemoved heap_addreference.
twisti [Sat, 13 Dec 2003 22:09:31 +0000 (22:09 +0000)]
Removed heap_addreference.

20 years ago- added command line option variables
twisti [Sat, 13 Dec 2003 22:05:02 +0000 (22:05 +0000)]
- added command line option variables
- throw_noclassdeffounderror_message

20 years agoNative threads
stefan [Sat, 13 Dec 2003 20:53:53 +0000 (20:53 +0000)]
Native threads

20 years agoNative threads
stefan [Sat, 13 Dec 2003 20:47:11 +0000 (20:47 +0000)]
Native threads

20 years agoNative threads
stefan [Sat, 13 Dec 2003 20:25:05 +0000 (20:25 +0000)]
Native threads

20 years agoMissing ifdef added
stefan [Sat, 13 Dec 2003 20:07:41 +0000 (20:07 +0000)]
Missing ifdef added

20 years agoFixed loader crash
stefan [Sat, 13 Dec 2003 19:57:12 +0000 (19:57 +0000)]
Fixed loader crash

20 years agoAdded GCFREE
stefan [Sat, 13 Dec 2003 18:52:21 +0000 (18:52 +0000)]
Added GCFREE

20 years agoAdded GCFREE
stefan [Sat, 13 Dec 2003 18:41:27 +0000 (18:41 +0000)]
Added GCFREE

20 years agoNative threads
stefan [Sat, 13 Dec 2003 18:19:19 +0000 (18:19 +0000)]
Native threads

20 years agoDon't rebuild everything all the time
stefan [Sat, 13 Dec 2003 15:52:46 +0000 (15:52 +0000)]
Don't rebuild everything all the time

20 years agoWe don't need that
stefan [Sat, 13 Dec 2003 15:47:47 +0000 (15:47 +0000)]
We don't need that

20 years agoAdded option to omit header file generation
stefan [Sat, 13 Dec 2003 12:39:47 +0000 (12:39 +0000)]
Added option to omit header file generation

20 years agoThis is still only C!
stefan [Fri, 12 Dec 2003 17:29:40 +0000 (17:29 +0000)]
This is still only C!

20 years agoDid not compile on alpha
stefan [Fri, 12 Dec 2003 17:23:15 +0000 (17:23 +0000)]
Did not compile on alpha

20 years ago*** empty log message ***
stefan [Fri, 12 Dec 2003 17:18:07 +0000 (17:18 +0000)]
*** empty log message ***

20 years agofixed loging crash caused by printf
edwin [Thu, 11 Dec 2003 21:23:31 +0000 (21:23 +0000)]
fixed loging crash caused by printf
made loging safer
added check_dangerous_printf.pl script

20 years agodo BasicToStrings automatically
edwin [Thu, 11 Dec 2003 11:43:57 +0000 (11:43 +0000)]
do BasicToStrings automatically

20 years agodocumented new builtin table
edwin [Thu, 11 Dec 2003 11:11:05 +0000 (11:11 +0000)]
documented new builtin table
made builtintablelen static again

20 years agochanged builtin table layout
edwin [Thu, 11 Dec 2003 10:52:40 +0000 (10:52 +0000)]
changed builtin table layout
typecheck for all builtins

20 years agodetect branches to middle of instruction
edwin [Wed, 10 Dec 2003 15:41:07 +0000 (15:41 +0000)]
detect branches to middle of instruction
detect WIDE followed by incompatible opcode
typechecks for builtin functions
typecheck statistics

20 years agoadded end-of-bytecode check
edwin [Wed, 10 Dec 2003 00:24:36 +0000 (00:24 +0000)]
added end-of-bytecode check
fixed stack-underflow check
added variable index check

20 years agoadded UTF-8 validation
edwin [Tue, 9 Dec 2003 18:56:11 +0000 (18:56 +0000)]
added UTF-8 validation
made descriptor parsing safer
added stack underflow checks
added end-of-file checks in loader.c
added detection for infinite linking loops
bugfixes
new functions: type_from_descriptor, loader_load_sysclass, class_fetchmethod

20 years agomade descriptor parsing safer + array classes fix
edwin [Mon, 8 Dec 2003 19:51:32 +0000 (19:51 +0000)]
made descriptor parsing safer + array classes fix

20 years agominor change in descriptor parsing macros
edwin [Mon, 8 Dec 2003 16:02:45 +0000 (16:02 +0000)]
minor change in descriptor parsing macros

20 years agominor change in descriptor parsing macros
edwin [Mon, 8 Dec 2003 15:46:56 +0000 (15:46 +0000)]
minor change in descriptor parsing macros

20 years agoadded #includes and emacs tailer
edwin [Mon, 8 Dec 2003 14:44:40 +0000 (14:44 +0000)]
added #includes and emacs tailer

20 years agoadded uninitialized object typecheck
edwin [Mon, 8 Dec 2003 14:26:05 +0000 (14:26 +0000)]
added uninitialized object typecheck

20 years agoarray out of memory fixlet, InvocationTargetException handling, less debug output...
jowenn [Mon, 8 Dec 2003 13:03:43 +0000 (13:03 +0000)]
array out of memory fixlet, InvocationTargetException handling, less debug output, removal of unneded code in the i386jit

20 years agoDefine immediate union.
twisti [Sun, 7 Dec 2003 22:02:19 +0000 (22:02 +0000)]
Define immediate union.

20 years ago- removed usage of native-math.h
twisti [Sun, 7 Dec 2003 21:59:12 +0000 (21:59 +0000)]
- removed usage of native-math.h
- code beautify

20 years agoNow defined in builtin.h
twisti [Sun, 7 Dec 2003 21:56:20 +0000 (21:56 +0000)]
Now defined in builtin.h

20 years agoimplemented helper function asmprintf
twisti [Sun, 7 Dec 2003 20:41:24 +0000 (20:41 +0000)]
implemented helper function asmprintf

20 years ago- added gnu header
twisti [Sun, 7 Dec 2003 20:40:43 +0000 (20:40 +0000)]
- added gnu header
- implemented asm_calljavafunction2
- usage of offclassvftbl in exception handling code
- implemented helper function asm_printf

20 years agouse again INT_ARG_CNT stuff
twisti [Sun, 7 Dec 2003 20:39:09 +0000 (20:39 +0000)]
use again INT_ARG_CNT stuff

20 years ago- reverted intreg_argnum back to INT_ARG_CNT
twisti [Sun, 7 Dec 2003 20:38:26 +0000 (20:38 +0000)]
- reverted intreg_argnum back to INT_ARG_CNT
- handling of more than 5 params in native stub

20 years agoAdded stdio.h include.
twisti [Sun, 7 Dec 2003 19:05:12 +0000 (19:05 +0000)]
Added stdio.h include.

20 years ago- added gnu header
twisti [Sun, 7 Dec 2003 17:32:46 +0000 (17:32 +0000)]
- added gnu header
- add some includes
- code beautify

20 years ago- added includes
twisti [Sun, 7 Dec 2003 17:31:28 +0000 (17:31 +0000)]
- added includes
- code beautify

20 years ago- added standard includes
twisti [Sun, 7 Dec 2003 17:29:08 +0000 (17:29 +0000)]
- added standard includes
- add emacs tailer

20 years ago- added stdio.h include
twisti [Sun, 7 Dec 2003 17:28:29 +0000 (17:28 +0000)]
- added stdio.h include
- changed header define to the cacao _standard_
- added emacs tailer

20 years agoAdded stdio.h include.
twisti [Sun, 7 Dec 2003 17:26:52 +0000 (17:26 +0000)]
Added stdio.h include.

20 years agoAdded standard includes, which are needed.
twisti [Sun, 7 Dec 2003 17:24:43 +0000 (17:24 +0000)]
Added standard includes, which are needed.

20 years agoNot needed anymore.
twisti [Sun, 7 Dec 2003 17:23:07 +0000 (17:23 +0000)]
Not needed anymore.

20 years agoRemoved standard defines.
twisti [Sun, 7 Dec 2003 17:20:56 +0000 (17:20 +0000)]
Removed standard defines.

20 years agominor loging changes
edwin [Sun, 7 Dec 2003 16:26:58 +0000 (16:26 +0000)]
minor loging changes

20 years agoadded loging functions, made kaffe tests run
edwin [Sun, 7 Dec 2003 15:54:28 +0000 (15:54 +0000)]
added loging functions, made kaffe tests run

20 years agosome typecheck fixes
edwin [Sun, 7 Dec 2003 14:45:12 +0000 (14:45 +0000)]
some typecheck fixes

20 years agoadded method invocation typecheck
edwin [Sun, 7 Dec 2003 13:42:47 +0000 (13:42 +0000)]
added method invocation typecheck

20 years agoadded exception handler typecheck + bugfix
edwin [Sun, 7 Dec 2003 12:45:27 +0000 (12:45 +0000)]
added exception handler typecheck + bugfix

20 years agoadded the typechecker (not yet complete)
edwin [Sat, 6 Dec 2003 20:10:05 +0000 (20:10 +0000)]
added the typechecker (not yet complete)

20 years agoTestcase for Method.toString and other basic to strings
jowenn [Fri, 5 Dec 2003 21:28:13 +0000 (21:28 +0000)]
Testcase for Method.toString and other basic to strings

20 years agofix for VMClass.getName + additional public static native String getBeautifiedName...
jowenn [Fri, 5 Dec 2003 21:27:04 +0000 (21:27 +0000)]
fix for VMClass.getName + additional public static native String getBeautifiedName(Class). For Constructor/Method.toString. Perhaps that should be done in java later on, or with an indirection through Class.getBeautifiedName or something like that

20 years ago1) fix for getDeclaredClass(publiconly=true) returning protected classes
jowenn [Fri, 5 Dec 2003 19:00:58 +0000 (19:00 +0000)]
1) fix for getDeclaredClass(publiconly=true) returning protected classes
2) hiding <init> and <clinit> from getDeclaredMethods
3) don't derive primitive types from Object
4) hide the clone method of array classes in getDeclaredMethods

20 years agoThis is C
stefan [Fri, 5 Dec 2003 18:17:43 +0000 (18:17 +0000)]
This is C

20 years agoMade loging thread-safe
stefan [Fri, 5 Dec 2003 18:17:22 +0000 (18:17 +0000)]
Made loging thread-safe

20 years agoSanitized labels (somewhat)
stefan [Fri, 5 Dec 2003 18:16:26 +0000 (18:16 +0000)]
Sanitized labels (somewhat)

20 years agoMade loging thread-safe
stefan [Fri, 5 Dec 2003 18:03:47 +0000 (18:03 +0000)]
Made loging thread-safe

20 years agoMake exceptions thrown from bytecode back to native code work again
jowenn [Thu, 4 Dec 2003 23:50:25 +0000 (23:50 +0000)]
Make exceptions thrown from bytecode  back to native code work again

20 years agopreparations for the typechecker
edwin [Thu, 4 Dec 2003 22:29:54 +0000 (22:29 +0000)]
preparations for the typechecker

20 years agoThis is C
stefan [Thu, 4 Dec 2003 11:35:11 +0000 (11:35 +0000)]
This is C

20 years agoone bug less related to class/exception handing and use_class_as_object. Thanks to...
jowenn [Thu, 4 Dec 2003 01:25:54 +0000 (01:25 +0000)]
one bug less related to class/exception handing and use_class_as_object. Thanks to twisti for tracking it down. More standard compliant handling of errors during Method.invoke

20 years agoForgot to add GNU headers, here they are.
twisti [Tue, 2 Dec 2003 16:50:17 +0000 (16:50 +0000)]
Forgot to add GNU headers, here they are.

20 years agoadditional headers
jowenn [Mon, 1 Dec 2003 15:34:29 +0000 (15:34 +0000)]
additional headers

20 years agoreflection, loader fix (before it did offer an unloaded (not found) class as loaded...
jowenn [Mon, 1 Dec 2003 15:33:30 +0000 (15:33 +0000)]
reflection, loader fix (before it did offer an unloaded (not found) class as loaded if it has been requested a second time. jni modifications, classinfo structures are now created with GCNEW, fix for arrays with size <0

20 years agotry fixing alpha
jowenn [Tue, 25 Nov 2003 23:39:46 +0000 (23:39 +0000)]
try fixing alpha

20 years agoAlso compile without zlib.
twisti [Mon, 24 Nov 2003 23:12:29 +0000 (23:12 +0000)]
Also compile without zlib.

20 years agoThere is no -ieee switch anymore.
twisti [Mon, 24 Nov 2003 22:44:47 +0000 (22:44 +0000)]
There is no -ieee switch anymore.

20 years agoAlways changed, too annoying.
twisti [Mon, 24 Nov 2003 22:22:04 +0000 (22:22 +0000)]
Always changed, too annoying.

20 years agoLink cacao with nat/libnat.a and jni.o
twisti [Mon, 24 Nov 2003 20:55:42 +0000 (20:55 +0000)]
Link cacao with nat/libnat.a and jni.o

20 years ago- build a libnat.a
twisti [Mon, 24 Nov 2003 20:50:23 +0000 (20:50 +0000)]
- build a libnat.a
- build jni himself
- generate #ifndef -- #define in nat/*.h files

20 years ago- we now build a libnat.a
twisti [Mon, 24 Nov 2003 20:48:41 +0000 (20:48 +0000)]
- we now build a libnat.a
- #ifndef + #define in header files are generated

20 years agoAlways changed, too annoying.
twisti [Sun, 23 Nov 2003 22:56:10 +0000 (22:56 +0000)]
Always changed, too annoying.