1. 07 Sep, 2007 1 commit
  2. 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
  3. 02 May, 2007 2 commits
  4. 04 Apr, 2007 1 commit
    • Jürg Billeter's avatar
      support casts to generic types support arrays of generic types don't take · 5e2730eb
      Jürg Billeter authored
      2007-04-04  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support casts to generic types
      	* vala/valasymbolresolver.vala, vala/valatypereference.vala: support
      	  arrays of generic types
      	* vala/valasymbolresolver.vala: don't take ownership of elements of weak
      	  arrays
      	* vala/valasemanticanalyzer.vala: accept uint as index value
      	* vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala,
      	  vala/valastatement.vala: minor cleanup of creation methods
      	* vala/valacodegenerator.vala: support creation methods for structs, fix
      	  pointer as return type
      	* vapi/glib-2.0.vala: add CLAMP and g_spaced_primes_closest
      
      svn path=/trunk/; revision=277
      5e2730eb
  5. 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
  6. 27 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      support CASE, DEFAULT, DO, and SWITCH support switch and do statements add · 532b1966
      Jürg Billeter authored
      2006-07-27  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support CASE, DEFAULT, DO, and SWITCH
      	* vala/parser.y: support switch and do statements
      	* vala/valacodevisitor.vala: add support for switch and do statements
      	* vala/valadostatement.vala
      	* vala/valaswitchlabel.vala
      	* vala/valaswitchsection.vala
      	* vala/valaswitchstatement.vala
      	* vala/valastatement.vala, vala/valasymbol.vala,
      	  vala/valaunaryexpression.vala, vala/valavariabledeclarator.vala,
      	  vala/valawhilestatement.vala: add interface documentation, use
      	  implicit namespace specification
      	* vala/vala.h, vala/Makefile.am: update
      	* vapi/glib-2.0.vala: don't use default keyword
      
      svn path=/trunk/; revision=86
      532b1966
  7. 28 Jun, 2006 1 commit
    • 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
  8. 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
  9. 21 May, 2006 1 commit
    • Jürg Billeter's avatar
      support file comments, BREAK, CONTINUE support break and continue, add · 405b0c4f
      Jürg Billeter authored
      2006-05-21  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support file comments, BREAK, CONTINUE
      	* vala/parser.y: support break and continue, add more comments
      	* vala/valacodecontext.vala: find cyclic header dependencies
      	* vala/valasourcefile.vala: add get_namespaces method, add dependency
      	  information, add add_symbol_dependency method, add
      	  SourceFileDependencyType enum
      	* vala/valasourcefilecycle.vala
      	* vala/valacodevisitor.vala: support break and continue statements
      	* vala/valaparser.vala: support file comments
      	* vala/valasemanticanalyzer.vala: record dependency information
      	* vala/valacodegenerator.vala: add include directives, type forward
      	  declarations, once section, enum values, method return types, and more
      	  comments
      	* vala/valablock.vala, vala/valadeclarationstatement.vala,
      	  vala/valaemptystatement.vala, vala/valaexpressionstatement.vala,
      	  vala/valaforeachstatement.vala, vala/valaforstatement.vala,
      	  vala/valaifstatement.vala, vala/valareturnstatement.vala,
      	  vala/valastatement.vala, vala/valawhilestatement.vala: move
      	  source_reference property to Statement class
      	* vala/valaclass.vala, vala/valaenum.vala, vala/valastruct.vala,
      	  vala/valatype.vala: move name, source_reference, namespace, and
      	  get_cheader_filenames to Type class
      	* vala/valabreakstatement.vala
      	* vala/valacontinuestatement.vala
      	* vala/valaenum.vala: fix cname, add get_upper_case_cname method
      	* vala/valaenumvalue.vala: add get_cname method
      	* vala/valafield.vala: add access field
      	* vala/valanamespace.vala: add get_structs, get_classes, and
      	  get_cheader_filenames methods, support cheader_filename attribute
      	* vala/valastruct.vala: support cheader_filename attribute
      	* vala/valatypereference.vala: support void cname
      	* vala/vala.h: update
      	* ccode/valaccodeblock.vala: support comments before statements
      	* ccode/valaccodeenum.vala: optionally use typedef
      	* ccode/valaccodefunction.vala: add copy method
      	* ccode/valaccodenewline.vala
      	* ccode/valaccodeoncesection.vala
      	* ccode/valaccodewriter.vala: use whole line for comments
      	* bindings/glib-2.0.vala: add cheader_filename attributes, extend string
      	  types
      	* valac/generator.c: fix private field access, include string.h
      
      svn path=/trunk/; revision=31
      405b0c4f
  10. 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
  11. 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