2009-06-01 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / metadata / ChangeLog
index 6bd668a89ddc69d23b54f2a744b6511c55513c50..cbdf8c81dbc60562e3598fbabddd766685708168 100644 (file)
@@ -1,3 +1,66 @@
+2009-06-01 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       Change MonoImage::name_cache to be protected by the image lock
+       instead of the loader lock.
+
+       * appdomain.c (deregister_reflection_info_roots): Protect access
+       to name_cache.
+
+       * class.c (mono_image_init_name_cache): Change from the loader lock
+       to the image lock. Check if the cache wasn't already created.
+
+       * class.c: Change from the loader to the image lock.
+
+       * icall.c (ves_icall_System_Reflection_Assembly_GetNamespaces): Fix
+       the code to hold the image lock while iterating over name_cache and
+       not go into mono_array_new holding it.
+
+       * metadata-internals.h: Add a comment about this change.
+
+2009-06-01 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * icall.c (ves_icall_System_Reflection_Assembly_InternalGetType):
+       Under the 2.0 profile raise the loader error.
+
+       Fixes #508532.
+
+2009-06-01 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * marshal.c (mono_marshal_get_runtime_invoke): Emit the right kind
+       of ldind opcode for generic instances so we don't fail for direct wrappers.
+       This only affect direct calls.
+
+2009-05-31  Zoltan Varga  <vargaz@gmail.com>
+
+       * reflection.c (create_dynamic_mono_image): Fix warnings.
+
+       * generic-sharing.c (other_info_equal): Ditto.
+       
+2009-05-29 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * metadata-verify.c: Implement field signature check.
+
+2009-05-29 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * metadata-verify.c: Implement standalone signature check.
+
+2009-05-28 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * metadata-verify.c: Implement methodref signature check.
+
+2009-05-28  Zoltan Varga  <vargaz@gmail.com>
+
+       * object-internals.h (MonoRuntimeCallbacks): New structure containing
+       callbacks supplied by the runtime.
+
+       * object.c (mono_install_callbacks): New internal function to install
+       the callbacks.
+
+       * object.c (mono_create_ftnptr): Move the implementation of this to
+       mini/.
+
+       * object.c (mono_get_addr_from_ftnptr): Ditto.  
+
 2009-05-27 Rodrigo Kumpera  <rkumpera@novell.com>
 
        * metadata-verify.c (parse_return_type): Proper byref check.
 
        * appdomain.c: Bump corlib version.
 
+2009-05-27  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug.c (mono_debug_init): Use `MONO_DEBUG_FORMAT_DEBUGGER'
+       if `_mono_debug_using_mono_debugger' is set to make things work
+       properly when embedding Mono.
+
 2009-05-25 Rodrigo Kumpera  <rkumpera@novell.com>
 
        * class.c (mono_class_setup_fields): Don't mark simd types as having