Revert patch as it introduced a regression while building: ** ERROR **: file metadat...
[mono.git] / mono / metadata / ChangeLog
index 61ee622f7804b61258f8a60d316c4d40cd2c090c..94b3be28f3703c42c2c45e03cef74f96a39834e5 100644 (file)
@@ -1,3 +1,278 @@
+2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * socket-io.c: the field names were changed 3 months ago and no one
+       realized until bug #76077 got filed!
+
+2005-09-19  Zoltan Varga  <vargaz@gmail.com>
+
+       * appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.
+
+       * icall.c (custom_attrs_defined_internal): New icall.
+
+       * reflection.c (mono_reflection_get_custom_attrs_by_type): New helper
+       function.
+       (mono_custom_attrs_construct_by_type): New helper function.
+
+Thu Sep 8 18:54:07 BST 2005 Paolo Molaro <lupus@ximian.com>
+
+       * decimal.c: fixed to handle the broken ARM fp format.
+
+Wed Sep 7 22:17:58 BST 2005 Paolo Molaro <lupus@ximian.com>
+
+       * icall.c: on ARM use the libc strtod(), since bsd_strtod() seems
+       broken.
+
+2005-09-06  Martin Baulig  <martin@ximian.com>
+
+       * domain.c (supported_runtimes): Added v2.0.50727.
+
+Tue Sep 6 11:40:24 CEST 2005 Paolo Molaro <lupus@ximian.com>
+
+       * culture-info.h: reduce the size of some structures.
+
+2005-09-05  Martin Baulig  <martin@ximian.com>
+
+       Reflect latest API changes in the August CTP.
+
+       * icall.c
+       ("Type.BindGenericParameters"): Renamed to "MakeGenericType".
+       ("MonoType.HasGenericArguments"): Removed.
+       ("MonoMethod.BindGenericParameters"): Renamed to
+       "MakeGenericMethod".
+       ("MethodBuilder.BindGenericParameters"): Renamed to
+       "MakeGenericMethod".    
+
+2005-09-05  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug-debugger.c: Moved the debugger icalls into icall.c.
+
+2005-09-05  Martin Baulig  <martin@ximian.com>
+
+       Applying a patch from Michal Moskal <malekith@nemerle.org>.
+
+       * icall.c (ves_icall_Type_get_IsGenericType): Return true also if
+       generic_container is non-NULL.
+
+2005-09-05  Martin Baulig  <martin@ximian.com>
+
+       Applying a patch from Michal Moskal <malekith@nemerle.org>.
+
+       * object.c (set_value): In MONO_TYPE_VALUETYPE, add generics support.
+
+2005-08-29  Michal Moskal  <malekith@nemerle.org>
+
+       * reflection.c (encode_locals,
+       mono_reflection_sighelper_get_signature_local): Increase buffer sizes
+       for large generic types.
+
+2005-09-05  Martin Baulig  <martin@ximian.com>
+
+       Applying a patch from Michal Moskal <malekith@nemerle.org>.
+
+       * class.c (mono_dup_array_type): New public method.
+       (mono_metadata_signature_deep_dup): New public method.
+       (dup_type): Correctly duplicate array and function types.
+
+2005-09-05  Martin Baulig  <martin@ximian.com>
+
+       Applying a patch from Michal Moskal <malekith@nemerle.org>.
+
+       * reflection.c (get_default_param_value_blobs): Handle generic types
+       and generic methods.
+
+2005-09-02  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * class.c: Fixed error reporting (method/class were inversed) for 
+       inheritance demands.
+       * security-manager.c|h: Added the AppDomain when calling the managed
+       System.Security.SecurityManager.InheritanceDemand method.
+
+2005-09-01  Raja R Harinath  <rharinath@novell.com>
+
+       * reflection.c (encode_marshal_blob): 'marshaltype' and
+       'marshaltyperef' are alternate sources for the custom marshaler
+       name.
+
+Wed Aug 31 17:39:54 CEST 2005 Paolo Molaro <lupus@ximian.com>
+
+       * class.c: fix creation of array classes with rank == 1
+       (patch by Ankit Jain <jankit@novell.com>).
+
+Wed Aug 31 17:35:19 CEST 2005 Paolo Molaro <lupus@ximian.com>
+
+       * object.c: fix check for creating the bound data for arrays vs
+       szarrays.
+
+2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * object.c: configuration file name is now based on the executable name,
+       not the image name. Fixes bug #75931.
+
+2005-08-29  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (emit_thread_interrupt_checkpoint_call): Load the
+       flag using LDIND_U4 since it leads to smaller and faster code on ia64.
+
+2005-08-25  Zoltan Varga  <vargaz@gmail.com>
+
+       * rand.c: Use wincrypt.h instead of WinCrypt.h.
+
+2005-08-24  Ankit Jain  <jankit@novell.com>
+           Raja R Harinath  <rharinath@novell.com>
+
+       * class.c (mono_class_from_typeref): Don't call mono_class_init as we might've been
+         called by it recursively.
+         (mono_class_init): Remove special case in pending_init handling, since it's
+         superseded by the fix to mono_class_from_typeref.
+
+2005-08-22  Zoltan Varga  <vargaz@freemail.hu>
+
+       * threads.c (ves_icall_System_Threading_Thread_Thread_internal): Remove the 
+       BROKEN_THREAD_START stuff.
+
+2005-08-21  Zoltan Varga  <vargaz@freemail.hu>
+
+       * class-internals.h object.c: Add a new kind of trampoline called a delegate 
+       trampoline.
+
+       * domain-internals.h domain.c: Add a has for delegate trampolines to MonoDomain.
+       
+       * object.c (mono_delegate_ctor): Replace the original function address with
+       a delegate trampoline.
+
+2005-08-21 Gert Driesen <drieseng@users.sourceforge.net>
+
+       * icall.c: add boolean argument to base64_to_byte_array and 
+       InternalFromBase64String to control whether a whitespace-only string
+       is allowed (or should casue a FormatException to be thrown). We need
+       this as the behavior has changed between MS.NET 1.x and 2.0, and we
+       to match the MS behaviour in both profiles.
+       * appdomain.c: Bump corlib version.
+
+2005-08-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       This patch implements a big portion of publisher policy
+       support, used to bind assembly versions and redirect
+       one assembly from version A to version B.
+
+       * assembly.c:
+       New GSList loaded_assembly_bindings, for storing the cached
+       assembly bindings.
+       (assembly_binding_maps_name): New static function for checking if a 
+       assembly binding information maps an assembly name.
+       (mono_assembly_binding_info_free): New function for freeing
+       assembly binding information resources.
+       (get_publisher_policy_info): New static function for retrieving 
+       assembly binding information from a MonoImage.
+       (compare_versions): New static function for comparing an assembly
+       binding information data and the version of an assembly name.
+       (check_policy_versions): New static function for checking if an
+       assembly binding info mapping an assembly name is valid for it.
+       (mono_assembly_load_publisher_policy): New static function for
+       loading the 'policy.major.minor.MyAssembly' image for an assembly
+       with an assembly name 'aname'.
+       (mono_assembly_bind_version): New static function for updating
+       assembly redirection.
+       (mono_assembly_apply_binding): New static function for applying
+       assembly binding.
+       (search_binding_loaded): New static function for searching 
+       loaded assembly binding infos in the cache domain.
+       (mono_assembly_load_full): Don't apply assembly binding for
+       reflection only assemblies.
+
+       * metadata-internals.h: Add MonoAssemblyBindingInfo,
+       which contains information about assembly binding. Also
+       declare signature for mono_config_parse_publisher_policy ()
+       function, used to retrieve pub policy info.
+       
+       * mono-config.c:
+       (publisher_policy_start): New static function used to parse publisher 
+       policy config files.
+       (publisher_policy_parser): New static MonoParseHandler containing 
+       the functions used when parsing config files.
+       (mono_config_parse_publisher_policy): New function for parsing
+       publisher policy files.
+       
+2005-08-20  Zoltan Varga  <vargaz@freemail.hu>
+
+       * object.c (mono_delegate_ctor): Add support for IA64 function descriptors.
+
+       * marshal.c (mono_delegate_free_ftnptr): Ditto.
+
+       * object.c (mono_get_addr_from_ftnptr): New helper function.
+
+       * object.h (mono_array_addr): Fix unaligned access warnings on IA64.
+
+       * appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.
+
+2005-08-19  Dick Porter  <dick@ximian.com>
+
+       * threads.c, threads.h, appdomain.c, appdomain.h,
+       profiler-private.h, monitor.c, object.c, object-internals.h,
+       profiler.c, mono-debug-debugger.h, profiler.h: Use a gsize to
+       store the thread ID, so it can hold a 64 bit value if needed.
+
+2005-08-19  Zoltan Varga  <vargaz@freemail.hu>
+
+       * reflection.c (mono_reflection_create_dynamic_method): Store the
+       handle class into the method references as well so ldtoken works in
+       dynamic methods.
+
+       * icall.c (ves_icall_MonoField_GetValueInternal): Add support for generic
+       types.
+
+2005-08-19  Ankit Jain <jankit@novell.com>
+
+       Fix #75847.
+       * marshal.c (mono_marshal_get_ptr_to_struct): Build method signature 
+         here rather than using the method signature of a arbitrary function
+         named 'System.Runtime.InteropServices.Marshal::PtrToStructure' with 
+         two arguments.
+         Hack done with Harinath.
+
+2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * threadpool.c: disable printing stack traces when we get a exception
+       in a threadpool thread. I need to do more testing to figure out which
+       cases actually print this. Fixes bug #75828.
+
+2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * icall.c: there might be ignored whitespace after the last '='. This
+       fixes length computation and bug #75840.
+
+2005-08-18  Zoltan Varga  <vargaz@freemail.hu>
+
+       * assembly.c (mono_assembly_load_full): Consider .exe extension as
+       well. Fixes #75809.
+
+       * reflection.c (create_custom_attr): Fix unmanaged memory leak. Fixes
+       #75784.
+       
+       * reflection.c (create_custom_attr_data): Ditto.
+
+2005-08-17  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * locales.c, culture-info.h : removed RegionLCIDMap.
+       * culture-info-tables.h : regenerated.
+
+2005-08-16  Martin Baulig  <martin@ximian.com>
+
+       * class.c (mono_type_get_name_recurse): Small fix.
+
+2005-08-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * locales.c : indentation fixie.
+
+2005-08-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * object-internals.h,
+         locales.h,
+         locales.c,
+         culture-info.h,
+         icall.c : added RegionInfo table support.
+       * culture-info-table.h : regenerated for region support.
+
 2005-08-14  Kamil Skalski  <nazgul@nemerle.org>
 
        * reflection.c (resolve_object): handle all kinds of MonoMethod
@@ -16069,3 +16344,4 @@ Tue Jul  3 18:33:32 CEST 2001 Paolo Molaro <lupus@ximian.com>
 
        * mono/metadata/assembly.c (load_metadata_ptrs): Fix for Beta2
 
+