2004-04-02 Martin Baulig <martin@ximian.com>
[mono.git] / mono / metadata / ChangeLog
index 71dbe2fbfa5a9a00665b672ea925e6de09285fcc..86df222fbbd23424c292a491fbe40e64d81346b7 100644 (file)
@@ -1,3 +1,135 @@
+2004-04-02  Martin Baulig  <martin@ximian.com>
+
+       * icall.c
+       (ves_icall_MonoGenericInst_GetDeclaringType): New icall.
+
+2004-04-02  Zoltan Varga  <vargaz@freemail.hu>
+
+       * icall.c: Fix build.
+
+2004-04-02  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Makefile.am: Added security.c|h.
+       * icall.c: Added icall for get_UserName;
+       * security.c: New file for security related icalls. Added function
+       get_UserName for System.Environment (fix #56144).
+       * security.h: New. Header file for security.c
+
+2004-04-02  Dick Porter  <dick@ximian.com>
+
+       * icall.c: Deleted the icalls that were obsoleted some time ago
+       by the ICU string code, and which were mixed into the icall
+       rearranging.  Fixes bug 55969.
+
+       * string-icalls.h: 
+       * string-icalls.c: Deleted the code that those icalls reference.
+
+2004-04-01  Martin Baulig  <martin@ximian.com>
+
+       * metadata.h (MONO_CLASS_IS_INTERFACE): New macro.
+
+       * class.c (mono_class_from_generic_parameter): Don't set 
+       TYPE_ATTRIBUTE_INTERFACE.
+       (my_mono_class_from_generic_parameter): Likewise.
+
+2004-04-01  Martin Baulig  <martin@ximian.com>
+
+       * loader.c (find_method): Added an optional `MonoClass *ic'
+       argument to search in a specific interface.
+       (mono_get_method_constrained): New public function.
+
+2004-04-01  Martin Baulig  <martin@ximian.com>
+
+       * reflection.c (mono_image_get_generic_field_token): Use the
+       `handleref' cache here.
+
+2004-04-01  Martin Baulig  <martin@ximian.com>
+
+       * reflection.h (MonoDynamicImage): Added `GHashTable *typespec'.
+
+       * reflection.c (create_generic_typespec): Use the `typespec' hash
+       here, not the `typeref' one.    
+
+2004-04-01  Martin Baulig  <martin@ximian.com>
+
+       * class.c (mono_class_inflate_generic_type): Moved the
+       functionality into a new static inflate_generic_type() which
+       returns NULL if it didn't do anything.  Only increment the
+       `mono_stats.inflated_type_count' if we actually inflated
+       something.
+       (mono_class_get_full): Check the classes type to see whether we
+       need to inflate it; also inflate MONO_TYPE_(M)VAR.
+
+2004-04-01  Jackson Harper  <jackson@ximian.com>
+
+       * reflection.c: Set culture for assembly references.
+       
+2004-04-01 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * reflection.[ch], icall.[ch], Fix support for pinning variables.
+
+2004-04-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * assembly.c:
+       (do_mono_assembly_open): the critical section also covers
+       mono_image_open and mono_image_open_from_data. Fixes bug #56327.
+
+2004-03-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * threads.c:
+       (mono_manage_threads): abort the background threads when finishing.
+       Fixes bug #47232.
+
+2004-03-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * gc.c: only close the done_event handle if there was no timeout.
+       C-ified comments.
+
+2004-03-30  Martin Baulig  <martin@ximian.com>
+
+       * icall.c (icall_entries): It's called "System.Activator", not
+       "System.Activation".    
+
+2004-03-30  Martin Baulig  <martin@ximian.com>
+
+       * class.c (mono_ldtoken): Added `MonoGenericContext *' argument.
+       (mono_class_create_from_typespec): Likewise.
+
+2004-03-30  Martin Baulig  <martin@ximian.com>
+
+       * reflection.h (MonoReflectionGenericParam): Use MonoBoolean for
+       `has_ctor_constraint' and `initialized'.
+
+2004-03-30  Martin Baulig  <martin@ximian.com>
+
+       * reflection.c (encode_new_constraint): New static function to add
+       the constructor constraint attribute to a type parameter.
+       (encode_constraints): Call encode_new_constraint() if necessary.
+
+       * reflection.h
+       (MonoReflectionGenericParam): Added `guint32 has_ctor_constraint'.
+
+       * row-indexes.h: Added CUSTOM_ATTR_GENERICPAR.
+       
+2004-03-29 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * reflection.c, icall.c: add support for pinning variables. 
+
+2004-03-29  Bernie Solomon  <bernard@ugsolutions.com>
+
+       * marshal.c (mono_marshal_get_managed_wrapper):
+       init bool local with zero rather than null.
+
+2004-03-29  Martin Baulig  <martin@ximian.com>
+
+       * icall.c (ves_icall_MonoMethod_get_HasGenericParameters): Show
+       the "official" behavior here.
+       (ves_icall_MonoMethod_get_Mono_IsInflatedMethod): New interncall.
+
+2004-03-29  Martin Baulig  <martin@ximian.com>
+
+       * icall.c: Reflect latest API changes.
+
 2004-03-29  Martin Baulig  <martin@ximian.com>
 
        * loader.c (mono_get_method_from_token): Also call