1. 30 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      rename MemberAccessibility to SymbolAccessibility and move its declaration · 6accf66c
      Jürg Billeter authored
      2007-08-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valamemberaccessibility.vala: rename MemberAccessibility to
      	  SymbolAccessibility and move its declaration to vala/valasymbol.vala
      	* vala/parser.y: store accessibility modifier for properties and follow
      	  the renames caused by the accessibility releated refactoring, cast
      	  the Struct allocated in struct_declaration to silence gcc
      	* vala/Makefile.am: remove valamemberaccessibility.* files
      	* vala/valasymbol.vala: add access property found in serveral
      	  sub-classes and add is_internal_symbol () method, which considers
      	  parent symbols to determinate if a symbol belongs to internal API
      	* gobject/*, vala/*, vapigen/valagidlparser.vala:
      	  move the access property/field found in several Symbol derived
      	  classes to the Symbol class where it belongs and rename the
      	  MemberAccessibility enumeration to SymbolAccessibility
      
      	* vala/valaformalparameter.vala, vala/valanamespace.vala: set access
      	  to public on initialization, as there is no accessibility modifier
      	* gobject/valacodegenerator.vala: do not add internal symbols to
      	  header_type_member_declarations
      	* vala/valasemanticanalyzer.vala: do not add HEADER_SHALLOW symbol
      	  dependencies for internal symbols
      	* gobject/valacodegeneratormethod.vala: consider all anchestors,
      	  not just the parent for visibility
      
      	patch by Mathias Hasselmann, fixes bug 471475
      
      svn path=/trunk/; revision=546
      6accf66c
  2. 27 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      add internal copy of libgee and use Gee.ArrayList, Gee.HashMap, and · 5a32f9e2
      Jürg Billeter authored
      2007-07-27  Juerg Billeter  <j@bitron.ch>
      
      	* Makefile.am, README, configure.ac, gee/Makefile.am,
      	  gee/arraylist.vala, gee/collection.vala, gee/hashmap.vala,
      	  gee/hashset.vala, gee/iterable.vala, gee/iterator.vala, gee/list.vala,
      	  gee/map.vala, gee/readonlycollection.vala, gee/readonlylist.vala,
      	  gee/readonlymap.vala, gee/readonlyset.vala, gee/set.vala,
      	  vala/Makefile.am, vala/parser.y, vala/valaarray.vala,
      	  vala/valaarraycreationexpression.vala, vala/valaattribute.vala,
      	  vala/valablock.vala, vala/valacallback.vala, vala/valaclass.vala,
      	  vala/valacodecontext.vala, vala/valacodenode.vala,
      	  vala/valadatatype.vala, vala/valaelementaccess.vala,
      	  vala/valaenum.vala, vala/valaexpression.vala, vala/valafield.vala,
      	  vala/valaformalparameter.vala, vala/valaforstatement.vala,
      	  vala/valainitializerlist.vala, vala/valainstancecast.vala,
      	  vala/valainterface.vala, vala/valainterfacewriter.vala,
      	  vala/valainvocationexpression.vala, vala/valainvokable.vala,
      	  vala/valalambdaexpression.vala,
      	  vala/valalocalvariabledeclaration.vala, vala/valamember.vala,
      	  vala/valamemberaccess.vala, vala/valamemorymanager.vala,
      	  vala/valamethod.vala, vala/valanamespace.vala,
      	  vala/valaobjectcreationexpression.vala, vala/valapointer.vala,
      	  vala/valascope.vala, vala/valasemanticanalyzer.vala,
      	  vala/valasignal.vala, vala/valasourcefile.vala,
      	  vala/valasourcefilecycle.vala, vala/valastruct.vala,
      	  vala/valaswitchsection.vala, vala/valaswitchstatement.vala,
      	  vala/valasymbol.vala, vala/valasymbolresolver.vala,
      	  vala/valatrystatement.vala, vala/valatypeparameter.vala,
      	  vala/valatypereference.vala, vala/valavariabledeclarator.vala,
      	  ccode/Makefile.am, ccode/valaccodeblock.vala,
      	  ccode/valaccodecasestatement.vala,
      	  ccode/valaccodecommaexpression.vala, ccode/valaccodedeclaration.vala,
      	  ccode/valaccodeenum.vala, ccode/valaccodeforstatement.vala,
      	  ccode/valaccodefragment.vala, ccode/valaccodefunction.vala,
      	  ccode/valaccodefunctioncall.vala,
      	  ccode/valaccodefunctiondeclarator.vala,
      	  ccode/valaccodeinitializerlist.vala, ccode/valaccodestruct.vala,
      	  ccode/valaccodeswitchstatement.vala, gobject/Makefile.am,
      	  gobject/valaclassregisterfunction.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/valacodegeneratorsourcefile.vala,
      	  gobject/valainterfaceregisterfunction.vala, compiler/Makefile.am,
      	  vapi/gio-standalone.vala, vapi/gstreamer-0.10.vala,
      	  vapi/gtk+-2.0.vala, vapigen/Makefile.am, vapigen/valagidlparser.vala:
      	  add internal copy of libgee and use Gee.ArrayList, Gee.HashMap, and
      	  Gee.HashSet instead of GLib.List and GLib.HashTable
      
      svn path=/trunk/; revision=406
      5a32f9e2
  3. 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
  4. 09 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      remove obsolete ref modifier and callback keyword · ffb3d21f
      Jürg Billeter authored
      2007-07-09  Juerg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l, vala/parser.y, vala/valaarray.vala,
      	  vala/valaarraycreationexpression.vala, vala/valaattribute.vala,
      	  vala/valabaseaccess.vala, vala/valablock.vala,
      	  vala/valabooleanliteral.vala, vala/valacallback.vala,
      	  vala/valaclass.vala, vala/valacodecontext.vala,
      	  vala/valacodenode.vala, vala/valacreationmethod.vala,
      	  vala/valadatatype.vala, vala/valaelementaccess.vala,
      	  vala/valaenum.vala, vala/valafield.vala, vala/valaflags.vala,
      	  vala/valaformalparameter.vala, vala/valaforstatement.vala,
      	  vala/valainitializerlist.vala, vala/valaintegerliteral.vala,
      	  vala/valainterface.vala, vala/valainterfacewriter.vala,
      	  vala/valainvocationexpression.vala, vala/valainvokable.vala,
      	  vala/valalambdaexpression.vala, vala/valaliteralexpression.vala,
      	  vala/valalocalvariabledeclaration.vala, vala/valamemberaccess.vala,
      	  vala/valamemorymanager.vala, vala/valamethod.vala,
      	  vala/valanamespace.vala, vala/valanullliteral.vala,
      	  vala/valaobjectcreationexpression.vala, vala/valaparser.vala,
      	  vala/valapointer.vala, vala/valaproperty.vala,
      	  vala/valasemanticanalyzer.vala, vala/valasignal.vala,
      	  vala/valasourcefile.vala, vala/valasourcereference.vala,
      	  vala/valastringliteral.vala, vala/valastruct.vala,
      	  vala/valaswitchsection.vala, vala/valaswitchstatement.vala,
      	  vala/valasymbol.vala, vala/valasymbolresolver.vala,
      	  vala/valatypereference.vala, vala/valavariabledeclarator.vala,
      	  gobject/valaclassregisterfunction.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/valacodegeneratorsourcefile.vala,
      	  gobject/valainterfaceregisterfunction.vala,
      	  gobject/valatyperegisterfunction.vala, ccode/valaccodefragment.vala,
      	  ccode/valaccodefunction.vala, compiler/valacompiler.vala,
      	  vapi/cairo.vala, vapi/glib-2.0.vala, vapi/libxml-2.0.vala,
      	  tests/test-023.vala, gobject-introspection/gidl.vala,
      	  vapigen/valagidlparser.vala, vapigen/valavapigen.vala: remove obsolete
      	  ref modifier and callback keyword
      
      svn path=/trunk/; revision=334
      ffb3d21f
  5. 15 Jun, 2007 1 commit
    • Jürg Billeter's avatar
      move iteration of symbol nodes from accept to accept_children method · 5cfdd606
      Jürg Billeter authored
      2007-06-15  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaattributeprocessor.vala, vala/valacodevisitor.vala,
      	  vala/valainterfacewriter.vala, vala/valamemorymanager.vala,
      	  vala/valasemanticanalyzer.vala, vala/valasymbolbuilder.vala,
      	  vala/valasymbolresolver.vala, vala/valaconstant.vala,
      	  vala/valaconstructor.vala, vala/valacreationmethod.vala,
      	  vala/valadestructor.vala, vala/valafield.vala,
      	  vala/valaformalparameter.vala, vala/valamethod.vala,
      	  vala/valaproperty.vala, vala/valapropertyaccessor.vala,
      	  vala/valasignal.vala, gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratormethod.vala,
      	  gobject/valacodegeneratorsignal.vala: move iteration of symbol nodes
      	  from accept to accept_children method
      
      svn path=/trunk/; revision=324
      5cfdd606
  6. 02 May, 2007 2 commits
  7. 04 Mar, 2007 2 commits
    • Jürg Billeter's avatar
      don't allow interface implementations to specify override remove override · 2ef7213e
      Jürg Billeter authored
      2007-03-04  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala: don't allow interface implementations
      	  to specify override
      	* vala/valaconstant.vala, vala/valafield.vala,
      	  vala/valaformalparameter.vala, vala/valamethod.vala,
      	  vala/valaproperty.vala, vala/valasignal.vala,
      	  vala/valavariabledeclarator.vala: remove override from interface
      	  implementations
      
      svn path=/trunk/; revision=219
      2ef7213e
    • Raffaele Sandrini's avatar
      add support for construct formal creation method parameters add testcase · 7d614d7c
      Raffaele Sandrini authored
      2007-03-04  Raffaele Sandrini  <rasa@gmx.ch>
      
      	* vala/valasemanticanalyzer.vala, vala/parser.y,
      	  vala/valaformalparameter.vala: add support for construct formal
      	  creation method parameters
      	* tests/test-029.vala, tests/test-029.out: add testcase for construct
      	  formal parameters
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=216
      7d614d7c
  8. 03 Mar, 2007 1 commit
  9. 02 Sep, 2006 1 commit
    • Jürg Billeter's avatar
      always default type arguments to strong avoid unnecessary ref/unref pair · 1d3e2293
      Jürg Billeter authored
      2006-09-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, vala/valacodecontext.vala,
      	  vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
      	  vala/valacodegenerator.vala, vala/valaarraycreationexpression.vala,
      	  vala/valablock.vala, vala/valacallback.vala, vala/valaclass.vala,
      	  vala/valaelementaccess.vala, vala/valafield.vala,
      	  vala/valaformalparameter.vala, vala/valaforstatement.vala,
      	  vala/valainitializerlist.vala, vala/valainterface.vala,
      	  vala/valainvocationexpression.vala, vala/valainvokable.vala,
      	  vala/valalambdaexpression.vala,
      	  vala/valalocalvariabledeclaration.vala, vala/valamemberaccess.vala,
      	  vala/valamethod.vala, vala/valanamespace.vala,
      	  vala/valaobjectcreationexpression.vala, vala/valasignal.vala,
      	  vala/valasourcefile.vala, vala/valastruct.vala,
      	  vala/valaswitchsection.vala, vala/valaswitchstatement.vala,
      	  vala/valatypereference.vala, vala/valavariabledeclarator.vala,
      	  ccode/valaccodefragment.vala, vapi/glib-2.0.vala: always default type
      	  arguments to strong
      	* vala/valacodevisitor.vala, vala/valacodegenerator.vala,
      	  vala/valaexpression.vala, vala/valareturnstatement.vala: avoid
      	  unnecessary ref/unref pair in return expression
      	* vala/valatypereference.vala: copy type arguments in copy method, too
      	* vala/valasemanticanalyzer.vala: set type arguments in type_reference
      	  of ObjectCreationExpression
      	* vala/valadatatype.vala: fix warning
      
      svn path=/trunk/; revision=122
      1d3e2293
  10. 18 Aug, 2006 1 commit
    • Jürg Billeter's avatar
      support implicit array length parameter support NoArrayLength attribute · db23cad6
      Jürg Billeter authored
      2006-08-18  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala: support implicit array length parameter
      	* vala/valainterfacewriter.vala, vala/valaformalparameter.vala,
      	  vala/valamethod.vala: support NoArrayLength attribute
      	* compiler/valacompiler.vala, vapi/atk.vala, vapi/cairo.vala,
      	  vapi/gdk-2.0.vala, vapi/glib-2.0.vala, vapi/gtk+-2.0.vala,
      	  vapi/pango.vala: add NoArrayLength attributes
      	* tests/test-001.vala, tests/test-002.vala, tests/test-003.vala,
      	  tests/test-004.vala, tests/test-005.vala, tests/test-006.vala,
      	  tests/test-007.vala, tests/test-008.vala, tests/test-009.vala,
      	  tests/test-010.vala, tests/test-011.vala, tests/test-012.vala,
      	  tests/test-013.vala, tests/test-014.vala, tests/test-015.vala,
      	  tests/test-016.vala, tests/test-017.vala, tests/test-018.vala,
      	  tests/test-019.vala, tests/test-020.vala: remove argc parameter
      
      svn path=/trunk/; revision=106
      db23cad6
  11. 10 Aug, 2006 1 commit
    • Jürg Billeter's avatar
      use Invokable vala/valainvokable.vala implement Invokable update · 2e3d20ed
      Jürg Billeter authored
      2006-08-10  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala: use
      	  Invokable
      	* vala/valainvokable.vala
      	* vala/valafield.vala, vala/valaformalparameter.vala,
      	  vala/valamethod.vala, valasignal.vala,
      	  vala/valavariabledeclarator.vala: implement Invokable
      	* vala/Makefile.am: update
      
      svn path=/trunk/; revision=96
      2e3d20ed
  12. 02 Aug, 2006 2 commits
    • 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
    • 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
  13. 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
  14. 05 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      don't pass parameter list to lambda expression contructor support static · bf6a3316
      Jürg Billeter authored
      2006-07-05  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: don't pass parameter list to lambda expression
      	  contructor
      	* vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
      	  vala/valacodegenerator.vala: support static lambda expressions and
      	  nested methods
      	* vala/valainvocationexpression.vala: visit call node before visiting
      	  begin of invocation expression
      	* vala/valaformalparameter.vala, vala/valalambdaexpression.vala: add
      	  interface documentation, use implicit namespace specification
      	* vala/valamethod.vala: allow nested methods
      	* tests/test-015.vala: test lambda expressions
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=65
      bf6a3316
  15. 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
  16. 07 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      support REAL_LITERAL, TILDE, SIGNAL support flags, signals, constructors, · 4478ebb1
      Jürg Billeter authored
      2006-06-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support REAL_LITERAL, TILDE, SIGNAL
      	* vala/parser.y: support flags, signals, constructors, destructors, real
      	  literals, assignment operators, and non-null types
      	* vala/valacodevisitor.vala: add visit methods for signals,
      	  constructors, destructors, and real literals
      	* vala/valasymbolbuilder.vala: support signals, constructors,
      	  destructors
      	* vala/valasemanticanalyzer.vala: support constructors, real literals,
      	  and default arguments, fix lookup in namespaces of using directives
      	* vala/valacodegenerator.vala: use default arguments and type register
      	  function classes, support constructors, interfaces, real literals,
      	  default arguments, casts, and signals, cast method arguments if
      	  necessary
      	* vala/valasourcefile.vala: use default arguments
      	* vala/valaassignment.vala: add operator
      	* vala/valacallback.vala: skeleton for callbacks
      	* vala/valaclass.vala: add signals, constructor, and destructor
      	* vala/valaclassregisterfunction.vala: get_type function for classes
      	* vala/valaconstant.vala: use default arguments
      	* vala/valaconstructor.vala
      	* vala/valadestructor.vala
      	* vala/valaenum.vala: use default arguments
      	* vala/valaflags.vala
      	* vala/valaflagsvalue.vala: 
      	* vala/valaformalparameter.vala: add default_expression
      	* vala/valainstancecast.vala: dynamic instance cast
      	* vala/valainterface.vala: add signals
      	* vala/valainterfaceregisterfunction.vala: get_type function for
      	  interfaces
      	* vala/valanamespace.vala: add flags, use default arguments
      	* vala/valaproperty.vala: use default arguments
      	* vala/valarealliteral.vala: 
      	* vala/valasignal.vala
      	* vala/valastruct.vala: use default arguments
      	* vala/valastringliteral.vala: use default arguments
      	* vala/valatypereference.vala: add is_weak property
      	* vala/valatyperegisterfunction.vala
      	* vala/vala.h: update
      	* vala/Makefile.am: update
      	* ccode/valaccodeblock.vala: add prepend_statement method
      	* ccode/valaccodewriter.vala: correctly indent multi-line comments
      	* vapi/glib-2.0.vala: add float and double, use default arguments,
      	  temporarily remove astring
      
      svn path=/trunk/; revision=39
      4478ebb1
  17. 25 May, 2006 1 commit
    • Jürg Billeter's avatar
      support ELLIPSIS, use g_strdup instead of strdup support variable argument · 35bd6909
      Jürg Billeter authored
      2006-05-25  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support ELLIPSIS, use g_strdup instead of strdup
      	* vala/parser.y: support variable argument lists, type access modifiers
      	* vala/valareport.vala: class to handle error reporting
      	* vala/valasymbolbuilder.vala: switch to new error reporting scheme
      	* vala/valasymbolresolver.vala: switch to new error reporting scheme
      	* vala/valasemanticanalyzer.vala: process Constant and EnumValue symbol
      	  dependencies, check method argument types, find types of unary and
      	  binary expressions, remove dummy field, switch to new error reporting
      	  scheme
      	* vala/valacodegenerator.vala: support calling functions with variable
      	  argument lists, support break and continue statements, remove dummy fields,
      	  switch to new error reporting scheme
      	* vala/valainterfacewriter.vala: visitor to write public vala api in one
      	  file
      	* vala/valasourcefile.vala: support field and property symbol
      	  dependencies, remove dummy field
      	* vala/valaclass.vala: add is_abstract field
      	* vala/valaenumvalue.vala: remove dummy field
      	* vala/valaformalparameter.vala: add ellipsis property
      	* vala/valamemberaccessibility.vala: add INTERNAL
      	* vala/valamethod.vala: make parameters public, remove dummy field
      	* vala/valaproperty.vala: remove dummy field
      	* vala/valasymbol.vala: add name field and get_full_name method
      	* vala/valatype.vala: add access field
      	* vala/valatypereference.vala: switch to new error reporting scheme
      	* ccode/valaccodeblock.vala: improve formatting
      	* ccode/valaccodeifstatement.vala: improve formatting
      	* ccode/valaccodewriter.vala: improve formatting
      	* compiler/valacompiler.vala: add error handling, support multiple vapi
      	  directories, add --library option to generate public vala api
      	* vapi/glib-2.0.vala: moved from bindings, add static GLib.stdout field,
      	  correctly mark functions with variable argument lists, add File.test
      	  method
      
      	* configure.ac,Makefile.am,ccode/Makefile.am,vala/Makefile.am,
      	  vapi/Makefile.am,compiler/Makefile.am: add build system
      	
      	* remove valac subdirectory: Bootstrap compiler is now obsolete.
      
      svn path=/trunk/; revision=36
      35bd6909
  18. 18 May, 2006 1 commit
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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