2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / PEAPI / ChangeLog
1 2004-05-25  Jackson Harper  <jackson@ximian.com>
2
3         * PEAPI.cs: When writing to the blob heap we always set a size.
4         
5 2004-05-25  Jackson Harper  <jackson@ximian.com>
6
7         * PEAPI.cs: Set the has default flag on fields when a default data
8         constant is assigned to them.
9         
10 2004-05-25  Jackson Harper  <jackson@ximian.com>
11
12         * PEAPI.cs: Encode string constants as unicode before putting them
13         in the blob.
14         
15 2004-05-25  Jackson Harper  <jackson@ximian.com>
16
17         * PEAPI.cs: zero RVAs for abstract, runtime, and internal call
18         methods.
19         
20 2004-04-30  Duncan Mak  <duncan@ximian.com>
21
22         * PEAPI.dll.sources: Added Assembly/AssemblyInfo.cs and 
23         Locale.cs to build.
24
25 2004-04-02  Jackson Harper  <jackson@ximian.com>
26
27         * PEAPI.cs: Allow hash algorithms to be any integer.
28         
29 2004-02-18  Jackson Harper <jackson@ximian.com>
30
31         * PEAPI.cs: Add a class for creating instances of class refs, this
32         is used for setting the class or valuetype of a types instance so the class
33         reference isn't modified. Allows things like 'valuetype [mscorlib]System.Object'.
34         
35 2003-11-18 Jackson Harper <jackson@ximian.com>
36
37         * PEAPI.cs: If the data length for a methods seh section is
38         greater then 255 use fat format headers.
39         
40 2003-11-17 Jackson Harper <jackson@ximian.com>
41
42         * PEAPI.cs: Allow strings to be loaded as bytearrays.
43         
44 2003-10-19 Jackson Harper <jackson@ximian.com>
45
46         * PEAPI.cs: Use bytes not bits for constant sizes.
47         
48 2003-10-18 Jackson Harper <jackson@ximian.com>
49
50         * PEAPI.cs: Add proper support for short instructions, removing
51         PEAPI's auto selection of short/long branch operations feature.
52         
53 2003-10-10 Jackson Harper <jackson@ximian.com>
54
55         * PEAPI.cs: New GenericMethodSig class for creating generic method
56         signatures. Use this class instead of GenericTypeInst for creating
57         generic methods. Fix Generic call conv. according to two of my
58         docs it is 0x10 and only one says 0x50 so I will go with 0x10.
59         
60 2003-10-09 Jackson Harper <jackson@ximian.com>
61
62         * PEAPI.cs: Add generic method Mvar type. Add MethodSpec table,
63         and an Api method for adding methods to the methodspec table.
64         
65 2003-10-08 Jackson Harper <jackson@ximian.com>
66
67         * PEAPI.cs: Remove some old hacks for adding methods to arrays,
68         typespecs are used for this now. Add Generic call conv.
69         
70 2003-10-08 Jackson Harper <jackson@ximian.com>
71
72         * PEAPI.cs: Remove methods for creating generic parameters without
73         a name, names are mandatory. Add method to add type parameters to
74         methods. Allow GenericParameters to have either a type or a
75         method as its owner. Also fix visibility of GenericParameters, a
76         GenericParameter should not be created outside of PEAPI.
77         
78 2003-10-07 Jackson Harper <jackson@ximian.com>
79
80         * PEAPI.cs: Add unbox.any instruction.
81         
82 2003-09-27 Jackson Harper <jackson@latitudegeo.com>
83
84         * PEAPI.cs: Fix pinvoke attributes, zero a methods RVA if it has
85         pinvoke info. This isn't entirely correct because native unmanaged
86         methods can have pinvoke info and not have 0 RVAs PEAPI can't
87         handle native unmanged code though. Expose the ModuleClass so
88         'global' items can be referenced like this '<Module>'::foo.
89         
90 2003-09-21 Jackson Harper <jackson@latitudegeo.com>
91
92         * PEAPI.cs: sigh, sometimes it is best to calculate variables
93         before using them. This fixes PEAPI creating broken images when
94         the sdata section is used.
95         
96 2003-09-20 Jackson Harper <jackson@latitudegeo.com>
97
98         * PEAPI.cs: Rework to allow multiple constraints to be added to a
99         single generic parameter.
100         
101 2003-08-19 Jackson Harper <jackson@latitudegeo.com>
102
103         * PEAPI.cs: Make no super method public so we can have types
104         with no super type.
105         
106 2003-08-03 Jackson Harper <jackson@latitudegeo.com>
107
108         * PEAPI.cs: New Sentinel type.
109         
110 2003-08-03 Jackson Harper <jackson@latitudegeo.com>
111
112         * PEAPI.cs: Only give method definitions 0 RVAs if they are
113         marked abstract.
114         
115 2003-08-03 Jackson Harper <jackson@latitudegeo.com>
116
117         * PEAPI.cs: Offsets are not explicit offsets, they are just
118         byte offsets from the current position.
119
120 2003-07-29 Jackson Harper <jackson@latitudegeo.com>
121
122         * PEAPI.cs: Allow labels to be created with an explicit offset
123         
124 Fri Jul 25 19:25:31 CEST 2003 Paolo Molaro <lupus@ximian.com>
125
126         * PEAPI.cs: added coded index for the owner field in the GenericParam
127         table.
128
129 2003-07-20 Jackson Harper <jackson@latitudegeo.com>
130
131         * PEAPI.cs: Add methods to PEFile to allow fields and methods to
132         be added to type specs. This fixing bah-zillions of little
133         problems in ilasm. We can now add fields and methods to arrays,
134         reference types, and most importantly generics.
135
136         Add the GenericTypeInst class. This is an instance of a generic
137         type. ie Hash<int32, string>. GenericTypeSpecs now write their id
138         number as a compressed number, this matches the way the runtime
139         loads them and will allow generic types to have more then 255 type
140         parameters.
141         
142 2003-07-17 Jackson Harper <jackson@latitudegeo.com>
143
144         * PEAPI.cs: Add GenericTypeSpec so generic members can be
145         referenced. Add the ldelem and stelem opcodes (these are part of
146         the new spec).
147         
148 2003-07-15 Jackson Harper <jackson@latitudegeo.com>
149
150         * PEAPI.cs: Allow generic constraints to be added, emit generic
151         constraints.
152                 
153 2003-07-14 Jackson Harper <jackson@latitudegeo.com>
154
155         * PEAPI.cs: Cleanup methods for generics, now that constraints and
156         params are seperated.
157                 
158 2003-05-31 Jackson Harper <jackson@latitudegeo.com>
159
160         * PEAPI.cs: Initial work on implementing custom
161         attributes. Attributes can now be added to ClassDefs and
162         MethodDefs. Still need to implement for other metadata elements.
163         Added the stele.r4 and stelem.r8 instructions, this should also
164         shift the stelem.ref instruction to the proper value (0xA2)
165                 
166 2003-05-25 Jackson Harper <jackson@latitudegeo.com>
167
168         * PEAPI.cs: Create a list of vararg signatures and add them all to
169         tables. this allows more then one vararg signature to be created
170         per method.
171                 
172 2003-05-18 Jackson Harper <jackson@latitudegeo.com>
173
174         * PEAPI.cs: Add methods to allow methods to be added to arrays.
175                 
176 2003-05-11 Jackson Harper <jackson@latitudegeo.com>
177
178         * PEAPI.cs: The class size in class layout metadata table is a
179         uint not a short.
180                 
181 2003-04-05 Jackson Harper <jackson@latitudegeo.com>
182
183         * PEAPI.cs: Add indexes to GenericParameters, make string index
184         always a full 4 bytes.
185                 
186 2003-04-05 Jackson Harper <jackson@latitudegeo.com>
187
188         * PEAPI.cs: Add GenericParameter table, and method to add generic
189         parameters.
190                 
191 2003-03-15 Daniel Morgan <danmorg@sc.rr.com>
192
193         * PEAPI.build: added file for windows build
194
195 2003-03-06 Jackson Harper <jackson@latitudegeo.com>
196
197         * PEAPI.cs: (ImplAttr) Add Optil implementation flag (not supported 
198         in first release of CLR)
199         (Class) And Name property
200
201 2003-03-06 Jackson Harper <jackson@latitudegeo.com>
202
203         * makefile.gnu: Add file
204         * list.unix: Add file
205
206 2003-03-02 Jackson Harper <jackson@latitudegeo.com>
207
208         * PEAPI.cs: Do not add file extensions to output names
209         
210 2003-03-02 Jackson Harper <jackson@latitudegeo.com>
211
212         * PEAPI.cs: Add file
213         * README.txt: Add file