* culture-info-tables.h: Fix date separator symbol.
[mono.git] / mono / metadata / ChangeLog
index eccdcd837e582b9fe90a75b87df5dcb1d318763b..238d323ef35a1dbb15a41f132d539a25f0e9a76e 100644 (file)
@@ -1,3 +1,204 @@
+2004-04-07  Jackson Harper  <jackson@ximian.com>
+
+       * culture-info-tables.h: Fix date separator symbol.
+       
+2004-04-07  Martin Baulig  <martin@ximian.com>
+
+       * reflection.h
+       (MonoReflectionGenericParam): Added `has_reference_type' and
+       `has_value_type' fields.
+
+       * reflection.c (mono_image_get_generic_param_info): Encode the
+       correct flags if we have the `class' or `struct' constraint.
+
+2004-04-07  Martin Baulig  <martin@ximian.com>
+
+       * reflection.h
+       (MonoReflectionGenericParam): Added `MonoBoolean has_ctor_constraint'.
+
+2004-04-07  Jackson Harper  <jackson@ximian.com>
+
+       * appdomain.c: Revert extra patches, just wanted to bump the
+       version number.
+       
+2004-04-07  Jackson Harper  <jackson@ximian.com>
+
+       * Makefile.am: Add culture-info private headers.
+       * icall.c: Add new icalls for contructing locales.
+       * locales.c: Construct CultureInfo objects from lookup tables instead of using ICU.
+       * locales.h: Declare new culture info construction methods.
+       * object.h: Add new fields used to avoid the CultureMap to
+       MonoCultureInfo.
+       * culture-info.h: Definition of structs used in the culture info
+       tables.
+       * culture-info-tables.h: Autogenerated tables that contain culture
+       info data. This file was generated with the locale-builder tool.
+       * appdomain.c: Incement corlib version number.
+       
+2004-04-07  Bernie Solomon  <bernard@ugsolutions.com>
+
+       * appdomain.c: (mono_runtime_init) move mono_thread_init
+       to before mono_object_new calls so critical sections
+       are initialized before use.
+
+2004-04-07  Martin Baulig  <martin@ximian.com>
+
+       * icall.c
+       (ves_icall_TypeBuilder_define_generic_parameter): Removed.
+       (ves_icall_MethodBuilder_define_generic_parameter): Removed.
+       (ves_icall_MonoGenericParam_initialize): Removed.
+       (monogenericparam_icalls): Removed.
+       (generictypeparambuilder_icalls): Added new table for
+       System.Reflection.Emit.GenericTypeParameterBuilder.
+
+       * reflection.c
+       (mono_reflection_define_generic_parameter): Removed.
+       (mono_reflection_initialize_generic_parameter): This is now called
+       from GenericTypeParameterBuilder's .ctor.
+
+2004-04-06  Martin Baulig  <martin@ximian.com>
+
+       * class.c (mono_class_init): Don't inflate nested classes in a
+       generic instance.
+       (mono_type_get_name_recurse): Include the generic arguments for
+       generic instances and generic type declarations.
+       (inflate_generic_type): Correctly inflate MONO_TYPE_SZARRAY.
+       (_mono_class_get_instantiation_name): Removed.
+       (mono_class_create_generic): Always use `gklass->name' as our name.
+
+       * class.h (MonoGenericInst): Removed `nested_in', and `nested'.
+
+       * icall.c (ves_icall_MonoGenericInst_GetDeclaringType): Removed.
+       (ves_icall_MonoGenericInst_GetNestedTypes): Removed.
+       (ves_icall_MonoMethod_GetGenericParameters): Renamed to
+       ves_icall_MonoMethod_GetGenericArguments() and correctly handle
+       closed generic methods here.
+
+       * reflection.c
+       (mono_reflection_generic_inst_get_nested_types): Removed.
+       (inflate_mono_method): Copy the generic parameters from the
+       MonoMethodHeader into out MonoGenericMethod.
+
+2004-04-06  Martin Baulig  <martin@ximian.com>
+
+       * row-indexes.h
+       (MONO_GENERICPARAM_DEPRECATED_CONSTRAINT): Removed.
+
+       * metadata.c (GenericParamSchema): Removed "DeprecatedConstraint".
+
+       * reflection.c (build_compressed_metadata): If we have any entries
+       in the GenericParam, MethodSpec or GenericParamConstraint tables,
+       set the header version to 1.1.
+
+>>>>>>> 1.1497
+2004-04-06  Martin Baulig  <martin@ximian.com>
+
+       * class.c (mono_class_init): If we're a generic instance,
+       initialize our nested classes, too.
+       (_mono_class_get_instantiation_name): Deal with the new `!%d'
+       suffix. 
+
+2004-04-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * process.c: quote the argument passed to the shell on windows.
+
+2004-04-05  Zoltan Varga  <vargaz@freemail.hu>
+
+       * threads.c (mono_alloc_special_static_data): Allow this to be
+       called during startup.
+
+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.
        (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.