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