cacao.git
19 years agoDon't use fixed buffer length for log_message_class and log_message_method
twisti [Wed, 30 Mar 2005 09:49:41 +0000 (09:49 +0000)]
Don't use fixed buffer length for log_message_class and log_message_method
(todo: change other functions too).

19 years agoReplaced class_load with class_load_extern (this is not finished yet).
twisti [Tue, 29 Mar 2005 22:46:05 +0000 (22:46 +0000)]
Replaced class_load with class_load_extern (this is not finished yet).

19 years ago- added linker_init() call
twisti [Tue, 29 Mar 2005 22:34:19 +0000 (22:34 +0000)]
- added linker_init() call
- check for exceptions in _init() calls

19 years agoAdded additional files.
twisti [Tue, 29 Mar 2005 22:30:51 +0000 (22:30 +0000)]
Added additional files.

19 years agoAdded header includes: field, method
twisti [Tue, 29 Mar 2005 22:27:08 +0000 (22:27 +0000)]
Added header includes: field, method

19 years agoChanged header includes.
twisti [Tue, 29 Mar 2005 22:25:59 +0000 (22:25 +0000)]
Changed header includes.

19 years agoAdded get_variable_message_length: this function determines the buffer size
twisti [Tue, 29 Mar 2005 22:24:34 +0000 (22:24 +0000)]
Added get_variable_message_length: this function determines the buffer size
required by e.g. vnsprintf

19 years ago- changes header includes
twisti [Tue, 29 Mar 2005 22:21:46 +0000 (22:21 +0000)]
- changes header includes
- use cacao types instead of jni ones

19 years ago- added header includes
twisti [Tue, 29 Mar 2005 22:20:49 +0000 (22:20 +0000)]
- added header includes
- moved function prototypes from jit.h: createcompilerstub,
  createnativestub, removecompilerstub, removenativestub

19 years ago- added header includes
twisti [Tue, 29 Mar 2005 22:18:30 +0000 (22:18 +0000)]
- added header includes
- moved function prototypes to codegen.inc.h: createcompilerstub,
  createnativestub, removecompilerstub, removenativestub

19 years agoMoved stuff from global.h
twisti [Tue, 29 Mar 2005 22:12:32 +0000 (22:12 +0000)]
Moved stuff from global.h

19 years agoInclude proper header files.
twisti [Tue, 29 Mar 2005 22:12:06 +0000 (22:12 +0000)]
Include proper header files.

19 years ago- added constant_classref typedef
twisti [Tue, 29 Mar 2005 22:09:53 +0000 (22:09 +0000)]
- added constant_classref typedef
- removed unused extern

19 years agoMoved a lot of stuff to seperate files.
twisti [Tue, 29 Mar 2005 22:00:33 +0000 (22:00 +0000)]
Moved a lot of stuff to seperate files.

19 years agoMoved stuff from global.h
twisti [Tue, 29 Mar 2005 21:57:13 +0000 (21:57 +0000)]
Moved stuff from global.h

19 years agoMoved stuff from loader.c
twisti [Tue, 29 Mar 2005 21:56:01 +0000 (21:56 +0000)]
Moved stuff from loader.c

19 years agoInclude proper header files.
twisti [Tue, 29 Mar 2005 21:55:30 +0000 (21:55 +0000)]
Include proper header files.

19 years ago- added header include
twisti [Tue, 29 Mar 2005 21:50:12 +0000 (21:50 +0000)]
- added header include
- define BUILTIN_anewarray

19 years agoRemoved SIZE_FROM_CLASSINFO stuff (i think we don't need this anymore,
twisti [Tue, 29 Mar 2005 21:49:41 +0000 (21:49 +0000)]
Removed SIZE_FROM_CLASSINFO stuff (i think we don't need this anymore,
because we now use boehm as gc).

19 years ago- moved stuff from global.h
twisti [Tue, 29 Mar 2005 21:42:33 +0000 (21:42 +0000)]
- moved stuff from global.h
- added proper header includes

19 years agoInclude new proper header files.
twisti [Tue, 29 Mar 2005 21:36:28 +0000 (21:36 +0000)]
Include new proper header files.

19 years agoMoved stuff from global.h
twisti [Tue, 29 Mar 2005 21:29:08 +0000 (21:29 +0000)]
Moved stuff from global.h

19 years agoInclude new proper header files.
twisti [Tue, 29 Mar 2005 21:28:24 +0000 (21:28 +0000)]
Include new proper header files.

19 years agoGlobal variables comment.
twisti [Tue, 29 Mar 2005 21:25:51 +0000 (21:25 +0000)]
Global variables comment.

19 years ago- added utf_strcat
twisti [Tue, 29 Mar 2005 16:46:00 +0000 (16:46 +0000)]
- added utf_strcat
- added utf structure (from global.h)

19 years agoAdded: utf_strcat
twisti [Tue, 29 Mar 2005 16:45:35 +0000 (16:45 +0000)]
Added: utf_strcat

19 years agoChanged some includes.
twisti [Mon, 28 Mar 2005 22:44:28 +0000 (22:44 +0000)]
Changed some includes.

19 years agoAdded: xtainfo, xtafldinfo structures
twisti [Mon, 28 Mar 2005 22:44:17 +0000 (22:44 +0000)]
Added: xtainfo, xtafldinfo structures

19 years agoMoved stuff from other headers (global.h, loader.h).
twisti [Mon, 28 Mar 2005 22:35:02 +0000 (22:35 +0000)]
Moved stuff from other headers (global.h, loader.h).

19 years agoAdded: class_freecpool, class_free
twisti [Mon, 28 Mar 2005 22:34:15 +0000 (22:34 +0000)]
Added: class_freecpool, class_free

19 years agobugfix in saving rcx for lshl
christian [Mon, 28 Mar 2005 22:12:23 +0000 (22:12 +0000)]
bugfix in saving rcx for lshl

19 years agoInclude linker.h instead of loader.h.
twisti [Mon, 28 Mar 2005 22:09:35 +0000 (22:09 +0000)]
Include linker.h instead of loader.h.

19 years agoLinker related stuff (mostly from loader.c/global.h).
twisti [Mon, 28 Mar 2005 21:59:45 +0000 (21:59 +0000)]
Linker related stuff (mostly from loader.c/global.h).

19 years agoMethod related stuff (mostly from loader.c/global.h).
twisti [Mon, 28 Mar 2005 21:57:23 +0000 (21:57 +0000)]
Method related stuff (mostly from loader.c/global.h).

19 years agoField related stuff (mostly from loader.c/global.h).
twisti [Mon, 28 Mar 2005 21:56:52 +0000 (21:56 +0000)]
Field related stuff (mostly from loader.c/global.h).

19 years agoinitialize and free classcache
edwin [Sun, 27 Mar 2005 19:00:02 +0000 (19:00 +0000)]
initialize and free classcache

19 years agomade array_packagename harder to spoof
edwin [Sun, 27 Mar 2005 18:59:15 +0000 (18:59 +0000)]
made array_packagename harder to spoof

19 years agocheck defining classloader in SAME_PACKAGE
edwin [Sun, 27 Mar 2005 18:57:00 +0000 (18:57 +0000)]
check defining classloader in SAME_PACKAGE

19 years agomoved CLASS_IS_ARRAY to vm/jit/verify/typeinfo.c
edwin [Sun, 27 Mar 2005 15:38:49 +0000 (15:38 +0000)]
moved CLASS_IS_ARRAY to vm/jit/verify/typeinfo.c

19 years agoadded macro CLASSREF_INIT
edwin [Sun, 27 Mar 2005 15:17:46 +0000 (15:17 +0000)]
added macro CLASSREF_INIT

19 years agoadded functions for dynamically creating classrefs
edwin [Sun, 27 Mar 2005 15:16:57 +0000 (15:16 +0000)]
added functions for dynamically creating classrefs
added macro CLASSREF_INIT

19 years agomoved typecheckverbose flag to jit/verify/typeinfo.h
edwin [Sun, 27 Mar 2005 15:15:50 +0000 (15:15 +0000)]
moved typecheckverbose flag to jit/verify/typeinfo.h

19 years agoadded functions for dynamically creating class references
edwin [Sun, 27 Mar 2005 14:49:48 +0000 (14:49 +0000)]
added functions for dynamically creating class references

19 years agoadded paramslots field in methoddesc
edwin [Sun, 27 Mar 2005 14:43:25 +0000 (14:43 +0000)]
added paramslots field in methoddesc

19 years agoadded some fields for parsed descriptors
edwin [Sun, 27 Mar 2005 14:41:38 +0000 (14:41 +0000)]
added some fields for parsed descriptors
removed typecheck configuration macros from global.h

19 years agomoved the check for classinfo->linked
edwin [Fri, 25 Mar 2005 20:15:05 +0000 (20:15 +0000)]
moved the check for classinfo->linked

19 years agodocumentation updates for the coming changes
edwin [Fri, 25 Mar 2005 20:14:29 +0000 (20:14 +0000)]
documentation updates for the coming changes

19 years agoadded functions for freeing memory
edwin [Fri, 25 Mar 2005 17:12:35 +0000 (17:12 +0000)]
added functions for freeing memory

19 years ago- added asm_calljavafunction_int (for calls which require an int return
twisti [Fri, 25 Mar 2005 15:54:09 +0000 (15:54 +0000)]
- added asm_calljavafunction_int (for calls which require an int return
  value).
- stack align fix, problems with -sai (you know, this movaps instruction in
  libc's printf)

19 years agocheck if classnames are valid
edwin [Fri, 25 Mar 2005 15:13:45 +0000 (15:13 +0000)]
check if classnames are valid

19 years agofix merging of classcache_class_entry:s
edwin [Fri, 25 Mar 2005 14:25:15 +0000 (14:25 +0000)]
fix merging of classcache_class_entry:s

19 years agoadded {access,classcache,descriptor,resolve}.[ch] to Makefile.am
edwin [Fri, 25 Mar 2005 14:05:04 +0000 (14:05 +0000)]
added {access,classcache,descriptor,resolve}.[ch] to Makefile.am

19 years agomoved INSTRUCTION_PUTCONST_* macros to vm/jit/jit.h
edwin [Fri, 25 Mar 2005 13:45:26 +0000 (13:45 +0000)]
moved INSTRUCTION_PUTCONST_* macros to vm/jit/jit.h

19 years agoadded statistics for size of classrefs and parsed descriptors
edwin [Fri, 25 Mar 2005 13:35:06 +0000 (13:35 +0000)]
added statistics for size of classrefs and parsed descriptors

19 years agominor documentation fixes
edwin [Fri, 25 Mar 2005 13:32:58 +0000 (13:32 +0000)]
minor documentation fixes

19 years agoadded data structures for parsed descriptors and class references
edwin [Fri, 25 Mar 2005 13:30:14 +0000 (13:30 +0000)]
added data structures for parsed descriptors and class references

19 years agoadded new code for resolving symbolic references
edwin [Fri, 25 Mar 2005 12:35:05 +0000 (12:35 +0000)]
added new code for resolving symbolic references

19 years agoadded new code for the loaded class cache and loading constraints
edwin [Fri, 25 Mar 2005 12:34:09 +0000 (12:34 +0000)]
added new code for the loaded class cache and loading constraints

19 years agoadded new code for pre-parsed descriptors
edwin [Fri, 25 Mar 2005 12:33:37 +0000 (12:33 +0000)]
added new code for pre-parsed descriptors

19 years agoadded new code for checking access rights
edwin [Fri, 25 Mar 2005 12:23:30 +0000 (12:23 +0000)]
added new code for checking access rights

19 years agotemporary fix for getenv returning NULL for LD_LIBRARY_PATH
edwin [Thu, 24 Mar 2005 19:06:22 +0000 (19:06 +0000)]
temporary fix for getenv returning NULL for LD_LIBRARY_PATH

19 years ago- implemented: ICMD_PUTSTATICCONST, ICMD_PUTFIELDCONST
twisti [Thu, 24 Mar 2005 18:48:31 +0000 (18:48 +0000)]
- implemented: ICMD_PUTSTATICCONST, ICMD_PUTFIELDCONST
- check for null pointer in ICMD_INVOKESPECIAL

19 years agoProblem with not/wrong saved argument registers used as temp registers resolved
christian [Thu, 24 Mar 2005 17:56:17 +0000 (17:56 +0000)]
Problem with not/wrong saved argument registers used as temp registers resolved

19 years agoAdded x86_64_emit_byte_rex: movb_reg_membase needs a special rex byte,
twisti [Thu, 24 Mar 2005 12:21:53 +0000 (12:21 +0000)]
Added x86_64_emit_byte_rex: movb_reg_membase needs a special rex byte,
because the 64-bit flag is not set, but we need the low nibbles of all
registers (e.g. mov %bpl,(%rax,%rcx,1)).

19 years agoAdd all files (including .properties) to the zip dir list.
twisti [Thu, 24 Mar 2005 10:13:56 +0000 (10:13 +0000)]
Add all files (including .properties) to the zip dir list.

19 years agoAdded asm_calljavafunction_int (for calls which require an int return
twisti [Wed, 23 Mar 2005 19:26:30 +0000 (19:26 +0000)]
Added asm_calljavafunction_int (for calls which require an int return
value).

19 years ago- support external classpath
twisti [Wed, 23 Mar 2005 11:55:16 +0000 (11:55 +0000)]
- support external classpath
- don't add classpath to bootstrap classloader

19 years agoOoops! Sorry for this bug.
twisti [Wed, 23 Mar 2005 11:46:35 +0000 (11:46 +0000)]
Ooops! Sorry for this bug.

19 years agoAdded asm_calljavafunction_int (for calls which require an int return
twisti [Wed, 23 Mar 2005 11:21:00 +0000 (11:21 +0000)]
Added asm_calljavafunction_int (for calls which require an int return
value).

19 years agoAdded util.[ch]
twisti [Wed, 23 Mar 2005 11:19:37 +0000 (11:19 +0000)]
Added util.[ch]

19 years agoThis should be used for the utility functions, like a getcwd() replacement.
twisti [Wed, 23 Mar 2005 11:19:11 +0000 (11:19 +0000)]
This should be used for the utility functions, like a getcwd() replacement.

19 years agoExport classpath_entries (this should be stored somewhere in a jni struct).
twisti [Wed, 23 Mar 2005 11:16:45 +0000 (11:16 +0000)]
Export classpath_entries (this should be stored somewhere in a jni struct).

19 years agoAdded: utf_java_util_Vector, utf_loadClass,
twisti [Wed, 23 Mar 2005 11:10:33 +0000 (11:10 +0000)]
Added: utf_java_util_Vector, utf_loadClass,
       utf_java_lang_String__java_lang_Class

19 years agoAdded class_java_util_Vector
twisti [Wed, 23 Mar 2005 11:09:37 +0000 (11:09 +0000)]
Added class_java_util_Vector

19 years ago- support external classpath
twisti [Wed, 23 Mar 2005 11:08:43 +0000 (11:08 +0000)]
- support external classpath
- added: java_util_Vector.h

19 years ago- implemented defineClass(Ljava/lang/ClassLoader;Ljava/lang/String;[BIILjava/security...
twisti [Wed, 23 Mar 2005 10:59:05 +0000 (10:59 +0000)]
- implemented defineClass(Ljava/lang/ClassLoader;Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;
  instead of defineClass(Ljava/lang/String;[BII)Ljava/lang/Class;
- implemented Java_java_lang_VMClassLoader_nativeGetResources

19 years ago- support external classpath
twisti [Wed, 23 Mar 2005 10:57:52 +0000 (10:57 +0000)]
- support external classpath
- add gnu.classpath.boot.library.path property
- use util _Jv_getcwd call (prefix?)

19 years agoSchedule progress.
twisti [Tue, 22 Mar 2005 11:21:32 +0000 (11:21 +0000)]
Schedule progress.

19 years agoScheduler work.
twisti [Mon, 21 Mar 2005 17:00:52 +0000 (17:00 +0000)]
Scheduler work.

19 years agoInitial scheduling.
twisti [Mon, 21 Mar 2005 09:40:33 +0000 (09:40 +0000)]
Initial scheduling.

19 years agoImplemented PUTSTATICCONST and PUTFIELDCONST.
twisti [Sun, 20 Mar 2005 17:21:24 +0000 (17:21 +0000)]
Implemented PUTSTATICCONST and PUTFIELDCONST.

19 years agoEnabled SUPPORT_CONST_STORE
twisti [Sun, 20 Mar 2005 17:20:44 +0000 (17:20 +0000)]
Enabled SUPPORT_CONST_STORE

19 years ago- don't pass stackpointer to asm_check_clinit
twisti [Sun, 20 Mar 2005 16:26:57 +0000 (16:26 +0000)]
- don't pass stackpointer to asm_check_clinit
- check for compiler exceptions

19 years agoRenamed x86_64_is_immxx to IS_IMMxx.
twisti [Sun, 20 Mar 2005 16:26:07 +0000 (16:26 +0000)]
Renamed x86_64_is_immxx to IS_IMMxx.

19 years agoRenamed x86_64_is_immxx to IS_IMMxx. Maybe these should be moved somewhere
twisti [Sun, 20 Mar 2005 16:25:33 +0000 (16:25 +0000)]
Renamed x86_64_is_immxx to IS_IMMxx. Maybe these should be moved somewhere
else.

19 years ago- PUTSTATICCONST, PUTFIELDCONST implemented
twisti [Sun, 20 Mar 2005 16:24:02 +0000 (16:24 +0000)]
- PUTSTATICCONST, PUTFIELDCONST implemented
- don't pass stack pointer to asm_check_clinit
- removed needless exceptions

19 years agoBuild dir support.
twisti [Sun, 20 Mar 2005 15:03:45 +0000 (15:03 +0000)]
Build dir support.

19 years agoPUT{STATIC,FIELD}CONST: use iptr[0].op1 for constant type
edwin [Sun, 20 Mar 2005 14:43:04 +0000 (14:43 +0000)]
PUT{STATIC,FIELD}CONST: use iptr[0].op1 for constant type
PUT{STATIC,FIELD}CONST: use correct value from iptr[0].val

19 years agoadd verification of PUT{STATIC,FIELD}CONST
edwin [Sun, 20 Mar 2005 14:29:12 +0000 (14:29 +0000)]
add verification of PUT{STATIC,FIELD}CONST

19 years agoPUT{FIELD,STATIC}CONST: store type of constant in iptr[1].op1
edwin [Sun, 20 Mar 2005 14:28:36 +0000 (14:28 +0000)]
PUT{FIELD,STATIC}CONST: store type of constant in iptr[1].op1

19 years agoImplemented: PUTSTATICCONST, PUTFIELDCONST
twisti [Sun, 20 Mar 2005 13:49:20 +0000 (13:49 +0000)]
Implemented: PUTSTATICCONST, PUTFIELDCONST

19 years agoAdded i386_mov_imm_mem
twisti [Sun, 20 Mar 2005 13:42:54 +0000 (13:42 +0000)]
Added i386_mov_imm_mem

19 years agoPUTSTATICCONST, PUTFIELDCONST bugfixes.
twisti [Sun, 20 Mar 2005 13:42:18 +0000 (13:42 +0000)]
PUTSTATICCONST, PUTFIELDCONST bugfixes.

19 years agoSUPPORT_LONG_LOG -> SUPPORT_LONG_LOGICAL
twisti [Sun, 20 Mar 2005 13:39:51 +0000 (13:39 +0000)]
SUPPORT_LONG_LOG -> SUPPORT_LONG_LOGICAL

19 years agoAdded and changed some SUPPORT defines.
twisti [Sun, 20 Mar 2005 11:24:19 +0000 (11:24 +0000)]
Added and changed some SUPPORT defines.

19 years agoNew ICMDs: PUTSTATICCONST, PUTFIELDCONST, IMULPOW2, LMULPOW2
twisti [Sun, 20 Mar 2005 11:22:40 +0000 (11:22 +0000)]
New ICMDs: PUTSTATICCONST, PUTFIELDCONST, IMULPOW2, LMULPOW2

19 years agoImplemented integer ICMD_xASTORECONST instructions.
twisti [Sat, 19 Mar 2005 15:57:50 +0000 (15:57 +0000)]
Implemented integer ICMD_xASTORECONST instructions.

19 years agocacaoh does not need libjavalang.
twisti [Fri, 18 Mar 2005 13:23:40 +0000 (13:23 +0000)]
cacaoh does not need libjavalang.

19 years agoExternal classpath support.
twisti [Fri, 18 Mar 2005 12:45:13 +0000 (12:45 +0000)]
External classpath support.

19 years agoIgnore Makefiles.
twisti [Fri, 18 Mar 2005 12:42:16 +0000 (12:42 +0000)]
Ignore Makefiles.