1. 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
  2. 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
  3. 17 Oct, 2008 1 commit
    • Jürg Billeter's avatar
      Treat the result of two concatenated string constants as constant, fixes · f3e347b5
      Jürg Billeter authored
      2008-10-17  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valabinaryexpression.vala:
      	* vala/valaexpression.vala:
      	* vala/valaliteral.vala:
      	* vala/valamemberaccess.vala:
      	* vala/valasemanticanalyzer.vala:
      	* gobject/valaccodegenerator.vala:
      
      	Treat the result of two concatenated string constants as constant,
      	fixes bug 516287
      
      svn path=/trunk/; revision=1848
      f3e347b5
  4. 31 Mar, 2008 1 commit
    • Jürg Billeter's avatar
      Merge Literal and LiteralExpression · 8ab64099
      Jürg Billeter authored
      2008-03-31  Juerg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am, vala/parser.y, vala/vala.h,
      	  vala/valaattribute.vala, vala/valabooleanliteral.vala,
      	  vala/valacharacterliteral.vala, vala/valacodecontext.vala,
      	  vala/valacodegenerator.vala, vala/valacodevisitor.vala,
      	  vala/valaintegerliteral.vala, vala/valaliteral.vala,
      	  vala/valanullliteral.vala, vala/valarealliteral.vala,
      	  vala/valasemanticanalyzer.vala, vala/valastringliteral.vala,
      	  gobject/valaccodeelementaccessbinding.vala,
      	  gobject/valaccodegenerator.vala:
      
      	  Merge Literal and LiteralExpression
      
      svn path=/trunk/; revision=1165
      8ab64099
  5. 02 Dec, 2007 1 commit
    • 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
  6. 07 Sep, 2007 1 commit
  7. 02 May, 2007 2 commits
  8. 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
  9. 02 Aug, 2006 1 commit
    • 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
  10. 19 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      use more expressive property names, add stricter () method adapt to · 0bd3c086
      Jürg Billeter authored
      2006-07-19  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valatypereference.vala: use more expressive property names, add
      	  stricter () method
      	* vala/parser.y, vala/valasymbolbuilder.vala,
      	  vala/valasymbolresolver.vala, vala/valasemanticanalyzer.vala,
      	  vala/valamemorymanager.vala, vala/valacodegenerator.vala,
      	  vala/valainterfacewriter.vala, vala/valasourcefile.vala,
      	  vala/valacallback.vala, vala/valaclassregisterfunction.vala,
      	  vala/valasignal.vala: adapt to changes in TypeReference
      	* vala/valasourcefile.vala: replace public fields by properties /
      	  private fields
      	* vala/valacodecontext.vala: adapt to changes in SourceFile
      	* vala/valaparser.vala: correct handling of source files without header
      	  comments
      	* vala/valasymbolbuilder.vala: don't generate code for VAPI files
      	* vala/valasemanticanalyzer.vala: report error respectively warning if
      	  method return type misses ownership transfer
      	* vala/valainterfacewriter.vala: correct property declaration output
      	* vala/valaparser.vala, vala/valasourcefile.vala, vala/valaliteral.vala,
      	  vala/valamemberaccessibility.vala, vala/valanamedargument.vala,
      	  vala/valanamespacereference.vala, vala/valatypereference.vala: add
      	  interface documentation, use implicit namespace specification
      
      svn path=/trunk/; revision=82
      0bd3c086
  11. 28 Jun, 2006 2 commits
    • 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
    • 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
  12. 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
  13. 18 May, 2006 1 commit
  14. 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
  15. 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
  16. 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