[corlib] Improve CancellationTokenSource test
[mono.git] / mono / metadata / ChangeLog
index 0112763c0faae908bd9e4ad2567eabef5550cf7f..08ae4973096fc60608c73be7d14452e25e9ec40a 100644 (file)
@@ -1,3 +1,261 @@
+2011-01-04  Veerapuram Varadhan  <v.varadhan@gmail.com>
+
+       * assembly.c (framework_assemblies): Map System.Transactions to
+       4.0 framework assemblies.
+
+       Fixes #635335
+
+2010-11-03  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug.c (mono_register_symfile_for_assembly): New method.
+       This is used together with mono_register_bundled_assemblies() and
+       mono_register_config_for_assembly() to support bundles.
+
+2010-07-30  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-archdep.h (ARCH_COPY_SIGCTX_REGS): Add casts to fix
+       compiler warnings on AMD64.
+
+2010-07-29 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       Add support for calling vararg methods from SRE code.
+       This requires storing per-memberref signatures so
+       the JIT can know how many varargs parameters are
+       been passed.
+
+       * loader.c (mono_method_get_signature_full): If the
+       image is dynamic call mono_reflection_lookup_signature
+       to lookup the signature.
+
+       * reflection.c (mono_image_create_method_token): Save
+       the method object into the MonoDynamicImage::tokens.
+       Create a signature struct for MethodBuilders.
+       Save the signature into vararg_aux_hash so it can be
+       retrieved later.
+
+       * reflection.c (mono_reflection_lookup_signature): New
+       function. Check vararg_aux_hash for a signature before
+       returning method's own signature.
+
+       * metadata-internals.h (MonoDynamicImage): Add new
+       vararg_aux_hash hashtable.
+
+       * object-internals.h: Add mono_reflection_lookup_signature.
+
+       Fixes #626441
+
+2010-07-28 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c (mono_method_verify): Don't move forward
+       with verification if a stack overflow is detected for
+       the ARGLIST opcode.
+
+       Fixes #601953
+
+2010-07-28 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * class.c (mono_bounded_array_class_get): Fail arrays
+       of void or typedbyref. Those two types are not allowed
+       to be used with arrays. Failing them is easier and less
+       error prone than returning NULL.
+
+       Fixes #603279
+
+2010-07-28 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * object.c (mono_get_delegate_invoke): Don't assert if
+       the Invoke method is not found. This can happen with
+       broken types and it's the caller resposibility to deal
+       with a null return.
+
+       Fixes #553403
+
+2010-07-28 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * class.c (mono_assembly_name_from_token): Handle
+       images with null assembly. This can happen with resource
+       or broken assemblies.
+
+       Fixes #623586.
+
+2010-07-27 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * class.c (concat_two_strings_with_zero): Guard against
+       null strings.
+
+       Modified version of patch by Sebastien Pouliot.
+
+       Fixes #623653.
+
+2010-07-27 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * image.c (mono_image_load_module): Handle the case of
+       module index equal or smaller than zero. It is possible
+       to embed a valid zero index into metadata so this case
+       must be explicitly handled.
+
+       Patch by Sebastien Pouliot.
+
+       Fixes #623581.
+
+2010-07-27 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * metadata-verify.c (INVALID_IMPLMAP_FLAGS_BITS): Add non standard
+       bits for best fit on/off (4,5) and throw on unmappable on/off (12/13).
+
+       Fixes #622221.
+
+2010-07-27  Geoff Norton  <gnorton@novell.com>
+
+       * sgen-archdep.h: Ensure we store the registers we actually
+       need to scan.
+
+2010-07-27 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c (do_invoke_method): Improve error message.
+
+2010-07-27 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c (mono_generic_param_is_constraint_compatible): Don't
+       fail a contraint check even if the candidate has no constraints.
+       All constraints might resolve to the candidate itself so it can
+       have none.
+
+       Fixes #622225.
+
+2010-07-25  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-internal.c: Only compile this if HAVE_SGEN_GC is defined.
+
+2010-07-24  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-internal.c, sgen-gc.h, sgen-major-copying.c: Make the
+       internal allocator fast by keeping free-lists of chunks, not only
+       within chunks.  Align the chunks, so that on freeing we can get
+       the chunk without searching.
+
+2010-07-24  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-internal.c, sgen-gc.c, sgen-gc.h, sgen-gray.c,
+       sgen-major-copying.c, sgen-marksweep.c, sgen-pinning-stats.c,
+       sgen-pinning.c: Allocate fixed-size structs without specifying the
+       size, instead registering it once with its type.
+       Dynamically-sized need their size specified when being freed.
+
+2010-07-24  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-major-copying.c, sgen-internal.c, sgen-gc.c, sgen-gc.h,
+       sgen-pinning.c: Copying major collector doesn't mess around with
+       internals of the internal allocator anymore, instead using public
+       functions.
+
+2010-07-24  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-internal.c: Internal allocator in its own module.
+
+       * sgen-gc.c, sgen-gc.h, sgen-gray.c, sgen-los.c,
+       sgen-major-copying.c, sgen-marksweep.c, sgen-pinning.c,
+       sgen-pinning-stats.c: Remove internal allocator and call the
+       public functions now.
+
+       * Makefile.am: Added new file.
+
+2010-07-24  Zoltan Varga  <vargaz@gmail.com>
+
+       * sgen-archdep.h (ARCH_COPY_SIGCTX_REGS): Fix warnings on amd64.
+
+2010-07-24  Sanjoy Das <sanjoy@playingwithpointers.com>
+
+       * sgen-gc.h: Removed 'foo defined but not used' warnings for the
+         *_signal_num variables.
+
+2010-07-23  Zoltan Varga  <vargaz@gmail.com>
+
+       * file-io.c (ves_icall_System_IO_MonoIO_Read): Add a null check.
+       (ves_icall_System_IO_MonoIO_Write): Ditto.
+
+       * loader.c (mono_loader_cleanup): Delete loader_mutex, the shutdown races should
+       be fixed now.
+
+2010-07-23  Zoltan Varga  <vargaz@gmail.com>
+
+       * loader.c (mono_loader_lock_if_inited): New helper function which can be called
+       during startup before the loader lock is initialized.
+       (mono_loader_unlock_if_inited): Ditto.
+
+
+2010-07-21  Geoff Norton  <gnorton@novell.com>
+
+       * sgen-archdep.h: Fix the build on amd64-darwin.
+
+2010-07-16  Zoltan Varga  <vargaz@gmail.com>
+
+       * object.c (mono_print_unhandled_exception): Fix a warning.
+
+2010-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * threadpool.c: use a monitor thread to start up new ones when needed.
+       Fixes bug #622398.
+
+Thu Jul 15 18:44:44 CEST 2010 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c, class-internals.h, class.c, icall.c: support
+       reflection of default constant value for Re.Emit properties.
+
+2010-07-14  Miguel de Icaza  <miguel@novell.com>
+
+       * reflection.c (load_cattr_value): Add support for encoding
+       DateTime constants into the blob.    Turns out that this is
+       required by .NET, it was only documented post 1.0.
+
+       * icall.c (ves_icall_type_GetTypeCodeInternal): Guard test for
+       System.Decimal and System.DateTime inside a mono_is_corlib_image
+       call.   A sample program showed that we could return the wrong
+       TypeCode just by creating a class with those names. 
+
+       * class.c (mono_is_corlib_image): Exposed this to other metadata/
+       code.
+
+2010-07-14  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * security-core-clr.c: Don't abort (only warn) if we cannot find 
+       a caller for relfecting code (transparent is assumed). Fix
+       get_method_access_exception to accept a NULL caller.
+
+2010-07-14  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Heavy statistics on the internal allocator.
+
+2010-07-13  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-marksweep.c, sgen-gc.h: Keep track of num_empty_blocks
+       properly and in a thread-safe way.
+
+2010-07-13  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-marksweep.c: Make object marking thread-safe.
+
+2010-07-13  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Versions of safe_object_get_size() and
+       copy_object_no_checks() that work without the object's vtable
+       intact, by passing the correct vtable as an argument.
+
+2010-07-13  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-marksweep.c: Make allocation of major sections thread-safe.
+
+2010-07-13  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-gc.h, sgen-los.c, sgen-major-copying.c,
+       sgen-marksweep.c: Update the heap boundaries thread-safe and lock
+       free if parallel mark is enabled.
+
+2010-07-13  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-gc.h, sgen-major-copying.c: Lock the internal
+       allocator if parallel mark (not committed yet) is enabled.
+
 2010-07-12 Rodrigo Kumpera  <rkumpera@novell.com>
 
        * reflection.c (inflate_mono_method): Handle dynamic
@@ -410,6 +668,28 @@ Wed Jun 30 12:08:36 CEST 2010 Paolo Molaro <lupus@ximian.com>
        separate ones for small and large objects.  This reduces the
        number of major collections.
 
+2010-06-04  Damien Diederen  <dd@crosstwine.com>
+
+       * icall.c (ves_icall_System_Char_GetDataTablePointers),
+       char-conversions.h: New Unicode category tables compatible with MS .NET
+
+       These new category tables, generated using create-category-table(.cs)
+       available in the mcs sources, make the Mono runtime understand the
+       same Unicode category codes as recent versions of Microsoft's runtime.
+
+       CategoryData_v2 matches versions v2.0.50727 and v3.5.21022 of .NET.
+
+       CategoryData_v4 matches version v4.0.30319 of .NET.  The v4 tables
+       can be disabled by defining the DISABLE_NET_4_0 preprocessor symbol.
+
+       Similarly, the astral portions of both tables can be disabled by
+       defining the DISABLE_ASTRAL preprocessor symbol.
+
+       CAUTION: Mcs has to be updated with the corresponding patches, or
+       Mono will suffer a low-level (internal call) crash when
+       initializing System.Char.
+
+
 2010-06-04  Marek Habersack  <mhabersack@novell.com>
 
        * icall.c (ves_icall_MonoType_GetEvent): be case insensitive is
@@ -23014,7 +23294,7 @@ Fri May 27 14:45:56 CEST 2005 Paolo Molaro <lupus@ximian.com>
 2005-05-11  Martin Baulig  <martin@ximian.com>
 
        * mono-debug.c, mono-debug-debugger.c: Revert Paolo's locking
-       changes as they're broken and completely fuck up the debugger.
+       changes as they're broken and mess with the debugger.
 
        * mono-debug.c (mono_debug_add_method): Properly unlock on error.