Mon Mar 8 10:13:52 CET 2010 Paolo Molaro <lupus@ximian.com>
[mono.git] / mono / metadata / ChangeLog
index 73a2962909fdf3b22a84d2edb64f74ea313ab6d6..68fc77120ed66ce5ea8eaa51f4d8796c952a8599 100644 (file)
@@ -1,4 +1,213 @@
 
+Mon Mar 8 10:13:52 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * metadata.h: more space savings, both with small config and without.
+
+2010-03-06  Zoltan Varga  <vargaz@gmail.com>
+
+       * monitor.c (mono_monitor_exit): Raise an exception if the object is not locked,
+       MS does this from net 2.0 onwards.
+
+Fri Mar 5 19:05:47 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * threads.c: reduce resource usage when compiled for a small config.
+
+Sat Mar 6 19:12:12 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * appdomain.c, domain-internals.h, domain.c, object.c:
+       make class_vtable_hash into an array to reduce memory usage.
+
+Sat Mar 6 18:16:35 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * mempool.c, class-internals.h, class.c, icall.c, metadata.c,
+       object-internals.h, object.c, reflection.c, threadpool.c:
+       reduce resource usage when the small config is selected.
+       In particular, up to 64K of methods/fields/properties/events
+       are allowed and "other" methods in events are ignored.
+
+Fri Mar 5 19:05:47 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * threads.c: reduce resource usage when compiled for a small config.
+
+2010-03-05  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Also collect number of degraded-alloced objects with
+       heavy statistics.
+
+2010-03-04  Geoff Norton  <gnorton@novell.com>
+
+       * assembly.c: Only support OSX bundling if the bundle is 
+       actually detectable.
+
+2010-03-04  Geoff Norton  <gnorton@novell.com>
+
+       * loader.c: The marshal specs are freed at the end of the call
+       but it explicitly frees the strings as well as the container,
+       so we need to dup them too to avoid referencing free'd memory.
+
+2010-03-04  Geoff Norton  <gnorton@novell.com>
+
+       * icall-def.h:
+       * icall.c: Add a new private internal icall to construct
+       an object from its type without running the ctor.
+
+Thu Mar 4 15:37:09 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * profiler.c: allow multiple profiler engines to be loaded
+       at the same time.
+
+Wed Mar 3 20:19:45 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * profiler-private.h, profiler.c, profiler.h, sgen-gc.c: introduce
+       profiler event to track object moves.
+
+Wed Mar 3 19:20:39 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * object.c, profiler.c, profiler.h, string-icalls.c:
+       remove the reduntant MONO_PROFILE_STRING_ALLOC profiler event.
+
+2010-03-03  Miguel de Icaza  <miguel@novell.com>
+
+       * decimal.c (mono_double2decimal): Add support for reducing the
+       scale of a decimal.  It turns the 0.6000000000000 into 0.6 as
+       expected.
+
+2010-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * icall-def.h:
+       * icall.c: Implement System.MonoType::get_core_clr_security_level icall.
+
+2010-03-03  Marek Habersack  <mhabersack@novell.com>
+
+       * mono-config.c (mono_config_parse_assembly_bindings): added -
+       parses assembly binding redirections from appdomain's config
+       file.
+
+       * metadata-internals.h: added definition of a new function -
+       mono_config_parse_assembly_bindings - to support parsing assembly
+       binding redirections defined in appdomain's config file.
+
+       * domain-internals.h: added two new fields to _MonoDomain - a list
+       of assembly bindings and a flag to parse the config file only
+       once.
+
+       * assembly.c (assembly_binding_maps_name): empty culture name and
+       NULL culture name are considered equal.
+       (mono_assembly_apply_binding): added support for domain specific
+       assembly binding redirections, read from the appdomain's
+       configuration file. Fixes bug #580185
+
+Wed Mar 3 11:46:06 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * appdomain.c, domain.c, icall.c, image.c, marshal.c, object.c,
+       reflection.c, socket-io.c, threadpool.c, threads.c: removed 1.1/1.0
+       support.
+
+2010-03-02 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * reflection.c (mono_image_get_memberref_token): Extract mono_image_add_memberef_row
+       from this function. The new function receive the parent token instead of a type.
+
+       * reflection.c (mono_image_get_methodref_token_for_methodbuilder):
+       * reflection.c (mono_image_get_ctorbuilder_token): Use new function to encode
+       typebuilders. This make it possible to properly encode generic type builders since
+       their unmanaged type don't have generics data while unfinished.
+
+       Fixes #583655.
+
+2010-03-02  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-protocol.c, sgen-protocol.h: New facility for
+       writing binary log files (can be enabled by #define'ing
+       BINARY_PROTOCOL) for better debugging of timing-dependent bugs or
+       bugs in longer running programs.
+
+Mon Mar 1 19:35:32 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * metadata.c: added some API documentation.
+
+2010-03-01  Robert Jordan  <robertj@gmx.net>
+
+       * filewatcher.h: Include glib.h to fix the MSVC build.
+
+2010-03-01  Zoltan Varga  <vargaz@gmail.com>
+
+       * class-internals.h (MonoClass): Get rid of the reflection_info field, add
+       a GC handle instead. This is a bit slower to access, but avoids burdening the
+       GC with 100s of individual roots.
+
+       * reflection.c (mono_class_get_ref_info):
+       (mono_class_set_ref_info):
+       (mono_class_free_ref_info): New internal helper fuctions.
+
+       * reflection.c appdomain.c icall.c class.c: Use the new helper functions instead
+       of accessing klass->reflection_info directly.
+
+       * sgen-gc.c (alloc_complex_descriptor): Fix the computation of the number of
+       words.
+
+       * gc.c (alloc_handle): Create a GC descriptor for the 'entries' array, free
+       the previous array.
+
+2010-02-28  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (get_runtime_invoke_type): Avoid sharing byref with I, as the latter
+       needs an indirection.
+
+2010-02-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * generic-sharing.c: Removed, moved its contents to mini/mini-generic-sharing.c,
+       so all generic sharing code is in one place.
+
+       * class.c (get_implicit_generic_array_interfaces): Fix the last change so
+       we don't call setup_interface_offsets () for unfinished types.
+
+2010-02-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * class.c (mono_class_generic_sharing_enabled): Move this to
+       generic-sharing.c.
+
+       * image.c: Add an unload hook which is called before an image is unloaded.
+
+       * generic-sharing.c: Use the unload hook to unregister per-image data, to avoid
+       metadata.c having to depend on generic sharing.
+
+Fri Feb 26 19:23:18 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * class.c: reduce size of ridiculously large cache.
+
+2010-02-26  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug.h
+       (MONO_DEBUGGER_MINOR_VERSION): Bump to 5.
+
+       * threads.c (mono_thread_internal_reset_abort): New method; resets
+       the abort, but doesn't throw any exception if no abort was requested.
+
+2010-02-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * class.c (get_implicit_generic_array_interfaces): Call
+       mono_class_setup_interface_offsets () before accessing
+       eclass->interface_offsets_count. This only shows up on platforms without IMT for
+       some reason.
+
+Thu Feb 25 12:12:44 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * environment.c, environment.h, icall.c: make the GetOSVersionString()
+       icall internal.
+
+Thu Feb 25 11:37:50 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * metadata.c, metadata.h: make MONO_TYPE_IS* functional without
+       direct access to the MonoType fields.
+
+2010-02-25  Zoltan Varga  <vargaz@gmail.com>
+
+       * threads.h: Move some internal functions which were added to this header by
+       mistake to threads-types.h.
+
+       * class.c (mono_class_init): Get rid of mono_setup_vtable_in_class_init.
+
 Wed Feb 24 17:45:27 CET 2010 Paolo Molaro <lupus@ximian.com>
 
        * class-internals.h, class.h, object.h: make MonoRemoteClass