2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mono / metadata / ChangeLog
index 8a78102b1763c9111b56e96b6706fa90d3c54f1c..0dca5e655a1bc03e8a4acffbd3d0edc39eaadba9 100644 (file)
@@ -1,3 +1,261 @@
+2002-07-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * icall.c:
+       (ves_icall_TypeGetProperties): fixed bug #27473. 
+
+2002-07-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * reflection.c: display image name and token when cannot find the
+       .ctor for an attribute.
+
+2002-07-05  Martin Baulig  <martin@gnome.org>
+
+       * debug-symfile.c: Reflect latest MonoDwarfFileWriter changes.
+
+2002-07-04  Dick Porter  <dick@ximian.com>
+
+       * threads.c (mono_thread_cleanup): Nasty kludge to get this to
+       compile on mingw.  This will cause mingw builds to not wait for
+       subthreads to terminate after the main thread does.  I've lodged a
+       bug with the mingw developers for them to wrap OpenThread().
+
+2002-07-03  Dick Porter  <dick@ximian.com>
+
+       * threads.c: Store thread IDs instead of handles, because
+       GetCurrentThread() returns a pseudohandle and therefore stores
+       useless values.  mono_thread_cleanup() continues checking the
+       array of threads until it is empty, to cope with subthreads
+       spawning new threads after the main thread has finished.
+
+       * profiler.h:
+       * profiler.c:
+       * profiler-private.h: Pass the thread ID to thread profiler
+       functions, instead of a handle
+
+Wed Jul 3 17:43:52 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * verify.c: fixes to make it more usable.
+       * pedump.c: added --verify code to verify IL code in an assembly.
+
+Tue Jul 2 20:40:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: turn errors into warnings to allow compiling corlib.
+
+Tue Jul 2 19:33:20 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: add special cases to compile corlib.
+
+Mon Jul 1 18:00:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: handle properties with only a set method.
+
+Mon Jul 1 17:11:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * opcodes.h: add enum with opcodes in opval order.
+
+2002-07-01  Dick Porter  <dick@ximian.com>
+       
+       * object.h:
+       * object.c (mono_runtime_run_main): Removed unneeded argument
+
+2002-06-28  Martin Baulig  <martin@gnome.org>
+
+       * debug-symfile.c: Reflect latest MonoDwarfFileWriter changes.
+
+2002-06-27  Dick Porter  <dick@ximian.com>
+
+       * threads.c: Store the handle in both the parent thread and in the
+       subthread, to minimise the time between starting a new thread and
+       storing its ID.
+
+2002-06-26  Dick Porter  <dick@ximian.com>
+
+       * appdomain.c (mono_runtime_cleanup): Close the socket library
+       after all the threads have finished, not before
+
+2002-06-26  Martin Baulig  <martin@gnome.org>
+
+       * debug-symfile.c (mono_debug_find_source_location): Added
+       `guint32 *line_number' argument.  If it's not NULL, store the line number
+       there and return the file name without the line number.
+
+2002-06-25  Dick Porter  <dick@ximian.com>
+
+       * icall.c:
+       * process.h:
+       * process.c: Process forking and other support functions
+
+2002-06-25  Dick Porter  <dick@ximian.com>
+
+       * image.c (do_mono_image_open): Set ref_count to 1, so that bad
+       things dont happen when the image is closed.
+       (mono_image_lookup_resource): Walk the resource section looking
+       for a particular entry
+
+       * cil-coff.h: PE resource section decoding
+
+2002-06-25  Dick Porter  <dick@ximian.com>
+       
+       * assembly.h:
+       * assembly.c: 
+       (mono_assembly_foreach): Accessor functions to walk the list of
+       loaded assemblies
+       (mono_assembly_set_main):
+       (mono_assembly_get_main): Process methods need to know which
+       assembly is the "main" one
+
+       * object.c (mono_runtime_run_main): Record the main assembly
+
+       * debug-helpers.c: Fix typo
+
+2002-06-24  Dietmar Maurer  <dietmar@ximian.com>
+
+       * icall.c (ves_icall_System_Runtime_InteropServices_Marshal_copy_to_unmanaged): impl.
+       (ves_icall_System_Runtime_InteropServices_Marshal_copy_from_unmanaged): impl.
+
+Sat Jun 22 11:37:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * icall.c: fix off-by-one in Assembly.GetTypes() reported by bob@karr.ath.cx.
+
+2002-06-21  Miguel de Icaza  <miguel@ximian.com>
+
+       * image.c (do_mono_image_open): Initialize reference count,
+       otherwise we leak the MonoImage.
+
+Fri Jun 21 19:16:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: small tweak to handle self-hosting.
+
+Thu Jun 20 23:28:13 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: fix type name parse code.
+
+Thu Jun 20 19:24:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: break out of the loop.
+       * image.c: special case corlib.
+
+Thu Jun 20 16:43:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: add all the custom attrs at the end to ensure the
+       ctors have been properly initialized when the attributes are defined
+       in the current assembly.
+
+Thu Jun 20 13:46:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: handle correctly multiple-nested types.
+
+Thu Jun 20 11:49:00 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * row-indexes.h: fix typos.
+       * reflection.c: adjust for typos and fix method_def_or_ref
+       encoding in MethodImpl table.
+
+Wed Jun 19 21:57:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: fix entry point patching (thanks Serge!).
+
+2002-06-18  Dietmar Maurer  <dietmar@ximian.com>
+
+       * verify.c: add check for System.Exception
+
+Mon Jun 17 20:23:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * image.c, class.c: minifix for code just c&p'ed.
+       * reflection.c: warning fix.
+       * object.h, loader.h, domain.c: load also StringBuilder.
+
+Mon Jun 17 17:29:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * marshal.h, marshal.c: some support code to handle complex marshaling.
+
+Mon Jun 17 16:32:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * class.h, class.c, reflection.c: handle ignorecase in GetType ().
+       Better signatures with vtable error dump.
+
+Mon Jun 17 16:13:35 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c, reflection.h, icall.c: fixes for multiple-nested types.
+
+2002-06-17  Dietmar Maurer  <dietmar@ximian.com>
+
+       * icall.c (ves_icall_Type_GetField): impl.
+
+Mon Jun 17 16:08:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * metadata.h, metadata.c: added mono_metadata_get_marshal_info()
+       to retrieve a marshal description blob for a field or param.
+
+Mon Jun 17 14:57:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.h, reflection.c: change order of nested type emission
+       to avoid table corruption. The NestedTypes table is sorted.
+       * icall.c: change order of GetConstructor results to workaround mcs bug.
+
+Fri Jun 14 16:24:30 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.h, reflection.c: handle field and param marshal
+       information.
+
+Wed Jun 12 16:30:57 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * icall.c, marshal.c marshal.h: more Marshal class implementation.
+
+Tue Jun 11 17:29:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: fix call convention.
+
+Tue Jun 11 16:52:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.h, reflection.c: mono_image_get_memberref_token()
+       takes a type instead of a class, now. Added
+       mono_image_get_array_token() to create tokens for the special
+       multi-dim array methods.
+
+Tue Jun 11 13:21:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * assembly.c: handle modules (no assembly table). Split
+       loading references in its own function.
+       * class.c: handle moduleref resolution scope.
+       * image.c, image.h: cache module name in image.
+
+2002-06-07  Martin Baulig  <martin@gnome.org>
+
+       * reflection.c (mono_image_get_type_info): Only add a class layout entry
+       if we actually have a `tb->class_size' (ie. it's not UnspecifiedTypeSize).
+
+Fri Jun 7 22:07:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * icall.c: more signature fixes that used uint instead of int.
+
+Fri Jun 7 20:41:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * reflection.c: fixed signature of field refs.
+
+Fri Jun 7 19:41:14 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * class.c, reflection.c: handle typerefs of nested types
+       (both on read and when writing files).
+
+Fri Jun 7 17:46:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * icall.c: fix method signatures that tried to workaround the previous
+       typo, d'oh!
+
+Fri Jun 7 17:36:33 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * debug-helpers.c: fix typo.
+
+Fri Jun 7 17:00:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * cil-coff.h, icall.c, image.c, reflection.c, reflection.h:
+       rewrote the PE/COFF writing code (our programs are understood by the
+       ms runtime, now).
+
+Tue Jun 4 18:10:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * gc.c, gc.h, icall.c: weakreference support.
 
 Tue Jun 4 16:06:19 CEST 2002 Paolo Molaro <lupus@ximian.com>