2008-07-28 Marek Habersack <mhabersack@novell.com>
[mono.git] / mono / metadata / ChangeLog
index 6ef122563a08af81de9cf07142ac9db5b18d7c86..b03242509a4314cccce798dd60ad8c00b2d57e14 100644 (file)
@@ -1,3 +1,137 @@
+2008-07-27  Andreas Färber  <andreas.faerber@web.de>
+
+       * object.c (CHECK_ADD_OVERFLOW_UN): Add missing bracket. Fixes #412499.
+
+2008-07-27  Zoltan Varga  <vargaz@gmail.com>
+
+       * appdomain.c (unload_thread_main): Attach the unload thread to the runtime.
+
+2008-07-27  Robert Jordan  <robertj@gmx.net>
+
+       * class.c (mono_class_init): Don't compute class.has_finalize for
+       valuetypes. Fixes #412477.
+
+2008-07-25 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c: Implement constraint equivalence checking.
+       This is required when a generic parameter is used as
+       argument to a constrained one.
+
+       Fixes #410637.
+
+2008-07-24  Zoltan Varga  <vargaz@gmail.com>
+
+       * appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.
+
+       * domain-internals.h (struct _MonoDomain): Add 'method_code_hash' field.
+
+       * object-internals.h (struct _MonoDelegate): Add 'method_code' field,
+       synch with managed object layout.
+
+2008-07-24 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c (do_branch_op): Handle valuetypes and generic
+       arguments properly.
+
+       * verify.c (do_cmp_op): Same.
+
+       Fixes #410383.
+
+2008-07-24  Mark Probst  <mark.probst@gmail.com>
+
+       * generic-sharing.c: Fix memory leaks.
+
+       * class.c, class-internals.h: Make
+       mono_class_inflate_generic_type_with_mempool() non-static.
+
+2008-07-24 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * pedump.c (dump_verify_info): Dump full class name.
+
+2008-07-24  Mark Probst  <mark.probst@gmail.com>
+
+       * generic-sharing.c: Removed some old code that didn't do anything.
+
+2008-07-24  Massimiliano Mantione  <massi@ximian.com>
+       * profiler.c: Added runtime_initialized_event,
+       mono_profiler_install_runtime_initialized and
+       mono_profiler_runtime_initialized. This new hook tells the profiler
+       when the runtime is sufficiently initialized to be able to call
+       mono_thread_attach on the root appdomain.
+       * profiler.h, profiler-private.h: Likewise.
+
+2008-07-23 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c (do_cast): Do boxing for generic arguments as well.
+
+       * class.c (is_nesting_type): Drop generic instantiations before
+       checking for nesting.
+
+       * class.c (can_access_instantiation): Allow access to generic
+       arguments.
+
+2008-07-23 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c (verify_class_for_overlapping_reference_fields):
+       On some cases, the field size might be zero, guard against that.
+       Fix the explicit layout check to work as expected.
+
+2008-07-23  Zoltan Varga  <vargaz@gmail.com>
+
+       * threads.c (ves_icall_System_Threading_Thread_Abort): Avoid calling 
+       mono_thread_resume () during shutdown, since the thread we want to abort
+       might be suspended.
+
+2008-07-22  Zoltan Varga  <vargaz@gmail.com>
+
+       * mono-debug-debugger.c (mono_debugger_check_breakpoints): Fix a 
+       warning.
+
+       * debug-mono-symfile.c: Fix a warning.
+
+       * mono-perfcounters.c (get_cpu_times): Fix a warning.
+
+       * object.c (mono_class_vtable): Check if exception_type is set, and return
+       NULL as defined by the function comments.
+
+2008-07-22  Mark Probst  <mark.probst@gmail.com>
+
+       * mempool.c: Use malloc for every single mempool allocation if the
+       configure option is set.  This makes it easier to track mempool
+       allocations with tools like Valgrind.
+
+2008-07-22  Jb Evain  <jbevain@novell.com>
+
+       * reflection.c (create_dynamic_mono_image): emit the same
+       metadata version that SL2 does when creating a SL2 image.
+
+2008-07-21 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * icall-def.h:
+       * icall.c: New icall System.Enum:get_hashcode. This function
+       avoids the overhead of boxing the enum to the underlying type.
+
+2008-07-21  Mark Probst  <mark.probst@gmail.com>
+
+       * reflection.c (mono_method_get_object): Don't let static RGCTX
+       invoke wrappers get into MonoReflectionMethods.
+
+2008-07-17 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * object-internals.h:
+       * object.c: New mono_runtime_class_init_full function
+       that makes throwing the exception optinal.
+
+       * class-internals.h: New exception type MONO_EXCEPTION_OBJECT_SUPPLIED
+       for the case where the exception object is supplied.
+
+2008-07-16  Kornél Pál  <kornelpal@gmail.com>
+
+       * coree.h: Define __ImageBase as _image_base__ on cygwin that fixes build with
+       old ld versions.
+
+       Contributed under MIT/X11 license.
+
 2008-07-16 Rodrigo Kumpera  <rkumpera@novell.com>
 
        * string-icalls.c (ves_icall_System_String_InternalSplit):
        vtable when possible. Reduces locking contention on reflection heavy
        code.
 
-2008-07-15  Jonathan Chambers  <joncham@gmail.com>
-
-       * assembly.c (mono_set_rootdir): Revert part of mixed
-       mode assembly patch to fix build. Use mono_module_handle
-       instead of linker specific __ImageBase.
-       
-       * coree.h: Add back mono_module_handle.
-       
-       * coree.c: Add back mono_module_handle.
-
-       Code is contributed under MIT/X11 license.
-
 2008-07-15  Zoltan Varga  <vargaz@gmail.com>
 
        * decimal.c (my_g_bit_nth_msf): Implement this directly without calling