8a8b7f81c37fb8e62c6579b005039c87ae3a8d46
[mono.git] / mono / metadata / ChangeLog
1 2001-07-18  Miguel de Icaza  <miguel@ximian.com>
2
3         * assembly.c: Implement asssembly loading.  This loads an image
4         and loads all the referenced assemblies.  Come to think of it, we
5         could always do lazy loading of the assemblies. 
6
7         * image.c (mono_image_open): Keep loaded images in a hashtable.
8
9         * image.h (MonoImage): Add reference count.
10
11 2001-07-17  Miguel de Icaza  <miguel@ximian.com>
12
13         * assembly.c (mono_assembly_open): Keep track of the file name in
14         case the assembly has no ASSEMBLY table.
15
16         * metadata.h: Fixed Paolo's quick hack.  Put the documnentation
17         from get.c here.
18
19 Sun Jul 15 19:39:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
20
21         * metadata.c, metadata.h: decode local vars in method header
22         parse function. Change callers accordingly.
23
24 Sun Jul 15 17:40:47 CEST 2001 Paolo Molaro <lupus@ximian.com>
25
26         * metadata.h, cil-coff.h: protect against multiple inclusion.
27         Added some new structures to hold information decoded from metadata:
28         MonoType, MonoParam, MonoArray, MonoMethod, MonoMethodSignature
29         and relevant decoding/free functions.
30         * metadata.c: implement decoding functions. Add warning for out of bounds
31         index in mono_metadata_locate(). Implement mono_get_method () to retreive
32         all the info about a method signature and invocation. Remove check on
33         uninitialized local var in parse_mh() and fix memory leak.
34
35 2001-07-12  Miguel de Icaza  <miguel@ximian.com>
36
37         * metadata.h: More macros.
38
39         * tokentype.h: New file.
40
41 Fri Jul  6 11:30:53 CEST 2001 Paolo Molaro <lupus@ximian.com>
42
43         * assembly.c: added a consistency check and initialize
44         some structures with g_new0().
45         * metadata.c: fixed a couple more bugs in table size computation
46         and add other checks for out-of bound access to metadata.
47
48 Thu Jul  5 22:34:21 CEST 2001 Paolo Molaro <lupus@ximian.com>
49
50         * metatada.c: fix bugs computing table sizes. Spew a
51         warning when index in string heap is out of bounds.
52
53 2001-07-04  Miguel de Icaza  <miguel@ximian.com>
54
55         * metadata.h: Add a couple of macros to manipulate tokens. 
56
57 Tue Jul  3 18:33:32 CEST 2001 Paolo Molaro <lupus@ximian.com>
58
59         * assembly.c: g_free(ii->cli_sections) (and avoid double free of
60         cli_section_tables).
61
62 2001-07-01  Miguel de Icaza  <miguel@ximian.com>
63
64         * metadata.c (mono_metadata_user_string): New function, provides
65         access to the UserString heap. 
66
67 2001-06-27  Miguel de Icaza  <miguel@ximian.com>
68
69         * metadata.c: Add inline documentation.
70
71 2001-06-26  Miguel de Icaza  <miguel@ximian.com>
72
73         * propertyattr.h, paramattr.h, methodsem.h, methodattr.h: New
74         files. 
75
76 2001-06-22  Miguel de Icaza  <miguel@ximian.com>
77
78         * typeattr.h: New file, TypeAttribute flags. 
79
80 2001-06-21  Miguel de Icaza  <miguel@ximian.com>
81
82         * mono/metadata/assembly.c (mono_assembly_ensure_section_idx,
83         mono_assembly_ensure_section): Section loading code.
84         (load_section_tables): Load the sections.
85
86         * mono/metadata/metadata.c (mono_metadata_locate_token,
87         mono_metadata_locate): Functions to locate the information
88         definition given a token or a table and an index.
89         (mono_metadata_compute_table_bases): New.
90         (compute_size): New function to compute the sizes of the various
91         tables.
92
93         * mono/metadata/metadata.h: Finish listing the different index
94         types. 
95
96         * mono/metadata/pedump.c: Improve to dump new information.
97
98 2001-06-19  Miguel de Icaza  <miguel@ximian.com>
99
100         * mono/metadata/metadata.c: Entered all the tables matching
101         Beta2. 
102
103         * mono/metadata/assembly.c (load_metadata_ptrs): Fix for Beta2
104