2007-01-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
[mono.git] / mcs / class / corlib / System.Reflection.Emit / ChangeLog
index d1365c0534381613714f8b41cffd7fa4fbee0800..afb7728263619a7df0a140512a6b5047e510d842 100644 (file)
@@ -1,3 +1,184 @@
+2007-01-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * EnumBuilder.cs: value__ must have RTSpecialName flag set.
+       Fixes #80396
+
+Fri Dec 22 19:42:56 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * ModuleBuilder.cs: associate a resource writer with its
+       actual resource (bug #80339).
+
+2006-10-06  Miguel de Icaza  <miguel@novell.com>
+
+       * AssemblyBuilder.cs: Am doing a try/catch for pulling the LCID
+       from the AssemblyCulture that is provided, as Microsoft allows
+       arbitrary locales (even non-existing ones) to be specified.
+
+       The .locale information is actually pulled from the AssemblyName,
+       not from this lcid.  But this LCID is used to encode the
+       resource.  In my exploration of this, we are setting this field,
+       even if CSC never sets the field itself (its always zero).
+
+       Maybe we should completely remove this.
+
+2006-09-12  Mart Roosma  <roosma@gmail.com>
+
+       * DynamicMethod.cs: Allow empty name and null return type. 
+       Fixes bug #79367.
+
+2006-09-05  Miguel de Icaza  <miguel@novell.com>
+
+       * TypeBuilder.cs (SetParent): Null parent is allowed for
+       interfaces. 
+
+2006-09-02  Zoltan Varga  <vargaz@gmail.com>
+
+       * DynamicMethod.cs: Fix a warning.
+
+       * TypeBuilder.cs: Allow static methods on interfaces. Fixes #79249.
+
+2006-08-18  Zoltan Varga  <vargaz@gmail.com>
+
+       * *.cs: Use String.Empty instead of "" in a lot of places.
+
+2006-07-14  Zoltan Varga  <vargaz@gmail.com>
+
+       * ConstructorBuilder.cs (GetILGenerator): Avoid creating a new ILGenerator each time
+       this is called. Fixes #78859.
+
+2006-07-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * MethodBuilder.cs (SetCustomAttribute): Fix handling of SpecialNameAttribute.
+
+2006-07-09  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DynamicMethod.cs: Fix check for empty method body, avoids SIGSEV.
+
+2006-07-08  Zoltan Varga  <vargaz@gmail.com>
+
+       * DynamicMethod.cs: Create all other DynamicMethod's referenced by
+       this method as well. Check for an empty method body.
+
+       * ILGenerator.cs (Emit): Handle DynamicMethod's which might not have a
+       declaring type.
+
+2006-05-15  Zoltan Varga  <vargaz@gmail.com>
+
+       * AssemblyBuilder.cs (MonoResource): Add a 'stream' field.
+
+       * ModuleBuilder.cs (DefineManifestResource): Add new net 2.0 method.
+
+2006-04-26  Miguel de Icaza  <miguel@novell.com>
+
+       * MethodBuilder.cs: better error messages when we close the
+       method. 
+
+2006-03-28  Marek Safar  <marek.safar@seznam.cz>
+
+       * ILGenerator.cs: Delayed the exception stack creation. It saves ~1.5 MB
+       for corlib compilation.
+
+2006-03-27  Marek Safar  <marek.safar@seznam.cz>
+
+       * ILGenerator.cs: Tune up label defaults, switched to double resizing.
+
+2006-03-15  Zoltan Varga  <vargaz@gmail.com>
+
+       * AssemblyBuilder.cs (AddTypeForwarder): New internal method for
+       adding type forwarders to an assembly.
+
+2006-02-27  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * ConstructorBuilder.cs: In AddDeclarativeSecurity, throw an
+       ArgumentOutOfRangeException instead of an ArgumentException if action 
+       is a Request* action. Fixes bug #77640.
+       * MethodBuilder.cs: Same.
+       * TypeBuilder.cs: Same.
+
+Mon Feb 27 17:12:40 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * ModuleBuilder.cs: unlink the file before saving
+       otherwise we might overwrite a file mmapped by the runtime.
+
+2006-02-17  Zoltan Varga  <vargaz@gmail.com>
+
+       * DynamicMethod.cs: Implement DefineParameter ().
+
+       * ParameterBuilder.cs: Add support for DynamicMethod parents.
+
+2006-02-15  Martin Baulig  <martin@ximian.com>
+
+       * TypeBuilder.cs (TypeBuilder.DefineMethod): Also enable the
+       2-argument version in the `BOOTSTRAP_NET_2_0' profile.
+       (TypeBuilder.DefineGenericMethod): Removed.
+
+2006-02-14  Martin Baulig  <martin@ximian.com>
+
+       * ConstructorBuilder.cs
+       (ConstructorBuilder.IsGenericMethod): Override this and return
+       false; the MS runtime doesn't throw an exception here.
+       (ConstructorBuilder.IsGenericMethodDefinition): Likewise.
+
+       * MethodBuilder.cs
+       (MethodBuilder.IsGenericMethod): Implement this.
+       (MethodBuilder.IsGenericMethodDefinition): Likewise.
+
+2006-02-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * TypeBuilder.cs (CreateType): Add a check for Sealed parents.
+
+2006-02-01  Zoltan Varga  <vargaz@gmail.com>
+
+       * OpCodes.cs: Readonly is a net 2.0 only field.
+
+Tue Jan 31 13:37:02 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * OpCodes.cs: Added Readonly field.
+
+2006-01-29  Raja R Harinath  <harinath@gmail.com>
+
+       * GenericTypeParameterBuilder.cs (DeclaringType): Return the
+       declaring type of a generic method.
+
+2005-12-15  Raja R Harinath  <rharinath@novell.com>
+
+       * TypeBuilder.cs (IsGenericType): Implement override.
+
+2005-12-07  Martin Baulig  <martin@ximian.com>
+
+       * GenericTypeParameterBuilder.cs: Add support for custom attributes.
+       (GenericTypeParameterBuilder.cattrs): New field.
+       (GenericTypeParameterBuilder.SetCustomAttribute): Implement this.
+
+Mon Dec 5 15:13:26 CET 2005 Paolo Molaro <lupus@ximian.com>
+
+       * ILGenerator.cs: fixed emitting doubles on ARM.
+
+2005-12-02  Alp Toker  <alp@atoker.com>
+
+       * GenericTypeParameterBuilder.cs:
+       * TypeBuilder.cs: DeclaringMethod should return MethodBase, not MethodInfo
+
+2005-11-19  Zoltan Varga  <vargaz@gmail.com>
+
+       * AssemblyBuilder.cs: Add support for setting FileVersion unmanaged 
+       resource. Fixes #64427.
+
+2005-11-18  Zoltan Varga  <vargaz@gmail.com>
+
+       * ParameterBuilder.cs (SetCustomAttribute): Handle DefaultParameterValueAttribute as well.
+
+       * CustomAttributeBuilder.cs: Add support for decoding more types of
+       constructor parameters.
+
+2005-11-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * TypeBuilder.cs (SetCustomAttribute): Handle ComImportAttribute as well.
+
+2005-11-11  Marek Safar  <marek.safar@seznam.cz>
+
+       * EnumBuilder.cs, GenericTypeParameterBuilder.cs: Reflect Type changes.
+
 2005-11-06  Zoltan Varga  <vargaz@freemail.hu>
 
        * Label.cs: Add == and != operators.