* main.c: Spaces after visibility types.
[mono.git] / mono / dis / ChangeLog
1 2004-07-08  Jackson Harper  <jackson@ximian.com>
2
3         * main.c: Spaces after visibility types.
4         
5 2004-07-06  Jackson Harper  <jackson@ximian.com>
6
7         * get.c: Add float cast for outputing floats. Patch by Steve Brown.
8         
9 2004-06-25  Jackson Harper  <jackson@ximian.com>
10
11         * get.c: Add a few more keywords to be escaped.
12         * main.c: MS's ildasm writes '// end of class' not '// end of
13         type'. The python.net tool searches for this string.
14         
15 2004-06-24  David Waite  <mass@akuma.org>
16
17         * dump.c: change to C90-style comments from C99/C++-style
18         
19 2004-06-23  Raja R Harinath  <rharinath@novell.com>
20
21         * main.c (dis_event_signature): Decode and print event_flags.
22
23 2004-06-20  Jackson Harper  <jackson@ximian.com>
24
25         * dis-cil.c: Handle switch statements with no labels.
26         
27 2004-06-19  Jackson Harper  <jackson@ximian.com>
28
29         * dump.c/h: New function to dump the contents of the blob
30         stream. I found it useful for debugging so I will share.
31         * main.c: Add --blob switch to dump the blob stream.
32         * monodis.1: Document --blob
33         
34 2004-06-19  Jackson Harper  <jackson@ximian.com>
35
36         * get.c/h: New function to stringify function pointers.
37         
38 2004-06-19  Jackson Harper  <jackson@ximian.com>
39
40         * get.c: Fix name escaping so we dont escape everything in the
41         world anymore.
42         
43 2004-06-11  Martin Baulig  <martin@ximian.com>
44
45         * get.c (get_methodref_signature): Include "vararg " in the
46         signature of a varargs method.
47
48 2004-06-11  Martin Baulig  <martin@ximian.com>
49
50         * get.c (get_methodref_signature): If we're a varargs method,
51         print "..." for the sentinel followed by the actual types.
52
53 2004-06-08  Martin Baulig  <martin@ximian.com>
54
55         * dump.c (dump_table_memberref): Added support for MethodDef
56         parents.        
57
58 2004-05-06  Bernie Solomon  <bernard@ugsolutions.com>
59
60         * dump.c:
61         * get.c:
62         * main.c:
63         * util.c:
64         * util.h: rename map_t dis_map_t to avoid AIX symbol clash
65
66 2004-04-01  Martin Baulig  <martin@ximian.com>
67
68         * dump.c (dump_table_memberref): Added support for TypeDef's.
69
70 2004-03-29  Jackson Harper  <jackson@ximian.com>
71
72         * main.c: Handle pinvoke info where there is not an impl_map
73         entry.
74         
75 2004-03-27  Vladimir Vukicevic  <vladimir@pobox.com>
76
77        * get.c (get_constant): output bool consts as bool(true) or
78        bool(false)  (to be same as ildasm, also what mono and ms
79        ilasm expect)
80
81 2004-01-31  Martin Baulig  <martin@ximian.com>
82
83         * get.c (get_methodspec): It's a methoddef or ref token.
84
85 2004-01-26  Martin Baulig  <martin@ximian.com>
86
87         * main.cs (--show-tokens): New command line argument to show
88         type tokens in the disassembly.
89
90         * get.c (get_typedef, get_typespec, get_typeref): If
91         `show_tokens', include the token in the type name.
92         (get_type): Do some type parsing here and include the token in the
93         returned type name if requested.
94         (get_method): Include tokens if requested.
95
96 2004-01-17  Zoltan Varga  <vargaz@freemail.hu>
97
98         * main.c get.c: Add support for dumping the custom attributes of
99         modules.
100
101 2004-01-09  Jackson Harper  <jackson@ximian.com>
102
103         * monodis.1: Add --show-method-tokens switch
104         * get.c: When stringifying methods show the method token if the
105         show-method-tokens flag is set.
106         * get.h: Add show_method_tokens flag
107         * main.c: Add --show-method-tokens switch
108         
109 2004-01-09  Jackson Harper  <jackson@ximian.com>
110
111         * monodis.1: Add typespec switch
112         
113 2004-01-08  Jackson Harper  <jackson@ximian.com>
114
115         * main.c: Add switch to dump typespec table.
116         * dump.c/dump.h: Add function for dumping typespec table.
117         
118 2003-12-19  Zoltan Varga  <vargaz@freemail.hu>
119
120         * dump.c (dump_table_exported): Fix output.
121
122 2003-12-08  Jackson Harper <jackson@ximian.com>
123
124         * main.cs: escape module names.
125         
126 2003-12-03  Zoltan Varga  <vargaz@freemail.hu>
127
128         * main.c (dis_field_list): Update after changes to 
129         mono_metadata_get_constant_index ().
130
131 2003-11-26  Zoltan Varga  <vargaz@freemail.hu>
132
133         * dump.c dump.h main.c: Added support for dumping the ImplMap table
134         (--implmap).
135
136         * main.c (dis_method_list): Avoid disassembling native code.
137
138 2003-11-19  Zoltan Varga  <vargaz@freemail.hu>
139
140         * get.c (dis_stringify_modifiers): Fix display of modreq and modopt.
141
142 Thu Nov 13 16:12:09 CET 2003 Paolo Molaro <lupus@ximian.com>
143
144         * util.h, dump.c: get rid of ugly CSIZE macro.
145
146 2003-11-01  Zoltan Varga  <vargaz@freemail.hu>
147
148         * main.c: Add disassembly of module, moduleref and file tables.
149
150         * get.h get.c: Add support for modulerefs.
151
152         * dump.c: Avoid crash on empty assembly table.
153
154 2003-10-22 Jackson Harper <jackson@ximian.com>
155
156         * main.c: Use escaped names for method, and type names. Initialize
157         the name table.
158         * main.c (visibility_map): Fix typo, should be nested family not
159         family
160         * main.c (dis_data): Use uppercase hex to avoid name conflicts.
161         * get.c/get.h: New method to get an escaped name. This method will
162         take a name and escape it if it is an ilasm keyword, or uses a non
163         id char. Use escaped names for type, method, field, and parameter names.
164         * get.c (get_typespec): A typespec can be used for anything, so we
165         need to handle all types not just modified types.
166         * get.c (dis_stringify_object_with_class): Handle nested classes
167         * get.c (get_token): Add field keyword to field tokens.
168         
169 2003-10-21 Jackson Harper <jackson@ximian.com>
170
171         * get.c (get_fieldref_signature): Use MONO_MEMBERREF_SIGNATURE in
172         the member ref table.
173         
174 2003-10-21  Martin Baulig  <martin@ximian.com>
175
176         * get.c (get_typespec): Add MONO_TYPE_VAR and MONO_TYPE_MVAR.
177
178 2003-10-18 Jackson Harper <jackson@ximian.com>
179
180         * dis-cil.c (get_encoded_user_string): use g_strescape instead of
181         escaping manually.
182         * util.c (hex_dump): Use uppercase hex so there are no conflicts
183         with ilasm keywords ie cf
184         
185 2003-10-17 Jackson Harper <jackson@ximian.com>
186
187         * dis-cil.c (get_encoded_user_string): Escape user strings when
188         loading. ie ""quote"" should be "\"quote\"".
189         * dis-cil.c (dissasemble_cil): Write SEH debug info into a comment
190         block. Combine SEH blocks that have the same offset and length,
191         this prevents creating invalid SEH blocks. 
192         
193 2003-10-15  Zoltan Varga  <vargaz@freemail.hu>
194
195         * get.c (get_ret_type): Remove needless warning message.
196
197 2003-10-13 Jackson Harper <jackson@ximian.com>
198
199         * get.c: stringify nested types properly ie Outer/Inner.
200         
201 2003-10-10 Jackson Harper <jackson@ximian.com>
202
203         * dump.c: When dumping methodspecs dump the full methodspec with
204         signature, and dump the signature.
205         
206 2003-10-10 Jackson Harper <jackson@ximian.com>
207
208         * get.c/get.h: Add methods to get stringified methodspecs and
209         method type parameters. 
210         
211 2003-10-09 Jackson Harper <jackson@ximian.com>
212
213         * main.c/get.c: Remove magic numbers, use constants.
214         
215 2003-10-08 Jackson Harper <jackson@ximian.com>
216
217         * main.c (dis_genericparam): renamed to
218         dis_generic_param_and_constraints, allow a table type to be passed
219         to the method so this could be used with generic methods (It is
220         not though).
221         * get.c/get.h (get_generic_param): method to stringify generic
222         type and method parameters.
223         * get.c (dis_stringify_method_signature): Add generic parameters.
224         
225 2003-10-08 Jackson Harper <jackson@ximian.com>
226
227         * main.c (dis_type): NULL cnst_block so we dont explode on
228         interfaces.
229         * main.c (dis_genericparam): oops, fix off-by-one error.
230         
231 2003-10-08 Jackson Harper <jackson@ximian.com>
232
233         * get.c/get.h add method to get a methoddef from an index, simplify
234         get_typd_or_methdef, use new get_methoddef to get the method
235         because we have a method index not a method token.
236         
237 2003-10-07 Jackson Harper <jackson@ximian.com>
238
239         * main.c: When dis. generic parameters the TypeOrMethodDef token
240         only needs to be shifted 1 bit. Added dis of generic constraints.
241         * get.c/get.h: New method for getting a TypeOrMethodDef token
242         * dump.c: When dumping generic parameters and generic constraints
243         output readable names instead of just tokens.
244         
245 2003-10-01 Jackson Harper <jackson@latitudegeo.com>
246         
247         * main.c: Fix visibility level names, when outputing pinvoke info
248         quote the module and method names, properties have specialname,
249         and rtspecialname flags (nothing else), dis global methods and
250         fields FIXME: indentation issues.
251         * get.h: declare get_fieldref_signature
252         * get.c: Fix unsigned ints (not uint), single quote argument names
253         (this is kinda a hack, ildasm will only single quote arg names
254         that are ilasm keywords), remove fixme, we know what typedbyref
255         means, output fieldref signatures instead of their token value.
256         
257 2003-09-19 Jackson Harper <jackson@latitudegeo.com>
258
259         * dis-cil.c: Output fault blocks, and filter blocks. If in a
260         filter block outptut 0xDC as endfilter if in a fault output as
261         endfault.
262         
263 2003-08-22  Zoltan Varga  <vargaz@freemail.hu>
264
265         * main.c (dis_event_list): Same for event methods.
266
267         * get.c (dis_stringify_method_signature): New argument specifying
268         whenever to return a fully qualified method name.
269         * dump.c main.c: Updated to work with the new function.
270
271         * main.c (dis_property_methods): Print fully qualified method names 
272         for property methods. Fixes #46221.
273
274 2003-07-22 Jackson Harper <jackson@latitudegeo.com>
275
276         * main.c: Dissasemble generic type parameters for type
277         definitions. TODO: Sort type parameters by index, and
278         auto-generate names for parameters that have no name.
279         
280 Fri Jul 18 13:12:38 CEST 2003 Paolo Molaro <lupus@ximian.com>
281
282         * get.c: updates for array type representation changes.
283
284 2003-06-16 Jackson Harper <jackson@latitudegeo.com>
285
286         * get.c: Fix modopt and modreq
287                 
288 Thu May 29 12:21:47 CEST 2003 Paolo Molaro <lupus@ximian.com>
289
290         * dump.c, get.c: misc fixes.
291
292 Wed May 7 16:50:00 CEST 2003 Paolo Molaro <lupus@ximian.com>
293
294         * main.c: output custom attributes for method parameters.
295
296 Wed May 7 16:24:43 CEST 2003 Paolo Molaro <lupus@ximian.com>
297
298         * main.c: output nested types inside their nesting class.
299
300 2003-04-12  Zoltan Varga  <vargaz@freemail.hu>
301
302         * get.c (dis_stringify_modifiers): Print a space between custom modifers.
303         * get.c (get_custom_mod): Handle multiple custom modifiers aka bug #30812.
304         * main.c: Print klass name at the end of each method to make it easier
305         to find a given method.
306
307 2003-03-31  Miguel de Icaza  <miguel@ximian.com>
308
309         * main.c: Sorted command line options table by name.
310
311         * dump.c: Add support for dumping the new generic tables. 
312
313         * monodis.1: Update man page.
314         
315 2003-03-09 Jackson Harper <jackson@latitudegeo.com>
316
317         * main.c: Ouput implements clause as a comma seperated list.
318
319 Thu Feb  6 02:43:23 PST 2003 Piers Haken <piersh@friskit.com>
320
321         * dump.c: more warning cleanups
322
323 Mon Jan 27 17:16:50 CET 2003 Paolo Molaro <lupus@ximian.com>
324
325         * get.c: decode also the size info in get_marshal_info()
326         for ByValStr and ByValArray.
327
328 Tue Sep 24 11:48:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
329
330         * main.c: use mono_type_size () to get the size of
331         a blob of data for a type (Zoltan Varga spotted the bug).
332
333 2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
334
335         * get.c: closes bug #30814. Thanks to Zoltan Varga.
336
337 Mon Sep 16 18:49:55 CEST 2002 Paolo Molaro <lupus@ximian.com>
338
339         * main.c, get.c, dump.c: updates for changes in libmetadata.
340
341 Fri Sep 13 15:39:41 CEST 2002 Paolo Molaro <lupus@ximian.com>
342
343         * main.c: dump public key.
344         * get.c, util.h, util.c: prettyfy data dumps.
345
346 2002-08-28  Dick Porter  <dick@ximian.com>
347
348         * Makefile.am: Export HOST_CC for w32 builds
349
350 Tue Aug 6 12:40:09 CEST 2002 Paolo Molaro <lupus@ximian.com>
351
352         * main.c: use mono_image_get_entry_point ().
353
354 Fri Jul 26 11:41:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
355
356         * main.c, dump.h, dump.c: output hash value in File table.
357         Add dumper function for DeclSecurity table.
358
359 Fri Jul 19 14:20:10 CEST 2002 Paolo Molaro <lupus@ximian.com>
360
361         * main.c: handle null parent.
362
363 2002-07-02  Martin Baulig  <martin@gnome.org>
364
365         * get.c (dis_stringify_object_with_class): New static function to
366         stringify an object when we already have its class.
367         (dis_stringify_object): Get the class and call dis_stringify_object().
368         (get_method): Call dis_stringify_object_with_class() since we already
369         have the object's class.
370
371 Thu Jun 20 11:50:38 CEST 2002 Paolo Molaro <lupus@ximian.com>
372
373         * main.c, dump.c, dump.h: code to dump the MethodImpl table.
374
375 Mon Jun 17 17:31:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
376
377         * get.h, get.c: get_marshal_info() to get a marshal descriptor.
378         * main.c, dump.h, dump.c: added code to dump the FieldMarshl table.
379
380 Tue Jun 11 14:11:12 CEST 2002 Paolo Molaro <lupus@ximian.com>
381
382         * get.c: handle modulerefs.
383         * main.c: fix --mscorlib argument handling.
384
385 Fri Jun 7 19:39:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
386
387         * get.c: handle typerefs of nested types. Don't print "."
388         with an empty namespace.
389
390 Sat Jun 1 13:57:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
391
392         * main.c: print byte values correctly.
393
394 2002-05-20  Martin Baulig  <martin@gnome.org>
395
396         * main.c: Added `--output=FILENAME' command line option.
397
398         * monodis.1: Documented it here.
399
400 Thu May 16 17:21:07 CEST 2002 Paolo Molaro <lupus@ximian.com>
401
402         * main.c, dump,c, get.h, get.c: diassemble custom attributes.
403
404 Wed May 15 16:02:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
405
406         * main.c: output field RVA data.
407
408 Fri May 10 21:00:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
409
410         * main.c: print field offset info if needed.
411
412 Wed May 1 17:07:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
413
414         * dump.c, dump.h, main.c: dump ExportedTypes table.
415         * get.c: fix get_module (), remove magic numbers.
416         * monodis.1: update manpage (hi miguel!:)
417
418 Mon Apr 29 12:12:35 CEST 2002 Paolo Molaro <lupus@ximian.com>
419
420         * dump.c, dump.h, main.c: support for dumping the manifest resource table.
421
422 Mon Apr 15 11:35:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
423
424         * dump.c, dump.h, get.c, get.h, main.c: support for dumping the
425         module table and guid values.
426
427 Mon Apr 8 17:15:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
428
429         * main.c: removed unneeded runtime invoke support.
430
431 Thu Mar 28 16:52:11 CET 2002 Paolo Molaro <lupus@ximian.com>
432
433         * dis-cil.c, dump.c, get.c, main.c, util.h: spring warning cleanup.
434
435 Thu Mar 28 11:29:58 CET 2002 Paolo Molaro <lupus@ximian.com>
436
437         * util.c: when an invalid flags combination is seen,
438         return the string "invalid-flags", so disassembly can continue.
439
440 Tue Mar 19 18:15:29 CET 2002 Paolo Molaro <lupus@ximian.com>
441
442         * dis-cil.c: use unsigned for variables.
443
444 Sat Mar 16 19:13:57 CET 2002 Paolo Molaro <lupus@ximian.com>
445
446         * dump.c: handle TypeSpec token in memberref table dump.
447
448 2002-03-08  Nick Drochak  <ndrochak@gol.com>
449
450         * monodis.1: Add info about new parameter
451         * main.c: Add flag to remember if user wants to us mscorlib for
452         non-corilb assembly names
453         * get.c(get_typedef): use mscorlib for assembly name only
454         if user specifies it with a command line parameter. Default
455         behavior is now to use actual assembly name.
456  
457 Tue Mar 5 18:11:01 CET 2002 Paolo Molaro <lupus@ximian.com>
458
459         * dump.c: print index of the methodsemantics table.
460         * main.cs: print event information.
461
462 Wed Feb 20 22:10:48 CET 2002 Paolo Molaro <lupus@ximian.com>
463
464         * dump.c: fix the fix and more complete custom attribute decoder.
465
466 Tue Feb 19 20:20:15 CET 2002 Paolo Molaro <lupus@ximian.com>
467
468         * dump.c: the prolog is before each arg in the custom attribute blob.
469
470 Mon Feb 18 15:48:38 CET 2002 Paolo Molaro <lupus@ximian.com>
471
472         * get.c: include last param.
473
474 Thu Feb 14 18:59:37 CET 2002 Paolo Molaro <lupus@ximian.com>
475
476         * main.c: output pack and size info if needed.
477
478 2002-02-13  Dietmar Maurer  <dietmar@ximian.com>
479
480         * *.c: s/MonoMetadata/MonoImage/ 
481
482 Tue Feb 12 14:33:53 CET 2002 Paolo Molaro <lupus@ximian.com>
483
484         * dump.c: make all the indexes printed starting from 1.
485
486 Fri Feb 8 19:28:31 CET 2002 Paolo Molaro <lupus@ximian.com>
487
488         * get.c: don't abort if a methodref is not found, usa alternative way
489         to get the method name.
490
491 Fri Feb 8 12:29:41 CET 2002 Paolo Molaro <lupus@ximian.com>
492
493         * Makefile.am: correct linking order.
494         * dis-cil.c: use opcode info from opcodes.h instead of a copy of the data.
495
496 Thu Jan 31 18:21:12 CET 2002 Paolo Molaro <lupus@ximian.com>
497
498         * dis-cil.c: reverse order when outputting start try blocks.
499
500 Mon Jan 14 17:00:23 CET 2002 Paolo Molaro <lupus@ximian.com>
501
502         * dump.c: more info in method table dump.
503
504 Mon Dec 24 17:24:13 CET 2001 Paolo Molaro <lupus@ximian.com>
505
506         * main.c, dump.h, dump.c: add dump_table_nestedclass().
507         * dis-cil.c: output int64 as hex.
508
509 Tue Dec 18 18:48:00 CET 2001 Paolo Molaro <lupus@ximian.com>
510
511         * main.c: use mono_metadata_methods_from_property() and
512         mono_metadata_properties_from_typedef() from metadata instead of
513         custom code.
514
515 Tue Nov 27 16:31:52 CET 2001 Paolo Molaro <lupus@ximian.com>
516
517         * main.c: output a marker for method (used in debug support).
518
519 Mon Nov 19 11:32:28 CET 2001 Paolo Molaro <lupus@ximian.com>
520
521         * main.c: remove arch_create_jit_trampoline().
522
523 Thu Nov 15 17:42:03 CET 2001 Paolo Molaro <lupus@ximian.com>
524
525         * dump.c: decode more info in the constant table.
526         * get.c: show literals the same way ildasm does.
527         * main.c: decode literal values for fields.
528
529 Fri Nov 2 19:04:21 CET 2001 Paolo Molaro <lupus@ximian.com>
530
531         * main.c, dump, dump.c: decode the customattr table.
532         * dump.c: handle also field signature when dumping the memberref
533         table.
534
535 2001-11-07  Miguel de Icaza  <miguel@ximian.com>
536
537         * main.c (dis_property_methods): Added missing colon which avoided
538         setting loc.t
539
540 2001-10-10  Dietmar Maurer  <dietmar@ximian.com>
541
542         * main.c (arch_compile_method):  added to compute vtable entry
543
544 Mon Oct 8 16:13:55 CEST 2001 Paolo Molaro <lupus@ximian.com>
545
546         * get.c, get.h: MonoArray changed in MonoArrayType.
547         * main.c: guard against calling bsearch with a NULL pointer
548         (pointed out by Laurent Rioux, smoux).
549
550 Thu Oct 4 19:05:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
551
552         * dis-cil.c: fix printing of exception stuff.
553         * dump.c: display some more info in the typedef table dump.
554         * main.c: typo fix and method list fix.
555
556 2001-10-04  Dick Porter  <dick@ximian.com>
557
558         * meta.h: include mono-endian.h not endian.h
559
560 2001-10-02  Dietmar Maurer  <dietmar@ximian.com>
561
562         * get.c (get_method): always write namespace and class name.
563
564 2001-09-06  Miguel de Icaza  <miguel@ximian.com>
565
566         * monodis.1: Update man page.
567
568 Tue Aug 28 15:54:45 CEST 2001 Paolo Molaro <lupus@ximian.com>
569
570         * main.c, dump.c, dump.h, get.c: added dump_table_interfaceimpl ().
571         Output info about interfaces when disassembling a type. Many small
572         changes to make the output correct assembler.
573
574 Mon Aug 27 20:13:49 CEST 2001 Paolo Molaro <lupus@ximian.com>
575
576         * dis-cil.c, get.c: some endian fixes.
577         * main.c: colon-separate version numbers. Print also namespace
578         when outputting class information.
579
580 Fri Aug 24 16:10:12 CEST 2001 Paolo Molaro <lupus@ximian.com>
581
582         * get.c, main.c, get.h: updates for MonoParam merge in MonoType.
583
584 2001-08-24  Dietmar Maurer  <dietmar@ximian.com>
585
586         * main.c (disassemble_file): use assembly_open instead of image_open
587
588 Wed Aug 22 16:22:22 CEST 2001 Paolo Molaro <lupus@ximian.com>
589
590         * dis-cil.c: add a newline after branch instructions. Move
591         end of exception handler code at the end.
592
593 Tue Aug 21 18:51:05 CEST 2001 Paolo Molaro <lupus@ximian.com>
594
595         * dis-cil.c: correctly print the label for multi-byte opcodes.
596
597 Mon Aug 20 19:33:34 CEST 2001 Paolo Molaro <lupus@ximian.com>
598
599         * util.c: add a space when decoding multiple flags.
600         * dump.c, dump.h, main.c: decode the property map and
601         methodsemantics tables. Disassemble property information
602         to .property IL directives.
603         * get.c: allow passing a NULL as method in dis_stringify_method ()
604         if a methoddef_row is given.
605         
606 2001-08-20  Dietmar Maurer  <dietmar@ximian.com>
607
608         * get.c (dis_stringify_type): support pinned values
609
610 Sat Aug 18 11:24:07 CEST 2001 Paolo Molaro <lupus@ximian.com>
611
612         * dump.c, get.c, get.h, main.c: dis_stringify_method_signature()
613         gets an optional methodef_row index instead of a name, so it
614         can figure out also the names and attributes of params.
615         parse_method_signature() and free_method_signature() removed as
616         they are useless now.
617
618 2001-08-17  Dietmar Maurer  <dietmar@ximian.com>
619
620         * main.c (pinvoke_info): bug fix - use the right column in the table
621
622 2001-08-14  Dietmar Maurer  <dietmar@ximian.com>
623
624         * get.c (dis_stringify_type): use strconcat instead of strjoin
625
626 Sat Aug 4 12:36:54 CEST 2001 Paolo Molaro <lupus@ximian.com>
627
628         * get.c, get.h, main.c, dump.c: implement dis_stringify_method_signature().
629         More magic constants replaced by enum values (spotted at least 3 real bugs
630         doing this). Print usage information if an unknown option is given.
631         Print the full signature when dumping the method table.
632         Changed method and field table dumps to show the typedef name the field
633         or method belongs to.
634
635 Fri Aug 3 18:30:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
636
637         * get.c (get_method): fix use of unitialized variable and
638         remove magic constants all over the place.
639
640 Wed Aug 1 22:46:45 CEST 2001 Paolo Molaro <lupus@ximian.com>
641
642         * dis-cil.c: properly decode the switch opcode.
643         
644 2001-08-01  Dietmar Maurer  <dietmar@ximian.com>
645
646         * get.c (get_token): decode typedef and typeref tokens
647
648         * main.c (dis_method_list): don't decode the next row, that is
649         totally unnecessary
650
651 Tue Jul 31 17:48:11 CEST 2001 Paolo Molaro <lupus@ximian.com>
652
653         * dis-cil.c, dis-cil.h, dump.c, dump.h, get.c, get.h, main.c, push-pop.h:
654         massive namespace cleanup.
655         * main.c: dis_locals() now just strigifies a MonoMethodHeader.
656
657 2001-07-31  Dietmar Maurer  <dietmar@ximian.com>
658
659         * main.c (pinvoke_flags): impl.
660
661 Mon Jul 30 20:08:37 CEST 2001 Paolo Molaro <lupus@ximian.com>
662
663         * dis-cil.c, dis-cil.h, main.c: changes to disassemble also
664         the information about try/catch/finally blocks.
665
666 2001-07-27  Dietmar Maurer  <dietmar@ximian.com>
667
668         * get.c (dis_stringify_type): return "void" if !type
669         (dis_stringify_type): print type* instead of *type
670
671 Thu Jul 26 13:22:28 CEST 2001 Paolo Molaro <lupus@ximian.com>
672
673         * dis-cil.c, dump.c, get.c, main.c: updates to match changes in metadata.
674         Removed dead code.
675
676 2001-07-17  Miguel de Icaza  <miguel@ximian.com>
677
678         * main.c (usage): Print out all the arguments.
679
680         * get.c, main.c, dump.c: Remove `expand', `get_encoded_value',
681         `get_blob_encoded_size' and replaced with the proper functions
682         from metadata.c
683
684 2001-07-15  Miguel de Icaza  <miguel@ximian.com>
685
686         * main.c (dis_code): Only display .entrypoint when we are dealing
687         with a module that contains an entry point.  This removes a bunch
688         of warnings for .dll dumping
689
690 Sun Jul 15 17:29:10 CEST 2001 Paolo Molaro <lupus@ximian.com>
691
692         * get.h,get.c: added some dis_stringify_object() functions:
693         metadata decoding is now done in libmetadata. Still need to use
694         them throughhout the code (and move other decode code to
695         metadata). Fix also field decoding (band-aid until we load
696         also referenced assemblies).
697         * dis/main.c: start using the new routines.
698
699 2001-07-13  Miguel de Icaza  <miguel@ximian.com>
700
701         * get.c (get_method): GOOD. Implemented this other bad boy.
702
703 2001-07-12  Miguel de Icaza  <miguel@ximian.com>
704
705         * get.c (get_token_type): Implement TOKEN_TYPE_TYPE_SPEC.
706         (get_typespec): Implement.
707         (get_typedef_or_ref): Use get_typespec.
708
709         * dis-cil.c (dissasemble_cil): Implement InlineField
710         (dissasemble_cil): Implement InlineTok.
711
712         * get.c (get_token, get_field): Implemented.  Worked around lame
713         tables in the spec.
714
715 Wed Jul 11 18:52:15 CEST 2001 Paolo Molaro <lupus@ximian.com>
716
717         * dis-cil.c: output real name of local var.
718         * dump.c: output more info about fields (flags and type). Properly decode
719         Property signatures. Decode also method table.
720         * main.c: Fix local variable info. Hopefully fix field and property list.
721
722 Mon Jul  9 16:39:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
723
724         * dump.c: write stuff to output, not stderr. Give more info for properties.
725         * dump.c,dump.h,main.c: implement dump_table_event(), dump_table_file(),
726         dump_table_moduleref().
727         * get.c: first attempt to decode string constants, need to find if and where
728         this is actually specified.
729
730 Fri Jul  6 19:49:21 CEST 2001 Paolo Molaro <lupus@ximian.com>
731
732         * dump.c,dump.h: implement dump_table_property().
733         * main.c: implement local variable info disassembling.
734         Annotate entrypoint method. Remove memory leak in 
735         parse_method_signature ().
736
737 2001-07-04  Miguel de Icaza  <miguel@ximian.com>
738         
739         * get.c (get_methodref_signature): Implement.
740
741         * dump.c (dump_table_memberref): Add memberref dumping.
742
743 Tue,  3 Jul 2001 18:32:10 +0200 Paolo Molaro <lupus@ximian.com>
744
745         * main.c: return on failure.
746
747 2001-07-02  Miguel de Icaza  <miguel@ximian.com>
748
749         * dis-cil.c (get_encoded_user_string): Return a string from the
750         #US heap. o
751
752         * get.c (get_blob_encoded_size): Implement 23.1.4 decoding.
753
754 2001-07-01  Miguel de Icaza  <miguel@ximian.com>
755
756         * dis-cil.c: New file.  CIL opcode dissasembler.
757
758 2001-06-27  Miguel de Icaza  <miguel@ximian.com>
759
760         * main.c: Split code.
761
762 2001-06-22  Miguel de Icaza  <miguel@ximian.com>
763
764         * main.c: More work on the disassembler and on the understanding
765         of the metadata file format.   
766