1. 08 May, 2018 1 commit
  2. 27 Mar, 2018 1 commit
  3. 06 Aug, 2012 1 commit
  4. 26 Jan, 2012 1 commit
  5. 17 Jan, 2012 1 commit
  6. 28 Oct, 2010 1 commit
  7. 10 Sep, 2010 1 commit
  8. 10 Aug, 2010 1 commit
  9. 31 Oct, 2009 1 commit
  10. 13 Sep, 2009 1 commit
  11. 30 Mar, 2009 1 commit
    • Jürg Billeter's avatar
      Rework header file generation · 2d4a4a26
      Jürg Billeter authored
      Generate single C header file for public API, do not use header
      files for internal API. Fixes bug 471244, bug 571037, bug 572536,
      and bug 575629.
      2d4a4a26
  12. 30 Nov, 2008 1 commit
    • Jürg Billeter's avatar
      Fix error handling in condition of while, do, and for statements · 0697212a
      Jürg Billeter authored
      2008-11-30  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaaddressofexpression.vala:
      	* vala/valaarraycreationexpression.vala:
      	* vala/valaassignment.vala:
      	* vala/valabaseaccess.vala:
      	* vala/valabinaryexpression.vala:
      	* vala/valablock.vala:
      	* vala/valacastexpression.vala:
      	* vala/valaconditionalexpression.vala:
      	* vala/valadostatement.vala:
      	* vala/valaelementaccess.vala:
      	* vala/valaexpression.vala:
      	* vala/valaforstatement.vala:
      	* vala/valainitializerlist.vala:
      	* vala/valalambdaexpression.vala:
      	* vala/valaliteral.vala:
      	* vala/valamemberaccess.vala:
      	* vala/valamethodcall.vala:
      	* vala/valaobjectcreationexpression.vala:
      	* vala/valaparenthesizedexpression.vala:
      	* vala/valapointerindirection.vala:
      	* vala/valapostfixexpression.vala:
      	* vala/valareferencetransferexpression.vala:
      	* vala/valasemanticanalyzer.vala:
      	* vala/valasizeofexpression.vala:
      	* vala/valaswitchsection.vala:
      	* vala/valatuple.vala:
      	* vala/valatypecheck.vala:
      	* vala/valatypeofexpression.vala:
      	* vala/valaunaryexpression.vala:
      	* vala/valawhilestatement.vala:
      	* gobject/valaccodebasemodule.vala:
      
      	Fix error handling in condition of while, do, and for statements
      
      svn path=/trunk/; revision=2096
      0697212a
  13. 29 Nov, 2008 1 commit
    • Jürg Billeter's avatar
      Convert binary conditional expressions into if statements · 9c112c98
      Jürg Billeter authored
      2008-11-29  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaaddressofexpression.vala:
      	* vala/valaarraycreationexpression.vala:
      	* vala/valaassignment.vala:
      	* vala/valabaseaccess.vala:
      	* vala/valabinaryexpression.vala:
      	* vala/valacastexpression.vala:
      	* vala/valaconditionalexpression.vala:
      	* vala/valadostatement.vala:
      	* vala/valaelementaccess.vala:
      	* vala/valaexpression.vala:
      	* vala/valaforstatement.vala:
      	* vala/valainitializerlist.vala:
      	* vala/valalambdaexpression.vala:
      	* vala/valaliteral.vala:
      	* vala/valamemberaccess.vala:
      	* vala/valamethodcall.vala:
      	* vala/valaobjectcreationexpression.vala:
      	* vala/valaparenthesizedexpression.vala:
      	* vala/valapointerindirection.vala:
      	* vala/valapostfixexpression.vala:
      	* vala/valareferencetransferexpression.vala:
      	* vala/valasizeofexpression.vala:
      	* vala/valatuple.vala:
      	* vala/valatypecheck.vala:
      	* vala/valatypeofexpression.vala:
      	* vala/valaunaryexpression.vala:
      	* vala/valawhilestatement.vala:
      
      	Convert binary conditional expressions into if statements
      
      svn path=/trunk/; revision=2085
      9c112c98
  14. 10 Nov, 2008 2 commits
    • Jürg Billeter's avatar
      Remove unnecessary accept calls in semantic analyzer · a86469cc
      Jürg Billeter authored
      2008-11-10  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaaddressofexpression.vala:
      	* vala/valaarraycreationexpression.vala:
      	* vala/valaassignment.vala:
      	* vala/valabinaryexpression.vala:
      	* vala/valablock.vala:
      	* vala/valacastexpression.vala:
      	* vala/valacatchclause.vala:
      	* vala/valaclass.vala:
      	* vala/valaconditionalexpression.vala:
      	* vala/valaconstant.vala:
      	* vala/valaconstructor.vala:
      	* vala/valacreationmethod.vala:
      	* vala/valadeclarationstatement.vala:
      	* vala/valadelegate.vala:
      	* vala/valadeletestatement.vala:
      	* vala/valadestructor.vala:
      	* vala/valadostatement.vala:
      	* vala/valaelementaccess.vala:
      	* vala/valaenum.vala:
      	* vala/valaenumvalue.vala:
      	* vala/valaerrorcode.vala:
      	* vala/valaerrordomain.vala:
      	* vala/valaexpressionstatement.vala:
      	* vala/valafield.vala:
      	* vala/valaforeachstatement.vala:
      	* vala/valaformalparameter.vala:
      	* vala/valaforstatement.vala:
      	* vala/valaifstatement.vala:
      	* vala/valainitializerlist.vala:
      	* vala/valainterface.vala:
      	* vala/valainvocationexpression.vala:
      	* vala/valalambdaexpression.vala:
      	* vala/valalocalvariable.vala:
      	* vala/valalockstatement.vala:
      	* vala/valamemberaccess.vala:
      	* vala/valamemberinitializer.vala:
      	* vala/valamethod.vala:
      	* vala/valanamespace.vala:
      	* vala/valaobjectcreationexpression.vala:
      	* vala/valaparenthesizedexpression.vala:
      	* vala/valapointerindirection.vala:
      	* vala/valapostfixexpression.vala:
      	* vala/valaproperty.vala:
      	* vala/valapropertyaccessor.vala:
      	* vala/valareferencetransferexpression.vala:
      	* vala/valareturnstatement.vala:
      	* vala/valasemanticanalyzer.vala:
      	* vala/valasignal.vala:
      	* vala/valasizeofexpression.vala:
      	* vala/valasourcefile.vala:
      	* vala/valastruct.vala:
      	* vala/valaswitchlabel.vala:
      	* vala/valaswitchsection.vala:
      	* vala/valaswitchstatement.vala:
      	* vala/valathrowstatement.vala:
      	* vala/valatrystatement.vala:
      	* vala/valatypecheck.vala:
      	* vala/valatypeofexpression.vala:
      	* vala/valaunaryexpression.vala:
      	* vala/valawhilestatement.vala:
      	* vala/valayieldstatement.vala:
      
      	Remove unnecessary accept calls in semantic analyzer
      
      svn path=/trunk/; revision=2010
      a86469cc
    • Jürg Billeter's avatar
      Move expression checking to code nodes · 67649405
      Jürg Billeter authored
      2008-11-10  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaaddressofexpression.vala:
      	* vala/valabaseaccess.vala:
      	* vala/valabooleanliteral.vala:
      	* vala/valacastexpression.vala:
      	* vala/valacharacterliteral.vala:
      	* vala/valaconditionalexpression.vala:
      	* vala/valaintegerliteral.vala:
      	* vala/valalambdaexpression.vala:
      	* vala/valanullliteral.vala:
      	* vala/valaobjectcreationexpression.vala:
      	* vala/valaparenthesizedexpression.vala:
      	* vala/valapointerindirection.vala:
      	* vala/valapostfixexpression.vala:
      	* vala/valarealliteral.vala:
      	* vala/valareferencetransferexpression.vala:
      	* vala/valasemanticanalyzer.vala:
      	* vala/valasizeofexpression.vala:
      	* vala/valastringliteral.vala:
      	* vala/valatypecheck.vala:
      	* vala/valatypeofexpression.vala:
      	* vala/valaunaryexpression.vala:
      
      	Move expression checking to code nodes
      
      svn path=/trunk/; revision=2009
      67649405
  15. 14 Aug, 2008 1 commit
  16. 28 May, 2008 1 commit
    • Jürg Billeter's avatar
      Move memory management into CCodeGenerator.transform_expression as · 8c73a50a
      Jürg Billeter authored
      2008-05-28  Juerg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am:
      	* vala/valaaddressofexpression.vala:
      	* vala/valaarraycreationexpression.vala:
      	* vala/valaassignment.vala:
      	* vala/valabaseaccess.vala:
      	* vala/valabinaryexpression.vala:
      	* vala/valabooleanliteral.vala:
      	* vala/valacastexpression.vala:
      	* vala/valacharacterliteral.vala:
      	* vala/valacodevisitor.vala:
      	* vala/valaconditionalexpression.vala:
      	* vala/valadatatype.vala:
      	* vala/valaelementaccess.vala:
      	* vala/valaexpression.vala:
      	* vala/valaintegerliteral.vala:
      	* vala/valaintegertype.vala:
      	* vala/valainvocationexpression.vala:
      	* vala/valalambdaexpression.vala:
      	* vala/valamemberaccess.vala:
      	* vala/valanullchecker.vala:
      	* vala/valanullliteral.vala:
      	* vala/valanulltype.vala:
      	* vala/valaobjectcreationexpression.vala:
      	* vala/valaparenthesizedexpression.vala:
      	* vala/valapointerindirection.vala:
      	* vala/valapostfixexpression.vala:
      	* vala/valarealliteral.vala:
      	* vala/valareferencetransferexpression.vala:
      	* vala/valasemanticanalyzer.vala:
      	* vala/valasignal.vala:
      	* vala/valasizeofexpression.vala:
      	* vala/valastringliteral.vala:
      	* vala/valatypecheck.vala:
      	* vala/valatypeofexpression.vala:
      	* vala/valaunaryexpression.vala:
      	* vala/valaunresolvedtype.vala:
      	* vala/valavaluetype.vala:
      	* gobject/valaccodeassignmentbinding.vala:
      	* gobject/valaccodeelementaccessbinding.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodeinvocationexpressionbinding.vala:
      	* gobject/valaccodememberaccessbinding.vala:
      	* gobject/valaccodemethodbinding.vala:
      	* compiler/valacompiler.vala:
      
      	Move memory management into CCodeGenerator.transform_expression
      	as preparation to properly support nullable structs, fixes memory
      	leak in internal substring method, fixes bug 527775
      
      svn path=/trunk/; revision=1466
      8c73a50a
  17. 13 Apr, 2008 1 commit
  18. 02 Dec, 2007 2 commits
    • Jürg Billeter's avatar
      move unresolved type information from DataType into new UnresolvedType · c73cd358
      Jürg Billeter authored
      2007-12-02  Juerg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am, vala/parser.y, vala/vala.h,
      	  vala/valaarraycreationexpression.vala, vala/valacallback.vala,
      	  vala/valacastexpression.vala, vala/valacatchclause.vala,
      	  vala/valaclass.vala, vala/valacodenode.vala,
      	  vala/valacodevisitor.vala, vala/valaconstant.vala,
      	  vala/valadatatype.vala, vala/valafield.vala,
      	  vala/valaforeachstatement.vala, vala/valaformalparameter.vala,
      	  vala/valainterface.vala, vala/valainterfacewriter.vala,
      	  vala/valalocalvariabledeclaration.vala, vala/valamemberaccess.vala,
      	  vala/valamemorymanager.vala, vala/valamethod.vala,
      	  vala/valaobjectcreationexpression.vala, vala/valaproperty.vala,
      	  vala/valasignal.vala, vala/valastruct.vala,
      	  vala/valasymbolresolver.vala, vala/valatypecheck.vala,
      	  vala/valaunresolvedtype.vala, vala/valavariabledeclarator.vala,
      	  gobject/valaccodegenerator.vala, vapigen/valagidlparser.vala: move
      	  unresolved type information from DataType into new UnresolvedType
      	  class, replace UnresolvedType instance by resolved DataType in
      	  SymbolResolver
      
      svn path=/trunk/; revision=749
      c73cd358
    • Jürg Billeter's avatar
      rename TypeReference to DataType · 0de3b4a6
      Jürg Billeter authored
      2007-12-02  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valadatatype.vala, vala/Makefile.am: rename TypeReference to
      	  DataType
      
      	* vala/parser.y, vala/vala.h, vala/*.vala, gobject/*.vala,
      	  vapigen/valagidlparser.vala: adapt after renaming
      
      svn path=/trunk/; revision=746
      0de3b4a6
  19. 29 Nov, 2007 1 commit
    • Jürg Billeter's avatar
      add is_pure method to Expression class · 32f3f561
      Jürg Billeter authored
      2007-11-29  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaaddressofexpression.vala,
      	  vala/valaarraycreationexpression.vala, vala/valaassignment.vala,
      	  vala/valabaseaccess.vala, vala/valabinaryexpression.vala,
      	  vala/valacastexpression.vala, vala/valaconditionalexpression.vala,
      	  vala/valaelementaccess.vala, vala/valaexpression.vala,
      	  vala/valainitializerlist.vala, vala/valainvocationexpression.vala,
      	  vala/valalambdaexpression.vala, vala/valaliteralexpression.vala,
      	  vala/valamemberaccess.vala, vala/valaobjectcreationexpression.vala,
      	  vala/valaparenthesizedexpression.vala,
      	  vala/valapointerindirection.vala, vala/valapostfixexpression.vala,
      	  vala/valareferencetransferexpression.vala,
      	  vala/valasizeofexpression.vala, vala/valatypecheck.vala,
      	  vala/valatypeofexpression.vala, vala/valaunaryexpression.vala: add
      	  is_pure method to Expression class
      
      svn path=/trunk/; revision=739
      32f3f561
  20. 07 Sep, 2007 1 commit
  21. 02 May, 2007 2 commits
  22. 03 Mar, 2007 1 commit
  23. 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
  24. 08 Jul, 2006 1 commit
    • 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
  25. 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
  26. 24 May, 2006 1 commit
    • Jürg Billeter's avatar
      Compiler is now self-hosting. · 29a1dec5
      Jürg Billeter authored
      2006-05-24  Jürg Billeter  <j@bitron.ch>
      	
      	Compiler is now self-hosting.
      
      	* vala/parser.y: support type checks, field attributes, and virtual and
      	  override method modifiers
      	* vala/valacodevisitor.vala: support type checks
      	* vala/valasymbolbuilder.vala: correct generated property accessors
      	* vala/valaattributeprocessor.vala: process field attributes
      	* vala/valasemanticanalyzer.vala: support virtual methods and type
      	  checks
      	* vala/valacodegenerator.vala: support properties, private fields,
      	  static fields, virtual methods, field initializers, while statements,
      	  foreach statements, instance last methods, postfix expressions, type
      	  checks
      	* vala/valaclass.vala: correct source reference, add get_properties
      	  method
      	* vala/valafield.vala: visit initializer, support cname attribute
      	* vala/valamethod.vala: support ReturnsModifiedPointer and InstanceLast
      	  attributes, add is_virtual, is_override, and base_method fields, add
      	  get_real_cname method
      	* vala/valaproperty.vala: add get_upper_case_cname method
      	* vala/valastruct.vala: add has_private_fields attribute, add
      	  get_methods method
      	* vala/valatypecheck.vala
      	* vala/vala.h: update
      	* ccode/valaccodebreakstatement.vala
      	* ccode/valaccodecasestatement.vala
      	* ccode/valaccodecontinuestatement.vala
      	* ccode/valaccodedeclaration.vala: renamed from
      	  CCodeDeclarationStatement, support function declarators
      	* ccode/valaccodedeclarator.vala: abstract base class for variable and
      	  function declarators
      	* ccode/valaccodefunctiondeclarator.vala: 
      	* ccode/valaccodestruct.vala: support function declarations by adding
      	  add_declaration method
      	* ccode/valaccodeswitchstatement.vala
      	* ccode/valaccodeunaryexpression.vala: add postfix increment and
      	  decrement operators
      	* ccode/valaccodevariabledeclarator.vala: inherit from CCodeDeclarator
      	* ccode/valaccodewhilestatement.vala
      
      svn path=/trunk/; revision=35
      29a1dec5
  27. 18 May, 2006 1 commit
  28. 17 May, 2006 1 commit
    • Jürg Billeter's avatar
      support variable declarators, subtyping, constants, properties, and enums · dcff1b56
      Jürg Billeter authored
      2006-05-17  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: support variable declarators, subtyping, constants,
      	  properties, and enums
      	* vala/valacodevisitor.vala: support formal parameters, property
      	  accessors, named arguments, and parenthesized expressions
      	* vala/valasymbolbuilder.vala: visit enum values, constants, formal
      	  parameters, properties, and blocks
      	* vala/valasymbolresolver.vala: save base class, accept void type,
      	  support type references with namespace name
      	* vala/valasemanticanalyzer.vala: visitor to find static types of
      	  expressions
      	* vala/valacodegenerator.vala: support parenthesized expressions
      	* vala/valablock.vala: add begin and end visit events
      	* vala/valaclass.vala: support base types and properties
      	* vala/valaenum.vala: add values
      	* vala/valaenumvalue.vala
      	* vala/valaexpression.vala: add generic symbol reference
      	* vala/valaforeachstatement.vala: add begin and end visit events
      	* vala/valaformalparameter.vala: add visit event
      	* vala/valaliteral.vala: mark class as abstract
      	* vala/valamethod.vala: add return_type
      	* vala/valanamedargument.vala: add accept method
      	* vala/valanamespace.vala: visit fields
      	* vala/valaobjectcreationexpression.vala: visit arguments
      	* vala/valaparenthesizedexpression.vala: add visit event
      	* vala/valaproperty.vala: add accessors
      	* vala/valapropertyaccessor.vala
      	* vala/valasimplename.vala: code style update
      	* vala/valastruct.vala: add constants
      	* vala/valavariabledeclarator.vala: add type reference
      	* vala/vala.h: update
      	* compiler/valacompiler.vala: invoke SemanticAnalyzer
      	* ccode/valaccodefragment.vala: code style update
      	* ccode/valaccodeparenthesizedexpression.vala: 
      	* valac/parser.y: support replacement of readonly fields
      	* valac/context.c: resolve types in operation expressions
      
      svn path=/trunk/; revision=21
      dcff1b56
  29. 16 May, 2006 2 commits
    • 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
    • Jürg Billeter's avatar
      support logical AND and OR expressions, conditional expressions, · f0c3a37f
      Jürg Billeter authored
      2006-05-16  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: support logical AND and OR expressions, conditional
      	  expressions, assignments, constants, method parameters, and properties
      	* vala/valacodevisitor.vala: add constant and property visits
      	* vala/valaassignment.vala
      	* vala/valabinaryexpression.vala: add bitwise xor, AND, and OR
      	* vala/valaconditionalexpression.vala
      	* vala/valaconstant.vala
      	* vala/valaformalparameter.vala
      	* vala/valainitializerlist.vala
      	* vala/valamemberaccess.vala: add source_reference
      	* vala/valamethod.vala: add parameters
      	* vala/valaproperty.vala
      	* vala/vala.h: update
      
      svn path=/trunk/; revision=18
      f0c3a37f
  30. 15 May, 2006 1 commit
    • Jürg Billeter's avatar
      support assign operators support assign operators and attributes visitor · 23a4afab
      Jürg Billeter authored
      2006-05-15  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support assign operators
      	* vala/parser.y: support assign operators and attributes
      	* vala/valaattributeprocessor.vala: visitor to process compiler
      	  attributes
      	* vala/valacodegenerator.vala: support structs, enums, and methods
      	* vala/valacodenode.vala: support attributes
      	* vala/valaattribute.vala
      	* vala/valamemberaccessibility.vala
      	* vala/valamethod.vala
      	* vala/valastruct.vala: support CCode (cname) attribute
      	* vala/vala.h: update
      	* compiler/valacompiler.vala: invoke AttributeProcessor
      	* ccode/valaccodeblock.vala
      	* ccode/valaccodeenum.vala
      	* ccode/valaccodemethod.vala
      	* ccode/valaccodemodifiers.vala
      	* bindings/GLib.vala: add string cmp method
      	* valac/scanner.l: support BITWISE_AND
      	* valac/parser.y: support bitwise and
      	* valac/context.h: add bitwise and
      	* valac/generator.c: support enum dependencies and bitwise and
      
      svn path=/trunk/; revision=16
      23a4afab
  31. 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
  32. 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
  33. 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