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