1. 27 Oct, 2008 1 commit
    • Jürg Billeter's avatar
      Use constructor chaining instead of helper method · 8ff16e2f
      Jürg Billeter authored
      2008-10-27  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaarraylengthfield.vala:
      	* vala/valaarraymovemethod.vala:
      	* vala/valaarrayresizemethod.vala:
      	* vala/valablock.vala:
      	* vala/valaclass.vala:
      	* vala/valaconstant.vala:
      	* vala/valaconstructor.vala:
      	* vala/valacreationmethod.vala:
      	* vala/valadelegate.vala:
      	* vala/valadestructor.vala:
      	* vala/valadynamicmethod.vala:
      	* vala/valadynamicproperty.vala:
      	* vala/valadynamicsignal.vala:
      	* vala/valaenum.vala:
      	* vala/valaenumvalue.vala:
      	* vala/valaerrorcode.vala:
      	* vala/valaerrordomain.vala:
      	* vala/valafield.vala:
      	* vala/valaforeachstatement.vala:
      	* vala/valaformalparameter.vala:
      	* vala/valainterface.vala:
      	* vala/valalocalvariable.vala:
      	* vala/valamember.vala:
      	* vala/valamethod.vala:
      	* vala/valanamespace.vala:
      	* vala/valaobjecttypesymbol.vala:
      	* vala/valaproperty.vala:
      	* vala/valasignal.vala:
      	* vala/valastruct.vala:
      	* vala/valaswitchsection.vala:
      	* vala/valasymbol.vala:
      	* vala/valatypeparameter.vala:
      	* vala/valatypesymbol.vala:
      
      	Use constructor chaining instead of helper method
      
      svn path=/trunk/; revision=1934
      8ff16e2f
  2. 14 Aug, 2008 1 commit
  3. 07 Jul, 2008 1 commit
    • Jürg Billeter's avatar
      Mark array methods as external · 33adb597
      Jürg Billeter authored
      2008-07-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaarraylengthfield.vala:
      	* vala/valaarraymovemethod.vala:
      	* vala/valaarrayresizemethod.vala:
      
      	Mark array methods as external
      
      svn path=/trunk/; revision=1684
      33adb597
  4. 13 Apr, 2008 1 commit
  5. 07 Sep, 2007 1 commit
  6. 23 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      remove unnecessary construction properties to improve performance · 4542c159
      Jürg Billeter authored
      2007-07-23  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaarray.vala, vala/valaarraylengthfield.vala,
      	  vala/valaarrayresizemethod.vala, vala/valaattribute.vala,
      	  vala/valacodenode.vala, vala/valaconstant.vala, vala/valafield.vala,
      	  vala/valanamespacereference.vala, vala/valasignal.vala,
      	  vala/valasourcefile.vala: remove unnecessary construction properties
      	  to improve performance
      
      svn path=/trunk/; revision=378
      4542c159
  7. 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
  8. 17 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      convert the CodeContext.get_root method to a property · 5301e466
      Jürg Billeter authored
      2007-07-17  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaarraylengthfield.vala, vala/valaarrayresizemethod.vala,
      	  vala/valacodecontext.vala, vala/valasemanticanalyzer.vala,
      	  vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
      	  gobject/valacodegenerator.vala: convert the CodeContext.get_root
      	  method to a property
      
      svn path=/trunk/; revision=361
      5301e466
  9. 02 May, 2007 2 commits
  10. 03 Mar, 2007 1 commit
  11. 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
  12. 02 Sep, 2006 1 commit
    • Jürg Billeter's avatar
      don't set parent_node in parser support string + operator set parent_node · 7a498fd8
      Jürg Billeter authored
      2006-09-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: don't set parent_node in parser
      	* vala/valasemanticanalyzer.vala: support string + operator
      	* vala/valaassignment.vala, vala/valabinaryexpression.vala,
      	  vala/valacastexpression.vala, vala/valacodenode.vala,
      	  vala/valadostatement.vala, vala/valaexpressionstatement.vala,
      	  vala/valaforeachstatement.vala, vala/valaforstatement.vala,
      	  vala/valaifstatement.vala, vala/valainvocationexpression.vala,
      	  vala/valamemberaccess.vala, vala/valaobjectcreationexpression.vala,
      	  vala/valaparenthesizedexpression.vala, vala/valareturnstatement.vala,
      	  vala/valaswitchstatement.vala, vala/valaunaryexpression.vala,
      	  vala/valawhilestatement.vala: set parent_node of child nodes, add
      	  replace method
      	* vala/valanullliteral.vala: add default argument to construction method
      	* tests/test-021.vala: test string + operator
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=119
      7a498fd8
  13. 02 Aug, 2006 2 commits
    • 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
    • Jürg Billeter's avatar
      add support for construction methods add to_string method support storing · e3311183
      Jürg Billeter authored
      2006-08-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, vala/valacodevisitor.vala, vala/valasymbolbuilder.vala,
      	  vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala,
      	  vala/valainterfacewriter.vala, vala/valaclass.vala,
      	  vala/valaexpressionstatement.vala, vala/valamethod.vala,
      	  vala/valaobjectcreationexpression.vala, vala/valastatement.vala,
      	  vala/valastruct.vala: add support for construction methods
      	* vala/valabooleanliteral.vala, vala/valaexpression.vala,
      	  vala/valaintegerliteral.vala, vala/valaliteral.vala,
      	  vala/valaliteralexpression.vala, vala/valamemberaccess.vala: add
      	  to_string method
      	* vala/valamemberaccess.vala, vala/valatypereference.vala: support
      	  storing type arguments in MemberAccess
      	* vala/valacodenode.vala: add parent_node property
      	* vala/parser.y, vala/valaifstatement.vala: only allow blocks as
      	  embedded statements
      	* vala/valaenum.vala: implement get_type_id method
      	* vala/valainterfacewriter.vala: output default expressions of formal
      	  parameters
      	* vala/valaformalparameter.vala: visit default expression
      	* vala/valaobjectcreationexpression.vala, vala/valanullliteral.vala,
      	  vala/valaproperty.vala, vala/valapropertyaccessor.vala: add interface
      	  documentation, use implicit namespace specification
      	* vala/vala.h: add valaelementaccess.h and valarealliteral.h
      	* ccode/valaccodememberaccess.vala: don't mark is_pointer as construct
      	* vapi/glib-2.0.vala: add GValue
      	* vapi/gtk+-2.0.vala: small updates
      
      svn path=/trunk/; revision=88
      e3311183
  14. 28 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      move source_reference to Vala.Literal, use non-null types, don't mark · e054dd10
      Jürg Billeter authored
      2006-06-28  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valabooleanliteral.vala, vala/valacharacterliteral.vala,
      	  vala/valaintegerliteral.vala, vala/valaliteral.vala,
      	  vala/valanullliteral.vala, vala/valarealliteral.vala,
      	  vala/valastringliteral.vala: move source_reference to Vala.Literal,
      	  use non-null types, don't mark properties as construct-only
      
      svn path=/trunk/; revision=54
      e054dd10
  15. 18 May, 2006 1 commit
  16. 16 May, 2006 1 commit
    • Jürg Billeter's avatar
      fix unary expressions add visit_block method add visit methods for · 62f362b0
      Jürg Billeter authored
      2006-05-16  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: fix unary expressions
      	* vala/valacodegenerator.vala: add visit_block method
      	* vala/valacodevisitor.vala: add visit methods for statements,
      	  expressions, and literals
      	* vala/valaassignment.vala: add accept method
      	* vala/valabinaryexpression.vala: add accept method
      	* vala/valablock.vala: add accept method
      	* vala/valabooleanliteral.vala: add accept method
      	* vala/valacastexpression.vala: add accept method
      	* vala/valacharacterliteral.vala: add accept method
      	* vala/valaconditionalexpression.vala: add accept method
      	* vala/valaconstant.vala: visit code containers after child elements
      	* vala/valadeclarationstatement.vala: add accept method
      	* vala/valaemptystatement.vala: add accept method
      	* vala/valaexpressionstatement.vala: add accept method
      	* vala/valafield.vala: visit code containers after child elements
      	* vala/valaforeachstatement.vala: add accept method
      	* vala/valaformalparameter.vala: add accept method
      	* vala/valaforstatement.vala: add accept method
      	* vala/valaifstatement.vala: add accept method
      	* vala/valaintegerliteral.vala: add accept method
      	* vala/valainvocationexpression.vala: add accept method
      	* vala/valaliteralexpression.vala: add accept method
      	* vala/valamemberaccess.vala: add accept method
      	* vala/valamethod.vala: add accept method
      	* vala/valanullliteral.vala: add accept method
      	* vala/valaobjectcreationexpression.vala: add accept method
      	* vala/valaparenthesizedexpression.vala: add accept method
      	* vala/valapostfixexpression.vala: add accept method
      	* vala/valareturnstatement.vala: add accept method
      	* vala/valasimplename.vala: add accept method
      	* vala/valastringliteral.vala: add accept method
      	* vala/valaunaryexpression.vala: fix constructor, add accept method
      	* vala/valawhilestatement.vala: add accept method
      	* ccode/valaccodefunction.vala: renamed from CCodeMethod
      
      svn path=/trunk/; revision=19
      62f362b0
  17. 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
  18. 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