* get.c: Add float cast for outputing floats. Patch by Steve
[mono.git] / mono / dis / ChangeLog
index ef4e3c06bb9ea5181d3540233748092269b321a7..b1e664f3cb5a49ae8ab73f0d9ee973c62a48a9a2 100644 (file)
@@ -1,3 +1,338 @@
+2004-07-06  Jackson Harper  <jackson@ximian.com>
+
+       * get.c: Add float cast for outputing floats. Patch by Steve Brown.
+       
+2004-06-25  Jackson Harper  <jackson@ximian.com>
+
+       * get.c: Add a few more keywords to be escaped.
+       * main.c: MS's ildasm writes '// end of class' not '// end of
+       type'. The python.net tool searches for this string.
+       
+2004-06-24  David Waite  <mass@akuma.org>
+
+       * dump.c: change to C90-style comments from C99/C++-style
+       
+2004-06-23  Raja R Harinath  <rharinath@novell.com>
+
+       * main.c (dis_event_signature): Decode and print event_flags.
+
+2004-06-20  Jackson Harper  <jackson@ximian.com>
+
+       * dis-cil.c: Handle switch statements with no labels.
+       
+2004-06-19  Jackson Harper  <jackson@ximian.com>
+
+       * dump.c/h: New function to dump the contents of the blob
+       stream. I found it useful for debugging so I will share.
+       * main.c: Add --blob switch to dump the blob stream.
+       * monodis.1: Document --blob
+       
+2004-06-19  Jackson Harper  <jackson@ximian.com>
+
+       * get.c/h: New function to stringify function pointers.
+       
+2004-06-19  Jackson Harper  <jackson@ximian.com>
+
+       * get.c: Fix name escaping so we dont escape everything in the
+       world anymore.
+       
+2004-06-11  Martin Baulig  <martin@ximian.com>
+
+       * get.c (get_methodref_signature): Include "vararg " in the
+       signature of a varargs method.
+
+2004-06-11  Martin Baulig  <martin@ximian.com>
+
+       * get.c (get_methodref_signature): If we're a varargs method,
+       print "..." for the sentinel followed by the actual types.
+
+2004-06-08  Martin Baulig  <martin@ximian.com>
+
+       * dump.c (dump_table_memberref): Added support for MethodDef
+       parents.        
+
+2004-05-06  Bernie Solomon  <bernard@ugsolutions.com>
+
+       * dump.c:
+       * get.c:
+       * main.c:
+       * util.c:
+       * util.h: rename map_t dis_map_t to avoid AIX symbol clash
+
+2004-04-01  Martin Baulig  <martin@ximian.com>
+
+       * dump.c (dump_table_memberref): Added support for TypeDef's.
+
+2004-03-29  Jackson Harper  <jackson@ximian.com>
+
+       * main.c: Handle pinvoke info where there is not an impl_map
+       entry.
+       
+2004-03-27  Vladimir Vukicevic  <vladimir@pobox.com>
+
+       * get.c (get_constant): output bool consts as bool(true) or
+       bool(false)  (to be same as ildasm, also what mono and ms
+       ilasm expect)
+
+2004-01-31  Martin Baulig  <martin@ximian.com>
+
+       * get.c (get_methodspec): It's a methoddef or ref token.
+
+2004-01-26  Martin Baulig  <martin@ximian.com>
+
+       * main.cs (--show-tokens): New command line argument to show
+       type tokens in the disassembly.
+
+       * get.c (get_typedef, get_typespec, get_typeref): If
+       `show_tokens', include the token in the type name.
+       (get_type): Do some type parsing here and include the token in the
+       returned type name if requested.
+       (get_method): Include tokens if requested.
+
+2004-01-17  Zoltan Varga  <vargaz@freemail.hu>
+
+       * main.c get.c: Add support for dumping the custom attributes of
+       modules.
+
+2004-01-09  Jackson Harper  <jackson@ximian.com>
+
+       * monodis.1: Add --show-method-tokens switch
+       * get.c: When stringifying methods show the method token if the
+       show-method-tokens flag is set.
+       * get.h: Add show_method_tokens flag
+       * main.c: Add --show-method-tokens switch
+       
+2004-01-09  Jackson Harper  <jackson@ximian.com>
+
+       * monodis.1: Add typespec switch
+       
+2004-01-08  Jackson Harper  <jackson@ximian.com>
+
+       * main.c: Add switch to dump typespec table.
+       * dump.c/dump.h: Add function for dumping typespec table.
+       
+2003-12-19  Zoltan Varga  <vargaz@freemail.hu>
+
+       * dump.c (dump_table_exported): Fix output.
+
+2003-12-08  Jackson Harper <jackson@ximian.com>
+
+       * main.cs: escape module names.
+       
+2003-12-03  Zoltan Varga  <vargaz@freemail.hu>
+
+       * main.c (dis_field_list): Update after changes to 
+       mono_metadata_get_constant_index ().
+
+2003-11-26  Zoltan Varga  <vargaz@freemail.hu>
+
+       * dump.c dump.h main.c: Added support for dumping the ImplMap table
+       (--implmap).
+
+       * main.c (dis_method_list): Avoid disassembling native code.
+
+2003-11-19  Zoltan Varga  <vargaz@freemail.hu>
+
+       * get.c (dis_stringify_modifiers): Fix display of modreq and modopt.
+
+Thu Nov 13 16:12:09 CET 2003 Paolo Molaro <lupus@ximian.com>
+
+       * util.h, dump.c: get rid of ugly CSIZE macro.
+
+2003-11-01  Zoltan Varga  <vargaz@freemail.hu>
+
+       * main.c: Add disassembly of module, moduleref and file tables.
+
+       * get.h get.c: Add support for modulerefs.
+
+       * dump.c: Avoid crash on empty assembly table.
+
+2003-10-22 Jackson Harper <jackson@ximian.com>
+
+       * main.c: Use escaped names for method, and type names. Initialize
+       the name table.
+       * main.c (visibility_map): Fix typo, should be nested family not
+       family
+       * main.c (dis_data): Use uppercase hex to avoid name conflicts.
+       * get.c/get.h: New method to get an escaped name. This method will
+       take a name and escape it if it is an ilasm keyword, or uses a non
+       id char. Use escaped names for type, method, field, and parameter names.
+       * get.c (get_typespec): A typespec can be used for anything, so we
+       need to handle all types not just modified types.
+       * get.c (dis_stringify_object_with_class): Handle nested classes
+       * get.c (get_token): Add field keyword to field tokens.
+       
+2003-10-21 Jackson Harper <jackson@ximian.com>
+
+       * get.c (get_fieldref_signature): Use MONO_MEMBERREF_SIGNATURE in
+       the member ref table.
+       
+2003-10-21  Martin Baulig  <martin@ximian.com>
+
+       * get.c (get_typespec): Add MONO_TYPE_VAR and MONO_TYPE_MVAR.
+
+2003-10-18 Jackson Harper <jackson@ximian.com>
+
+       * dis-cil.c (get_encoded_user_string): use g_strescape instead of
+       escaping manually.
+       * util.c (hex_dump): Use uppercase hex so there are no conflicts
+       with ilasm keywords ie cf
+       
+2003-10-17 Jackson Harper <jackson@ximian.com>
+
+       * dis-cil.c (get_encoded_user_string): Escape user strings when
+       loading. ie ""quote"" should be "\"quote\"".
+       * dis-cil.c (dissasemble_cil): Write SEH debug info into a comment
+       block. Combine SEH blocks that have the same offset and length,
+       this prevents creating invalid SEH blocks. 
+       
+2003-10-15  Zoltan Varga  <vargaz@freemail.hu>
+
+       * get.c (get_ret_type): Remove needless warning message.
+
+2003-10-13 Jackson Harper <jackson@ximian.com>
+
+       * get.c: stringify nested types properly ie Outer/Inner.
+       
+2003-10-10 Jackson Harper <jackson@ximian.com>
+
+       * dump.c: When dumping methodspecs dump the full methodspec with
+       signature, and dump the signature.
+       
+2003-10-10 Jackson Harper <jackson@ximian.com>
+
+       * get.c/get.h: Add methods to get stringified methodspecs and
+       method type parameters. 
+       
+2003-10-09 Jackson Harper <jackson@ximian.com>
+
+       * main.c/get.c: Remove magic numbers, use constants.
+       
+2003-10-08 Jackson Harper <jackson@ximian.com>
+
+       * main.c (dis_genericparam): renamed to
+       dis_generic_param_and_constraints, allow a table type to be passed
+       to the method so this could be used with generic methods (It is
+       not though).
+       * get.c/get.h (get_generic_param): method to stringify generic
+       type and method parameters.
+       * get.c (dis_stringify_method_signature): Add generic parameters.
+       
+2003-10-08 Jackson Harper <jackson@ximian.com>
+
+       * main.c (dis_type): NULL cnst_block so we dont explode on
+       interfaces.
+       * main.c (dis_genericparam): oops, fix off-by-one error.
+       
+2003-10-08 Jackson Harper <jackson@ximian.com>
+
+       * get.c/get.h add method to get a methoddef from an index, simplify
+       get_typd_or_methdef, use new get_methoddef to get the method
+       because we have a method index not a method token.
+       
+2003-10-07 Jackson Harper <jackson@ximian.com>
+
+       * main.c: When dis. generic parameters the TypeOrMethodDef token
+       only needs to be shifted 1 bit. Added dis of generic constraints.
+       * get.c/get.h: New method for getting a TypeOrMethodDef token
+       * dump.c: When dumping generic parameters and generic constraints
+       output readable names instead of just tokens.
+       
+2003-10-01 Jackson Harper <jackson@latitudegeo.com>
+       
+       * main.c: Fix visibility level names, when outputing pinvoke info
+       quote the module and method names, properties have specialname,
+       and rtspecialname flags (nothing else), dis global methods and
+       fields FIXME: indentation issues.
+       * get.h: declare get_fieldref_signature
+       * get.c: Fix unsigned ints (not uint), single quote argument names
+       (this is kinda a hack, ildasm will only single quote arg names
+       that are ilasm keywords), remove fixme, we know what typedbyref
+       means, output fieldref signatures instead of their token value.
+       
+2003-09-19 Jackson Harper <jackson@latitudegeo.com>
+
+       * dis-cil.c: Output fault blocks, and filter blocks. If in a
+       filter block outptut 0xDC as endfilter if in a fault output as
+       endfault.
+       
+2003-08-22  Zoltan Varga  <vargaz@freemail.hu>
+
+       * main.c (dis_event_list): Same for event methods.
+
+       * get.c (dis_stringify_method_signature): New argument specifying
+       whenever to return a fully qualified method name.
+       * dump.c main.c: Updated to work with the new function.
+
+       * main.c (dis_property_methods): Print fully qualified method names 
+       for property methods. Fixes #46221.
+
+2003-07-22 Jackson Harper <jackson@latitudegeo.com>
+
+       * main.c: Dissasemble generic type parameters for type
+       definitions. TODO: Sort type parameters by index, and
+       auto-generate names for parameters that have no name.
+       
+Fri Jul 18 13:12:38 CEST 2003 Paolo Molaro <lupus@ximian.com>
+
+       * get.c: updates for array type representation changes.
+
+2003-06-16 Jackson Harper <jackson@latitudegeo.com>
+
+       * get.c: Fix modopt and modreq
+               
+Thu May 29 12:21:47 CEST 2003 Paolo Molaro <lupus@ximian.com>
+
+       * dump.c, get.c: misc fixes.
+
+Wed May 7 16:50:00 CEST 2003 Paolo Molaro <lupus@ximian.com>
+
+       * main.c: output custom attributes for method parameters.
+
+Wed May 7 16:24:43 CEST 2003 Paolo Molaro <lupus@ximian.com>
+
+       * main.c: output nested types inside their nesting class.
+
+2003-04-12  Zoltan Varga  <vargaz@freemail.hu>
+
+       * get.c (dis_stringify_modifiers): Print a space between custom modifers.
+       * get.c (get_custom_mod): Handle multiple custom modifiers aka bug #30812.
+       * main.c: Print klass name at the end of each method to make it easier
+       to find a given method.
+
+2003-03-31  Miguel de Icaza  <miguel@ximian.com>
+
+       * main.c: Sorted command line options table by name.
+
+       * dump.c: Add support for dumping the new generic tables. 
+
+       * monodis.1: Update man page.
+       
+2003-03-09 Jackson Harper <jackson@latitudegeo.com>
+
+       * main.c: Ouput implements clause as a comma seperated list.
+
+Thu Feb  6 02:43:23 PST 2003 Piers Haken <piersh@friskit.com>
+
+       * dump.c: more warning cleanups
+
+Mon Jan 27 17:16:50 CET 2003 Paolo Molaro <lupus@ximian.com>
+
+       * get.c: decode also the size info in get_marshal_info()
+       for ByValStr and ByValArray.
+
+Tue Sep 24 11:48:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * main.c: use mono_type_size () to get the size of
+       a blob of data for a type (Zoltan Varga spotted the bug).
+
+2002-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * get.c: closes bug #30814. Thanks to Zoltan Varga.
+
+Mon Sep 16 18:49:55 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * main.c, get.c, dump.c: updates for changes in libmetadata.
 
 Fri Sep 13 15:39:41 CEST 2002 Paolo Molaro <lupus@ximian.com>