2005-03-10 Martin Baulig <martin@ximian.com>
[mono.git] / mono / metadata / ChangeLog
index 7ca03d60b77943849ced5c16031c1aeee9fe80a3..fae09cb504fff7dcd67f6961a406df61522a6695 100644 (file)
@@ -1,3 +1,183 @@
+2005-03-10  Martin Baulig  <martin@ximian.com>
+
+       * class.c (mono_bounded_array_class_get): Initialize `eclass' if
+       it's a generic instance.
+
+2005-03-09  Zoltan Varga  <vargaz@freemail.hu>
+
+       * reflection.c (mono_get_object_from_blob): Applied patch from
+       Ankit Jain (radical@gmail.com). Fix enum default values. Fixes #73457.
+
+       * class.c (mono_class_is_assignable_from): Another try at fixing 
+       #73469 without breaking anything.
+
+2005-03-08  Zoltan Varga  <vargaz@freemail.hu>
+
+       * class.c: (mono_class_is_assignable_from): Revert the last changes
+       since they don't work with generics.
+       
+       * class.c (mono_class_is_assignable_from): Fix build bustage.
+
+       * class.c (mono_class_is_assignable_from): If oklass is dynamic, call
+       the managed IsAssignableFrom method. Fixes #73469.
+
+       * reflection.c (mono_reflection_call_is_assignable_from): New helper
+       function.
+
+2005-03-04  Zoltan Varga  <vargaz@freemail.hu>
+
+       * object.c (mono_load_remote_field_new): Fix returning uninitialized
+       memory when the remoting callback does not sets the out arguments.
+       Fixes #73007.
+
+       * marshal.c (mono_delegate_free_ftnptr): Remove debug array checked in
+       by mistake.
+
+       * string-icalls.c: Return String.Empty where needed. Fixes #73310.
+
+       * object-internals.h (MonoStackFrame): Sync with managed object layout.
+
+       * appdomain.c: Bump corlib version.
+
+2005-03-03  Zoltan Varga  <vargaz@freemail.hu>
+
+       * gc-internal.h boehm-gc.c null-gc.c: Add mono_gc_is_gc_thread () API
+       function.
+
+       * threads.c (mono_thread_attach): Detect threads which are not started
+       by the GC pthread wrappers.
+
+2005-03-03  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * icall.c: Added new icall for RNG.
+       * rand.c|h: Added new icall to open the RNG. This allows to share a 
+       single handle on Linux to access /dev/urandom and fix #73183.
+
+Thu Mar 3 17:53:17 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * object.c: setting the new vtable in a transparent proxy object must
+       not change the GC descriptor.
+
+Thu Mar 3 12:11:46 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * object.c: fixed compilation without GCJ support.
+       * reflection.c: for runtime-created types ensure klass->has_references
+       is correct (bug #73215).
+
+2005-03-02  Martin Baulig  <martin@ximian.com>
+
+       * class.c (mono_class_is_assignable_from): Make this work if
+       `oklass' is a generic instance; fixes #72831.
+
+2005-03-01  Zoltan Varga  <vargaz@freemail.hu>
+
+       * marshal.c (mono_marshal_get_managed_wrapper): Fix handling of methods
+       with hasthis set.
+       
+       * marshal.c (emit_marshal_array): Emit native->managed marshalling of blittable arrays.
+
+       * marshal.c: Reorganize native->managed marshalling code to also use
+       the emit_marshal_... functions.
+
+Tue Mar 1 16:16:42 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * object.c: typed allocs have issues with bitmap sizes > 30,
+       so check for max_set >= 30.
+
+2005-03-01  Zoltan Varga  <vargaz@freemail.hu>
+
+       * marshal.c (emit_marshal_array): Implement marshalling of arrays to
+       managed code. Fixes #73012.
+
+       * metadata.h (MonoMarshalSpec): Add elem_mult field.
+
+       * metadata.c reflection.c: Load/Emit elem_mult as well.
+       
+       * metadata.h (MonoMarshalSpec): Add comment.
+
+       * metadata.h: Add MONO_MARSHAL_CONV_LPTSTR_STR.
+
+       * metadata.c (mono_metadata_parse_marshal_spec): Set param_num and
+       num_elem to -1 if not given.
+
+       * object-internals.h (MonoReflectionMarshal): Add has_size field.
+
+       * reflection.c (encode_marshal_blob): Differentiate between 0 and not
+       given values.
+
+2005-03-01  Marek Safar  <marek.safar@seznam.cz>
+
+       * null-gc.c (mono_gc_free_fixed): Was not compilable.
+
+2005-02-28  Zoltan Varga  <vargaz@freemail.hu>
+
+       * reflection.c (encode_marshal_blob): Encode param_num field as well.
+
+       * object-internals.h (MonoReflectionMarshal): Add param_num field.
+
+Mon Feb 28 11:59:42 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * object.c: generalized the reference bitmap creation
+       and added hooks for the new GC.
+       * class-internals.c: removed the gc_bitmap field from MonoClass.
+
+Sat Feb 26 16:06:59 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * domain.c: help the compiler to produce better code
+       in mono_jit_info_table_find ().
+
+Fri Feb 25 16:50:14 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * object.c: make all allocations look typed.
+
+Fri Feb 25 16:18:59 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * socket-io.c: load Mono.Posix if it's not loaded already
+       (fixes bug#73033).
+
+2005-02-24  Martin Baulig  <martin@ximian.com>
+
+       * class.c (dup_type): Correctly duplicate MONO_TYPE_PTR.
+       * reflection.c (dup_type): Likewise.
+
+2005-02-24  Zoltan Varga  <vargaz@freemail.hu>
+
+       * gc.c (run_finalize): Set the domain for finalizing delegates as well.
+       Thanks to Willibald Krenn and Scott Mohekey for tracking this down.
+
+Thu Feb 24 15:19:35 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * domain.c, threads.c, object-internals.h: make the critical thread
+       local vars use the fast access mode (even when we're compiled in
+       a lib). Provide accessors to be used by the jit during codegen.
+
+2005-02-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * appdomain.c: Changed hook functios behavior to include
+       support for the reflection only assemblies. Some icalls were changed
+       to support the mentioned assemblies too. Signatures of static methods
+       try_assembly_resolve and real_load now have an additional parameter:
+       refonly.
+
+       * assembly.c: General changes to mono_assembly_ methods to support
+       reflection only api. Functions mono_assembly_open, mono_assembly_load,
+       mono_assembly_load_from and mono_assembly_loaded have got a '_full'
+       suffix, to support an additional gbool parameter to specify whether
+       the assembli is reflection only or not. Created some new hook functions 
+       to add support for reflection only assemblies. Signatures of static 
+       methods load_in_path, search_loaded, and mono_assembly_load_from_gac 
+       have now an additional parameter: refonly.
+
+       * metadata-internals.h: MonoAssembly now has a gbool ref_only flag,
+       indicating whether the assembly is reflection only or not.
+
+       * exception.c: Add mono_get_exception_invalid_operation.
+
+       * icall.c: Throw an InvalidOperationException when trying to invoke
+       a property/method/event, or trying to set/get the value of a field.
+       Also add an icall to retrieve the ref_only flag to the
+       MonoReflectionAssembly.
+
 2005-02-23  Chris Toshok  <toshok@ximian.com>
 
        Part of fix for #72827.