2004-06-08 Martin Baulig <martin@ximian.com>
[mono.git] / mono / metadata / ChangeLog
index b17f560392b30507f3dcd826ecf969d698ca711a..f0d03ff1935331228154ec31aa6f609db1cf58b3 100644 (file)
@@ -1,3 +1,150 @@
+2004-06-08  Martin Baulig  <martin@ximian.com>
+
+       * icall.c (ves_icall_ModuleBuilder_getMethodToken): New icall.
+
+       * metadata.c (mono_metadata_parse_method_signature): When parsing
+       a MethodDef which has VarArgs, set sentinelpos.
+
+       * metadata.h (MonoMethodSignature): Make `sentinalpos' a signed
+       `gint16' since we're using -1 for non-varargs methods.
+
+       * reflection.c
+       (ReflectionMethodBuilder): Added `MonoArray *opt_types'.
+       (method_encode_signature): Added varargs support.
+       (method_builder_encode_signature): Likewise.
+       (mono_image_get_varargs_method_token): New static method.
+       (mono_image_create_method_token): New public method; this is
+       called via an icall instead of mono_image_create_token() when
+       calling a varargs method.       
+
+2004-06-08  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * locales.c: Fixed memory leak in Char.ToLower/ToUpper.
+
+2004-06-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * culture-info-tables.h : Reflecting the latest locale-builder that
+         fixed empty array representation ({} to {0}).
+
+2004-06-07  Jackson Harper  <jackson@ximian.com>
+
+       * assembly.c: It should be <MONO_GAC_PATH>/lib/mono/gac when
+       looking up extra gac paths. This allows MONO_GAC_PATH to act
+       exactly like a prefix.
+       
+2004-06-08  Zoltan Varga  <vargaz@freemail.hu>
+
+       * reflection.c (mono_reflection_type_from_name): Make a copy of the
+       type name before modifying it. Fixes #59405.
+
+2004-06-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * culture-info.h: added fields for "all datetime patterns".
+       * locales.c: (  ves_icall_System_Globalization_CultureInfo
+         _construct_datetime_format ()): fill xxx_patterns fields.
+       * object.h: added fields for "all datetime patterns" to
+         MonoDateTimeFormatInfo.
+       * culture-info-tables.h: reflecting locale-builder updates.
+
+2004-06-08  Zoltan Varga  <vargaz@freemail.hu>
+
+       * icall.c (ves_icall_Type_GetEvents_internal): Handle the case when
+       the event has no add and remove methods. Fixes #59629.
+
+2004-06-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * object.c: Fixed possible integer overflow when allocating large
+       strings.
+
+2004-06-05  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * culture-info-tables.h: reflecting locale-builder updates.
+
+2004-06-05  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * culture-info-tables.h: reflecting locale-builder updates.
+
+2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * culture-info-tables.h: reflecting locale-builder updates.
+
+2004-06-03  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * threads.c: Made Thread.Sleep abortable.
+
+2004-06-02  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug.h (MONO_DEBUGGER_VERSION): Bumped version to 41.
+
+       * debug-mono-symfile.h: Bumped symbol file version number to 37.
+
+2004-05-31  Zoltan Varga  <vargaz@freemail.hu>
+
+       * marshal.c (mono_marshal_get_runtime_invoke): Fix CR/LFs.
+
+2004-05-30  Jackson Harper  <jackson@ximian.com>
+
+       * reflection.c: Do not hardcode assembly versions or public key
+       tokens anymore. All of this except the corlib section was dead
+       code anyways.
+       
+2004-05-29  Zoltan Varga  <vargaz@freemail.hu>
+
+       * object.c (mono_runtime_invoke_array): Automatically create boxed
+       objects for byref valuetypes if needed. Fixes #59300.
+       
+       * object.c (mono_method_return_message_restore): Handle 
+       MONO_TYPE_OBJECT as well.
+
+2004-05-28  Jackson Harper  <jackson@ximian.com>
+
+       * reflection.c: The modified type encoding was causing build
+       problems. Reverted for now.
+       
+2004-05-28  Jackson Harper  <jackson@ximian.com>
+
+       * reflection.c/h: Take an assembly ref so that we dont create
+       fully qualified names when encoding types in the same assembly as
+       the custom attribute being emitted.
+       * appdomain.c: Increment version number.
+       
+2004-05-26  Duncan Mak  <duncan@ximian.com>
+
+       * icall.c
+       (ves_icall_System_Reflection_Assembly_GetReferencedAssemblies):
+       Set the full version number (major, minor, build, revision).
+
+2004-05-28  Vladimir Vukicevic  <vladimir@pobox.com>
+
+       * marshal.c (emit_struct_conv): increment src/dst after blit
+       (mono_marshal_get_managed_wrapper,
+       mono_marshal_get_native_wrapper): make sure we have marshalling
+       info before marshalling params (info computation affects
+       blittable)
+
+       * class.c (class_compute_field_layout): correctly deal with
+       blittable
+       (mono_class_layout_fields): Don't do gc_aware_layout for AUTO
+       value types (as per what windows dows by default)
+       (mono_class_setup_mono_type): System.ValueType is blittable
+       (mono_ptr_class_get, mono_fnptr_class_get): Pointer classes are
+       blittable
+
+       * marshal.c (mono_marshal_load_type_info): flag types  as
+       non-blittable if the native layout doesn't match the managed
+       layout
+
+2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * appdomain.c: don't add stuff in the private search path that is
+       above the application base. If application base is not set, there's
+       no private search path.
+
+2004-05-28  Zoltan Varga  <vargaz@freemail.hu>
+
+       * marshal.c (mono_marshal_get_managed_wrapper): Add proper support for
+       byref struct arguments in native->managed marshalling.
+
 2004-05-28     Patrik Torstensson      <totte@hiddenpeaks.com>
 
        * marshal.c (mono_marshal_get_runtime_invoke): correctly