[xbuild] Add support for Before/AfterTargets.
[mono.git] / mcs / ilasm / ChangeLog
1 2009-01-09  Miguel de Icaza  <miguel@novell.com>
2
3         * Add support for `strict' in .method declaration
4
5 2008-02-21  Ankit Jain  <jankit@novell.com>
6
7         Fix bug #363587
8         * Driver.cs: Use Report.Message for emitting messages.
9         * Report.cs (AssembleFile): Honor 'quiet'.
10         Patch from Andrea Carlo Ornstein <andrea.ornstein@st.com>
11
12 2008-02-07  Gert Driesen  <drieseng@users.sourceforge.net>
13
14         * Driver.cs: Removed crazy logic prevent debug symbol from being
15         created when /debug is set. 
16
17 2008-02-06  Ankit Jain  <jankit@novell.com>
18
19         Fix bug #358496.
20         * ExternMethodRef.cs (ResolveVararg): Fix the check for sentinel.
21
22 2007-12-31  Rodrigo Kumpera <rkumpera@novell.com>
23
24         * ilasm.exe.sources: added EmiteByteInst.cs.
25
26 2006-06-07  Ankit Jain  <jankit@novell.com>
27
28         * Report.cs (Report.FilePath): New, static property.
29         (Report.Error): Remove overload with file_path param.
30         (Report.Warning): New.
31         * Driver.cs (DriverMain.Run): Set Report.FilePath .
32         (DriverMain.ProcessFile): Update use of Report.Error .
33         
34
35 2006-05-26  Ankit Jain  <jankit@novell.com>
36
37         * ilasm.exe.sources: Add Assembly.cs
38         * Driver.cs: Update to use the new Assembly class.
39
40 2006-05-26  Ankit Jain  <jankit@novell.com>
41
42         * ilasm.exe.sources: Add PermissionMember.cs, PermissionSet.cs &
43         Permission.cs
44
45 2006-05-11  Ankit Jain  <jankit@novell.com>
46
47         * Report.cs (Report.Error): Add 2 new overloads.
48         (ILAsmException.ctor): Add 2 new overloads, with location and file_path
49         params.
50         (ILAsmException.Location):
51         (ILAsmException.FilePath): New properties.
52         (ILAsmException.ToString): Return formatted error message.
53         * Driver.cs (DriverMain.ProcessFile): Improve error message display.
54         (DriverMain.Run): Use ILAsmException.ToString (). 
55
56 2006-05-09  Sebastien Pouliot  <sebastien@ximian.com>
57
58         * Driver.cs: Move up the loading of the strongname key pair to allow
59         embedding the public part into the assembly. Also don't try to sign
60         netmodules.
61
62 2006-04-24  Ankit Jain  <jankit@novell.com>
63
64         * Driver.cs (DriverMain.Run): Update use of CodeGen.ctor .
65
66 2006-02-20  Ankit Jain  <jankit@novell.com>
67
68         * Report.cs (Report): Make all methods,fields static.
69         (Report.Error): Update to throw ILAsmException.
70         (ILAsmException): New.
71         (InternalErrorException): New. Derive from ILAsmException.
72         * Driver.cs (Driver.Run): Catch ILAsmException and PEFileException and
73         print error messages instead of dumping the stack trace, and delete the
74         output file if CodeGen.Write() fails.
75         Move the check for entrypoint from CodeGen.Write to here.
76
77 2006-01-19  Ankit Jain  <jankit@novell.com>
78
79         * ilasm.exe.sources: Add Module.cs to the build.
80
81 2006-01-13  Ankit Jain  <jankit@novell.com>
82
83         * ilasm.exe.sources: Replace IMethodRef.cs with BaseMethodRef.cs
84
85 2006-01-09  Ankit Jain  <jankit@novell.com>
86
87         * ilasm.exe.sources: Replace GenericTypeRef.cs with GenericParamRef.cs
88
89 2006-01-07  Ankit Jain  <jankit@novell.com>
90
91         * ilasm.exe.sources: Add GenericParameters.cs to the build.
92
93 2006-01-06  Ankit Jain  <jankit@novell.com>
94
95         * ilasm.exe.sources: Remove ExternTypeRefInst from build.
96
97 2005-12-21  Ankit Jain  <jankit@novell.com>
98
99         * ilasm.exe.sources: Add GenericArguments.cs to the build.
100
101 2005-08-26  Kornél Pál  <kornelpal@hotmail.com>
102
103         * AssemblyInfo.cs: Using Consts.MonoVersion instead of MonoVersion.cs.
104         * ilasm.exe.sources: Using Consts.MonoVersion instead of MonoVersion.cs.
105
106 2005-08-05  Ankit Jain  <jankit@novell.com>
107
108         * ilasm.exe.sources: Add DeclSecurity.cs to the build.
109
110 2005-05-12  Ankit Jain  <ankit@corewars.org>
111
112         * Makefile (LOCAL_MCS_FLAGS): Use the in-tree PEAPI.dll as its public
113         interface has changed a bit, so avoid clash with older installed
114         dll.
115
116 2005-04-21  Raja R Harinath  <rharinath@novell.com>
117
118         * Makefile (PROGRAM): Make profile-specific.
119
120 2004-12-08  Sebastien Pouliot  <sebastien@ximian.com>
121
122         * Driver.cs: Added support for /key option to strongname assemblies
123         produced by ilasm. Fix bug #69721.
124         * Makefile: Added dependency on Mono.Security.dll assembly to provide
125         strongnaming support.
126
127 2004-12-02  Miguel de Icaza  <miguel@ximian.com>
128
129         * CodeGen.cs: Correctly compute the name of a nested class,
130         currently it was ignoring anything above level 1.
131
132 2004-07-27  Jackson Harper  <jackson@ximian.com>
133
134         * Driver.cs: Make debug switch compatible with MS's add debug to
135         the usage.
136
137 2004-07-27  Martin Baulig  <martin@ximian.com>
138
139         Added debugging support to ilasm :-)
140
141         * Makefile: Depend on Mono.CSharp.Debugger.dll (this is only
142         exposed in DebuggingInfo.cs, so we can easily change that).
143
144         * Driver.cs: Added --debug command line argument to create
145         debugging info; this'll create a .mdb symbol file.
146
147 2004-06-26  Jackson Harper  <jackson@ximian.com>
148
149         * Report.cs: Fix quiet.
150         
151 2004-06-24  Jackson Harper  <jackson@ximian.com>
152
153         * Report.cs: Add new mehtod for displaying messages.
154         
155 2004-06-23  Jackson Harper  <jackson@ximian.com>
156
157         * Driver.cs: Use the same success message as MS.
158         
159 2004-06-19  Jackson Harper  <jackson@ximian.com>
160
161         * ilasm.exe.sources: Add MethodPointerTypeRef.cs to the build.
162         
163 2004-06-14  Jackson Harper  <jackson@ximian.com>
164
165         * ilasm.exe.sources: Add FileRef.cs
166         
167 2004-06-10  Jackson Harper  <jackson@ximian.com>
168
169         * Driver.cs: Handle tokenization errors with the correct error
170         message.
171         * Report.cs: Print error messages properly. Add an extra \n after
172         the assemble file message.
173         * ilasm.exe.sources: Add new exception, remove old one.
174         
175 2004-06-04  Jackson Harper  <jackson@ximian.com>
176
177         * Driver.cs: Do everything using the invariant culture.
178         
179 2004-04-26  Jackson Harper  <jackson@ximian.com>
180
181         * Makefile: Get libs from the default profile directory
182         
183 2004-04-05  Jackson Harper  <jackson@ximian.com>
184
185         * Driver.cs: Accept output option. Usage shows /output instead of
186         /out like MS.
187         
188 2004-04-01  Jackson Harper  <jackson@ximian.com>
189
190         * Driver.cs: The parser now needs to take a scanner object in its
191         constructor so it can set a flag when parsing byte arrays.
192         
193 2004-02-18  Jackson Harper <jackson@ximian.com>
194
195         * ilasm.exe.sources: Add ExternTypeRefInst to the build.
196         
197 2003-11-16 Jackson Harper <jackson@ximian.com>
198
199         * Driver.cs: Give the parser an instance of the stream reader so
200         it can get the streams encoding.
201         
202 2003-11-16 Jackson Harper <jackson@ximian.com>
203
204         * Driver.cs: If an arg isn't a switch and starts with a / add it
205         as a file to be compiled. This fixes bug #51041.
206         
207 2003-10-28 Jackson Harper <jackson@ximian.com>
208
209         * Driver.cs: Stub some command line args to maintain compatibility
210         with MS.
211         
212 2003-10-01 Jackson Harper <jackson@latitudegeo.com>
213
214         * Driver.cs: Remove delete on error, add quiet option.
215         * Report.cs: Can be quiet
216                 
217 2003-09-21 Jackson Harper <jackson@latitudegeo.com>
218
219         * Driver.cs: Give codegen a report object
220         * Report.cs: Remove silly methods that wouldnt have worked. Errors
221         are just string messages.
222         
223 2003-08-14 Jackson Harper <jackson@latitudegeo.com>
224
225         * Driver.cs: Report entry for each il file processed
226         * Report.cs: New file - All error/warning/progress reporting will
227         go through here.
228         * ilasm.exe.sources: Add report to build
229                 
230 2003-08-12 Jackson Harper <jackson@latitudegeo.com>
231
232         * AssemblyInfo.cs: Bump up the vizzity-version number.
233                 
234 2003-07-30 Jackson Harper <jackson@latitudegeo.com>
235
236         * Driver.cs: Throw compile errors for now
237         
238 2003-07-30 Jackson Harper <jackson@latitudegeo.com>
239
240         * Driver.cs: Add some basic line number feedback when an error
241         occurs
242         
243 2003-07-17 Jackson Harper <jackson@latitudegeo.com>
244
245         * ilasm.exe.sources: Add corlib/GenericTypeRef.cs to build
246         
247 2003-07-15 Jackson Harper <jackson@latitudegeo.com>
248
249         * Driver.cs: Use WriteLine for 'compilation succeeded' message.
250                 
251 2003-07-16  Peter Williams  <peter@newton.cx>
252
253         * Makefile (ILParser.cs): Move this from parser/ so we avoid
254         slash direction issues on the Windows build.
255
256         * .cvsignore: Add ILParser.cs here.
257
258 2003-07-14 Jackson Harper <jackson@latitudegeo.com>
259
260         * Makefile: Add the class/lib directory to the lib path so the
261         newest PEAPI is allways loaded.
262         
263 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
264
265         * AssemblyInfo.cs: Bump version number up (way up) lots of
266         features have been implemented since last version.
267                 
268 2003-05-19 Jackson Harper <jackson@latitudegeo.com>
269
270         * Driver.cs: Exit with 1 return code when no arguments are supplied.
271                 
272 2003-05-19 Jackson Harper <jackson@latitudegeo.com>
273
274         * Driver.cs: Add command switch to delete output files created if
275         there is an error. 
276                 
277 2003-05-19 Jackson Harper <jackson@latitudegeo.com>
278
279         * Driver.cs: Print error exception when compilation fails.
280                 
281 2003-05-18 Jackson Harper <jackson@latitudegeo.com>
282
283         * Driver.cs: Return an error code if any errors occur during
284         compiling. Also print a success or error message.
285                 
286 2003-05-02 Jackson Harper <jackson@latitudegeo.com>
287
288         * AssemblyInfo.cs: Bump up version number
289                 
290 2003-04-30 Jackson Harper <jackson@latitudegeo.com>
291
292         * makefile: Add instructions to build
293         * makefile.gnu: Add instructions to build
294         
295 2003-04-20 Jackson Harper <jackson@latitudegeo.com>
296
297         * makefile: Add DataDef to build
298         * makefile.gnu: Add DataDef to build
299                 
300 2003-04-17 Jackson Harper <jackson@latitudegeo.com>
301
302         * makefile: Add new types to build
303         * makefile.gnu: Add new types to build
304                 
305 2003-04-17 Jackson Harper <jackson@latitudegeo.com>
306
307         * AssemblyInfo.cs: Increase version number.
308                 
309 2003-04-17 Jackson Harper <jackson@latitudegeo.com>
310
311         * Driver.cs: Call new codegen methods.
312         * makefile: Add new types to build
313         * makefile.gnu: Add new types to build
314                 
315 2003-03-31 Jackson Harper <jackson@latitudegeo.com>
316
317         * Driver.cs: de-tabbify
318                 
319 2003-03-29 Jackson Harper <jackson@latitudegeo.com>
320
321         * Driver.cs: Add switch to display parser debugging information.
322                 
323 2003-03-16 Jackson Harper <jackson@latitudegeo.com>
324
325         * Driver.cs: Add switch to display method definitions and references.
326
327 2003-03-16 Jackson Harper <jackson@latitudegeo.com>
328
329         * Driver.cs: Add switch to display tokens as they are generated.
330
331 2003-03-15 Jackson Harper <jackson@latitudegeo.com>
332
333         * makefile, makefile.gnu: Add FieldTable to build
334         
335 Fri Mar 14 10:06:49 CET 2003 Paolo Molaro <lupus@ximian.com>
336
337         * codegen/InstrTable.cs: fix break instruction name.
338         * codegen/Method.cs: use ArgumentNullException.
339         * parser/ILParser.jay: handle stdcall convention.
340
341 2003-03-08 Jackson Harper <jackson@latitudegeo.com>
342
343         * makefile, makefile.gnu: Add InstrTable to build
344
345 2003-03-08 Jackson Harper <jackson@latitudegeo.com>
346
347         * makefile, makefile.gnu: Add MethodTable and TypeRef to build.
348
349 2003-03-08 Jackson Harper <jackson@latitudegeo.com>
350
351         * makefile, makefile.gnu: Add ExternTable to build
352
353 2003-03-08 Jackson Harper <jackson@latitudegeo.com>
354
355         * Driver.cs: If a file does not exist print an error and exit.
356
357 2003-03-07 Alp Toker <alp@atoker.com>
358
359         * makefile, makefile.gnu: reference PEAPI.dll instead of including
360         PEAPI.cs
361
362 2003-03-06 Jackson Harper <jackson@latitudegeo.com>
363
364         * AssemblyInfo.cs: Bump up version number, this new version is a major 
365         structural change, PEAPI is now being used for code emission.
366         * makefile, makefile.gnu: Add AssemblyInfo.cs to build
367         
368 2003-03-06 Jackson Harper <jackson@latitudegeo.com>
369
370         * Driver.cs: Check that all types are defined before writing pe file
371         
372 2003-03-06 Jackson Harper <jackson@latitudegeo.com>
373
374         * makefile, makefile.gnu: Include PEAPI.cs instead of linking to it, this fixes build but is not ideal.
375
376 2003-03-06 Jackson Harper <jackson@latitudegeo.com>
377
378         * Driver.cs: Change a few calls to match new CodeGen
379         * makefile: Build with PEAPI
380         * makefile.gnu: Build with PEAPI
381
382 2003-02-22 Jackson Harper <jackson@latitudegeo.com>
383
384         * Driver.cs: Add version option, fix bug that allowed -- switches to be invoked with /-
385
386 2003-02-21 Jackson Harper <jackson@latitudegeo.com>
387
388         * AssemblyInfo.cs: Add file
389         * makefile: Add AssemblyInfo to build
390         * makefile.gnu: Add AssemblyInfo to build
391
392 2003-02-08 Jackson Harper <jackson@latitudegeo.com>
393
394         * makefile: Add TypeManager.cs to build
395         * makefile.gnu: Add TypeManager.cs to build
396
397 2003-02-03 Jackson Harper <jackson@latitudegeo.com>
398
399         * Driver.cs: Remove some debugging info.
400
401 2003-02-02 Jackson Harper <jackson@latitudegeo.com>
402
403         * makefile.gnu: Use new Driver.cs instead of Main.cs
404
405 2003-02-02 Jackson Harper <jackson@latitudegeo.com>
406
407         * Driver.cs: Add new Driver
408         * tests: Add new tests directory
409         * makefile: Use new Driver.cs instead of Main.cs