2004-11-04 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / corlib / System.Reflection.Emit / ChangeLog
index 62faf25f350fc733094d2abe65cd362d2af66e2c..d4f660aae5ea2e6bff6370aa31a1c1bfc8a453cd 100644 (file)
@@ -1,3 +1,169 @@
+2004-11-04  Zoltan Varga  <vargaz@freemail.hu>
+
+       * TypeBuilder.cs: Make some members work if the type is created since
+       MS does this.
+
+2004-10-30  Zoltan Varga  <vargaz@freemail.hu>
+
+       * CustomAttributeBuilder.cs: Check that arguments are not 
+       multi-dimensional arrays.
+
+2004-10-12  Martin Baulig  <martin@ximian.com>
+
+       * TypeBuilder.cs (TypeBuilder.setup_generic_class): Renamed to
+       create_generic_class() and added a new setup_generic_class().
+       (TypeBuilder.DefineGenericParameters): Call setup_generic_class()
+       before creating the type parameters.
+
+2004-10-11  Martin Baulig  <martin@ximian.com>
+
+       * TypeBuilder.cs (TypeBuilder.generic_container): New private field.
+
+       * MethodBuilder.cs (MethodBuilder.generic_container): New private field.
+
+       * GenericTypeParameterBuilder.cs
+       (GenericTypeParameterBuilder.GetGenericTypeParameterConstraints):
+       Return `Type.EmptyTypes' instead of an array of `typeof (object)'.      
+
+2004-10-08  Zoltan Varga  <vargaz@freemail.hu>
+
+       * ModuleBuilder.cs: Create global type after creation.
+
+2004-10-06  Zoltan Varga  <vargaz@freemail.hu>
+
+       * ModuleBuilder.cs (GetTypes): Fix length of returned array. Fixes
+       #65931.
+
+2004-10-04  Zoltan Varga  <vargaz@freemail.hu>
+
+       * ModuleBuilder.cs (DefineType): Check for duplicate type names. Fixes
+       #65988.
+
+2004-10-03  Zoltan Varga  <vargaz@freemail.hu>
+
+       * AssemblyBuilderAccess.cs: Remove [Flags].
+
+       * PackingSize.cs: Add new 2.0 members. Remove [Flags].
+
+       * AssemblyBuilder.cs: Add net 2.0 Save method.
+
+       * LocalBuilder.cs: Make this inherit from LocalVariableInfo under
+       net 2.0. Reorganize fields so the layout visible to the runtime is the
+       same under 1.0 and 2.0. Add 2.0 properties.
+
+2004-10-02  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * TypeBuilder.cs: throw NotSupportedException when defining default
+       ctor if parent type does not have default ctor
+
+2004-09-30  Zoltan Varga  <vargaz@freemail.hu>
+
+       * TypeBuilder.cs: Make 'created' field visible to the runtime.
+
+2004-09-28  Martin Baulig  <martin@ximian.com>
+
+       * GenericTypeParameterBuilder.cs
+       (GenericTypeParameterBuilder.ContainsGenericParameters): Return
+       true here; System.Type.ContainsGenericParameters returns true when
+       called on a type parameter, so let's do the same here.
+
+2004-09-27  Zoltan Varga  <vargaz@freemail.hu>
+
+       * ConstructorBuilder.cs: Add 2.0 GetILGenerator(size) method.
+
+2004-09-26  Zoltan Varga  <vargaz@freemail.hu>
+
+       * UnmanagedMarshal.cs: Add ToMarshalAsAttribute method.
+
+2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
+
+       * TypeBuilder.cs: Add IsCreated method.
+
+2004-09-24  Zoltan Varga  <vargaz@freemail.hu>
+
+       * FieldBuilder.cs: Add dummy GetFieldOffset method.
+
+2004-09-24  Martin Baulig  <martin@ximian.com>
+
+       * GenericTypeParameterBuilder.cs
+       (GenericTypeParameterBuilder.GetGenericParameterConstraints): Override.
+
+2004-09-23  Zoltan Varga  <vargaz@freemail.hu>
+
+       * DynamicMethod.cs: Add MetadataToken property and tweak Module property.
+
+2004-09-23  Martin Baulig  <martin@ximian.com>
+
+       * GenericTypeParameterBuilder.cs
+       (GenericTypeParameterBuilder.SetGenericParameterAttributes): New
+       public method, replaces the old Mono_* hacks.
+
+2004-09-20  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AssemblyBuilder.cs: Fixed assembly-level permissions. I don't know 
+       why I splitted them all into individual entries when only a single set
+       is accepted for each security action :(.
+
+2004-09-17  Zoltan Varga  <vargaz@freemail.hu>
+
+       * CustomAttributeBuilder.cs: Applied patch from Marcus Urban
+       (mathpup@mylinuxisp.com). Add support for defining custom
+       marshallers by calling SetCustomAttribute.      
+
+2004-09-16  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AssemblyBuilder.cs: Keep a copy of the 3 permission set as an array
+       of RefEmitPermissionSet. This will allow to reuse existing 
+       functionalities already present in the runtime.
+
+2004-09-12  Marek Safar  <marek.safar@seznam.cz>
+
+       * TypeBuilder.cs: Do not create default constructor for
+       static classes.
+
+2004-09-09  Zoltan Varga  <vargaz@freemail.hu>
+
+       * TypeBuilder.cs: Set the table_idx of the global type to 1.
+
+       * ModuleBuilder.cs: Save the main module of the assembly even if it is 
+       transient.
+
+2004-09-02 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * LocalBuilder.cs: another s.ioe
+
+2004-09-02 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * ModuleBuilder.cs: dont throw an S.IOE for debugging stuff.
+       makes sre apps work
+
+2004-09-02  Martin Baulig  <martin@ximian.com>
+
+       * MethodBuilder.cs (MethodBuilder.GetParameters): Throw a
+       NotSupportedException() until the type has been fully created.
+
+2004-09-01  Martin Baulig  <martin@ximian.com>
+
+       * IMonoSymbolWriter.cs: Removed.
+
+       * ModuleBuilder.cs, LocalBuilder.cs, ILGenerator.cs: Removed the
+       old debugging code.
+
+2004-08-13  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * AssemblyBuilder.cs: (Partly) Fix delay-signing issue (#56621) when 
+       MCS is used on the MS runtime (other part of the fix is for MCS).
+
+2004-08-11  Marek Safar  <marek.safar@seznam.cz>
+
+       * AssemblyBuilder.cs: Added AddPermissionRequests method
+       used be mcs for SecurityPermissionAttribute handling.
+
+2004-08-08  Zoltan Varga  <vargaz@freemail.hu>
+
+       * EnumBuilder.cs: Call setup_enum_type () in the constructor. Fixes
+       #62237.
+
 2004-08-07  Jackson Harper  <jackson@ximian.com>
 
        * AssemblyBuilder.cs: "neutral" culture is invariant culture