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