Moved ProviderCollectionTest.cs from System assembly to System.Configuration.
[mono.git] / mcs / class / corlib / System.Reflection / ChangeLog
index 77764d55142421d511f5424f759cf2d3af1aeabb..42a84e8043b70f990241b6957663c367ab78fac8 100644 (file)
@@ -1,3 +1,230 @@
+2008-09-07  Zoltan Varga  <vargaz@gmail.com>
+
+       * MonoField.cs: Add check to GetValue/SetValue () to avoid crashes when it is
+       called on fields of open types. Fixes #424077.
+
+2008-08-12  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * ReflectionSerializationHolder.cs: Removed.
+       * common.src: Removed.
+
+2008-08-04  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Assembly.cs : return UnmanagedMemoryStream from 
+         GetManifestResourceStream(). Fixed bug #322241.
+
+2008-07-30  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MonoGenericClass.cs (InflateType): Guard against null types.
+       Fixes #412965.
+
+2008-07-23  Marek Safar  <marek.safar@gmail.com>
+
+       * MethodBase.cs (GetMethodFromHandle): Needed for bootraping.
+
+2008-07-22  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MonoGenericClass.cs (GetMethod): Under compiler mode allow
+       MethodOnTypeBuilderInst to be used..
+
+2008-07-17  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MonoGenericClass.cs (GetMethod): Revert to old code
+       path as the new one broke System.Core.
+
+2008-07-16  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MonoGenericClass.cs (GetMethod): Use the new codepath for compiler
+       context.
+
+       * MonoGenericClass.cs: New InflateType method, used to inflate
+       managed types.
+
+2008-07-11  Marek Safar  <marek.safar@gmail.com>
+
+       * MonoGenericClass.cs (GetField): Put back removed code.
+
+2008-07-04  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * MethodBase.cs (GetMethodFromHandle): Fix a warning in
+       the 1.0 build.
+
+2008-07-04  Rodrigo Kumpera  <rkumpera@n ovell.com>
+
+       * MethodBase.cs (GetMethodFromHandle): Extract an internal version
+       of this function that doesn't perform the generic class check.
+       This method is required to fix the Delegate regression that fixing
+       #377324 caused.
+
+2008-06-25  Rodrigo Kumpera  <rkumpera@n ovell.com>
+
+       * MethodBase.cs (GetMethodFromHandle): Check if the icall returns null
+       and fail. This is part of the fix for #377324.
+
+2008-06-19  Marek Safar  <marek.safar@gmail.com>
+
+       * MonoGenericClass.cs (GetConstructor): Put back removed code due to obscure
+       System.Reflection.MonoGenericCMethod.
+
+2008-06-19  Kornel Pal  <kornelpal@gmail.com>
+
+       * Module.cs: Add internal GetHINSTANCE.
+
+2008-06-02  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * Binder.cs, MonoGenericClass.cs: For property reflection we should 
+       strictly match the return type if available.
+
+2008-05-16  Zoltan Varga  <vargaz@gmail.com>
+
+       * MonoGenericClass.cs (GetConstructor): Remove some old code, as the new code
+       seems to work fine.
+       (GetField): Ditto.
+
+2008-05-05  Zoltan Varga  <vargaz@gmail.com>
+
+       * FieldInfo.cs (GetFieldFromHandle): Add an argument check for an invalid handle.
+
+       * MethodBase.cs (GetMethodFromHandle): Ditto. Fixes #386641.
+
+2008-04-30  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * ParameterInfo.cs: Name must default to null if no ParameterBuilder
+       is supplied.
+
+2008-04-22  Zoltan Varga  <vargaz@gmail.com>
+
+       * MonoGenericClass.cs (GetMethod): Construct a MethodOnTypeBuilderInst object
+       instead of using GetCorrespondingInflatedMethod. This is needed so this class can
+       reflect the changes made to the builder after initialize () has been called.
+       Fixes #381547 and #354759.
+       (GetConstructor): Ditto.
+
+2008-04-16  Zoltan Varga  <vargaz@gmail.com>
+
+       * Binder.cs: Applied patch from Yves Bastide (doc.formatique@gmail.com). Add 
+       support for converting integers to enums. Fixes #380361.
+
+?2008-04-02  Andreas Nahr  <ClassDevelopment@A-SoftTech.com>
+
+       * IReflect.cs
+       * MethodInfo.cs: Fix parameter names
+
+2008-03-31  Mark Probst  <mark.probst@gmail.com>
+
+       * MonoMethod.cs: Don't do CAS security checks in Invoke for 2.1
+       profile.
+
+2008-03-25  Zoltan Varga  <vargaz@gmail.com>
+
+       * MonoCMethod.cs (Invoke): Avoid a crash if this is called on a ctor of an open
+       generic type. Fixes #373459.
+       
+       * MonoMethod.cs (InternalInvoke): Add an out 'exc' argument used to distinguish
+       exceptions thrown by the icall from the exceptions thrown by the wrapped method.
+       Fixes #373448.
+
+2008-03-17  Marek Safar  <marek.safar@gmail.com>
+
+       * MonoMethod.cs (ToString): Print VarArgs argument.
+
+2008-03-14  Zoltan Varga  <vargaz@gmail.com>
+
+       * MonoGenericClass.cs (GetField): Construct a FieldOnTypeBuilderInst object
+       instead of using GetCorrespondingInflatedField. This is needed so this class can
+       reflect the changes made to the type builder after initialize () has been called.
+
+       * Binder.cs (ChangeType): Add support for Char->Double/Single conversations. Fixes
+       #367655.
+
+2008-03-10  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Assembly.cs (GetFile): Fixed exception messages and param name.
+
+2008-03-06  Zoltan Varga  <vargaz@gmail.com>
+
+       * Assembly.cs: Define GetManifestModule () for net 2.0 bootstrap as well.
+
+2008-02-26  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * MonoProperty.cs: MS ignores the inherit parameter and defaults to false
+       for GetCustomAttributes.
+       [Fixes bugs #324472 and #322464]
+
+2008-02-20  Zoltan Varga  <vargaz@gmail.com>
+
+       * AssemblyName.cs (ReferenceMatchesDefinition): Add error checking and some 
+       simple cases required by ikvm.
+
+2008-02-18  Zoltan Varga  <vargaz@gmail.com>
+
+       * CustomAttributeTypedArgument.cs (.ctor): Convert arrays into a collection of
+       CustomAttributeTypedArguments to match MS.
+
+2008-02-10  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Assembly.cs: Use icall for ToString/FullName. Fixes bug #318231.
+
+2008-02-02  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * MonoMethod.cs (MakeGenericMethod): Modified argument name to match
+       MS. When one of the types is null, throw ArgumentNullException instead
+       of ArgumentException.
+       * MethodInfo.cs (MakeGenericMethod): Modified argument name to match
+       MS.
+
+2008-01-29  Zoltan Varga  <vargaz@gmail.com>
+
+       * Assembly.cs: Make GetTypes () virtual so it can be overriden by AssemblyBuilder.
+       
+       * Assembly.cs: Make GetModulesInternal () virtual so it can be overriden by
+       AssemblyBuilder.
+
+2008-01-22  Zoltan Varga  <vargaz@gmail.com>
+
+       * MonoGenericClass.cs: Make this NET 2.0 only.
+       
+       * MonoGenericClass.cs (Initialize): Simplify this a bit and add comments for this
+       class.
+
+2008-01-20  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * AssemblyName.cs: Added support for Retargetable spec in FullName.
+
+2008-01-17  Zoltan Varga  <vargaz@gmail.com>
+
+       * Assembly.cs AssemblyFlagsAttribute.cs ICustomAttributeProvider.cs
+       MemberInfo.cs FieldInfo.cs DefaultMemberAttribute.cs 
+       CustomAttributeNamedArgument.cs TargetException.cs MethodInfo.cs
+       IReflect.cs CustomAttributeTypedArgument.cs Module.cs: Change some parameter
+       names to match MS.
+
+2008-01-15  Jb Evain  <jbevain@novell.com>
+
+       * MonoMethod.cs (MakeGenericMethod): check for null values
+       in the types arguments. Fixes #353849.
+
+2008-01-06  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Assembly.cs: Fix typo in setter found with Gendarme (was used in a
+       single place, AppDomain, and set to true so it never caused a problem)
+
+2008-01-04  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * AssemblyName.cs: Fixed default value for ProcessorArchitecture to
+       match MS. On 2.0 profile, return zero-length in FullName is no name
+       is set, and throw a SecurityException in FullName and GetPublicKeyToken
+       if a public key is set with no corresponding public key token. 
+       Fixed FullName to also include PublicKeyToken spec with "null" value
+       if public key is empty byte array. Fixed corlib part of bug #351057.
+       In SetPublicKey, modify Flags accordingly. On the 2.0 profile, verify
+       the public key when the public key token is computed.
+
+2007-12-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * Assembly.cs (GetSatelliteAssembly): Search in the assembly directory as well.
+       Fixes ##345627.
+
 2007-12-03  Zoltan Varga  <vargaz@gmail.com>
 
        * MonoField.cs: Implement GetRawConstantValue ().
@@ -207,7 +434,7 @@ Tue Dec 12 19:45:26 CET 2006 Paolo Molaro <lupus@ximian.com>
        absolute path before passing it to Assembly.InternalGetAssemblyName
        as the CodeBase is not set in that case.
 
-2006-10-17  Kornél Pál  <kornelpal@gmail.com>
+2006-10-17  Kornel Pal  <kornelpal@gmail.com>
 
        * FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a
          NotSupportedException is the proper implementation.
@@ -1393,7 +1620,7 @@ Sat Jul 10 15:48:34 CEST 2004 Paolo Molaro <lupus@ximian.com>
        abstract; use an interncall in MonoMethod and a custom
        implementation in MethodBuilder.        
 
-2003-10-17  Pedro Martínez Juliá  <yoros@wanadoo.es>
+2003-10-17  Pedro Martinez Julia  <yoros@wanadoo.es>
 
        * MonoEvent.cs: implement ToString method as in MS.NET.