ChangeLog 112 KB
Newer Older
Jürg Billeter's avatar
Jürg Billeter committed
1 2 3 4 5
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
6 7 8 9
2007-04-30  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump

Jürg Billeter's avatar
Jürg Billeter committed
10 11 12 13
2007-04-30  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.9 release

14 15 16 17 18 19
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

20 21 22 23 24
2007-04-30  Jürg Billeter  <j@bitron.ch>

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

25 26 27 28 29
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

30 31 32 33 34 35 36
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

37 38 39 40 41
2007-04-30  Jürg Billeter  <j@bitron.ch>

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

42 43 44 45 46
2007-04-30  Jürg Billeter  <j@bitron.ch>

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

47 48 49 50 51
2007-04-30  Jürg Billeter  <j@bitron.ch>

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

52 53 54 55 56
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

57 58 59 60 61 62
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

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

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

68 69 70 71 72 73 74
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

75 76 77 78 79 80 81 82
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

83 84 85 86 87
2007-04-12  Jürg Billeter  <j@bitron.ch>

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

88 89 90 91 92 93 94 95
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

96 97 98 99 100 101 102 103 104 105 106
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

107 108 109 110 111
2007-04-05  Jürg Billeter  <j@bitron.ch>

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

112 113 114 115 116 117
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

118 119 120 121 122 123 124 125
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

126 127 128 129 130 131 132 133 134 135 136 137 138 139
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

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

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

146 147 148 149 150 151
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

152 153 154 155 156 157
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

158 159 160 161 162 163
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

164 165 166 167 168 169
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

170 171 172 173
2007-04-03  Jürg Billeter  <j@bitron.ch>

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

174 175 176 177 178
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
179 180 181 182 183
2007-03-25  Raffaele Sandrini  <rasa@gmx.ch>

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

184 185 186 187 188 189 190
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)

191
2007-03-22  Raffaele Sandrini  <rasa@gmx.ch>
192

193 194 195 196 197
	* 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
198 199 200 201
2007-03-22  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump

202 203 204 205 206
2007-03-22  Jürg Billeter  <j@bitron.ch>

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

207 208 209 210 211
2007-03-22  Raffaele Sandrini  <rasa@gmx.ch>

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

212 213 214 215 216 217
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

218 219 220 221 222 223 224 225
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

226 227 228 229 230
2007-03-21  Raffaele Sandrini  <rasa@gmx.ch>

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

231 232 233 234 235 236
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

237 238 239 240 241 242
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

243 244 245 246 247 248
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

249 250 251 252 253 254 255
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

256 257 258 259 260 261 262 263 264
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

265 266 267 268 269
2007-03-21  Jürg Billeter  <j@bitron.ch>

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

270 271 272 273 274
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

275 276 277 278 279
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

280 281 282 283 284 285 286 287 288 289 290 291 292 293
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

294 295 296 297 298
2007-03-20  Jürg Billeter  <j@bitron.ch>

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

299 300 301 302 303
2007-03-20  Jürg Billeter  <j@bitron.ch>

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

304 305 306 307 308
2007-03-20  Jürg Billeter  <j@bitron.ch>

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

309 310 311 312 313 314 315 316 317
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

318 319 320 321 322 323 324 325 326 327 328
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

329 330 331 332 333 334 335 336
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

337 338 339 340 341 342 343 344 345 346 347 348
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

349 350 351 352 353
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

354 355 356 357 358 359
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

360 361 362 363 364
2007-03-16  Jürg Billeter  <j@bitron.ch>

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

365 366 367 368 369 370 371 372 373 374 375
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

376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391
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

392 393 394 395 396
2007-03-10  Jürg Billeter  <j@bitron.ch>

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

397 398 399 400 401
2007-03-10  Jürg Billeter  <j@bitron.ch>

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

402 403 404 405 406 407 408
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

409 410 411 412
2007-03-10  Jürg Billeter  <j@bitron.ch>

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

413 414 415 416 417
2007-03-10  Jürg Billeter  <j@bitron.ch>

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

418 419 420 421 422 423 424 425
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

426 427 428 429
2007-03-07  Jürg Billeter  <j@bitron.ch>

	* vala/valaclass.vala: implement get_type_parameter_index

430 431 432 433 434
2007-03-07  Raffaele Sandrini  <rasa@gmx.ch>

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

435 436 437 438 439 440 441 442
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

443 444 445 446 447 448 449 450
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
451 452 453 454
2007-03-04  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump

Jürg Billeter's avatar
Jürg Billeter committed
455 456 457 458
2007-03-04  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.7 release

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

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

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

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

469 470 471 472 473 474 475 476 477 478
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

479 480 481 482 483 484 485 486 487 488 489 490 491 492
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

493 494 495 496 497 498
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

499 500 501 502 503 504 505 506 507
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

508 509 510 511 512 513 514
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

515 516 517 518 519 520 521 522 523 524 525 526 527 528
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

529 530 531 532 533
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

534 535 536 537
2007-03-03  Jürg Billeter  <j@bitron.ch>

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

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

	* Switch to new construction syntax

542 543 544 545 546 547
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

548 549 550 551 552 553 554 555
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
556 557 558 559
2007-02-28  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump

560 561 562 563 564
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
565 566 567 568 569
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

570 571 572 573 574 575
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

576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591
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

592 593 594 595
2007-02-27  Jürg Billeter  <j@bitron.ch>

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

596 597 598 599 600
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
601 602 603 604 605
2007-02-26  Jürg Billeter  <j@bitron.ch>

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

606 607 608 609 610 611 612 613 614
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

615 616 617 618 619
2007-02-25  Jürg Billeter  <j@bitron.ch>

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

620 621 622 623 624 625 626 627
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

628 629 630 631 632 633
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
634 635 636 637
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
638 639 640 641
2007-02-25  Jürg Billeter  <j@bitron.ch>

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

Raffaele Sandrini's avatar
Raffaele Sandrini committed
642 643 644 645 646 647
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

648 649 650 651 652
2007-02-21  Jürg Billeter  <j@bitron.ch>

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

653 654 655 656 657
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>
658 659 660

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

Jürg Billeter's avatar
Jürg Billeter committed
661 662 663 664
2007-02-04  Jürg Billeter  <j@bitron.ch>

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

665 666 667 668 669
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

670 671 672 673 674
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

675 676 677 678
2007-02-04  Jürg Billeter  <j@bitron.ch>

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

679 680 681 682 683
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

684 685 686 687 688 689 690
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

691 692 693 694
2006-11-24  Jürg Billeter  <j@bitron.ch>

	* vala/valacodegenerator.vala: fix generating switch statements

695 696 697 698 699
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

700 701 702 703 704
2006-11-22  Jürg Billeter  <j@bitron.ch>

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

705 706 707 708 709
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

710 711 712 713 714 715
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

716 717 718 719 720 721 722
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

723 724 725 726 727 728
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

729 730 731 732 733 734
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

735 736 737 738
2006-11-20  Jürg Billeter  <j@bitron.ch>

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

739 740 741 742 743
2006-11-11  Jürg Billeter  <j@bitron.ch>

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

744 745 746 747 748 749
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
750 751 752 753
2006-11-09  Jürg Billeter  <j@bitron.ch>

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

754 755 756 757 758
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
759 760 761 762
2006-11-06  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support unary ~ operator

763 764 765 766 767
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
768 769 770 771
2006-11-02  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump

Jürg Billeter's avatar
Jürg Billeter committed
772 773 774 775
2006-11-02  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.5 release

776 777 778 779 780 781
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

782 783 784 785 786
2006-11-02  Raffaele Sandrini  <rasa@gmx.ch>

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

787 788 789 790 791 792 793
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

794 795 796 797 798 799 800 801 802
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
803 804 805 806 807
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

808 809
2006-10-26  Raffaele Sandrini  <rasa@gmx.ch>

Jürg Billeter's avatar
Jürg Billeter committed
810 811
	* vala/valasemanticanalyzer.vala: make foreach iterator only visible to
	  the foreach body.
812 813
	* INSTALL: update

814 815 816 817 818 819
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

820 821 822 823 824
2006-10-26  Jürg Billeter  <j@bitron.ch>

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

825 826 827 828 829
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

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

835 836 837 838 839
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

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

849 850 851 852 853 854 855 856 857
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

858 859 860 861 862 863 864 865
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

866 867 868 869
2006-10-25  Jürg Billeter  <j@bitron.ch>

	* vala/valasourcefile.vala: support dependencies on constants

870 871 872 873 874
2006-10-24  Jürg Billeter  <j@bitron.ch>

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

875 876 877 878 879 880 881 882 883
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
884 885 886 887
2006-10-08  Jürg Billeter  <j@bitron.ch>

	* vala/parser.y: support enum values

Jürg Billeter's avatar
Jürg Billeter committed
888 889 890 891
2006-10-06  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.4 release

892 893 894 895 896 897 898 899 900 901 902 903 904 905 906
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

907 908 909 910 911
2006-10-05  Jürg Billeter  <j@bitron.ch>

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

912 913 914 915 916 917 918 919
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

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

930 931 932 933 934 935 936 937 938 939 940 941 942
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

943 944 945 946
2006-10-03  Jürg Billeter  <j@bitron.ch>

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

947
2006-09-28  Raffaele Sandrini <rasa@gmx.ch>
948

949 950 951 952 953 954
	* 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
955 956 957 958
2006-09-28  Jürg Billeter  <j@bitron.ch>

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

959 960 961 962 963 964 965 966
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

967 968 969 970 971 972 973 974 975
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

976 977 978 979 980 981
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

982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000
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

1001 1002 1003 1004
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
1005 1006 1007 1008 1009
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

1010 1011 1012 1013 1014 1015
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
1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026
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

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

1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060
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

1061 1062 1063 1064 1065
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)

1066 1067 1068 1069 1070 1071 1072
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

1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090
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

1091 1092 1093 1094 1095 1096 1097 1098 1099
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

1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113
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

1114 1115 1116 1117 1118 1119 1120 1121 1122
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
1123 1124 1125 1126
2006-09-02  Jürg Billeter  <j@bitron.ch>

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

1127 1128 1129 1130 1131
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

1132 1133 1134 1135 1136 1137 1138
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)

1139 1140 1141 1142 1143 1144
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

1145 1146 1147 1148 1149
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
1150 1151 1152 1153
2006-08-18  Jürg Billeter  <j@bitron.ch>

	* NEWS: update for 0.0.3 release

1154 1155 1156 1157 1158
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

1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174
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

1175 1176 1177 1178 1179 1180 1181 1182
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

1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193
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

1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210
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

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

1221 1222 1223 1224 1225 1226
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

1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237
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

1238 1239 1240 1241 1242 1243 1244 1245 1246 1247
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

1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260
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

1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274
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

1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293
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

1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319
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
1320 1321 1322 1323
2006-08-02  Jürg Billeter  <j@bitron.ch>

	* configure.ac: Post-release version bump.

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

1334 1335 1336 1337 1338 1339 1340 1341 1342 1343
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

1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372
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

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

1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402
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

1403 1404 1405 1406 1407
2006-07-27  Jürg Billeter  <j@bitron.ch>

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

1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422
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

1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436
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

1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460
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

1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471
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

1472 1473 1474 1475 1476 1477 1478 1479 1480 1481
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

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

1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503
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

1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515
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

1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536
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

1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569
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

1570 1571 1572 1573
2006-07-08  Jürg Billeter  <j@bitron.ch>

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

1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584
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

1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595
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

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-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

1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634
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

1635 1636 1637 1638 1639 1640
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

1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657
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

1658 1659 1660 1661 1662 1663 1664
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

1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685
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

1686 1687