2010-06-30 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / metadata / ChangeLog
index 04d87fe7aa74fd8ecd4c1cca1cf546cc7e98fa73..3887de1fad49d3a25e4048506e7d0e6e304e570e 100644 (file)
@@ -1,3 +1,231 @@
+2010-06-30 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * assembly.c (framework_assemblies): Add 3.5 assemblies.
+
+       * domain-internals.h (MonoRuntimeInfo): Increase version_sets
+       by one to have room to remap 3.5 assemblies.
+
+       * domain.c (supported_runtimes): Add 3.5 remapping information.
+
+2010-06-30 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * reflection.c (mono_image_create_token): Handle a
+       FieldBuilder from a different assembly.
+
+       Fixes #611836.
+
+2010-06-30 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c (do_store_static_field): Improve error
+       message.
+
+2010-06-29 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * assembly.c: Revert r159692 since it breaks loading 3.5
+       assemblies under 2.0.
+
+2010-06-29 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * icall.c (ves_icall_Type_make_array_type): Raise a TLE if a
+       TypedByRef is passed.
+
+       * icall.c (ves_icall_Type_make_byref_type): Ditto.
+
+       * icall.c (ves_icall_Type_MakePointerType): Ditto.
+
+       Fixes #612780.
+
+2010-06-29 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * assembly.c: Add a few more assemblies to the list of framework
+       assemblies.
+
+       Fixes #617714.
+
+2010-06-28  Zoltan Varga  <vargaz@gmail.com>
+
+       * class.c (mono_class_get_vtable_entry): Avoid a crash if mono_class_setup_vtable ()
+       fails.
+
+2010-06-25  Mark Probst  <mark.probst@gmail.com>
+
+       * class.c (mono_class_inflate_generic_method_full_checked): Added
+       a comment regarding a hack in mini-trampolines.c.
+
+2010-06-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * sgen-gc.c (mono_gc_wbarrier_value_copy_bitmap): Use SIZEOF_VOID_P instead of
+       sizeof(SIZEOF_VOID_P) which is 4.
+
+       * gc.c (mono_gc_init): Move the GC disabled check to *-gc.c.
+
+2010-06-25  Zoltan Varga  <vargaz@gmail.com>
+
+       * null-gc.c boehm-gc.c: Define the mono_gc_ pthread wrapper functions for these
+       GCs too.
+
+       * *-gc.c (mono_gc_wbarrier_value_copy_bitmap): Implement this for all GCs.
+
+       * sgen-gc.c (mono_gc_is_moving): New function returning whenever this GC can move
+       objects.
+
+       * *-gc.c (mono_gc_set_desktop_mode): New function setting up the GC to work in
+       desktop mode.
+
+2010-06-25  Zoltan Varga  <vargaz@gmail.com>
+
+       * *-gc.c (mono_gc_get_description): New function returning a human readable
+       description of the current GC.
+
+2010-06-24  Miguel de Icaza  <miguel@novell.com>
+
+       * mono-hash.c: Moved here from mono/utils as this file is
+       GC-aware, and the utils directory is not.
+
+2010-06-23  Miguel de Icaza  <miguel@novell.com>
+
+       * Makefile.am: Add support for building a sgen-aware versions of
+       the libraries: libmonoruntimesgen.la libmonoruntimesgen-static.la,
+       they share all the components of the default, but use a differen
+       set of CFLAGS to enable SGEN instead.
+
+       Put the BOEHM defines in the CFLAGS definition. 
+
+       * domain-internals.h (MonoJitInfo): this structure used to have
+       different sizes depending on the GC that was configured (Boehm vs
+       SGen).   I have removed this difference for the sake of avoiding
+       the complexity of dealing with the mono/arch directory requiring
+       GC-specific changes to their Makefiles.
+
+2010-06-23  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-los.c, sgen-marksweep.c: Fix warnings.
+
+2010-06-22 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * metadata.c (mono_metadata_type_hash): Don't hash
+       the type kind for dynamic types since it can change.
+
+2010-06-22 Geoff Norton  <gnorton@novell.com>
+
+       * sgen-os-mach.c: We cannot call malloc from the gc, so we need to use
+       alloca instead to prevent a deadlock.
+
+2010-06-22  Geoff Norton  <gnorton@novell.com>
+
+       * domain.c: Allow gettings the tls key, since we need it for
+       cross thread tls poking in sgen-mach
+       * sgen-gc.(c|h), gc-internal.h: Rework sgen into having some functions
+       in external files for platform specific STW support.
+       * sgen-os-mach.c: Add a new mach kernel backend implementation of STW.
+       * sgen-os-posix.c: Move the existing posix signal based STW here.
+
+2010-06-21  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (mono_array_to_lparray): Allow MONO_TYPE_PTR. Fixes #615952.
+
+2010-06-21 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * object-internals.h: Map new PropertyBuilder fields.
+
+       * reflection.c (property_encode_signature): Emit an instance
+       signature if property's callconv is hasthis.
+
+       * appdomain.c: Bump corlib version.
+
+2010-06-20  Jb Evain  <jbevain@novell.com>
+
+       * metadata-verify.c: do not consider the assembly invalid if it
+       doesn't have a #Blob stream as resource assemblies don't
+       necessarily have one.
+
+2010-06-17  Geoff Norton  <gnorton@novell.com>
+
+       * sgen-archdep.h: sgen support for arm linux and darwin.
+
+2010-06-17  Zoltan Varga  <vargaz@gmail.com>
+
+       * loader.c (mono_method_get_header): Avoid a crash if the declaring method
+       has a faulty header.
+
+2010-06-17 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * sgen-gc.c (mono_gc_wbarrier_value_copy_bitmap): Work in a similar
+       way to mono_gc_wbarrier_value_copy but takes a bitmap that
+       indicates which slots need a write barrier.
+
+2010-06-14  Jonathan Pryor <jpryor@novell.com>
+
+       * Makefile.am (EXTRA_DIST): Add runtime.h.
+
+2010-06-14  Zoltan Varga  <vargaz@gmail.com>
+
+       * object.c (build_imt_slots): Don't crash if callbacks.get_imt_trampoline is not set.
+
+2010-06-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * object.c (mono_method_add_generic_virtual_invocation): Fix the computation of the
+       IMT slot which is passed to callbacks.get_imt_trampoline.
+
+2010-06-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * object.c: Use a callback to create IMT trampolines, allowing the usage of one
+       imt trampoline per imt slot when using LLVM.
+
+2010-06-10  Jonathan Pryor <jpryor@novell.com>
+
+       * object.c (mono_runtime_run_main): Move fire_process_exit_event() into
+         runtime.c:mono_runtime_shutdown().
+       * runtime.c: Added; adds mono_runtime_shutdown(), which invokes the
+         AppDomain.ProcessExit event in all AppDomains.
+
+2010-06-06  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (mono_marshal_get_runtime_invoke): Don't set *exc to NULL, it is now
+       done by the caller.
+
+2010-06-05  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-los.c: Keep bitmaps on chunk usage in LOS sections to speed
+       up freeing.
+
+2010-06-05  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-los.c: New LOS allocator that allocates large
+       segments of memory at once, to reduce the number of mmap/munmap
+       calls.
+
+2010-06-05  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-protocol.c, sgen-protocol.h: Protocol degraded
+       allocations and distinguish between normal, degraded and pinned
+       allocations.
+
+2010-06-05  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-major-copying.c, sgen-marksweep.c: Make degraded
+       allocations count toward major collections and trigger major
+       collections from degraded allocations if appropriate.
+
+2010-06-05  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-marksweep.c (ms_get_empty_block): Update heap boundaries.
+
+2010-06-05  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Enable mark&sweep again.
+
+2010-06-05  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Increase the maximum small object size to 8000 bytes.
+
+2010-06-05  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-major-copying.c, sgen-marksweep.c: Have only one
+       major heap allowance for minor collections, instead of two
+       separate ones for small and large objects.  This reduces the
+       number of major collections.
+
 2010-06-04  Marek Habersack  <mhabersack@novell.com>
 
        * icall.c (ves_icall_MonoType_GetEvent): be case insensitive is