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