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