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