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