Mon Apr 15 11:37:33 CEST 2002 Paolo Molaro <lupus@ximian.com>
[mono.git] / mono / metadata / ChangeLog
index a1b9bf26355b4b55beea1a2d28d2ff3c2bc2feae..038dccdacb5d1aecdb90d866b2a80b5d73d6b88c 100644 (file)
@@ -1,4 +1,288 @@
 
+Mon Apr 15 11:37:33 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * assembly.c: fix bugs found with valgrind.
+       * metadata.h, metadata.c: added mono_metadata_guid_heap().
+
+2002-04-14     Patrik Torstensson <patrik.torstensson@labs2.com>
+
+       * threads: added icall support for getting current domain for
+                  the thread.
+2002-04-13  Martin Baulig  <martin@gnome.org>
+
+       * debug-symfile.h (MonoDebugLocalInfo): Renamed to MonoDebugVarInfo.
+       (MonoDebugVarInfo): Added `index' field for register based addresses.
+       (MONO_DEBUG_SYMBOL_FILE_VERSION): Increased to 9.
+       (MonoDebugMethodInfo): Replaced `guint32 *param_offsets' with
+       `MonoDebugVarInfo *params' and `guint32 this_offset' with
+       `MonoDebugVarInfo *this_var'.
+
+       * debug-symfile.c (relocate_variable): New static function to write
+       a location description for a local variable or method parameter.
+
+2002-04-12  Martin Baulig  <martin@gnome.org>
+
+       * debug-symfile.h (MonoDebugLocalInfo): New type. This contains the
+       stack offset and begin/end scope address of a local variable.
+       (MonoDebugMethodInfo): Replaced `guint32 *local_offsets' with
+       'MonoDebugLocalInfo *locals', added `prologue_end' and `epilogue_begin'.
+       (MONO_DEBUG_SYMBOL_FILE_VERSION): Increased to 8.
+
+       * debug-symfile.c (MRT_variable_start_scope, MRT_variable_end_scope):
+       Added new relocation types for start/end scope of a local variable.
+
+Fri Apr 12 18:30:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * object.h: add mono_object_domain() macro.
+       * reflection.c: handle typespecs.
+       * icall.c: MonoMethod::get_Name() implementation.
+
+Thu Apr 11 12:29:14 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * icall.c: String::GetHashCode() icall implementation.
+
+Wed Apr 10 21:16:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * icall.c: String::IndexOfAny icall.
+       * object.c, object.h: make array->max_length more useful.
+       Intrduced mono_object_class() and mono_string_length() macros.
+
+2002-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * unicode.c (ves_icall_System_Char_IsNumber): use g_unichar_isxdigit
+       instead of g_unichar_isdigit.
+
+2002-04-11  Nick Drochak  <ndrochak@gol.com>
+
+       * icall.c: Implement a simple Double.ToString().
+
+Tue Apr 9 21:31:16 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * appdomain.h: only io-layer.h is supposed to be included.
+       * icall.c: explicitly import environ. Fix warning.
+
+2002-04-10  Nick Drochak  <ndrochak@gol.com>
+
+       * icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData) :
+               return true even if it's not Daylight Savings time.
+               Only return false for the case where the function isn't
+               implemented for a plaform (read Windows).
+
+Tue Apr 9 13:05:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * appdomain.h, appdomain.c, class.c, object.c: protect MonoDomain
+       data with a mutex.
+
+2002-04-09  Dietmar Maurer  <dietmar@ximian.com>
+
+       * mempool.c (mono_mempool_alloc): only use g_malloc when
+       absolutely necessary.
+
+2002-04-08  Dietmar Maurer  <dietmar@ximian.com>
+
+       * mempool.c (MEM_ALIGN): hardcode MEM_ALIGN to 8
+
+       * class.c (mono_class_vtable): use domain mempool to allocate vtable
+       (mono_class_proxy_vtable): use domain mempool
+
+Mon Apr 8 17:17:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * appdomain.h, appdomain.c: split initialization that requires the
+       execution engine support into mono_runtime_init().
+
+2002-04-08  Dietmar Maurer  <dietmar@ximian.com>
+
+       * class.c (mono_class_init): don't include vtable inside MonoClass
+       to save some memory, gather some statistics.
+       (mono_class_vtable): use g_malloc instead of GC_malloc when possible
+
+Sat Apr 6 20:07:48 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * icall.c: internalcall implementation for ValueType.Equals().
+
+2002-04-06  Dietmar Maurer  <dietmar@ximian.com>
+
+       * object.c (mono_message_init): moved 
+       (mono_runtime_exec_main): new arch. independent impl.
+       (mono_runtime_invoke_array): new method - like
+       mono_runtime_invoke, but you can pass an array of objects.
+       (mono_remoting_invoke): new arch. independent impl.
+       (mono_message_invoke): new arch. independent impl.
+       (mono_runtime_class_init): new arch. independent impl.
+       (mono_runtime_object_init): new arch. independent impl.
+
+Fri Apr 5 18:29:14 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * metadata.c, object.c, reflection.c: documented the exported
+       functions.
+
+Fri Apr 5 15:42:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * icall.c: simpler code to pass the assembly builder data to corlib.
+       Implement GetNestedTypes() internalcall.
+
+Thu Apr 4 21:46:48 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * class.c: warn if a type can't be loaded.
+
+2002-04-04  Dietmar Maurer  <dietmar@ximian.com>
+
+       * image.h: typedef MonoImageOpenStatus
+       * types.h: removed unused file
+       
+2002-04-04  Dan Lewis  <dihlewis@yahoo.co.uk>
+
+       * icall.c: Enum_ToObject accepts enum value arguments.
+
+Thu Apr 4 11:35:37 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * class.c: move initialization of properties, events and nested
+       classes, so that they happen for interfaces, too.
+
+Wed Apr 3 20:03:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * icall.c: cleanup some ugly casts in Array_SetValue*.
+
+Wed Apr 3 19:49:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * icall.c: the values array fro enums is of the correct type, now.
+       Implement (correctly) getFullName instead of assQualifiedName for
+       MonoType.
+       * reflection.h, reflection.c: added mono_type_get_name ().
+
+Wed Apr 3 17:56:22 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * assembly.c, image.h: for each MonoImage, record from wich assembly
+       it was loaded.
+       * reflection.h, icall.c: added System_Reflection_Assembly_GetTypes().
+       Make Type.Assembly work.
+
+2002-04-03  Dietmar Maurer  <dietmar@ximian.com>
+
+       * debug-symfile.h: use char* instead of gpointer to avoid
+       unnecessary casts.
+
+       * appdomain.c (mono_jit_info_table_find): use char* instead of gpointer
+
+       * icall.c (ves_icall_InternalExecute): impl. FielSetter
+       (ves_icall_System_Array_SetValueImpl): removed strange MonoArray cast
+
+2002-03-30  Dietmar Maurer  <dietmar@ximian.com>
+
+       * icall.c (mono_message_init): impl. (code cleanup)
+       (ves_icall_InternalExecute): impl. FieldGetter
+
+       * class.c (mono_class_init): added exerimental EXT_VTABLE_HACK, if
+       defined we call all (non-static)methods through the vtable. 
+
+Fri Mar 29 18:09:08 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * class.c: it seems GC_debug_malloc() makes the Boehm GC call the
+       finalizer even though the memory is still referenced (and the chunk of
+       memory is not freed).
+
+Fri Mar 29 17:43:04 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * assembly.c: fix brokeness.
+
+Fri Mar 29 16:09:54 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * class.c: kill some warnings. Check explicit interface method
+       implementation also without considering the namespace.
+       Load also literal strings in static class data.
+
+2002-03-29  Miguel de Icaza  <miguel@ximian.com>
+
+       * assembly.c (default_assembly_name_resolver): Kill memory leak. 
+       (default_assembly_name_resolver): Make the resolver take the
+       "base" directory where the assembly was originally defined, so we
+       can load DLLs that are in the same directory as the assembly that
+       is being referenced.
+
+2002-03-28  Dick Porter  <dick@ximian.com>
+
+       * file-io.h: 
+       * file-io.c:
+       * socket-io.c: 
+       * unicode.h: 
+       * unicode.c: Warning cleanups
+
+Thu Mar 28 18:06:14 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * object.h, reflection.h: use the correct type instead of MonoObject.
+
+2002-03-28  Martin Baulig  <martin@gnome.org>
+
+       * debug-symfile.c (mono_debug_class_get): Don't look in referenced assemblies.
+       (mono_debug_update_symbol_file): Initialize classes if necessary.
+
+Thu Mar 28 15:58:43 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * assembly.c, debug-helpers.c, image.c, image.h, metadata.c, pedump.c,
+       rawbuffer.c, reflection.c, verify.c: mare warning cleanups.
+
+Thu Mar 28 15:20:39 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * assembly.h: fix function prototype.
+       * metadata.h, metadata.c, object.h, private.h: get rid of warnings.
+       * mono-endian.h: use const cast.
+
+2002-03-28  Dietmar Maurer  <dietmar@ximian.com>
+
+       * icall.c (ves_icall_MonoMethodMessage_InitMessage): moved from message.c
+
+Thu Mar 28 12:32:00 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * loader.c: don't assert when a typeref can't be loaded, give
+       a chance to the runtime to trow an exception instead.
+       * loader.h: fix warning.
+
+2002-03-28  Dietmar Maurer  <dietmar@ximian.com>
+
+       * class.c (mono_class_proxy_vtable): added proxy support
+
+2002-03-27  Dan Lewis <dihlewis@yahoo.co.uk>
+
+       * icall.c: removed last of PAL calls, added System.Environment
+       * file-io.h, file-io.c: MonoIO implementation
+       * object.h, object.c: mono_string_to_utf16() now returns gunichar2*
+
+Tue Mar 26 19:56:10 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * appdomain.c: do not use the byte marker in ldstr table lookup.
+       * debug-helpers.c: allow two ':' to separate class and method name.
+       * object.c: allocate arrays bounds with the GC, too.
+       * verify: add a few more checks.
+
+Tue Mar 26 18:45:46 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: output also literal strings. Allocate parameter data
+       with GC_malloc() (thanks, Martin, for catching this!).
+
+2002-03-26  Martin Baulig  <martin@gnome.org>
+
+       * debug-symfile.h (MonoDebugMethodInfo): Added `this_offset', don't
+       include the `this' offset in the `param_offsets'.
+
+2002-03-25  Martin Baulig  <martin@gnome.org>
+
+       * debug-symfile.c (mono_debug_update_symbol_file): Use a new
+       mono_debug_get_class() function to get the classes. Added new
+       relocation types for arrays and strings.
+       (mono_debug_get_class): New static function to search in all
+       referenced assemblies for a metadata token.
+
+       * debug-symfile.h (MONO_DEBUG_SYMBOL_FILE_VERSION): Increased to 7.
+
+Mon Mar 25 13:08:18 CET 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.h, reflection.c: use a gc-safe hash for hash tables that
+       hold gc-allocated objects. Make the string heap a stream like the
+       others. Removed duplicated code when writing stream info.
+       Added asserts to catch possible buffer overflows. Set the sorted map
+       for tables that need sorting. Added some documentation.
+
 Mon Mar 25 13:04:56 CET 2002 Paolo Molaro <lupus@ximian.com>
 
        * appdomain.h, appdomain.c, class.c, object.c: use a GC-safe hash table