1. 30 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      rename MemberAccessibility to SymbolAccessibility and move its declaration · 6accf66c
      Jürg Billeter authored
      2007-08-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valamemberaccessibility.vala: rename MemberAccessibility to
      	  SymbolAccessibility and move its declaration to vala/valasymbol.vala
      	* vala/parser.y: store accessibility modifier for properties and follow
      	  the renames caused by the accessibility releated refactoring, cast
      	  the Struct allocated in struct_declaration to silence gcc
      	* vala/Makefile.am: remove valamemberaccessibility.* files
      	* vala/valasymbol.vala: add access property found in serveral
      	  sub-classes and add is_internal_symbol () method, which considers
      	  parent symbols to determinate if a symbol belongs to internal API
      	* gobject/*, vala/*, vapigen/valagidlparser.vala:
      	  move the access property/field found in several Symbol derived
      	  classes to the Symbol class where it belongs and rename the
      	  MemberAccessibility enumeration to SymbolAccessibility
      
      	* vala/valaformalparameter.vala, vala/valanamespace.vala: set access
      	  to public on initialization, as there is no accessibility modifier
      	* gobject/valacodegenerator.vala: do not add internal symbols to
      	  header_type_member_declarations
      	* vala/valasemanticanalyzer.vala: do not add HEADER_SHALLOW symbol
      	  dependencies for internal symbols
      	* gobject/valacodegeneratormethod.vala: consider all anchestors,
      	  not just the parent for visibility
      
      	patch by Mathias Hasselmann, fixes bug 471475
      
      svn path=/trunk/; revision=546
      6accf66c
  2. 21 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      fix build system to pass distcheck, based on patch by Nicolas Trangez, · 89eb22d6
      Jürg Billeter authored
      2007-08-21  Juerg Billeter  <j@bitron.ch>
      
      	* gee/Makefile.am, vala/Makefile.am, ccode/Makefile.am,
      	  gobject/Makefile.am, compiler/Makefile.am, tests/Makefile.am,
      	  tests/testrunner.sh: fix build system to pass distcheck,
      	  based on patch by Nicolas Trangez, fixes bug 466283
      	* Rename tests/*.out to tests/*.exp
      	* tests/test-022.vala, tests/test-022.exp: reduce to regression test
      
      svn path=/trunk/; revision=495
      89eb22d6
  3. 06 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      add experimental D-Bus client support · f371f443
      Jürg Billeter authored
      2007-08-06  Juerg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am, vala/parser.y, vala/valaarray.vala,
      	  vala/valabindingprovider.vala, vala/valaclass.vala,
      	  vala/valaenum.vala, vala/valainterface.vala,
      	  vala/valamemorymanager.vala, vala/valamethod.vala,
      	  vala/valasemanticanalyzer.vala, vala/valasymbol.vala,
      	  vala/valasymbolresolver.vala, vala/valavariabledeclarator.vala,
      	  gobject/Makefile.am, gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorassignment.vala,
      	  gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valacodegeneratorinvocationexpression.vala,
      	  gobject/valacodegeneratormethod.vala,
      	  gobject/valadbusbindingprovider.vala, gobject/valadbusmethod.vala,
      	  gobject/valadbussignal.vala, compiler/valacompiler.vala,
      	  vapi/dbus-glib-1.vala, vapi/hal.vala: add experimental D-Bus client
      	  support
      
      svn path=/trunk/; revision=419
      f371f443
  4. 27 Jul, 2007 2 commits
    • Jürg Billeter's avatar
      add internal copy of libgee and use Gee.ArrayList, Gee.HashMap, and · 5a32f9e2
      Jürg Billeter authored
      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
      5a32f9e2
    • Jürg Billeter's avatar
      add move method to arrays · b49e7bae
      Jürg Billeter authored
      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
      b49e7bae
  5. 21 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      derive from Symbol class where appropriate and move symbol table into · db24aa20
      Jürg Billeter authored
      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
      db24aa20
  6. 31 May, 2007 1 commit
    • Jürg Billeter's avatar
      support sizeof expression update add struct_size param to GLib.Source · c9f266a1
      Jürg Billeter authored
      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
      c9f266a1
  7. 10 May, 2007 1 commit
    • Jürg Billeter's avatar
      separate declaration output remove comma at end of enum remove unused · 0899abe8
      Jürg Billeter authored
      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
      0899abe8
  8. 03 May, 2007 1 commit
    • Jürg Billeter's avatar
      move code generator to new gobject directory update · ec85900a
      Jürg Billeter authored
      2007-05-03  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/valacodegenerator.vala: move code generator to new gobject
      	  directory
      	* configure.ac, Makefile.am, vala/Makefile.am, gobject/Makefile.am,
      	  compiler/Makefile.am, vapi/Makefile.am: update
      
      svn path=/trunk/; revision=305
      ec85900a
  9. 02 May, 2007 2 commits
  10. 05 Apr, 2007 1 commit
    • Jürg Billeter's avatar
      support temporary variables in initializers and iterators of for · cb55d7ec
      Jürg Billeter authored
      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
      
      svn path=/trunk/; revision=281
      cb55d7ec
  11. 17 Mar, 2007 1 commit
    • Jürg Billeter's avatar
      support pointer indirections support pointer-types, pointer indirections, · 4fe37fe2
      Jürg Billeter authored
      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
      
      svn path=/trunk/; revision=239
      4fe37fe2
  12. 05 Mar, 2007 1 commit
    • Jürg Billeter's avatar
      add exception handling support to the parser update · d6ea95e3
      Jürg Billeter authored
      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
      
      svn path=/trunk/; revision=225
      d6ea95e3
  13. 03 Mar, 2007 1 commit
    • Raffaele Sandrini's avatar
      add CreationMethod type; restrict creation methods bodys to contain only · 5882cb3d
      Raffaele Sandrini authored
      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
      
      svn path=/trunk/; revision=214
      5882cb3d
  14. 27 Feb, 2007 1 commit
    • Jürg Billeter's avatar
      mark source_reference as construction property to allow access in Array · e1016f87
      Jürg Billeter authored
      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
      
      svn path=/trunk/; revision=203
      e1016f87
  15. 25 Oct, 2006 1 commit
    • Jürg Billeter's avatar
      support base access update test base access update · 1a6a0b20
      Jürg Billeter authored
      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
      
      svn path=/trunk/; revision=150
      1a6a0b20
  16. 28 Sep, 2006 1 commit
  17. 27 Sep, 2006 1 commit
    • Raffaele Sandrini's avatar
      add threading and assorted structures add an additional abstraction for · a265bc69
      Raffaele Sandrini authored
      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
      
      
      svn path=/trunk/; revision=129
      a265bc69
  18. 11 Aug, 2006 1 commit
    • Raffaele Sandrini's avatar
      make those classes ready to process multidimensional arrays. remove · 95829c0c
      Raffaele Sandrini authored
      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
      
      
      svn path=/trunk/; revision=100
      95829c0c
  19. 10 Aug, 2006 1 commit
    • Jürg Billeter's avatar
      use Invokable vala/valainvokable.vala implement Invokable update · 2e3d20ed
      Jürg Billeter authored
      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
      
      svn path=/trunk/; revision=96
      2e3d20ed
  20. 05 Aug, 2006 1 commit
    • Jürg Billeter's avatar
      only parse .vala source files support disabling automatic property · de9cd863
      Jürg Billeter authored
      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
      
      svn path=/trunk/; revision=92
      de9cd863
  21. 02 Aug, 2006 1 commit
    • Jürg Billeter's avatar
      port to construction methods add interface documentation, use implicit · 23e2ba15
      Jürg Billeter authored
      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
      
      svn path=/trunk/; revision=89
      23e2ba15
  22. 27 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      support CASE, DEFAULT, DO, and SWITCH support switch and do statements add · 532b1966
      Jürg Billeter authored
      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
      
      svn path=/trunk/; revision=86
      532b1966
  23. 14 Jul, 2006 1 commit
    • Raffaele Sandrini's avatar
      add element access support add visit_postfix_expression implementation add · d9a96b3b
      Raffaele Sandrini authored
      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
      
      
      svn path=/trunk/; revision=78
      d9a96b3b
  24. 06 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      merge SimpleName into MemberAccess adapt to change in Class support · 49177f7d
      Jürg Billeter authored
      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
      
      svn path=/trunk/; revision=66
      49177f7d
  25. 26 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      plug some memory leaks, adapt to Vala.Block changes replace public fields · d5c1409f
      Jürg Billeter authored
      2006-06-26  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: plug some memory leaks, adapt to Vala.Block changes
      	* vala/valaattribute.vala, vala/valabinaryexpression.vala,
      	  vala/valablock.vala, vala/valabooleanexpression.vala,
      	  vala/valabreakstatement.vala, vala/valaliteral.vala,
      	  vala/valastatement.vala: replace public fields by properties / private
      	  fields, don't mark properties as construct-only, use non-null types
      	* vala/valadatatype.vala: renamed from Vala.Type_ to Vala.DataType
      	* vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
      	  vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala,
      	  vala/valasourcefile.vala, vala/valacallback.vala, vala/valaclass.vala,
      	  vala/valaclassregisterfunction.vala, vala/valaconstant.vala,
      	  vala/valaenum.vala, vala/valaflags.vala, vala/valainstancecast.vala,
      	  vala/valainterface.vala, vala/valainterfaceregisterfunction.vala,
      	  vala/valamethod.vala, vala/valastruct.vala,
      	  vala/valatypeparameter.vala, vala/valatypereference.vala,
      	  vala/valatypergisterfunction.vala: adapt to renaming of Vala.Type_ to
      	  Vala.DataType
      	* vala/Makefile.am: update
      
      svn path=/trunk/; revision=53
      d5c1409f
  26. 22 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      support LAMBDA and CALLBACK support callbacks and lambda expressions add · b25848cb
      Jürg Billeter authored
      2006-06-22  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support LAMBDA and CALLBACK
      	* vala/parser.y: support callbacks and lambda expressions
      	* vala/valacodevisitor.vala: add visit methods for callbacks and lambda
      	  expressions
      	* vala/valasymbolbuilder.vala: use non-null parameter types, support
      	  callbacks
      	* vala/valasemanticanalyzer.vala: partially support interface methods,
      	  support callback invocations
      	* vala/valamemorymanager.vala: support callback invocations
      	* vala/valacodegenerator.vala: partially support interface methods
      	* vala/valacallback.vala: initial implementation
      	* vala/valacodenode.vala: replace public fields by properties
      	* vala/valaexpression.vala: add expected_type field
      	* vala/valainvocationexpression.vala: also visit at beginning
      	* vala/valalambdaexpression.vala
      	* vala/valanamespace.vala: support callbacks
      	* vala/vala.h: update
      	* vala/Makefile.am: update
      
      svn path=/trunk/; revision=50
      b25848cb
  27. 18 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      support TYPEOF support typeof expressions, out ref parameters, and enum · 7249dcd5
      Jürg Billeter authored
      2006-06-18  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support TYPEOF
      	* vala/parser.y: support typeof expressions, out ref parameters, and
      	  enum attributes
      	* vala/valacodevisitor.vala: add visit method for typeof expressions
      	* vala/valaattributeprocessor.vala: use non-null parameter types,
      	  support enums and properties
      	* vala/valasemanticanalyzer.vala: support floating references
      	* vala/valamemorymanager.vala: ignore signal connections
      	* vala/valacodegenerator.vala: reset temp variable id at beginning of
      	  each file, fix out parameters, support properties without accessor
      	  methods, support floating references, add typeof expression, support
      	  static signal handlers
      	* vala/valaclass.vala: use default arguments
      	* vala/valaenum.vala: support cname, cprefix, and cheader_filename
      	  attributes
      	* vala/valaenumvalue.vala: use Enum.get_cprefix ()
      	* vala/valamethod.vala: support FloatingReference attribute
      	* vala/valanamespace.vala: use default arguments
      	* vala/valaproperty.vala: support NoAccessorMethod attribute
      	* vala/valastruct.vala: support type_id
      	* vala/valatype.vala: add abstract get_type_id method
      	* vala/valatypeofexpression.vala
      	* vala/valatypereference.vala: add floating_reference property, correct
      	  to_string method signature
      	* vala/vala.h: update
      	* vala/Makefile.am: update
      	* vapi/glib-2.0.vala: add GInitiallyUnowned
      	* vapi/gtk+-2.0.vala: start of a GTK+ binding
      	* vapi/pango.vala: start of a Pango binding
      
      svn path=/trunk/; revision=49
      7249dcd5
  28. 14 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      use non-null parameter types, add visit method for full expressions add · d49a4eb2
      Jürg Billeter authored
      2006-06-14  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodevisitor.vala: use non-null parameter types, add visit
      	  method for full expressions
      	* vala/valasymbolresolver.vala: add some missing casts
      	* vala/valasemanticanalyzer.vala: support memory management for
      	  temporary variables
      	* vala/valamemorymanager.vala: visitor to detect leaked references
      	* vala/valacodegenerator.vala: add automatic memory management for
      	  temporary variables, add some missing casts
      	* vala/valaassignment.vala: move source_reference to Expression
      	* vala/valabinaryexpression.vala: move source_reference to Expression
      	* vala/valacastexpression.vala: move source_reference to Expression
      	* vala/valaconditionalexpression.vala: move source_reference to
      	  Expression
      	* vala/valaclass.vala: implement memory management methods
      	* vala/valaexpression.vala: add source_reference, ref_leaked, and
      	  temp_vars
      	* vala/valaforstatement.vala: visit end of full expression
      	* vala/valaifstatement.vala: visit end of full expression
      	* vala/valainitializerlist.vala: move source_reference to Expression
      	* vala/valainvocationexpression.vala: move source_reference to
      	  Expression
      	* vala/valaliteralexpression.vala: move source_reference to Expression
      	* vala/valamemberaccess.vala: move source_reference to Expression
      	* vala/valaobjectcreationexpression.vala: move source_reference to
      	  Expression
      	* vala/valaparenthesizedexpression.vala: move source_reference to
      	  Expression
      	* vala/valapostfixexpression.vala: move source_reference to Expression
      	* vala/valasimplename.vala: move source_reference to Expression
      	* vala/valastruct.vala: implement memory management methods
      	* vala/valatype.vala: add abstract is_reference_counting,
      	  get_ref_function, and get_free_function methods
      	* vala/valatypecheck.vala: move source_reference to Expression
      	* vala/valaunaryexpression.vala: move source_reference to Expression
      	* vala/valawhilestatement.vala: visit end of full expression
      	* vala/Makefile.am: update
      	* ccode/valaccodecommaexpression.vala
      	* ccode/Makefile.am: update
      	* compiler/valacompiler.vala: add enable-memory-management option
      	* vapi/glib-2.0.vala: minor GType enhancements
      
      svn path=/trunk/; revision=42
      d49a4eb2
  29. 07 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      support REAL_LITERAL, TILDE, SIGNAL support flags, signals, constructors, · 4478ebb1
      Jürg Billeter authored
      2006-06-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support REAL_LITERAL, TILDE, SIGNAL
      	* vala/parser.y: support flags, signals, constructors, destructors, real
      	  literals, assignment operators, and non-null types
      	* vala/valacodevisitor.vala: add visit methods for signals,
      	  constructors, destructors, and real literals
      	* vala/valasymbolbuilder.vala: support signals, constructors,
      	  destructors
      	* vala/valasemanticanalyzer.vala: support constructors, real literals,
      	  and default arguments, fix lookup in namespaces of using directives
      	* vala/valacodegenerator.vala: use default arguments and type register
      	  function classes, support constructors, interfaces, real literals,
      	  default arguments, casts, and signals, cast method arguments if
      	  necessary
      	* vala/valasourcefile.vala: use default arguments
      	* vala/valaassignment.vala: add operator
      	* vala/valacallback.vala: skeleton for callbacks
      	* vala/valaclass.vala: add signals, constructor, and destructor
      	* vala/valaclassregisterfunction.vala: get_type function for classes
      	* vala/valaconstant.vala: use default arguments
      	* vala/valaconstructor.vala
      	* vala/valadestructor.vala
      	* vala/valaenum.vala: use default arguments
      	* vala/valaflags.vala
      	* vala/valaflagsvalue.vala: 
      	* vala/valaformalparameter.vala: add default_expression
      	* vala/valainstancecast.vala: dynamic instance cast
      	* vala/valainterface.vala: add signals
      	* vala/valainterfaceregisterfunction.vala: get_type function for
      	  interfaces
      	* vala/valanamespace.vala: add flags, use default arguments
      	* vala/valaproperty.vala: use default arguments
      	* vala/valarealliteral.vala: 
      	* vala/valasignal.vala
      	* vala/valastruct.vala: use default arguments
      	* vala/valastringliteral.vala: use default arguments
      	* vala/valatypereference.vala: add is_weak property
      	* vala/valatyperegisterfunction.vala
      	* vala/vala.h: update
      	* vala/Makefile.am: update
      	* ccode/valaccodeblock.vala: add prepend_statement method
      	* ccode/valaccodewriter.vala: correctly indent multi-line comments
      	* vapi/glib-2.0.vala: add float and double, use default arguments,
      	  temporarily remove astring
      
      svn path=/trunk/; revision=39
      4478ebb1
  30. 31 May, 2006 1 commit
    • Jürg Billeter's avatar
      support interfaces, adapt to Class/Struct/Type changes, improve error · bb3a6298
      Jürg Billeter authored
      2006-05-31  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: support interfaces, adapt to Class/Struct/Type changes,
      	  improve error handling
      	* vala/valacodevisitor.vala: support interfaces
      	* vala/valasymbolbuilder.vala: improve error handling
      	* vala/valasymbolresolver.vala: use operators to compare strings
      	* vala/valasemanticanalyzer.vala: improve error handling, convert method
      	  argument and type mismatch warnings to errors, add skeleton for
      	  expressoin type checks, support string comparison operators
      	* vala/valacodegenerator.vala: fix warning, create structs for
      	  interfaces, adapt to Class/Struct/Type changes, refactor and fix code
      	  in visit_simple_name and visit_member_access, use operators to compare
      	  strings
      	* vala/valainterfacewriter.vala: use operators to compare strings
      	* vala/valasourcefile.vala: fix warnings
      	* vala/valaclass.vala: don't inherit from Struct
      	* vala/valacodenode.vala: add error flag
      	* vala/valaconstant.vala: add get_cname method
      	* vala/valaenum.vala: override get_upper_case_cname method
      	* vala/valaenumvalue.vala: adapt to Class/Struct/Type changes
      	* vala/valafield.vala: use operators to compare strings
      	* vala/valainterface.vala
      	* vala/valainvocationexpression.vala: add add_argument method
      	* vala/valamethod.vala: adapt to Class/Struct/Type changes, use
      	  operators to compare strings
      	* vala/valanamespace.vala: support interfaces, use operators to compare
      	  strings
      	* vala/valastringliteral.vala: fix warning
      	* vala/valastruct.vala: inline visit_children method, use operators to
      	  compare strings
      	* vala/valatype.vala: add abstract get_lower_case_cname method
      	* vala/valatypereference.vala: add to_string method
      	* vala/vala.h: update
      	* vala/Makefile.am: update
      	* vapi/glib-2.0.vala: small fixes
      
      svn path=/trunk/; revision=38
      bb3a6298
  31. 26 May, 2006 1 commit
    • Jürg Billeter's avatar
      fix member access to namespaces adapt to CCodeWriter changes don't touch · 0ae4d550
      Jürg Billeter authored
      2006-05-26  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala: fix member access to namespaces
      	* vala/valacodegenerator.vala: adapt to CCodeWriter changes
      	* ccode/valaccodewriter.vala: don't touch file if nothing has changed,
      	  required to get incremental builds working
      	* vapi/glib-2.0.vala: extend file functions
      	
      	* ccode/Makefile.am,vala/Makefile.am,compiler/Makefile.am: support
      	  incremental builds
      
      svn path=/trunk/; revision=37
      0ae4d550
  32. 25 May, 2006 1 commit
    • Jürg Billeter's avatar
      support ELLIPSIS, use g_strdup instead of strdup support variable argument · 35bd6909
      Jürg Billeter authored
      2006-05-25  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support ELLIPSIS, use g_strdup instead of strdup
      	* vala/parser.y: support variable argument lists, type access modifiers
      	* vala/valareport.vala: class to handle error reporting
      	* vala/valasymbolbuilder.vala: switch to new error reporting scheme
      	* vala/valasymbolresolver.vala: switch to new error reporting scheme
      	* vala/valasemanticanalyzer.vala: process Constant and EnumValue symbol
      	  dependencies, check method argument types, find types of unary and
      	  binary expressions, remove dummy field, switch to new error reporting
      	  scheme
      	* vala/valacodegenerator.vala: support calling functions with variable
      	  argument lists, support break and continue statements, remove dummy fields,
      	  switch to new error reporting scheme
      	* vala/valainterfacewriter.vala: visitor to write public vala api in one
      	  file
      	* vala/valasourcefile.vala: support field and property symbol
      	  dependencies, remove dummy field
      	* vala/valaclass.vala: add is_abstract field
      	* vala/valaenumvalue.vala: remove dummy field
      	* vala/valaformalparameter.vala: add ellipsis property
      	* vala/valamemberaccessibility.vala: add INTERNAL
      	* vala/valamethod.vala: make parameters public, remove dummy field
      	* vala/valaproperty.vala: remove dummy field
      	* vala/valasymbol.vala: add name field and get_full_name method
      	* vala/valatype.vala: add access field
      	* vala/valatypereference.vala: switch to new error reporting scheme
      	* ccode/valaccodeblock.vala: improve formatting
      	* ccode/valaccodeifstatement.vala: improve formatting
      	* ccode/valaccodewriter.vala: improve formatting
      	* compiler/valacompiler.vala: add error handling, support multiple vapi
      	  directories, add --library option to generate public vala api
      	* vapi/glib-2.0.vala: moved from bindings, add static GLib.stdout field,
      	  correctly mark functions with variable argument lists, add File.test
      	  method
      
      	* configure.ac,Makefile.am,ccode/Makefile.am,vala/Makefile.am,
      	  vapi/Makefile.am,compiler/Makefile.am: add build system
      	
      	* remove valac subdirectory: Bootstrap compiler is now obsolete.
      
      svn path=/trunk/; revision=36
      35bd6909