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