1. 27 Jul, 2007 1 commit
    • 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
  2. 22 Jul, 2007 2 commits
    • Raffaele Sandrini's avatar
      add cheader filename logic usable for all Vala.Member types. parse · c6494702
      Raffaele Sandrini authored
      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
      c6494702
    • Jürg Billeter's avatar
      use lazy initialization for array_types hash table · eac4ed4b
      Jürg Billeter authored
      2007-07-22  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valadatatype.vala: use lazy initialization for array_types
      	  hash table
      
      svn path=/trunk/; revision=369
      eac4ed4b
  3. 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
  4. 17 Jul, 2007 2 commits
    • Jürg Billeter's avatar
      correct return type of get_cheader_filenames · 6aa9f7de
      Jürg Billeter authored
      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
      6aa9f7de
    • Jürg Billeter's avatar
      move namespaces from SourceFile to CodeContext · efb72750
      Jürg Billeter authored
      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
      efb72750
  5. 09 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      remove obsolete ref modifier and callback keyword · ffb3d21f
      Jürg Billeter authored
      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
      ffb3d21f
  6. 02 May, 2007 2 commits
  7. 22 Mar, 2007 1 commit
    • Raffaele Sandrini's avatar
      add support for default values of types use default values for · bb562fba
      Raffaele Sandrini authored
      2007-03-22  Raffaele Sandrini  <rasa@gmx.ch>
      	* vala/valaflags.vala, vala/valaenum.vala, vala/valadatatype.vala,
      	  vala/valastruct.vala: add support for default values of types
      	* vala/valacodegenerator.vala: use default values for initialization
      	* vapi/glib-2.0.vala: add default values for common types
      
      svn path=/trunk/; revision=265
      bb562fba
  8. 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
  9. 07 Mar, 2007 1 commit
    • Jürg Billeter's avatar
      check whether a class implements all abstract methods of base classes fix · 75ac8a9a
      Jürg Billeter authored
      2007-03-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala: check whether a class implements all
      	  abstract methods of base classes
      	* vala/valacodenode.vala, vala/valadatatype.vala,
      	  vala/valaexpression.vala, vala/valaliteral.vala: fix build with added
      	  checks
      
      svn path=/trunk/; revision=228
      75ac8a9a
  10. 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
  11. 25 Oct, 2006 1 commit
    • Jürg Billeter's avatar
      start to use const specifier for strings to reduce number of warnings · 46b759a5
      Jürg Billeter authored
      2006-10-25  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala, vala/valaarray.vala,
      	  vala/valacallback.vala, vala/valaclass.vala, vala/valadatatype.vala,
      	  vala/valaenum.vala, vala/valaflags.vala, vala/valainterface.vala,
      	  vala/valastruct.vala, vala/valatypereference.vala, vapi/glib-2.0.vala:
      	  start to use const specifier for strings to reduce number of warnings
      	  during C compilation
      
      svn path=/trunk/; revision=151
      46b759a5
  12. 06 Oct, 2006 1 commit
    • Raffaele Sandrini's avatar
      add get and set value support add user (arbitrary) signal support · 61934ac1
      Raffaele Sandrini authored
      2006-10-06  Raffaele Sandrini  <rasa@gmx.ch>
      
      	* vapi/glib-2.0.vala, vala/valaflags.vala, vala/valaenum.vala,
      	  vala/valadatatype.vala, vala/valaarray.vala, vala/valaclass.vala,
      	  vala/valastruct.vala: add get and set value support
      	* vala/valacodegenerator.vala: add user (arbitrary) signal support
      	* vala/valadatatype.vala, vala/valamemorymanager.vala,
      	  vala/valastruct.vala: correctly honor ref types in type arguments
      	* ccode/valaccodedeclaration.vala, ccode/valaccodemodifiers.vala:
      	  support register local variables
      	* ccode/valaccodememberaccess.vala: make one line creation possible
      	* vapi/glib-2.0.vala: fix return type of Glib.List.nth_data
      	* tests/test-024.vala: add user signal test
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=143
      61934ac1
  13. 02 Sep, 2006 1 commit
    • Jürg Billeter's avatar
      always default type arguments to strong avoid unnecessary ref/unref pair · 1d3e2293
      Jürg Billeter authored
      2006-09-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, vala/valacodecontext.vala,
      	  vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
      	  vala/valacodegenerator.vala, vala/valaarraycreationexpression.vala,
      	  vala/valablock.vala, vala/valacallback.vala, vala/valaclass.vala,
      	  vala/valaelementaccess.vala, vala/valafield.vala,
      	  vala/valaformalparameter.vala, vala/valaforstatement.vala,
      	  vala/valainitializerlist.vala, vala/valainterface.vala,
      	  vala/valainvocationexpression.vala, vala/valainvokable.vala,
      	  vala/valalambdaexpression.vala,
      	  vala/valalocalvariabledeclaration.vala, vala/valamemberaccess.vala,
      	  vala/valamethod.vala, vala/valanamespace.vala,
      	  vala/valaobjectcreationexpression.vala, vala/valasignal.vala,
      	  vala/valasourcefile.vala, vala/valastruct.vala,
      	  vala/valaswitchsection.vala, vala/valaswitchstatement.vala,
      	  vala/valatypereference.vala, vala/valavariabledeclarator.vala,
      	  ccode/valaccodefragment.vala, vapi/glib-2.0.vala: always default type
      	  arguments to strong
      	* vala/valacodevisitor.vala, vala/valacodegenerator.vala,
      	  vala/valaexpression.vala, vala/valareturnstatement.vala: avoid
      	  unnecessary ref/unref pair in return expression
      	* vala/valatypereference.vala: copy type arguments in copy method, too
      	* vala/valasemanticanalyzer.vala: set type arguments in type_reference
      	  of ObjectCreationExpression
      	* vala/valadatatype.vala: fix warning
      
      svn path=/trunk/; revision=122
      1d3e2293
  14. 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
  15. 10 Aug, 2006 1 commit
    • Jürg Billeter's avatar
      accept real literals with trailing dot ignore non-type symbols support · 907752f6
      Jürg Billeter authored
      2006-08-10  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: accept real literals with trailing dot
      	* vala/valasymbolresolver.vala: ignore non-type symbols
      	* vala/valacodegenerator.vala: support float and double properties,
      	  adapt to Field changes, support compound assignments in properties
      	* vala/valainterfacewriter.vala: support ReferenceType attribute
      	* vala/valaclass.vala: implement get_lower_case_cprefix ()
      	* vala/valadatatype.vala: add get_lower_case_cprefix () method
      	* vala/valafield.vala: let get_cname return full C name
      	* vala/valamethod.vala: use DataType.get_lower_case_cprefix ()
      	* vala/valastruct.vala: implement get_lower_case_cprefix (), add
      	  set_is_reference_type () method
      
      svn path=/trunk/; revision=94
      907752f6
  16. 09 Aug, 2006 1 commit
    • Jürg Billeter's avatar
      adapt to Vala.Signal change process signal attributes manage memory of · e37fcf92
      Jürg Billeter authored
      2006-08-09  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: adapt to Vala.Signal change
      	* vala/valaattributeprocessor.vala: process signal attributes
      	* vala/valacodegenerator.vala: manage memory of element access
      	  expressions, mark get_property and set_property functions static,
      	  support signal emitter functions
      	* vala/valacodecontext.vala: use get_cinclude_filename method
      	* vala/valainterfacewriter.vala: use C header filename of namespace,
      	  support signals, support NoAccessorMethod attribute
      	* vala/valadatatype.vala: add default arguments
      	* vala/valaenum.vala: make set_cprefix method public
      	* vala/valanamespace.vala: add get_cheader_filename and
      	  set_cheader_filename methods
      	* vala/valasignal.vala: add has_emitter property, add process_attributes
      	  method
      	* vala/valasourcefile.vala: add get_cinclude_filename method
      	* compiler/valacompiler.vala: adapt to SourceFile changes
      
      svn path=/trunk/; revision=93
      e37fcf92
  17. 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
  18. 27 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      don't require developer to explicitly write static in namespace field · 8a0f8cc2
      Jürg Billeter authored
      2006-07-27  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: don't require developer to explicitly write static in
      	  namespace field declarations, support type parameters in interfaces
      	  and callbacks
      	* vala/valasymbolresolver.vala: support interfaces and callbacks
      	* vala/valasemanticanalyzer.vala: use is_subtype_of method, support
      	  callbacks in fields
      	* vala/valamemorymanager.vala: support callbacks in fields
      	* vala/valacodegenerator.vala: support callbacks in fields
      	* vala/valacallback.vala: support type parameters
      	* vala/valaclass.vala: add is_subtype_of method
      	* vala/valadatatype.vala: add is_subtype_of method
      	* vala/valainterface.vala: add is_subtype_of method
      
      svn path=/trunk/; revision=84
      8a0f8cc2
  19. 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
  20. 08 Jul, 2006 2 commits
    • Jürg Billeter's avatar
      check method signatures of overriding methods support abstract classes add · 2a1a351c
      Jürg Billeter authored
      2006-07-08  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala: check method signatures of overriding
      	  methods
      	* vala/parser.y, vala/valaclassregisterfunction.vala,
      	  vala/valatyperegisterfunction.vala: support abstract classes
      	* vala/valamethod.vala: add equals method
      	* vala/valatypereference.vala: add equals method
      	* corrects overriding methods to match signatures of overridden methods
      	  to fix build with current compiler
      
      svn path=/trunk/; revision=73
      2a1a351c
    • Jürg Billeter's avatar
      adapt to Method API changes support signals, mark private signal handlers · d445ab95
      Jürg Billeter authored
      2006-07-08  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: adapt to Method API changes
      	* vala/valasemanticanalyzer.vala: support signals, mark private signal
      	  handlers as instance_last
      	* vala/valamemorymanager.vala: support signals
      	* vala/valacodegenerator.vala: support signals, methods with
      	  instance_last
      	* vala/valaclass.vala: add get_type_id and get_marshaller_type_name
      	  methods
      	* vala/valadatatype.vala: add get_marshaller_type_name method
      	* vala/valastruct.vala: move type_id attribute to CCode, support
      	  marshaller_type_name attribute
      	* vala/valainterfacewriter.vala, vala/valamethod.vala,
      	  vala/valastruct.vala, ccode/valaccodeexpression.vala,
      	  ccode/valaccodenode.vala: add interface documentation, use implicit
      	  namespace specification
      	* vala/valacallback.vala, vala/valasignal.vala: improve documentation
      	* ccode/valaccodecastexpression.vala: type cast in C code
      	* ccode/Makefile.am: update
      	* tests/test-018.vala: test signals
      	* tests/Makefile.am: update
      	* vapi/glib-2.0.vala: add type_id and marshaller_type_name attributes
      
      svn path=/trunk/; revision=71
      d445ab95
  21. 30 Jun, 2006 1 commit
  22. 29 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      distinguish between ref_function/unref_function and · 027deaeb
      Jürg Billeter authored
      2006-06-29  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala, vala/valaclass.vala,
      	  vala/valadatatype.vala, vala/valastruct.vala: distinguish between
      	  ref_function/unref_function and dup_function/free_function
      	* vala/valadatatype.vala: add interface documentation
      	* vapi/glib-2.0.vala: use dup_function attribute, keep ref_function for
      	  compatibility
      
      svn path=/trunk/; revision=57
      027deaeb
  23. 28 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      add private add_symbol helper method tiny refactoring of GObject lookup · 7d6ffc05
      Jürg Billeter authored
      2006-06-28  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasymbolbuilder.vala: add private add_symbol helper method
      	* vala/valasymbolresolver.vala: tiny refactoring of GObject lookup
      	* vala/valasemanticanalyzer.vala: use get_parameters method of Callback
      	* vala/valacallback.vala, vala/valaintegerliteral.vala,
      	  vala/valarealliteral.vala, vala/valastringliteral.vala: replace public
      	  fields by properties / private fields, don't mark properties as
      	  construct-only, use non-null types
      	* vala/valaattribute.vala, vala/valacodenode.vala,
      	  vala/valaconstructor.vala, vala/valadatatype.vala,
      	  vala/valadestructor.vala, vala/valaenumvalue.vala,
      	  vala/valaexpression.vala, vala/valafield.vala,
      	  vala/valaflagsvalue.vala, vala/valaformalparameter.vala,
      	  vala/valaliteral.vala, vala/valalocalvariabledeclaration.vala,
      	  vala/valamethod.vala, vala/valanamedargument.vala,
      	  vala/valanamespace.vala, vala/valanamespacereference.vala,
      	  vala/valaproperty.vala, vala/valapropertyaccessor.vala,
      	  vala/valasignal.vala, vala/valastatement.vala,
      	  vala/valatypeparameter.vala, vala/valatypereference.vala,
      	  vala/valavariabledeclarator.vala: move source_reference to CodeNode
      
      svn path=/trunk/; revision=55
      7d6ffc05
  24. 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
  25. 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
  26. 17 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      don't leak comment texts, support generic types with weak arguments plug · 93620ce9
      Jürg Billeter authored
      2006-06-17  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: don't leak comment texts, support generic types with
      	  weak arguments
      	* vala/parser.y: plug most memory leaks
      	* vala/valacodecontext.vala: work around memory management issues
      	* vala/valasourcefile.vala: break reference cycles
      	* vala/valasourcefilecycle.vala: break reference cycles
      	* vala/valasymbolbuilder.vala: store `this` and `value` parameters in
      	  appropriate member node
      	* vala/valasymbolresolver.vala: break reference cycle
      	* vala/valasemanticanalyzer.vala: break reference cycle, promote local
      	  variables with ownership transferring initializer, store foreach
      	  variable declarator in statement object, assignments to properties
      	  don't take value ownership, make null type checks behave well on
      	  either side of a comparison
      	* vala/valamemorymanager.vala: add support for named arguments,
      	  properties, and ellipsis parameter
      	* vala/valacodegenerator.vala: add dispose function, register properties
      	  with static strings, don't leak strings when setting properties,
      	  support freeing string arrays, support freeing lists with allocated
      	  items, free local variables before return statements, free old value
      	  on assignments
      	* vala/valainterfacewriter.vala: output more type reference information
      	* vala/valaforeachstatement.vala: reference variable_declarator
      	* vala/valaforstatement.vala: correct generic type arguments
      	* vala/valamethod.vala: break reference cycle
      	* vala/valaproperty.vala: reference this_parameter, add
      	  get_canoncial_cconstant method
      	* vala/valapropertyaccessor.vala: reference value_parameter
      	* vala/valasimplename.vala: remove unneeded type_argument_list
      	  parameter from constructor
      	* vala/valasourcereference.vala: let to_string transfer ownership
      	* vala/valastruct.vala: correct generic type argument
      	* vala/valasymbol.vala: improve memory management
      	* vala/valatype.vala: break reference cycles, let get_lower_case_cname
      	  transfer ownership
      	* vala/valatypereference.vala: break reference cycle, use
      	  type_argument_list
      	* vala/vala.h: add valaflags.h
      	* ccode/valaccodefunction.vala: work around missing list deep copy
      	* ccode/valaccodewriter.vala: don't manually free objects
      	* compiler/valacompiler.vala: enable memory management by default,
      	  valac doesn't work anymore without memory management
      	* vapi/glib-2.0.vala: add memory management information
      
      svn path=/trunk/; revision=48
      93620ce9
  27. 14 Jun, 2006 2 commits
    • Jürg Billeter's avatar
      set is_lvalue_ref in property declarations use non-null parameter types · f699908b
      Jürg Billeter authored
      2006-06-14  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: set is_lvalue_ref in property declarations
      	* vala/valacodecontext.vala: use non-null parameter types
      	* vala/valasymbolresolver.vala: fix lookup in namespaces of using
      	  directives, reset is_lvalue_ref where appropriate
      	* vala/valasemanticanalyzer.vala: use non-null parameter types,
      	  correctly set is_ref and is_lvalue_ref in variable declarators
      	* vala/valamemorymanager.vala: support methods which transfer ownership
      	  of arguments and or return value, analyze assignments
      	* vala/valacodegenerator.vala: add missing reference increment calls,
      	  small memory management improvements
      	* vala/valaclass.vala: use non-null parameter types
      	* vala/valaexpression.vala: add ref_missing
      	* vala/valastruct.vala: support ref_function attribute, use non-null
      	  parameter types
      	* vala/valatype.vala: let get_upper_case_cname return ref string
      	* vala/valatypereference.vala: add copy method
      	* ccode/valaccodeconditionalexpression.vala
      	* ccode/valaccodefunctioncall.vala: use non-null parameter types
      	* ccode/Makefile.am: update
      	* compiler/valacompiler.vala: process attributes before resolving
      	  symbols to have reference_type information available in resolver
      	* vapi/glib-2.0.vala: add ref_function attributes to string and List,
      	  use ref parameters in List and HashTable until the compiler can handle
      	  it correctly
      
      svn path=/trunk/; revision=44
      f699908b
    • 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
  28. 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
  29. 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
  30. 21 May, 2006 1 commit
    • Jürg Billeter's avatar
      support file comments, BREAK, CONTINUE support break and continue, add · 405b0c4f
      Jürg Billeter authored
      2006-05-21  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support file comments, BREAK, CONTINUE
      	* vala/parser.y: support break and continue, add more comments
      	* vala/valacodecontext.vala: find cyclic header dependencies
      	* vala/valasourcefile.vala: add get_namespaces method, add dependency
      	  information, add add_symbol_dependency method, add
      	  SourceFileDependencyType enum
      	* vala/valasourcefilecycle.vala
      	* vala/valacodevisitor.vala: support break and continue statements
      	* vala/valaparser.vala: support file comments
      	* vala/valasemanticanalyzer.vala: record dependency information
      	* vala/valacodegenerator.vala: add include directives, type forward
      	  declarations, once section, enum values, method return types, and more
      	  comments
      	* vala/valablock.vala, vala/valadeclarationstatement.vala,
      	  vala/valaemptystatement.vala, vala/valaexpressionstatement.vala,
      	  vala/valaforeachstatement.vala, vala/valaforstatement.vala,
      	  vala/valaifstatement.vala, vala/valareturnstatement.vala,
      	  vala/valastatement.vala, vala/valawhilestatement.vala: move
      	  source_reference property to Statement class
      	* vala/valaclass.vala, vala/valaenum.vala, vala/valastruct.vala,
      	  vala/valatype.vala: move name, source_reference, namespace, and
      	  get_cheader_filenames to Type class
      	* vala/valabreakstatement.vala
      	* vala/valacontinuestatement.vala
      	* vala/valaenum.vala: fix cname, add get_upper_case_cname method
      	* vala/valaenumvalue.vala: add get_cname method
      	* vala/valafield.vala: add access field
      	* vala/valanamespace.vala: add get_structs, get_classes, and
      	  get_cheader_filenames methods, support cheader_filename attribute
      	* vala/valastruct.vala: support cheader_filename attribute
      	* vala/valatypereference.vala: support void cname
      	* vala/vala.h: update
      	* ccode/valaccodeblock.vala: support comments before statements
      	* ccode/valaccodeenum.vala: optionally use typedef
      	* ccode/valaccodefunction.vala: add copy method
      	* ccode/valaccodenewline.vala
      	* ccode/valaccodeoncesection.vala
      	* ccode/valaccodewriter.vala: use whole line for comments
      	* bindings/glib-2.0.vala: add cheader_filename attributes, extend string
      	  types
      	* valac/generator.c: fix private field access, include string.h
      
      svn path=/trunk/; revision=31
      405b0c4f
  31. 16 May, 2006 1 commit
    • Jürg Billeter's avatar
      fix multi-line comments basic statement and expression handling support · 4389522e
      Jürg Billeter authored
      2006-05-16  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: fix multi-line comments
      	* vala/valacodegenerator.vala: basic statement and expression handling
      	* vala/valacodevisitor.vala: support variable declaration
      	* vala/valasymbolbuilder.vala: adapt to visitor changes
      	* vala/valaclass.vala: remove members already available in Struct
      	* vala/valacodenode.vala: add ccodenode field
      	* vala/valadeclarationstatement.vala: visit declaration
      	* vala/valaexpressionstatement.vala: visit code containers after child
      	  elements
      	* vala/valalocalvariabledeclaration.vala: add accept method
      	* vala/valamethod.vala: add begin and end visit events
      	* vala/valanamespace.vala: add lower_case_cprefix
      	* vala/valastruct.vala: define get_upper_case_cname method
      	* vala/valatype.vala: declare get_upper_case_cname method
      	* vala/valatypereference.vala: add get_upper_case_cname method
      	* vala/valavariabledeclarator.vala: add accept method
      	* ccode/valaccodewriter.vala: formatting fixes
      	* ccode/valaccodeassignment.vala
      	* ccode/valaccodebinaryexpression.vala
      	* ccode/valaccodeblock.vala: use CCodeStatement
      	* ccode/valaccodeconstant.vala
      	* ccode/valaccodedeclarationstatement.vala
      	* ccode/valaccodeemptystatement.vala
      	* ccode/valaccodeexpression.vala
      	* ccode/valaccodeexpressionstatement.vala
      	* ccode/valaccodeforstatement.vala
      	* ccode/valaccodefunction.vala: formatting fixes
      	* ccode/valaccodefunctioncall.vala
      	* ccode/valaccodeidentifier.vala
      	* ccode/valaccodeifstatement.vala
      	* ccode/valaccodereturnstatement.vala
      	* ccode/valaccodestatement.vala
      	* ccode/valaccodestruct.vala: formatting fixes
      	* ccode/valaccodevariabledeclarator.vala
      	* bindings/GLib.vala: extend string types
      	* valac/context.c: resolve types in named argument list in object
      	  creation expression
      
      svn path=/trunk/; revision=20
      4389522e
  32. 14 May, 2006 1 commit
    • Jürg Billeter's avatar
      support OPEN_CAST_PARENS, IS, WHILE support structs, enums, and fields, · 78d5467a
      Jürg Billeter authored
      2006-05-14  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support OPEN_CAST_PARENS, IS, WHILE
      	* vala/parser.y: support structs, enums, and fields, cast, postfix,
      	  while, ref types, and generic type parameters; fix comments
      	* vala/valacodecontext.vala: add root symbol
      	* vala/valasourcefile.vala: add using directives, c filenames
      	* vala/valacodevisitor.vala: add begin and end visits for some container
      	  types, add struct, enum, field, type parameter, namespace reference,
      	  and type reference visits
      	* vala/valaparser.vala: adapt to visitor changes
      	* vala/valasymbolbiulder.vala: visitor to fill symbol table
      	* vala/valasymbolresolver.vala: visitor to resolve symbol references
      	* vala/valacodegenerator.vala: add beginning of code generation
      	* vala/valacodenode.vala: add symbol reference
      	* vala/valacastexpression.vala
      	* vala/valaclass.vala: derive from struct
      	* vala/valaenum.vala
      	* vala/valaexpression.vala: add static_type, field_reference, and
      	  method_reference fields
      	* vala/valafield.vala
      	* vala/valamemberaccess.vala
      	* vala/valanamespace.vala: add structs, enums, and fields
      	* vala/valanamespacereference.vala
      	* vala/valapostfixexpression.vala
      	* vala/valasourcereference.vala: adapt to comment changes
      	* vala/valastringliteral.vala: add eval method
      	* vala/valastruct.vala
      	* vala/valasymbol.vala
      	* vala/valatype.vala
      	* vala/valatypeparameter.vala: 
      	* vala/valatypereference.vala: add type, type_parameter, is_ref, and
      	  is_out fields, add get_cname method
      	* vala/valavariabledeclarator.vala: add name and initializer fields
      	* vala/valawhilestatement.vala: 
      	* vala/vala.h: update
      	* compiler/valacompiler.vala: run SymbolBuilder and SymbolResolver
      	* ccode/valaccodewriter.vala
      	* ccode/valaccodecomment.vala
      	* ccode/valaccodefragment.vala
      	* ccode/valaccodenode.vala
      	* ccode/valaccodestruct.vala
      	* bindings/GLib.vala: add/extend ustring, Path, Object, File, HashTable
      	* valac/scanner.l: support OPEN_CAST_PARENS, OP_AND, OP_OR, IS, WHILE
      	* valac/parser.y: support cast, while, include_filename ccode attribute,
      	  AND and OR expressions, IS type checks, unary minus
      	* valac/context.h: add while statements, cast and IS expressions, and
      	  AND and OR operators
      	* valac/context.c: support cast, IS, while; fix if
      	* valac/generator.c: support cast, IS, pointer arithmetic, namespace
      	  methods, imported include files
      	* valac/driver.c: add symbol alias
      
      svn path=/trunk/; revision=15
      78d5467a
  33. 07 May, 2006 1 commit
    • Jürg Billeter's avatar
      tokenizer for new vala compiler parser vor new vala compiler · 04ad6ba4
      Jürg Billeter authored
      2006-05-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: tokenizer for new vala compiler
      	* vala/parser.y: parser vor new vala compiler
      	* vala/valablock.vala
      	* vala/valabooleanliteral.vala
      	* vala/valacharacterliteral.vala
      	* vala/valaclass.vala: add methods
      	* vala/valadeclarationstatement.vala
      	* vala/valaemptystatement.vala
      	* vala/valaexpression.vala
      	* vala/valaexpressionstatement.vala
      	* vala/valaforeachstatement.vala
      	* vala/valaforstatement.vala
      	* vala/valaifstatement.vala
      	* vala/valaintegerliteral.vala
      	* vala/valainvocationexpression.vala
      	* vala/valaliteral.vala
      	* vala/valaliteralexpression.vala
      	* vala/valalocalvariabledeclaration.vala
      	* vala/valamethod.vala
      	* vala/valanamedargument.vala
      	* vala/valanullliteral.vala
      	* vala/valaobjectcreationexpression.vala
      	* vala/valaparenthesizedexpression.vala
      	* vala/valareturnstatement.vala
      	* vala/valasimplename.vala
      	* vala/valastatement.vala
      	* vala/valastringliteral.vala
      	* vala/valatypereference.vala
      	* vala/valaunaryexpression.vala
      	* vala/valavariabledeclarator.vala
      	* vala/valacodevisitor.vala: add visit_method skeleton
      	* vala/valacodegenerator.vala: do.
      	* vala/vala.h: include generated header files
      	* valac/generator.c: support bool and enum properties, support enums
      
      svn path=/trunk/; revision=14
      04ad6ba4
  34. 06 May, 2006 1 commit
    • Jürg Billeter's avatar
      vala/valacodecontext.vala vala/valasourcefile.vala filename, line, and · e4904cce
      Jürg Billeter authored
      2006-05-06  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodecontext.vala
      	* vala/valasourcefile.vala
      	* vala/valasourcereference.vala: filename, line, and comment container
      	* vala/valacodenode.vala: abstract code node
      	* vala/valanamespace.vala: namespace node
      	* vala/valaclass.vala: class node
      	* vala/valacodevisitor.vala: abstract syntax tree visitor
      	* vala/valaparser.vala: vala parser
      	* vala/valacodegenerator.vala: code generator skeleton
      	* compiler/valacompiler.vala: compiler driver
      	* bindings/GLib.vala: add bindings for GList and GOptionContext
      	* valac/scanner.l: support multi-line comments, ABSTRACT, INTERFACE,
      	  READONLY
      	* valac/parser.y: replace AT by HASH, support readonly fields
      	* valac/context.h: small fixes
      	* valac/context.c: small fixes
      	* valac/generator.c: fix override methods, basic support for properties
      
      svn path=/trunk/; revision=13
      e4904cce