2003-12-01 Dick Porter <dick@ximian.com>
[mono.git] / mono / metadata / ChangeLog
index 92012a21d676e87685e027d53e8baa2403e97c48..548557896571d844a2cca40d3eb81f77ad4a835c 100644 (file)
@@ -1,3 +1,127 @@
+2003-12-01  Dick Porter  <dick@ximian.com>
+
+       * icall.c: 
+       * locales.c: Implement string compares and searching
+
+       * object.h: Add extra Thread field
+
+2003-11-30  Zoltan Varga  <vargaz@freemail.hu>
+
+       * reflection.c (fixup_method): Add support for MonoCMethod.
+
+2003-11-28  Zoltan Varga  <vargaz@freemail.hu>
+
+       * gc.c: Fix hangs and error messages when GC_DONT_GC is set.
+
+       * reflection.c (assembly_name_to_aname): Allow extra characters in
+       assembly names. Fixes #51468.
+
+2003-11-26  Zoltan Varga  <vargaz@freemail.hu>
+
+       * exception.c (mono_exception_from_name_domain): New helper function.
+
+       * appdomain.c (ves_icall_System_AppDomain_createDomain): Create the
+       exception object in the correct domain.
+
+       * appdomain.c (ves_icall_System_AppDomain_LoadAssemblyRaw): Fix 
+       formatting + make a copy a the input data.
+
+       * loader.c (mono_get_method_from_token): Methods which contain
+       native code do not have entries in the ImplMap.
+
+       (ves_icall_System_AppDomain_LoadAssemblyRaw): Fix exception throw.
+       Thanks to Gonzalo for spotting this.
+       
+       * appdomain.c (ves_icall_System_AppDomain_LoadAssemblyRaw): Applied
+       patch from ztashev@openlinksw.co.uk (Zdravko Tashev). New icall.
+
+       * assembly.h (mono_assembly_load_from): Split the second part of 
+       assembly loading into a new public function.
+
+       * exception.h (mono_get_exception_bad_image_format): New function.
+
+2003-11-24  Zoltan Varga  <vargaz@freemail.hu>
+
+       icall.c (ves_icall_System_Reflection_Assembly_InternalGetType): 
+       Enumerate all modules inside a dynamic assembly. Fixes #51293.
+       
+       * icall.c: Add new icall for creating dynamic methods.
+
+       * loader.h debug-helpers.c: Add new wrapper type for dynamic methods.
+
+       * reflection.h (MonoReflectionDynamicMethod): Fix type of bool fields.
+
+       * reflection.c (mono_reflection_create_dynamic_method): New icall to
+       create a dynamic method.
+
+       * reflection.c (resolve_object): New helper function.
+
+       * reflection.c: Generalize ReflectionMethodBuilder and the functions
+       which manipulate it so they can also work on dynamic methods.
+
+       * reflection.c (reflection_method_builder_to_mono_method): Avoid 
+       creating the MonoReflectionMethodAux structure if it is not needed.
+       
+       * reflection.h verify.c: Update after changes to object layout.
+
+       * reflection.c (method_builder_encode_signature): Fix compilation on
+       gcc 2.95.x.
+
+2003-11-21  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * appdomain.h: Added support for context static fields. Added static_data
+         field to MonoAppContext and renamed thread_static_fields to a more
+         generic special_static_fields in MonoAppDomain, since it can now contain
+         context static fields.
+       * domain.c: Updated hashtable name.
+       * object.c: Replaced field_is_thread_static() for a more generic
+         field_is_special_static() which also checks for context static attribute.
+         In mono_class_vtable(), added support for static context fields.
+       * threads.c: Changed methods that manage thread static fields to more
+         generic methods so they can be reused both for thread and context static
+         data.
+       * threads.h: Declared some new methods.
+
+2003-11-21  Zoltan Varga  <vargaz@freemail.hu>
+
+       * reflection.h: Update after changes to the managed types.
+
+       * reflection.c (encode_custom_modifiers): New helper function.
+
+       * reflection.c (method_encode_signature): Emit custom modifiers.
+
+       * reflection.c (field_encode_signature): Emit custom modifiers.
+
+2003-11-18  Zoltan Varga  <vargaz@freemail.hu>
+
+       * reflection.h (MonoReflectionAssemblyName): Applied patch from Laurent Morichetti (l_m@pacbell.net). Fix type of 'flags' field.
+
+       * icall.c (ves_icall_System_ValueType_Equals): New optimized 
+       implementation.
+
+       * icall.c (ves_icall_System_ValueType_InternalGetHashCode): New 
+       icall.
+
+       * object.c (mono_field_get_value_object): New function.
+
+       * object.c appdomain.h appdomain.c: Make out_of_memory_ex domain
+       specific.
+
+2003-11-17  Zoltan Varga  <vargaz@freemail.hu>
+
+       * appdomain.c (mono_runtime_get_out_of_memory_ex): New function to
+       return a preallocated out-of-memory exception instance.
+
+       * object.c (out_of_memory): Use the new function.
+
+       * metadata.c (mono_metadata_parse_type): Handle the case when the byref
+       flag is before the custom modifiers. Fixes #49802.
+
+2003-11-16  Martin Baulig  <martin@ximian.com>
+
+       * class.c (mono_class_is_open_constructed_type): Implemented the
+       MONO_TYPE_GENERICINST case.
+
 2003-11-16  Zoltan Varga  <vargaz@freemail.hu>
 
        * assembly.c (mono_assembly_fill_assembly_name): New function to