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. 28 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      support custom field cname in generated VAPI file · 3930a527
      Jürg Billeter authored
      2007-08-28  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valafield.vala, vala/valainterfacewriter.vala: support custom
      	  field cname in generated VAPI file
      
      	* vapigen/valagidlparser.vala: add mode_t support
      
      	* vapi/glib-2.0.vala, vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala: add
      	  some required stubs
      
      	* vapi/gconf-2.0.vala, vapi/packages/gconf-2.0/: add GConf bindings
      
      	* vapi/gnome-vfs-2.0.vala, vapi/packages/gnome-vfs-2.0/: add GnomeVFS
      	  bindings
      
      	* vapi/libgnome-2.0.vala, vapi/packages/libgnome-2.0/: add libgnome
      	  bindings
      
      	* vapi/libgnomeui-2.0.deps, vapi/libgnomeui-2.0.vala,
      	  vapi/packages/libgnomeui-2.0/: add libgnomeui bindings
      
      	* vapi/libpanelapplet-2.0.deps, vapi/libpanelapplet-2.0.vala: add Panel
      	  Applet bindings
      
      	* vapi/atk.vala, vapi/clutter-0.4.vala, vapi/gdk-2.0.vala,
      	  vapi/gio-standalone.vala, vapi/gnome-desktop-2.0.vala,
      	  vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala,
      	  vapi/gtksourceview-2.0.vala, vapi/hildon-1.vala,
      	  vapi/libglade-2.0.vala, vapi/libsoup-2.2.vala, vapi/libwnck-1.0.vala,
      	  vapi/pango.vala, vapi/poppler-glib.vala, vapi/vte.vala: regenerated
      
      	* vapi/Makefile.am: updated
      
      svn path=/trunk/; revision=517
      3930a527
  3. 20 Aug, 2007 2 commits
  4. 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
  5. 23 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      remove unnecessary construction properties to improve performance · 4542c159
      Jürg Billeter authored
      2007-07-23  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaarray.vala, vala/valaarraylengthfield.vala,
      	  vala/valaarrayresizemethod.vala, vala/valaattribute.vala,
      	  vala/valacodenode.vala, vala/valaconstant.vala, vala/valafield.vala,
      	  vala/valanamespacereference.vala, vala/valasignal.vala,
      	  vala/valasourcefile.vala: remove unnecessary construction properties
      	  to improve performance
      
      svn path=/trunk/; revision=378
      4542c159
  6. 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
  7. 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
  8. 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
  9. 02 May, 2007 2 commits
  10. 04 Mar, 2007 1 commit
    • 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
  11. 03 Mar, 2007 1 commit
  12. 21 Nov, 2006 1 commit
    • Jürg Billeter's avatar
      use new attribute functionality · c5b06dcf
      Jürg Billeter authored
      2006-11-21  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala, vala/valaenum.vala, vala/valafield.vala,
      	  vala/valainterface.vala, vala/valanamespace.vala,
      	  vala/valastruct.vala: use new attribute functionality
      
      svn path=/trunk/; revision=178
      c5b06dcf
  13. 04 Oct, 2006 1 commit
    • Jürg Billeter's avatar
      correct takes_ownership in arrays add limited support for array length · dec15a0f
      Jürg Billeter authored
      2006-10-04  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasymbolresolver.vala: correct takes_ownership in arrays
      	* vala/valacodegenerator.vala: add limited support for array length
      	  fields, store array length from array creation expression, copy array
      	  length in array assignments
      	* vala/valafield.vala: support NoArrayLength attribute
      	* compiler/valacompiler.vala: add NoArrayLength attribute to option
      	  arrays
      
      svn path=/trunk/; revision=140
      dec15a0f
  14. 27 Sep, 2006 1 commit
    • Raffaele Sandrini's avatar
      add threading and assorted structures add an additional abstraction for · a265bc69
      Raffaele Sandrini authored
      2006-09-27  Raffaele Sandrini  <rasa@gmx.ch>
      
      	* vapi/glib-2.0.vala: add threading and assorted structures
      	* vala/valamember.vala: add an additional abstraction for all members
      	  of a class
      	* vala/valalockstatement.vala, vala/valacodegenerator.vala,
      	  vala/scanner.l, vala/valasemanticanalyzer.vala,
      	  vala/valalockable.vala, vala/parser.y, vala/valacodevisitor.vala:
      	  add lock feature to vala
      	* vala/valamethod.vala, vala/valafield.vala, vala/valaconstant.vala,
      	  vala/valasignal.vala, vala/valaproperty.vala: make those members
      	  lockable
      	* vala/valacodegenerator.vala: use member abstraction to simlify field
      	  initialisation and destruction
      	* vala/valacodegenerator.vala: introduce new C macros VALA_FREE_CHECKED
      	  and VALA_FREE_UNCHECKED to make safe freeing code nicer
      	* vala/vala.h: update and bring arraycreationexpression in order
      	* vala/Makefile.am: update
      
      
      svn path=/trunk/; revision=129
      a265bc69
  15. 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
  16. 10 Aug, 2006 2 commits
    • 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
    • Jürg Billeter's avatar
      accept real literals with trailing dot ignore non-type symbols support · 907752f6
      Jürg Billeter authored
      2006-08-10  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: accept real literals with trailing dot
      	* vala/valasymbolresolver.vala: ignore non-type symbols
      	* vala/valacodegenerator.vala: support float and double properties,
      	  adapt to Field changes, support compound assignments in properties
      	* vala/valainterfacewriter.vala: support ReferenceType attribute
      	* vala/valaclass.vala: implement get_lower_case_cprefix ()
      	* vala/valadatatype.vala: add get_lower_case_cprefix () method
      	* vala/valafield.vala: let get_cname return full C name
      	* vala/valamethod.vala: use DataType.get_lower_case_cprefix ()
      	* vala/valastruct.vala: implement get_lower_case_cprefix (), add
      	  set_is_reference_type () method
      
      svn path=/trunk/; revision=94
      907752f6
  17. 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
  18. 08 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      adapt to ForStatement API changes make {get,set}_lower_case_csuffix · c8075c40
      Jürg Billeter authored
      2006-07-08  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, vala/valacodegenerator.vala: adapt to ForStatement API
      	  changes
      	* vala/valaclass.vala: make {get,set}_lower_case_csuffix methods private
      	* vala/valaenum.vala, vala/valaenumvalue.vala,
      	  vala/valaexpressionstatement.vala, vala/valafield.vala,
      	  vala/valaflags.vala, vala/valaflagsvalue.vala,
      	  vala/valaforeachstatement.vala, vala/valaforstatement.vala: add
      	  interface documentation, use implicit namespace specification
      
      svn path=/trunk/; revision=72
      c8075c40
  19. 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
  20. 31 May, 2006 1 commit
    • Jürg Billeter's avatar
      support interfaces, adapt to Class/Struct/Type changes, improve error · bb3a6298
      Jürg Billeter authored
      2006-05-31  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: support interfaces, adapt to Class/Struct/Type changes,
      	  improve error handling
      	* vala/valacodevisitor.vala: support interfaces
      	* vala/valasymbolbuilder.vala: improve error handling
      	* vala/valasymbolresolver.vala: use operators to compare strings
      	* vala/valasemanticanalyzer.vala: improve error handling, convert method
      	  argument and type mismatch warnings to errors, add skeleton for
      	  expressoin type checks, support string comparison operators
      	* vala/valacodegenerator.vala: fix warning, create structs for
      	  interfaces, adapt to Class/Struct/Type changes, refactor and fix code
      	  in visit_simple_name and visit_member_access, use operators to compare
      	  strings
      	* vala/valainterfacewriter.vala: use operators to compare strings
      	* vala/valasourcefile.vala: fix warnings
      	* vala/valaclass.vala: don't inherit from Struct
      	* vala/valacodenode.vala: add error flag
      	* vala/valaconstant.vala: add get_cname method
      	* vala/valaenum.vala: override get_upper_case_cname method
      	* vala/valaenumvalue.vala: adapt to Class/Struct/Type changes
      	* vala/valafield.vala: use operators to compare strings
      	* vala/valainterface.vala
      	* vala/valainvocationexpression.vala: add add_argument method
      	* vala/valamethod.vala: adapt to Class/Struct/Type changes, use
      	  operators to compare strings
      	* vala/valanamespace.vala: support interfaces, use operators to compare
      	  strings
      	* vala/valastringliteral.vala: fix warning
      	* vala/valastruct.vala: inline visit_children method, use operators to
      	  compare strings
      	* vala/valatype.vala: add abstract get_lower_case_cname method
      	* vala/valatypereference.vala: add to_string method
      	* vala/vala.h: update
      	* vala/Makefile.am: update
      	* vapi/glib-2.0.vala: small fixes
      
      svn path=/trunk/; revision=38
      bb3a6298
  21. 24 May, 2006 1 commit
    • Jürg Billeter's avatar
      Compiler is now self-hosting. · 29a1dec5
      Jürg Billeter authored
      2006-05-24  Jürg Billeter  <j@bitron.ch>
      	
      	Compiler is now self-hosting.
      
      	* vala/parser.y: support type checks, field attributes, and virtual and
      	  override method modifiers
      	* vala/valacodevisitor.vala: support type checks
      	* vala/valasymbolbuilder.vala: correct generated property accessors
      	* vala/valaattributeprocessor.vala: process field attributes
      	* vala/valasemanticanalyzer.vala: support virtual methods and type
      	  checks
      	* vala/valacodegenerator.vala: support properties, private fields,
      	  static fields, virtual methods, field initializers, while statements,
      	  foreach statements, instance last methods, postfix expressions, type
      	  checks
      	* vala/valaclass.vala: correct source reference, add get_properties
      	  method
      	* vala/valafield.vala: visit initializer, support cname attribute
      	* vala/valamethod.vala: support ReturnsModifiedPointer and InstanceLast
      	  attributes, add is_virtual, is_override, and base_method fields, add
      	  get_real_cname method
      	* vala/valaproperty.vala: add get_upper_case_cname method
      	* vala/valastruct.vala: add has_private_fields attribute, add
      	  get_methods method
      	* vala/valatypecheck.vala
      	* vala/vala.h: update
      	* ccode/valaccodebreakstatement.vala
      	* ccode/valaccodecasestatement.vala
      	* ccode/valaccodecontinuestatement.vala
      	* ccode/valaccodedeclaration.vala: renamed from
      	  CCodeDeclarationStatement, support function declarators
      	* ccode/valaccodedeclarator.vala: abstract base class for variable and
      	  function declarators
      	* ccode/valaccodefunctiondeclarator.vala: 
      	* ccode/valaccodestruct.vala: support function declarations by adding
      	  add_declaration method
      	* ccode/valaccodeswitchstatement.vala
      	* ccode/valaccodeunaryexpression.vala: add postfix increment and
      	  decrement operators
      	* ccode/valaccodevariabledeclarator.vala: inherit from CCodeDeclarator
      	* ccode/valaccodewhilestatement.vala
      
      svn path=/trunk/; revision=35
      29a1dec5
  22. 22 May, 2006 1 commit
    • Jürg Billeter's avatar
      support abstract methods and static fields support parameter symbol · 5ec772c2
      Jürg Billeter authored
      2006-05-22  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: support abstract methods and static fields
      	* vala/valasourcefile.vala: support parameter symbol dependencies
      	* vala/valasymbolbuilder.vala: insert default body for get accessors
      	* vala/valasemanticanalyzer.vala: add property type dependency
      	* vala/valacodegenerator.vala: add constants, private static fields,
      	  main function, property accessors, this, casting for member access
      	* vala/valablock.vala: add add_statement method
      	* vala/valafield.vala: add instance field
      	* vala/valamethod.vala: add is_abstract field
      	* valac/generator.c: mark generated properties as writable
      
      svn path=/trunk/; revision=33
      5ec772c2
  23. 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
  24. 18 May, 2006 2 commits
    • Jürg Billeter's avatar
      support member and access modifiers, static methods process method · 16122da1
      Jürg Billeter authored
      2006-05-18  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: support member and access modifiers, static methods
      	* vala/valaattributeprocessor.vala: process method attributes
      	* vala/valaclass.vala: don't set parent_type member of children
      	* vala/valaconstant.vala: remove unnecessary parent_type member
      	* vala/valafield.vala: remove unnecessary parent_type member
      	* vala/valamethod.vala: support cname attribute
      	* vala/valanamespace.vala: add methods
      	* vala/valaproperty.vala: remove unnecessary parent_type member
      	* vala/valastruct.vala: don't set parent_type member of children
      
      svn path=/trunk/; revision=26
      16122da1
    • Jürg Billeter's avatar
      update reference and property annotations switch string struct to utf-8 · 070036ac
      Jürg Billeter authored
      2006-05-18  Jürg Billeter  <j@bitron.ch>
      
      	* update reference and property annotations
      	* switch string struct to utf-8
      	* valac/context.c: set source file in root namespace
      	* valac/generator.c: don't include bindings stub header
      
      svn path=/trunk/; revision=23
      070036ac
  25. 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
  26. 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
  27. 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
  28. 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