platform/upstream/vala.git
17 years agoadd check to report an error on invalid method_header and method_body
Raffaele Sandrini [Sat, 28 Jul 2007 15:57:56 +0000 (15:57 +0000)]
add check to report an error on invalid method_header and method_body

2007-07-28  Raffaele Sandrini  <raffaele@sandrini.ch>

* vala/parser.y: add check to report an error on invalid method_header
  and method_body presence combinations
* vala/valamethod.vala: add `is_imported' property

svn path=/trunk/; revision=411

17 years agoAdded some documentation about how to build your own Vala
Philip Van Hoof [Sat, 28 Jul 2007 12:21:20 +0000 (12:21 +0000)]
Added some documentation about how to build your own Vala

2007-07-28  Philip Van Hoof  <pvanhoof@gnome.org>

        * doc/building.txt: Added some documentation about how to build your
        own Vala

svn path=/trunk/; revision=410

17 years agoPost-release version bump
Juerg Billeter [Fri, 27 Jul 2007 21:45:59 +0000 (21:45 +0000)]
Post-release version bump

2007-07-27  Juerg Billeter  <j@bitron.ch>

* configure.ac: Post-release version bump

svn path=/trunk/; revision=409

17 years agoupdate for 0.1.2 release VALA_0_1_2
Juerg Billeter [Fri, 27 Jul 2007 21:43:46 +0000 (21:43 +0000)]
update for 0.1.2 release

2007-07-27  Juerg Billeter  <j@bitron.ch>

* NEWS: update for 0.1.2 release

svn path=/trunk/; revision=407

17 years agoadd internal copy of libgee and use Gee.ArrayList, Gee.HashMap, and
Juerg Billeter [Fri, 27 Jul 2007 15:36:23 +0000 (15:36 +0000)]
add internal copy of libgee and use Gee.ArrayList, Gee.HashMap, and

2007-07-27  Juerg Billeter  <j@bitron.ch>

* Makefile.am, README, configure.ac, gee/Makefile.am,
  gee/arraylist.vala, gee/collection.vala, gee/hashmap.vala,
  gee/hashset.vala, gee/iterable.vala, gee/iterator.vala, gee/list.vala,
  gee/map.vala, gee/readonlycollection.vala, gee/readonlylist.vala,
  gee/readonlymap.vala, gee/readonlyset.vala, gee/set.vala,
  vala/Makefile.am, vala/parser.y, vala/valaarray.vala,
  vala/valaarraycreationexpression.vala, vala/valaattribute.vala,
  vala/valablock.vala, vala/valacallback.vala, vala/valaclass.vala,
  vala/valacodecontext.vala, vala/valacodenode.vala,
  vala/valadatatype.vala, vala/valaelementaccess.vala,
  vala/valaenum.vala, vala/valaexpression.vala, vala/valafield.vala,
  vala/valaformalparameter.vala, vala/valaforstatement.vala,
  vala/valainitializerlist.vala, vala/valainstancecast.vala,
  vala/valainterface.vala, vala/valainterfacewriter.vala,
  vala/valainvocationexpression.vala, vala/valainvokable.vala,
  vala/valalambdaexpression.vala,
  vala/valalocalvariabledeclaration.vala, vala/valamember.vala,
  vala/valamemberaccess.vala, vala/valamemorymanager.vala,
  vala/valamethod.vala, vala/valanamespace.vala,
  vala/valaobjectcreationexpression.vala, vala/valapointer.vala,
  vala/valascope.vala, vala/valasemanticanalyzer.vala,
  vala/valasignal.vala, vala/valasourcefile.vala,
  vala/valasourcefilecycle.vala, vala/valastruct.vala,
  vala/valaswitchsection.vala, vala/valaswitchstatement.vala,
  vala/valasymbol.vala, vala/valasymbolresolver.vala,
  vala/valatrystatement.vala, vala/valatypeparameter.vala,
  vala/valatypereference.vala, vala/valavariabledeclarator.vala,
  ccode/Makefile.am, ccode/valaccodeblock.vala,
  ccode/valaccodecasestatement.vala,
  ccode/valaccodecommaexpression.vala, ccode/valaccodedeclaration.vala,
  ccode/valaccodeenum.vala, ccode/valaccodeforstatement.vala,
  ccode/valaccodefragment.vala, ccode/valaccodefunction.vala,
  ccode/valaccodefunctioncall.vala,
  ccode/valaccodefunctiondeclarator.vala,
  ccode/valaccodeinitializerlist.vala, ccode/valaccodestruct.vala,
  ccode/valaccodeswitchstatement.vala, gobject/Makefile.am,
  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, compiler/Makefile.am,
  vapi/gio-standalone.vala, vapi/gstreamer-0.10.vala,
  vapi/gtk+-2.0.vala, vapigen/Makefile.am, vapigen/valagidlparser.vala:
  add internal copy of libgee and use Gee.ArrayList, Gee.HashMap, and
  Gee.HashSet instead of GLib.List and GLib.HashTable

svn path=/trunk/; revision=406

17 years agoadd move method to arrays
Juerg Billeter [Fri, 27 Jul 2007 13:34:55 +0000 (13:34 +0000)]
add move method to arrays

2007-07-27  Juerg Billeter  <j@bitron.ch>

* vala/Makefile.am, vala/valaarray.vala, vala/valaarraymovemethod.vala,
  vala/valadatatype.vala, vala/valatypeparameter.vala,
  gobject/valacodegenerator.vala,
  gobject/valacodegeneratorinvocationexpression.vala,
  gobject/valacodegeneratorsourcefile.vala: add move method to arrays

svn path=/trunk/; revision=405

17 years agofix warning when connecting signals
Juerg Billeter [Fri, 27 Jul 2007 13:23:20 +0000 (13:23 +0000)]
fix warning when connecting signals

2007-07-27  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: fix warning when connecting signals

svn path=/trunk/; revision=404

17 years agofix warning when using element access with Gee.List or Gee.Map
Juerg Billeter [Fri, 27 Jul 2007 12:15:16 +0000 (12:15 +0000)]
fix warning when using element access with Gee.List or Gee.Map

2007-07-27  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: fix warning when using element access
  with Gee.List or Gee.Map

svn path=/trunk/; revision=403

17 years agofix memory management in foreach statements
Juerg Billeter [Fri, 27 Jul 2007 11:38:55 +0000 (11:38 +0000)]
fix memory management in foreach statements

2007-07-27  Juerg Billeter  <j@bitron.ch>

* vala/parser.y, vala/valaforeachstatement.vala,
  vala/valamemorymanager.vala, vala/valasemanticanalyzer.vala,
  gobject/valacodegenerator.vala,
  gobject/valacodegeneratorassignment.vala: fix memory management in
  foreach statements

svn path=/trunk/; revision=402

17 years agouse cast for field initializers when necessary
Juerg Billeter [Fri, 27 Jul 2007 11:31:20 +0000 (11:31 +0000)]
use cast for field initializers when necessary

2007-07-27  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegenerator.vala: use cast for field initializers when
  necessary

svn path=/trunk/; revision=401

17 years agofix memory leak in cast expressions
Juerg Billeter [Fri, 27 Jul 2007 10:50:35 +0000 (10:50 +0000)]
fix memory leak in cast expressions

2007-07-27  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: fix memory leak in cast expressions

svn path=/trunk/; revision=400

17 years agofree construction parameters in creation methods
Juerg Billeter [Fri, 27 Jul 2007 07:20:16 +0000 (07:20 +0000)]
free construction parameters in creation methods

2007-07-27  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegenerator.vala, gobject/valacodegeneratormethod.vala:
  free construction parameters in creation methods

svn path=/trunk/; revision=399

17 years agofree local variables before break and continue
Juerg Billeter [Fri, 27 Jul 2007 06:51:03 +0000 (06:51 +0000)]
free local variables before break and continue

2007-07-27  Juerg Billeter  <j@bitron.ch>

* vala/valadostatement.vala, vala/valaforeachstatement.vala,
  vala/valaforstatement.vala, vala/valawhilestatement.vala,
  gobject/valacodegenerator.vala: free local variables before break and
  continue

svn path=/trunk/; revision=398

17 years agofix freeing local variables of all blocks before returning from function
Juerg Billeter [Fri, 27 Jul 2007 06:42:00 +0000 (06:42 +0000)]
fix freeing local variables of all blocks before returning from function

2007-07-27  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegenerator.vala: fix freeing local variables of all
  blocks before returning from function

svn path=/trunk/; revision=397

17 years agouse weak variables in foreach statements where appropriate
Juerg Billeter [Thu, 26 Jul 2007 22:10:36 +0000 (22:10 +0000)]
use weak variables in foreach statements where appropriate

2007-07-27  Juerg Billeter  <j@bitron.ch>

* vapigen/valagidlparser.vala: use weak variables in foreach statements
  where appropriate

svn path=/trunk/; revision=396

17 years agoeven more fixes for libraries with generic types
Juerg Billeter [Thu, 26 Jul 2007 22:06:25 +0000 (22:06 +0000)]
even more fixes for libraries with generic types

2007-07-27  Juerg Billeter  <j@bitron.ch>

* vala/valainterfacewriter.vala: even more fixes for libraries with
  generic types

svn path=/trunk/; revision=395

17 years agoalso free the array itself in _vala_array_free
Juerg Billeter [Thu, 26 Jul 2007 16:40:16 +0000 (16:40 +0000)]
also free the array itself in _vala_array_free

2007-07-26  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegeneratorsourcefile.vala: also free the array itself
  in _vala_array_free

svn path=/trunk/; revision=394

17 years agounref the item in foreach as Gee.Iterator.get () transfers ownership
Juerg Billeter [Thu, 26 Jul 2007 16:38:29 +0000 (16:38 +0000)]
unref the item in foreach as Gee.Iterator.get () transfers ownership

2007-07-26  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegenerator.vala: unref the item in foreach as
  Gee.Iterator.get () transfers ownership

svn path=/trunk/; revision=393

17 years agosupport class destructors
Juerg Billeter [Thu, 26 Jul 2007 16:04:53 +0000 (16:04 +0000)]
support class destructors

2007-07-26  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegeneratorclass.vala, vapi/glib-2.0.vala: support
  class destructors

svn path=/trunk/; revision=392

17 years agofree array elements
Juerg Billeter [Thu, 26 Jul 2007 14:24:22 +0000 (14:24 +0000)]
free array elements

2007-07-26  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegenerator.vala,
  gobject/valacodegeneratorassignment.vala,
  gobject/valacodegeneratorsourcefile.vala: free array elements

svn path=/trunk/; revision=391

17 years agosupport element access for types implementing Gee.List or Gee.Map
Juerg Billeter [Thu, 26 Jul 2007 09:03:52 +0000 (09:03 +0000)]
support element access for types implementing Gee.List or Gee.Map

2007-07-26  Juerg Billeter  <j@bitron.ch>

* vala/valamemorymanager.vala, vala/valasemanticanalyzer.vala,
  gobject/valacodegenerator.vala,
  gobject/valacodegeneratorassignment.vala,
  gobject/valacodegeneratorinvocationexpression.vala: support element
  access for types implementing Gee.List or Gee.Map

svn path=/trunk/; revision=390

17 years agouse GSlice and generate free function for reference-type structs with a
Juerg Billeter [Thu, 26 Jul 2007 06:00:40 +0000 (06:00 +0000)]
use GSlice and generate free function for reference-type structs with a

2007-07-26  Juerg Billeter  <j@bitron.ch>

* vala/valastruct.vala, gobject/valacodegeneratormethod.vala,
  gobject/valacodegeneratorstruct.vala: use GSlice and generate free
  function for reference-type structs with a creation method

svn path=/trunk/; revision=389

17 years agoremove comments of overridden methods
Juerg Billeter [Wed, 25 Jul 2007 21:16:30 +0000 (21:16 +0000)]
remove comments of overridden methods

2007-07-25  Juerg Billeter  <j@bitron.ch>

* vala/valaarray.vala: remove comments of overridden methods

svn path=/trunk/; revision=388

17 years agoadd dup_func parameter to generic classes, fix some memory management
Juerg Billeter [Wed, 25 Jul 2007 20:30:58 +0000 (20:30 +0000)]
add dup_func parameter to generic classes, fix some memory management

2007-07-25  Juerg Billeter  <j@bitron.ch>

* vala/valainvokable.vala, vala/valamemorymanager.vala,
  vala/valasymbolresolver.vala, gobject/valacodegenerator.vala,
  gobject/valacodegeneratorassignment.vala,
  gobject/valacodegeneratorclass.vala,
  gobject/valacodegeneratormethod.vala: add dup_func parameter to
  generic classes, fix some memory management issues with generic types

svn path=/trunk/; revision=387

17 years agodon't expose private classes in public header files
Juerg Billeter [Wed, 25 Jul 2007 18:52:24 +0000 (18:52 +0000)]
don't expose private classes in public header files

2007-07-25  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegenerator.vala, gobject/valacodegeneratorclass.vala,
  gobject/valacodegeneratormethod.vala,
  gobject/valacodegeneratorstruct.vala: don't expose private classes in
  public header files

svn path=/trunk/; revision=386

17 years agoensure that index expression in element access doesn't get evaluated more
Juerg Billeter [Wed, 25 Jul 2007 16:22:40 +0000 (16:22 +0000)]
ensure that index expression in element access doesn't get evaluated more

2007-07-25  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegeneratorassignment.vala: ensure that index expression
  in element access doesn't get evaluated more than once

svn path=/trunk/; revision=385

17 years agoadd void to function declarations without parameters as required by C89
Juerg Billeter [Wed, 25 Jul 2007 13:25:25 +0000 (13:25 +0000)]
add void to function declarations without parameters as required by C89

2007-07-25  Juerg Billeter  <j@bitron.ch>

* ccode/valaccodefunction.vala: add void to function declarations
  without parameters as required by C89

svn path=/trunk/; revision=384

17 years agoadd support for iteration over Gee.Iterable collections
Juerg Billeter [Tue, 24 Jul 2007 15:48:16 +0000 (15:48 +0000)]
add support for iteration over Gee.Iterable collections

2007-07-24  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala, gobject/valacodegenerator.vala:
  add support for iteration over Gee.Iterable collections

svn path=/trunk/; revision=383

17 years agoskip memory manager for VAPI files remove unnecessary code in
Juerg Billeter [Tue, 24 Jul 2007 15:38:41 +0000 (15:38 +0000)]
skip memory manager for VAPI files remove unnecessary code in

2007-07-24  Juerg Billeter  <j@bitron.ch>

* vala/valamemorymanager.vala: skip memory manager for VAPI files
* vala/valasemanticanalyzer.vala: remove unnecessary code in
  visit_creation_method

svn path=/trunk/; revision=382

17 years agoadd --cc and -X options to be able to specify custom command and options
Juerg Billeter [Tue, 24 Jul 2007 14:37:09 +0000 (14:37 +0000)]
add --cc and -X options to be able to specify custom command and options

2007-07-24  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodecompiler.vala, compiler/valacompiler.vala: add --cc
  and -X options to be able to specify custom command and options for
  the C compiler

svn path=/trunk/; revision=381

17 years agoremove unnecessary runtime checks in release mode, simplify creation
Juerg Billeter [Tue, 24 Jul 2007 13:42:50 +0000 (13:42 +0000)]
remove unnecessary runtime checks in release mode, simplify creation

2007-07-24  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegenerator.vala,
  gobject/valacodegeneratormemberaccess.vala,
  gobject/valacodegeneratormethod.vala: remove unnecessary runtime
  checks in release mode, simplify creation method when not using
  construction properties

svn path=/trunk/; revision=380

17 years agoallow private static fields in interfaces, fixes bug 437435
Juerg Billeter [Tue, 24 Jul 2007 13:25:57 +0000 (13:25 +0000)]
allow private static fields in interfaces, fixes bug 437435

2007-07-24  Juerg Billeter  <j@bitron.ch>

* vala/parser.y, vala/valainterface.vala: allow private static fields in
  interfaces, fixes bug 437435

svn path=/trunk/; revision=379

17 years agoremove unnecessary construction properties to improve performance
Juerg Billeter [Mon, 23 Jul 2007 20:38:35 +0000 (20:38 +0000)]
remove unnecessary construction properties to improve performance

2007-07-23  Juerg Billeter  <j@bitron.ch>

* vala/valaarray.vala, vala/valaarraylengthfield.vala,
  vala/valaarrayresizemethod.vala, vala/valaattribute.vala,
  vala/valacodenode.vala, vala/valaconstant.vala, vala/valafield.vala,
  vala/valanamespacereference.vala, vala/valasignal.vala,
  vala/valasourcefile.vala: remove unnecessary construction properties
  to improve performance

svn path=/trunk/; revision=378

17 years agouse setters for non-construction properties in creation methods to improve
Juerg Billeter [Mon, 23 Jul 2007 20:23:35 +0000 (20:23 +0000)]
use setters for non-construction properties in creation methods to improve

2007-07-23  Juerg Billeter  <j@bitron.ch>

* vala/valaexpressionstatement.vala, vala/valasemanticanalyzer.vala,
  gobject/valacodegeneratorassignment.vala,
  gobject/valacodegeneratorclass.vala,
  gobject/valacodegeneratormethod.vala: use setters for non-construction
  properties in creation methods to improve performance

svn path=/trunk/; revision=377

17 years agoanother fix for libraries with generic types
Juerg Billeter [Mon, 23 Jul 2007 19:33:50 +0000 (19:33 +0000)]
another fix for libraries with generic types

2007-07-23  Juerg Billeter  <j@bitron.ch>

* vala/valainterfacewriter.vala: another fix for libraries with generic
  types

svn path=/trunk/; revision=376

17 years agofix some issues with memory management of includes lists
Juerg Billeter [Mon, 23 Jul 2007 14:11:02 +0000 (14:11 +0000)]
fix some issues with memory management of includes lists

2007-07-23  Juerg Billeter  <j@bitron.ch>

* vala/valasourcefile.vala, gobject/valacodegeneratorsourcefile.vala:
  fix some issues with memory management of includes lists

svn path=/trunk/; revision=375

17 years agofix cheader filenames and default to GObject prerequisite for interfaces,
Juerg Billeter [Mon, 23 Jul 2007 09:45:35 +0000 (09:45 +0000)]
fix cheader filenames and default to GObject prerequisite for interfaces,

2007-07-23  Juerg Billeter  <j@bitron.ch>

* vala/valainterface.vala, vala/valainterfacewriter.vala,
  vala/valasemanticanalyzer.vala: fix cheader filenames and default to
  GObject prerequisite for interfaces, fixes bug 459039

svn path=/trunk/; revision=374

17 years agowrite interface prerequisites
Juerg Billeter [Mon, 23 Jul 2007 06:45:33 +0000 (06:45 +0000)]
write interface prerequisites

2007-07-23  Juerg Billeter  <j@bitron.ch>

* vala/valainterfacewriter.vala: write interface prerequisites

svn path=/trunk/; revision=373

17 years agoadd basic internationalization functionality
Raffaele Sandrini [Sun, 22 Jul 2007 19:11:24 +0000 (19:11 +0000)]
add basic internationalization functionality

2007-07-22  Raffaele Sandrini  <raffaele@sandrini.ch>

* vapi/glib-2.0.vala: add basic internationalization functionality

svn path=/trunk/; revision=372

17 years agoadd cheader filename logic usable for all Vala.Member types. parse
Raffaele Sandrini [Sun, 22 Jul 2007 19:09:47 +0000 (19:09 +0000)]
add cheader filename logic usable for all Vala.Member types. parse

2007-07-22  Raffaele Sandrini  <raffaele@sandrini.ch>

* vala/valamember.vala: add cheader filename logic usable for all
  Vala.Member types.
* vala/valamethod.vala: parse cheader_filename CCode attribute
  argument
* vala/valadatatype.vala: fix get_cheader_filenames method signature
  to override the Symbol method instead of defining a new virtual
  method
* vala/valasourcefile.vala: adopt add_symbol_dependency to use the fact
  all Vala.Symbol types maintain their list of headers

svn path=/trunk/; revision=371

17 years agomore fixes for libraries with generic types
Juerg Billeter [Sun, 22 Jul 2007 18:44:48 +0000 (18:44 +0000)]
more fixes for libraries with generic types

2007-07-22  Juerg Billeter  <j@bitron.ch>

* vala/valainterfacewriter.vala: more fixes for libraries with generic
  types

svn path=/trunk/; revision=370

17 years agouse lazy initialization for array_types hash table
Juerg Billeter [Sun, 22 Jul 2007 18:13:55 +0000 (18:13 +0000)]
use lazy initialization for array_types hash table

2007-07-22  Juerg Billeter  <j@bitron.ch>

* vala/valadatatype.vala: use lazy initialization for array_types
  hash table

svn path=/trunk/; revision=369

17 years agosupport libraries with generic types
Juerg Billeter [Sun, 22 Jul 2007 18:06:26 +0000 (18:06 +0000)]
support libraries with generic types

2007-07-22  Juerg Billeter  <j@bitron.ch>

* vala/valainterface.vala, vala/valainterfacewriter.vala: support
  libraries with generic types

svn path=/trunk/; revision=368

17 years agoallow inner classes to access private members of outer classes
Juerg Billeter [Sun, 22 Jul 2007 17:27:15 +0000 (17:27 +0000)]
allow inner classes to access private members of outer classes

2007-07-22  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: allow inner classes to access private
  members of outer classes

svn path=/trunk/; revision=367

17 years agoderive from Symbol class where appropriate and move symbol table into
Juerg Billeter [Sat, 21 Jul 2007 14:29:16 +0000 (14:29 +0000)]
derive from Symbol class where appropriate and move symbol table into

2007-07-21  Juerg Billeter  <j@bitron.ch>

* vala/Makefile.am, vala/parser.y, vala/scanner.l, vala/vala.h,
  vala/valaarray.vala, vala/valaarraylengthfield.vala,
  vala/valaarrayresizemethod.vala, vala/valaattributeprocessor.vala,
  vala/valablock.vala, vala/valabreakstatement.vala,
  vala/valacallback.vala, vala/valaclass.vala,
  vala/valacodecontext.vala, vala/valacodenode.vala,
  vala/valacodevisitor.vala, vala/valaconstant.vala,
  vala/valaconstructor.vala, vala/valacontinuestatement.vala,
  vala/valacreationmethod.vala, vala/valadatatype.vala,
  vala/valadeclarationstatement.vala, vala/valadestructor.vala,
  vala/valadostatement.vala, vala/valaemptystatement.vala,
  vala/valaenum.vala, vala/valaenumvalue.vala,
  vala/valaexpressionstatement.vala, vala/valafield.vala,
  vala/valaflags.vala, vala/valaflagsvalue.vala,
  vala/valaforeachstatement.vala, vala/valaformalparameter.vala,
  vala/valaforstatement.vala, vala/valaifstatement.vala,
  vala/valainterface.vala, vala/valainterfacewriter.vala,
  vala/valalockstatement.vala, vala/valamember.vala,
  vala/valamemorymanager.vala, vala/valamethod.vala,
  vala/valanamespace.vala, vala/valaproperty.vala,
  vala/valapropertyaccessor.vala, vala/valareturnstatement.vala,
  vala/valascope.vala, vala/valasemanticanalyzer.vala,
  vala/valasignal.vala, vala/valasourcefile.vala,
  vala/valastatement.vala, vala/valastruct.vala,
  vala/valaswitchstatement.vala, vala/valasymbol.vala,
  vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
  vala/valathrowstatement.vala, vala/valatrystatement.vala,
  vala/valatypeparameter.vala, vala/valatypereference.vala,
  vala/valavariabledeclarator.vala, vala/valawhilestatement.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/valacodegeneratorstruct.vala, compiler/valacompiler.vala,
  vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gio-standalone.vala,
  vapi/glib-2.0.vala, vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala,
  vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala,
  vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala, vapi/pango.vala,
  vapi/vte.vala, vapigen/valagidlparser.vala, vapigen/valavapigen.vala:
  derive from Symbol class where appropriate and move symbol table into
  separate Scope class

svn path=/trunk/; revision=366

17 years agoadd basic zlib support add some string members, add some process exit
Raffaele Sandrini [Sat, 21 Jul 2007 12:27:03 +0000 (12:27 +0000)]
add basic zlib support add some string members, add some process exit

2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>

* vapi/zlib.vala: add basic zlib support
* vapi/glib-2.0.vala: add some string members, add some process
  exit status and signal handling functions/macros, enhance FileStream
  create GLib.DirUtils to be the same for dirs as GLib.FileUtils is for
  files, enhance GLib.HashTable binding, add g_list_free function to
  the collection of HashTable freeing functions
* vapi/Makefile.am: update

svn path=/trunk/; revision=365

17 years agoallow '\0' escape sequences
Raffaele Sandrini [Sat, 21 Jul 2007 12:26:59 +0000 (12:26 +0000)]
allow '\0' escape sequences

2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>

* vala/scanner.l: allow '\0' escape sequences

svn path=/trunk/; revision=364

17 years agodo not add includes to oneself
Raffaele Sandrini [Sat, 21 Jul 2007 12:26:56 +0000 (12:26 +0000)]
do not add includes to oneself

2007-07-21 Raffaele Sandrini  <raffaele@sandrini.ch>

* vala/valasourcefile.vala: do not add includes to oneself

svn path=/trunk/; revision=363

17 years agocorrect return type of get_cheader_filenames
Juerg Billeter [Tue, 17 Jul 2007 22:45:07 +0000 (22:45 +0000)]
correct return type of get_cheader_filenames

2007-07-17  Juerg Billeter  <j@bitron.ch>

* vala/valaarray.vala, vala/valadatatype.vala, vala/valapointer.vala:
  correct return type of get_cheader_filenames

svn path=/trunk/; revision=362

17 years agoconvert the CodeContext.get_root method to a property
Juerg Billeter [Tue, 17 Jul 2007 22:36:46 +0000 (22:36 +0000)]
convert the CodeContext.get_root method to a property

2007-07-17  Juerg Billeter  <j@bitron.ch>

* vala/valaarraylengthfield.vala, vala/valaarrayresizemethod.vala,
  vala/valacodecontext.vala, vala/valasemanticanalyzer.vala,
  vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
  gobject/valacodegenerator.vala: convert the CodeContext.get_root
  method to a property

svn path=/trunk/; revision=361

17 years agomove namespaces from SourceFile to CodeContext
Juerg Billeter [Tue, 17 Jul 2007 17:01:44 +0000 (17:01 +0000)]
move namespaces from SourceFile to CodeContext

2007-07-17  Juerg Billeter  <j@bitron.ch>

* vala/parser.y, vala/valaattributeprocessor.vala,
  vala/valacodecontext.vala, vala/valadatatype.vala,
  vala/valainterfacewriter.vala, vala/valamemorymanager.vala,
  vala/valanamespace.vala, vala/valasemanticanalyzer.vala,
  vala/valasourcefile.vala, vala/valasymbolbuilder.vala,
  vala/valasymbolresolver.vala, gobject/valacodegenerator.vala,
  gobject/valacodegeneratorsourcefile.vala, vapigen/valagidlparser.vala,
  vapigen/valavapigen.vala: move namespaces from SourceFile to
  CodeContext

svn path=/trunk/; revision=360

17 years agogenerate more ellipsis parameters regenerated to add ellipsis parameters
Juerg Billeter [Tue, 17 Jul 2007 13:25:22 +0000 (13:25 +0000)]
generate more ellipsis parameters regenerated to add ellipsis parameters

2007-07-17  Juerg Billeter  <j@bitron.ch>

* vapigen/valagidlparser.vala: generate more ellipsis parameters
* vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
  regenerated to add ellipsis parameters where appropriate

svn path=/trunk/; revision=359

17 years agoadd GStreamer bindings
Juerg Billeter [Tue, 17 Jul 2007 11:07:26 +0000 (11:07 +0000)]
add GStreamer bindings

2007-07-17  Juerg Billeter  <j@bitron.ch>

* vapigen/valagidlparser.vala, vapi/glib-2.0.vala,
  vapi/gstreamer-0.10.vala, vapi/packages/gstreamer-0.10/: add GStreamer
  bindings

svn path=/trunk/; revision=358

17 years agoPost-release version bump
Juerg Billeter [Fri, 13 Jul 2007 09:48:49 +0000 (09:48 +0000)]
Post-release version bump

2007-07-13  Juerg Billeter  <j@bitron.ch>

* configure.ac: Post-release version bump

svn path=/trunk/; revision=357

17 years agoupdate for 0.1.1 release VALA_0_1_1
Juerg Billeter [Fri, 13 Jul 2007 09:46:45 +0000 (09:46 +0000)]
update for 0.1.1 release

2007-07-13  Juerg Billeter  <j@bitron.ch>

* NEWS: update for 0.1.1 release

svn path=/trunk/; revision=355

17 years agomove iteration of throw statements, try statements, and catch clauses from
Juerg Billeter [Fri, 13 Jul 2007 09:27:38 +0000 (09:27 +0000)]
move iteration of throw statements, try statements, and catch clauses from

2007-07-13  Juerg Billeter  <j@bitron.ch>

* vala/valacatchclause.vala, vala/valacodevisitor.vala,
  vala/valamemorymanager.vala, vala/valasemanticanalyzer.vala,
  vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
  vala/valathrowstatement.vala, vala/valatrystatement.vala,
  gobject/valacodegenerator.vala: move iteration of throw statements,
  try statements, and catch clauses from accept to accept_children
  method, fixes nested try statements
* gobject/valacodegenerator.vala: clear unhandled error instead of
  returning from the current function
* vala/valasemanticanalyzer.vala: generic pointer is compatible with
  generic pointer
* vapi/glib-2.0.vala: add some more default values

svn path=/trunk/; revision=354

17 years agosupport multi- dimensional arrays
Juerg Billeter [Thu, 12 Jul 2007 22:59:59 +0000 (22:59 +0000)]
support multi- dimensional arrays

2007-07-13  Juerg Billeter  <j@bitron.ch>

* vala/parser.y, gobject/valacodegenerator.vala: support multi-
  dimensional arrays

svn path=/trunk/; revision=353

17 years agoremove Error out parameters, use exceptions
Juerg Billeter [Thu, 12 Jul 2007 12:36:46 +0000 (12:36 +0000)]
remove Error out parameters, use exceptions

2007-07-12  Juerg Billeter  <j@bitron.ch>

* ccode/valaccodewriter.vala, gobject/valaccodecompiler.vala,
  compiler/valacompiler.vala, vapi/glib-2.0.vala,
  gobject-introspection/gidl.vala, vapigen/valagidlparser.vala,
  vapigen/valavapigen.vala: remove Error out parameters, use exceptions

svn path=/trunk/; revision=352

17 years agosupport exception handling in constructors, avoid error when not using
Juerg Billeter [Thu, 12 Jul 2007 12:22:59 +0000 (12:22 +0000)]
support exception handling in constructors, avoid error when not using

2007-07-12  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegenerator.vala: support exception handling in
  constructors, avoid error when not using finally blocks

svn path=/trunk/; revision=351

17 years agoallow delegates to throw exceptions
Jürg Billeter [Thu, 12 Jul 2007 09:52:34 +0000 (09:52 +0000)]
allow delegates to throw exceptions

2007-07-12  Jürg Billeter  <j@bitron.ch>

* vala/parser.y: allow delegates to throw exceptions

svn path=/trunk/; revision=350

17 years agoallow construction methods to throw exceptions, fix issue with multiple
Juerg Billeter [Thu, 12 Jul 2007 09:16:14 +0000 (09:16 +0000)]
allow construction methods to throw exceptions, fix issue with multiple

2007-07-12  Juerg Billeter  <j@bitron.ch>

* vala/parser.y, vala/valasemanticanalyzer.vala,
  gobject/valacodegenerator.vala: allow construction methods to throw
  exceptions, fix issue with multiple catch clauses

svn path=/trunk/; revision=349

17 years agoimplement simple exception handling for expression and declaration
Juerg Billeter [Thu, 12 Jul 2007 08:40:09 +0000 (08:40 +0000)]
implement simple exception handling for expression and declaration

2007-07-12  Juerg Billeter  <j@bitron.ch>

* vala/parser.y, vala/valacodenode.vala, vala/valaenum.vala,
  vala/valaexpression.vala, vala/valamethod.vala,
  vala/valasemanticanalyzer.vala, vala/valatrystatement.vala,
  ccode/valaccodegotostatement.vala, ccode/valaccodelabel.vala:
* gobject/valacodegenerator.vala,
  gobject/valacodegeneratorinvocationexpression.vala,
  gobject/valacodegeneratormethod.vala: implement simple exception
  handling for expression and declaration statements
* tests/test-033.vala, tests/test-033.out: test exception handling
* README, ccode/Makefile.am, tests/Makefile.am: update

svn path=/trunk/; revision=348

17 years agoadd substring method to the string type test substring method
Juerg Billeter [Wed, 11 Jul 2007 16:19:45 +0000 (16:19 +0000)]
add substring method to the string type test substring method

2007-07-11  Juerg Billeter  <j@bitron.ch>

* ccode/valaccodefunctioncall.vala, gobject/valacodegenerator.vala,
  gobject/valacodegeneratorinvocationexpression.vala,
  vapi/glib-2.0.vala: add substring method to the string type
* tests/test-021.vala, tests/test-021.out: test substring method

Fixes bug 443524

svn path=/trunk/; revision=347

17 years agosupport element access for strings test element access for strings
Juerg Billeter [Wed, 11 Jul 2007 15:06:57 +0000 (15:06 +0000)]
support element access for strings test element access for strings

2007-07-11  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala, gobject/valacodegenerator.vala:
  support element access for strings
* tests/test-019.vala, tests/test-019.out: test element access for
  strings

Fixes bug 443523

svn path=/trunk/; revision=346

17 years agofix order in C header file test public delegate
Juerg Billeter [Wed, 11 Jul 2007 14:23:50 +0000 (14:23 +0000)]
fix order in C header file test public delegate

2007-07-11  Juerg Billeter  <j@bitron.ch>

* ccode/valaccodefragment.vala, ccode/valaccodenode.vala,
  ccode/valaccodeoncesection.vala, gobject/valacodegenerator.vala,
  gobject/valacodegeneratorsourcefile.vala: fix order in C header file
* tests/test-014.vala, tests/test-014.out: test public delegate

Fixes bug 442703

svn path=/trunk/; revision=345

17 years agocall visit_end_full_expression for collection expression return array
Juerg Billeter [Wed, 11 Jul 2007 13:30:02 +0000 (13:30 +0000)]
call visit_end_full_expression for collection expression return array

2007-07-11  Juerg Billeter  <j@bitron.ch>

* vala/valaforeachstatement.vala: call visit_end_full_expression for
  collection expression
* gobject/valacodegenerator.vala, gobject/valacodegeneratormethod.vala:
  return array length if appropriate
* tests/test-032.vala, tests/test-032.out: test array as return value
* tests/Makefile.am: update

Fixes bug 453676

svn path=/trunk/; revision=344

17 years agoany reference or array type or pointer type can be cast to a generic
Juerg Billeter [Wed, 11 Jul 2007 12:17:19 +0000 (12:17 +0000)]
any reference or array type or pointer type can be cast to a generic

2007-07-11  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: any reference or array type or pointer
  type can be cast to a generic pointer

svn path=/trunk/; revision=343

17 years agoexpand libxml2 bindings, patch by Michael Lawrence, fixes bug 452016
Juerg Billeter [Wed, 11 Jul 2007 11:31:48 +0000 (11:31 +0000)]
expand libxml2 bindings, patch by Michael Lawrence, fixes bug 452016

2007-07-11  Juerg Billeter  <j@bitron.ch>

* vapi/libxml-2.0.vala: expand libxml2 bindings,
  patch by Michael Lawrence, fixes bug 452016

svn path=/trunk/; revision=342

17 years agofix writing type arguments of formal parameters regenerated to use out
Juerg Billeter [Wed, 11 Jul 2007 11:02:54 +0000 (11:02 +0000)]
fix writing type arguments of formal parameters regenerated to use out

2007-07-11  Juerg Billeter  <j@bitron.ch>

* vala/valainterfacewriter.vala: fix writing type arguments of formal
  parameters
* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
  regenerated to use out instead of ref parameters

svn path=/trunk/; revision=341

17 years agoadd --thread option to enable multithreading support
Juerg Billeter [Tue, 10 Jul 2007 07:46:04 +0000 (07:46 +0000)]
add --thread option to enable multithreading support

2007-07-10  Juerg Billeter  <j@bitron.ch>

* vala/valacodecontext.vala, gobject/valaccodecompiler.vala,
  gobject/valacodegeneratormethod.vala, compiler/valacompiler.vala:
  add --thread option to enable multithreading support

svn path=/trunk/; revision=340

17 years agoalways use gobject-2.0
Juerg Billeter [Tue, 10 Jul 2007 07:26:10 +0000 (07:26 +0000)]
always use gobject-2.0

2007-07-10  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodecompiler.vala: always use gobject-2.0

svn path=/trunk/; revision=339

17 years agofix typo
Juerg Billeter [Tue, 10 Jul 2007 07:24:04 +0000 (07:24 +0000)]
fix typo

2007-07-10  Juerg Billeter  <j@bitron.ch>

* vapi/hal.vala: fix typo

svn path=/trunk/; revision=338

17 years agoPost-release version bump
Juerg Billeter [Mon, 9 Jul 2007 08:25:54 +0000 (08:25 +0000)]
Post-release version bump

2007-07-09  Juerg Billeter  <j@bitron.ch>

* configure.ac: Post-release version bump

svn path=/trunk/; revision=337

17 years agoupdate for 0.1.0 release VALA_0_1_0
Juerg Billeter [Mon, 9 Jul 2007 08:18:19 +0000 (08:18 +0000)]
update for 0.1.0 release

2007-07-09  Juerg Billeter  <j@bitron.ch>

* NEWS, README, configure.ac: update for 0.1.0 release

svn path=/trunk/; revision=335

17 years agoremove obsolete ref modifier and callback keyword
Juerg Billeter [Mon, 9 Jul 2007 07:38:44 +0000 (07:38 +0000)]
remove obsolete ref modifier and callback keyword

2007-07-09  Juerg 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

svn path=/trunk/; revision=334

17 years agowrite static delegate instead of callback use static delegate instead of
Juerg Billeter [Mon, 9 Jul 2007 05:27:31 +0000 (05:27 +0000)]
write static delegate instead of callback use static delegate instead of

2007-07-09  Juerg 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

svn path=/trunk/; revision=333

17 years agosupport delegate keyword and optional modifiers to declare callbacks
Juerg Billeter [Mon, 9 Jul 2007 05:08:30 +0000 (05:08 +0000)]
support delegate keyword and optional modifiers to declare callbacks

2007-07-09  Juerg Billeter  <j@bitron.ch>

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

svn path=/trunk/; revision=332

17 years agosupport # modifier to transfer ownership in method parameters
Juerg Billeter [Mon, 9 Jul 2007 04:53:32 +0000 (04:53 +0000)]
support # modifier to transfer ownership in method parameters

2007-07-09  Juerg Billeter  <j@bitron.ch>

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

svn path=/trunk/; revision=331

17 years agofix TimeVal binding add experimental VAPI for HAL update
Juerg Billeter [Thu, 5 Jul 2007 12:29:32 +0000 (12:29 +0000)]
fix TimeVal binding add experimental VAPI for HAL update

2007-07-05  Juerg 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

svn path=/trunk/; revision=330

17 years agoupdate to new GRegex API
Juerg Billeter [Wed, 4 Jul 2007 14:40:28 +0000 (14:40 +0000)]
update to new GRegex API

2007-07-04  Juerg Billeter  <j@bitron.ch>

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

svn path=/trunk/; revision=329

17 years agowrite cprefix and lower_case_cprefix of namespaces and write
Juerg Billeter [Tue, 3 Jul 2007 21:42:08 +0000 (21:42 +0000)]
write cprefix and lower_case_cprefix of namespaces and write

2007-07-03  Juerg 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

svn path=/trunk/; revision=328

17 years agoadd more string utility functions and GDate support, based on patch by
Juerg Billeter [Sun, 1 Jul 2007 19:09:54 +0000 (19:09 +0000)]
add more string utility functions and GDate support, based on patch by

2007-07-01  Juerg 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

svn path=/trunk/; revision=327

17 years agoadd basic support for enum methods
Juerg Billeter [Sun, 1 Jul 2007 16:50:02 +0000 (16:50 +0000)]
add basic support for enum methods

2007-07-01  Juerg Billeter  <j@bitron.ch>

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

svn path=/trunk/; revision=326

17 years agofix current_symbol handling in visit_property_accessor add missing
Juerg Billeter [Sat, 30 Jun 2007 16:31:19 +0000 (16:31 +0000)]
fix current_symbol handling in visit_property_accessor add missing

2007-06-30  Juerg 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

svn path=/trunk/; revision=325

17 years agomove iteration of symbol nodes from accept to accept_children method
Jürg Billeter [Fri, 15 Jun 2007 16:27:12 +0000 (16:27 +0000)]
move iteration of symbol nodes from accept to accept_children method

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

svn path=/trunk/; revision=324

17 years agomove iteration of data types from accept to accept_children method
Jürg Billeter [Fri, 15 Jun 2007 12:36:34 +0000 (12:36 +0000)]
move iteration of data types from accept to accept_children method

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

svn path=/trunk/; revision=323

17 years agomove iteration of source files and namespaces from accept to
Jürg Billeter [Fri, 15 Jun 2007 10:25:33 +0000 (10:25 +0000)]
move iteration of source files and namespaces from accept to

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

svn path=/trunk/; revision=322

17 years agoenhance commandline interface, add support for invoking c compiler update
Jürg Billeter [Fri, 15 Jun 2007 09:47:47 +0000 (09:47 +0000)]
enhance commandline interface, add support for invoking c compiler update

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

svn path=/trunk/; revision=321

17 years agocorrect invocation of setter method of inherited properties, fixes bug
Jürg Billeter [Tue, 5 Jun 2007 11:05:50 +0000 (11:05 +0000)]
correct invocation of setter method of inherited properties, fixes bug

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

svn path=/trunk/; revision=320

17 years agosupport storing sizes of array dimensions for methods returning arrays add
Jürg Billeter [Tue, 5 Jun 2007 09:21:31 +0000 (09:21 +0000)]
support storing sizes of array dimensions for methods returning arrays add

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

svn path=/trunk/; revision=319

17 years agoallow value-type arrays of unknown length, assert at runtime when trying
Jürg Billeter [Tue, 5 Jun 2007 08:43:19 +0000 (08:43 +0000)]
allow value-type arrays of unknown length, assert at runtime when trying

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

svn path=/trunk/; revision=318

17 years agosupport sizeof expression update add struct_size param to GLib.Source
Jürg Billeter [Thu, 31 May 2007 12:33:24 +0000 (12:33 +0000)]
support sizeof expression update add struct_size param to GLib.Source

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

svn path=/trunk/; revision=317

17 years agoimprove argument checks of invocation expression, fixes bug 435854
Jürg Billeter [Mon, 14 May 2007 09:27:26 +0000 (09:27 +0000)]
improve argument checks of invocation expression, fixes bug 435854

2007-05-14  Jürg Billeter  <j@bitron.ch>

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

svn path=/trunk/; revision=316

17 years agoseparate declaration output remove comma at end of enum remove unused
Jürg Billeter [Thu, 10 May 2007 11:33:08 +0000 (11:33 +0000)]
separate declaration output remove comma at end of enum remove unused

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

svn path=/trunk/; revision=315

17 years agoremove comma at end of generated enumerator list, fixes gcc warning
Jürg Billeter [Wed, 9 May 2007 12:32:58 +0000 (12:32 +0000)]
remove comma at end of generated enumerator list, fixes gcc warning

2007-05-09  Jürg Billeter  <j@bitron.ch>

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

svn path=/trunk/; revision=314

17 years agogenerate get_property and set_property methods only when necessary, fixes
Jürg Billeter [Wed, 9 May 2007 12:15:30 +0000 (12:15 +0000)]
generate get_property and set_property methods only when necessary, fixes

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

svn path=/trunk/; revision=313

17 years agoadd basic checks for method modifiers, fixes bug 435853 include
Jürg Billeter [Wed, 9 May 2007 11:53:05 +0000 (11:53 +0000)]
add basic checks for method modifiers, fixes bug 435853 include

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

svn path=/trunk/; revision=312

17 years agoiterate correctly over string in camel_case_to_lower_case method, fixes
Jürg Billeter [Wed, 9 May 2007 11:27:08 +0000 (11:27 +0000)]
iterate correctly over string in camel_case_to_lower_case method, fixes

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

svn path=/trunk/; revision=311

17 years agodon't add default include directives for VAPI files, fixes bug 436761
Jürg Billeter [Wed, 9 May 2007 09:41:36 +0000 (09:41 +0000)]
don't add default include directives for VAPI files, fixes bug 436761

2007-05-09  Jürg Billeter  <j@bitron.ch>

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

svn path=/trunk/; revision=310

17 years agocorrect strstr cname, patch by Zsombor add ellipsis to Gtk.ListStore.set()
Jürg Billeter [Mon, 7 May 2007 10:05:06 +0000 (10:05 +0000)]
correct strstr cname, patch by Zsombor add ellipsis to Gtk.ListStore.set()

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

svn path=/trunk/; revision=309