ChangeLog 60 KB

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