1. 02 May, 2007 2 commits
  2. 03 Mar, 2007 1 commit
  3. 26 Sep, 2006 1 commit
    • Jürg Billeter's avatar
      add missing cast · 55df8bbb
      Jürg Billeter authored
      2006-09-26  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaassignment.vala, vala/valabinaryexpression.vala,
      	  vala/valacastexpression.vala, vala/valadostatement.vala,
      	  vala/valaexpressionstatement.vala, vala/valaforeachstatement.vala,
      	  vala/valaforstatement.vala, vala/valaifstatement.vala,
      	  vala/valainvocationexpression.vala, vala/valamemberaccess.vala,
      	  vala/valaparenthesizedexpression.vala, vala/valareturnstatement.vala,
      	  vala/valaswitchstatement.vala, vala/valaunaryexpression.vala,
      	  vala/valawhilestatement.vala: add missing cast
      
      svn path=/trunk/; revision=124
      55df8bbb
  4. 02 Sep, 2006 2 commits
    • 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
    • Jürg Billeter's avatar
      use IntegerType, FloatingType, and rank attributes to analyze arithmetic · be3441b3
      Jürg Billeter authored
      2006-09-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala: use IntegerType, FloatingType, and
      	  rank attributes to analyze arithmetic operations
      	* vala/valacodegenerator.vala: generate C casts for explicit value-type
      	  casts
      	* vala/valastruct.vala: add is_integer_type, is_floating_type, and
      	  get_rank methods, add IntegerType and FloatingType attributes
      	* vala/valasemanticanalyzer.vala, vala/valacastexpression.vala,
      	  vala/valainstancecast.vala, ccode/valaccodecastexpression.vala: fix
      	  typos
      	* vapi/glib-2.0.vala: add int16, uint16, int32, uint32, use IntegerType
      	  and FloatingType attributes
      
      svn path=/trunk/; revision=117
      be3441b3
  5. 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
  6. 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
  7. 06 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      merge SimpleName into MemberAccess adapt to change in Class support · 49177f7d
      Jürg Billeter authored
      2006-07-06  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, vala/valacodevisitor.vala, vala/valasymbolbuilder.vala,
      	  vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
      	  vala/valacodegenerator.vala, vala/valatypereference.vala, vala/vala.h,
      	  vala/Makefile.am: merge SimpleName into MemberAccess
      	* vala/valasymbolresolver.vala, vala/valainterfacewriter.vala: adapt to
      	  change in Class
      	* vala/valasemanticanalyzer.vala: support non-static lambda expressions
      	  and lambda expressions without return values
      	* vala/valacodegenerator.vala: support conditional expressions, support
      	  lambda expressions as signal handlers, support read-only and
      	  write-only properties
      	* vala/valacodevisitor.vala, vala/valamemorymanager.vala,
      	  vala/valaassignment.vala: visit at beginning and end
      	* vala/valacallback.vala: add instance property
      	* vala/valasignal.vala: add get_callback method
      	* vala/valacastexpression.vala, vala/valacharacterliteral.vala,
      	  vala/valaclass.vala, vala/valamemberaccess.vala, vala/valasignal.vala:
      	  add interface documentation, use implicit namespace specification
      
      svn path=/trunk/; revision=66
      49177f7d
  8. 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
  9. 18 May, 2006 1 commit
  10. 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
  11. 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
  12. 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
  13. 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