2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / dis / ChangeLog
index 7df208bb7651ec852abed839173ad11b95a53022..a77cc0c3d8c5be4a34c7441459433f6a95f9a598 100644 (file)
@@ -1,9 +1,323 @@
+2005-01-30  Zoltan Varga  <vargaz@freemail.hu>
+
+       * get.c dis-cil.c dump.c: Fix 64 bit warnings.
+
+2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * dump.c:
+       * dis-cil.c: added isinf() for Solaris, that does not seem to have it.
+       Fixes the build on Solaris.
+
+2004-12-13  Miguel de Icaza  <miguel@ximian.com>
+
+       * dis-cil.c, dump.c: Encode special constant +Inf, -Inf and NaN
+       using hex constants instead of letting libc print the values.
+
+2004-12-11  Martin Baulig  <martin@ximian.com>
+
+       * get.c (get_typespec): Added `gboolean is_def' argument; removed
+       the special case for MONO_TYPE_VAR/MVAR and pass `is_def' down to
+       dis_stringify_type().
+       (get_escaped_name): Allow `!'.  
+
+2004-12-11  Martin Baulig  <martin@ximian.com>
+
+       * get.c (get_token): Escape typedefs.
+
+2004-12-11  Martin Baulig  <martin@ximian.com>
+
+       * get.c (get_escaped_name): Correctly escape nested classes.
+
+2004-12-11  Martin Baulig  <martin@ximian.com>
+
+       * get.c (get_class_name): Renamed to get_escaped_class_name() and
+       return an escaped class name; correctly escape nested classes.
+
+2004-12-11  Martin Baulig  <martin@ximian.com>
+
+       * get.c (dis_stringify_type): Added `gboolean is_def' argument; if
+       false, display type parameters as numbers and not as names.
+       (dis_stringify_object_with_class): Added `gboolean is_def' argument.
+       (dis_stringify_array): Likewise.
+
+2004-12-10  Martin Baulig  <martin@ximian.com>
+
+       * get.c (init_key_table): Added `type' and `strict'.
+       (get_generic_param): Also escape the type parameter names.
+       Correctly handle multiple constraints.
+
+2004-12-10  Martin Baulig  <martin@ximian.com>
+
+       * get.c (get_fieldref_signature): Escape the field type and name
+       here, too.
+
+2004-12-10  Martin Baulig  <martin@ximian.com>
+
+       Started to add generics support to monodis.
+
+       * get.c (get_typedef_or_ref): Added `MonoGenericContext *'.
+       (get_field_signature, get_field): Likewise.
+       (get_methodref_signature, get_methodspec): Likewise.
+        (get_token, get_token_type, get_typespec): Likewise.
+        (get_method, get_method_type_param): Likewise.
+       (get_method_override, dis_stringify_method_signature): Likewise.
+       (get_type, get_ret_type, get_param): Likewise.
+
+       * dis-cil.c (disasemble_cil): Added `MonoGenericContext *'.
+
+2004-12-09  Martin Baulig  <martin@ximian.com>
+
+       * get.c (get_generic_param): Take a `MonoGenericContainer *' and
+       use it to print things instead of manually parsing the metadata.
+
+       * main.c (dis_generic_param_and_constraints): Removed, use
+       get_generic_param() instead.
+       (dis_method_list): Added `MonoGenericContext *' argument.
+
+Mon Dec 6 13:31:48 CET 2004 Paolo Molaro <lupus@ximian.com>
+
+       * main.c: add a --filter=filename option to load a file
+       with a list of types, fields, methods to disassemble.
+
+2004-12-02  Miguel de Icaza  <miguel@ximian.com>
+
+       * main.c: Rename compilercontrolled to privatescope
+
+       * get.c (get_class_name): Correct implementation that correctly
+       handles nested classes.
+
+2004-11-26  Miguel de Icaza  <miguel@ximian.com>
+
+       * main.c: Better implementation of the quote keyword, list all of
+       the known keywords to ildasm here. 
+
+       * get.c (dis_stringify_object_with_class): Take an argument
+       `prefix' that controls whether the `class', `valuetype' labels are
+       used.  This is needed for the catch clause that takes the type
+       directly. 
+       (get_method_core): Rename get_method to get_method_core, and allow
+       for only part of the signature to be specified, so we can produce
+       .override signatures correctly.
+       (get_method_override): Pass false as the `fullsig' argument.
+
+       (get_typedef): no longer quote the type, we quote in the call site
+       elsewhere.   Avoids double quotes.
+       
+       * main.c (quote_keyword): Quote keywords.
+
+Tue Nov 9 17:29:28 CET 2004 Paolo Molaro <lupus@ximian.com>
+
+       * dis-cil.c, get.c, get.h: update to exception clause structure changes.
+
+2004-11-08  Ben Maurer  <bmaurer@ximian.com>
+
+       * get.c, dump.c: warning free.
+
+2004-10-21  Jackson Harper  <jackson@ximian.com>
+
+       * get.c: Escape typedef names.
+
+2004-10-19    <vargaz@freemail.hu>
+
+       * main.c: Applied patch from Alexandre Rocha Lima e Marcondes  (alexandremarcondes@psl-pr.softwarelivre.org). Really fix 2.95 build.
+
+2004-10-04  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * dump.c: Added new "internal" security actions for non-CAS demands:
+       NonCasDemand, NonCasLinkDemand and NonCasInheritance.
+       * main.c: Added new "internal" security actions for non-CAS demands:
+       noncasdemand, noncaslinkdemand and noncasinheritance.
+
+2004-09-24  Zoltan Varga  <vargaz@freemail.hu>
+
+       * main.c: Add support for pinvoke flags BestFit and 
+       ThrowOnUnmappableChar.
+
+2004-09-23  Miguel de Icaza  <miguel@ximian.com>
+
+       * main.c (dis_directive_assemblyref): Dump the locale and public
+       key tokens 
+
+       * get.c (dis_stringify_object_with_class): Escape assembly name. 
+
+       * main.c (dis_directive_assemblyref): Escape assembly name
+
+2004-09-21  Martin Baulig  <martin@ximian.com>
+
+       * main.c (main): If just a single assembly was specified, use the
+       runtime version it requires.
+
+2004-09-16  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * dump.c: Added new security actions added in 2.0: LinkDemandChoice,
+       InheritanceDemandChoice and DemandChoice.
+       * main.c: Added ".permissionset" to output IL. Removed "hassecurity"
+       as MS ilasm can't compile it.
+
+2004-09-16  Zoltan Varga  <vargaz@freemail.hu>
+
+       * get.c (get_token): Add support for memberrefs.
+
+2004-09-06  Zoltan Varga  <vargaz@freemail.hu>
+
+       * main.c: Fix build && warnings.
+
+2004-09-05  Jambunathan K  <kjambunathan@novell.com>
+       * main.c (dump_cattrs_list): Newly carved out of dump_cattrs.
+       
+       Renamed cattrs_for_method() to more meaningful
+       dump_cattrs_for_method_params()
+       
+       (dump_cattrs_for_method_params): Fixed so that ".param[]" gets
+       dumped only when necessary. i.e., when a method parameter has
+       either a default value and/or when it has a custom attribute.
+
+2004-09-06  Zoltan Varga  <vargaz@freemail.hu>
+
+       * get.c: Fix printing of unmanaged calling conventions.
+       (get_constant): Fix warning.
+
+2004-08-28  Jambunathan K  <kjambunathan@novell.com>
+       * main.c: modified cattrs_for_method so that
+         emitting of ".param[] = ..." is complete.
+       
+       * get.c: Modified get_constant() so that
+         1. MONO_TYPE_CHAR now handles unicode characters
+         2. MONO_TYPE_I8 now emits int64(...)
+         3. MONO_TYPE_STRING emits a bytearray()
+
+2004-08-18  Jambunathan K  <kjambunathan@novell.com>
+       * get.c: Changed dis_stringify_param to emit [opt] for parameters
+         that are marked as Optional.
+
+       * dump.c: Fixed dump_table_constant so that the parent field's
+         description is correctly displayed.
+
+2004-08-08  Zoltan Varga  <vargaz@freemail.hu>
+
+       * get.c (get_typespec): Append '*' to pointer types. Fixes #62331.
+
+2004-08-03  Martin Baulig  <martin@ximian.com>
+
+       * dump.c (method_dor_to_token): Moved to get.c and made public.
+
+       * get.c (get_method_override): New public function.
+
+       * main.c (dis_code): Added `.override' for override methods.
+
+2004-08-02  Martin Baulig  <martin@ximian.com>
+
+       * get.c (dis_stringify_object_with_class): Include our generic
+       arguments in the method's class name.
+
+       * main.c (dis_generic_param_and_constraints): Use the new
+       constraints syntax.
+
+2004-08-02  Martin Baulig  <martin@ximian.com>
+
+       * dump.c (dump_stream_blob): Format this nicely.
+       (dump_table_standalonesig): New public function.
+
+       * main.c (dis_locals): If --show-tokens was requested, print the
+       standalone signature token.
+       (table_list): Added "--standalonesig".
+
+2004-07-09  Jackson Harper  <jackson@ximian.com>
+
+       * get.c: Make "class" the default so only valuetypes get the
+       "valuetype" modifier. Otherwise object, string, int,... will get
+       it.
+       
+2004-07-08  Jackson Harper  <jackson@ximian.com>
+
+       * main.c: Spaces after visibility types.
+       
+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>
 
-       * dis/main.cs (--show-tokens): New command line argument to show
+       * main.cs (--show-tokens): New command line argument to show
        type tokens in the disassembly.
 
-       * dis/get.c (get_typedef, get_typespec, get_typeref): If
+       * 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.