ChangeLog 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. 2002-05-30 Martin Baulig <[email protected]>
  2. * AssemblyBuilder.cs (methods): Made this internal and don't
  3. initialize it. It will be initialized by the ModuleBuilder's
  4. GetSymbolWriter() method.
  5. (get_next_table_index): Only store the method in the `methods'
  6. array if it's not null.
  7. * ModuleBuilder.cs (GetSymbolWriter): Initialize the AssemblyBuilder's
  8. `methods' field if necessary and pass it as third argument to the
  9. symbol writer's constructor.
  10. 2002-05-25 Martin Baulig <[email protected]>
  11. * TypeBuilder.cs (TypeToken): Implemented.
  12. 2002-05-24 Martin Baulig <[email protected]>
  13. * ModuleBuilder.cs (symwriter_define_local): New private variable.
  14. (GetSymbolWriter): Look for a custom version of "DefineLocalVariable"
  15. and store it in `symwriter_define_local'.
  16. (SymWriter_DefineLocalVariable): New internal method to call the
  17. symbol writer's custom DefineLocalVariable() method. It is safe to
  18. call this method if there's no symbol writer.
  19. * LocalBuilder.cs (SetLocalSymInfo): Use the MethodBuilder'snew
  20. SymWriter_DefineLocalVariable().
  21. * MethodBuilder.cs (GetParameters): Implemented.
  22. 2002-05-22 Martin Baulig <[email protected]>
  23. * ModuleBuilder.cs (GetSymbolWriter): Pass the this pointer to the
  24. symbol writer's constructor.
  25. 2002-05-22 Martin Baulig <[email protected]>
  26. * AssemblyBuilder.cs (methods): New field.
  27. (get_next_table_index): Record all methods and constructors
  28. (table 0x06) in the `methods' array. This is read by the
  29. Mono.CSharp.Debugger.MonoSymbolWriter::get_method interncall to
  30. get the MethodBuilder / ConstructorBuilder back from the token.
  31. * *Builder.cs (get_next_table_index): Added `object obj' argument.
  32. (<constructors>): pass the this pointer to get_next_table_index ().
  33. 2002-05-20 Martin Baulig <[email protected]>
  34. * TypeBuilder.cs (DefineField): Call the new `create_internal_class'
  35. interncall after adding the first field. This is used when creating
  36. enum types to set `klass->enum_basetype'.
  37. Thu May 16 16:09:51 CEST 2002 Paolo Molaro <[email protected]>
  38. * TypeBuilder.cs: complete special acse support for CharSet, Size and
  39. Pack named args in StructLayout attribute.
  40. Tue May 14 17:13:48 CEST 2002 Paolo Molaro <[email protected]>
  41. * MethodBuilder.cs: revert change in accessibility of
  42. GetILGenerator(int).
  43. Tue May 14 13:31:17 CEST 2002 Paolo Molaro <[email protected]>
  44. * FieldBuilder.cs, ParameterBuilder.cs: more special-casing of
  45. attributes.
  46. Fri May 10 20:57:27 CEST 2002 Paolo Molaro <[email protected]>
  47. * CustomAttributeBuilder.cs: expose internal data for use in
  48. reflection.
  49. * FieldBuilder.cs, TypeBuilder.cs: special case FieldOffset and
  50. StructLayout attributes.
  51. Fri May 10 16:30:57 CEST 2002 Paolo Molaro <[email protected]>
  52. * MethodBuilder.cs, ConstructorBuilder.cs: implemented InitLocals
  53. property.
  54. 2002-04-26 Martin Baulig <[email protected]>
  55. * ModuleBuilder.cs (DefineDocument): Implemented.
  56. Tue Apr 16 13:02:28 CEST 2002 Paolo Molaro <[email protected]>
  57. * AssemblyBuilder.cs: pad output file to file alignment.
  58. * FieldBuilder.cs: ReflectedType.
  59. * ModuleBuilder.cs: added guid generation and array method creation.
  60. * MonoArrayMethod.cs: array method support code.
  61. Wed Apr 10 12:57:31 CEST 2002 Paolo Molaro <[email protected]>
  62. * ILGenerator.cs: use a stack to keep track of exception blocks.
  63. Mon Apr 8 06:19:01 2002 Piers Haken <[email protected]>
  64. * ILGenerator.cs: added LabelField.label_base to allow for
  65. arbitrary offsets (for switch statement)
  66. Fri Apr 5 15:41:19 CEST 2002 Paolo Molaro <[email protected]>
  67. * AssemblyBuilder.cs: simpler protocol wih the runtime to
  68. get the assembly data.
  69. Tue Mar 26 20:10:24 CET 2002 Paolo Molaro <[email protected]>
  70. * AssemblyBuilder.cs: use FileMode.Create.
  71. * ILGenerator.cs: optimize localbuilder related opcodes.
  72. Track parameters to adjust maxstack.
  73. * LocalBuilder.cS: use unsigned for position.
  74. 2002-03-23 Miguel de Icaza <[email protected]>
  75. * LocalBuilder.cs: Drop the symbol_writer as LocalBuilder fields.
  76. Do this lazily in SetLocalSymInfo.
  77. 2002-03-24 Martin Baulig <[email protected]>
  78. * ModuleBuilder.cs (GetSymbolWriter): The MonoSymbolWriter's constructor
  79. now takes a `string assembly_filename' argument, pass it our fully
  80. qualified assembly name.
  81. 2002-03-24 Nick Drochak <[email protected]>
  82. * ILGenerator.cs: Use #if-#endif instead of if(false){} to disable
  83. code. This way there is no compiler warning.
  84. * TypeBuilder.cs: Removed the returns that came after the throws.
  85. This removes a few more compiler warnings. Also marked with MonoTODO
  86. all places where we throw NotImplemented exceptions.
  87. 2002-03-23 Martin Baulig <[email protected]>
  88. * SignatureHelper.cs (GetFieldSignatureHelper, GetLocalSignatureHelper):
  89. Implemented.
  90. * LocalBuilder.cs (LocalBuilder): This internal constructor now takes
  91. a ModuleBuilder argument instead of a ISymbolWriter one.
  92. (SetLocalSymInfo): Create and pass type signature to DefineLocalVariable.
  93. 2002-03-23 Martin Baulig <[email protected]>
  94. * ILGenerator.cs (BeginScope, EndScope): Implemented.
  95. 2002-03-20 Martin Baulig <[email protected]>
  96. * ModuleBuilder.cs (GetSymbolWriter): New internal function. Dynamically
  97. loads the default symbol writer, catch all possible exceptions and return
  98. null on failure.
  99. (ModuleBuilder): Added `bool emitSymbolInfo' argument to this internal
  100. constructor; if set, call GetSymbolWriter ().
  101. (GetSymWriter): Implemented.
  102. * LocalBuilder.cs (LocalBuilder): Added ISymbolWriter argument to this
  103. internal method.
  104. (SetLocalSymInfo): Implemented, call ISymbolWriter.DefineLocalVariable ()
  105. if the symbol writer is not null.
  106. * ILGenerator.cs (ILGenerator): Call ModuleBuilder.GetSymWriter () to get
  107. and store the symbol writer.
  108. (DeclareLocal): Pass the symbol writer to LocalBuilder's constructor.
  109. (MarkSequencePoint): Implemented, call ISymbolWriter.DefineSequencePoints ()
  110. if the symbol writer is not null.
  111. * AssemblyBuilder.cs (DefineDynamicModule): Pass the `bool emitSymbolInfo'
  112. to ModuleBuilder's constructor.
  113. Sat Mar 16 19:11:47 CET 2002 Paolo Molaro <[email protected]>
  114. * ModuleBuilder.cs: handle modified types correctly.
  115. Thu Mar 7 17:10:42 CET 2002 Paolo Molaro <[email protected]>
  116. * AssemblyBuilder.cs: allow saving bigger assemblies.
  117. * ILGenerator.cs: add fixup table for fields and methods, since
  118. at the end of the compile they may end up with a different table
  119. index.
  120. * ModuleBuilder.cs: add cache for type names to speed up the type
  121. lookups from the compiler.
  122. * TypeBuilder.cs: GetInterfaces () returns only interfaces in the
  123. current type, not in parents (the docs are wrong).
  124. Tue Mar 5 18:09:34 CET 2002 Paolo Molaro <[email protected]>
  125. * EventBuilder.cs: implemented.
  126. * TypeBuilder.cs: implemented DefineEvent() method and UnderlyingSystemType
  127. property.
  128. Mon Mar 4 20:34:52 CET 2002 Paolo Molaro <[email protected]>
  129. * ILGenerator.cs: make enough room in the byte array for string
  130. tokens.
  131. * TypeBuilder.cs: fixed GetInterfaces().
  132. Mon Mar 4 11:30:40 CET 2002 Paolo Molaro <[email protected]>
  133. * TypeBuilder.cs: implemented GetConstructors(), GetFields(),
  134. GetMethods(), GetProperties().
  135. Thu Feb 28 19:15:10 CET 2002 Paolo Molaro <[email protected]>
  136. * AssemblyBuilder.cs: call into the runtime to init some basic
  137. assembly stuff. Reserve slot 1 of typedef table for .<Module>.
  138. * ModuleBuilder.cs: call into the runtime if we need to create a
  139. modief type, such as arrays, byref etc.
  140. * TypeBuilder.cs: call into the runtime to create the MonoClass
  141. representation for the type. Throw exceptions with not implemented
  142. stuff.
  143. Wed Feb 27 18:48:47 CET 2002 Paolo Molaro <[email protected]>
  144. * ILGenerator.cs: fix nested exception blocks.
  145. Wed Feb 20 22:30:49 CET 2002 Paolo Molaro <[email protected]>
  146. * AssemblyBuilder.cs: upped compiled assembly size limit.
  147. Implemented SetCustomAttribute () methods.
  148. * CustomAttributeBuilder.cs: implemented the needed constructor
  149. stuff.
  150. * Cosntructorbuilder.cs, EnumBuilder.cs, FieldBuilder.cs,
  151. MethodBuilder.cs, ModuleBuilder.cs, ParameterBuilder.cs,
  152. PropertyBuilder.cs, TypeBuilder.cs: Implemented SetCustomAttribute () methods.
  153. Wed Feb 20 14:54:01 CET 2002 Paolo Molaro <[email protected]>
  154. * AssemblyBuilder.cs: add SetCustomAttribute () to keep the compiler
  155. going.
  156. Fri Feb 15 18:15:04 CET 2002 Paolo Molaro <[email protected]>
  157. * ILGenerator.cs: finally block support and fixes.
  158. Thu Feb 14 18:55:52 CET 2002 Paolo Molaro <[email protected]>
  159. * FieldBuilder.cs: Add SetRVAData().
  160. * ILGenerator.cs: speed up code array growth.
  161. * TypeBuilder.cs: fix IsValueTypeImpl(). Add class_size member.
  162. Implement DefineInitializedData().
  163. Tue Jan 22 23:01:11 CET 2002 Paolo Molaro <[email protected]>
  164. * EnumBuilder.cs, TypeBuilder.cs: updates for changes in Type.cs.
  165. * ModuleBuilder.cs: fix lookup of nested types.
  166. Tue Jan 15 22:46:21 CET 2002 Paolo Molaro <[email protected]>
  167. * ILGenerator.cs: implement some of the exception support methods.
  168. Mon Jan 14 17:07:32 CET 2002 Paolo Molaro <[email protected]>
  169. * ModulerBuilder.cs: search also for subtypes in GetTypes().
  170. * TypeBuilder.cs: bugfix in FullName. Implemented DefineNestedType().
  171. Fri Jan 11 19:00:29 CET 2002 Paolo Molaro <[email protected]>
  172. * MethodBuilder.cs, ConstructorBuilder.cs: save parameter info.
  173. Thu Jan 10 21:07:54 CET 2002 Paolo Molaro <[email protected]>
  174. * ILGenerator.cs: handle type tokens (used for box opcode).
  175. Wed Jan 9 19:37:55 CET 2002 Paolo Molaro <[email protected]>
  176. * ILGenerator.cs: emit float and doubles.
  177. * ModuleBuilder.cs: off-by-one error fix and GetType()
  178. implementations.
  179. * TypeBuilder.cs: AttributesImpl added.
  180. * UnmanagedMarshal.cs: stubbed out class.
  181. Sat Jan 5 15:59:05 CET 2002 Paolo Molaro <[email protected]>
  182. * ILGenerator.cs: fix emission of two-bytes opcodes.
  183. Missing slot for locals array. Throw exceptions on unimplemented
  184. methods.
  185. * OpCode.cs: add a comment: the Value property is useless.
  186. * OpCodes.cs: fix name of tail opcode (Tail -> Tailcall).
  187. 2002-01-05 Ravi Pratap <[email protected]>
  188. * ConstructorBuilder.cs : Use the MonoTODO attribute.
  189. * ILGenerator.cs, Label.cs, MethodBuilder.cs, ModuleBuilder.cs,
  190. ParameterBuilder.cs, TypeBuilder.cs : Ditto.
  191. Thu Jan 3 23:26:15 CET 2002 Paolo Molaro <[email protected]>
  192. * ILGenerator.cs: typo fix.
  193. Mon Dec 24 17:21:30 CET 2001 Paolo Molaro <[email protected]>
  194. * TypeBuilder.cs: added DefineMethodOverride().
  195. * MethodBuilder.cs: add override_method member and setter.
  196. Mon Nov 19 13:58:01 CET 2001 Paolo Molaro <[email protected]>
  197. * AssemblyBuilder.cs: add method to register a string in the "#US"
  198. stream.
  199. * EnumBuilder.cs, SignatureHelper.cs: added stubs.
  200. * ILGenerator.cs: more stuff implemented.
  201. * LocalBuilder.cs: keep track of local var index.
  202. Thu Nov 15 18:11:23 CET 2001 Paolo Molaro <[email protected]>
  203. * ConstructorBuilder.cs: implement the interesting methods.
  204. * ILGenerator.cs: adapt for use with both a MethodBuilder and a
  205. ConstructorBuilder.
  206. * MethodBuilder.cs: add ImplAttributes.
  207. * ParameterBuilder.cs: adapt for ConstructorBuilder.
  208. * TypeBuilder.cs: add constructors handling.
  209. Wed Nov 14 17:01:45 CET 2001 Paolo Molaro <[email protected]>
  210. * ConstructorBuilder.cs: added missing stubs and some implementation.
  211. * CustomAttributeBuilder.cs: added.
  212. * EventBuilder.cs: added.
  213. * FieldBuilder.cs: updates.
  214. * MethodBuilder.cs: stuff to implement P/Invoke methods.
  215. * ModuleBuilder.cs: added GetArrayMethod() stub.
  216. * ParameterBuilder.cs, PropertyBuilder.cs: updates.
  217. * TypeBuilder.cs: updates and stubs.
  218. 2001-11-10 Sean MacIsaac <[email protected]>
  219. * TypeBuilder.cs: Added implementation for TypeHandle.
  220. Tue Nov 6 09:13:45 CET 2001 Paolo Molaro <[email protected]>
  221. * AssemblyBuilder.cs: define an internal constructor.
  222. 2001-10-07 Miguel de Icaza <[email protected]>
  223. * AssemblyBuilder.cs: Reformatted.
  224. Added override keywords to those that needed them.
  225. Removed methods that we do not override, but just inherit
  226. Tue Sep 25 16:53:08 CEST 2001 Paolo Molaro <[email protected]>
  227. * TypeBuilder.cs, ConstructorBuilder.cs, ModuleBuilder.cs: added.