* ILParser.jay: Create generic method refs.
[mono.git] / mcs / ilasm / parser / ChangeLog
1 2003-10-10 Jackson Harper <jackson@ximian.com>
2
3         * ILParser.jay: Create generic method refs.
4         
5 2003-10-08 Jackson Harper <jackson@ximian.com>
6
7         * ILParser.jay: Attach generic type parameters to methods.
8         
9 2003-09-27 Jackson Harper <jackson@latitudegeo.com>
10
11         * ILParser.jay: Set pinvoke info. Allow param attributes in type
12         lists.
13         
14 2003-09-21 Jackson Harper <jackson@latitudegeo.com>
15
16         * ILParser.jay: Define data
17         
18 2003-09-15 Jackson Harper <jackson@latitudegeo.com>
19
20         * ILParser.jay: dashed names aren't legal for file names, if the
21         name has a dash in it it needs to be quoted ie 'gtk-sharp'.
22         
23 2003-09-12 Jackson Harper <jackson@latitudegeo.com>
24
25         * ILParser.jay: Fix typo in field inits. Methods attached to
26         modified types should be type spec method refs.
27         
28 2003-08-19 Jackson Harper <jackson@latitudegeo.com>
29
30         * ILParser.jay: Implement address constants and string
31         constants. Add data definitions to their types, and create data
32         item lists. Also implement long form overrides.
33         
34 2003-08-19 Jackson Harper <jackson@latitudegeo.com>
35
36         * ILParser.jay: Add override methods.
37         
38 2003-08-10 Jackson Harper <jackson@latitudegeo.com>
39
40         * ILParser.jay: Create an empty array list for empty type
41         lists. Start phasing out INT32 because the tokenizer will no
42         longer create this token.
43                 
44 2003-08-03 Jackson Harper <jackson@latitudegeo.com>
45
46         * ILParser.jay: Use new sentinel type. Create valuetypes.
47
48 2003-08-03 Jackson Harper <jackson@latitudegeo.com>
49
50         * ILParser.jay: Make value types and enum types.
51         
52 2003-08-03 Jackson Harper <jackson@latitudegeo.com>
53
54         * ILParser.jay: Create label references where appropriate instead
55         of adding labels.
56         
57 2003-08-02 Jackson Harper <jackson@latitudegeo.com>
58
59         * ILParser.jay: Set from label, not to label for filter block handlers
60         
61 2003-07-30 Jackson Harper <jackson@latitudegeo.com>
62
63         * ILParser.jay: Create branch instructions with explicit offsets
64         
65 2003-07-29 Jackson Harper <jackson@latitudegeo.com>
66
67         * ILParser.jay: Use new labeling system for handler blocks.
68         
69 2003-07-29 Jackson Harper <jackson@latitudegeo.com>
70
71         * ILParser.jay: No longer need to supply method references
72         to instructions, they get that when emitting now.
73         
74 2003-07-28 Jackson Harper <jackson@latitudegeo.com>
75
76         * ILParser.jay: Use TypeRef.Ellipsis instead of null for a 
77         placeholder in bound arrays. Do not use AsClassRef anymore.
78         
79 2003-07-21 Jackson Harper <jackson@latitudegeo.com>
80
81         * ILParser.jay: Set maxstack
82         
83 2003-07-20 Jackson Harper <jackson@latitudegeo.com>
84
85         * ILParser.jay: Do not use the AsClassRef method anymore to attach
86         methods and fields to types. All types can do this now. Create
87         generic type refs and generic type instances. 
88         
89 2003-07-17 Jackson Harper <jackson@latitudegeo.com>
90
91         * ILParser.jay: Add generic type refs, and fake generic class refs.
92                 
93 2003-07-15 Jackson Harper <jackson@latitudegeo.com>
94
95         * ILParser.jay: Add generic type constraints and tokens used to
96         create them
97                 
98 2003-07-16  Peter Williams  <peter@newton.cx>
99
100         * .cvsignore: ILParser.cs has been moved.
101
102 2003-07-14 Jackson Harper <jackson@latitudegeo.com>
103
104         * ILParser.jay: Seperate generic constraints from generic parameters.
105                 
106 2003-06-14 Jackson Harper <jackson@latitudegeo.com>
107
108         * ILParser.jay: Add set imagebase, subsystem, and corflags.
109                 
110 2003-06-14 Jackson Harper <jackson@latitidegeo.com>
111
112         * ILParser.jay: Implement custom modified types.
113                 
114 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
115
116         * ILParser.jay: Implement properties
117                 
118 2003-06-08 Jackson Harper <jackson@latitudegeo.com>
119
120         * ILParser.jay: Add generic type parameters to types. Implement events.
121                 
122 2003-06-04 Jackson Harper <jackson@latitudegeo.com>
123
124         * ILParser.jay: Assembly and module names may have dashes in them
125         (like gtk-sharp.dll).
126                 
127 2003-05-31 Jackson Harper <jackson@latitudegeo.com>
128
129         * ILParser.jay: Set assembly names. When looking up types in the
130         form [assembly]name first check if the assembly is this
131         assembly. Implement scope_blocks, and implement scope block form
132         exception handling.
133                 
134 2003-05-31 Jackson Harper <jackson@latitudegeo.com>
135
136         * ILParser.jay: Use type instead of params for calli signatures.
137                 
138 2003-05-31 Jackson Harper <jackson@latitudegeo.com>
139
140         * ILParser.jay: When looking up types first check to see if this
141         is actually a primitive object type (System.String,
142         System.Object). Add custom attributes to types. Handle the il
143         keyword the exact same way as cil. Add ellipsises to param and sig
144         lists. Add an optional name to typelists, this is just parsed it
145         is not implemented properly. Add custom attributes to
146         methods. Implement custom types (just methodrefs to ctors).
147                 
148 2003-05-25 Jackson Harper <jackson@latitudegeo.com>
149
150         * ILParser.jay: Pass call conv to methoref constructors. Add the
151         ELLIPSIS to type_lists, this is for vararg methods
152                 
153 2003-05-23 Jackson Harper <jackson@latitudegeo.com>
154
155         * ILParser.jay: Remove top secret debugging code.
156                 
157 2003-05-23 Jackson Harper <jackson@latitudegeo.com>
158
159         * ILParser.jay: Implement label form structured exception handling.
160                 
161 2003-05-22 Jackson Harper <jackson@latitudegeo.com>
162
163         * ILParser.jay: Comment out K_IMF and K_NAN these are not used in
164         the grammar.
165                 
166 2003-05-21 Jackson Harper <jackson@latitudegeo.com>
167
168         * ILParser.jay: Add ldc.r4 to INSTR_R int also fix cast to double.
169                 
170 2003-05-21 Jackson Harper <jackson@latitudegeo.com>
171
172         * ILParser.jay: When converting from int32 to int64 do an exact
173         bit conversion, not a numerical conversion.
174                 
175 2003-05-21 Jackson Harper <jackson@latitudegeo.com>
176
177         * ILParser.jay: INT_I8s are not int instructions, currently the
178         only INT_I8 instruction is ldc.i8 so this new code does more
179         checks then needed but is written in anticipation of some new long
180         instructions being found. Implement signature instructions, token
181         instructions, and signatures. Convert INT32s masquerading as
182         INT64s to Int64.
183                 
184 2003-05-19 Jackson Harper <jackson@latitudegeo.com>
185
186         * ILParser.jay: Same as below but with float64 ()
187                 
188 2003-05-19 Jackson Harper <jackson@latitudegeo.com>
189
190         * ILParser.jay: When the float32 (0xFFFFFF) syntax is used the hex
191         value represents the exact byte value of a float NOT an integer
192         value that is converted to a float.
193                 
194 2003-05-18 Jackson Harper <jackson@latitudegeo.com>
195
196         * ILParser.jay: Use new methods for converting types to
197         classrefs. Expand grammar for locals.
198
199                 
200 2003-05-18 Jackson Harper <jackson@latitudegeo.com>
201
202         * ILParser.jay: Convert cast integers to floats.
203                 
204 2003-05-11 Jackson Harper <jackson@latitudegeo.com>
205
206         * ILParser.jay: Add tokens for instructions that take param and
207         local args. Do not create empty lists for sig_args and
208         type_lists. Add param and local instructions.
209                 
210 2003-05-11 Jackson Harper <jackson@latitudegeo.com>
211
212         * ILParser.jay: Set size and packing information for types
213                 
214 2003-05-10 Jackson Harper <jackson@latitudegeo.com>
215
216         * ILParser.jay: Add field instructions
217                 
218 2003-05-10 Jackson Harper <jackson@latitudegeo.com>
219
220         * ILParser.jay: Add global method references
221                 
222 2003-05-10 Jackson Harper <jackson@latitudegeo.com>
223
224         * ILParser.jay: Add locals, method references, and method instructions
225                 
226 2003-05-07 Jackson Harper <jackson@latitudegeo.com>
227
228         * ILParser.jay: Add type instructions. NOTE - type_spec is not
229         fully implemented yet, so this has some explosive potential.
230                 
231 2003-05-07 Jackson Harper <jackson@latitudegeo.com>
232
233         * ILParser.jay: Remove dotted_name, it is not used at all
234         anymore. vtattr only take an int64 param, this fix gets rid of all
235         of the remaining reduce/reduce conflicts
236                 
237 2003-05-07 Jackson Harper <jackson@latitudegeo.com>
238
239         * ILParser.jay: Remove extraneous dotted_name, also make comp_name
240         contain dotted_name logic. Oh how I will miss the 301
241         reduce/reduce conflicts these small changes fixed :-)
242                 
243 2003-05-06 Jackson Harper <jackson@latitudegeo.com>
244
245         * ILParser.jay: Emit INSTR_I8 instructions as int
246         instructions. Implement label lists, emit switch instruction.
247                 
248 2003-05-05 Jackson Harper <jackson@latitudegeo.com>
249
250         * ILParser.jay: Add labels to methods, add branching instructions.
251                 
252 2003-05-04 Jackson Harper <jackson@latitudegeo.com>
253
254         * ILParser.jay: Use new MiscInstr.ldstr for ldstr, add INSTR_Rs
255                 
256 2003-05-04 Jackson Harper <jackson@latitudegeo.com>
257
258         * ILParser.jay: Set int64's masquerading as int32 to upper and
259         lower bounds if neccasary. NEED TO TEST this behavoir on windows.
260                 
261 2003-05-01 Jackson Harper <jackson@latitudegeo.com>
262
263         * ILParser.jay: Fix a bunch of conversions, implement hexbytes
264                 
265 2003-04-30 Jackson Harper <jackson@latitudegeo.com>
266
267         * ILParser.jay: Implement non marshalled methodheads, method
268         attributes, impl attributes, imit simple int and ldstr instructions.
269                 
270 2003-04-17 Jackson Harper <jackson@latitudegeo.com>
271
272         * ILParser.jay: Define data, fix repeat_opt allways being set.
273                 
274 2003-04-17 Jackson Harper <jackson@latitudegeo.com>
275
276         * ILParser.jay: Add external types to the extern type table.
277                 
278 2003-04-17 Jackson Harper <jackson@latitudegeo.com>
279
280         * ILParser.jay: Use new types and methods to build a tree.
281                 
282 2003-04-07 Jackson Harper <jackson@latitudegeo.com>
283
284         * ILParser.jay: Implement data items
285                 
286 2003-04-07 Jackson Harper <jackson@latitudegeo.com>
287
288         * ILParser.jay: Implement most field features
289                 
290 2003-04-05 Jackson Harper <jackson@latitudegeo.com>
291
292         * ILParser.jay: Set type parameter index
293                 
294 2003-04-05 Jackson Harper <jackson@latitudegeo.com>
295
296         * ILParser.jay: Emit parameterized types
297                 
298 2003-04-04 Jackson Harper <jackson@latitudegeo.com>
299
300         * ILParser.jay: Add parameterized method declarations.
301                 
302 2003-04-03 Jackson Harper <jackson@latitudegeo.com>
303
304         * ILParser.jay: Add parameterized types to classes.
305                 
306 2003-04-02 Jackson Harper <jackson@latitudegeo.com>
307
308         * ILParser.jay: Support most non-obsolete native types.
309                 
310 2003-04-02 Jackson Harper <jackson@latitudegeo.com>
311
312         * ILParser.jay: Proper names for native int and native uint
313                 
314 2003-04-01 Jackson Harper <jackson@latitudegeo.com>
315
316         * ILParser.jay: Add Call conventions, fix primitive spelling.
317         
318 2003-04-01 Jackson Harper <jackson@latitudegeo.com>
319
320         * ILParser.jay: Add TypedRef primative type.
321         
322 2003-04-01 Jackson Harper <jackson@latitudegeo.com>
323
324         * ILParser.jay: Support pinned, modreq, and modopt types.
325         
326 2003-04-01 Jackson Harper <jackson@latitudegeo.com>
327
328         * ILParser.jay: Use the CodeGen CompleteClass method when a class
329         is completed instead of setting the current class to null. This
330         does some extra cleanup
331         
332 2003-03-31 Jackson Harper <jackson@latitudegeo.com>
333
334         * ILParser.jay: Add bound arrays
335         
336 2003-03-30 Jackson Harper <jackson@latitudegeo.com>
337
338         * ILParser.jay: Concat slashed names properly
339         
340 2003-03-30 Jackson Harper <jackson@latitudegeo.com>
341
342         * ILParser.jay: Implement most of type
343         
344 2003-03-30 Jackson Harper <jackson@latitudegeo.com>
345
346         * ILParser.jay: Add code from old parser to declare and define classes.
347                 
348 2003-03-30 Jackson Harper <jackson@latitudegeo.com>
349
350         * ILParser.jay: New grammar that I haven't made a mess of, this
351         takes all the special cases into account much better.
352                 
353 2003-03-19 Jackson Harper <jackson@latitudegeo.com>
354
355         * ILParser.jay: .hash algorithm can be followed by bytes
356
357 2003-03-19 Jackson Harper <jackson@latitudegeo.com>
358
359         * ILParser.jay: Allow assembly refs to have dots in name.
360
361 2003-03-17 Jackson Harper <jackson@latitudegeo.com>
362
363         * ILParser.jay: Add object to primative types
364
365 2003-03-17 Jackson Harper <jackson@latitudegeo.com>
366
367         * ILParser.jay: Set CallConv for opcodes that have a call conv, 
368         like call and newobj
369
370 2003-03-17 Jackson Harper <jackson@latitudegeo.com>
371
372         * ILParser.jay: Set CallConvs properly, use type_ref instead of type for
373         method overrides.
374
375 2003-03-16 Jackson Harper <jackson@latitudegeo.com>
376
377         * ILParser.jay: .ctor and .cctor can also be method names.
378
379 2003-03-16 Jackson Harper <jackson@latitudegeo.com>
380
381         * ILParser.jay: Use assembly_ref for extern assemblies so names with dashes can be used.
382
383 2003-03-15 Jackson Harper <jackson@latitudegeo.com>
384
385         * ILParser.jay: Define local variables
386
387 2003-03-15 Jackson Harper <jackson@latitudegeo.com>
388
389         * ILParser.jay: Add param_list definition, use param_list for method refs
390
391 2003-03-15 Jackson Harper <jackson@latitudegeo.com>
392
393         * ILParser.jay: de-bacwardificate values passed to add method, 
394         I was setting the return to the parent before, but the parent 
395         value was being set to the return type value so it all worked 
396         out but was very confusing.
397
398 2003-03-15 Jackson Harper <jackson@latitudegeo.com>
399
400         * ILParser.jay: Add external field references
401
402 2003-03-15 Jackson Harper <jackson@latitudegeo.com>
403
404         * ILParser.jay: Add fields to the field table, add field references,
405         emit instructions that take a field param
406
407 2003-03-15 Jackson Harper <jackson@latitudegeo.com>
408
409         * ILParser.jay: Emit ldstr instruction
410
411 2003-03-15 Jackson Harper <jackson@latitudegeo.com>
412
413         * ILParser.jay: Create external method references
414
415 2003-03-14 Jackson Harper <jackson@latitudegeo.com>
416
417         * ILParser.jay: Emit instructions that take a method def as a single param
418
419 2003-03-14 Jackson Harper <jackson@latitudegeo.com>
420
421         * ILParser.jay: Emit instructions that take a single type as a param
422
423 2003-03-14 Jackson Harper <jackson@latitudegeo.com>
424
425         * ILParser.jay: Emit instructions that take a single int32 as a param
426
427 2003-03-13 Jackson Harper <jackson@latitudegeo.com>
428
429         * ILParser.jay: Remove unused references
430
431 2003-03-13 Jackson Harper <jackson@latitudegeo.com>
432
433         * ILParser.jay: Emit simple instructions
434
435 2003-03-13 Jackson Harper <jackson@latitudegeo.com>
436
437         * ILParser.jay: Set MaxStack, clean up some typos
438
439 2003-03-13 Jackson Harper <jackson@latitudegeo.com>
440
441         * ILParser.jay: Set entrypoint 
442
443 2003-03-11 Jackson Harper <jackson@latitudegeo.com>
444
445         * ILParser.jay: Create TypeRefs instead of types, define methods.
446
447 2003-03-09 Jackson Harper <jackson@latitudegeo.com>
448
449         * ILParser.jay: Set Call Conventions and Implementation Flags
450
451 2003-03-09 Jackson Harper <jackson@latitudegeo.com>
452
453         * ILParser.jay: Add implemented interfaces
454
455 2003-03-08 Jackson Harper <jackson@latitudegeo.com>
456
457         * ILParser.jay: Create method attributes
458
459 2003-03-08 Jackson Harper <jackson@latitudegeo.com>
460
461         * ILParser.jay: Reference external assemblies.
462
463 2003-03-06 Jackson Harper <jackson@latitudegeo.com>
464
465         * ILParser.jay: Implemented class inheritence
466
467 2003-03-06 Jackson Harper <jackson@latitudegeo.com>
468
469         * ILParser.jay: Pass null Location when adding class, concat dottedName pieces
470
471 2003-03-06 Jackson Harper <jackson@latitudegeo.com>
472
473         * ILParser.jay: Reconfigure to work with new PEAPI emission system
474
475 2003-02-10 Jackson Harper <jackson@latitudegeo.com>
476
477         * ILParser.jay: Use arg_list for method signatures, set method parameters
478
479 2003-02-09 Jackson Harper <jackson@latitudegeo.com>
480
481         * ILParser.jay: full names can be short names too (for members)
482
483 2003-02-09 Jackson Harper <jackson@latitudegeo.com>
484
485         * ILParser.jay: Use full names for calling instructions
486
487 2003-02-08 Jackson Harper <jackson@latitudegeo.com>
488
489         * ILParser.jay: Create type names properly
490
491 2003-02-08 Jackson Harper <jackson@latitudegeo.com>
492
493         * ILParser.jay: Handle argument lists better
494
495 2003-02-08 Jackson Harper <jackson@latitudegeo.com>
496
497         * ILParser.jay: Handle .local and newobj
498
499 2003-02-06 Jackson Harper <jackson@latitudegeo.com>
500
501         * ILParser.jay: Allow assembly names to have lots of dashes.
502
503 2003-02-06 Jackson Harper <jackson@latitudegeo.com>
504
505         * ILParser.jay: Add dash token, allow assembly refs to have dashes in their names.
506
507 2003-02-02 Jackson Harper <jackson@latitudegeo.com>
508
509         * ILParser.jay: Add call instruction, other little fixes and additions