2001-08-28 Dietmar Maurer <dietmar@ximian.com>
[mono.git] / mono / metadata / ChangeLog
index 797d9b66bcb44c09f6d413a1edcd62530055391b..d9121f015046abc596aa35abea5169888f167b59 100644 (file)
@@ -1,5 +1,106 @@
+2001-08-28  Dietmar Maurer  <dietmar@ximian.com>
+
+       * class.c (mono_class_metadata_init): delayed computing of the
+       class size to mono_class_metadata_init ()
+
+Tue Aug 28 15:47:15 CEST 2001 Paolo Molaro <lupus@ximian.com>
+
+       * class.c, class.h: add an interfaces member to MonoClass.
+       * image.c, image.h: add assembly_name field to MonoImage
+       from the assembly table.
+       * metadata.c, metadata.h: add mono_metadata_interfaces_from_typedef ().
+
+Mon Aug 27 20:12:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
+
+       * class.c: Handle Array in mono_class_from_mono_type ().
+       * metadata.c, pedump.c: some endian fixes.
+
+Mon Aug 27 15:23:23 CEST 2001 Paolo Molaro <lupus@ximian.com>
+
+       * class.c, loader.c, loader.h: More types handled in mono_class_from_mono_type ().
+       * metadata.c: fix small problem introduced with the latest commit.
+
+Mon Aug 27 12:17:17 CEST 2001 Paolo Molaro <lupus@ximian.com>
+
+       * loader.c, metadata.c, metadata.h: Export mono_metadata_type_equal().
+       We don't need a MonoMetadata pointer anymore to compare signatures in
+       mono_metadata_signature_equal (), update callers.
+       Reduced memory usage an number of allocations for MonoMethodHeader and
+       MonoMethodSignature.
+
+Sun Aug 26 23:03:09 CEST 2001 Paolo Molaro <lupus@ximian.com>
+
+       * metadata.c: added compare for szarray.
+
+Sun Aug 26 11:34:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
+
+       * class.h, class.c, loader.h, loader.c: export mono_class_from_mono_type ()
+       and add a couple more types to it and mono_defaults. Give an hint on
+       classes that need implementing in our corlib and are referenced
+       in mscorlib.
+
+Sat Aug 25 12:52:54 CEST 2001 Paolo Molaro <lupus@ximian.com>
+
+       * class.h, class.c: keep track if a class is also an Enum.
+       * loader.c: Implement a couple more types for use in libffi
+       marshalling. Gives better diagnostics when failing to dlopen
+       a library. Set method->klass for P/Invoke methods, too.
+
+Fri Aug 24 19:30:25 CEST 2001 Paolo Molaro <lupus@ximian.com>
+
+       * class.c, class.h: add a MonoType this_arg to MonoClass that
+       represents a pointer to an object of the class' type that
+       can be used by the interpreter and later the type cache.
+       Add best guess alignment info for valuetype objects.
+
+Fri Aug 24 15:50:31 CEST 2001 Paolo Molaro <lupus@ximian.com>
+
+       * metadata.h, metadata.c, class.h, class.c: squeezed MonoParam
+       into MonoType: one less level of indirection and allocation and
+       simplifies quite a bit of code. Added cache for MonoTypes that are
+       used frequently, so that we don't need to allocate them all the time.
+
+2001-08-24  Dietmar Maurer  <dietmar@ximian.com>
+
+       * class.c (mono_class_create_from_typedef): System.Enum is also a
+       value type, although it does not derive from System.ValueType
+       (maybe a bug in the ms compiler?)
+
+       * metadata.c (mono_type_size): return the right size for value types
+
+       * loader.c (mono_get_method): only initialize method header if not abstract
+
+       * class.c (mono_class_from_mono_type): use mono_default values. 
+
+2001-08-23  Dietmar Maurer  <dietmar@ximian.com>
+
+       * *: use MonoClass pointers instead of <type_tokens>
+       
+       * class.h: new flag: metadata_inited.
+
+       * class.c (mono_class_metadata_init): impl.
+       (mono_class_instance_size): impl.
+       (mono_class_data_size): impl.
+
+Wed Aug 22 16:27:30 CEST 2001 Paolo Molaro <lupus@ximian.com>
+
+       * metadata.c, loader.h, loader.c, image.h, image.c, class.h, class.c:
+       MonoClass now has the name and name_space fields. 
+       MonoMethod has a pointer to its MonoClass, instead of MonoImage.
+       mono_get_method () takes and optional MonoClass as argument.
+       Removed mono_typedef_from_name() and added mono_class_token_from_name()
+       instead that takes advantage of a map from class names to typedef
+       tokens in MonoImage.
+
+Tue Aug 21 18:54:58 CEST 2001 Paolo Molaro <lupus@ximian.com>
+
+       * metadata.c: zero is not a valid alignment boundary.
+       Merge MONO_TYPE_VOID in default decoding code.
+
 2001-08-21  Dietmar Maurer  <dietmar@ximian.com>
 
+       * image.h: merged MonoMetadata into MonoImage
+
        * class.h: cleanup of MonoArrayClass, use a MonoClass pointer to
        identify the type of elements.