2010-02-11 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / metadata / ChangeLog
index 18330440e1073347a39e849be22437fce3adb8e2..f99d9c2b54f3f97a45f238853249521ce61ae37f 100644 (file)
@@ -1,3 +1,305 @@
+2010-02-11  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * attrdefs.h:
+       * tabledefs.h: Add NoOptimization flag.
+
+2010-02-10  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Don't consider it a missing remset if the target
+       object is pinned - we might have done the store but not added the
+       remset yet.
+
+2010-02-10  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: When checking for missing remsets, don't assert on
+       the first one, but print them all and then assert.
+
+2010-02-10  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c (find_in_remset_loc): Handle the small bitmap case.
+
+2010-02-09  Miguel de Icaza  <miguel@novell.com>
+
+       * console-unix.c: On OSX Control-Y is assigned to
+       VDSUSP (non-Posix), the
+       suspend-program-next-time-it-tries-to-read-input command (this is
+       different than C-z, which suspends immediately).
+
+       Do the same thing that bash does and ignore this setting,
+       making our repl/getline support pasting.
+
+2010-02-10  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Simple plausibility check for scan_starts.
+
+2010-02-10  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Round up when calculating the number of scan starts.
+
+2010-02-10  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * reflection.c: Export mono_get_object_from_blob.
+
+       * object-internals.h: Ditto.
+
+       * icall.c: New icall property_info_get_default_value to get the default
+       value of a property. Since using this is not common, no caching is done.
+
+       * icall-def.h: Add new icall.
+
+2010-02-10  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * class.c: Add mono_class_get_property_default_value.
+
+       * class-internal.h: Export mono_class_get_property_default_value.
+
+2010-02-10  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * reflection.c (mono_image_get_property_info): Encode the default value of a property.
+
+Wed Feb 10 14:48:45 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * sgen-gc.c: introduced critical regions to allow some lockless
+       operations and increase scalability.
+
+2010-02-10  Geoff Norton  <gnorton@novell.com>
+
+       * reflection.c: Support building with DISABLE_REFLECTION
+
+2010-02-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * threadpool.c: Fixes for SetMinThreads and SetMaxThreads.
+       Closes bug #566057.
+
+       * exception.c: fix typo in comment.
+
+2010-02-09  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * icall.c (param_info_get_type_modifiers): Handle the case when the member object is a
+       property. This happens which instances returned by PropertyInfo::GetIndexParameters ().
+
+       * reflection.c (mono_reflection_get_custom_attrs_info): Ditto.
+
+       * object-internals.h: Export mono_class_is_reflection_method_or_constructor as part of
+       the internal API.
+
+       Fixes #574434.
+
+2010-02-09  Mark Probst  <mark.probst@gmail.com>
+
+       * threads.c: Removed two assertions that were too strict.  Added a
+       clarifying comment.  Fixes #577090.
+
+2010-02-08  Zoltan Varga  <vargaz@gmail.com>
+
+       * domain.c (mono_jit_info_table_find): Avoid looking in the root domain, since
+       the caller has no way of knowing the domain which owns the returned MonoJitInfo.
+
+       * appdomain.c (create_exceptions): Call mono_thread_push/popappdomain_ref ().
+
+       * verify.c (mono_type_get_stack_name): Fix a warning.
+
+2010-02-07  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (mono_marshal_get_wrapper_info): Rename from
+       mono_marshal_wrapper_info_from_wrapper.
+
+       * marshal.c (mono_marshal_set_wrapper_info): Rename from
+       mono_marshal_method_set_wrapper_data, and export.
+
+       * boehm-gc.c sgen-gc.c null-gc.c: Get rid of mono_gc_get_allocator_type, store
+       the allocator type in a AllocatorWrapperInfo structure instead, which is accesible
+       by calling mono_marshal_get_wrapper_info ().
+
+       * sgen-gc.c (mono_gc_get_managed_allocator): Add a specialized allocator for
+       small objects which does no size checks.
+
+2010-02-05  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * icall-def.h: Rename get_MetadataToken to GetMetadataToken.
+
+2010-02-04  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c (mono_method_verify): Use the new basic block formation pass
+       to avoid verifying dead basic blocks. This is the same behavior as the
+       runtime MS verifier.
+
+2010-02-04  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * mono-basic-block.c:
+       * mono-basic-block.h: New implementation of a basic block formation pass.
+       The formation pass does static liveness analysis as well to detect dead
+       basic blocks.
+
+2010-02-04  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (mono_marshal_get_native_wrapper): Emit a null check for the
+       'this' argument in icalls.
+
+2010-02-02  Zoltan Varga  <vargaz@gmail.com>
+
+       * reflection.c (resolve_object): Handle MonoArrayMethod. Fixes #575955.
+
+2010-02-01  Mark Probst  <mark.probst@gmail.com>
+
+       * object.c, domain.c: When using SGen, we must register
+       vtable->type as a root if it's not a MonoType, because then it
+       wasn't pin-alloced.
+
+2010-02-01  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Reset to_space_bumper to to_space_section->next_data
+       at the start of nursery collections, because we might have had
+       degraded allocations which changed next_data.
+
+2010-01-30  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (mono_marshal_get_managed_wrapper): Avoid constructing the
+       custom attr so this function works in cross-compiling mode.
+
+2010-01-29  Zoltan Varga  <vargaz@gmail.com>
+
+       * class.c (make_generic_param_class): Initialize interface offsets since we
+       set klass->inited. Fixes #574819.
+
+2010-01-28  Zoltan Varga  <vargaz@gmail.com>
+
+       * domain.c (mono_domain_free): Send the END_UNLOAD profiler event before
+       calling the JIT domain cleanup hook.
+
+2010-01-28  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * pedump.c (main): Properly set the verifier mode when running the metadata
+       verifier.
+
+2010-01-28  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c (verify_class_for_overlapping_reference_fields): Properly verify
+       overlapping fields now that we're called before has_references is set.
+
+       * pedump.c (dump_verify_info): Clear any loader error before verifying another
+       method. Otherwise all sort of weird stuff happens.
+
+2010-01-27  Zoltan Varga  <vargaz@gmail.com>
+
+       * object.c (mono_field_get_value_object): Handle nullable types correctly.
+       Fixes #572874.
+
+2010-01-25  Zoltan Varga  <vargaz@gmail.com>
+
+       * icall.c (ves_icall_System_Array_SetValueImpl): Handle nullable types correctly.
+       Fixes #573322.
+
+2010-01-23  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-pinning.c (evacuate_pin_staging_area): Don't assume
+       pin_staging_area_index is greater than 0.
+
+2010-01-22 Miguel de Icaza (miguel@novell.com)
+
+       * loader.c: Since we do nothing with the error returned, pass NULL
+       to ignore the error.
+
+2010-01-21  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * reflection.c (typebuilder_setup_fields): Pretend field setup already
+       happened before starting to encode the actual fields. This avoid ciclic
+       dependencies and eventual crashes.
+
+       Fixes #572660.
+
+2010-01-21  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, gc-internal.h, object.c: Make string allocation
+       atomic and remove the half-constructed hack in SGen.
+
+2010-01-21  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * metadata-verify.c (parse_generic_inst): Fail a type signature if it 
+       has a recursive reference to itself.
+
+       Fixes #571863.
+
+2010-01-21  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * loader.c (mono_method_signature): Fix error message.
+
+2010-01-21  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Reuse to-space sections between nursery collections.
+
+2010-01-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * icall.c: don't raise AppDomain.TypeResolve when the type is loaded
+       from the current assembly or mscorlib. Fixes bug #322957.
+
+2010-01-20  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c: Calculate the target class of the delegete invoke wrappers using
+       get_wrapper_target_class.
+
+2010-01-19  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Fix warnings.
+
+2010-01-19  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c (store_local): Better error message.
+
+2010-01-19  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * object.c (mono_object_get_virtual_method): Handle generic interfaces with variant
+       arguments.
+
+2010-01-19  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * icall.c (ves_icall_Remoting_RemotingServices_GetVirtualMethod): This
+       function is generics variance aware.
+
+2010-01-19  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * security-core-clr.c (mono_security_core_clr_can_access_internals):
+       Handle the case where 'basedir' can be NULL (e.g. SRE assemblies)
+
+2010-01-19  Sylvain Dupont <duposyl@gmail.com>
+
+       * cominterop.c marshal.c: Added support for marshalling in, in/byref,
+         in/out, in/out/byref parameters of type SAFEARRAY[VARIANT].
+
+       Code is contributed under MIT/X11 license.
+
+2010-01-19  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * icall.c (ves_icall_MonoMethod_GetGenericMethodDefinition): Handle inflated generic methods
+       on a GTD.
+
+2010-01-19  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (mono_marshal_wrapper_info_from_wrapper): New helper function to
+       return a point to a wrapper specific info structure describing the wrapper.
+       (mono_marshal_get_array_address): Store the rank+elem_size in the wrapper info.
+2010-01-18  Mark Probst  <mark.probst@gmail.com>
+       * sgen-gc.c: Make minor collection section allowance adaptive,
+       depending on the amount of memory reclaimed in the last major
+       collection.  If more memory was reclaimed (i.e. more garbage
+       produced), do the next collection earlier.
+
+2010-01-18  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * metadata-verify.c (parse_type): Fail a type signature if it has a recursive reference
+       to itself.
+
+       * metadata-verify.c (mono_verifier_verify_typespec_signature): Change signature to take
+       the token as parameter.
+
+       * verify-internals.h: Ditto.
+
+       * metadata.c (mono_type_create_from_typespec): Pass token to verifier.
+
+       Fixes #571460.
+
 2010-01-18  Mark Probst  <mark.probst@gmail.com>
 
        * sgen-gc.c: Make store_remset_buffer_index long.