2004-07-05 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / metadata / ChangeLog
index a834cf116cc8b88a523e4dc45172db7483e0c57a..21aee2df2d1958b7d45979427f85b9481bd814e9 100644 (file)
@@ -1,3 +1,281 @@
+2004-07-05  Zoltan Varga  <vargaz@freemail.hu>
+
+       * metadata-internals.h image.c: Add a cache for helper signatures.
+
+       * monosn.c: Applied patch from "grompf" (grompf@sublimeintervention.com). Fix compilation under OSX.
+
+2004-07-03  Zoltan Varga  <vargaz@freemail.hu>
+
+       * marshal.c (mono_marshal_get_managed_wrapper): Handle returning
+       delegates from a delegate. Fixes #61033.
+       
+       * marshal.c: Fix managed->native stringbuilder marshalling. Implement
+       marshalling of stringbuilder arrays. Fixes #59900.
+
+2004-07-02  Zoltan Varga  <vargaz@freemail.hu>
+
+       * icall.c: Add EnumBuilder:setup_enum_type icall.
+
+2004-06-30  Ben Maurer  <bmaurer@ximian.com>
+
+       * icall.c: Added a new icall for the property version of
+       OffsetOfStringData.
+
+2004-06-30  Zoltan Varga  <vargaz@freemail.hu>
+
+       * class-internals.h (MonoVTable): Make max_interface_id a guint32 so
+       it has a constant size across platforms.
+
+       * marshal.c (mono_delegate_end_invoke): Avoid crash when there is no
+       stack trace.
+
+2004-06-29  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug.c (mono_debug_add_method): Protect the whole function
+       in mono_debugger_lock(), not just parts of it.
+
+Fri Jun 25 21:36:26 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: make sure padding bytes in heaps are zeroed.
+
+2004-06-24  David Waite  <mass@akuma.org>
+
+       * appdomain.c, class.c, domain.c, file-io.c, gc.c, icall.c,
+       image.c, loader.c, locales.c, marshal.c, metadata.c,
+       mono-debug.[ch], object.c, reflection.c, security.c, socket-io.c,
+       string-icalls.c, threads.c: change to C90-style comments from C99 /
+       C++ -style
+
+2004-06-24  Dick Porter  <dick@ximian.com>
+
+       * threads.c
+       (ves_icall_System_Threading_Mutex_CreateMutex_internal): Correctly
+       return createdNew.  Fixes bug 60412.
+
+       * threads-types.h: 
+       * icall.c: Add createdNew parameter to CreateMutex icall
+
+Thu Jun 24 16:06:41 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c, object-internals.h: save default value in params.
+
+2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * appdomain.c: for paths in PrivateBinPath that are absolute, there's
+       no need to build a new path combining that with the application base.
+       Fixes bug #60442.
+
+Wed Jun 23 18:36:58 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: fixed minor standard compliance issues.
+
+Wed Jun 23 17:59:29 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: fixed issue with encoding some custom attributes
+       (arrays in properties and fields, bug #60411).
+
+2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * reflection.c: fix start address when copying the public key token.
+
+2004-06-23  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug-debugger.c (mono_debugger_unhandled_exception): Store
+       the `exc' object in a static object to put it into the GC's root set.
+
+Wed Jun 23 15:37:31 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: make mono_reflection_setup_internal_class ()
+       callable a second time to setup a new parent class.
+
+2004-06-23  Dick Porter  <dick@ximian.com>
+
+       * threads.c: Check for WAIT_IO_COMPLETION return values.
+
+2004-06-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * appdomain.c: Removed the g_free on the public key token. Now copy 
+       the pk token string into the MonoAssemblyName buffer using g_strlcpy.
+       * assembly.c: Added public key token string value when loading 
+       assemblies. Fix bug #60439.
+       * icall.c: Added missing informations (like public key) in 
+       GetReferencedAssemblies. Fix #60519.
+       * image.h: Changed definition for public key token from const char*
+       public_tok_value to guchar public_key_token [17];
+       * reflection.c: Updated for changes to public key token.
+
+2004-06-22  Lluis Sanchez Gual
+
+       * icall.c: In ves_icall_InternalExecute, when setting a filed, also look 
+       for the field in base classes.
+
+Tue Jun 22 16:48:02 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * mono-debug.h, mono-debug-debugger.h, debug-mono-symfile.h:
+       mark headers as not supported, they are installed only for use by the
+       debugger.
+
+Tue Jun 22 16:32:03 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * *.c, *.h: avoid namespace pollution in public headers.
+
+2004-06-21  Martin Baulig  <martin@ximian.com>
+
+       * exception.c (mono_get_exception_security): It's in
+       "System.Security", not in "System".
+
+       * mono-debug-debugger.c (mono_debugger_add_builtin_types): Add all
+       the exception classes.
+
+2004-06-21  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug-debugger.c (mono_debugger_unhandled_exception):
+       Protect the exception object from being finalized.
+
+2004-06-21  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug-debugger.h (mono_debugger_unhandled_exception): New
+       public function.
+
+2004-06-21  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * reflection.c: Load the assembly in mono_reflection_type_from_name,
+       if it was not loaded before. Fix parts of #60439.
+
+Mon Jun 21 16:04:43 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * marshal.c, icall.c, object.c, image.c: fix the runtime_invoke ()
+       code that was broken since Ben's change: wrappers are now
+       dependent on the method signature only again.
+
+2004-06-21  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug-debugger.c (write_class): Cleaned this up a bit and
+       added interface support.
+
+2004-06-21  Martin Baulig  <martin@ximian.com>
+
+       * class.c (mono_vtable_get_static_field_data): New public method.
+
+2004-06-20  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * filewatcher.c : Windows build fix to be compliant with API changes.
+
+Sat Jun 19 19:04:50 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * class.h, class.c: more accessors.
+       * metadata.h, metadata.c: prepare for hiding MonoType and
+       MonoMethodSignature: people should use the accessors from now on
+       outside of the tree.
+
+Sat Jun 19 17:56:50 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * *.c, *.h: more API cleanups.
+
+2004-06-18  Jackson Harper  <jackson@ximian.com>
+
+       * assembly.c: Trace loading assemblies.
+       * loader.c: Trace loading native libraries.
+       * mono-config.c: Trace loading config files.
+       
+2004-06-18  Dick Porter  <dick@ximian.com>
+
+       * locales.c: Tell ICU the lengths of strings, it can cope with
+       embedded \0 then.  Fixes bug 59274, and doesn't break bug 55822.
+
+Fri Jun 18 11:59:57 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * image.c: swapped name/filename;
+
+2004-06-18  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug-debugger.c (write_class): Write the parent class at
+       the end of the header.
+
+Thu Jun 17 16:50:44 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * *.c, *.h, Makefile.am: more API cleanups and bugfixes.
+
+2004-06-17  Raja R Harinath  <rharinath@novell.com>
+
+       * Makefile.am (PLATFORM_LIB): New.  Possibly refer to ../os/libmonoos.la.
+       (bundle_obj): New conditional define.
+       (BUILT_SOURCES): Remove.
+       ($(bundle_srcs)): Make parallel-make safe.
+       (libmonoruntime_la_LIBADD): Make unconditional.
+       (libmetadata_la_LIBADD): Make unconditional.  Refer to $(bundle_obj).
+       (libmetadata_la_SOURCES): Don't refer to $(bundle_srcs).
+
+2004-06-17  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * culture-info-tables.h: It was inconsistent with the latest
+         supp info files.
+
+2004-06-17  Zoltan Varga  <vargaz@freemail.hu>
+
+       * assembly.c (mono_assembly_open): Fix crash when the assembly can't
+       be loaded.
+
+       * threads.c (ves_icall_System_Threading_Thread_Resume): Fix compilation
+       with gcc 2.95.
+
+Wed Jun 16 18:23:45 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * threads.h, icall.c, object.c, threadpool.c, threads-types.h:
+       cleaned up public header threads.h.
+
+Wed Jun 16 18:11:41 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * Makefile.am, *.c, *.h: more API cleanups.
+
+Wed Jun 16 14:33:22 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * Makefile.am: removed monosn from compilation.
+       * appdomain.c, assembly.c, assembly.h, blob.h, class.c,
+       debug-helpers.c, debug-mono-symfile.c, domain.c, icall.c,
+       image.c, image.h, loader.c, marshal.c, metadata-internals.h,
+       metadata.c, metadata.h, mono-config.c, mono-debug-debugger.c,
+       mono-debug.c, object.c, opcodes.c, opcodes.h, pedump.c, process.c,
+       reflection.c, reflection.h, verify.c: more API cleanups and fixes.
+
+2004-06-15  Jackson Harper  <jackson@ximian.com>
+
+       * assembly.c: Make locales lower case when searching the GAC for
+       assemblies. gacutil will always make locales lowercase when
+       installing so this effectively makes them case insensitive.
+       
+2004-06-15  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * locales.c, threadpool.c: use mono_monitor_enter instead of mono_monitor_try_enter.
+       * monitor.c: New method mono_monitor_try_enter_internal, which takes a new
+         parameter which allows to choose whether the wait can be interrupted or 
+         not. Also added the method mono_monitor_enter(), which locks the monitor
+         using an infinite wait and without allowing interruption.
+         In the Monitor.Enter and Wait icalls, retry the lock if the wait is
+         interrupted.
+       * object.h: Added new fields in MonoThread. suspend_event holds the event
+         used to susped/resume the thread. synch_lock is the lock object to use for
+         modifying the thread state.
+       * threads.c: Use the new synch_lock object for locking, instead of "this",
+         which can generate deadlocks.
+         Moved thread state change in Thread.Sleep and Thread.Join from managed
+         to unmanaged code. This avoids a deadlock when the thread was suspended
+         just after acquiring the thread lock.
+         In general, use mono_monitor_enter instead of mono_monitor_try_enter.
+         Implemented Thread.Suspend using an event instead of ThreadSuspend,
+         which is not fully implemented in the io-layer.
+       * socket-io.c: Only try IPv6 DNS lookup if IPv4 fails.
+
+Tue Jun 15 18:34:21 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * Makefile.am, monitor.h, object.h, threadpool.c, threadpool.h,
+       threads-types.h: more API cleanups.
+
+Tue Jun 15 16:40:19 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+       * domain-internals.h, Makefile.am, appdomain.c, appdomain.h,
+       domain.c, gc.c, icall.c, mono-debug.c, object.c, reflection.c,
+       threadpool.c, threads.c: first pass at the exported API cleanup.
 
 Tue Jun 15 15:29:47 CEST 2004 Paolo Molaro <lupus@ximian.com>
 
@@ -10667,10 +10945,3 @@ Tue Jul  3 18:33:32 CEST 2001 Paolo Molaro <lupus@ximian.com>
 
        * mono/metadata/assembly.c (load_metadata_ptrs): Fix for Beta2
 
-
-
-
-
-
-
-