ChangeLog 98.6 KB
Newer Older
1
2
3
4
5
2007-03-10  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: support interface properties and signals,
	  improve support for generics

6
7
8
9
10
11
12
2007-03-10  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valasymbolbuilder.vala,
	  vala/valasemanticanalyzer.vala, vala/valaproperty.vala: support
	  abstract, virtual, and override modifiers for properties
	* vala/parser.y: support get and set as identifiers

13
14
15
16
2007-03-10  Jürg Billeter  <j@bitron.ch>

	* vala/valatypereference.vala: correct cname of generic type parameters

17
18
19
20
21
2007-03-10  Jürg Billeter  <j@bitron.ch>

	* vala/valacreationmethod.vala, vala/valamethod.vala: fix overriding
	  cname of creation methods

22
23
24
25
26
27
28
29
2007-03-07  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: check whether a class implements all
	  abstract methods of base classes
	* vala/valacodenode.vala, vala/valadatatype.vala,
	  vala/valaexpression.vala, vala/valaliteral.vala: fix build with added
	  checks

30
31
32
33
2007-03-07  Jürg Billeter  <j@bitron.ch>

	* vala/valaclass.vala: implement get_type_parameter_index

34
35
36
37
38
2007-03-07  Raffaele Sandrini  <rasa@gmx.ch>

	* vala/valasemanticanalyzer.vala: check whether a class implements all
	  methods required by its super interfaces

39
40
41
42
43
44
45
46
2007-03-05  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l, vala/parser.y, vala/valacatchclause.vala,
	  vala/valathrowstatement.vala, vala/valatrystatement.vala,
	  vala/valacodevisitor.vala: add exception handling support to the
	  parser
	* vala/vala.h, vala/Makefile.am: update

47
48
49
50
51
52
53
54
2007-03-05  Raffaele Sandrini  <rasa@gmx.ch>

	* vala/valainterfaceregisterfunction.vala: add
	  `g_type_interface_add_prerequisite' calls during interface type
	  creation
	* vala/valasemanticanalyzer.vala: add checks for consistent interface
	  prerequisites and whether classes are obeying them

Jürg Billeter's avatar
Jürg Billeter committed
55
56
57
58
2007-03-04  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump

Jürg Billeter's avatar
Jürg Billeter committed
59
60
61
62
2007-03-04  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.7 release

63
64
65
66
67
2007-03-04  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: pack all embedded stataments in blocks
	* vala/vala.h: update

68
69
70
71
72
2007-03-04  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: check for inherited properties in
	  construct formal parameters

73
74
75
76
77
78
79
80
81
82
2007-03-04  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: don't allow interface implementations
	  to specify override
	* vala/valaconstant.vala, vala/valafield.vala,
	  vala/valaformalparameter.vala, vala/valamethod.vala,
	  vala/valaproperty.vala, vala/valasignal.vala,
	  vala/valavariabledeclarator.vala: remove override from interface
	  implementations

83
84
85
86
87
88
89
90
91
92
93
94
95
96
2007-03-04  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valainterface.vala,
	  vala/valasemanticanalyzer.vala: rename base_types of interfaces to
	  prerequisites to follow GObject terminology
	* vala/valamethod.vala, vala/valasemanticanalyzer.vala,
	  vala/valacodegenerator.vala: move interface usage part from
	  base_method to base_interface_method property
	* vala/valasemanticanalyzer.vala: don't require interface
	  implementations to specify override
	* vala/valacodegenerator.vala: support base access in interface
	  implementations
	* tests/test-017.vala: remove override in method declaration

97
98
99
100
101
102
2007-03-04  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: support lambda expressions in
	  constructors
	* tests/test-029.vala: remove extra printf argument

103
104
105
106
107
108
109
110
111
2007-03-04  Raffaele Sandrini  <rasa@gmx.ch>

	* vala/valasemanticanalyzer.vala, vala/parser.y,
	  vala/valaformalparameter.vala: add support for construct formal
	  creation method parameters
	* tests/test-029.vala, tests/test-029.out: add testcase for construct
	  formal parameters
	* tests/Makefile.am: update

112
113
114
115
116
117
118
2007-03-04  Raffaele Sandrini  <rasa@gmx.ch>

	* vala/valaattributeprocessor.vala, vala/valacharacterliteral.vala,
	  vala/valamethod.vala, vala/valasymbolbuilder.vala,
	  vala/valacodevisitor.vala, vala/valainterfacewriter.vala,
	  vala/valamemorymanager.vala: update/fix copyright notice

119
120
121
122
123
124
125
126
127
128
129
130
131
132
2007-03-03  Raffaele Sandrini  <rasa@gmx.ch>

	* vala/valaattributeprocessor.vala, vala/valamethod.vala,
	  vala/valacodegenerator.vala, vala/valacreationmethod.vala,
	  vala/valasymbolbuilder.vala, vala/valasemanticanalyzer.vala,
	  vala/parser.y, vala/valacodevisitor.vala,
	  vala/valainterfacewriter.vala, vala/valamemorymanager.vala:
	  add CreationMethod type; restrict creation methods bodys to contain
	  only property assignment statements
	* vala/valacharacterliteral.vala, vala/valacodegenerator.vala,
	  vala/valaarray.vala: fix the compiler to obey the new creation
	  method rules
	* vala/Makefile.am: update

133
134
135
136
137
2007-03-03  Jürg Billeter  <j@bitron.ch>

	* vapi/atk.vala, vapi/cairo.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala,
	  vapi/pango.vala: switch to new construction syntax

138
139
140
141
2007-03-03  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: remove support of old construction syntax

142
143
144
145
2007-03-03  Jürg Billeter  <j@bitron.ch>

	* Switch to new construction syntax

146
147
148
149
150
151
2007-03-03  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support new construction syntax
	* vala/valainterfacewriter.vala: write interface with new construction
	  syntax

152
153
154
155
156
157
158
159
2007-03-01  Jürg Billeter  <j@bitron.ch>

	* vala/valatypereference.vala: improve equality check
	* vala/valatypeparameter.vala: add type parameter equality check
	* vala/valasemanticanalyzer.vala: add symbol dependencies for
	  interfaces, support overriding methods of interfaces with
	  prerequisites

Jürg Billeter's avatar
Jürg Billeter committed
160
161
162
163
2007-02-28  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump

164
165
166
167
168
2007-02-28  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.6 release
	* tests/Makefile.am: correctly distribute test sources

Jürg Billeter's avatar
Jürg Billeter committed
169
170
171
172
173
2007-02-28  Jürg Billeter  <j@bitron.ch>

	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
	  updates and fixes

174
175
176
177
178
179
2007-02-28  Jürg Billeter  <j@bitron.ch>

	* tests/test-022.vala, tests/test-022.out: test Array.resize method and
	  Array.length field
	* vala/valacodegenerator.vala: update length when resizing arrays

180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
2007-02-27  Jürg Billeter  <j@bitron.ch>

	* vala/valacodenode.vala: mark source_reference as construction property
	  to allow access in Array constructor
	* vala/valaarraylengthfield.vala: the Array.length field
	* vala/valaarrayresizemethod.vala: the Array.resize method
	* vala/valaarray.vala: support arrays of generic type parameters, add
	  length field, add resize method
	* vala/valatypereference.vala: make source reference optional
	* vala/valatypeparameter.vala, vala/valasymbolresolver.vala,
	  vala/valasemanticanalyzer.vala: support arrays of generic type
	  parameters
	* vala/valadatatype.vala, vala/valacodegenerator.vala: support
	  Array.length field and Array.resize method
	* vala/Makefile.am: update

196
197
198
199
2007-02-27  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: accept interfaces with base types

200
201
202
203
204
2007-02-26  Jürg Billeter  <j@bitron.ch>

	* vala/valasymbolresolver.vala: fix error handling with unknown
	  namespaces

Jürg Billeter's avatar
Jürg Billeter committed
205
206
207
208
209
2007-02-26  Jürg Billeter  <j@bitron.ch>

	* tests/test-028.vala, tests/test-028.out: test enums
	* tests/Makefile.am: update

210
211
212
213
214
215
216
217
218
2007-02-26  Jürg Billeter  <j@bitron.ch>

	* tests/test-027.vala, tests/test-027.out: test postfix and prefix
	  expressions
	* tests/Makefile.am: update
	* vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala: support
	  prefix and postfix expressions for properties and parenthesized
	  expressions

219
220
221
222
223
2007-02-25  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala: improve
	  subtyping suport for structs

224
225
226
227
228
229
230
231
2007-02-25  Jürg Billeter  <j@bitron.ch>

	* tests/test-026.vala, tests/test-026.out: test hidden base method
	  access
	* tests/Makefile.am: update
	* vala/valasemanticanalyzer.vala: correct symbol_reference for base
	  access, add current_struct field

232
233
234
235
236
237
2007-02-25  Jürg Billeter  <j@bitron.ch>

	* tests/test-010.vala, tests/test-010.out: enhance assignment test
	* vala/valasemanticanalyzer.vala: correct bracketing in compound
	  assignments

Jürg Billeter's avatar
Jürg Billeter committed
238
239
240
241
2007-02-25  Jürg Billeter  <j@bitron.ch>

	* vala/valacodenode.vala: add to_string method

Jürg Billeter's avatar
Jürg Billeter committed
242
243
244
245
2007-02-25  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: improve GSource support

Raffaele Sandrini's avatar
Raffaele Sandrini committed
246
247
248
249
250
251
2007-02-22  Raffaele Sandrini  <rasa@gmx.ch>

	* vala/valacodegenerator.vala: don't allow NULL terminated arrays of
	  value-type structs and remove the check on such arrays in a freach
	  statement

252
253
254
255
256
2007-02-21  Jürg Billeter  <j@bitron.ch>

	* vala/valacallback.vala: support using instance methods as static
	  callbacks

257
258
259
260
261
2007-02-19  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: more string functions (patch by Cayle Graumann)

2007-02-18  Raffaele Sandrini  <rasa@gmx.ch>
262
263
264

	* vala/valainterfacewriter.vala: fix indentation for class definitions

Jürg Billeter's avatar
Jürg Billeter committed
265
266
267
268
2007-02-04  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: add GLib.Queue

269
270
271
272
273
2007-02-04  Jürg Billeter  <j@bitron.ch>

	* vala/valaconstant.vala: fix global constants
	* vapi/glib-2.0.vala: add NoArrayLength attribute to Process functions

274
275
276
277
278
2007-02-04  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: use correct type cname in array creation
	  expression, don't assume that all string arrays own their content

279
280
281
282
2007-02-04  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: fix crash when parsing array creation expression

283
284
285
286
287
2006-12-23  Jürg Billeter  <j@bitron.ch>

	* vala/valaattribute.vala: add get_bool method for boolean values
	* compiler/valacompiler.vala: print message when detecting option errors

288
289
290
291
292
293
294
2006-12-10  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: add message logging functions
	* vala/valasemanticanalyzer.vala: support enum to int conversions and
	  diagnostic methods
	* vala/valacodegenerator.vala: support do statements

295
296
297
298
2006-11-24  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: fix generating switch statements

299
300
301
302
303
2006-11-23  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: allow main methods without parameters and
	  main methods returning void, check complete signature of main method

304
305
306
307
308
2006-11-22  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valacodegenerator.vala: support enum members with
	  values

309
310
311
312
313
2006-11-22  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: add direct_hash and direct_equal
	* tests/Makefile.am: distribute reference output

314
315
316
317
318
319
2006-11-21  Jürg Billeter  <j@bitron.ch>

	* vala/valaclass.vala, vala/valaenum.vala, vala/valafield.vala,
	  vala/valainterface.vala, vala/valanamespace.vala,
	  vala/valastruct.vala: use new attribute functionality

320
321
322
323
324
325
326
2006-11-21  Jürg Billeter  <j@bitron.ch>

	* vala/valaattribute.vala: add has_argument, get_string, and get_integer
	  methods
	* vala/valacodenode.vala: add get_attribute method
	* vala/valamethod.vala: use new attribute functionality

327
328
329
330
331
332
2006-11-21  Jürg Billeter  <j@bitron.ch>

	* vala/valasymbolresolver.vala, vala/valasemanticanalyzer.vala: don't
	  require GLib namespace at runtime in symbol resolver and semantic
	  analyzer

333
334
335
336
337
338
2006-11-21  Jürg Billeter  <j@bitron.ch>

	* tests/testrunner.sh: add test script
	* tests/*.out: add reference output for test cases
	* tests/Makefile.am: add test environment

339
340
341
342
2006-11-20  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: fix code generation for structs

343
344
345
346
347
2006-11-11  Jürg Billeter  <j@bitron.ch>

	* configure.ac: remove AM_MAINTAINER_MODE to always rebuild scanner and
	  parser if changed

348
349
350
351
352
353
2006-11-09  Raffaele Sandrini  <rasa@gmx.ch>

	* vapi/glib-2.0.vala: add GArray and GTree structures
	* vala/valainterfacewriter.vala: write header files attributes for
	  classes

Jürg Billeter's avatar
Jürg Billeter committed
354
355
356
357
2006-11-09  Jürg Billeter  <j@bitron.ch>

	* vapi/libxml-2.0.vala: some fixes and additions

358
359
360
361
362
2006-11-08  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: support interfaces in header cycles
	* vala/valanamespace.vala: add get_interfaces method

Jürg Billeter's avatar
Jürg Billeter committed
363
364
365
366
2006-11-06  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support unary ~ operator

367
368
369
370
371
2006-11-06  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: use g_value_set_object for interfaces
	* vala/valainterface.vala: implement get_type_id

Jürg Billeter's avatar
Jürg Billeter committed
372
373
374
375
2006-11-02  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump

Jürg Billeter's avatar
Jürg Billeter committed
376
377
378
379
2006-11-02  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.5 release

380
381
382
383
384
385
2006-11-02  Jürg Billeter  <j@bitron.ch>

	* vala/valainterfacewriter.vala: write CCode.cname attribute for methods
	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
	  use CCode.cname attribute

386
387
388
389
390
2006-11-02  Raffaele Sandrini  <rasa@gmx.ch>

	* vala/valacodegenerator.vala: fix memory leak caused when container
	  expression transfers ownership to the foreach statement

391
392
393
394
395
396
397
2006-11-02  Jürg Billeter  <j@bitron.ch>

	* vala/valainterfacewriter.vala: don't use weak for value types
	* vala/valamethod.vala: make set_cname public
	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
	  add Gtk.Allocation, don't use weak for value types

398
399
400
401
402
403
404
405
406
2006-10-31  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: don't add NULL to end of variable
	  argument list for printf-style functions to reduce the number of
	  warnings during C compilation
	* vala/valamethod.vala: support PrintfFormat attribute
	* vala/vala.h: include valareport.h
	* vapi/glib-2.0.vala: use PrintfFormat attribute

Jürg Billeter's avatar
Jürg Billeter committed
407
408
409
410
411
2006-10-27  Jürg Billeter  <j@bitron.ch>

	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
	  miscellaneous fixes

412
413
2006-10-26  Raffaele Sandrini  <rasa@gmx.ch>

Jürg Billeter's avatar
Jürg Billeter committed
414
415
	* vala/valasemanticanalyzer.vala: make foreach iterator only visible to
	  the foreach body.
416
417
	* INSTALL: update

418
419
420
421
422
423
2006-10-26  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: don't create empty dispose functions,
	  support virtual methods with non-void return type
	* vapi/glib-2.0.vala: include glib/gstdio.h for GLib file functions

424
425
426
427
428
2006-10-26  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: explicitly cast callbacks to reduce the
	  number of warnings during C compilation

429
430
431
432
433
2006-10-26  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: convert integer to pointer for generic
	  parameters to reduce the number of warnings during C compilation

434
435
436
437
438
2006-10-26  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: cast object instances in return
	  statements to reduce the number of warnings during C compilation

439
440
441
442
443
2006-10-25  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: cast object instances in comparisons to
	  reduce the number of warnings during C compilation

444
445
446
447
448
449
450
451
452
2006-10-25  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala, vala/valaarray.vala,
	  vala/valacallback.vala, vala/valaclass.vala, vala/valadatatype.vala,
	  vala/valaenum.vala, vala/valaflags.vala, vala/valainterface.vala,
	  vala/valastruct.vala, vala/valatypereference.vala, vapi/glib-2.0.vala:
	  start to use const specifier for strings to reduce number of warnings
	  during C compilation

453
454
455
456
457
458
459
460
461
2006-10-25  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valacodevisitor.vala,
	  vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala,
	  vala/valabaseaccess.vala: support base access
	* vala/vala.h, vala/Makefile.am: update
	* tests/test-025.vala: test base access
	* tests/Makefile.am: update

462
463
464
465
466
467
468
469
2006-10-25  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump
	* compiler/valacompiler.vala: --version support
	* compiler/Makefile.am: always include config.h to keep compatibility
	* vapi/config.vala: add binding for config.h
	* vapi/Makefile.am: update

470
471
472
473
2006-10-25  Jürg Billeter  <j@bitron.ch>

	* vala/valasourcefile.vala: support dependencies on constants

474
475
476
477
478
2006-10-24  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: don't crash when comparing value type
	  with null

479
480
481
482
483
484
485
486
487
2006-10-24  Jürg Billeter  <j@bitron.ch>

	* vala/valasymbolresolver.vala: don't crash on already resolved type
	  references
	* vala/valasemanticanalyzer.vala: support typeof expression
	* vala/valacodegenerator.vala: improve support for null-terminated
	  arrays
	* vala/valainterfacewriter.vala: don't write type arguments for arrays

Jürg Billeter's avatar
Jürg Billeter committed
488
489
490
491
2006-10-08  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support enum values

Jürg Billeter's avatar
Jürg Billeter committed
492
493
494
495
2006-10-06  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.4 release

496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
2006-10-06  Raffaele Sandrini  <rasa@gmx.ch>

	* vapi/glib-2.0.vala, vala/valaflags.vala, vala/valaenum.vala,
	  vala/valadatatype.vala, vala/valaarray.vala, vala/valaclass.vala,
	  vala/valastruct.vala: add get and set value support
	* vala/valacodegenerator.vala: add user (arbitrary) signal support
	* vala/valadatatype.vala, vala/valamemorymanager.vala,
	  vala/valastruct.vala: correctly honor ref types in type arguments
	* ccode/valaccodedeclaration.vala, ccode/valaccodemodifiers.vala:
	  support register local variables
	* ccode/valaccodememberaccess.vala: make one line creation possible
	* vapi/glib-2.0.vala: fix return type of Glib.List.nth_data
	* tests/test-024.vala: add user signal test
	* tests/Makefile.am: update

511
512
513
514
515
2006-10-05  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valasemanticanalyzer.vala: complete support for
	  prefix increment and decrement operator

516
517
518
519
520
521
522
523
2006-10-05  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: transform compund assignments into
	  simple assignments
	* vala/valabinaryexpression.vala: add default argument to construction
	  method
	* tests/test-021.vala: test string += assignment

524
525
526
527
528
529
530
531
532
533
2006-10-04  Jürg Billeter  <j@bitron.ch>

	* vala/valasymbolresolver.vala: correct takes_ownership in arrays
	* vala/valacodegenerator.vala: add limited support for array length
	  fields, store array length from array creation expression, copy array
	  length in array assignments
	* vala/valafield.vala: support NoArrayLength attribute
	* compiler/valacompiler.vala: add NoArrayLength attribute to option
	  arrays

534
535
536
537
538
539
540
541
542
543
544
545
546
2006-10-04  Jürg Billeter  <j@bitron.ch>

	* vala/valasymbolresolver.vala, vala/valasemanticanalyzer.vala: specify
	  array element type as type argument
	* vala/valacodegenerator.vala: create declarations for array length
	  variables, iterate over arrays by index if it has known length
	* vala/valacharacterliteral.vala: correct return type of get_char
	* vala/valanamespace.vala: process enums and flags first
	* vala/valavariabledeclarator.vala: set parent_node of initializer, add
	  replace method
	* tests/test-023.vala: test list construction
	* tests/Makefile.am: update

547
548
549
550
2006-10-03  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: don't use InstanceCast for callbacks

551
2006-09-28  Raffaele Sandrini <rasa@gmx.ch>
552

553
554
555
556
557
558
	* vala/valacodegenerator.vala, vala/valasemanticanalyzer.vala,
	  vala/valamemorymanager.vala: add one dimensional array assignment
	  support
	* tests/test-022.vala: testcase for array creation/assignment
	* tests/Makefile.am: update

Jürg Billeter's avatar
Jürg Billeter committed
559
560
561
562
2006-09-28  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: add and improve various types

563
564
565
566
567
568
569
570
2006-09-28  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: set attributes also for non-readable properties
	* vala/valacodegenerator.vala: support interface signals
	* vala/valainvocationexpression.vala,
	  vala/valaobjectcreationexpression.vala: fix problem when children
	  change while iterating over them

571
572
573
574
575
576
577
578
579
2006-09-27  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala, vala/valainterfacewriter.vala,
	  vala/valamethod.vala: support InstanceByReference attribute
	* vapi/glib-2.0.vala: add Filename struct, fix Process methods
	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
	  fix static methods without parameters, add InstanceByReference
	  attributes

580
581
582
583
584
585
2006-09-27  Jürg Billeter  <j@bitron.ch>

	* vala/valainterface.vala: visit interface signals
	* vala/valainterfacewriter.vala: obey lock keyword
	* vapi/atk.vala, vapi/gtk+-2.0.vala: add interface signals

586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
2006-09-27  Raffaele Sandrini  <rasa@gmx.ch>

	* vapi/glib-2.0.vala: add threading and assorted structures
	* vala/valamember.vala: add an additional abstraction for all members
	  of a class
	* vala/valalockstatement.vala, vala/valacodegenerator.vala,
	  vala/scanner.l, vala/valasemanticanalyzer.vala,
	  vala/valalockable.vala, vala/parser.y, vala/valacodevisitor.vala:
	  add lock feature to vala
	* vala/valamethod.vala, vala/valafield.vala, vala/valaconstant.vala,
	  vala/valasignal.vala, vala/valaproperty.vala: make those members
	  lockable
	* vala/valacodegenerator.vala: use member abstraction to simlify field
	  initialisation and destruction
	* vala/valacodegenerator.vala: introduce new C macros VALA_FREE_CHECKED
	  and VALA_FREE_UNCHECKED to make safe freeing code nicer
	* vala/vala.h: update and bring arraycreationexpression in order
	* vala/Makefile.am: update

605
606
607
608
2006-09-27  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: add Process struct with spawn functions

Jürg Billeter's avatar
Jürg Billeter committed
609
610
611
612
613
2006-09-27  Jürg Billeter  <j@bitron.ch>

	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
	  fix global methods

614
615
616
617
618
619
2006-09-26  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: add string.reverse, Source.remove,
	  Environment.get_variable, Environment.set_variable,
	  Environment.get_current_dir, Path.is_absolute, Path.skip_root

Jürg Billeter's avatar
Jürg Billeter committed
620
621
622
623
624
625
626
627
628
629
630
2006-09-26  Jürg Billeter  <j@bitron.ch>

	* vala/valaassignment.vala, vala/valabinaryexpression.vala,
	  vala/valacastexpression.vala, vala/valadostatement.vala,
	  vala/valaexpressionstatement.vala, vala/valaforeachstatement.vala,
	  vala/valaforstatement.vala, vala/valaifstatement.vala,
	  vala/valainvocationexpression.vala, vala/valamemberaccess.vala,
	  vala/valaparenthesizedexpression.vala, vala/valareturnstatement.vala,
	  vala/valaswitchstatement.vala, vala/valaunaryexpression.vala,
	  vala/valawhilestatement.vala: add missing cast

631
632
633
634
635
636
637
2006-09-03  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: make character_literal stricter
	* vala/valacodegenerator.vala: support more method return types,
	  support unicode character literals
	* vala/valacharacterliteral.vala: validate input, add get_char method

638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
2006-09-02  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valacodecontext.vala,
	  vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
	  vala/valacodegenerator.vala, vala/valaarraycreationexpression.vala,
	  vala/valablock.vala, vala/valacallback.vala, vala/valaclass.vala,
	  vala/valaelementaccess.vala, vala/valafield.vala,
	  vala/valaformalparameter.vala, vala/valaforstatement.vala,
	  vala/valainitializerlist.vala, vala/valainterface.vala,
	  vala/valainvocationexpression.vala, vala/valainvokable.vala,
	  vala/valalambdaexpression.vala,
	  vala/valalocalvariabledeclaration.vala, vala/valamemberaccess.vala,
	  vala/valamethod.vala, vala/valanamespace.vala,
	  vala/valaobjectcreationexpression.vala, vala/valasignal.vala,
	  vala/valasourcefile.vala, vala/valastruct.vala,
	  vala/valaswitchsection.vala, vala/valaswitchstatement.vala,
	  vala/valatypereference.vala, vala/valavariabledeclarator.vala,
	  ccode/valaccodefragment.vala, vapi/glib-2.0.vala: always default type
	  arguments to strong
	* vala/valacodevisitor.vala, vala/valacodegenerator.vala,
	  vala/valaexpression.vala, vala/valareturnstatement.vala: avoid
	  unnecessary ref/unref pair in return expression
	* vala/valatypereference.vala: copy type arguments in copy method, too
	* vala/valasemanticanalyzer.vala: set type arguments in type_reference
	  of ObjectCreationExpression
	* vala/valadatatype.vala: fix warning

665
666
667
668
669
2006-09-02  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: special case construction of GLib.List
	  and GLib.SList (reported by Cayle Graumann)

670
671
672
673
674
675
676
2006-09-02  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l, vala/parser.y, vala/valasemanticanalyzer.vala,
	  vala/valacodegenerator.vala, vala/valainterfacewriter.vala,
	  vala/valamemberaccessibility.vala: prepare to support protected
	  members

677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
2006-09-02  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: don't set parent_node in parser
	* vala/valasemanticanalyzer.vala: support string + operator
	* vala/valaassignment.vala, vala/valabinaryexpression.vala,
	  vala/valacastexpression.vala, vala/valacodenode.vala,
	  vala/valadostatement.vala, vala/valaexpressionstatement.vala,
	  vala/valaforeachstatement.vala, vala/valaforstatement.vala,
	  vala/valaifstatement.vala, vala/valainvocationexpression.vala,
	  vala/valamemberaccess.vala, vala/valaobjectcreationexpression.vala,
	  vala/valaparenthesizedexpression.vala, vala/valareturnstatement.vala,
	  vala/valaswitchstatement.vala, vala/valaunaryexpression.vala,
	  vala/valawhilestatement.vala: set parent_node of child nodes, add
	  replace method
	* vala/valanullliteral.vala: add default argument to construction method
	* tests/test-021.vala: test string + operator
	* tests/Makefile.am: update

695
696
697
698
699
700
701
702
703
2006-09-02  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: support integer and floating point suffixes
	* vala/valasemanticanalyzer.vala: use correct type for integer and
	  floating point literals
	* vala/valaintegerliteral.val, vala/valarealliteral.vala: add
	  get_type_name method
	* vapi/glib-2.0.vala: add string to int64 conversion method

704
705
706
707
708
709
710
711
712
713
714
715
716
717
2006-09-02  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: use IntegerType, FloatingType, and
	  rank attributes to analyze arithmetic operations
	* vala/valacodegenerator.vala: generate C casts for explicit value-type
	  casts
	* vala/valastruct.vala: add is_integer_type, is_floating_type, and
	  get_rank methods, add IntegerType and FloatingType attributes
	* vala/valasemanticanalyzer.vala, vala/valacastexpression.vala,
	  vala/valainstancecast.vala, ccode/valaccodecastexpression.vala: fix
	  typos
	* vapi/glib-2.0.vala: add int16, uint16, int32, uint32, use IntegerType
	  and FloatingType attributes

718
719
720
721
722
723
724
725
726
2006-09-02  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: set accessibility for constants
	* vala/valasemanticanalyzer.vala: set return type in property set
	  accessors to void
	* vala/valacodegenerator.vala: move public constants to header file
	* vala/valaclass.vala: don't create fields for properties in VAPI files
	* vala/valaconstant.vala: add access member

Jürg Billeter's avatar
Jürg Billeter committed
727
728
729
730
2006-09-02  Jürg Billeter  <j@bitron.ch>

	* vapi/cairo.vala: mark Matrix as reference type

731
732
733
734
735
2006-08-24  Jürg Billeter  <j@bitron.ch>

	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
	  mark virtual methods appropriately

736
737
738
739
740
741
742
2006-08-24  Jürg Billeter  <j@bitron.ch>

	* vala/valaattributeprocessor.vala, vala/valacodegenerator.vala,
	  vala/valainterface.vala, vala/valainterfaceregisterfunction.vala: add
	  possibility to change interface type struct cname, default to `Iface'
	  suffix (reported by Dominique Würtz)

743
744
745
746
747
748
2006-08-23  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: support calling non-abstract interface
	  methods
	* vala/valainterface.vala: add get_base_types method

749
750
751
752
753
2006-08-20  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump, fail if flex or bison not
	  found

Jürg Billeter's avatar
Jürg Billeter committed
754
755
756
757
2006-08-18  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.3 release

758
759
760
761
762
2006-08-18  Jürg Billeter  <j@bitron.ch>

	* compiler/valacompiler.vala, vapi/glib-2.0.vala, vapi/gtk+-2.0.vala:
	  use array length functionality

763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
2006-08-18  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: support implicit array length parameter
	* vala/valainterfacewriter.vala, vala/valaformalparameter.vala,
	  vala/valamethod.vala: support NoArrayLength attribute
	* compiler/valacompiler.vala, vapi/atk.vala, vapi/cairo.vala,
	  vapi/gdk-2.0.vala, vapi/glib-2.0.vala, vapi/gtk+-2.0.vala,
	  vapi/pango.vala: add NoArrayLength attributes
	* tests/test-001.vala, tests/test-002.vala, tests/test-003.vala,
	  tests/test-004.vala, tests/test-005.vala, tests/test-006.vala,
	  tests/test-007.vala, tests/test-008.vala, tests/test-009.vala,
	  tests/test-010.vala, tests/test-011.vala, tests/test-012.vala,
	  tests/test-013.vala, tests/test-014.vala, tests/test-015.vala,
	  tests/test-016.vala, tests/test-017.vala, tests/test-018.vala,
	  tests/test-019.vala, tests/test-020.vala: remove argc parameter

779
780
781
782
783
784
785
786
2006-08-18  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: remove read/write tokens
	* compiler/valacompiler.vala: support package dependencies
	* vapi/gdk-2.0.deps
	* vapi/gtk+-2.0.deps
	* vapi/Makefile.am: update

787
788
789
790
791
792
793
794
795
796
797
2006-08-18  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valastruct.vala: support base types for structs
	* vala/valainterfacewriter.vala: obey set keyword
	* vapi/glib-2.0.vala: add SignalInvocationHint, SignalEmissionHook,
	  SignalFlags, ValueArray, Math, Timeout, and PtrArray
	* vapi/cairo.vala: initial cairo binding
	* vapi/pango.vala, vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala:
	  bindings generated from Pango 1.13.5, ATK 1.12.1, and GTK+ 2.10.1
	* vapi/Makefile.am: update

798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
2006-08-11  Raffaele Sandrini  <rasa@gmx.ch>

	* vala/valasymbolresolver.vala, vala/valatypereference.vala,
	  vala/valaelementaccess.vala, vala/valadatatype.vala, vala/parser.y,
	  vala/valaarray.vala: make those classes ready to process
	  multidimensional arrays.
	* vala/scanner.l: remove ARRAY_QUALIFIER token
	* vala/valasemanticanalyzer.vala, vala/parser.y,
	  vala/valacodegenerator.vala, vala/valacodegenerator.vala,
	  vala/valacodevisitor.vala: add multidimensional array support however
	  only one dimensional arrays can be created yet
	* vala/Makefile.am, vala/vala.h: update
	* vala/valatypereference.vala: remove source reference parameter
	  when creating from an expression
	* vala/valacodegenerator.vala: add support for uint, long and ulong
	  properties

815
816
817
818
819
820
821
822
823
824
2006-08-10  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: support hexadecimal and octal integer literals,
	  support hexadecimal escape sequences, support BASE and THIS
	* vala/parser.y: use BASE and THIS keywords
	* vala/valasemanticanalyzer.vala: don't use new base keyword as variable
	  name
	* vala/valacodegenerator.vala: simplify code
	* vala/valainterfacewriter.vala: obey base keyword

825
826
827
828
829
830
2006-08-10  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: fix memory management in switch
	  statements
	* tests/test-020.vala: extend switch statement test

831
832
833
834
835
836
837
838
839
840
841
2006-08-10  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: support switch statements
	* vala/valaswitchsection.vala: add has_default_label () and
	  get_statements () methods
	* vala/valaswitchstatement.vala: add get_sections () method
	* ccode/valaccodedostatement.vala
	* ccode/Makefile.am: update
	* tests/test-020.vala: test switch statements
	* tests/Makefile.am: update

842
843
844
845
846
847
848
849
850
851
2006-08-10  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala: use
	  Invokable
	* vala/valainvokable.vala
	* vala/valafield.vala, vala/valaformalparameter.vala,
	  vala/valamethod.vala, valasignal.vala,
	  vala/valavariabledeclarator.vala: implement Invokable
	* vala/Makefile.am: update

852
853
854
855
856
857
858
859
860
861
862
863
864
2006-08-10  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support constants in namespaces and constants without
	  initializer
	* vala/valasemanticanalyzer.vala: depend on implemented interfaces
	* vala/valacodegenerator.vala: always include glib-object.h for
	  interfaces, append NULL to variable argument list calls
	* vala/valainterfacewriter.vala: support constants and ellipsis
	  parameters
	* vala/valaconstant.vala: make initializer optional
	* vala/valainterface.vala: implement get_lower_case_cprefix ()
	* vala/valanamespace.vala: support constants

865
866
867
868
869
870
871
872
873
874
875
876
877
878
2006-08-10  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: accept real literals with trailing dot
	* vala/valasymbolresolver.vala: ignore non-type symbols
	* vala/valacodegenerator.vala: support float and double properties,
	  adapt to Field changes, support compound assignments in properties
	* vala/valainterfacewriter.vala: support ReferenceType attribute
	* vala/valaclass.vala: implement get_lower_case_cprefix ()
	* vala/valadatatype.vala: add get_lower_case_cprefix () method
	* vala/valafield.vala: let get_cname return full C name
	* vala/valamethod.vala: use DataType.get_lower_case_cprefix ()
	* vala/valastruct.vala: implement get_lower_case_cprefix (), add
	  set_is_reference_type () method

879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
2006-08-09  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: adapt to Vala.Signal change
	* vala/valaattributeprocessor.vala: process signal attributes
	* vala/valacodegenerator.vala: manage memory of element access
	  expressions, mark get_property and set_property functions static,
	  support signal emitter functions
	* vala/valacodecontext.vala: use get_cinclude_filename method
	* vala/valainterfacewriter.vala: use C header filename of namespace,
	  support signals, support NoAccessorMethod attribute
	* vala/valadatatype.vala: add default arguments
	* vala/valaenum.vala: make set_cprefix method public
	* vala/valanamespace.vala: add get_cheader_filename and
	  set_cheader_filename methods
	* vala/valasignal.vala: add has_emitter property, add process_attributes
	  method
	* vala/valasourcefile.vala: add get_cinclude_filename method
	* compiler/valacompiler.vala: adapt to SourceFile changes

898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
2006-08-05  Jürg Billeter  <j@bitron.ch>

	* vala/valaparser.vala: only parse .vala source files
	* vala/valasymbolbuilder.vala, vala/valaproperty.vala: support disabling
	  automatic property accessor generation
	* vala/valasemanticanalyzer.vala: fix typo
	* vala/valacodegenerator.vala, vala/valainterfacewriter.vala,
	  vala/valacodecontext.vala: use correct includes for libraries
	* vala/valacodegenerator.vala: use get_canonical_cconstant method for
	  signals
	* vala/valainterfacewriter.vala: support interfaces, non-null types,
	  callbacks, and construction methods
	* vala/valasignal.vala: add get_canonical_cconstant method
	* vala/valaenum.vala, vala/valainterface.vala, vala/valanamespace.vala,
	  vala/valastruct: add default arguments
	* vala/Makefile.am: install libvala.so and header files
	* ccode/Makefile.am: install header files
	* compiler/valacompiler.vala: set library name in code context
	* compiler/Makefile.am: adapt to build system changes
	* vapi/glib-2.0.vala: add skeletons for Callback, Closure, IOChannel,
	  TimeVal, Scanner, SpawnFlags, OptionGroup, MarkupParser, and Quark
	* vapi/Makefile.am: add vala-1.0.vala
	* vala-1.0.pc.in
	* configure.ac: disable static library by default, add vala-1.0.pc
	* Makefile.am: add vala-1.0.pc

Jürg Billeter's avatar
Jürg Billeter committed
924
925
926
927
2006-08-02  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump.

928
929
930
931
932
933
934
935
936
937
2006-08-02  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.2 release
	* vala/valasemanticanalyzer.vala: check for floating reference in
	  construction methods
	* vala/valasourcefile.vala, vala/valacodegenerator.vala,
	  ccode/valaccodeincludedirective.vala: differentiate between
	  package-internal and external includes
	* vapi/gtk+-2.0.vala: port to construction methods

938
939
940
941
942
943
944
945
946
947
2006-08-02  Jürg Billeter  <j@bitron.ch>

	* port to construction methods
	* vala/valaparenthesizedexpression.vala, vala/valareport.vala,
	  vala/valareturnstatement.vala, vala/valasourcefilecycle.vala,
	  vala/valasourcereference.vala, vala/valatypecheck.vala,
	  vala/valatypeofexpression.vala, vala/valatypeparameter.vala: add
	  interface documentation, use implicit namespace specification
	* vala/Makefile.am: sort source file list

948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
2006-08-02  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valacodevisitor.vala, vala/valasymbolbuilder.vala,
	  vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala,
	  vala/valainterfacewriter.vala, vala/valaclass.vala,
	  vala/valaexpressionstatement.vala, vala/valamethod.vala,
	  vala/valaobjectcreationexpression.vala, vala/valastatement.vala,
	  vala/valastruct.vala: add support for construction methods
	* vala/valabooleanliteral.vala, vala/valaexpression.vala,
	  vala/valaintegerliteral.vala, vala/valaliteral.vala,
	  vala/valaliteralexpression.vala, vala/valamemberaccess.vala: add
	  to_string method
	* vala/valamemberaccess.vala, vala/valatypereference.vala: support
	  storing type arguments in MemberAccess
	* vala/valacodenode.vala: add parent_node property
	* vala/parser.y, vala/valaifstatement.vala: only allow blocks as
	  embedded statements
	* vala/valaenum.vala: implement get_type_id method
	* vala/valainterfacewriter.vala: output default expressions of formal
	  parameters
	* vala/valaformalparameter.vala: visit default expression
	* vala/valaobjectcreationexpression.vala, vala/valanullliteral.vala,
	  vala/valaproperty.vala, vala/valapropertyaccessor.vala: add interface
	  documentation, use implicit namespace specification
	* vala/vala.h: add valaelementaccess.h and valarealliteral.h
	* ccode/valaccodememberaccess.vala: don't mark is_pointer as construct
	* vapi/glib-2.0.vala: add GValue
	* vapi/gtk+-2.0.vala: small updates

977
978
979
980
981
982
983
984
985
986
987
988
989
990
2006-07-31  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support prefix increment and decrement, fix parsing
	  opening parens
	* vala/valasemanticanalyzer.vala: fix some bugs in error handling,
	  support prefix increment and decrement
	* vala/valacodegenerator.vala: support prefix increment and decrement
	* vala/valanamespace.vala: add interface documentation, use implicit
	  namespace specification
	* vala/valaunaryexpression.vala: support prefix increment and decrement
	* ccode/valaccodeunaryexpression.vala: support prefix increment and
	  decrement
	* vapi/glib-2.0.vala: add Environment struct

991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
2006-07-27  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: support CASE, DEFAULT, DO, and SWITCH
	* vala/parser.y: support switch and do statements
	* vala/valacodevisitor.vala: add support for switch and do statements
	* vala/valadostatement.vala
	* vala/valaswitchlabel.vala
	* vala/valaswitchsection.vala
	* vala/valaswitchstatement.vala
	* vala/valastatement.vala, vala/valasymbol.vala,
	  vala/valaunaryexpression.vala, vala/valavariabledeclarator.vala,
	  vala/valawhilestatement.vala: add interface documentation, use
	  implicit namespace specification
	* vala/vala.h, vala/Makefile.am: update
	* vapi/glib-2.0.vala: don't use default keyword

1007
1008
1009
1010
1011
2006-07-27  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support for loops with local variable declaration in
	  initializer

1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
2006-07-27  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: don't require developer to explicitly write static in
	  namespace field declarations, support type parameters in interfaces
	  and callbacks
	* vala/valasymbolresolver.vala: support interfaces and callbacks
	* vala/valasemanticanalyzer.vala: use is_subtype_of method, support
	  callbacks in fields
	* vala/valamemorymanager.vala: support callbacks in fields
	* vala/valacodegenerator.vala: support callbacks in fields
	* vala/valacallback.vala: support type parameters
	* vala/valaclass.vala: add is_subtype_of method
	* vala/valadatatype.vala: add is_subtype_of method
	* vala/valainterface.vala: add is_subtype_of method

1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
2006-07-26  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: support casting arrays
	* vala/parser.y: don't require developer to explicitly write static in
	  namespace method declarations
	* vala/valaarray.vala: correct cname for arrays with value-type elements
	* vala/valacodenode.vala: save source line reference in ccodenode
	* ccode/valaccodelinedirective.vala
	* ccode/valaccodenode.vala: support source line reference
	* ccode/Makefile.am: update
	* vapi/glib-2.0.vala: add to_string methods to integer types, add size
	  method to string, add u_sleep method to Thread, fix memory management
	  in List and SList, add sort method to List

1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
2006-07-19  Jürg Billeter  <j@bitron.ch>

	* vala/valatypereference.vala: use more expressive property names, add
	  stricter () method
	* vala/parser.y, vala/valasymbolbuilder.vala,
	  vala/valasymbolresolver.vala, vala/valasemanticanalyzer.vala,
	  vala/valamemorymanager.vala, vala/valacodegenerator.vala,
	  vala/valainterfacewriter.vala, vala/valasourcefile.vala,
	  vala/valacallback.vala, vala/valaclassregisterfunction.vala,
	  vala/valasignal.vala: adapt to changes in TypeReference
	* vala/valasourcefile.vala: replace public fields by properties /
	  private fields
	* vala/valacodecontext.vala: adapt to changes in SourceFile
	* vala/valaparser.vala: correct handling of source files without header
	  comments
	* vala/valasymbolbuilder.vala: don't generate code for VAPI files
	* vala/valasemanticanalyzer.vala: report error respectively warning if
	  method return type misses ownership transfer
	* vala/valainterfacewriter.vala: correct property declaration output
	* vala/valaparser.vala, vala/valasourcefile.vala, vala/valaliteral.vala,
	  vala/valamemberaccessibility.vala, vala/valanamedargument.vala,
	  vala/valanamespacereference.vala, vala/valatypereference.vala: add
	  interface documentation, use implicit namespace specification

1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
2006-07-18  Jürg Billeter  <j@bitron.ch>

	* vala/valasymbolresolver.vala: make sure that current_scope isn't null
	* vala/valamemorymanager.vala: start to support memory management with
	  generics
	* vala/valacodegenerator.vala: support iteration over SList, properties
	  without accessor methods
	* vapi/glib-2.0.vala: add string.hash (), Error fields and SList
	* vapi/gtk+-2.0.vala: add StatusIcon class
	* README: mention exceptions

1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
2006-07-16  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump.
	* vala/parser.y: remove g_object_unref call to fix crash in parsing
	  array declarations
	* vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala: support
	  creating structs
	* vapi/glib-2.0.vala: GString enhancements
	* vapi/Makefile.am: dist gtk+-2.0.vala and pango.vala

1086
1087
1088
1089
1090
1091
1092
1093
1094
2006-07-15  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.1 release
	* README: add introduction
	* COPYING: replace by LGPL
	* compiler/valacompiler.vala: add /usr/local/share/vala/vapi ad default
	  vapi search dir
	* vapi/glib-2.0.vala: File and HashTable enhancements

1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
2006-07-14  Raffaele Sandrini  <rasa@gmx.ch>

	* vala/valacodegenerator.vala, vala/valasymbolresolver.vala,
	  vala/scanner.l, vala/valatypereference.vala,
	  vala/valasemanticanalyzer.vala, vala/valaelementaccess.vala,
	  vala/valadatatype.vala, vala/parser.y, vala/valaarray.vala,
	  vala/valacodevisitor.vala, ccode/valaccodeelementaccess.vala: add
	  element access support
	* vala/valasemanticanalyzer.vala: add visit_postfix_expression
	  implementation
	* tests/test-019.vala: add element access testcase
	* vala/Makefile.am, tests/Makefile.am, ccode/Makefile.am: update

1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
2006-07-14  Jürg Billeter  <j@bitron.ch>

	* vala/valacodecontext.vala: ignore file-internal dependencies
	* vala/valasemanticanalyzer.vala: mark string literals as non-null, add
	  some implicit casts
	* vala/valamemorymanager.vala: only check for leaks with reference
	  types, manage memory in field initializers
	* vala/valacodegenerator.vala: add non-null parameter typechecks for
	  structs, simplify ref expression if expression is known to be non-null
	* vapi/glib-2.0.vala: unichar, string, String, and Path enhancements,
	  add Base64 and Dir

1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
2006-07-10  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: adapt to changes in InvocationExpression,
	  LocalVariableDeclaration, and InitializerList
	* vala/valasemanticanalyzer.vala: add some implicit casts, fix assigning
	  callback to field, adapt to changes in InvocationExpression
	* vala/valamemorymanager.vala: adapt to change in InvocationExpression
	* vala/valacodegenerator.vala: fix signal handler without parameters,
	  fix access to value-type struct members, adapt to changes in
	  LocalVariableDeclaration, InitializerList, and InvocationExprssion
	* vala/valaclass.vala: don't let private static fields influence
	  has_private_fields, correct marshaller type name
	* vala/valaifstatement.vala, vala/valainitializerlist.vala,
	  vala/valainstancecast.vala, vala/valaintegerliteral.vala,
	  vala/valainvocationexpression.vala, vala/valaliteralexpression.vala,
	  vala/valalocalvariabledeclaration.vala: add interface documentation,
	  use implicit namespace specification
	* compiler/valacompiler.vala: fix --vapidir handling
	* vapi/glib-2.0.vala: add MainLoop, MainContext, IdleSource, Source, and
	  Thread

1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
2006-07-08  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: don't allow write access to read-only
	  properties
	* vala/valacodegenerator.vala: adapt to changes in CCodeFragment and
	  CCommaExpression
	* vala/valapostfixexpression.vala, ccode/valaccodebinaryexpression.vala,
	  ccode/valaccodeblock.vala, ccode/valaccodebreakstatement.vala,
	  ccode/valaccodecasestatement.vala,
	  ccode/valaccodecommaexpressoin.vala, ccode/valaccodecomment.vala,
	  ccode/valaccodeconditionalexpression.vala,
	  ccode/valaccodeconstant.vala, ccode/valaccodecontinuestatement.vala,
	  ccode/valaccodedeclaration.vala, ccode/valaccodedeclarator.vala,
	  ccode/valaccodeenum.vala, ccode/valaccodeemptystatement.vala,
	  ccode/valaccodeexpressionstatement.vala,
	  ccode/valaccodeformalparameter.vala, ccode/valaccodeforstatement.vala,
	  ccode/valaccodefragment.vala, ccode/valaccodefunction.vala,
	  ccode/valaccodefunctioncall.vala,
	  ccode/valaccodefunctiondeclarator.vala,
	  ccode/valaccodeidentifier.vala, ccode/valaccodeifstatement.vala,
	  ccode/valaccodeincludedirective.vala,
	  ccode/valaccodeinitializerlist.vala,
	  ccode/valaccodemacroreplacement.vala,
	  ccode/valaccodememberaccess.vala, ccode/valaccodemodifiers.vala,
	  ccode/valaccodenewline.vala, ccode/valaccodeoncesection.vala,
	  ccode/valaccodeparenthesizedexpression.vala,
	  ccode/valaccodereturnstatement.vala, ccode/valaccodestatement.vala,
	  ccode/valaccodestruct.vala, ccode/valaccodeswitchstatement.vala,
	  ccode/valaccodeunaryexpression.vala,
	  ccode/valaccodevariabledeclarator.vala,
	  ccode/valaccodewhilestatement.vala, ccode/valaccodewriter.vala: add
	  interface documentation, use implicit namespace specification

1174
1175
1176
1177
2006-07-08  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: don't allow access to private members

1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
2006-07-08  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: check method signatures of overriding
	  methods
	* vala/parser.y, vala/valaclassregisterfunction.vala,
	  vala/valatyperegisterfunction.vala: support abstract classes
	* vala/valamethod.vala: add equals method
	* vala/valatypereference.vala: add equals method
	* corrects overriding methods to match signatures of overridden methods
	  to fix build with current compiler

1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
2006-07-08  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valacodegenerator.vala: adapt to ForStatement API
	  changes
	* vala/valaclass.vala: make {get,set}_lower_case_csuffix methods private
	* vala/valaenum.vala, vala/valaenumvalue.vala,
	  vala/valaexpressionstatement.vala, vala/valafield.vala,
	  vala/valaflags.vala, vala/valaflagsvalue.vala,
	  vala/valaforeachstatement.vala, vala/valaforstatement.vala: add
	  interface documentation, use implicit namespace specification

1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
2006-07-08  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: adapt to Method API changes
	* vala/valasemanticanalyzer.vala: support signals, mark private signal
	  handlers as instance_last
	* vala/valamemorymanager.vala: support signals
	* vala/valacodegenerator.vala: support signals, methods with
	  instance_last
	* vala/valaclass.vala: add get_type_id and get_marshaller_type_name
	  methods
	* vala/valadatatype.vala: add get_marshaller_type_name method
	* vala/valastruct.vala: move type_id attribute to CCode, support
	  marshaller_type_name attribute
	* vala/valainterfacewriter.vala, vala/valamethod.vala,
	  vala/valastruct.vala, ccode/valaccodeexpression.vala,
	  ccode/valaccodenode.vala: add interface documentation, use implicit
	  namespace specification
	* vala/valacallback.vala, vala/valasignal.vala: improve documentation
	* ccode/valaccodecastexpression.vala: type cast in C code
	* ccode/Makefile.am: update
	* tests/test-018.vala: test signals
	* tests/Makefile.am: update
	* vapi/glib-2.0.vala: add type_id and marshaller_type_name attributes

1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
2006-07-07  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala, vala/valaclassregisterfunction.vala:
	  support interfaces
	* vala/parser.y, vala/valasemanticanalyzer.vala,
	  vala/valalambdaexpression.vala: support lambda expressions with
	  statement body
	* vala/valaclassregisterfunction.vala, vala/valaemptystatement.vala,
	  vala/valainterface.vala, vala/valainterfaceregisterfunction.vala,
	  vala/valatyperegisterfunction.vala: add interface documentation, use
	  implicit namespace specification
	* tests/test-015.vala: test lambda expressions with statement body
	* tests/test-017.vala: test interfaces
	* tests/Makefile.am: update

1239
1240
1241
1242
1243
1244
2006-07-07  Jürg Billeter  <j@bitron.ch>

	* vala/valaconstructor.vala, vala/valacontinuestatement.vala,
	  vala/valadeclarationstatement.vala, vala/valadestructor.vala: add
	  interface documentation, use implicit namespace specification

1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
2006-07-07  Jürg Billeter  <j@bitron.ch>

	* vala/valacodecontext.vala: use continue statements to decrease
	  indentation levels
	* vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
	  vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
	  vala/valacodegenerator.vala, vala/valaconditionalexpression.vala,
	  vala/valaconstant.vala: add interface documentation, use implicit
	  namespace specification
	* vala/valasemanticanalyzer.vala: check that if, while, for, and
	  conditional expression conditions are boolean
	* vala/valaclass.vala: remove dummy accessor, breaks build with old
	  vala compiler
	* compiler/valacompiler.vala: use implicit namespace specification
	* tests/test-016.vala: test conditional expressions
	* tests/Makefile.am: update

1262
1263
1264
1265
1266
1267
1268
2006-07-07  Jürg Billeter  <j@bitron.ch>

	* vala/valacodecontext.vala: add interface documentation, use implicit
	  namespace specification
	* vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
	  vala/valasemanticanalyzer.vala: adapt to change in CodeContext

1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
2006-07-06  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valacodevisitor.vala, vala/valasymbolbuilder.vala,
	  vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
	  vala/valacodegenerator.vala, vala/valatypereference.vala, vala/vala.h,
	  vala/Makefile.am: merge SimpleName into MemberAccess
	* vala/valasymbolresolver.vala, vala/valainterfacewriter.vala: adapt to
	  change in Class
	* vala/valasemanticanalyzer.vala: support non-static lambda expressions
	  and lambda expressions without return values
	* vala/valacodegenerator.vala: support conditional expressions, support
	  lambda expressions as signal handlers, support read-only and
	  write-only properties
	* vala/valacodevisitor.vala, vala/valamemorymanager.vala,
	  vala/valaassignment.vala: visit at beginning and end
	* vala/valacallback.vala: add instance property
	* vala/valasignal.vala: add get_callback method
	* vala/valacastexpression.vala, vala/valacharacterliteral.vala,
	  vala/valaclass.vala, vala/valamemberaccess.vala, vala/valasignal.vala:
	  add interface documentation, use implicit namespace specification

1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
2006-07-05  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: don't pass parameter list to lambda expression
	  contructor
	* vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
	  vala/valacodegenerator.vala: support static lambda expressions and
	  nested methods
	* vala/valainvocationexpression.vala: visit call node before visiting
	  begin of invocation expression
	* vala/valaformalparameter.vala, vala/valalambdaexpression.vala: add
	  interface documentation, use implicit namespace specification
	* vala/valamethod.vala: allow nested methods
	* tests/test-015.vala: test lambda expressions
	* tests/Makefile.am: update

1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
2006-07-04  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support implicit namespace specification in callback
	  declaration
	* vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
	  vala/valacodegenerator.vala: support callbacks
	* vala/valaassignment.vala, vala/valabinaryexpression.vala: improve
	  documentation
	* vala/valabooleanliteral.vala, vala/valabreakstatement.vala,
	  vala/valacallback.vala: add interface documentation, use implicit
	  namespace specification
	* vala/valacallback.vala: add matches_method method, mark as
	  non-reference type
	* ccode/valaccodetypedefinition.vala: replace typedef_name by
	  declarator, add interface documentation, use implicit namespace
	  specification
	* tests/test-013.vala: test break
	* tests/test-014.vala: test callback
	* tests/Makefile.am: update

1325
1326
1327
1328
1329
1330
1331
1332
2006-07-04  Jürg Billeter  <j@bitron.ch>

	* vala/valablock.vala: add interface documentation, use implicit
	  namespace specification
	* tests/test-011.vala: test binary expressions
	* tests/test-012.vala: test blocks
	* configure.ac, Makefile.am, tests/Makefile.am: distribute tests

1333
1334
1335
1336
1337
1338
1339
1340
2006-07-04  Jürg Billeter  <j@bitron.ch>

	* vala/valacodevisitor.vala, vala/valaattributeprocessor.vala,
	  vala/valabinaryexpression.vala: add interface documentation, use
	  implicit namespace specification
	* vala/valaassignment.vala, vala/valaattribute.vala: documentation
	  corrections

1341
1342
1343
1344
1345
1346
1347
1348
1349
2006-07-04  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: generate assignment with appropriate
	  operator
	* vala/valaassignment.vala: use implicit namespace specification
	* ccode/valaccodeassignment.vala: support assignment operators , add
	  interface documentation, use implicit namespace specification
	* tests/test-010.vala: test assignments

1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
2006-07-03  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support implicit namespace specification in struct,
	  interface, enum, and flags declaration
	* vala/valasymbolbuilder.vala: report error when declaring non-static
	  namespace methods
	* vala/valasemanticanalyzer.vala: analyze return statements
	* vala/valacodegenerator.vala: correctly set GParamFlags for properties,
	  initialize static variables, add preconditions to property accessors,
	  support namespace methods
	* vala/valaassignment.vala, vala/valaattribute.vala: add interface
	  documentation, use implicit namespace specification
	* tests/test-001.vala, tests/test-002.vala, tests/test-003.vala,
	  tests/test-004.vala, tests/test-005.vala, tests/test-006.vala,
	  tests/test-007.vala, tests/test-008.vala, tests/test-009.vala:
	  update test cases to print test values

1367
1368
1369
1370
1371
1372
2006-06-30  Jürg Billeter  <j@bitron.ch>

	* vala/valacodenode.vala, vala/valadatatype.vala,
	  vala/valaexpression.vala: use implicit namespace specification,
	  reformat code

1373
1374
1375
1376
1377
2006-06-30  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support implicit namespace specification in class
	  declaration

1378
1379
1380
1381
1382
1383
1384
1385
1386
2006-06-29  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala, vala/valaclass.vala,
	  vala/valadatatype.vala, vala/valastruct.vala: distinguish between
	  ref_function/unref_function and dup_function/free_function
	* vala/valadatatype.vala: add interface documentation
	* vapi/glib-2.0.vala: use dup_function attribute, keep ref_function for
	  compatibility

Jürg Billeter's avatar
Jürg Billeter committed
1387
1388
1389
1390
1391
2006-06-29  Jürg Billeter  <j@bitron.ch>

	* vala/valacodenode.vala, vala/valaexpression.vala: add interface
	  documentation

1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
2006-06-28  Jürg Billeter  <j@bitron.ch>

	* vala/valasymbolbuilder.vala: add private add_symbol helper method
	* vala/valasymbolresolver.vala: tiny refactoring of GObject lookup
	* vala/valasemanticanalyzer.vala: use get_parameters method of Callback
	* vala/valacallback.vala, vala/valaintegerliteral.vala,
	  vala/valarealliteral.vala, vala/valastringliteral.vala: replace public
	  fields by properties / private fields, don't mark properties as
	  construct-only, use non-null types
	* vala/valaattribute.vala, vala/valacodenode.vala,
	  vala/valaconstructor.vala, vala/valadatatype.vala,
	  vala/valadestructor.vala, vala/valaenumvalue.vala,
	  vala/valaexpression.vala, vala/valafield.vala,
	  vala/valaflagsvalue.vala, vala/valaformalparameter.vala,
	  vala/valaliteral.vala, vala/valalocalvariabledeclaration.vala,
	  vala/valamethod.vala, vala/valanamedargument.vala,
	  vala/valanamespace.vala, vala/valanamespacereference.vala,
	  vala/valaproperty.vala, vala/valapropertyaccessor.vala,
	  vala/valasignal.vala, vala/valastatement.vala,
	  vala/valatypeparameter.vala, vala/valatypereference.vala,
	  vala/valavariabledeclarator.vala: move source_reference to CodeNode

1414
1415
1416
1417
1418
1419
1420
1421
2006-06-28  Jürg Billeter  <j@bitron.ch>

	* vala/valabooleanliteral.vala, vala/valacharacterliteral.vala,
	  vala/valaintegerliteral.vala, vala/valaliteral.vala,
	  vala/valanullliteral.vala, vala/valarealliteral.vala,
	  vala/valastringliteral.vala: move source_reference to Vala.Literal,
	  use non-null types, don't mark properties as construct-only

1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
2006-06-26  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: plug some memory leaks, adapt to Vala.Block changes
	* vala/valaattribute.vala, vala/valabinaryexpression.vala,
	  vala/valablock.vala, vala/valabooleanexpression.vala,
	  vala/valabreakstatement.vala, vala/valaliteral.vala,
	  vala/valastatement.vala: replace public fields by properties / private
	  fields, don't mark properties as construct-only, use non-null types
	* vala/valadatatype.vala: renamed from Vala.Type_ to Vala.DataType
	* vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
	  vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala,
	  vala/valasourcefile.vala, vala/valacallback.vala, vala/valaclass.vala,
	  vala/valaclassregisterfunction.vala, vala/valaconstant.vala,
	  vala/valaenum.vala, vala/valaflags.vala, vala/valainstancecast.vala,
	  vala/valainterface.vala, vala/valainterfaceregisterfunction.vala,
	  vala/valamethod.vala, vala/valastruct.vala,
	  vala/valatypeparameter.vala, vala/valatypereference.vala,
	  vala/valatypergisterfunction.vala: adapt to renaming of Vala.Type_ to
	  Vala.DataType
	* vala/Makefile.am: update

1443
1444
1445
1446
1447
1448
1449
2006-06-22  Jürg Billeter  <j@bitron.ch>

	* vala/valaassignment.vala: don't mark properties as construct-only,
	  use non-null types
	* vala/valacodenode.vala: use non-null type
	* vala/valaexpression.vala: replace public fields by properties

1450
1451
1452
1453
1454
1455
1456
1457
2006-06-22  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: replace specialized interface member declarations by
	  standard member declarations to allow non-abstract methods in
	  interfaces
	* vala/valacodegenerator.vala: cast instance in property setter
	  invocations

1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
2006-06-22  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: support LAMBDA and CALLBACK
	* vala/parser.y: support callbacks and lambda expressions
	* vala/valacodevisitor.vala: add visit methods for callbacks and lambda
	  expressions
	* vala/valasymbolbuilder.vala: use non-null parameter types, support
	  callbacks
	* vala/valasemanticanalyzer.vala: partially support interface methods,
	  support callback invocations
	* vala/valamemorymanager.vala: support callback invocations
	* vala/valacodegenerator.vala: partially support interface methods
	* vala/valacallback.vala: initial implementation
	* vala/valacodenode.vala: replace public fields by properties
	* vala/valaexpression.vala: add expected_type field
	* vala/valainvocationexpression.vala: also visit at beginning
	* vala/valalambdaexpression.vala
	* vala/valanamespace.vala: support callbacks
	* vala/vala.h: update
	* vala/Makefile.am: update

1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
2006-06-18  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: support TYPEOF
	* vala/parser.y: support typeof expressions, out ref parameters, and
	  enum attributes
	* vala/valacodevisitor.vala: add visit method for typeof expressions
	* vala/valaattributeprocessor.vala: use non-null parameter types,
	  support enums and properties
	* vala/valasemanticanalyzer.vala: support floating references
	* vala/valamemorymanager.vala: ignore signal connections
	* vala/valacodegenerator.vala: reset temp variable id at beginning of
	  each file, fix out parameters, support properties without accessor
	  methods, support floating references, add typeof expression, support
	  static signal handlers
	* vala/valaclass.vala: use default arguments
	* vala/valaenum.vala: support cname, cprefix, and cheader_filename
	  attributes
	* vala/valaenumvalue.vala: use Enum.get_cprefix ()
	* vala/valamethod.vala: support FloatingReference attribute
	* vala/valanamespace.vala: use default arguments
	* vala/valaproperty.vala: support NoAccessorMethod attribute
	* vala/valastruct.vala: support type_id
	* vala/valatype.vala: add abstract get_type_id method
	* vala/valatypeofexpression.vala
	* vala/valatypereference.vala: add floating_reference property, correct
	  to_string method signature
	* vala/vala.h: update
	* vala/Makefile.am: update
	* vapi/glib-2.0.vala: add GInitiallyUnowned
	* vapi/gtk+-2.0.vala: start of a GTK+ binding
	* vapi/pango.vala: start of a Pango binding

1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
2006-06-17  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: don't leak comment texts, support generic types with
	  weak arguments
	* vala/parser.y: plug most memory leaks
	* vala/valacodecontext.vala: work around memory management issues
	* vala/valasourcefile.vala: break reference cycles
	* vala/valasourcefilecycle.vala: break reference cycles
	* vala/valasymbolbuilder.vala: store `this` and `value` parameters in
	  appropriate member node
	* vala/valasymbolresolver.vala: break reference cycle
	* vala/valasemanticanalyzer.vala: break reference cycle, promote local
	  variables with ownership transferring initializer, store foreach
	  variable declarator in statement object, assignments to properties
	  don't take value ownership, make null type checks behave well on
	  either side of a comparison
	* vala/valamemorymanager.vala: add support for named arguments,
	  properties, and ellipsis parameter
	* vala/valacodegenerator.vala: add dispose function, register properties
	  with static strings, don't leak strings when setting properties,
	  support freeing string arrays, support freeing lists with allocated
	  items, free local variables before return statements, free old value
	  on assignments
	* vala/valainterfacewriter.vala: output more type reference information
	* vala/valaforeachstatement.vala: reference variable_declarator
	* vala/valaforstatement.vala: correct generic type arguments
	* vala/valamethod.vala: break reference cycle
	* vala/valaproperty.vala: reference this_parameter, add
	  get_canoncial_cconstant method
	* vala/valapropertyaccessor.vala: reference value_parameter
	* vala/valasimplename.vala: remove unneeded type_argument_list
	  parameter from constructor
	* vala/valasourcereference.vala: let to_string transfer ownership
	* vala/valastruct.vala: correct generic type argument
	* vala/valasymbol.vala: improve memory management
	* vala/valatype.vala: break reference cycles, let get_lower_case_cname
	  transfer ownership
	* vala/valatypereference.vala: break reference cycle, use
	  type_argument_list
	* vala/vala.h: add valaflags.h
	* ccode/valaccodefunction.vala: work around missing list deep copy
	* ccode/valaccodewriter.vala: don't manually free objects
	* compiler/valacompiler.vala: enable memory management by default,
	  valac doesn't work anymore without memory management
	* vapi/glib-2.0.vala: add memory management information

1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
2006-06-15  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: add local variables to block
	* vala/valamemorymanager.vala: analyze local variable initializers
	* vala/valacodegenerator.vala: free local variables at end of block,
	  only free non-null variables, use some strong references due to memory
	  manager deficiencies
	* vala/valablock.vala: use non-null parameter types, add local variable
	  declarators
	* vala/valaenum.vala: let get_upper_case_cname transfer ownership
	* vala/valastruct.vala: add free_function attribute
	* ccode/valaccodewriter.vala: set freed values to null
	* vapi/glib-2.0.vala: add free functions

1571
1572
1573
2006-06-15  Raffaele Sandrini <rasa@gmx.ch>

	* vapi/libxml-2.0.vala: add basic libxml2 reader support
1574
	* vapi/Makefile.am: add libxml-2.0.vala
1575

1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
2006-06-14  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: set is_lvalue_ref in property declarations
	* vala/valacodecontext.vala: use non-null parameter types
	* vala/valasymbolresolver.vala: fix lookup in namespaces of using
	  directives, reset is_lvalue_ref where appropriate
	* vala/valasemanticanalyzer.vala: use non-null parameter types,
	  correctly set is_ref and is_lvalue_ref in variable declarators
	* vala/valamemorymanager.vala: support methods which transfer ownership
	  of arguments and or return value, analyze assignments
	* vala/valacodegenerator.vala: add missing reference increment calls,
	  small memory management improvements
	* vala/valaclass.vala: use non-null parameter types
	* vala/valaexpression.vala: add ref_missing
	* vala/valastruct.vala: support ref_function attribute, use non-null
	  parameter types
	* vala/valatype.vala: let get_upper_case_cname return ref string
	* vala/valatypereference.vala: add copy method
	* ccode/valaccodeconditionalexpression.vala
	* ccode/valaccodefunctioncall.vala: use non-null parameter types
	* ccode/Makefile.am: update
	* compiler/valacompiler.vala: process attributes before resolving
	  symbols to have reference_type information available in resolver
	* vapi/glib-2.0.vala: add ref_function attributes to string and List,
	  use ref parameters in List and HashTable until the compiler can handle
	  it correctly

1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
2006-06-14  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: set is_lvalue_ref for variables and fields
	* vala/valasemanticanalyzer.vala: variables and fields never transfer
	  ownership as rvalue
	* vala/valamemorymanager.vala: use non-null parameter types, analyze
	  return statements
	* vala/valacodegenerator.vala: use non-null parameter types, support
	  memory management for temporary variables in variable initializers,
	  initialize all uninitialized references to null
	* vala/valareturnstatement.vala: visit end of full expression
	* vala/valatypereference.vala: add is_lvalue_ref property
	* vala/valavariabledeclarator.vala: visit end of full expression

1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
2006-06-14  Jürg Billeter  <j@bitron.ch>

	* vala/valacodevisitor.vala: use non-null parameter types, add visit
	  method for full expressions
	* vala/valasymbolresolver.vala: add some missing casts
	* vala/valasemanticanalyzer.vala: support memory management for
	  temporary variables
	* vala/valamemorymanager.vala: visitor to detect leaked references
	* vala/valacodegenerator.vala: add automatic memory management for
	  temporary variables, add some missing casts
	* vala/valaassignment.vala: move source_reference to Expression
	* vala/valabinaryexpression.vala: move source_reference to Expression
	* vala/valacastexpression.vala: move source_reference to Expression
	* vala/valaconditionalexpression.vala: move source_reference to
	  Expression
	* vala/valaclass.vala: implement memory management methods
	* vala/valaexpression.vala: add source_reference, ref_leaked, and
	  temp_vars
	* vala/valaforstatement.vala: visit end of full expression
	* vala/valaifstatement.vala: visit end of full expression
	* vala/valainitializerlist.vala: move source_reference to Expression
	* vala/valainvocationexpression.vala: move source_reference to
	  Expression
	* vala/valaliteralexpression.vala: move source_reference to Expression
	* vala/valamemberaccess.vala: move source_reference to Expression
	* vala/valaobjectcreationexpression.vala: move source_reference to
	  Expression
	* vala/valaparenthesizedexpression.vala: move source_reference to
	  Expression
	* vala/valapostfixexpression.vala: move source_reference to Expression
	* vala/valasimplename.vala: move source_reference to Expression
	* vala/valastruct.vala: implement memory management methods
	* vala/valatype.vala: add abstract is_reference_counting,
	  get_ref_function, and get_free_function methods
	* vala/valatypecheck.vala: move source_reference to Expression
	* vala/valaunaryexpression.vala: move source_reference to Expression
	* vala/valawhilestatement.vala: visit end of full expression
	* vala/Makefile.am: update
	* ccode/valaccodecommaexpression.vala
	* ccode/Makefile.am: update
	* compiler/valacompiler.vala: add enable-memory-management option
	* vapi/glib-2.0.vala: minor GType enhancements

1660
1661
1662
1663
2006-06-07  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: fix cname of constants, casts of self

1664
1665
1666
1667
1668
2006-06-07  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: add missing source dependencies
	* vala/valacodegenerator.vala: check parameter types at runtime

1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
2006-06-07  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: support REAL_LITERAL, TILDE, SIGNAL
	* vala/parser.y: support flags, signals, constructors, destructors, real
	  literals, assignment operators, and non-null types
	* vala/valacodevisitor.vala: add visit methods for signals,
	  constructors, destructors, and real literals
	* vala/valasymbolbuilder.vala: support signals, constructors,
	  destructors
	* vala/valasemanticanalyzer.vala: support constructors, real literals,
	  and default arguments, fix lookup in namespaces of using directives
	* vala/valacodegenerator.vala: use default arguments and type register
	  function classes, support constructors, interfaces, real literals,
	  default arguments, casts, and signals, cast method arguments if
	  necessary
	* vala/valasourcefile.vala: use default arguments
	* vala/valaassignment.vala: add operator
	* vala/valacallback.vala: skeleton for callbacks
	* vala/valaclass.vala: add signals, constructor, and destructor
	* vala/valaclassregisterfunction.vala: get_type function for classes
	* vala/valaconstant.vala: use default arguments
	* vala/valaconstructor.vala
	* vala/valadestructor.vala
	* vala/valaenum.vala: use default arguments
	* vala/valaflags.vala
	* vala/valaflagsvalue.vala: 
	* vala/valaformalparameter.vala: add default_expression
	* vala/valainstancecast.vala: dynamic instance cast
	* vala/valainterface.vala: add signals
	* vala/valainterfaceregisterfunction.vala: get_type function for
	  interfaces
	* vala/valanamespace.vala: add flags, use default arguments
	* vala/valaproperty.vala: use default arguments
	* vala/valarealliteral.vala: 
	* vala/valasignal.vala
	* vala/valastruct.vala: use default arguments
	* vala/valastringliteral.vala: use default arguments
	* vala/valatypereference.vala: add is_weak property
	* vala/valatyperegisterfunction.vala
	* vala/vala.h: update
	* vala/Makefile.am: update
	* ccode/valaccodeblock.vala: add prepend_statement method
	* ccode/valaccodewriter.vala: correctly indent multi-line comments
	* vapi/glib-2.0.vala: add float and double, use default arguments,
	  temporarily remove astring

1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
2006-05-31  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support interfaces, adapt to Class/Struct/Type changes,
	  improve error handling
	* vala/valacodevisitor.vala: support interfaces
	* vala/valasymbolbuilder.vala: improve error handling
	* vala/valasymbolresolver.vala: use operators to compare strings
	* vala/valasemanticanalyzer.vala: improve error handling, convert method
	  argument and type mismatch warnings to errors, add skeleton for
	  expressoin type checks, support string comparison operators
	* vala/valacodegenerator.vala: fix warning, create structs for
	  interfaces, adapt to Class/Struct/Type changes, refactor and fix code
	  in visit_simple_name and visit_member_access, use operators to compare
	  strings
	* vala/valainterfacewriter.vala: use operators to compare strings
	* vala/valasourcefile.vala: fix warnings
	* vala/valaclass.vala: don't inherit from Struct
	* vala/valacodenode.vala: add error flag
	* vala/valaconstant.vala: add get_cname method
	* vala/valaenum.vala: override get_upper_case_cname method
	* vala/valaenumvalue.vala: adapt to Class/Struct/Type changes
	* vala/valafield.vala: use operators to compare strings
	* vala/valainterface.vala
	* vala/valainvocationexpression.vala: add add_argument method
	* vala/valamethod.vala: adapt to Class/Struct/Type changes, use
	  operators to compare strings
	* vala/valanamespace.vala: support interfaces, use operators to compare
	  strings
	* vala/valastringliteral.vala: fix warning
	* vala/valastruct.vala: inline visit_children method, use operators to
	  compare strings
	* vala/valatype.vala: add abstract get_lower_case_cname method
	* vala/valatypereference.vala: add to_string method
	* vala/vala.h: update
	* vala/Makefile.am: update
	* vapi/glib-2.0.vala: small fixes

1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
2006-05-26  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: fix member access to namespaces
	* vala/valacodegenerator.vala: adapt to CCodeWriter changes
	* ccode/valaccodewriter.vala: don't touch file if nothing has changed,
	  required to get incremental builds working
	* vapi/glib-2.0.vala: extend file functions
	
	* ccode/Makefile.am,vala/Makefile.am,compiler/Makefile.am: support
	  incremental builds

1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
2006-05-25  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: support ELLIPSIS, use g_strdup instead of strdup
	* vala/parser.y: support variable argument lists, type access modifiers
	* vala/valareport.vala: class to handle error reporting
	* vala/valasymbolbuilder.vala: switch to new error reporting scheme
	* vala/valasymbolresolver.vala: switch to new error reporting scheme
	* vala/valasemanticanalyzer.vala: process Constant and EnumValue symbol
	  dependencies, check method argument types, find types of unary and
	  binary expressions, remove dummy field, switch to new error reporting
	  scheme
	* vala/valacodegenerator.vala: support calling functions with variable
	  argument lists, support break and continue statements, remove dummy fields,
	  switch to new error reporting scheme
	* vala/valainterfacewriter.vala: visitor to write public vala api in one
	  file
	* vala/valasourcefile.vala: support field and property symbol
	  dependencies, remove dummy field
	* vala/valaclass.vala: add is_abstract field
	* vala/valaenumvalue.vala: remove dummy field
	* vala/valaformalparameter.vala: add ellipsis property
	* vala/valamemberaccessibility.vala: add INTERNAL
	* vala/valamethod.vala: make parameters public, remove dummy field
	* vala/valaproperty.vala: remove dummy field
	* vala/valasymbol.vala: add name field and get_full_name method
	* vala/valatype.vala: add access field
	* vala/valatypereference.vala: switch to new error reporting scheme
	* ccode/valaccodeblock.vala: improve formatting
	* ccode/valaccodeifstatement.vala: improve formatting
	* ccode/valaccodewriter.vala: improve formatting
	* compiler/valacompiler.vala: add error handling, support multiple vapi
	  directories, add --library option to generate public vala api
	* vapi/glib-2.0.vala: moved from bindings, add static GLib.stdout field,
	  correctly mark functions with variable argument lists, add File.test
	  method

	* configure.ac,Makefile.am,ccode/Makefile.am,vala/Makefile.am,
	  vapi/Makefile.am,compiler/Makefile.am: add build system
	
	* remove valac subdirectory: Bootstrap compiler is now obsolete.
	
Jürg Billeter's avatar
Jürg Billeter committed
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
2006-05-24  Jürg Billeter  <j@bitron.ch>
	
	Compiler is now self-hosting.

	* vala/parser.y: support type checks, field attributes, and virtual and
	  override method modifiers
	* vala/valacodevisitor.vala: support type checks
	* vala/valasymbolbuilder.vala: correct generated property accessors
	* vala/valaattributeprocessor.vala: process field attributes
	* vala/valasemanticanalyzer.vala: support virtual methods and type
	  checks
	* vala/valacodegenerator.vala: support properties, private fields,
	  static fields, virtual methods, field initializers, while statements,
	  foreach statements, instance last methods, postfix expressions, type
	  checks
	* vala/valaclass.vala: correct source reference, add get_properties
	  method
	* vala/valafield.vala: visit initializer, support cname attribute
	* vala/valamethod.vala: support ReturnsModifiedPointer and InstanceLast
	  attributes, add is_virtual, is_override, and base_method fields, add
	  get_real_cname method
	* vala/valaproperty.vala: add get_upper_case_cname method
	* vala/valastruct.vala: add has_private_fields attribute, add
	  get_methods method
	* vala/valatypecheck.vala
	* vala/vala.h: update
	* ccode/valaccodebreakstatement.vala
	* ccode/valaccodecasestatement.vala
	* ccode/valaccodecontinuestatement.vala
	* ccode/valaccodedeclaration.vala: renamed from
	  CCodeDeclarationStatement, support function declarators
	* ccode/valaccodedeclarator.vala: abstract base class for variable and
	  function declarators
	* ccode/valaccodefunctiondeclarator.vala: 
	* ccode/valaccodestruct.vala: support function declarations by adding
	  add_declaration method
	* ccode/valaccodeswitchstatement.vala
	* ccode/valaccodeunaryexpression.vala: add postfix increment and
	  decrement operators
	* ccode/valaccodevariabledeclarator.vala: inherit from CCodeDeclarator
	* ccode/valaccodewhilestatement.vala

1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
2006-05-23  Jürg Billeter  <j@bitron.ch>

	* vala/valacodevisitor.vala: support initializer lists
	* vala/valacodegenerator.vala: support constant arrays and initializer
	  lists
	* vala/valaconstant.vala: visit initializer
	* vala/valainitializerlist.vala: add accept method
	* vala/valastruct.vala: visit constants later than fields due to
	  constant initialization
	* vala/valatypereference.vala: add get_const_cname method
	* ccode/valaccodeinitializerlist.vala

1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
2006-05-22  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support abstract methods and static fields
	* vala/valasourcefile.vala: support parameter symbol dependencies
	* vala/valasymbolbuilder.vala: insert default body for get accessors
	* vala/valasemanticanalyzer.vala: add property type dependency
	* vala/valacodegenerator.vala: add constants, private static fields,
	  main function, property accessors, this, casting for member access
	* vala/valablock.vala: add add_statement method
	* vala/valafield.vala: add instance field
	* vala/valamethod.vala: add is_abstract field
	* valac/generator.c: mark generated properties as writable

1871
1872
1873
1874
1875
1876
1877
2006-05-22  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.c: add class instance private struct, type
	  register function, class init function, instance init function;
	  support access to private members
	* ccode/valaccodedeclarationstatement.vala: support static modifier

1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
2006-05-21  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: support file comments, BREAK, CONTINUE
	* vala/parser.y: support break and continue, add more comments
	* vala/valacodecontext.vala: find cyclic header dependencies
	* vala/valasourcefile.vala: add get_namespaces method, add dependency
	  information, add add_symbol_dependency method, add
	  SourceFileDependencyType enum
	* vala/valasourcefilecycle.vala
	* vala/valacodevisitor.vala: support break and continue statements
	* vala/valaparser.vala: support file comments
	* vala/valasemanticanalyzer.vala: record dependency information
	* vala/valacodegenerator.vala: add include directives, type forward
	  declarations, once section, enum values, method return types, and more
	  comments
	* vala/valablock.vala, vala/valadeclarationstatement.vala,
	  vala/valaemptystatement.vala, vala/valaexpressionstatement.vala,
	  vala/valaforeachstatement.vala, vala/valaforstatement.vala,
	  vala/valaifstatement.vala, vala/valareturnstatement.vala,
	  vala/valastatement.vala, vala/valawhilestatement.vala: move
	  source_reference property to Statement class
	* vala/valaclass.vala, vala/valaenum.vala, vala/valastruct.vala,
	  vala/valatype.vala: move name, source_reference, namespace, and
	  get_cheader_filenames to Type class
	* vala/valabreakstatement.vala
	* vala/valacontinuestatement.vala
	* vala/valaenum.vala: fix cname, add get_upper_case_cname method
	* vala/valaenumvalue.vala: add get_cname method
	* vala/valafield.vala: add access field
	* vala/valanamespace.vala: add get_structs, get_classes, and
	  get_cheader_filenames methods, support cheader_filename attribute
	* vala/valastruct.vala: support cheader_filename attribute
	* vala/valatypereference.vala: support void cname
	* vala/vala.h: update
	* ccode/valaccodeblock.vala: support comments before statements
	* ccode/valaccodeenum.vala: optionally use typedef
	* ccode/valaccodefunction.vala: add copy method
	* ccode/valaccodenewline.vala
	* ccode/valaccodeoncesection.vala
	* ccode/valaccodewriter.vala: use whole line for comments
	* bindings/glib-2.0.vala: add cheader_filename attributes, extend string
	  types
	* valac/generator.c: fix private field access, include string.h

1922
1923
1924
1925
1926
1927
1928
1929
1930
2006-05-19  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: include header file in corresponding
	  source file, generate class macros and typedefs
	* ccode/valaccodeincludedirective.vala
	* ccode/valaccodemacroreplacement.vala: c macro definition
	* ccode/valaccodetypedefinition.vala: c typedef
	* bindings/glib-2.0.vala: correct comment

1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
2006-05-18  Jürg Billeter  <j@bitron.ch>

	* vala/valacodecontext.vala: add get_source_files method
	* vala/valasourcefile.vala: add pkg flag
	* vala/valasymbolresolver.vala: use GLib.Object as default base class
	* vala/valacodegenerator.vala: ignore package bindings, fix names of
	  class structs
	* bindings/glib-2.0.vala: renamed from GLib.vala, add g_build_filename
	* compiler/valacompiler.vala: add pkg and pkgdir options

Jürg Billeter's avatar
Jürg Billeter committed
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
2006-05-18  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: add method parameters, public instance
	  field access, invocation arguments
	* vala/valamethod.vala: add get_parameters method
	* ccode/valaccodeformalparameter.vala
	* ccode/valaccodefunction.vala: use CCodeFormalParameter
	* ccode/valaccodememberaccess.vala
	* valac/scanner.l: support ASSIGN_BITWISE_OR, BITWISE_OR
	* valac/parser.y: support bitwise or
	* valac/context.h: support bitwise or
	* valac/generator.c: support bitwise or

1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
2006-05-18  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support member and access modifiers, static methods
	* vala/valaattributeprocessor.vala: process method attributes
	* vala/valaclass.vala: don't set parent_type member of children
	* vala/valaconstant.vala: remove unnecessary parent_type member
	* vala/valafield.vala: remove unnecessary parent_type member
	* vala/valamethod.vala: support cname attribute
	* vala/valanamespace.vala: add methods
	* vala/valaproperty.vala: remove unnecessary parent_type member
	* vala/valastruct.vala: don't set parent_type member of children

1966
1967
1968
1969
1970
1971
1972
1973
1974
2006-05-18  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: adapt to BinaryOperator enum changes
	* vala/valacodegenerator.vala: add operators to unary and binary
	  expressions
	* vala/valabinaryexpression.vala: correct enum value names
	* ccode/valaccodebinaryexpression.vala: add operator
	* ccode/valaccodeunaryexpression.vala

1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
2006-05-18  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support namespace attributes
	* vala/valaattributeprocessor.vala: process namespace and class
	  attributes
	* vala/valacodegenerator.vala: use correct symbol names
	* vala/valamethod.vala: add cname
	* vala/valanamespace.vala: add cprefix, support cprefix attribute
	* vala/valastruct.vala: prefix cname with namespace cprefix
	* bindings/GLib.vala: add tolower to unichar
	* valac/parser.y: rename namespace attribute cname to lower_case_cprefix

1987
1988
1989
1990
1991
1992
1993
2006-05-18  Jürg Billeter  <j@bitron.ch>

	* update reference and property annotations
	* switch string struct to utf-8
	* valac/context.c: set source file in root namespace
	* valac/generator.c: don't include bindings stub header

1994
1995
1996
1997
1998
1999
2006-05-17  Jürg Billeter  <j@bitron.ch>

	* vala/valanamespace.vala: implement camel_case_to_lower_case method
	* bindings/GLib.vala: extend string types
	* valac/generator.c: support access to struct fields

2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2006-05-17  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support variable declarators, subtyping, constants,
	  properties, and enums
	* vala/valacodevisitor.vala: support formal parameters, property
	  accessors, named arguments, and parenthesized expressions
	* vala/valasymbolbuilder.vala: visit enum values, constants, formal
	  parameters, properties, and blocks
	* vala/valasymbolresolver.vala: save base class, accept void type,
	  support type references with namespace name
	* vala/valasemanticanalyzer.vala: visitor to find static types of
	  expressions
	* vala/valacodegenerator.vala: support parenthesized expressions
	* vala/valablock.vala: add begin and end visit events
	* vala/valaclass.vala: support base types and properties
	* vala/valaenum.vala: add values
	* vala/valaenumvalue.vala
	* vala/valaexpression.vala: add generic symbol reference
	* vala/valaforeachstatement.vala: add begin and end visit events
	* vala/valaformalparameter.vala: add visit event
	* vala/valaliteral.vala: mark class as abstract
	* vala/valamethod.vala: add return_type
	* vala/valanamedargument.vala: add accept method
	* vala/valanamespace.vala: visit fields
	* vala/valaobjectcreationexpression.vala: visit arguments
	* vala/valaparenthesizedexpression.vala: add visit event
	* vala/valaproperty.vala: add accessors
	* vala/valapropertyaccessor.vala
	* vala/valasimplename.vala: code style update
	* vala/valastruct.vala: add constants
	* vala/valavariabledeclarator.vala: add type reference
	* vala/vala.h: update
	* compiler/valacompiler.vala: invoke SemanticAnalyzer
	* ccode/valaccodefragment.vala: code style update
	* ccode/valaccodeparenthesizedexpression.vala: 
	* valac/parser.y: support replacement of readonly fields
	* valac/context.c: resolve types in operation expressions

2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2006-05-16  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: fix multi-line comments
	* vala/valacodegenerator.vala: basic statement and expression handling
	* vala/valacodevisitor.vala: support variable declaration
	* vala/valasymbolbuilder.vala: adapt to visitor changes
	* vala/valaclass.vala: remove members already available in Struct
	* vala/valacodenode.vala: add ccodenode field
	* vala/valadeclarationstatement.vala: visit declaration
	* vala/valaexpressionstatement.vala: visit code containers after child
	  elements
	* vala/valalocalvariabledeclaration.vala: add accept method
	* vala/valamethod.vala: add begin and end visit events
	* vala/valanamespace.vala: add lower_case_cprefix
	* vala/valastruct.vala: define get_upper_case_cname method
	* vala/valatype.vala: declare get_upper_case_cname method
	* vala/valatypereference.vala: add get_upper_case_cname method
	* vala/valavariabledeclarator.vala: add accept method
	* ccode/valaccodewriter.vala: formatting fixes
	* ccode/valaccodeassignment.vala
	* ccode/valaccodebinaryexpression.vala
	* ccode/valaccodeblock.vala: use CCodeStatement
	* ccode/valaccodeconstant.vala
	* ccode/valaccodedeclarationstatement.vala
	* ccode/valaccodeemptystatement.vala
	* ccode/valaccodeexpression.vala
	* ccode/valaccodeexpressionstatement.vala
	* ccode/valaccodeforstatement.vala
	* ccode/valaccodefunction.vala: formatting fixes
	* ccode/valaccodefunctioncall.vala
	* ccode/valaccodeidentifier.vala
	* ccode/valaccodeifstatement.vala
	* ccode/valaccodereturnstatement.vala
	* ccode/valaccodestatement.vala
	* ccode/valaccodestruct.vala: formatting fixes
	* ccode/valaccodevariabledeclarator.vala
	* bindings/GLib.vala: extend string types
	* valac/context.c: resolve types in named argument list in object
	  creation expression

2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2006-05-16  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: fix unary expressions
	* vala/valacodegenerator.vala: add visit_block method
	* vala/valacodevisitor.vala: add visit methods for statements,
	  expressions, and literals
	* vala/valaassignment.vala: add accept method
	* vala/valabinaryexpression.vala: add accept method
	* vala/valablock.vala: add accept method
	* vala/valabooleanliteral.vala: add accept method
	* vala/valacastexpression.vala: add accept method
	* vala/valacharacterliteral.vala: add accept method
	* vala/valaconditionalexpression.vala: add accept method
	* vala/valaconstant.vala: visit code containers after child elements
	* vala/valadeclarationstatement.vala: add accept method
	* vala/valaemptystatement.vala: add accept method
	* vala/valaexpressionstatement.vala: add accept method
	* vala/valafield.vala: visit code containers after child elements
	* vala/valaforeachstatement.vala: add accept method
	* vala/valaformalparameter.vala: add accept method
	* vala/valaforstatement.vala: add accept method
	* vala/valaifstatement.vala: add accept method
	* vala/valaintegerliteral.vala: add accept method
	* vala/valainvocationexpression.vala: add accept method
	* vala/valaliteralexpression.vala: add accept method
	* vala/valamemberaccess.vala: add accept method
	* vala/valamethod.vala: add accept method
	* vala/valanullliteral.vala: add accept method
	* vala/valaobjectcreationexpression.vala: add accept method
	* vala/valaparenthesizedexpression.vala: add accept method
	* vala/valapostfixexpression.vala: add accept method
	* vala/valareturnstatement.vala: add accept method
	* vala/valasimplename.vala: add accept method
	* vala/valastringliteral.vala: add accept method
	* vala/valaunaryexpression.vala: fix constructor, add accept method
	* vala/valawhilestatement.vala: add accept method
	* ccode/valaccodefunction.vala: renamed from CCodeMethod

2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2006-05-16  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support logical AND and OR expressions, conditional
	  expressions, assignments, constants, method parameters, and properties
	* vala/valacodevisitor.vala: add constant and property visits
	* vala/valaassignment.vala
	* vala/valabinaryexpression.vala: add bitwise xor, AND, and OR
	* vala/valaconditionalexpression.vala
	* vala/valaconstant.vala
	* vala/valaformalparameter.vala
	* vala/valainitializerlist.vala
	* vala/valamemberaccess.vala: add source_reference
	* vala/valamethod.vala: add parameters
	* vala/valaproperty.vala
	* vala/vala.h: update

2132
2133
2134
2135
2136
2137
2138
2139
2006-05-16  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support member access, multiplicative, additive, shift,
	  equality, relational, and bitwise expressions
	* vala/valabinaryexpression.vala
	* vala/valamemberaccess.vala: add constructor
	* vala/vala.h: update

2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2006-05-15  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: support assign operators
	* vala/parser.y: support assign operators and attributes
	* vala/valaattributeprocessor.vala: visitor to process compiler
	  attributes
	* vala/valacodegenerator.vala: support structs, enums, and methods
	* vala/valacodenode.vala: support attributes
	* vala/valaattribute.vala
	* vala/valamemberaccessibility.vala
	* vala/valamethod.vala
	* vala/valastruct.vala: support CCode (cname) attribute
	* vala/vala.h: update
	* compiler/valacompiler.vala: invoke AttributeProcessor
	* ccode/valaccodeblock.vala
	* ccode/valaccodeenum.vala
	* ccode/valaccodemethod.vala
	* ccode/valaccodemodifiers.vala
	* bindings/GLib.vala: add string cmp method
	* valac/scanner.l: support BITWISE_AND
	* valac/parser.y: support bitwise and
	* valac/context.h: add bitwise and
	* valac/generator.c: support enum dependencies and bitwise and

2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2006-05-14  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: support OPEN_CAST_PARENS, IS, WHILE
	* vala/parser.y: support structs, enums, and fields, cast, postfix,
	  while, ref types, and generic type parameters; fix comments
	* vala/valacodecontext.vala: add root symbol
	* vala/valasourcefile.vala: add using directives, c filenames
	* vala/valacodevisitor.vala: add begin and end visits for some container
	  types, add struct, enum, field, type parameter, namespace reference,
	  and type reference visits
	* vala/valaparser.vala: adapt to visitor changes
	* vala/valasymbolbiulder.vala: visitor to fill symbol table
	* vala/valasymbolresolver.vala: visitor to resolve symbol references
	* vala/valacodegenerator.vala: add beginning of code generation
	* vala/valacodenode.vala: add symbol reference
	* vala/valacastexpression.vala
	* vala/valaclass.vala: derive from struct
	* vala/valaenum.vala
	* vala/valaexpression.vala: add static_type, field_reference, and
	  method_reference fields
	* vala/valafield.vala
	* vala/valamemberaccess.vala
	* vala/valanamespace.vala: add structs, enums, and fields
	* vala/valanamespacereference.vala
	* vala/valapostfixexpression.vala
	* vala/valasourcereference.vala: adapt to comment changes
	* vala/valastringliteral.vala: add eval method
	* vala/valastruct.vala
	* vala/valasymbol.vala
	* vala/valatype.vala
	* vala/valatypeparameter.vala: 
	* vala/valatypereference.vala: add type, type_parameter, is_ref, and
	  is_out fields, add get_cname method
	* vala/valavariabledeclarator.vala: add name and initializer fields
	* vala/valawhilestatement.vala: 
	* vala/vala.h: update
	* compiler/valacompiler.vala: run SymbolBuilder and SymbolResolver
	* ccode/valaccodewriter.vala
	* ccode/valaccodecomment.vala
	* ccode/valaccodefragment.vala
	* ccode/valaccodenode.vala
	* ccode/valaccodestruct.vala
	* bindings/GLib.vala: add/extend ustring, Path, Object, File, HashTable
	* valac/scanner.l: support OPEN_CAST_PARENS, OP_AND, OP_OR, IS, WHILE
	* valac/parser.y: support cast, while, include_filename ccode attribute,
	  AND and OR expressions, IS type checks, unary minus
	* valac/context.h: add while statements, cast and IS expressions, and
	  AND and OR operators
	* valac/context.c: support cast, IS, while; fix if
	* valac/generator.c: support cast, IS, pointer arithmetic, namespace
	  methods, imported include files
	* valac/driver.c: add symbol alias

2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2006-05-07  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: tokenizer for new vala compiler
	* vala/parser.y: parser vor new vala compiler
	* vala/valablock.vala
	* vala/valabooleanliteral.vala
	* vala/valacharacterliteral.vala
	* vala/valaclass.vala: add methods
	* vala/valadeclarationstatement.vala
	* vala/valaemptystatement.vala
	* vala/valaexpression.vala
	* vala/valaexpressionstatement.vala
	* vala/valaforeachstatement.vala
	* vala/valaforstatement.vala
	* vala/valaifstatement.vala
	* vala/valaintegerliteral.vala
	* vala/valainvocationexpression.vala
	* vala/valaliteral.vala
	* vala/valaliteralexpression.vala
	* vala/valalocalvariabledeclaration.vala
	* vala/valamethod.vala
	* vala/valanamedargument.vala
	* vala/valanullliteral.vala
	* vala/valaobjectcreationexpression.vala
	* vala/valaparenthesizedexpression.vala
	* vala/valareturnstatement.vala
	* vala/valasimplename.vala
	* vala/valastatement.vala
	* vala/valastringliteral.vala
	* vala/valatypereference.vala
	* vala/valaunaryexpression.vala
	* vala/valavariabledeclarator.vala
	* vala/valacodevisitor.vala: add visit_method skeleton
	* vala/valacodegenerator.vala: do.
	* vala/vala.h: include generated header files
	* valac/generator.c: support bool and enum properties, support enums

2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2006-05-06  Jürg Billeter  <j@bitron.ch>

	* vala/valacodecontext.vala
	* vala/valasourcefile.vala
	* vala/valasourcereference.vala: filename, line, and comment container
	* vala/valacodenode.vala: abstract code node
	* vala/valanamespace.vala: namespace node
	* vala/valaclass.vala: class node
	* vala/valacodevisitor.vala: abstract syntax tree visitor
	* vala/valaparser.vala: vala parser
	* vala/valacodegenerator.vala: code generator skeleton
	* compiler/valacompiler.vala: compiler driver
	* bindings/GLib.vala: add bindings for GList and GOptionContext
	* valac/scanner.l: support multi-line comments, ABSTRACT, INTERFACE,
	  READONLY
	* valac/parser.y: replace AT by HASH, support readonly fields
	* valac/context.h: small fixes
	* valac/context.c: small fixes
	* valac/generator.c: fix override methods, basic support for properties

2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2006-05-03  Jürg Billeter  <j@bitron.ch>

	* valac/scanner.l: support OP_NEG, CONSTRUCT, FOREACH, IN
	* valac/parser.y: add foreach, construct properties; merge modifiers to
	  resolve parser conflicts
	* valac/context.h: merge modifiers
	* valac/context.c: support namespace fields, resolve types in
	  assignments, invocations, and if, for, and foreach statements
	* valac/generator.c: support negation operator, inherited fields in
	  object variables, foreach statements for arrays and GList, fix
	  circular dependencies

2286
2287
2288
2289
2290
2291
2006-05-02  Raffaele Sandrini  <rasa@gmx.ch>

	* tests/test-008.vala: add tests for base fields
	* valac/generator.c: remove klass local variable, add support for
	  base fields.

2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2006-05-01  Jürg Billeter  <j@bitron.ch>

	* valac/scanner.l: support ENUM, FLAGS, STRUCT
	* valac/parser.y: add structs, generic types, enums, flags, attributes,
	  ref and out parameters
	* valac/context.h: add ValaFlags, ValaFlagsValue, and ValaAnnotation
	  structs
	* valac/context.c: support bool, uint, pointer, generic types
	* valac/generator.h: save pointer to current struct
	* valac/generator.c: support structs, ReturnsModifiedPointer, include
	  files

2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2006-04-30  Jürg Billeter  <j@bitron.ch>

	* valac/scanner.l: support AT, CONST, VALA_FALSE, VALA_NULL, OUT, REF,
	  THIS, VALA_TRUE, USING, VAR, LITERAL_CHARACTER
	* valac/parser.y: add character, boolean, and null literals, using
	  directive, @ type qualifier, constants, ref and out variables,
	  array element access, this access, struct and array initializer,
	  var type
	* valac/context.h: add ValaEnum, ValaConstant, and ValaEnumValue structs
	* valac/context.c: support constants, struct members, enums, var type,
	  using directives
	* valac/generator.h: save pointer to current class
	* valac/generator.c: support constants, boolean and null literals,
	  array element access, using directives, this access, enums, private
	  static fields, ref and out variables, struct and array initializer,
	  boolean, character, and null literal, var type

Raffaele Sandrini's avatar
add    
Raffaele Sandrini committed
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2006-04-27  Raffaele Sandrini  <rasa@gmx.ch>

	* tests/test-008.vala:
	* tests/test-009.vala: add
	* valac/parser.y:
	* valac/scanner.l:
	* valac/context.c:
	* valac/generator.c:
	* valac/context.h: add field and property support (property parse only
	  yet)
	* AUTHORS: add myself

2333
2334
2335
2336
2337
2338
2339
2340
2341
2006-04-26  Jürg Billeter  <j@bitron.ch>

	* valac/scanner.l: support OVERRIDE, VIRTUAL
	* valac/parser.y: add virtual methods
	* valac/context.h: support virtual methods, improve init and class_init
	* valac/context.c: set symbol in ValaMethod struct
	* valac/generator.c: support virtual methods
	* tests/test-007.vala: test virtual method declaration and invocation

2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2006-04-26  Jürg Billeter  <j@bitron.ch>

	* valac/scanner.l: support OPEN_BRACKET, CLOSE_BRACKET, OP_INC, OP_DEC,
	  OP_EQ, OP_NE, OP_LE, OP_GE, OP_LT, OP_GT, MINUS, STAR, DIV, ELSE, FOR,
	  IF
	* valac/parser.y: add array type references, equality expressions,
	  relational expressions, multiplicative expressions, postfix
	  operations, object creation, if conditionals, for loops
	* valac/context.h: add ValaNamedArgument struct, support if and for
	  statements
	* valac/context.c: resolve types in object creation expressions of
	  variable initializers
	* valac/generator.c: support array type references, init and class_init
	  methods, more operations, object creation, for loops, if conditionals,
	  call g_type_init in main
	* tests/test-006.vala: test instance method invocation, object creation,
	  for loop, if conditional, multiplicative expression

2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2006-04-25  Jürg Billeter  <j@bitron.ch>

	* valac/parser.y: save cname in class, save location of statements and
	  expressions
	* valac/context.h: add ValaStruct struct
	* valac/context.c: support symbols from methods and structs, add int
	  and string fundamental types, resolve types in local variable
	  declarations
	* valac/generator.h: save pointer to current method block
	* valac/generator.c: add special handling for main method, basic support
	  for method invocations, literals, member access, simple names,
	  additive expressions, return statments, blocks
	* tests/test-005.vala: test static method invocation, literal integer,
	  simple name, additive expression, return statement, block, main method

2375
2376
2377
2378
2379
2380
2381
2382
2383
2006-04-24  Jürg Billeter  <j@bitron.ch>

	* valac/scanner.l: support single-line comments, ASSIGN, PLUS, RETURN,
	  LITERAL_INTEGER, LITERAL_STRING
	* valac/parser.y: add basic statements and expressions
	* valac/context.h: add ValaStatement, ValaVariableDeclaration,
	  ValaVariableDeclarator, and ValaExpression structs
	* valac/context.c: remove unreachable line

2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2006-04-24  Jürg Billeter  <j@bitron.ch>

	* valac/scanner.l: set token location, support OPEN_PARENS,
	  CLOSE_PARENS, SEMICOLON, PUBLIC, STATIC
	* valac/parser.y: save symbol location, output exact error location,
	  support method declarations
	* valac/context.h: add ValaLocation, ValaMethod, and ValaFormalParameter
	  structs, add location to ValaClass and ValaTypeReference structs
	* valac/context.c: output error location, support method declarations
	* valac/generator.c: support method declarations
	* valac/driver.c: add comment
	* tests/test-004.vala: test method declaration

2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2006-04-22  Jürg Billeter  <j@bitron.ch>

	* valac/scanner.l: support DOT, COLON, and COMMA
	* valac/parser.y: save lower and upper case cnames in namespace and
	  class objects, support base classes
	* valac/context.h: add ValaSymbol and ValaTypeReference structs, add
	  cnames to ValaNamespace and ValaClass structs
	* valac/context.c: add symbol handling, type resolving, set cnames in
	  root namespace
	* valac/generator.c: remove cname generation, support base classes
	* valac/driver.c: add symbols and resolve types
	* tests/test-003.vala: test base class