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