This patch replaces the calls to g_strcasecmp with either
[mono.git] / mono / metadata / ChangeLog
index 266405a2355fbd97fee3faa76338396544f49f5b..fcfedd8656bf1da14d4923d5834c7545a542868f 100644 (file)
@@ -1,3 +1,122 @@
+2009-09-23  Miguel de Icaza  <miguel@novell.com>
+
+       * verify.c: when comparing culture strings, use g_ascii_strcmp
+
+       * assembly.c (mono_public_tokens_are_equal): Change g_strcasecmp
+       when comparing public key tokens to use memcmp on 16 bytes.   I do
+       not believe this ever worked as advertised in the past.
+
+       The standard Public Key is 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00
+       which would have always failed earlier.
+       
+2009-06-25  Miguel de Icaza  <miguel@novell.com>
+
+       * gc.c: Raise a NullArgumentException if the object passed is
+       null.    
+
+2009-09-22  Zoltan Varga  <vargaz@gmail.com>
+
+       * image.c (mono_image_close): Atomically decrement the reference count and
+       remove the image from the hash tables, to prevent another thread from seeing a
+       dying MonoImage. Fixes #541194.
+
+2009-09-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * threadpool.c: actually use the minimum number of 'completion ports'
+       (for us is just a potential worker thread).
+
+2009-09-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * threadpool.c: remove ares_htable. It does not make sense any more
+       since the same objects are now stored in GC-tracked arrays while they are
+       in the queue.
+
+2009-09-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * threadpool.c: increase the minimum length of the queues to 128.
+       Remove warning.
+
+2009-09-21  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (mono_marshal_get_string_ctor_signature): New internal function to
+       return the modified signature used by string ctors.
+
+2009-09-20  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (mono_marshal_get_runtime_invoke_dynamic): New internal function
+       to return a runtime-invoke wrapper which uses DYN_CALL to call the wrapped
+       method, to be used by full-aot.
+
+2009-09-18  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       Since the runtime supports lazy initialization of a type's vtable and this can cause a type
+       to fail, we need to ensure that the vtable is properly initialized at spots were the type must
+       be known to be good.
+
+       * class.c (mono_class_init): Fail array types if their element type fails initialization
+       as well.
+
+       * object.c (mono_class_create_runtime_vtable): Fail array types if their element type fails
+       initialization, additionally we request the element_type vtable to be initialized as well.
+
+       This is fine and should not increase the working set in any meaningful way since it's reasonable
+       to assume       that most code will create an array and eventually populate it, which will require the
+       type's vtable to be initialized.
+
+       * loader.c (field_from_memberref): Add a comment for a possibly useless mono_class_init call.
+
+2009-09-17  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * normalization-tables.h : regenerated.
+
+2009-09-16  Zoltan Varga  <vargaz@gmail.com>
+
+       * mono-debug.c (mono_debug_add_method): Increase the size of the buffer,
+       a leb128 encoding can take up to 5 bytes.
+
+2009-09-15  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * class.c (verify_class_overrides): Remove useless argument.
+
+       * class.c (mono_class_setup_vtable_general): Move the overrides check to happen
+       before interface enumeration as this is no longer required.
+
+2009-09-15  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * class.c: New function mono_class_is_assignable_from_slow that is safe to be
+       used under mono_class_init context. This functions avoid any code path that
+       calls mono_class_init, which leads it to be slow as some things like the interface
+       bitmap are not available.
+
+       * class.c (verify_class_overrides): Use mono_class_is_assignable_from_slow instead
+       of it's own broken version. Fixes the verifier part of #538588.
+
+       * class-internals.h: Export mono_class_is_assignable_from_slow as part of the internal
+       API.
+
+2009-09-15  Mark Probst  <mark.probst@gmail.com>
+
+       * class.c (mono_class_init): Always set an exception in a class if
+       vtable setup fails.  Fixes #538577.
+
+       * generic-sharing.c: Raise an exception if mono_class_vtable()
+       returns NULL.
+
+2009-09-13  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (mono_marshal_get_runtime_invoke): Don't share instance 
+       methods of vtypes, as they could be incorrectly shared with static methods
+       taking an IntPtr argument.
+
+2009-09-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * domain.c:
+       * object.c:
+       * class-internals.h: renamed waithandle_class to
+       manualresetevent_class.
+       * marshal.c: propagate the exception if a remoting BeginInvoke call
+       fails.
+
 2009-09-11  Rodrigo Kumpera  <rkumpera@novell.com>
 
        * object.c: Properly handle vtable failures.