2008-02-27 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / metadata / ChangeLog
index 02c13d10db4391ce1b0aabe7fc109c005cf2f447..9dea148c65c8bdb3aa7ab88031b6a2b545bfc45f 100644 (file)
@@ -1,5 +1,103 @@
+2008-02-27  Zoltan Varga  <vargaz@gmail.com>
+
+       * class.c (mono_class_setup_methods): Move the check for synchronized methods on
+       vtypes to marshal.c.
+
+       * marshal.c (mono_marshal_get_synchronized_wrapper): Do the vtype check here so
+       it works for AOT as well.
+
+Tue Feb 26 17:46:32 CET 2008 Paolo Molaro <lupus@ximian.com>
+
+       * monitor.c, threads.c, threadpool.c: replace the use of GetTickCount ()
+       with mono_msec_ticks () which is monotonic and doesn't cause bugs when
+       the system time is adjusted.
+
+Tue Feb 26 17:40:10 CET 2008 Paolo Molaro <lupus@ximian.com>
+
+       * icall.c, icall-def.h: use the new time functions (fixes the
+       non-monotonic behaviour of TickCount).
+
+2008-02-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * reflection.c (mono_custom_attrs_from_builders): Revert the last change as
+       it breaks the build.
+       
+       * reflection.c (mono_custom_attrs_from_builders): Assert instead of a crash if the
+       cattr is not finished yet.
+
+2008-02-25 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c: Proper token validation for field, method and type.
+
+2008-02-25 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * loader.c (field_from_memberref): Generate a loader error if the type is not found.
+
+       * loader.c (method_from_memberref): Generate type load error instead of method missing
+       if the type is not found.
+
+2008-02-23  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (mono_marshal_emit_managed_wrapper): Avoid generating invalid IL if
+       some of the conversions caused the generation of a marshal directive exception.
+
+2008-02-21 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       verify.c: Report which exception should be thrown by the JIT.
+       Added a lot of FIXME notes.
+
+2008-02-22  Mark Probst  <mark.probst@gmail.com>
+
+       * generic-sharing.c: Runtime generic context slots are not
+       instantiated on init anymore.  Instead, provide function to do the
+       instantiating on demand.
+
+       * class-internals.h: Added vtable to runtime generic context.
+       Macros for encoding direct and indirect slot offsets in one
+       guint32.
+
+2008-02-21  Mark Probst  <mark.probst@gmail.com>
+
+       * object.c, generic-sharing.c: Moved some generic sharing code
+       from object.c to generic-sharing.c.
+
+       * generic-sharing.c: Added support for extensible runtime generic
+       context.
+
+       * metadata-internals.h: Two new hash tables in MonoImage for
+       extensible runtime generic context support.
+
+       * domain.c: Unregister generic vtables upon domain unloading.
+
+       * image.c: Destroy new hash tables upon image unloading.
+
+       * metadata.c: Unregister generic subclasses upon image unloading.
+
+       * class-internals.h: New data structure for runtime generic
+       context template.  New fields in the runtime generic context for
+       extensible part.
+
+       * Makefile.am: Added generic-sharing.c.
+
+2008-02-21 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       icall.c (ves_icall_System_Reflection_Module_ResolveTypeToken): If
+       there is a pending loader exception, raise it.
+
+       icall.c (ves_icall_System_Reflection_Module_ResolveMethodToken): 
+       same.
+
+       icall.c (ves_icall_System_Reflection_Module_ResolveFieldToken): 
+       same.
+
+       Fixes #363450.
+
 2008-02-20  Zoltan Varga  <vargaz@gmail.com>
 
+       * icall.c (ves_icall_Type_GetPacking): Handle dynamic types.
+
+       * assembly.c (mono_assembly_load_from_full): Fix a leak in the previous patch.
+       
        * assembly.c (mono_assembly_load_from_full): Return the non-refonly corlib for
        ref-only requests for compatibility with MS.