ChangeLog 77 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394
  1. 2008-01-29 Zoltan Varga <[email protected]>
  2. * ModuleBuilder.cs: Fix build.
  3. * AssemblyBuilder.cs (GetTypes): Implement this entirely in managed code.
  4. * ModuleBuilder.cs (GetTypes): Replace TypeBuilders with their created types to
  5. match MS.
  6. * AssemblyBuilder.cs: Override GetModulesInternal () so we can return
  7. ModuleBuilders.
  8. 2008-01-25 Zoltan Varga <[email protected]>
  9. * TypeBuilder.cs (GenerateDebugInfo): Emit debug info for nested types as well.
  10. Fixes #356316.
  11. 2008-01-21 Gert Driesen <[email protected]>
  12. * AssemblyBuilder.cs: Introduce magic value for AssemblyBuilderAccess
  13. to signal usage from a compiler. On 2.0 profile, perform argument
  14. check for access. Use AssemblyFlags passed in through AssemblyName
  15. arguments. Modified SetCustomAttribute to only use the Assembly*
  16. attribute for constructing the assembly name when used in compiler
  17. context. Fixes corlib part of bug #354970.
  18. 2008-01-17 Zoltan Varga <[email protected]>
  19. * TypeBuilder.cs (GetConstructorImpl): Add back the code removed by the last
  20. patch since it is needed when building mscorlib.
  21. 2008-01-16 Gert Driesen <[email protected]>
  22. * TypeBuilder.cs (GetConstructorImpl): Use GetConstructor on created
  23. type. Original implementation did not take into account the binding
  24. flags and failed with a NotSupportedException if the default binder
  25. checked if a ParamArrayAttribute was defined. It also does not make
  26. sense to return a ConstructorBuilder once the type is emitted.
  27. (GetConstructors): When the type is emitted, use GetConstructors
  28. on the created type.
  29. (GetFields): Removed duplicate code.
  30. (GetMethodsByName): Fixed matching of methods in the parent class
  31. depending on their accessibility:
  32. - Private: never include private methods of parent
  33. - Public: ignore if Public flag is not set
  34. - Assembly: ignore if NonPublic is not set or when on the 1.0 profile
  35. - Rest (Family, FamANDAssem, FamORAssem): ignore if NonPublic flag is
  36. not set
  37. Static methods of the parent are ignored unless the FlattenHierarchy
  38. flag is set.
  39. (GetProperties): When the type is emitted, use GetProperties on the
  40. created type as the TypeBuilder implementation itself does not include
  41. properties from the parent class.
  42. 2007-12-31 Gert Driesen <[email protected]>
  43. * AssemblyBuilder.cs (UnprotectedGetName): Set the public key token
  44. as well.
  45. 2007-12-10 Zoltan Varga <[email protected]>
  46. * FieldBuilder.cs (GetToken): Use the MetadataToken property.
  47. 2007-11-20 Atsushi Enomoto <[email protected]>
  48. * GenericTypeParameterBuilder.cs : fixed regression.
  49. GenericParameterAttributes also needs some special care.
  50. 2007-11-20 Atsushi Enomoto <[email protected]>
  51. * MethodBuilder.cs : implemented ContainsGenericParameters().
  52. * GenericTypeParameterBuilder.cs : removed most of extra members
  53. and added missing members for 2.0 API.
  54. 2007-11-18 Miguel de Icaza <[email protected]>
  55. * SignatureHelper.cs: Implement Equals and GetHashCode
  56. 2007-11-17 Miguel de Icaza <[email protected]>
  57. * SignatureHelper.cs: Preparational tasks to support the
  58. AddArgument overloads that allow the specification of modopts and
  59. modreqs.
  60. Refactor code, add new parameters.
  61. * SignatureHelper.cs (AddArguments): Add new 2.0 API, used by
  62. new versions of the DLR. Currently does not have support for
  63. modreq, modopts. Just a simple wrapper as consumed by the DLR.
  64. 2007-11-16 Atsushi Enomoto <[email protected]>
  65. * AssemblyBuilder.cs : added missing 2.0 member.
  66. * DynamicMethod.cs : removed extra stuff.
  67. * DynamicILInfo.cs : no public .ctor().
  68. * ILGenerator.cs : fixed 2.0 member signatures.
  69. 2007-11-16 Atsushi Enomoto <[email protected]>
  70. * EnumBuilder.cs, TypeBuilder.cs : implemented missing 2.0
  71. stuff, in harmless manner.
  72. 2007-11-16 Atsushi Enomoto <[email protected]>
  73. * ConstructorBuilder.cs : added CallingConvention.
  74. 2007-11-16 Atsushi Enomoto <[email protected]>
  75. * SignatureHelper.cs : Module can be null, and for non-
  76. ModuleBuilder argument, throw ArgumentException.
  77. Added missing 2.0 stuff.
  78. 2007-11-08 Rodrigo Kumpera <[email protected]>
  79. * TypeBuilder.cs: Workaround for #82625 not needed anymore.
  80. GetFields() returns the created type fields.
  81. 2007-10-15 Gert Driesen <[email protected]>
  82. * ILGenerator.cs: Added missing null checks. Removed extra tabs.
  83. 2007-09-23 Gert Driesen <[email protected]>
  84. * AssemblyBuilder.cs: Added missing paramname to ArgumentExceptions.
  85. Use String.Length to check for zero-length string.
  86. 2007-09-23 Zoltan Varga <[email protected]>
  87. * AssemblyBuilder.cs (GetManifestModule): Return a ModuleBuilder here to
  88. match MS.NET.
  89. 2007-09-22 Gert Driesen <[email protected]>
  90. * TypeBuilder.cs: Do not include static methods of base class in
  91. GetMethod(s). Fixes bug #327482.
  92. 2007-09-14 Zoltan Varga <[email protected]>
  93. * AssemblyBuilder.cs (DefineVersionInfoResource): Allow the arguments to be
  94. null. Fixes #82832.
  95. 2007-09-11 Jb Evain <[email protected]>
  96. * DynamicMethod.cs: store the owner of the DynamicMethod.
  97. 2007-09-09 Zoltan Varga <[email protected]>
  98. * AssemblyBuilder.cs (DefineUnmanagedResource): Open file read-only. Fixes
  99. #72764.
  100. 2007-09-02 Zoltan Varga <[email protected]>
  101. * TypeBuilder.cs: Add a workaround for #82625 to make nemerle work again.
  102. 2007-08-29 Gert Driesen <[email protected]>
  103. * AssemblyBuilder.cs: In DefineIconResource, open icon in read-only
  104. mode. Fixes bug #82617.
  105. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  106. * ILGenerator.cs: Change BeginCatchBlock to end the current filter block if called with a null exceptionType. Added ILExceptionBlock.FILTER_START to be able to track if we're in a filter block or not. Renamed PatchLastClauseStart to PatchFilterClause to match better what it does, and make it update the handler's type to FILTER. Fixes #81431.
  107. 2007-08-10 Zoltan Varga <[email protected]>
  108. * DynamicILInfo.cs: New file.
  109. * DynamicMethod.cs (GetDynamicILInfo): New 2.0 method.
  110. 2007-07-11 Rodrigo Kumpera <[email protected]>
  111. * TypeBuilder.cs (CreateType): method did not check for enum type with defined methods and fixed compatibility issue in case of calling CreateType again after the first one failed, it now returns null as well.
  112. 2007-07-10 Zoltan Varga <[email protected]>
  113. * OpCodeType.cs EventToken.cs FieldToken.cs SignatureToken.cs PackingSize.cs
  114. StringToken.cs AssemblyBuilderAccess.cs FlowControl.cs MethodToken.cs
  115. ParameterToken.cs TypeToken.cs PropertyToken.cs OperandType.cs PEFileKinds.cs
  116. StackBehaviour.cs: 2.0 updates.
  117. 2007-07-07 Gert Driesen <[email protected]>
  118. * MethodBuilder.cs: Code formatting. Spaces to tabs.
  119. * TypeBuilder.cs: Same.
  120. 2007-07-06 Gert Driesen <[email protected]>
  121. * TypeBuilder.cs: Throw InvalidOperationException when attempting to
  122. construct non-abstract interface without base type. Modified SetParent
  123. to match MS: in 2.0 profile, throw InvalidOperationException when
  124. parent is null and TypeBuilder is non-abstract interface. When
  125. parent is null and TypeBuilder is not an interface, then set object
  126. as parent. In 1.0 profile, throw ArgumentNullException when parent is
  127. null.
  128. 2007-07-06 Gert Driesen <[email protected]>
  129. * TypeBuilder.cs: Implemented IsCOMObjectImpl.
  130. 2007-07-04 Atsushi Enomoto <[email protected]>
  131. * DynamicMethod.cs : 2.0 API fix.
  132. 2007-06-21 Zoltan Varga <[email protected]>
  133. * DynamicMethod.cs: Applied patch from Robert Jordan ([email protected]). Add
  134. a destructor which frees the runtime data for the method.
  135. 2007-05-21 Gert Driesen <[email protected]>
  136. * TypeBuilder.cs: Changed HasElementTypeImpl to return false on 2.0
  137. profile when type is not baked.
  138. 2007-05-21 Jb Evain <[email protected]>
  139. * TypeBuilder.cs
  140. MethodBuilder.cs:
  141. Tag methods and types as HasSecurity when adding a
  142. SuppressUnmanagedCodeSecurityAttribute on them.
  143. Makes peverify happy.
  144. 2007-05-16 Gert Driesen <[email protected]>
  145. * TypeBuilder.cs (GetField): Return MonoField instance if the type is
  146. already created. Fixed other part of bug #81368.
  147. 2007-05-16 Zoltan Varga <[email protected]>
  148. * TypeBuilder.cs (GetFields): Return MonoField objects if the type is already
  149. created.
  150. * FieldBuilder.cs (SetValue): Make this not supported again.
  151. * FieldBuilder.cs: Support calling SetValue (). Fixes #81638.
  152. 2007-05-06 Zoltan Varga <[email protected]>
  153. * TypeBuilder.cs (CreateType): Fix build.
  154. * TypeBuilder.cs (.ctor): Convert null parent to typeof (object). Fixes #81530.
  155. * TypeBuilder.cs (UnderlyingSystemType): Remove commented out code.
  156. 2007-04-15 Alp Toker <[email protected]>
  157. * ConstructorBuilder.cs: Make use of
  158. ConstructorInfo.TypeConstructorName/ConstructorName.
  159. 2007-04-09 Alp Toker <[email protected]>
  160. * ConstructorBuilder.cs: Remove redundant overrides.
  161. 2007-04-03 Marek Safar <[email protected]>
  162. * OpCodes.cs: Removed obsolete opcodes.
  163. 2007-04-03 Alp Toker <[email protected]>
  164. * GenericTypeParameterBuilder.cs: SetInterfaceConstraints(Type[]) is
  165. params.
  166. * MethodBuilder.cs: MakeGenericMethod(Type[]) is params.
  167. 2007-03-19 Marek Safar <[email protected]>
  168. * MethodBuilder.cs: MethodImplAttribute cannot be destructive and overwrite
  169. existing flags.
  170. 2007-03-17 Marek Safar <[email protected]>
  171. * MethodBuilder.cs: Implemented conversion of PreserveSigAttribute pseudo
  172. attribute.
  173. 2007-03-17 Zoltan Varga <[email protected]>
  174. * ILGenerator.cs (Emit): Disallow ldtoken on a DynamicMethod as well.
  175. * ILGenerator.cs (Emit): Do not allow ldftn on a DynamicMethod to be
  176. compatible with MS.NET. Fixes #81157.
  177. 2007-03-13 Miguel de Icaza <[email protected]>
  178. * OpCode.cs: Add a couple of operators for jsc.sf.net
  179. 2007-03-12 Zoltan Varga <[email protected]>
  180. * DynamicMethod.cs: Add a field used by unmanaged code.
  181. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  182. * MonoArrayMethod.cs: Use 'void' as return type in ToString when
  183. the return type is null. Fixes #80435.
  184. 2007-03-06 Gert Driesen <[email protected]>
  185. * EnumBuilder.cs: On 2.0 profile, using current EnumBuilder as
  186. field type in DefinedLiteral. Fixes bug #81007.
  187. 2007-02-25 Marek Safar <[email protected]>
  188. * MethodBuilder.cs: Empty string is not allowed for DllImport name.
  189. 2007-02-13 Marek Safar <[email protected]>
  190. * ModuleBuilder.cs: Add GetRegisteredType to expose name_cache for internal
  191. usage.
  192. * TypeBuilder.cs: Optimized generation of unmanaged data helpers.
  193. An unmanaged data class helper can be re-used when its size matches to
  194. size of requested class.
  195. 2007-01-25 Radek Doulik <[email protected]>
  196. * ModuleBuilder.cs: return created type from GetType in case the
  197. type builder type was already created. Added test-555.cs as
  198. regression test.
  199. Tue Jan 23 17:45:07 CET 2007 Paolo Molaro <[email protected]>
  200. * ModuleBuilder.cs, AssemblyBuilder.cs: mark the GC-tracked field
  201. with UIntPtr.
  202. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  203. * EnumBuilder.cs: value__ must have RTSpecialName flag set.
  204. Fixes #80396
  205. Fri Dec 22 19:42:56 CET 2006 Paolo Molaro <[email protected]>
  206. * ModuleBuilder.cs: associate a resource writer with its
  207. actual resource (bug #80339).
  208. 2006-10-06 Miguel de Icaza <[email protected]>
  209. * AssemblyBuilder.cs: Am doing a try/catch for pulling the LCID
  210. from the AssemblyCulture that is provided, as Microsoft allows
  211. arbitrary locales (even non-existing ones) to be specified.
  212. The .locale information is actually pulled from the AssemblyName,
  213. not from this lcid. But this LCID is used to encode the
  214. resource. In my exploration of this, we are setting this field,
  215. even if CSC never sets the field itself (its always zero).
  216. Maybe we should completely remove this.
  217. 2006-09-12 Mart Roosma <[email protected]>
  218. * DynamicMethod.cs: Allow empty name and null return type.
  219. Fixes bug #79367.
  220. 2006-09-05 Miguel de Icaza <[email protected]>
  221. * TypeBuilder.cs (SetParent): Null parent is allowed for
  222. interfaces.
  223. 2006-09-02 Zoltan Varga <[email protected]>
  224. * DynamicMethod.cs: Fix a warning.
  225. * TypeBuilder.cs: Allow static methods on interfaces. Fixes #79249.
  226. 2006-08-18 Zoltan Varga <[email protected]>
  227. * *.cs: Use String.Empty instead of "" in a lot of places.
  228. 2006-07-14 Zoltan Varga <[email protected]>
  229. * ConstructorBuilder.cs (GetILGenerator): Avoid creating a new ILGenerator each time
  230. this is called. Fixes #78859.
  231. 2006-07-11 Zoltan Varga <[email protected]>
  232. * MethodBuilder.cs (SetCustomAttribute): Fix handling of SpecialNameAttribute.
  233. 2006-07-09 Gert Driesen <[email protected]>
  234. * DynamicMethod.cs: Fix check for empty method body, avoids SIGSEV.
  235. 2006-07-08 Zoltan Varga <[email protected]>
  236. * DynamicMethod.cs: Create all other DynamicMethod's referenced by
  237. this method as well. Check for an empty method body.
  238. * ILGenerator.cs (Emit): Handle DynamicMethod's which might not have a
  239. declaring type.
  240. 2006-05-15 Zoltan Varga <[email protected]>
  241. * AssemblyBuilder.cs (MonoResource): Add a 'stream' field.
  242. * ModuleBuilder.cs (DefineManifestResource): Add new net 2.0 method.
  243. 2006-04-26 Miguel de Icaza <[email protected]>
  244. * MethodBuilder.cs: better error messages when we close the
  245. method.
  246. 2006-03-28 Marek Safar <[email protected]>
  247. * ILGenerator.cs: Delayed the exception stack creation. It saves ~1.5 MB
  248. for corlib compilation.
  249. 2006-03-27 Marek Safar <[email protected]>
  250. * ILGenerator.cs: Tune up label defaults, switched to double resizing.
  251. 2006-03-15 Zoltan Varga <[email protected]>
  252. * AssemblyBuilder.cs (AddTypeForwarder): New internal method for
  253. adding type forwarders to an assembly.
  254. 2006-02-27 Gert Driesen <[email protected]>
  255. * ConstructorBuilder.cs: In AddDeclarativeSecurity, throw an
  256. ArgumentOutOfRangeException instead of an ArgumentException if action
  257. is a Request* action. Fixes bug #77640.
  258. * MethodBuilder.cs: Same.
  259. * TypeBuilder.cs: Same.
  260. Mon Feb 27 17:12:40 CET 2006 Paolo Molaro <[email protected]>
  261. * ModuleBuilder.cs: unlink the file before saving
  262. otherwise we might overwrite a file mmapped by the runtime.
  263. 2006-02-17 Zoltan Varga <[email protected]>
  264. * DynamicMethod.cs: Implement DefineParameter ().
  265. * ParameterBuilder.cs: Add support for DynamicMethod parents.
  266. 2006-02-15 Martin Baulig <[email protected]>
  267. * TypeBuilder.cs (TypeBuilder.DefineMethod): Also enable the
  268. 2-argument version in the `BOOTSTRAP_NET_2_0' profile.
  269. (TypeBuilder.DefineGenericMethod): Removed.
  270. 2006-02-14 Martin Baulig <[email protected]>
  271. * ConstructorBuilder.cs
  272. (ConstructorBuilder.IsGenericMethod): Override this and return
  273. false; the MS runtime doesn't throw an exception here.
  274. (ConstructorBuilder.IsGenericMethodDefinition): Likewise.
  275. * MethodBuilder.cs
  276. (MethodBuilder.IsGenericMethod): Implement this.
  277. (MethodBuilder.IsGenericMethodDefinition): Likewise.
  278. 2006-02-03 Zoltan Varga <[email protected]>
  279. * TypeBuilder.cs (CreateType): Add a check for Sealed parents.
  280. 2006-02-01 Zoltan Varga <[email protected]>
  281. * OpCodes.cs: Readonly is a net 2.0 only field.
  282. Tue Jan 31 13:37:02 CET 2006 Paolo Molaro <[email protected]>
  283. * OpCodes.cs: Added Readonly field.
  284. 2006-01-29 Raja R Harinath <[email protected]>
  285. * GenericTypeParameterBuilder.cs (DeclaringType): Return the
  286. declaring type of a generic method.
  287. 2005-12-15 Raja R Harinath <[email protected]>
  288. * TypeBuilder.cs (IsGenericType): Implement override.
  289. 2005-12-07 Martin Baulig <[email protected]>
  290. * GenericTypeParameterBuilder.cs: Add support for custom attributes.
  291. (GenericTypeParameterBuilder.cattrs): New field.
  292. (GenericTypeParameterBuilder.SetCustomAttribute): Implement this.
  293. Mon Dec 5 15:13:26 CET 2005 Paolo Molaro <[email protected]>
  294. * ILGenerator.cs: fixed emitting doubles on ARM.
  295. 2005-12-02 Alp Toker <[email protected]>
  296. * GenericTypeParameterBuilder.cs:
  297. * TypeBuilder.cs: DeclaringMethod should return MethodBase, not MethodInfo
  298. 2005-11-19 Zoltan Varga <[email protected]>
  299. * AssemblyBuilder.cs: Add support for setting FileVersion unmanaged
  300. resource. Fixes #64427.
  301. 2005-11-18 Zoltan Varga <[email protected]>
  302. * ParameterBuilder.cs (SetCustomAttribute): Handle DefaultParameterValueAttribute as well.
  303. * CustomAttributeBuilder.cs: Add support for decoding more types of
  304. constructor parameters.
  305. 2005-11-11 Zoltan Varga <[email protected]>
  306. * TypeBuilder.cs (SetCustomAttribute): Handle ComImportAttribute as well.
  307. 2005-11-11 Marek Safar <[email protected]>
  308. * EnumBuilder.cs, GenericTypeParameterBuilder.cs: Reflect Type changes.
  309. 2005-11-06 Zoltan Varga <[email protected]>
  310. * Label.cs: Add == and != operators.
  311. 2005-10-30 Zoltan Varga <[email protected]>
  312. * FieldBuilder.cs: Add implementation of new UMarshal property.
  313. 2005-10-27 Zoltan Varga <[email protected]>
  314. * FieldBuilder.cs MethodBuilder.cs ConstructorBuilder.cs: Add support for
  315. returing custom attributes in created types. MS.NET supports this by
  316. returning non-builder objects from GetMethod/GetField etc., but we return
  317. builder objects in this case. Fixes #76521.
  318. 2005-10-24 Martin Baulig <[email protected]>
  319. * TypeBuilder.cs (TypeBuilder.IsGenericTypeDefinition): Override this.
  320. 2005-10-03 Atsushi Enomoto <[email protected]>
  321. * CustomAttributeBuilder.cs : internal attributes should be allowed.
  322. Fixed bug #75723.
  323. 2005-09-26 Marek Safar <[email protected]>
  324. * PropertyBuilder.cs: Throw NotSupportedException for unsupported
  325. methods.
  326. 2005-09-14 Martin Baulig <[email protected]>
  327. * LocalBuilder.cs
  328. (LocalBuilder.Mono_GetLocalIndex): New static internal method;
  329. same as the .NET 2.0 property `LocalIndex'.
  330. Mon Sep 5 18:08:09 CEST 2005 Paolo Molaro <[email protected]>
  331. * EventBuilder.cs, FieldBuilder.cs, MethodBuilder.cs, TypeBuilder.cs,
  332. PropertyBuilder.cs: take care of the SpecialName attribute (bug #75768).
  333. 2005-09-01 Raja R Harinath <[email protected]>
  334. * CustomAttributeBuilder.cs (get_umarshal): Don't cause a nullref
  335. exception when passed a custom marshaller type that belongs to the
  336. assembly being built. When user specifies MarshalType rather than
  337. MarshalTypeRef, don't attempt to resolve the type.
  338. 2005-08-31 Raja R Harinath <[email protected]>
  339. * CustomAttributeBuilder.cs (get_umarshal): Fix typo. The name of
  340. the field is "SizeParamIndex", not "SizeSizeParamIndex".
  341. * ParameterBuilder.cs (SetCustomAttribute) [MarshalAsAttribute]:
  342. Set ParameterAttributes.HasFieldMarshal flag.
  343. 2005-08-19 Zoltan Varga <[email protected]>
  344. * DynamicMethod.cs (CreateDelegate): Don't cache the delegate since it
  345. needs to be different for each target.
  346. * DynamicMethod.cs (CreateDynMethod): Call ilgen.label_fixup ().
  347. * DynamicMethod.cs (AddRef): Reserve every second ref slot for use by the
  348. runtime.
  349. 2005-08-05 Gert Driesen <[email protected]>
  350. * AssemblyBuilder.cs: Implement _AssemblyBuilder, CA fixes to
  351. correspond with MS.NET
  352. * ConstructorBuilder.cs: Implement _ConstructorBuilder, CA fixes to
  353. correspond with MS.NET
  354. * CustomAttributeBuilder.cs: Implement _CustomAttributeBuilder, CA
  355. fixes to correspond with MS.NET
  356. * EnumBuilder.cs: Implement _EnumBuilder, CA fixes to correspond with
  357. MS.NET
  358. * EventBuilder.cs: Implement _EventBuilder, CA fixes to correspond
  359. with MS.NET
  360. * FieldBuilder.cs: Implement _FieldBuilder, CA fixes to correspond
  361. with MS.NET
  362. * LocalBuilder.cs: Implement _LocalBuilder, CA fixes to correspond
  363. with MS.NET
  364. * MethodBuilder.cs: Implement _MethodBuilder, CA fixes to correspond
  365. with MS.NET
  366. * MethodRental.cs: CA fixes to correspond with MS.NET, implemented
  367. _MethodRental.
  368. * ModuleBuilder.cs: Implement _ModuleBuilder, CA fixes to correspond
  369. with MS.NET
  370. * ILGenerator.cs: Implement _ILGenerator, CA fixes to correspond
  371. with MS.NET
  372. * ParameterBuilder.cs Implement _ParameterBuilder, CA fixes to
  373. correspond with MS.NET
  374. * PropertyBuilder.cs: Implement _PropertyBuilder, CA fixes to
  375. correspond with MS.NET
  376. * SignatureHelper.cs: Implement _SignatureHelper, CA fixes to
  377. correspond with MS.NET
  378. * TypeBuilder.cs: Implement _TypeBuilder, CA fixes to correspond
  379. with MS.NET
  380. 2005-07-21 Jb Evain <[email protected]>
  381. * ILGenerator.cs: Implement filter blocks support.
  382. Fixes bug #75010.
  383. 2005-07-21 Zoltan Varga <[email protected]>
  384. * ILGenerator.cs (BeginFaultBlock): Call InternalEndClause () here
  385. too. Reported by Jeroen Frijters.
  386. 2005-07-11 Martin Baulig <[email protected]>
  387. * TypeBuilder.cs (TypeBuilder.CreateType): Call
  388. create_generic_class() here as well; fixes #75454.
  389. 2005-06-27 Marek Safar <[email protected]>
  390. * TypeBuilder.cs (check_name): Wrong exception argument order.
  391. 2005-06-14 Sebastien Pouliot <[email protected]>
  392. * AssemblyBuilder.cs: Override UnprotectedGetName to set the public
  393. key (if available).
  394. 2005-06-12 Gert Driesen <[email protected]>
  395. * MethodBuilder.cs: In CreateMethodBody, throw
  396. ArgumentOutOfRangeException instead of ArgumentException when count
  397. is not within range of array. Do not allow zero length method body
  398. to be emitted when using 2.0 profile. Fixes bug #75236.
  399. 2005-06-12 Gert Driesen <[email protected]>
  400. * FieldBuilder.cs: FieldBuilder.FieldHandle should throw
  401. NotSupportedException to match MS.NET (both 1.x and 2.x).
  402. Fixes regression introduced in r45750.
  403. * MethodBuilder.cs: MethodBuilder.MethodHandle should throw
  404. NotSupportedException to match MS.NET (both 1.x and 2.x).
  405. Fixes regression introduced in r45750.
  406. 2005-06-09 Kamil Skalski <[email protected]>
  407. * ConstructorBuilder.cs FieldBuilders.cs MethodBuilder.cs: Return
  408. RuntimeHandles when requested
  409. * TypeBuilder.cs: Add static Get{Method,Constructor,Field} methods
  410. from .NET 2.0 beta 2 API for obtaining instanciated *Info objects
  411. from non-instanciated counterparts
  412. 2005-06-08 Zoltan Varga <[email protected]>
  413. * ConstructorBuilder.cs FieldBuilder.cs MethodBuilder.cs PropertyBuilder.cs:
  414. Add 2.0 Module property.
  415. * *.cs: Updates for net 2.0 beta 2.
  416. 2005-06-07 Zoltan Varga <[email protected]>
  417. * *Token.cs: Add net 2.0 Equals methods.
  418. * *.cs: Updates for net 2.0 beta 2.
  419. * *.cs: Updates for net 2.0 beta 2.
  420. 2005-06-06 Zoltan Varga <[email protected]>
  421. * AssemblyBuilder.cs: Update after PortableExecutableKinds name change.
  422. 2005-06-03 Zoltan Varga <[email protected]>
  423. * MethodBuilder.cs CustomAttributeBuilder.cs: Rework DllImportAttribute
  424. decoding to improve compatibility with MS.NET.
  425. * MethodBuilder.cs (SetCustomAttribute): Set PinvokeImpl attribute if
  426. a DllImportAttribute is present.
  427. 2005-06-02 Zoltan Varga <[email protected]>
  428. * MethodBuilder.cs (SetCustomAttribute): Handle the case when the
  429. calling convention inside the DllImportAttribute is empty.
  430. 2005-06-01 Zoltan Varga <[email protected]>
  431. * MethodBuilder.cs (SetCustomAttribute): Handle DllImportAttribute
  432. as well.
  433. * CustomAttributeBuilder.cs: Add a decode_cattr helper method.
  434. 2005-05-27 Vladimir Vukicevic <[email protected]>
  435. * MethodBuilder.cs: Add extra_flags field to encode P/Invoke
  436. bits that can't be specified via MethodBuilder directly; fixes
  437. #75060.
  438. 2005-05-25 Zoltan Varga <[email protected]>
  439. * GenericTypeParameterBuilder.cs: Return this in UnderlyingSystemType.
  440. 2005-05-25 Lluis Sanchez Gual <[email protected]>
  441. * ModuleBuilder.cs: Implemented DefineDocument(). Generate debug
  442. info when saving the module.
  443. * ILGenerator.cs: Keep marked sequence points in a list.
  444. Added a GenerateDebugInfo method, which dumps the info collected
  445. during code generation.
  446. * TypeBuilder.cs:
  447. * ConstructorBuilder.cs:
  448. * MethodBuilder.cs: Added method for generating debug info.
  449. * LocalBuilder.cs: Added StartOffset and EndOffset properties.
  450. * CustomAttributeBuilder.cs: Use IsInstanceOfType instead of
  451. IsAssignableFrom when possible.
  452. 2005-05-20 Miguel de Icaza <[email protected]>
  453. * TypeBuilder.cs (UnderlyingSystemType): should always return this
  454. according to Zoltan. Old code left there, but should probably be removed.
  455. 2005-05-13 Zoltan Varga <[email protected]>
  456. * MethodBuilder.cs (fixup): Take into account CreateMethodBody as
  457. well.
  458. * ConstructorBuilder.cs MethodBuilder.cs: Check that elements of
  459. parameterTypes are not null. Fixes #74928.
  460. 2005-05-12 Zoltan Varga <[email protected]>
  461. * ConstructorBuilder.cs MethodBuilder.cs (fixup): Fix this.
  462. * ConstructorBuilder.cs MethodBuilder.cs (fixup): Throw an exception if a
  463. method body is empty. Fixes #74906.
  464. 2005-04-13 Marek Safar <[email protected]>
  465. * TypeBuilder.cs (SetCustomAttribute): StructLayoutAttribute.CharSet
  466. has to overwrite current settings.
  467. 2005-04-05 Sebastien Pouliot <[email protected]>
  468. * AssemblyBuilder.cs: Don't call GetCurrentDirectory if building an
  469. assembly that will never be serialized to disk (because CAS may not
  470. allow disk access but still allow generating a in-memory assembly).
  471. 2005-03-24 Miguel de Icaza <[email protected]>
  472. * DynamicMethod.cs (CreateDelegate): Add second overload based on
  473. the first one that allows for a `target' argument.
  474. 2005-03-24 Sebastien Pouliot <[email protected]>
  475. * MethodRental.cs: Added Demand for UnmanagedCode on SwapMethodBody
  476. method.
  477. 2005-03-16 Zoltan Varga <[email protected]>
  478. * MethodBuilder.cs: Add internal BestFitMapping and
  479. ThrowOnUnmappableChar properties used by mcs.
  480. 2005-03-09 Marek Safar <[email protected]>
  481. * ILGenerator.cs (DeclareLocal): Throw an exception for null argument.
  482. 2005-03-01 Zoltan Varga <[email protected]>
  483. * CustomAttributeBuilder.cs UnmanagedMarshal.cs: Allow sizeConst and
  484. sizeParamIndex to be -1, which means they are not given.
  485. * CustomAttributeBuilder.cs (get_umarshal): Only call the internal
  486. LPArray creation method if sizeConst of sizeParamIndex is given.
  487. * UnmanagedMarshal.cs: Add has_size field.
  488. 2005-02-28 Zoltan Varga <[email protected]>
  489. * CustomAttributeBuilder.cs (get_umarshal): Marshal sizeConst and
  490. sizeParamIndex fields as well.
  491. * UnmanagedMarshal.cs: Add param_num field and a new internal creation
  492. method which sets it.
  493. 2005-02-11 Zoltan Varga <[email protected]>
  494. * TypeBuilder.cs (IsAssignableTo): New helper method. Fixes #70838.
  495. * TypeBuilder.cs: Fix warning.
  496. 2005-01-21 Rafael Teixeira <[email protected]>
  497. * MethodBuilder.cs, TypeBuilder: missing 'params' in some method signature
  498. patch by Kamil Skalski <[email protected]>
  499. 2005-01-18 Geoff Norton <[email protected]>
  500. * ModuleBuilder.cs: Interfaces should have null BaseType.
  501. Fixes #71301.
  502. 2005-01-18 Miguel de Icaza <[email protected]>
  503. * TypeBuilder.cs: Add check for creation. Fix from Geoff.
  504. 2004-12-16 Zoltan Varga <[email protected]>
  505. * CustomAttributeBuilder.cs: Fix a warning.
  506. Wed Dec 15 11:34:13 CET 2004 Paolo Molaro <[email protected]>
  507. * ModuleBuilder.cs, EnumBuilder.cs: actually add the enumbuilder
  508. to the type list of the module (bug#70488).
  509. 2004-12-09 Martin Baulig <[email protected]>
  510. * GenericTypeParameterBuilder.cs
  511. (GenericTypeParameterBuilder.IsValueType): Fixed the FIXME.
  512. 2004-12-08 Zoltan Varga <[email protected]>
  513. * AssemblyBuilder.cs: Move corlib_internal field here from Assembly.
  514. * AssemblyBuilder.cs: Add corlib_internal to the ctor parameters.
  515. 2004-12-06 Ben Maurer <[email protected]>
  516. * TypeBuilder.cs (CreateType): Creating a type twice does not
  517. throw in msft.
  518. 2004-11-22 Zoltan Varga <[email protected]>
  519. * ModuleBuilder.cs: Check that all types inside the module are created.
  520. Fixes #69780.
  521. 2004-11-13 Ben Maurer <[email protected]>
  522. * ModuleBuilder.cs (Save): Use new WriteToFile icall.
  523. 2004-11-04 Zoltan Varga <[email protected]>
  524. * TypeBuilder.cs: Make some members work if the type is created since
  525. MS does this.
  526. 2004-10-30 Zoltan Varga <[email protected]>
  527. * CustomAttributeBuilder.cs: Check that arguments are not
  528. multi-dimensional arrays.
  529. 2004-10-12 Martin Baulig <[email protected]>
  530. * TypeBuilder.cs (TypeBuilder.setup_generic_class): Renamed to
  531. create_generic_class() and added a new setup_generic_class().
  532. (TypeBuilder.DefineGenericParameters): Call setup_generic_class()
  533. before creating the type parameters.
  534. 2004-10-11 Martin Baulig <[email protected]>
  535. * TypeBuilder.cs (TypeBuilder.generic_container): New private field.
  536. * MethodBuilder.cs (MethodBuilder.generic_container): New private field.
  537. * GenericTypeParameterBuilder.cs
  538. (GenericTypeParameterBuilder.GetGenericTypeParameterConstraints):
  539. Return `Type.EmptyTypes' instead of an array of `typeof (object)'.
  540. 2004-10-08 Zoltan Varga <[email protected]>
  541. * ModuleBuilder.cs: Create global type after creation.
  542. 2004-10-06 Zoltan Varga <[email protected]>
  543. * ModuleBuilder.cs (GetTypes): Fix length of returned array. Fixes
  544. #65931.
  545. 2004-10-04 Zoltan Varga <[email protected]>
  546. * ModuleBuilder.cs (DefineType): Check for duplicate type names. Fixes
  547. #65988.
  548. 2004-10-03 Zoltan Varga <[email protected]>
  549. * AssemblyBuilderAccess.cs: Remove [Flags].
  550. * PackingSize.cs: Add new 2.0 members. Remove [Flags].
  551. * AssemblyBuilder.cs: Add net 2.0 Save method.
  552. * LocalBuilder.cs: Make this inherit from LocalVariableInfo under
  553. net 2.0. Reorganize fields so the layout visible to the runtime is the
  554. same under 1.0 and 2.0. Add 2.0 properties.
  555. 2004-10-02 Gert Driesen <[email protected]>
  556. * TypeBuilder.cs: throw NotSupportedException when defining default
  557. ctor if parent type does not have default ctor
  558. 2004-09-30 Zoltan Varga <[email protected]>
  559. * TypeBuilder.cs: Make 'created' field visible to the runtime.
  560. 2004-09-28 Martin Baulig <[email protected]>
  561. * GenericTypeParameterBuilder.cs
  562. (GenericTypeParameterBuilder.ContainsGenericParameters): Return
  563. true here; System.Type.ContainsGenericParameters returns true when
  564. called on a type parameter, so let's do the same here.
  565. 2004-09-27 Zoltan Varga <[email protected]>
  566. * ConstructorBuilder.cs: Add 2.0 GetILGenerator(size) method.
  567. 2004-09-26 Zoltan Varga <[email protected]>
  568. * UnmanagedMarshal.cs: Add ToMarshalAsAttribute method.
  569. 2004-09-25 Zoltan Varga <[email protected]>
  570. * TypeBuilder.cs: Add IsCreated method.
  571. 2004-09-24 Zoltan Varga <[email protected]>
  572. * FieldBuilder.cs: Add dummy GetFieldOffset method.
  573. 2004-09-24 Martin Baulig <[email protected]>
  574. * GenericTypeParameterBuilder.cs
  575. (GenericTypeParameterBuilder.GetGenericParameterConstraints): Override.
  576. 2004-09-23 Zoltan Varga <[email protected]>
  577. * DynamicMethod.cs: Add MetadataToken property and tweak Module property.
  578. 2004-09-23 Martin Baulig <[email protected]>
  579. * GenericTypeParameterBuilder.cs
  580. (GenericTypeParameterBuilder.SetGenericParameterAttributes): New
  581. public method, replaces the old Mono_* hacks.
  582. 2004-09-20 Sebastien Pouliot <[email protected]>
  583. * AssemblyBuilder.cs: Fixed assembly-level permissions. I don't know
  584. why I splitted them all into individual entries when only a single set
  585. is accepted for each security action :(.
  586. 2004-09-17 Zoltan Varga <[email protected]>
  587. * CustomAttributeBuilder.cs: Applied patch from Marcus Urban
  588. ([email protected]). Add support for defining custom
  589. marshallers by calling SetCustomAttribute.
  590. 2004-09-16 Sebastien Pouliot <[email protected]>
  591. * AssemblyBuilder.cs: Keep a copy of the 3 permission set as an array
  592. of RefEmitPermissionSet. This will allow to reuse existing
  593. functionalities already present in the runtime.
  594. 2004-09-12 Marek Safar <[email protected]>
  595. * TypeBuilder.cs: Do not create default constructor for
  596. static classes.
  597. 2004-09-09 Zoltan Varga <[email protected]>
  598. * TypeBuilder.cs: Set the table_idx of the global type to 1.
  599. * ModuleBuilder.cs: Save the main module of the assembly even if it is
  600. transient.
  601. 2004-09-02 Ben Maurer <[email protected]>
  602. * LocalBuilder.cs: another s.ioe
  603. 2004-09-02 Ben Maurer <[email protected]>
  604. * ModuleBuilder.cs: dont throw an S.IOE for debugging stuff.
  605. makes sre apps work
  606. 2004-09-02 Martin Baulig <[email protected]>
  607. * MethodBuilder.cs (MethodBuilder.GetParameters): Throw a
  608. NotSupportedException() until the type has been fully created.
  609. 2004-09-01 Martin Baulig <[email protected]>
  610. * IMonoSymbolWriter.cs: Removed.
  611. * ModuleBuilder.cs, LocalBuilder.cs, ILGenerator.cs: Removed the
  612. old debugging code.
  613. 2004-08-13 Sebastien Pouliot <[email protected]>
  614. * AssemblyBuilder.cs: (Partly) Fix delay-signing issue (#56621) when
  615. MCS is used on the MS runtime (other part of the fix is for MCS).
  616. 2004-08-11 Marek Safar <[email protected]>
  617. * AssemblyBuilder.cs: Added AddPermissionRequests method
  618. used be mcs for SecurityPermissionAttribute handling.
  619. 2004-08-08 Zoltan Varga <[email protected]>
  620. * EnumBuilder.cs: Call setup_enum_type () in the constructor. Fixes
  621. #62237.
  622. 2004-08-07 Jackson Harper <[email protected]>
  623. * AssemblyBuilder.cs: "neutral" culture is invariant culture
  624. (String.Empty).
  625. 2004-08-07 Atsushi Enomoto <[email protected]>
  626. * OpCodes.cs : csc complains CS1034 Line cannot exceed 2046 characters.
  627. 2004-08-05 Duncan Mak <[email protected]>
  628. * OpCodes.cs (TakesSingleByteArgument): Add this back.
  629. 2004-08-05 Duncan Mak <[email protected]>
  630. This patch is based on an idea of Ben's to reduce the code size
  631. in MCS.
  632. * OpCodes.cs: Instead pushing the data onto the stack when each
  633. OpCode is initialized, pack the data into 2 ints and store only
  634. that. Furthermore, the names of each OpCode are stored in a
  635. separate string array in the new OpCodeNames class.
  636. * OpCodeNames.cs: The names of each OpCode are moved here to delay
  637. the initialization of the strings, as they are not used frequently.
  638. * OpCode.cs: Rewrote this to take in everything as 2 ints.
  639. 2004-07-29 Martin Baulig <[email protected]>
  640. * ILGenerator.cs (ILGenerator.Mono_GetCurrentOffset): New static
  641. internal method.
  642. * ModuleBuilder.cs (ModuleBuilder.Mono_GetGuid): New static
  643. internal method.
  644. 2004-07-24 Martin Baulig <[email protected]>
  645. * TypeBuilder.cs (TypeBuilder.UnspecifiedTypeSize): Set this to 0
  646. and initialize it to 0 everywhere.
  647. 2004-07-22 Martin Baulig <[email protected]>
  648. * ILGenerator.cs (ILGenerator.BeginFaultBlock): Implemented.
  649. 2004-07-07 Miguel de Icaza <[email protected]>
  650. * LocalBuilder.cs: Remove MakePinned, we are now going to use
  651. ILGenerator.DeclaraLocal that takes the `bool pinned' argument.
  652. * ILGenerator.cs (DeclareLocal): Add `pinned' version of the
  653. method on the 2.0 profile.
  654. 2004-07-02 Zoltan Varga <[email protected]>
  655. * EnumBuilder.cs (CreateType): Call a new icall to set the internal
  656. type field. Fixes #59833.
  657. Thu Jun 24 15:33:04 CEST 2004 Paolo Molaro <[email protected]>
  658. * ParameterBuilder.cs: implement SetConstant ().
  659. Wed Jun 23 15:40:48 CEST 2004 Paolo Molaro <[email protected]>
  660. * TypeBuilder.cs: handle properly the case when SetParent()
  661. is called (requires an updated runtime, too bug#60474).
  662. Wed Jun 23 14:20:47 CEST 2004 Paolo Molaro <[email protected]>
  663. * EnumBuilder.cs, TypeBuilder.cs: patch from Gert Driesen
  664. to implement EnumBuilder (slightly tweaked).
  665. 2004-06-15 Gert Driesen <[email protected]>
  666. * MethodRental.cs: fixed value of JitOnDemand
  667. 2004-06-09 Gert Driesen <[email protected]>
  668. * FieldBuilder.cs: fixed implementation to match MS.NET,
  669. meaning throw InvalidOperationException for methods that
  670. should not be allowed to execute when type has been
  671. created, and throw NotSupportedException for methods and
  672. properties that should not be called on FieldBuilder
  673. 2004-06-09 Gert Driesen <[email protected]>
  674. * MethodBuilder.cs: move check to see if type has already
  675. been created up, to match MS.NET behaviour. Fix GetHashCode
  676. (removed TODO)
  677. 2004-06-09 Gert Driesen <[email protected]>
  678. * MethodRental.cs: Added check for method size
  679. 2004-06-08 Martin Baulig <[email protected]>
  680. * ILGenerator.cs (TokenGenerator.GetToken): Added overloaded
  681. version which takes a MethodInfo and a Type[].
  682. (IlGenerator.EmitCall): When emitting a call to a varargs method,
  683. use the new GetToken() to pass the optional argument types to the
  684. runtime.
  685. * ModuleBuilder.cs (ModuleBuilder.getMethodToken): New interncall.
  686. 2004-05-29 Gert Driesen ([email protected])
  687. * AssemblyBuilder.cs: removed extra method, fixes public API
  688. compatibility with MS.NET
  689. * TypeBuilder.cs: removed extra method, fixes public API
  690. compatibility with MS.NET
  691. 2004-05-28 Jackson Harper <[email protected]>
  692. * CustomAttributeBuilder.cs: GetBlob now takes a ref to the
  693. assembly so it can encode type names properly.
  694. 2004-05-25 Sebastien Pouliot <[email protected]>
  695. * MethodBuilder.cs: Now use FastNewGuidArray to create new random
  696. Guids without using CryptoConfig. Speed up for MCS.
  697. 2004-05-14 Zoltan Varga <[email protected]>
  698. * MethodBuilder.cs: Add Equals and GetHashCode.
  699. * TypeBuilder.cs: Add IsSubclassOf.
  700. 2004-05-13 Zoltan Varga <[email protected]>
  701. * AssemblyBuilder.cs: Make extra methods internal. mcs was changed
  702. to handle this a long time ago.
  703. * TypeBuilder.cs: Add IsAssignableFrom and IsInstanceOfType.
  704. * TypeBuilder.cs MethodBuilder.cs ConstructorBuilder.cs: Implement
  705. ToString ().
  706. * TypeBuilder.cs (ToString): Make this consistent with MS.NET.
  707. 2004-05-11 Andreas Nahr <[email protected]>
  708. * OpCodes.cs: Refactored to avoid the static constructor
  709. 2004-05-10 Gert Driesen ([email protected])
  710. * AssemblyBuilder.cs: fixed warning
  711. * MethodRental.cs: added private default ctror to match MS.NET
  712. 2004-05-03 Lluis Sanches Gual <[email protected]>
  713. * ModuleBuilder.cs: Use name const to load the debugger assembly.
  714. 2004-05-01 Todd Berman <[email protected]>
  715. * ModuleBuilder.cs: Load the proper assembly for a gac-only install.
  716. 2004-04-29 Ben Maurer <[email protected]>
  717. * ILGenerator.cs, ModuleBuilder.cs: readonlyificate.
  718. 2004-04-28 Zoltan Varga <[email protected]>
  719. * MethodRental.cs: New file.
  720. 2004-04-28 Raja R Harinath <[email protected]>
  721. * TypeBuilder.cs (SetCustomAttribute): Handle the presence of the
  722. full type name in the data stream. This is emitted for value
  723. types by the Mono runtime.
  724. 2004-04-23 Atsushi Enomoto <[email protected]>
  725. * ConstructorBuilder.cs, DynamicMethod.cs, EnumBuilder.cs,
  726. GenericTypeParameterBuilder.cs, MethodBuilder.cs, ModuleBuilder.cs,
  727. OpCodes.cs, TypeBuilder.cs :
  728. The fix should be easier ;)
  729. 2004-04-23 Atsushi Enomoto <[email protected]>
  730. * ConstructorBuilder.cs, DynamicMethod.cs, EnumBuilder.cs,
  731. GenericTypeParameterBuilder.cs, MethodBuilder.cs, ModuleBuilder.cs,
  732. OpCodes.cs, TypeBuilder.cs :
  733. NET_2_0 related build fix.
  734. 2004-04-07 Martin Baulig <[email protected]>
  735. * GenericTypeParameterBuilder.cs
  736. (Mono_SetReferenceTypeConstraint): New public method.
  737. (Mono_SetValueTypeConstraint): New public method.
  738. 2004-04-07 Bernie Solomon <[email protected]>
  739. * MethodBuilder.cs, TypeBuilder.cs: always have
  740. slot for generic_params for consistent offsets.
  741. 2004-04-07 Martin Baulig <[email protected]>
  742. * GenericTypeParameterBuilder.cs
  743. (Mono_SetConstructorConstraint): New public method.
  744. 2004-04-07 Martin Baulig <[email protected]>
  745. * GenericTypeParameterBuilder.cs: New file.
  746. * TypeBuilder.cs (TypeBuilder.DefineGenericParameters): New public
  747. method. This is the new public API.
  748. (TypeBuilder.DefineGenericParameter): Removed.
  749. (TypeBuilder.SetGenericParameterConstraints): Removed.
  750. * MethodBuilder.cs (MethodBuilder.DefineGenericParameters): New public
  751. method. This is the new public API.
  752. (MethodBuilder.DefineGenericParameter): Removed.
  753. (MethodBuilder.SetGenericParameterConstraints): Removed.
  754. 2004-04-01 Martin Baulig <[email protected]>
  755. * OpCodes.cs (OpCodes.Constrained): New opcode.
  756. 2004-04-01 Ben Maurer <[email protected]>
  757. * LocalBuilder.cs: Fix pinned support.
  758. 2004-03-30 Martin Baulig <[email protected]>
  759. * TypeBuilder.cs (TypeBuilder.SetGenericParameterConstraints):
  760. Added `bool has_ctor_constraint' argument.
  761. * MethodBuilder.cs (MethodBuilder.SetGenericParameterConstraints):
  762. Added `bool has_ctor_constraint' argument.
  763. 2004-03-29 Ben Maurer <[email protected]>
  764. * LocalBuilder.cs: pinned support.
  765. 2004-03-29 Martin Baulig <[email protected]>
  766. * TypeBuilder.cs (TypeBuilder.ContainsGenericParameters): Implemented.
  767. 2004-03-25 Sebastien Pouliot <[email protected]>
  768. * AssemblyBuilder.cs: Changed strongname support to match MS
  769. implementation (i.e. attributes are used by the compiler - not by
  770. AssemblyBuilder).
  771. 2004-03-24 Zoltan Varga <[email protected]>
  772. * TypeBuilder.cs (GetMethod): Implement.
  773. * CustomAttributeBuilder.cs: Reenable argument checking with MS.NET
  774. compatibility tweaks.
  775. 2004-03-23 Martin Baulig <[email protected]>
  776. * TypeBuilder.cs (TypeBuilder.GetEvents_internal): New internal
  777. method; this is basically GetEvents(), but see the FIXME in that method.
  778. 2004-03-23 Zoltan Varga <[email protected]>
  779. * CustomAttributeBuilder.cs: Disable argument checking since it causes
  780. regressions.
  781. 2004-03-22 Zoltan Varga <[email protected]>
  782. * CustomAttributeBuilder.cs (Initialize): Add more argument checking.
  783. Fixes #55793.
  784. 2004-03-09 Jackson Harper <[email protected]>
  785. * CustomAttributeBuilder.cs: Add some argument checking. Handle
  786. default arguments properly.
  787. 2004-03-09 Sebastien Pouliot <[email protected]>
  788. * AssemblyBuilder.cs: The strong name key file existance will now be
  789. checked in the current compilation directory AND in the assembly
  790. output directory. Fix bugzilla entry #55320.
  791. 2004-02-23 Martin Baulig <[email protected]>
  792. * MethodBuilder.cs (MethodBuilder.SetGenericMethodSignature):
  793. Added MethodAttributes and CallingConventions arguments.
  794. 2004-02-02 Zoltan Varga <[email protected]>
  795. * TypeBuilder.cs: Implement DefineUninitializedData and
  796. AddDeclarativeSecurity.
  797. 2004-01-27 Zoltan Varga <[email protected]>
  798. * AssemblyBuilder.cs (SetCustomAttribute): Move the reading of the
  799. keyfile to the Save () method.
  800. 2004-01-26 Sebastien Pouliot <[email protected]>
  801. * AssemblyBuilder.cs: Save will now strongname the assembly is (a) a
  802. StrongName is present and (b) the signature isn't delayed.
  803. 2004-01-24 David Sheldon <[email protected]>
  804. * AssemblyBuilder.cs: Added override for GetFiles() that throws
  805. NotSupportedException.
  806. 2004-01-15 Zoltan Varga <[email protected]>
  807. * AssemblyBuilder.cs (Save): Handle entry points with an int return
  808. type as well.
  809. * AssemblyBuilder.cs (Save): If the entry point is in a module, create
  810. a new entry point which calls the real one, since the entry point must
  811. be in the module which contains the manifest.
  812. * ModuleBuilder.cs (Save): Create the global type automatically if not
  813. already done.
  814. 2004-01-13 Zoltan Varga <[email protected]>
  815. * AssemblyBuilder.cs (DefineVersionInfoResource): Set more
  816. version info properties.
  817. 2004-01-08 Zoltan Varga <[email protected]>
  818. * CustomAttributeBuilder.cs (string_arg): New helper method.
  819. * AssemblyBuilder.cs (DefineVersionInfoResource): Implement.
  820. * AssemblyBuilder.cs (SetCustomAttribute): Use the new helper method.
  821. * AssemblyBuilder.cs (DefineUnmanagedResource): Implement.
  822. * AssemblyBuilder.cs (DefineIconResource): New internal method to
  823. support mcs.
  824. * TypeBuilder.cs (IsDefined): Implement this, since some corlib classes
  825. make calls to IsDefined.
  826. 2004-01-06 Zoltan Varga <[email protected]>
  827. * AssemblyBuilder.cs: Fix warning.
  828. 2004-01-05 Zoltan Varga <[email protected]>
  829. * AssemblyBuilder.cs (DefineVersionInfoResource): Implement.
  830. 2003-12-29 Ben Maurer <[email protected]>
  831. * MethodBuilder.cs, ConstructorBuilder.cs: Override GetParameterCount.
  832. * ILGenerator.cs: Use GetParameterCount.
  833. 2003-12-20 Zoltan Varga <[email protected]>
  834. * AssemblyBuilder.cs (AddModule): New internal method to support
  835. /addmodule in mcs.
  836. 2003-12-19 Zoltan Varga <[email protected]>
  837. * AssemblyBuilder.cs: New internal property to support /target:module in
  838. mcs.
  839. 2003-12-18 Zoltan Varga <[email protected]>
  840. * ILGenerator.cs: Applied patch from Ben Maurer
  841. ([email protected]). Allocate arrays holding label data
  842. lazily and reduce their size.
  843. 2003-12-17 Zoltan Varga <[email protected]>
  844. * AssemblyBuilder.cs (MonoResource): New 'offset' field used by the
  845. runtime.
  846. * ModuleBuilder: Implement DefineResource.
  847. 2003-12-15 Zoltan Varga <[email protected]>
  848. * AssemblyBuilder.cs (RefEmitPermissionSet): New helper structure.
  849. * MethodBuilder.cs (AddDeclarativeSecurity): Implement.
  850. * ConstructorBuilder.cs (AddDeclarativeSecurity): Ditto.
  851. 2003-12-10 Zoltan Varga <[email protected]>
  852. * MethodBuilder.cs: Add stubs for missing methods.
  853. * TypeBuilder.cs (GetEvents): Add new override.
  854. * ModuleBuilder.cs: Implement some missing methods, add stubs for others.
  855. * AssemblyBuilder.cs (GetFiles): Get rid of unneccessary override.
  856. * AssemblyBuilder.cs (ImageRuntimeVersion): Add override to keep
  857. signature compatibility with MS.NET.
  858. * TypeBuilder.cs (MemberType): Get rid of unneccessary override.
  859. 2003-12-08 Martin Baulig <[email protected]>
  860. * TypeBuilder.cs (TypeBuilder.MonoGenericParam): Removed; use the
  861. new `MonoGenericParam' class instead (in S.R/MonoGenericInst.cs).
  862. 2003-12-08 Zoltan Varga <[email protected]>
  863. * ModuleBuilder.cs: Double the size of the types array during insertion
  864. do avoid excessive memory allocation and copying. Track the number of
  865. types in a separate variable.
  866. * TypeBuilder.cs: Same for the 'fields' and 'methods' arrays.
  867. 2003-12-03 Zoltan Varga <[email protected]>
  868. * ModuleBuilder.cs (DefinePInvokeMethod): Implement.
  869. * ModuleBuilder.cs (DefineGlobalMethod): Implement the Net 1.2 variants.
  870. 2003-11-28 Dick Porter <[email protected]>
  871. * ModuleBuilder.cs: Do string compares with the Invariant culture.
  872. 2003-11-28 Zoltan Varga <[email protected]>
  873. * AssemblyBuilder.cs (SetCustomAttribute): Implement automatic
  874. generation of build and revision numbers. Fixes #46492.
  875. 2003-11-25 Zoltan Varga <[email protected]>
  876. * TypeBuilder.cs: Implement GetField.
  877. 2003-11-24 Zoltan Varga <[email protected]>
  878. * DynamicMethod.cs: New class.
  879. * ILGenerator.cs MethodBuilder.cs ConstructorBuilder.cs: Retrieve
  880. tokens from a token generator object instead of from the ModuleBuilder,
  881. to support the implementation of DynamicMethod. Also get rid of the
  882. unused 'mbuilder' field.
  883. * ModuleBuilder.cs: Create a token generator object which can be
  884. passed to ILGenerator.
  885. * LocalBuilder.cs ILGenerator.cs: Get rid of 'module' field, obtain
  886. needed objects from the ilgen object instead.
  887. 2003-11-21 Zoltan Varga <[email protected]>
  888. * TypeBuilder.cs FieldBuilder.cs MethodBuilder.cs ConstructorBuilder.cs: Add support for custom modifiers from NET 1.2.
  889. * ILGenerator.cs: Remove unused abuilder member.
  890. 2003-11-19 Andreas Nahr <[email protected]>
  891. * OpCodes.cs: Remove Boxval for v1.1+
  892. 2003-11-19 Andreas Nahr <[email protected]>
  893. * OpCodes.cs: Small rearrange to fix csc compiler warning about obsolete member used
  894. 2003-11-12 Zoltan Varga <[email protected]>
  895. * AssemblyBuilderAccess.cs PackingSize: Add [Flags].
  896. * AssemblyBuilder.cs (DefineDynamicModule): Make internal method
  897. private.
  898. * AssemblyBuilder.cs (Save): Write out the main module at the end.
  899. 2003-11-06 Zoltan Varga <[email protected]>
  900. * ConstructorBuilder.cs (.ctor): Automatically add RTSpecialName flag
  901. as MS does.
  902. 2003-11-06 Martin Baulig <[email protected]>
  903. * ModuleBuilder.cs (ModuleBuilder.Save): Call `build_metadata'
  904. before writing the symbol file.
  905. 2003-11-06 Zoltan Varga <[email protected]>
  906. * AssemblyBuilder.cs (.ctor): Initialize the 'dir' field to something
  907. sensible.
  908. * AssemblyBuilder.cs (Save): Set 'created' flag.
  909. * AssemblyBuilder.cs (get_next_table_index): Moved to ModuleBuilder,
  910. since table indexes are per-module.
  911. 2003-11-03 Zoltan Varga <[email protected]>
  912. * TypeBuilder.cs (DefineDefaultConstructor): Pass an array instead of
  913. null to DefineConstructor, to avoid NullReferenceExceptions in the
  914. binder code.
  915. * AssemblyBuilder.cs ModuleBuilder.cs ILGenerator.cs: Move getUSIndex
  916. and getToken methods, and the associated icalls to ModuleBuilder,
  917. since tokens are per-module.
  918. * AssemblyBuilder.cs ModuleBuilder.cs: Partially revert the previous
  919. patch, since having the 'is_main' field is useful in the unmanaged
  920. code.
  921. * AssemblyBuilder.cs ModuleBuilder.cs: Move the metadata creation and
  922. file creation logic to ModuleBuilder:Save (), since this needs to be
  923. done for every module. Also move the corresponding icalls to
  924. ModuleBuilder.
  925. 2003-11-03 Zoltan Varga <[email protected]>
  926. * AssemblyBuilder.cs ModuleBuilder.cs: First steps toward a fix for
  927. #48700 (proper module support in Ref.Emit). Remove is_main field from
  928. ModuleBuilder and add a mainModule field to AssemblyBuilder instead.
  929. This is neccesary, since the main module is determined during the
  930. Save () call: the module with the same file name as the assembly is
  931. the main module. Also create a default main module, if one is not
  932. existing.
  933. 2003-11-03 Martin Baulig <[email protected]>
  934. * OpCodes.cs: Added Ldelem_Any, Stelem_Any and Unbox_Any from .NET 1.2.
  935. 2003-10-18 Sebastien Pouliot <[email protected]>
  936. * AssemblyBuilder.cs (SetCustomAttribute): Changed PK extraction to
  937. use Mono.Security.StrongName (#49785).
  938. 2003-10-18 Zoltan Varga <[email protected]>
  939. * AssemblyBuilder.cs (SetCustomAttribute): Extract the public key from
  940. the keyfile.
  941. 2003-10-17 Zoltan Varga <[email protected]>
  942. * AssemblyBuilder.cs (SetCustomAttribute): Ignore empty keyfile name.
  943. * AssemblyBuilder.cs: Moved loading of the public key file into
  944. managed code from reflection.c.
  945. * AssemblyBuilder.cs: Set cultureInfo and version from the AssemblyName
  946. passed to the constructor.
  947. 2003-10-13 Martin Baulig <[email protected]>
  948. * MethodBuilder.cs (MethodBuilder): Added
  949. `TypeBuilder.MonoGenericParam[] generic_params' field.
  950. (DefineGenericParameter, SetGenericMethodSignature): New public methods.
  951. * TypeBuilder.cs (DefineGenericMethod): New public method.
  952. 2003-10-13 Zoltan Varga <[email protected]>
  953. * OpCode.cs: Fix Value property. Fixes #49328.
  954. 2003-10-03 Zoltan Varga <[email protected]>
  955. * TypeBuilder.cs (CreateType): Fire TypeResolve events for unfinished
  956. nested value types. Fixes #47022.
  957. 2003-09-29 Zoltan Varga <[email protected]>
  958. * TypeBuilder.cs: Really fix #48695.
  959. Sat Sep 27 16:17:08 CEST 2003 Paolo Molaro <[email protected]>
  960. * ILGenerator.cs: instance fields are loaded from this.
  961. 2003-09-26 Zoltan Varga <[email protected]>
  962. * TypeBuilder.cs (DefineDefaultConstructor): Make this work on types
  963. without a parent. Fixes #48695.
  964. 2003-09-17 Martin Baulig <[email protected]>
  965. * TypeBuilder.cs (TypeBuilder.CreateType): Don't append the type
  966. parameters to the type name; ie. use `Stack' instead of `Stack<T>'.
  967. 2003-09-06 Martin Baulig <[email protected]>
  968. * TypeBuilder.cs (TypeBuilder.IsUnboundGenericParameter): Implemented.
  969. 2003-09-04 Martin Baulig <[email protected]>
  970. * TypeBuilder.cs (TypeBuilder.MonoGenericParam): Make this nested
  971. class internal, not protected.
  972. 2003-08-29 Martin Baulig <[email protected]>
  973. * TypeBuilder.cs (TypeBuilder.DefineGenericParameter): New public
  974. method. We can now create generic types.
  975. (TypeBuilder.GetGenericTypeDefinition): Override this; call the
  976. `setup_internal_class' interncall before calling our base impl.
  977. Sat Aug 2 13:04:55 BST 2003 Malte Hildingson <[email protected]>
  978. * ILGenerator.cs: Emission of doubles now utilise the Double.AssertEndianity
  979. icall to assert double word endianity on ARM.
  980. 2003-07-25 Duncan Mak <[email protected]>
  981. * OpCodes.cs (Boxval): Marked with ObsoleteAttribute.
  982. 2003-07-24 Miguel de Icaza <[email protected]>
  983. * TypeBuilder.cs: Added generics stubs.
  984. * EnumBuilder.cs: Added generics stubs, changed bracing style for
  985. routines.
  986. 2003-07-23 Duncan Mak <[email protected]>
  987. * SignatureHelper.cs: This class does not have the
  988. SerializableAttribute.
  989. 2003-07-11 Zoltan Varga <[email protected]>
  990. * AssemblyBuilder.cs: Added argument checking to all methods according
  991. to the MSDN docs. Also marked DefineUnmanagedResource and its friends
  992. as not implemented.
  993. * ModuleBuilder.cs: Added new property FileName used by AssemblyBuilder.
  994. * ModuleBuilder.cs AssemblyBuilder.cs: Implemented IsTransient ().
  995. 2003-06-15 Zoltan Varga <[email protected]>
  996. * EventBuilder.cs: Add argument checking to methods.
  997. Thu Jun 5 20:18:55 CEST 2003 Paolo Molaro <[email protected]>
  998. * AssemblyBuilder.cs: implemented DefineResource ().
  999. Thu Jun 5 12:36:34 CEST 2003 Paolo Molaro <[email protected]>
  1000. * OpCode.cs: implemented Equals/GetHashCode.
  1001. Tue Jun 3 11:14:51 CEST 2003 Paolo Molaro <[email protected]>
  1002. * ILGenerator.cs, OpCode.cs: optimize opcode space usage.
  1003. Tue Jun 3 11:13:22 CEST 2003 Paolo Molaro <[email protected]>
  1004. * UnmanagedMarshal.cs: add ability to define custom attributes (the MS
  1005. runtime doesn't support this).
  1006. 2003-05-30 Zoltan Varga <[email protected]>
  1007. * TypeBuilder.cs: Implement DefineTypeInitializer.
  1008. 2003-05-21 Zoltan Varga <[email protected]>
  1009. * ModuleBuilder.cs:
  1010. - Implement DefineInitializedData in terms of DefineUninitializedData
  1011. - Name the types of global fields $ArrayType$<len> to cut back on the
  1012. number of types created
  1013. - Add argument checking
  1014. 2003-05-19 Zoltan Varga <[email protected]>
  1015. * AssemblyBuilder.cs: Implement GetDynamicModule. "Implement" various
  1016. methods not supported under MS.NET.
  1017. 2003-05-18 Martin Baulig <[email protected]>
  1018. * AssemblyBuilder.cs (corlib_void_type): New internal field.
  1019. (SetCorlibTypeBuilders): Added overloaded version which takes 4
  1020. arguments to set the `corlib_void_type'.
  1021. * TypeBuilder.cs: Use `pmodule.assemblyb.corlib_void_type' instead
  1022. of `typeof (void)' to make this work when compiling corlib.
  1023. Thu May 15 19:16:54 CEST 2003 Paolo Molaro <[email protected]>
  1024. * MethodBuilder.cs: off by one in CreateMethodBody().
  1025. * TypeBuilder.cs: if the return type for a method is null, use void.
  1026. 2003-04-28 Miguel de Icaza <[email protected]>
  1027. * MethodBuilder.cs: Mono allows the parameter position to be zero
  1028. to indicate the "returns:" attribute.
  1029. 2003-04-20 Miguel de Icaza <[email protected]>
  1030. * ILGenerator.cs (EmitCall): Implement.
  1031. Flag a few unimplemented methods with MonoTODO, make coding style
  1032. for method definitions Mono consistent.
  1033. 2003-04-17 Zoltan Varga <[email protected]>
  1034. * ILGenerator.cs: Implement EmitWriteLine methods.
  1035. * TypeBuilder.cs (CreateType): Avoid creating a default constructor
  1036. for the global type.
  1037. 2003-04-15 Miguel de Icaza <[email protected]>
  1038. * TypeBuilder.cs (DefineDefaultConstructor): Make it generate code
  1039. by default for a default constructor. This is what the MS runtime
  1040. does. The PythonNet code expected this.
  1041. (TypeBuilder.GetConstructorImpl): Implement this.
  1042. (TypeBuilder.CreateType): If there are no constructors defined, we
  1043. create one.
  1044. Tue Apr 15 13:50:41 CEST 2003 Paolo Molaro <[email protected]>
  1045. * ModuleBuilder.cs, TypeBuilder.cs: set nesting_type before
  1046. calling setup_internal_class ().
  1047. 2003-03-27 Zoltan Varga <[email protected]>
  1048. * AssemblyBuilder.cs: Added 'access' member, which is needed by the
  1049. runtime.
  1050. 2003-03-26 Zoltan Varga <[email protected]>
  1051. * ILGenerator.cs: Implemented ThrowException.
  1052. 2003-03-10 Zoltan Varga <[email protected]>
  1053. * ILGenerator.cs: Propagate maxstack info along branches.
  1054. 2003-03-06 Zoltan Varga <[email protected]>
  1055. * ILGenerator.cs (Emit): Do not pop the arguments off the stack for
  1056. ldftn etc. Fixes bug #39196.
  1057. 2003-02-28 Zoltan Varga <[email protected]>
  1058. * ILGenerator.cs (Emit): Add fixup for already created methods and
  1059. fields. Do not add fixup for types since their table index do not
  1060. change any more.
  1061. 2003-02-26 Zoltan Varga <[email protected]>
  1062. * TypeBuilder.cs (DefineInitializedData): Removed unnecessary assignments.
  1063. * ModuleBuilder.cs (DefineInitializedData): Do not call
  1064. TypeBuilder::DefineInitializedData since that would mean defining a
  1065. nested type of the global type, which is wrong. Instead define a
  1066. new public type as MS does.
  1067. * ModuleBuilder.cs (DefineUninitializedData): Ditto.
  1068. Thu Feb 13 18:40:52 CET 2003 Paolo Molaro <[email protected]>
  1069. * ModuleBuilder.cs: add the basic initialization call.
  1070. 2003-02-13 Zoltan Varga <[email protected]>
  1071. * AssemblyBuilder.cs: Added basic error checking to some methods
  1072. according to the MSDN docs.
  1073. 2003-02-10 Zoltan Varga <[email protected]>
  1074. * ConstructorBuilder.cs:
  1075. - Added basic error checking to all methods according to the MSDN docs.
  1076. - modified a lot of methods to throw NotSupportedException, to comply
  1077. with MS.NET.
  1078. 2003-02-09 Zoltan Varga <[email protected]>
  1079. * TypeBuilder.cs:
  1080. - Added basic error checking to all methods according to the MSDN docs.
  1081. - fixed AssemblyQualifiedName.
  1082. - implemented 'Size'.
  1083. - modified a lot of methods to throw NotSupportedException, to comply
  1084. with MS.NET.
  1085. - changes tested by running a full bootstrap.
  1086. 2003-02-09 Martin Baulig <[email protected]>
  1087. * AssemblyBuilder.cs (AssemblyBuilder.methods): Removed. This was
  1088. a hack for the symbol writer which is no longer needed.
  1089. 2003-02-09 Martin Baulig <[email protected]>
  1090. * IMonoSymbolWriter.cs (DefineNamespace, OpenMethod): New methods.
  1091. 2003-02-09 Martin Baulig <[email protected]>
  1092. * IMonoSymbolWriter.cs (MarkSequencePoint): New method which takes
  1093. just the required arguments as scalars, not arrays.
  1094. * ILGenerator.cs (ILGenerator.MarkSequencePoint): Use that new
  1095. interface method; unnecessarily creating such a large number of
  1096. arrays is both slow and too memory consuming.
  1097. 2003-02-08 Zoltan Varga <[email protected]>
  1098. * MethodBuilder.cs: Added error checking to methods so they conform to
  1099. MSDN docs. Implemented 'GetModule' and 'CallingConvention' members.
  1100. Some other tweaks to improve compatibility with MS .NET.
  1101. * TypeBuilder.cs: Added 'is_created' property which will be used for
  1102. checking 'type is already created' errors.
  1103. 2003-02-07 Martin Baulig <[email protected]>
  1104. * ModuleBuilder.cs (.ctor): Added `bool IsMainModule' argument.
  1105. (Save): New internal method; creates the module's symbol file if
  1106. we're compiling with debugging information.
  1107. * AssemblyBuilder.cs (EmbedResource): Added internal overloaded
  1108. version of this method which takes a `byte[] blob' instead of a file.
  1109. (DefineDynamicMethod): If this is the first module, tell the
  1110. ModuleBuilder that this is the main module.
  1111. (Save): Call a new interncall `build_metadata' to create the final
  1112. metadata and save all the symbol files before creating the actual
  1113. output.
  1114. * IMonoSymbolWriter.cs: New public class; it is in the namespace
  1115. Mono.CSharp.Debugger. The Mono symbol writer implements this interface.
  1116. 2003-02-04 Zoltan Varga <[email protected]>
  1117. * AssemblyBuilder.cs: added GetToken (SignatureHelper).
  1118. * ILGenerator.cs: implemented EmitCalli() methods
  1119. * SignatureHelper.cs: implemented GetMethoSigHelper() methods.
  1120. 2003-01-30 Gonzalo Paniagua Javier <[email protected]>
  1121. * MethodBuilder.cs: GetBaseDefinition () returns this.
  1122. Mon Jan 27 17:07:38 CET 2003 Paolo Molaro <[email protected]>
  1123. * CustomAttributeBuilder.cs, FieldBuilder.cs: applied
  1124. (reformatted) patch from "Jerome Laban" <[email protected]>
  1125. to fix ByValStr and ByValArray encodings.
  1126. 2003-01-27 Gonzalo Paniagua Javier <[email protected]>
  1127. * AssemblyBuilder.cs: fixed compilation with csc.
  1128. 2003-01-26 Miguel de Icaza <[email protected]>
  1129. * AssemblyBuilder.cs (Save): Set the executable bit at the end.
  1130. This uses a non-official enumeration value to call SetFileAttributes.
  1131. 2003-01-17 Zoltan Varga <[email protected]>
  1132. * MethodBuilder.cs ConstructorBuilder.cs: modify GetParameters() so it
  1133. returns information even when the app did not use DefineParameter() to
  1134. define the parameters.
  1135. * ConstructorBuilder.cs (ctor): allways define SpecialName attribute
  1136. for constructors as done by MS.
  1137. Mon Jan 13 11:37:14 CET 2003 Paolo Molaro <[email protected]>
  1138. * TypeBuilder.cs, ModuleBuilder.cs: better type name cache.
  1139. 2003-01-10 Zoltan Varga <[email protected]>
  1140. * ILGenerator.cs: Implemented EmitWriteLine(string).
  1141. * TypeBuilder.cs (DefineInitializedData): Call DefineNestedType()
  1142. instead of DefineType() so the auxiliary types do not pollute the
  1143. global namespace. This is consistent with the behaviour of MS .NET.
  1144. Fri Jan 10 16:03:30 CET 2003 Paolo Molaro <[email protected]>
  1145. * ILGenerator.cs, MethodBuilder.cs, TypeBuilder.cs,
  1146. ConstructorBuilder.cs: some tweaks to reduce memory usage.
  1147. Thu Jan 2 18:46:09 CET 2003 Paolo Molaro <[email protected]>
  1148. * ModuleBuilder.cs, TypeBuilder.cs: support global fields and methods.
  1149. Thu Dec 19 00:06:57 CET 2002 Paolo Molaro <[email protected]>
  1150. * AssemblyBuilder.cs: remove duplicated user string entries.
  1151. 2002-12-11 Zoltan Varga <[email protected]>
  1152. * FieldBuilder.cs: added 'handle' field which is needed by some new
  1153. code in reflection.c.
  1154. 2002-12-04 Gonzalo Paniagua Javier <[email protected]>
  1155. * TypeBuilder.cs: implemented GetInterfaceMap () when the Type has been
  1156. created.
  1157. Fri Nov 8 14:53:03 CET 2002 Paolo Molaro <[email protected]>
  1158. * ILGenerator.cs: account for the exception object being passed to the
  1159. catch handler to calc max_stack.
  1160. 2002-09-21 Martin Baulig <[email protected]>
  1161. * ModuleBuilder.cs (ModuleBuilder.symbol_writer): Make this
  1162. field internal, not private.
  1163. (ModuleBuilder.SymWriter_DefineLocalVariable): Removed.
  1164. * LocalBuilder.cs (LocalBuilder.SetLocalSymInfo): Use the
  1165. ISymbolWriter's DefineLocalVariable() method instead of the
  1166. IMonoSymbolWriter hack.
  1167. Mon Sep 16 19:02:58 CEST 2002 Paolo Molaro <[email protected]>
  1168. * AssemblyBuilder.c: special case some custom attributes.
  1169. 2002-09-12 Dick Porter <[email protected]>
  1170. * TypeBuilder.cs: Say _which_ Type has already been created
  1171. 2002-09-11 Miguel de Icaza <[email protected]>
  1172. * ModuleBuilder.cs (GetTypes): Implement.
  1173. Tue Sep 10 12:12:51 CEST 2002 Paolo Molaro <[email protected]>
  1174. * ConstructorBuilder.cs: added a field to hold the handle.
  1175. Mon Sep 9 17:31:12 CEST 2002 Paolo Molaro <[email protected]>
  1176. * TypeBuilder.cs: prepare for the real CreateType implementation.
  1177. Tue Aug 27 16:57:18 CEST 2002 Paolo Molaro <[email protected]>
  1178. * TypeBuilder.cs: remove duplicate code and fix
  1179. named field reading in custom attr.
  1180. 2002-08-24 Gonzalo Paniagua Javier <[email protected]>
  1181. * TypeBuilder.cs: UnspecifiedTypeSize is 0.
  1182. Wed Aug 14 17:38:41 CEST 2002 Paolo Molaro <[email protected]>
  1183. * TypeBuilder.cs: ReflectedType and CreateType fixes.
  1184. Thu Aug 8 10:25:51 CEST 2002 Paolo Molaro <[email protected]>
  1185. * AssemblyBuilder.cs: added API to embed managed resources.
  1186. 2002-08-03 Martin Baulig <[email protected]>
  1187. * TypeBuilder.cs (TypeBuilder.DeclaringType): Implemented.
  1188. Thu Jul 25 13:57:46 CEST 2002 Paolo Molaro <[email protected]>
  1189. * AssemblyBuilder.cs: support linking external resources.
  1190. 2002-07-19 Martin Baulig <[email protected]>
  1191. * ILGenerator.cs (Emit (OpCode, LocalBuilder)): Throw an exception
  1192. when trying to emit a local that was defined in a different ILGenerator.
  1193. * LocalBuilder.cs (LocalBuilder): Added `ILGenetator' argument to
  1194. the constructor.
  1195. Tue Jul 16 19:32:08 CEST 2002 Paolo Molaro <[email protected]>
  1196. * ILGenerator.cs: stack size check fix.
  1197. Sat Jul 13 17:30:51 CEST 2002 Paolo Molaro <[email protected]>
  1198. * AssemblyBuilder.cs: add also the enum_type for compiling corlib.
  1199. * TypeBuilder.cs: complete IsValueType.
  1200. Sat Jul 13 15:08:12 CEST 2002 Paolo Molaro <[email protected]>
  1201. * TypeBuilder.cs: better IsValueType.
  1202. 2002-07-13 Gonzalo Paniagua Javier <[email protected]>
  1203. * CustomAttributeBuilder.cs: removed compile warning.
  1204. Fri Jul 12 11:34:58 CEST 2002 Paolo Molaro <[email protected]>
  1205. * ILGenerator.cs: fixup typebuilder tokens as well.
  1206. Tue Jul 9 19:03:03 CEST 2002 Paolo Molaro <[email protected]>
  1207. * TypeBuilder.cs: special case SerializarionAttribute.
  1208. Tweaks to get correct code in corlib.
  1209. 2002-07-06 Miguel de Icaza <[email protected]>
  1210. * ILGenerator.cs (ILGenerator.Emit): For doubles and floats, swap
  1211. the bytes on big endian systems.
  1212. 2002-07-03 Martin Baulig <[email protected]>
  1213. * AssemblyBuilder.cs (corlib_object_type, corlib_value_type): Moved
  1214. these fields up after the last entry in MonoReflectionAssemblyBuilder
  1215. in reflection.h.
  1216. * TypeBuilder.cs (IsValueTypeImpl): Use the AssemblyBuilder's
  1217. `corlib_value_type' instead of `typeof (System.ValueType)'.
  1218. (DefineNestedType): Use the AssemblyBuilder's `corlib_object_type'
  1219. instead of `typeof (object)'.
  1220. 2002-07-02 Martin Baulig <[email protected]>
  1221. * AssemblyBuilder.cs (corlib_object_type, corlib_value_type): New
  1222. internal fields. When compiling corlib, they point to the newly
  1223. created System.Object and System.ValueType types.
  1224. (SetCorlibTypeBuilders): New public function. This will be
  1225. dynamically called from MCS when compiling corlib.
  1226. * TypeBuilder.cs (DefineInitializedData): Use the AssemblyBuilder's
  1227. `corlib_value_type' as parent type instead of `typeof (System.ValueType)'
  1228. to make it work when compiling corlib.
  1229. * ModuleBuilder.cs (assemblyb): Made this field internal, not private.
  1230. Tue Jul 2 18:34:49 CEST 2002 Paolo Molaro <[email protected]>
  1231. * TypeBuilder.cs: implemented AssemblyQualifiedName.
  1232. * MethodBuilder.cs, ConstructorBuilder.cs: special case custom attr.
  1233. Mon Jul 1 16:17:29 CEST 2002 Paolo Molaro <[email protected]>
  1234. * TypeBuilder.cs: implemented AddInterfaceImplementation().
  1235. 2002-06-28 Martin Baulig <[email protected]>
  1236. * MethodBuilder.cs (GetParameters): Return all parameters, not all
  1237. but the last one.
  1238. 2002-06-27 Martin Baulig <[email protected]>
  1239. * ConstructorBuilder.cs (GetParameters): Implemented.
  1240. Mon Jun 17 14:55:43 CEST 2002 Paolo Molaro <[email protected]>
  1241. * ModuleBuilder.cs, TypeBuilder.cs: fixes for nested types handling.
  1242. Fri Jun 14 16:21:54 CEST 2002 Paolo Molaro <[email protected]>
  1243. * CustomAttributeBuilder.cs: added custom attribute related internal
  1244. helper methods.
  1245. * FieldBuilder.cs, ParameterBuilder.cs: handle MarshalAs attribute.
  1246. * UnmanagedMarshal.cs: implemented.
  1247. Mon Jun 10 18:58:18 CEST 2002 Paolo Molaro <[email protected]>
  1248. * PropertyBuilder.cs: implemented ReflectedType and DeclaringType
  1249. properties.
  1250. 2002-06-07 Martin Baulig <[email protected]>
  1251. * TypeBuilder.cs (TypeBuilder): Added `PackingSize packing_size' and
  1252. `int type_size' fields to the constructor.
  1253. (DefineNestedType): Pass packing_size and type_size to the constructor.
  1254. * ModuleBuilder.cs (DefineType): Pass the packing_size and type_size
  1255. fields to the TypeBuilder's constructor.
  1256. 2002-06-07 Martin Baulig <[email protected]>
  1257. * TypeBuilder.cs (DefineNestedType): There is no overload for this
  1258. method which takes 5 args in the specs, removed it.
  1259. Fri Jun 7 17:04:06 CEST 2002 Paolo Molaro <[email protected]>
  1260. * AssemblyBuilder.cs: updates for PE/COFF rewrite.
  1261. 2002-05-30 Martin Baulig <[email protected]>
  1262. * AssemblyBuilder.cs (methods): Made this internal and don't
  1263. initialize it. It will be initialized by the ModuleBuilder's
  1264. GetSymbolWriter() method.
  1265. (get_next_table_index): Only store the method in the `methods'
  1266. array if it's not null.
  1267. * ModuleBuilder.cs (GetSymbolWriter): Initialize the AssemblyBuilder's
  1268. `methods' field if necessary and pass it as third argument to the
  1269. symbol writer's constructor.
  1270. 2002-05-25 Martin Baulig <[email protected]>
  1271. * TypeBuilder.cs (TypeToken): Implemented.
  1272. 2002-05-24 Martin Baulig <[email protected]>
  1273. * ModuleBuilder.cs (symwriter_define_local): New private variable.
  1274. (GetSymbolWriter): Look for a custom version of "DefineLocalVariable"
  1275. and store it in `symwriter_define_local'.
  1276. (SymWriter_DefineLocalVariable): New internal method to call the
  1277. symbol writer's custom DefineLocalVariable() method. It is safe to
  1278. call this method if there's no symbol writer.
  1279. * LocalBuilder.cs (SetLocalSymInfo): Use the MethodBuilder'snew
  1280. SymWriter_DefineLocalVariable().
  1281. * MethodBuilder.cs (GetParameters): Implemented.
  1282. 2002-05-22 Martin Baulig <[email protected]>
  1283. * ModuleBuilder.cs (GetSymbolWriter): Pass the this pointer to the
  1284. symbol writer's constructor.
  1285. 2002-05-22 Martin Baulig <[email protected]>
  1286. * AssemblyBuilder.cs (methods): New field.
  1287. (get_next_table_index): Record all methods and constructors
  1288. (table 0x06) in the `methods' array. This is read by the
  1289. Mono.CSharp.Debugger.MonoSymbolWriter::get_method interncall to
  1290. get the MethodBuilder / ConstructorBuilder back from the token.
  1291. * *Builder.cs (get_next_table_index): Added `object obj' argument.
  1292. (<constructors>): pass the this pointer to get_next_table_index ().
  1293. 2002-05-20 Martin Baulig <[email protected]>
  1294. * TypeBuilder.cs (DefineField): Call the new `create_internal_class'
  1295. interncall after adding the first field. This is used when creating
  1296. enum types to set `klass->enum_basetype'.
  1297. Thu May 16 16:09:51 CEST 2002 Paolo Molaro <[email protected]>
  1298. * TypeBuilder.cs: complete special acse support for CharSet, Size and
  1299. Pack named args in StructLayout attribute.
  1300. Tue May 14 17:13:48 CEST 2002 Paolo Molaro <[email protected]>
  1301. * MethodBuilder.cs: revert change in accessibility of
  1302. GetILGenerator(int).
  1303. Tue May 14 13:31:17 CEST 2002 Paolo Molaro <[email protected]>
  1304. * FieldBuilder.cs, ParameterBuilder.cs: more special-casing of
  1305. attributes.
  1306. Fri May 10 20:57:27 CEST 2002 Paolo Molaro <[email protected]>
  1307. * CustomAttributeBuilder.cs: expose internal data for use in
  1308. reflection.
  1309. * FieldBuilder.cs, TypeBuilder.cs: special case FieldOffset and
  1310. StructLayout attributes.
  1311. Fri May 10 16:30:57 CEST 2002 Paolo Molaro <[email protected]>
  1312. * MethodBuilder.cs, ConstructorBuilder.cs: implemented InitLocals
  1313. property.
  1314. 2002-04-26 Martin Baulig <[email protected]>
  1315. * ModuleBuilder.cs (DefineDocument): Implemented.
  1316. Tue Apr 16 13:02:28 CEST 2002 Paolo Molaro <[email protected]>
  1317. * AssemblyBuilder.cs: pad output file to file alignment.
  1318. * FieldBuilder.cs: ReflectedType.
  1319. * ModuleBuilder.cs: added guid generation and array method creation.
  1320. * MonoArrayMethod.cs: array method support code.
  1321. Wed Apr 10 12:57:31 CEST 2002 Paolo Molaro <[email protected]>
  1322. * ILGenerator.cs: use a stack to keep track of exception blocks.
  1323. Mon Apr 8 06:19:01 2002 Piers Haken <[email protected]>
  1324. * ILGenerator.cs: added LabelField.label_base to allow for
  1325. arbitrary offsets (for switch statement)
  1326. Fri Apr 5 15:41:19 CEST 2002 Paolo Molaro <[email protected]>
  1327. * AssemblyBuilder.cs: simpler protocol wih the runtime to
  1328. get the assembly data.
  1329. Tue Mar 26 20:10:24 CET 2002 Paolo Molaro <[email protected]>
  1330. * AssemblyBuilder.cs: use FileMode.Create.
  1331. * ILGenerator.cs: optimize localbuilder related opcodes.
  1332. Track parameters to adjust maxstack.
  1333. * LocalBuilder.cS: use unsigned for position.
  1334. 2002-03-23 Miguel de Icaza <[email protected]>
  1335. * LocalBuilder.cs: Drop the symbol_writer as LocalBuilder fields.
  1336. Do this lazily in SetLocalSymInfo.
  1337. 2002-03-24 Martin Baulig <[email protected]>
  1338. * ModuleBuilder.cs (GetSymbolWriter): The MonoSymbolWriter's constructor
  1339. now takes a `string assembly_filename' argument, pass it our fully
  1340. qualified assembly name.
  1341. 2002-03-24 Nick Drochak <[email protected]>
  1342. * ILGenerator.cs: Use #if-#endif instead of if(false){} to disable
  1343. code. This way there is no compiler warning.
  1344. * TypeBuilder.cs: Removed the returns that came after the throws.
  1345. This removes a few more compiler warnings. Also marked with MonoTODO
  1346. all places where we throw NotImplemented exceptions.
  1347. 2002-03-23 Martin Baulig <[email protected]>
  1348. * SignatureHelper.cs (GetFieldSignatureHelper, GetLocalSignatureHelper):
  1349. Implemented.
  1350. * LocalBuilder.cs (LocalBuilder): This internal constructor now takes
  1351. a ModuleBuilder argument instead of a ISymbolWriter one.
  1352. (SetLocalSymInfo): Create and pass type signature to DefineLocalVariable.
  1353. 2002-03-23 Martin Baulig <[email protected]>
  1354. * ILGenerator.cs (BeginScope, EndScope): Implemented.
  1355. 2002-03-20 Martin Baulig <[email protected]>
  1356. * ModuleBuilder.cs (GetSymbolWriter): New internal function. Dynamically
  1357. loads the default symbol writer, catch all possible exceptions and return
  1358. null on failure.
  1359. (ModuleBuilder): Added `bool emitSymbolInfo' argument to this internal
  1360. constructor; if set, call GetSymbolWriter ().
  1361. (GetSymWriter): Implemented.
  1362. * LocalBuilder.cs (LocalBuilder): Added ISymbolWriter argument to this
  1363. internal method.
  1364. (SetLocalSymInfo): Implemented, call ISymbolWriter.DefineLocalVariable ()
  1365. if the symbol writer is not null.
  1366. * ILGenerator.cs (ILGenerator): Call ModuleBuilder.GetSymWriter () to get
  1367. and store the symbol writer.
  1368. (DeclareLocal): Pass the symbol writer to LocalBuilder's constructor.
  1369. (MarkSequencePoint): Implemented, call ISymbolWriter.DefineSequencePoints ()
  1370. if the symbol writer is not null.
  1371. * AssemblyBuilder.cs (DefineDynamicModule): Pass the `bool emitSymbolInfo'
  1372. to ModuleBuilder's constructor.
  1373. Sat Mar 16 19:11:47 CET 2002 Paolo Molaro <[email protected]>
  1374. * ModuleBuilder.cs: handle modified types correctly.
  1375. Thu Mar 7 17:10:42 CET 2002 Paolo Molaro <[email protected]>
  1376. * AssemblyBuilder.cs: allow saving bigger assemblies.
  1377. * ILGenerator.cs: add fixup table for fields and methods, since
  1378. at the end of the compile they may end up with a different table
  1379. index.
  1380. * ModuleBuilder.cs: add cache for type names to speed up the type
  1381. lookups from the compiler.
  1382. * TypeBuilder.cs: GetInterfaces () returns only interfaces in the
  1383. current type, not in parents (the docs are wrong).
  1384. Tue Mar 5 18:09:34 CET 2002 Paolo Molaro <[email protected]>
  1385. * EventBuilder.cs: implemented.
  1386. * TypeBuilder.cs: implemented DefineEvent() method and UnderlyingSystemType
  1387. property.
  1388. Mon Mar 4 20:34:52 CET 2002 Paolo Molaro <[email protected]>
  1389. * ILGenerator.cs: make enough room in the byte array for string
  1390. tokens.
  1391. * TypeBuilder.cs: fixed GetInterfaces().
  1392. Mon Mar 4 11:30:40 CET 2002 Paolo Molaro <[email protected]>
  1393. * TypeBuilder.cs: implemented GetConstructors(), GetFields(),
  1394. GetMethods(), GetProperties().
  1395. Thu Feb 28 19:15:10 CET 2002 Paolo Molaro <[email protected]>
  1396. * AssemblyBuilder.cs: call into the runtime to init some basic
  1397. assembly stuff. Reserve slot 1 of typedef table for .<Module>.
  1398. * ModuleBuilder.cs: call into the runtime if we need to create a
  1399. modief type, such as arrays, byref etc.
  1400. * TypeBuilder.cs: call into the runtime to create the MonoClass
  1401. representation for the type. Throw exceptions with not implemented
  1402. stuff.
  1403. Wed Feb 27 18:48:47 CET 2002 Paolo Molaro <[email protected]>
  1404. * ILGenerator.cs: fix nested exception blocks.
  1405. Wed Feb 20 22:30:49 CET 2002 Paolo Molaro <[email protected]>
  1406. * AssemblyBuilder.cs: upped compiled assembly size limit.
  1407. Implemented SetCustomAttribute () methods.
  1408. * CustomAttributeBuilder.cs: implemented the needed constructor
  1409. stuff.
  1410. * Cosntructorbuilder.cs, EnumBuilder.cs, FieldBuilder.cs,
  1411. MethodBuilder.cs, ModuleBuilder.cs, ParameterBuilder.cs,
  1412. PropertyBuilder.cs, TypeBuilder.cs: Implemented SetCustomAttribute () methods.
  1413. Wed Feb 20 14:54:01 CET 2002 Paolo Molaro <[email protected]>
  1414. * AssemblyBuilder.cs: add SetCustomAttribute () to keep the compiler
  1415. going.
  1416. Fri Feb 15 18:15:04 CET 2002 Paolo Molaro <[email protected]>
  1417. * ILGenerator.cs: finally block support and fixes.
  1418. Thu Feb 14 18:55:52 CET 2002 Paolo Molaro <[email protected]>
  1419. * FieldBuilder.cs: Add SetRVAData().
  1420. * ILGenerator.cs: speed up code array growth.
  1421. * TypeBuilder.cs: fix IsValueTypeImpl(). Add class_size member.
  1422. Implement DefineInitializedData().
  1423. Tue Jan 22 23:01:11 CET 2002 Paolo Molaro <[email protected]>
  1424. * EnumBuilder.cs, TypeBuilder.cs: updates for changes in Type.cs.
  1425. * ModuleBuilder.cs: fix lookup of nested types.
  1426. Tue Jan 15 22:46:21 CET 2002 Paolo Molaro <[email protected]>
  1427. * ILGenerator.cs: implement some of the exception support methods.
  1428. Mon Jan 14 17:07:32 CET 2002 Paolo Molaro <[email protected]>
  1429. * ModulerBuilder.cs: search also for subtypes in GetTypes().
  1430. * TypeBuilder.cs: bugfix in FullName. Implemented DefineNestedType().
  1431. Fri Jan 11 19:00:29 CET 2002 Paolo Molaro <[email protected]>
  1432. * MethodBuilder.cs, ConstructorBuilder.cs: save parameter info.
  1433. Thu Jan 10 21:07:54 CET 2002 Paolo Molaro <[email protected]>
  1434. * ILGenerator.cs: handle type tokens (used for box opcode).
  1435. Wed Jan 9 19:37:55 CET 2002 Paolo Molaro <[email protected]>
  1436. * ILGenerator.cs: emit float and doubles.
  1437. * ModuleBuilder.cs: off-by-one error fix and GetType()
  1438. implementations.
  1439. * TypeBuilder.cs: AttributesImpl added.
  1440. * UnmanagedMarshal.cs: stubbed out class.
  1441. Sat Jan 5 15:59:05 CET 2002 Paolo Molaro <[email protected]>
  1442. * ILGenerator.cs: fix emission of two-bytes opcodes.
  1443. Missing slot for locals array. Throw exceptions on unimplemented
  1444. methods.
  1445. * OpCode.cs: add a comment: the Value property is useless.
  1446. * OpCodes.cs: fix name of tail opcode (Tail -> Tailcall).
  1447. 2002-01-05 Ravi Pratap <[email protected]>
  1448. * ConstructorBuilder.cs : Use the MonoTODO attribute.
  1449. * ILGenerator.cs, Label.cs, MethodBuilder.cs, ModuleBuilder.cs,
  1450. ParameterBuilder.cs, TypeBuilder.cs : Ditto.
  1451. Thu Jan 3 23:26:15 CET 2002 Paolo Molaro <[email protected]>
  1452. * ILGenerator.cs: typo fix.
  1453. Mon Dec 24 17:21:30 CET 2001 Paolo Molaro <[email protected]>
  1454. * TypeBuilder.cs: added DefineMethodOverride().
  1455. * MethodBuilder.cs: add override_method member and setter.
  1456. Mon Nov 19 13:58:01 CET 2001 Paolo Molaro <[email protected]>
  1457. * AssemblyBuilder.cs: add method to register a string in the "#US"
  1458. stream.
  1459. * EnumBuilder.cs, SignatureHelper.cs: added stubs.
  1460. * ILGenerator.cs: more stuff implemented.
  1461. * LocalBuilder.cs: keep track of local var index.
  1462. Thu Nov 15 18:11:23 CET 2001 Paolo Molaro <[email protected]>
  1463. * ConstructorBuilder.cs: implement the interesting methods.
  1464. * ILGenerator.cs: adapt for use with both a MethodBuilder and a
  1465. ConstructorBuilder.
  1466. * MethodBuilder.cs: add ImplAttributes.
  1467. * ParameterBuilder.cs: adapt for ConstructorBuilder.
  1468. * TypeBuilder.cs: add constructors handling.
  1469. Wed Nov 14 17:01:45 CET 2001 Paolo Molaro <[email protected]>
  1470. * ConstructorBuilder.cs: added missing stubs and some implementation.
  1471. * CustomAttributeBuilder.cs: added.
  1472. * EventBuilder.cs: added.
  1473. * FieldBuilder.cs: updates.
  1474. * MethodBuilder.cs: stuff to implement P/Invoke methods.
  1475. * ModuleBuilder.cs: added GetArrayMethod() stub.
  1476. * ParameterBuilder.cs, PropertyBuilder.cs: updates.
  1477. * TypeBuilder.cs: updates and stubs.
  1478. 2001-11-10 Sean MacIsaac <[email protected]>
  1479. * TypeBuilder.cs: Added implementation for TypeHandle.
  1480. Tue Nov 6 09:13:45 CET 2001 Paolo Molaro <[email protected]>
  1481. * AssemblyBuilder.cs: define an internal constructor.
  1482. 2001-10-07 Miguel de Icaza <[email protected]>
  1483. * AssemblyBuilder.cs: Reformatted.
  1484. Added override keywords to those that needed them.
  1485. Removed methods that we do not override, but just inherit
  1486. Tue Sep 25 16:53:08 CEST 2001 Paolo Molaro <[email protected]>
  1487. * TypeBuilder.cs, ConstructorBuilder.cs, ModuleBuilder.cs: added.