ChangeLog 124 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
2007-07-09  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l, vala/parser.y, vala/valaarray.vala,
	  vala/valaarraycreationexpression.vala, vala/valaattribute.vala,
	  vala/valabaseaccess.vala, vala/valablock.vala,
	  vala/valabooleanliteral.vala, vala/valacallback.vala,
	  vala/valaclass.vala, vala/valacodecontext.vala,
	  vala/valacodenode.vala, vala/valacreationmethod.vala,
	  vala/valadatatype.vala, vala/valaelementaccess.vala,
	  vala/valaenum.vala, vala/valafield.vala, vala/valaflags.vala,
	  vala/valaformalparameter.vala, vala/valaforstatement.vala,
	  vala/valainitializerlist.vala, vala/valaintegerliteral.vala,
	  vala/valainterface.vala, vala/valainterfacewriter.vala,
	  vala/valainvocationexpression.vala, vala/valainvokable.vala,
	  vala/valalambdaexpression.vala, vala/valaliteralexpression.vala,
	  vala/valalocalvariabledeclaration.vala, vala/valamemberaccess.vala,
	  vala/valamemorymanager.vala, vala/valamethod.vala,
	  vala/valanamespace.vala, vala/valanullliteral.vala,
	  vala/valaobjectcreationexpression.vala, vala/valaparser.vala,
	  vala/valapointer.vala, vala/valaproperty.vala,
	  vala/valasemanticanalyzer.vala, vala/valasignal.vala,
	  vala/valasourcefile.vala, vala/valasourcereference.vala,
	  vala/valastringliteral.vala, vala/valastruct.vala,
	  vala/valaswitchsection.vala, vala/valaswitchstatement.vala,
	  vala/valasymbol.vala, vala/valasymbolresolver.vala,
	  vala/valatypereference.vala, vala/valavariabledeclarator.vala,
	  gobject/valaclassregisterfunction.vala,
	  gobject/valacodegenerator.vala,
	  gobject/valacodegeneratorassignment.vala,
	  gobject/valacodegeneratorclass.vala,
	  gobject/valacodegeneratorinterface.vala,
	  gobject/valacodegeneratorinvocationexpression.vala,
	  gobject/valacodegeneratormemberaccess.vala,
	  gobject/valacodegeneratormethod.vala,
	  gobject/valacodegeneratorsignal.vala,
	  gobject/valacodegeneratorsourcefile.vala,
	  gobject/valainterfaceregisterfunction.vala,
	  gobject/valatyperegisterfunction.vala, ccode/valaccodefragment.vala,
	  ccode/valaccodefunction.vala, compiler/valacompiler.vala,
	  vapi/cairo.vala, vapi/glib-2.0.vala, vapi/libxml-2.0.vala,
	  tests/test-023.vala, gobject-introspection/gidl.vala,
	  vapigen/valagidlparser.vala, vapigen/valavapigen.vala: remove obsolete
	  ref modifier and callback keyword

45 46 47 48 49 50 51 52 53
2007-07-09  Jürg Billeter  <j@bitron.ch>

	* vala/valainterfacewriter.vala: write static delegate instead of
	  callback
	* tests/test-014.vala, tests/test-015.vala, vapi/atk.vala,
	  vapi/cairo.vala, vapi/gdk-2.0.vala, vapi/gio-standalone.vala,
	  vapi/gtk+-2.0.vala, vapi/hal.vala, vapi/pango.vala, vapi/vte.vala: use
	  static delegate instead of callback

54 55 56 57 58
2007-07-09  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l, vala/parser.y: support delegate keyword and optional
	  modifiers to declare callbacks

59 60 61 62 63
2007-07-09  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support # modifier to transfer ownership in method
	  parameters

64 65 66 67 68 69 70
2007-07-05  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: fix TimeVal binding
	* vapi/dbus-glib-1.vala, vapi/hal.deps, vapi/hal.vala: add experimental
	  VAPI for HAL
	* vapi/Makefile.am: update

Jürg Billeter's avatar
Jürg Billeter committed
71 72 73 74
2007-07-04  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: update to new GRegex API

75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
2007-07-03  Jürg Billeter  <j@bitron.ch>

	* vala/valainterfacewriter.vala: write cprefix and lower_case_cprefix
	  of namespaces and write cheader_filename of interfaces
	* vala/valanamespace.vala: make set_cprefix and set_lower_case_cprefix
	  methods public
	* ccode/valaccodewriter.vala, vala/valainterfacewriter.vala,
	  gobject/valaccodecompiler.vala, compiler/valacompiler.vala,
	  vapi/glib-2.0.vala, vapigen/valagidlparser.vala,
	  vapigen/valavapigen.vala: split GLib.File into GLib.FileStream and
	  GLib.FileUtils to not conflict with GVFS
	* vala/valagidlparser.vala: improve support for GVFS
	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
	  regenerated
	* vapi/gio-standalone.vala, vapi/packages/gio-standalone/: add
	  experimental VAPI for GVFS
	* vapi/Makefile.am: update

93 94 95 96 97
2007-07-01  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: add more string utility functions and GDate
	  support, based on patch by Michael Lawrence, fixes bug 452015

98 99 100 101 102 103
2007-07-01  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valasymbolbuilder.vala,
	  vala/valasymbolresolver.vala, vala/valaenum.vala: add basic support
	  for enum methods

104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
2007-06-30  Jürg Billeter  <j@bitron.ch>

	* vala/valasymbolbuilder.vala: fix current_symbol handling in
	  visit_property_accessor
	* vapigen/valagidlparser.vala: add missing NoArrayLength attribute,
	  support hiding signals
	* vapi/glib-2.0.vala: add GConnectFlags
	* vapi/packages/pango/pango.gidl, vapi/pango.vala: updated to
	  Pango 1.17.3
	* vapi/packages/gdk-2.0/gdk-2.0.gidl,
	  vapi/packages/gtk+-2.0/gtk+-2.0.gidl,
	  vapi/packages/gtk+-2.0/gtk+-2.0.metadata, vapi/gdk-2.0.vala,
	  vapi/gtk+-2.0.vala: updated to GTK+ 2.11.4, some small
	  GtkTreeModel/GtkTreeStore fixes

119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
2007-06-15  Jürg Billeter  <j@bitron.ch>

	* vala/valaattributeprocessor.vala, vala/valacodevisitor.vala,
	  vala/valainterfacewriter.vala, vala/valamemorymanager.vala,
	  vala/valasemanticanalyzer.vala, vala/valasymbolbuilder.vala,
	  vala/valasymbolresolver.vala, vala/valaconstant.vala,
	  vala/valaconstructor.vala, vala/valacreationmethod.vala,
	  vala/valadestructor.vala, vala/valafield.vala,
	  vala/valaformalparameter.vala, vala/valamethod.vala,
	  vala/valaproperty.vala, vala/valapropertyaccessor.vala,
	  vala/valasignal.vala, gobject/valacodegenerator.vala,
	  gobject/valacodegeneratormethod.vala,
	  gobject/valacodegeneratorsignal.vala: move iteration of symbol nodes
	  from accept to accept_children method

134 135 136 137 138 139 140 141 142 143 144 145 146
2007-06-15  Jürg Billeter  <j@bitron.ch>

	* vala/valaattributeprocessor.vala, vala/valacodevisitor.vala,
	  vala/valainterfacewriter.vala, vala/valamemorymanager.vala,
	  vala/valaparser.vala, vala/valasemanticanalyzer.vala,
	  vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
	  vala/valacallback.vala, vala/valaclass.vala, vala/valaenum.vala,
	  vala/valaflags.vala, vala/valainterface.vala, vala/valastruct.vala,
	  gobject/valacodegenerator.class, gobject/valacodegeneratorclass.vala,
	  gobject/valacodegeneratorinterface.vala,
	  gobject/valacodegeneratorstruct.vala: move iteration of data types
	  from accept to accept_children method

147 148 149 150 151 152 153 154 155 156 157 158
2007-06-15  Jürg Billeter  <j@bitron.ch>

	* vala/valaattributeprocessor.vala, vala/valacodevisitor.vala,
	  vala/valainterfacewriter.vala, vala/valamemorymanager.vala,
	  vala/valaparser.vala, vala/valasemanticanalyzer.vala,
	  vala/valasourcefile.vala, vala/valasymbolbuilder.vala,
	  vala/valasymbolresolver.vala, vala/valacodenode.vala,
	  vala/valanamespace.vala, gobject/valacodegenerator.vala,
	  gobject/valacodegeneratorsourcefile.vala, vapigen/valagidlparser.vala:
	  move iteration of source files and namespaces from accept to
	  accept_children method

159 160 161 162 163 164 165 166
2007-06-15  Jürg Billeter  <j@bitron.ch>

	* vala/valacodecontext.vala, gobject/valaccodecompiler.vala,
	  compiler/valacompiler.vala: enhance commandline interface, add support
	  for invoking c compiler
	* gobject/Makefile.am: update
	* vapi/glib-2.0.vala: add shell-related utilities

167 168 169 170 171 172
2007-06-05  Jürg Billeter  <j@bitron.ch>

	* gobject/valacodegeneratorassignment.vala: correct invocation of setter
	  method of inherited properties, fixes bug 443527
	* gobject/valacodegeneratormemberaccess.vala: remove outdated comment

173 174 175 176 177 178 179 180 181 182 183
2007-06-05  Jürg Billeter  <j@bitron.ch>

	* vala/valainvocationexpression.vala: support storing sizes of array
	  dimensions for methods returning arrays
	* gobject/valacodegenerator.vala,
	  gobject/valacodegeneratorinvocationexpression.vala: add length
	  argument for methods returning arrays
	* vapi/glib-2.0.vala: add missing NoArrayLength attributes

	Fixes bug 434929

184 185 186 187 188
2007-06-05  Jürg Billeter  <j@bitron.ch>

	* gobject/valacodegenerator.vala: allow value-type arrays of unknown
	  length, assert at runtime when trying to iterate over such arrays

189 190 191 192 193 194 195 196 197
2007-05-31  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l, vala/parser.y, vala/valasemanticanalyzer.vala,
	  vala/valacodevisitor.vala, vala/valasizeofexpression.vala,
	  gobject/valacodegenerator.vala: support sizeof expression
	* vala/vala.h, vala/Makefile.am: update
	* vapi/glib-2.0.vala: add struct_size param to GLib.Source construction
	  method

198 199 200 201 202
2007-05-14  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: improve argument checks of invocation
	  expression, fixes bug 435854

203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221
2007-05-10  Jürg Billeter  <j@bitron.ch>

	* ccode/valaccodeblock.vala, ccode/valaccodedeclaration.vala,
	  ccode/valaccodedeclarator.vala, ccode/valaccodefragment.vala,
	  ccode/valaccodefunctiondeclarator.vala, ccode/valaccodenode.vala,
	  ccode/valaccodeoncesection.vala, ccode/valaccodestruct.vala,
	  ccode/valaccodetypedefinition.vala,
	  ccode/valaccodevariabledeclarator.vala: separate declaration output
	* vala/parser.y: remove comma at end of enum
	* vala/valaclass.vala, vala/valastruct.vala: remove unused methods
	* vala/Makefile.am: update
	* gobject/valacodegeneratorsourcefile.vala: support declaration
	  separation in C code
	* gobject/valaclassregisterfunction.vala,
	  gobject/valainterfaceregisterfunction.vala,
	  gobject/valatyperegisterfunction.vala: move from vala directory,
	  move interface info declarations to the beginning of the block
	* gobject/Makefile.am: update

222 223 224 225 226
2007-05-09  Jürg Billeter  <j@bitron.ch>

	* ccode/valaccodeenum.vala: remove comma at end of generated enumerator
	  list, fixes gcc warning

227 228 229 230 231
2007-05-09  Jürg Billeter  <j@bitron.ch>

	* gobject/valacodegeneratorclass.vala: generate get_property and
	  set_property methods only when necessary, fixes bug 435848

232 233 234 235 236
2007-05-09  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: add basic checks for method modifiers, fixes bug 435853
	* vala/vala.h: include valaflagsvalue.h

237 238 239 240 241
2007-05-09  Jürg Billeter  <j@bitron.ch>

	* vala/valanamespace.vala: iterate correctly over string in
	  camel_case_to_lower_case method, fixes bug 436760

242 243 244 245 246
2007-05-09  Jürg Billeter  <j@bitron.ch>

	* vala/valanamespace.vala: don't add default include directives for
	  VAPI files, fixes bug 436761

247 248 249 250 251 252 253
2007-05-07  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: correct strstr cname, patch by Zsombor
	* vapi/gtk+-2.0.vala: add ellipsis to Gtk.ListStore.set() and
	  Gtk.TreeStore.set()
	* vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala: update to GTK+ 2.10.12

254 255 256 257 258 259
2007-05-07  Jürg Billeter  <j@bitron.ch>

	* gobject/valacodegenerator.vala,
	  gobject/valacodegeneratormemberaccess.vala: ensure that local
	  variables don't use keywords in the C code

260 261 262 263 264 265 266 267 268 269
2007-05-07  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: declare variables at the beginning of blocks as
	  required for C89
	* gobject/valacodegeneratorclass.vala: avoid empty private struct
	  declaration
	* vapi/glib-2.0.vala: use g_ascii_strtoll instead of strtoll

	Patch by Hans Breuer

Jürg Billeter's avatar
Jürg Billeter committed
270 271 272 273 274 275 276 277 278 279 280 281 282 283
2007-05-03  Jürg Billeter  <j@bitron.ch>

	* gobject/valacodegenerator.vala,
	  gobject/valacodegeneratorassignment.vala,
	  gobject/valacodegeneratorclass.vala,
	  gobject/valacodegeneratorinterface.vala,
	  gobject/valacodegeneratorinvocationexpression.vala
	  gobject/valacodegeneratormemberaccess.vala,
	  gobject/valacodegeneratormethod.vala,
	  gobject/valacodegeneratorsignal.vala,
	  gobject/valacodegeneratorsourcefile.vala, 
	  gobject/valacodegeneratorstruct.vala: split code generator
	* gobject/Makefile.am, vapigen/Makefile.am: update

284 285 286 287 288 289 290
2007-05-03  Jürg Billeter  <j@bitron.ch>

	* gobject/valacodegenerator.vala: move code generator to new gobject
	  directory
	* configure.ac, Makefile.am, vala/Makefile.am, gobject/Makefile.am,
	  compiler/Makefile.am, vapi/Makefile.am: update

291 292 293 294
2007-05-03  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: GSList fixes and GIConv, patch by Michael Lawrence

295 296 297 298 299 300
2007-05-02  Jürg Billeter  <j@bitron.ch>

	* vapigen/gidlgen/gidlgen.in: use configured libdir, remove bashism,
	  based on patch by Mathias Hasselmann
	* vapigen/gidlgen/Makefile.am: update

Jürg Billeter's avatar
Jürg Billeter committed
301 302 303 304 305
2007-05-02  Jürg Billeter  <j@bitron.ch>

	* gobject-introspection, vapigen, vapi/packages: move from vapigen
	* configure.ac, Makefile.am: update

Jürg Billeter's avatar
Jürg Billeter committed
306 307 308 309
2007-04-30  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump

Jürg Billeter's avatar
Jürg Billeter committed
310 311 312 313
2007-04-30  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.9 release

314 315 316 317 318 319
2007-04-30  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valasymbolbuilder.vala, vala/valaclass.vala,
	  vala/valanamespace.vala: add experimental support for class
	  declarations in multiple source files

320 321 322 323 324
2007-04-30  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: check whether specified collection is
	  iterable in foreach statements, fixes bug 434514

325 326 327 328 329
2007-04-30  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: allow any integer type as index in an
	  element access expression, fixes bug 434506

330 331 332 333 334 335 336
2007-04-30  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valasymbolbuilder.vala,
	  vala/valaattributeprocessor.vala, vala/valasemanticanalyzer.vala,
	  vala/valacodegenerator.vala, vala/valainterfacewriter.vala,
	  vala/valaflags.vala: add basic support for flags, fixes bug 434511

337 338 339 340 341
2007-04-30  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: check that void return values are not
	  used, fixes bug 434503

342 343 344 345 346
2007-04-30  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: fix type check in relational
	  operations, fixes bug 434507

347 348 349 350 351
2007-04-30  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: add pointer to integer conversion in
	  foreach statements, fixes bug 433288

352 353 354 355 356
2007-04-24  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: add g_bit_nth_lsf, g_bit_nth_msf, and
	  g_bit_storage

357 358 359 360 361 362
2007-04-24  Jürg Billeter  <j@bitron.ch>

	* vala/valacallback.vala: add possibility to override default cname
	* vala/valaattributeprocessor.vala: process callback attributes
	* vala/valainterfacewriter.vala: cleanup code to write identifiers

363 364 365 366 367
2007-04-18  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: use const types where appropriate,
	  fixes bug 428393

368 369 370 371 372 373 374
2007-04-18  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: simplify unref expression for non-null
	  types
	* vala/valaclass.vala: don't mark fields as non-null due to
	  initialization issue

375 376 377 378 379 380 381 382
2007-04-12  Jürg Billeter  <j@bitron.ch>

	* vala/valatypereference.vala: add is_null property
	* vala/valasemanticanalyzer.vala: fix type analysis in conditional and
	  parenthesized expressions, fixes bug 428368
	* vapi/glib-2.0.vala: don't mark GLib.Object and GLib.InitiallyUnowned
	  as abstract

383 384 385 386 387
2007-04-12  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: fix warning when using interface
	  properties

388 389 390 391 392 393 394 395
2007-04-06  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: use yyleng instead of strlen
	* vala/valainterfacewriter.vala: don't write unnecessary attributes to
	  reduce parse time
	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
	  remove unnecessary attributes to reduce parse time

396 397 398 399 400 401 402 403 404 405 406
2007-04-05  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala, vala/valaforstatement.vala: support
	  temporary variables in initializers and iterators of for statements
	* vala/valacodegenerator.vala: support freeing generic types
	* vala/parser.y, vala/valacodevisitor.vala,
	  vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala,
	  vala/valareferencetransferexpression.vala: add reference transfer
	  expressions, e.g. `#var'
	* vala/vala.h, vala/Makefile.am: update

407 408 409 410 411
2007-04-05  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: generate properties for destroy function
	  pointers in generic types

412 413 414 415 416 417
2007-04-05  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: pass destroy function pointer when
	  creating instances of generic types
	* vala/valaclass.vala: add get_type_parameters method

418 419 420 421 422 423 424 425
2007-04-04  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: improve cast support
	* vala/valasemanticanalyzer.vala: fix ownership handling of local arrays
	* vala/valacodegenerator.vala: skip code generation for static
	  interfaces, downgrade generic management support message to warning
	* vala/valacallback.vala: support callbacks as property type

426 427 428 429 430 431 432 433 434 435 436 437 438 439
2007-04-04  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l: support casts to generic types
	* vala/valasymbolresolver.vala, vala/valatypereference.vala: support
	  arrays of generic types
	* vala/valasymbolresolver.vala: don't take ownership of elements of weak
	  arrays
	* vala/valasemanticanalyzer.vala: accept uint as index value
	* vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala,
	  vala/valastatement.vala: minor cleanup of creation methods
	* vala/valacodegenerator.vala: support creation methods for structs, fix
	  pointer as return type
	* vapi/glib-2.0.vala: add CLAMP and g_spaced_primes_closest

440 441 442 443 444 445
2007-04-03  Jürg Billeter  <j@bitron.ch>

	* vapi/math.vala: add mathematical functions, patch by
	  Mathias Hasselmann
	* vapi/Makefile.am: update

446 447 448 449 450 451
2007-04-03  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: initialize new array elements after
	  resizing an array, patch by Mathias Hasselmann
	* vala/valaproperty.vala: fix for interface properties

452 453 454 455 456 457
2007-04-03  Jürg Billeter  <j@bitron.ch>

	* doc/valac.1, doc/Makefile.am: add manual page for valac written by
	  Marc-André Lureau
	* Makefile.am, configure.ac: update

458 459 460 461 462 463
2007-04-03  Jürg Billeter  <j@bitron.ch>

	* vala/scanner.l, vala/parser.y, vala/valasemanticanalyzer.vala,
	  vala/valatypereference.vala: support declaration of local arrays
	* tests/test-022.vala: test local array declaration

464 465 466 467 468 469
2007-04-03  Jürg Billeter  <j@bitron.ch>

	* vala/valasymbolbuilder.vala, vala/valacodegenerator.vala: some fixes
	  for abstract properties
	* vala/valamethod.vala: improve default cname

470 471 472 473
2007-04-03  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: extend unicode support, add GRegex

474 475 476 477 478
2007-03-28  Raffaele Sandrini  <rasa@gmx.ch>

	* vapi/glib-2.0.vala: declare HashFunc and EqualFunc as callback
	  functions, patch by David Keijser

Raffaele Sandrini's avatar
Raffaele Sandrini committed
479 480 481 482 483
2007-03-25  Raffaele Sandrini  <rasa@gmx.ch>

	* vapi/vte.vala, vapi/vte.deps: add vte binding
	* vapi/Makefile.am: update

484 485 486 487 488 489 490
2007-03-24  Raffaele Sandrini  <rasa@gmx.ch>

	* vala/valaforstatement.vala: assign parent_node to children of this
	  statement; include iterator and initializer in replacement of a child
	  node (fixes segfault using prefix increment expression in the
	  iterator of a for-statement)

491
2007-03-22  Raffaele Sandrini  <rasa@gmx.ch>
492

493 494 495 496 497
	* vala/valaflags.vala, vala/valaenum.vala, vala/valadatatype.vala,
	  vala/valastruct.vala: add support for default values of types
	* vala/valacodegenerator.vala: use default values for initialization
	* vapi/glib-2.0.vala: add default values for common types

Jürg Billeter's avatar
Jürg Billeter committed
498 499 500 501
2007-03-22  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump

502 503 504 505 506
2007-03-22  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.8 release
	* tests/Makefile.am: update

507 508 509 510 511
2007-03-22  Raffaele Sandrini  <rasa@gmx.ch>

	* vala/valacodegenerator.vala: fix generation of unresolvable 'memset'
	  for classes without strings.

512 513 514 515 516 517
2007-03-21  Raffaele Sandrini  <rasa@gmx.ch>

	* vapi/pango.vala: add Pango.Cairo and Pango.CairoFontMap
	* vapi/pango.deps: add cairo dependency
	* vapi/Makefile.am: update

518 519 520 521 522 523 524 525
2007-03-21  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: fix properties with interface types
	* vala/valamemorymanager.vala: fix memory management when storing array
	  elements
	* vala/valaconstant.vala: obey overridden cprefix in namespaces
	* vapi/config.vala: override lower_case_cprefix of namespace

526 527 528 529 530
2007-03-21  Raffaele Sandrini  <rasa@gmx.ch>

	* vala/valaconstant.vala: add '_' between namespace and name of
	  namespace constants' cname

531 532 533 534 535 536
2007-03-21  Jürg Billeter  <j@bitron.ch>

	* vala/valainterfacewriter.vala: minor output enhancements
	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
	  improve handling of value-types and arrays

537 538 539 540 541 542
2007-03-21  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y, vala/valainterface.vala: support static interfaces
	* vala/valastruct.vala: make set_type_id public
	* vapi/glib-2.0.vala: add GBoxed as interface

543 544 545 546 547 548
2007-03-21  Jürg Billeter  <j@bitron.ch>

	* vala/valastruct.vala: use pointer as default of type_id and
	  marshaller_type_name for reference types
	* vala/valapointer.vala: implement get_type_id

549 550 551 552 553 554 555
2007-03-21  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: deep copy GLists if necessary, patch by
	  Mathias Hasselmann
	* vapi/glib-2.0.vala: fix some printf format strings to work on ILP32
	  and LP64 platforms

556 557 558 559 560 561 562 563 564
2007-03-21  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: improve support for numeric types, patch by
	  Mathias Hasselmann
	* tests/test-030.vala, tests/test-030.out, tests/test-031.vala,
	  tests/test-031.out: test numeric types
	* tests/testrunner.sh: use c99 and math library
	* tests/Makefile.am: update

565 566 567 568 569
2007-03-21  Jürg Billeter  <j@bitron.ch>

	* vala/valainterface.vala: implement marshalling support
	* vala/valacodegenerator.vala: support signals with interface parameters

570 571 572 573 574
2007-03-20  Raffaele Sandrini  <rasa@gmx.ch>

	* vapi/glib-2.0.vala: add extended runtime type support
	* vala/parser.y: also read property modifiers in set-only properties

575 576 577 578 579
2007-03-20  Jürg Billeter  <j@bitron.ch>

	* vala/valasymbolresolver.vala: add GObject to the list of base types
	* vapi/glib-2.0.vala: add ref and unref methods to GObject

580 581 582 583 584 585 586 587 588 589 590 591 592 593
2007-03-20  Jürg Billeter  <j@bitron.ch>

	* vala/valaparser.vala, vala/valasemanticanalyzer.vala,
	  vala/valamemorymanager.vala, vala/valacodegenerator.vala,
	  vala/valacallback.vala, vala/valainvocationexpression.vala,
	  vala/valamethod.vala, vala/valaobjectcreationexpression.vala: use weak
	  local variables where appropriate
	* vala/parser.y, vala/valasemanticanalyzer.vala: default local variables
	  to strong reference
	* vala/valasemanticanalyzer.vala: don't promote local variables from
	  weak to strong reference
	* vala/valacodegenerator.vala: warn when duplicating non-reference
	  counted structs implicitly

594 595 596 597 598
2007-03-20  Jürg Billeter  <j@bitron.ch>

	* tests/testrunner.sh: run with /bin/bash due to bashism, patch by
	  Mathias Hasselmann

599 600 601 602 603
2007-03-20  Jürg Billeter  <j@bitron.ch>

	* vapi/glib-2.0.vala: wrap functions for escaping markup strings, patch
	  by Mathias Hasselmann

604 605 606 607 608
2007-03-20  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: free lists of interfaces correctly, patch
	  by Mathias Hasselmann

609 610 611 612 613 614 615 616 617
2007-03-17  Jürg Billeter  <j@bitron.ch>

	* compiler/valacompiler.vala, compiler/Makefile.am, vapi/config.vala:
	  consider install prefix when searching for packages, patch by
	  Mathias Hasselmann
	* configure.ac: add AM_PROG_CC_C_O
	* autogen.sh, MAINTAINERS: added
	* Makefile.am: dist MAINTAINERS

618 619 620 621 622 623 624 625 626 627 628
2007-03-17  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala, vala/valacodegnerator.vala,
	  vala/valaclassregisterfunction.vala,
	  vala/valainterfaceregisterfunction.vala,
	  vala/valatyperegisterfunction.vala, vala/valacodecontext.vala: support
	  creating GTypeModule-based plug-ins with the ModuleInit attribute
	* vala/parser.y, vala/valacodegenerator.vala, vala/valaclass.vala:
	  support static classes
	* vapi/glib-2.0.vala: add TypePlugin and TypeModule

629 630 631 632 633 634 635 636
2007-03-17  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: accept attributes without parentheses
	* vala/valainterfacewriter.vala: don't write weak keyword for value
	  types
	* vapi/atk.vala, vapi/cairo.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala,
	  vapi/libxml-2.0.vala, vapi/pango.vala: update

637 638 639 640 641 642 643 644 645 646 647 648
2007-03-17  Jürg Billeter  <j@bitron.ch>

	* ccode/valaccodeunaryexpression.vala: support pointer indirections
	* vala/parser.y, vala/valacodevisitor.vala,
	  vala/valasymbolresolver.vala, vala/valasemanticanalyzer.vala,
	  vala/valamemorymanager.vala, vala/valacodegenerator.vala,
	  vala/valaaddressofexpression.vala, vala/valadatatype.vala,
	  vala/valapointer.vala, vala/valapointerindirection.vala,
	  vala/valatypereference.vala: support pointer-types, pointer
	  indirections, and address-of expressions
	* vala/vala.h, vala/Makefile.am: update

649 650 651 652 653
2007-03-16  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support weak keyword in local variable declarations
	* vapi/glib-2.0.vala: improve GError support

654 655 656 657 658 659
2007-03-16  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: support disconnecting signals, based on
	  patch by Alexandre Moreira
	* tests/test-018.vala, tests/test-018.out: test disconnecting signals

660 661 662 663 664
2007-03-16  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: fix null pointer dereference when
	  emitting signals

665 666 667 668 669 670 671 672 673 674 675
2007-03-16  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: default to strong references for method return types
	* vala/valasymbolresolver.vala: reset TypeReference.transfers_ownership
	  for value-types
	* vala/valasourcefile.vala: assume ownership of include filenames
	* vala/valainterfacewriter.vala: use weak keyword for return types
	* vala/valacodecontext.vala, vala/valasourcefile.vala,
	  vala/valasymbolbuilder.vala, vapi/glib-2.0.vala: add weak to return
	  types

676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691
2007-03-11  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: resolve generic return values
	* vala/valamemorymanager.vala: fix check for generic method parameters
	  to support derived types
	* vala/valainterface.vala: implement get_type_parameter_index
	* vala/valamemberaccess.vala: visit type arguments
	* vala/valaclassregisterfunction.vala,
	  vala/valainterfaceregisterfunction.vala,
	  vala/valatyperegisterfunction.vala: pass base_init function pointer
	  for interfaces
	* vala/valacodegenerator.vala: fix initialization check in interface
	  base_init function
	* vala/valasemanticanalyzer.vala: fix prerequisite check to also accept
	  derived types of prerequisites

692 693 694 695 696
2007-03-10  Jürg Billeter  <j@bitron.ch>

	* ccode/valaccodecastexpression.vala: correct bracketing in cast
	  expressions

697 698 699 700 701
2007-03-10  Jürg Billeter  <j@bitron.ch>

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

702 703 704 705 706 707 708
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

709 710 711 712
2007-03-10  Jürg Billeter  <j@bitron.ch>

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

713 714 715 716 717
2007-03-10  Jürg Billeter  <j@bitron.ch>

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

718 719 720 721 722 723 724 725
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

726 727 728 729
2007-03-07  Jürg Billeter  <j@bitron.ch>

	* vala/valaclass.vala: implement get_type_parameter_index

730 731 732 733 734
2007-03-07  Raffaele Sandrini  <rasa@gmx.ch>

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

735 736 737 738 739 740 741 742
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

743 744 745 746 747 748 749 750
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
751 752 753 754
2007-03-04  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump

Jürg Billeter's avatar
Jürg Billeter committed
755 756 757 758
2007-03-04  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.7 release

759 760 761 762 763
2007-03-04  Jürg Billeter  <j@bitron.ch>

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

764 765 766 767 768
2007-03-04  Jürg Billeter  <j@bitron.ch>

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

769 770 771 772 773 774 775 776 777 778
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

779 780 781 782 783 784 785 786 787 788 789 790 791 792
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

793 794 795 796 797 798
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

799 800 801 802 803 804 805 806 807
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

808 809 810 811 812 813 814
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

815 816 817 818 819 820 821 822 823 824 825 826 827 828
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

829 830 831 832 833
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

834 835 836 837
2007-03-03  Jürg Billeter  <j@bitron.ch>

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

838 839 840 841
2007-03-03  Jürg Billeter  <j@bitron.ch>

	* Switch to new construction syntax

842 843 844 845 846 847
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

848 849 850 851 852 853 854 855
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
856 857 858 859
2007-02-28  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump

860 861 862 863 864
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
865 866 867 868 869
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

870 871 872 873 874 875
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

876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891
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

892 893 894 895
2007-02-27  Jürg Billeter  <j@bitron.ch>

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

896 897 898 899 900
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
901 902 903 904 905
2007-02-26  Jürg Billeter  <j@bitron.ch>

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

906 907 908 909 910 911 912 913 914
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

915 916 917 918 919
2007-02-25  Jürg Billeter  <j@bitron.ch>

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

920 921 922 923 924 925 926 927
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

928 929 930 931 932 933
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
934 935 936 937
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
938 939 940 941
2007-02-25  Jürg Billeter  <j@bitron.ch>

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

Raffaele Sandrini's avatar
Raffaele Sandrini committed
942 943 944 945 946 947
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

948 949 950 951 952
2007-02-21  Jürg Billeter  <j@bitron.ch>

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

953 954 955 956 957
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>
958 959 960

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

Jürg Billeter's avatar
Jürg Billeter committed
961 962 963 964
2007-02-04  Jürg Billeter  <j@bitron.ch>

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

965 966 967 968 969
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

970 971 972 973 974
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

975 976 977 978
2007-02-04  Jürg Billeter  <j@bitron.ch>

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

979 980 981 982 983
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

984 985 986 987 988 989 990
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

991 992 993 994
2006-11-24  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: fix generating switch statements

995 996 997 998 999
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

1000 1001 1002 1003 1004
2006-11-22  Jürg Billeter  <j@bitron.ch>

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

1005 1006 1007 1008 1009
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

1010 1011 1012 1013 1014 1015
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

1016 1017 1018 1019 1020 1021 1022
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

1023 1024 1025 1026 1027 1028
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

1029 1030 1031 1032 1033 1034
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

1035 1036 1037 1038
2006-11-20  Jürg Billeter  <j@bitron.ch>

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

1039 1040 1041 1042 1043
2006-11-11  Jürg Billeter  <j@bitron.ch>

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

1044 1045 1046 1047 1048 1049
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
1050 1051 1052 1053
2006-11-09  Jürg Billeter  <j@bitron.ch>

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

1054 1055 1056 1057 1058
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
1059 1060 1061 1062
2006-11-06  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support unary ~ operator

1063 1064 1065 1066 1067
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
1068 1069 1070 1071
2006-11-02  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump

Jürg Billeter's avatar
Jürg Billeter committed
1072 1073 1074 1075
2006-11-02  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.5 release

1076 1077 1078 1079 1080 1081
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

1082 1083 1084 1085 1086
2006-11-02  Raffaele Sandrini  <rasa@gmx.ch>

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

1087 1088 1089 1090 1091 1092 1093
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

1094 1095 1096 1097 1098 1099 1100 1101 1102
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
1103 1104 1105 1106 1107
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

1108 1109
2006-10-26  Raffaele Sandrini  <rasa@gmx.ch>

Jürg Billeter's avatar
Jürg Billeter committed
1110 1111
	* vala/valasemanticanalyzer.vala: make foreach iterator only visible to
	  the foreach body.
1112 1113
	* INSTALL: update

1114 1115 1116 1117 1118 1119
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

1120 1121 1122 1123 1124
2006-10-26  Jürg Billeter  <j@bitron.ch>

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

1125 1126 1127 1128 1129
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

1130 1131 1132 1133 1134
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

1135 1136 1137 1138 1139
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

1140 1141 1142 1143 1144 1145 1146 1147 1148
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

1149 1150 1151 1152 1153 1154 1155 1156 1157
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

1158 1159 1160 1161 1162 1163 1164 1165
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

1166 1167 1168 1169
2006-10-25  Jürg Billeter  <j@bitron.ch>

	* vala/valasourcefile.vala: support dependencies on constants

1170 1171 1172 1173 1174
2006-10-24  Jürg Billeter  <j@bitron.ch>

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

1175 1176 1177 1178 1179 1180 1181 1182 1183
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
1184 1185 1186 1187
2006-10-08  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support enum values

Jürg Billeter's avatar
Jürg Billeter committed
1188 1189 1190 1191
2006-10-06  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.4 release

1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206
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

1207 1208 1209 1210 1211
2006-10-05  Jürg Billeter  <j@bitron.ch>

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

1212 1213 1214 1215 1216 1217 1218 1219
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

1220 1221 1222 1223 1224 1225 1226 1227 1228 1229
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

1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242
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

1243 1244 1245 1246
2006-10-03  Jürg Billeter  <j@bitron.ch>

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

1247
2006-09-28  Raffaele Sandrini <rasa@gmx.ch>
1248

1249 1250 1251 1252 1253 1254
	* 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
1255 1256 1257 1258
2006-09-28  Jürg Billeter  <j@bitron.ch>

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

1259 1260 1261 1262 1263 1264 1265 1266
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

1267 1268 1269 1270 1271 1272 1273 1274 1275
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

1276 1277 1278 1279 1280 1281
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

1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300
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

1301 1302 1303 1304
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
1305 1306 1307 1308 1309
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

1310 1311 1312 1313 1314 1315
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
1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326
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

1327 1328 1329 1330 1331 1332 1333
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

1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360
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

1361 1362 1363 1364 1365
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)

1366 1367 1368 1369 1370 1371 1372
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

1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390
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

1391 1392 1393 1394 1395 1396 1397 1398 1399
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

1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413
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

1414 1415 1416 1417 1418 1419 1420 1421 1422
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
1423 1424 1425 1426
2006-09-02  Jürg Billeter  <j@bitron.ch>

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

1427 1428 1429 1430 1431
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

1432 1433 1434 1435 1436 1437 1438
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)

1439 1440 1441 1442 1443 1444
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

1445 1446 1447 1448 1449
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
1450 1451 1452 1453
2006-08-18  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.3 release

1454 1455 1456 1457 1458
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

1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474
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

1475 1476 1477 1478 1479 1480 1481 1482
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

1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493
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

1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510
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

1511 1512 1513 1514 1515 1516 1517 1518 1519 1520
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

1521 1522 1523 1524 1525 1526
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

1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537
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

1538 1539 1540 1541 1542 1543 1544 1545 1546 1547
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

1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560
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

1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574
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

1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593
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

1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619
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
1620 1621 1622 1623
2006-08-02  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump.

1624 1625 1626 1627 1628 1629 1630 1631 1632 1633
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

1634 1635 1636 1637 1638 1639 1640 1641 1642 1643
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

1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662