1. 02 May, 2007 2 commits
  2. 26 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      support casting arrays don't require developer to explicitly write static · 6ba9479f
      Jürg Billeter authored
      2006-07-26  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support casting arrays
      	* vala/parser.y: don't require developer to explicitly write static in
      	  namespace method declarations
      	* vala/valaarray.vala: correct cname for arrays with value-type elements
      	* vala/valacodenode.vala: save source line reference in ccodenode
      	* ccode/valaccodelinedirective.vala
      	* ccode/valaccodenode.vala: support source line reference
      	* ccode/Makefile.am: update
      	* vapi/glib-2.0.vala: add to_string methods to integer types, add size
      	  method to string, add u_sleep method to Thread, fix memory management
      	  in List and SList, add sort method to List
      
      svn path=/trunk/; revision=83
      6ba9479f
  3. 08 Jul, 2006 1 commit
    • 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
  4. 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
  5. 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
  6. 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