2004-03-13 Martin Baulig <martin@ximian.com>
[mono.git] / mono / metadata / ChangeLog
index b1461f46e75187f14dd32c61ee5ce4119296f8d7..723f5d9334b51811db19cad2616f228e6460b342 100644 (file)
@@ -1,3 +1,116 @@
+2004-03-13  Martin Baulig  <martin@ximian.com>
+
+       * class.h (MonoGenericInst): Added `int count_ifaces'.
+
+       * iclass.c (ves_icall_MonoGenericInst_GetInterfaces): Use
+       `ginst->count_ifaces' instead `klass->interface_count' since we
+       may get called before the vtable is created.
+
+       * loader.c (mono_method_get_param_names): If we're a generic
+       instance, return and don't initialize the class.
+
+       * reflection.c (mono_reflection_setup_generic_class): Don't call
+       ensure_runtime_vtable().
+       (mono_reflection_bind_generic_parameters): Set
+       `ginst->count_ifaces'.
+
+2004-03-11  Jackson Harper <jackson@ximian.com>
+
+       * icall.c:
+       * unicode.c:
+       * unicode.h: Remove unused System.Char icalls.
+       
+2004-03-11  Miguel de Icaza  <miguel@ximian.com>
+
+       * loader.c (mono_lookup_pinvoke_call): Call the Windows.Forms init
+       code when we P/Invoke the first library in Windows.Forms, instead
+       of when we first open the assembly.
+
+       * assembly.c: Drop the lookup from here.
+
+2004-03-10  Martin Baulig  <martin@ximian.com>
+
+       * reflection.c (mono_reflection_get_custom_attrs): Use the correct
+       class for properties, fields and events.  Finally fixes #54945.
+
+2004-03-10  Martin Baulig  <martin@ximian.com>
+
+       * metadata.c (mono_metadata_class_equal): New static function;
+       checks whether two generic instances or two generic parameters are
+       equal.
+       (mono_metadata_type_equal): Use mono_metadata_class_equal() to
+       compare classes.        
+
+2004-03-10  Martin Baulig  <martin@ximian.com>
+
+       * class.h (MonoGenericMethod): Added `gpointer reflection_info'.
+
+       * reflection.c (inflate_mono_method): Added `MonoObject *obj'
+       argument and write it into the `reflection_info' field.
+
+       * icall.c
+       (ves_icall_MethodBase_GetGenericMethodDefinition): New interncall.
+       (ves_icall_MethodBase_get_HasGenericParameters): New interncall.
+
+2004-03-09  Jackson Harper  <jackson@ximian.com>
+
+       * char-conversions.h: use 8 bits for numeric data its all we need
+       * icall.c: numeric data is only 8 bits now.
+
+2004-03-09  Martin Baulig  <martin@ximian.com>
+
+       * class.h (MonoProperty, MonoEvent): Added `MonoClass *parent'.
+
+       * class.c (init_properties, init_events): Initialize the new
+       `parent' field.
+
+       * reflection.c (typebuilder_setup_properties): Likewise.
+       (typebuilder_setup_events): Likewise.
+
+       * reflection.h (MonoEventInfo): Replaced `parent with
+       `declaring_type' and `reflected_type'.
+
+       * icall.c (ves_icall_get_property_info): Distinguish between
+       declaring and reflected type.
+       (ves_icall_get_event_info): Likewise.
+
+2004-03-09  Martin Baulig  <martin@ximian.com>
+
+       * icall.c (ves_icall_Type_GetTypeCode): Added MONO_TYPE_GENERICINST.
+       (ves_icall_Type_GetField): Correctly set field->klass.
+
+2004-03-09  Zoltan Varga  <vargaz@freemail.hu>
+
+       * loader.h: Fix warning.
+
+2004-03-08  Miguel de Icaza  <miguel@ximian.com>
+
+       *  loader.c, loader.h (mono_loader_wine_init): Loads the Wine/Lib
+       library routine if present.  Notice that it will still continue
+       executing even if its missing, for those working on the Gtk#
+       edition of Windows.Forms.
+
+       * assembly.c (do_mono_assembly_open): If loading the
+       System.Windows.Forms call mono_loader_wini_init.
+
+2004-03-04  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * class.h: Added MonoRemoteClass struct.
+       * domain.c: Changed hash function for proxy_vtable_hash. It now uses a
+       function for MonoStrings.
+       * icall.c: In GetTransparentProxy, assign a MonoRemoteClass to the proxy.
+       Added internal call for getting the proxy type.
+       * marshal.c: Get the type of transparent proxies from its remote_class.
+       Added methods that generate the IL for type checks and casts:
+       mono_marshal_get_isinst, mono_marshal_get_castclass, 
+       mono_marshal_get_proxy_cancast.
+       * marshal.h: Declaration of the previous new methods.
+       * object.c: Added new moethods for creating and updating MonoRemoteClass
+       instances: mono_remote_class, mono_upgrade_remote_class, 
+       * object.h: Added MonoRemoteClass reference in MonoTransparentProxy.
+       * verify.c: FIx transparent_proxy_fields layout.
+       * appdomain.c: Bump corlib version.
+
 2004-03-04  Jackson Harper  <jackson@ximian.com>
 
        * icall.c: Add icall to access char conversion tables.