this went in accidentally
[mono.git] / mcs / class / Mono.Cecil / ChangeLog
index c0cb6bb8772cb73cbdcafccf1f9b3ee70d9f20b1..b8c0ee0759f1af9df89a4c78a4d4313c7e617bc3 100644 (file)
@@ -1,3 +1,222 @@
+2008-02-26  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil.Binary/ImageReader.cs:
+               Avoid throwing non desired exceptions.
+
+2008-02-25  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/ReflectionReader.cs:
+               Avoid throwing in case a constant
+               is of type object.
+
+2008-02-19  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/DefaultImporter.cs:
+               Add support for importing function pointers. Based on a
+               patch by Andrea Carlo Ornstein <andrea.ornstein@st.com>.
+
+       * Mono.Cecil/ModuleDefinition.cs:
+               Add a Inject(FieldDef) overload for symmetry.
+               Patch by Andrea Carlo Ornstein <andrea.ornstein@st.com>.
+
+2008-02-16  Jb Evain  <jbevain@novell.com>
+
+       * CodeGen/templates/MetadataRowReader.cs
+         CodeGen/templates/Utilities.cs
+         CodeGen/templates/MetadataRowWriter.cs
+         Mono.Cecil.Metadata/MetadataRowReader.cs
+         Mono.Cecil.Metadata/MetadataRowWriter.cs
+         Mono.Cecil.Metadata/Utilities.cs:
+               Use a good old traditional array instead of an
+               Hashtable. Based on a patch by Carlo Kok <ck@remobjects.com>.
+
+2008-02-07  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/BaseAssemblyResolver.cs:
+               deal with 2.1 corlib on Mono.
+
+2008-02-07  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/MethodDefinition.cs:
+               add last Is method for semantics property.
+
+2008-02-05  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/TypeDefinition.cs:
+               System.Enum by itself is not a value type.
+               Fix #351879.
+
+       * Mono.Cecil.Signatures/SignatureReader.cs:
+               Properly read fnptr local variables. Fix #358507.
+
+       * Mono.Cecil.Binary/DefaultImporter.cs:
+               Import modifiers and sentinels, patch from:
+               Andrea Carlo Ornstein <andrea.ornstein@st.com>
+
+2008-02-04  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil.Binary/CLIHeader.cs
+         Mono.Cecil.Binary/ImageWriter.cs
+         Mono.Cecil.Metadata/MetadataWriter.cs:
+               emit the proper cli header version for 1.1 and 2.0 cases.
+
+       * Mono.Cecil.Cil/CilWorker.cs: add callsite overloads.
+
+2008-01-10  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/ReflectionHelper.cs: deal with complex arrays.
+
+2008-01-07  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil.Cil/CilWorker.cs:
+               Allow ldarg.s/ldloc.s/stloc.s to take a byte
+               instead of the actual parameter or variable. Fix #350606.
+
+2008-01-07  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/ArrayType.cs:
+               Add a constructor with the array rank. Fix #351924.
+               Based on a patch by Rolf Kvinge <rkvinge@novell.com>.
+
+2008-01-04  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil.Cil/CilWorker.cs:
+               Allow ldarg/ldloc/stloc to take a integer
+               instead of the actual parameter or variable. Fix #350606.
+
+2008-01-04  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/DefaultImporter.cs:
+         Mono.Cecil/ReflectionHelper.cs:
+               Properly import nested types. Fix #351133.
+
+2008-01-03  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/ReflectionWriter.cs:
+               Properly emit null type constants. Fix #351141.
+               Patch by Rolf Kvinge <rkvinge@novell.com>.
+
+2007-12-30  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil.Cil/CilWorker.cs:
+               Check for null arguments. Fix #350857.
+
+2007-12-21  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/ReflectionReader.cs
+         Mono.Cecil/AggressiveReflectionReader.cs
+         Mono.Cecil.Signatures/SignatureReader.cs:
+               Don't crash on force resolve for nested arrays
+               in custom attributes.
+
+2007-12-17  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/IMemberDefinition.cs: make IMemberDefinition
+       implement ICustomAttributeProvider.
+
+2007-12-15  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil.Binary/AggressiveReflectionReader.cs: protect
+       against zeroed tokens.
+
+2007-12-15  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil.Binary/ImageReader.cs: fix crash when reading
+       some non .net binaries.
+
+2007-11-22  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Mono.Cecil/SecurityDeclarationReader.cs:      Change default read
+       value to true. Fix reading 2.0 security declaration format used by
+       MS compilers (#343553).
+
+2007-11-15     Rodrigo B. de Oliveira <rodrigobamboo@gmail.com>
+
+       * Mono.Cecil.Cil/MethodBody.cs:
+               Fixed Optimize for ldc_i4
+
+2007-11-15     Rodrigo B. de Oliveira <rodrigobamboo@gmail.com>
+
+       * Mono.Cecil.Cil/DocumentLanguage.cs
+         Mono.Cecil.Cil/DocumentLanguageVendor.cs:
+               Compact Framework support by using Guid(string) if CF_2_0 is defined
+
+2007-11-01  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/MethodReturnType.cs: based on a patch by
+       Ivan <ivanjh@gmail.com>. Fix for cloning methods with
+       marshalers on return type.
+
+2007-10-31  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil.Binary/ImageReader.cs: fix for the case where
+       the export table export zero functions.
+
+2007-10-18  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil.Cil/MethodBody.cs: Add an Optimize method which
+       is the opposite of Simplify. Based on a patch by Carlo.
+
+       * Mono.Cecil.Cil/CodeWriter.cs: don't care about reducing MaxStack.
+
+2007-10-11  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/TypeReference.cs: add a IsNested helper property.
+
+       * Mono.Cecil/ReflectionWriter.cs
+         Mono.Cecil.Signatures/SignatureWriter.cs:
+               Integrate patch for Carlo, start working on enum writing
+               in custom attribute.
+
+2007-10-09  Nestor Salceda  <nestor.salceda@gmail.com>
+
+       * mono-cecil.pc.in:  Updated the version number.
+
+2007-10-09  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil.Cil/Instruction.cs
+         Mono.Cecil.Cil/CodeWriter.cs:
+               Move CodeWriter.GetSize (Instruction) to Instruction.
+
+       Integration of patches from Carlo Kok <ck@remobjects.com>:
+
+       * Mono.Cecil.Cil/Document.cs
+         Mono.Cecil.Cil/DocumentType.cs
+         Mono.Cecil.Cil/DocumentLanguage.cs
+         Mono.Cecil.Cil/DocumentLanguageVendor.cs:
+               Use plain guids for Document properties so it's easy
+               for third party document providers to use their own.
+
+       * Mono.Cecil/ParameterDefinition.cs:
+               Clean or set the HasFieldMarshal flag when setting
+               MarshalSpecs on parameters.
+
+       * Mono.Cecil/AssemblyNameReference.cs:
+               Protect against null culture.
+
+       * Mono.Cecil/FieldDefinition.cs:
+               Clean or set the HasFieldMarshal flag when setting
+               MarshalSpecs on fields.
+
+       * Mono.Cecil/GenericInstanceType.cs:
+               Properly initialize the IsValueType from the element type.
+
+2007-10-09  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/ReflectionWriter.cs: check for duplicates
+       in the MemberRef row.
+
+2007-10-08  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * standalone.make: Revert changes so standalone Cecil (in SVN) can
+       be built using this Makefile (required for Gendarme);
+       * README: Update build and bug instructions.
+
+2007-10-07  Jb Evain  <jbevain@novell.com>
+
+       * Mono.Cecil/BaseAssemblyResolver.cs: first lookup assemblies
+       in the specified directories before trying the framework dir.
+
 2007-10-06  Jb Evain  <jbevain@novell.com>
 
        * Mono.Cecil.Cil/OpCode.cs: make that a struct again, it