1. 16 Dec, 2008 1 commit
    • Jürg Billeter's avatar
      Add support for private class fields, patch by Sebastian Dröge, fixes bug · 16bac3b7
      Jürg Billeter authored
      2008-12-16  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala:
      	* gobject/valaccodebasemodule.vala:
      	* gobject/valaccodememberaccessmodule.vala:
      	* gobject/valaclassregisterfunction.vala:
      	* gobject/valagobjectmodule.vala:
      	* gobject/valainterfaceregisterfunction.vala:
      	* gobject/valatyperegisterfunction.vala:
      
      	Add support for private class fields, patch by Sebastian Dröge,
      	fixes bug 561469
      
      svn path=/trunk/; revision=2187
      16bac3b7
  2. 03 Nov, 2008 1 commit
    • Jürg Billeter's avatar
      Move code generation to module · 4f1ddcf2
      Jürg Billeter authored
      2008-11-03  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/valaccodearraymodule.vala:
      	* gobject/valaccodeassignmentmodule.vala:
      	* gobject/valaccodebasemodule.vala:
      	* gobject/valaccodedynamicpropertymodule.vala:
      	* gobject/valaccodedynamicsignalmodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodeinvocationexpressionmodule.vala:
      	* gobject/valaccodememberaccessmodule.vala:
      	* gobject/valaccodemethodmodule.vala:
      	* gobject/valaccodemodule.vala:
      	* gobject/valaccodestructmodule.vala:
      	* gobject/valaclassregisterfunction.vala:
      	* gobject/valadbusclientmodule.vala:
      	* gobject/valadbusservermodule.vala:
      	* gobject/valagasyncmodule.vala:
      	* gobject/valagerrormodule.vala:
      	* gobject/valagirwriter.vala:
      	* gobject/valagobjectmodule.vala:
      	* gobject/valagsignalmodule.vala:
      	* gobject/valagtypemodule.vala:
      	* gobject/valainterfaceregisterfunction.vala:
      	* gobject/valatyperegisterfunction.vala:
      
      	Move code generation to module
      
      svn path=/trunk/; revision=1967
      4f1ddcf2
  3. 02 Nov, 2008 1 commit
    • Jürg Billeter's avatar
      Drop deprecated support for static classes and interfaces · dbf533d6
      Jürg Billeter authored
      2008-11-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala:
      	* vala/valagenieparser.vala:
      	* vala/valainterface.vala:
      	* vala/valainterfacewriter.vala:
      	* vala/valaparser.vala:
      	* vala/valasemanticanalyzer.vala:
      	* gobject/valaccodebasemodule.vala:
      	* gobject/valaccodemethodmodule.vala:
      	* gobject/valaclassregisterfunction.vala:
      	* gobject/valagobjectclassmodule.vala:
      	* gobject/valagobjectinterfacemodule.vala:
      
      	Drop deprecated support for static classes and interfaces
      
      svn path=/trunk/; revision=1956
      dbf533d6
  4. 03 Oct, 2008 2 commits
    • Jürg Billeter's avatar
      Fix cname of GValue helper functions for fundamental classes · e5c3ddd2
      Jürg Billeter authored
      2008-10-03  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala:
      	* gobject/valaccodeclassbinding.vala:
      	* gobject/valaclassregisterfunction.vala:
      
      	Fix cname of GValue helper functions for fundamental classes
      
      svn path=/trunk/; revision=1820
      e5c3ddd2
    • Jürg Billeter's avatar
      Generate code to support GValue and GParamSpec for fundamental classes, · 0ae7748b
      Jürg Billeter authored
      2008-10-03  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala:
      	* vala/valainterfacewriter.vala:
      	* vala/valatypesymbol.vala:
      	* gobject/valaccodeclassbinding.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodegeneratorsourcefile.vala:
      	* gobject/valaccodetypesymbolbinding.vala:
      	* gobject/valaclassregisterfunction.vala:
      	* gobject/valatyperegisterfunction.vala:
      	* vapi/glib-2.0.vapi:
      
      	Generate code to support GValue and GParamSpec for fundamental
      	classes, patch by Florian Brosch, fixes bug 549480
      
      svn path=/trunk/; revision=1818
      0ae7748b
  5. 10 Aug, 2008 1 commit
    • Jürg Billeter's avatar
      Add --target-glib command-line option, default to 2.12, based on patch by · 8552a486
      Jürg Billeter authored
      2008-08-10  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodecontext.vala:
      	* gobject/valaccodeclassbinding.vala:
      	* gobject/valaccodeinterfacebinding.vala:
      	* gobject/valaclassregisterfunction.vala:
      	* gobject/valainterfaceregisterfunction.vala:
      	* gobject/valatyperegisterfunction.vala:
      	* compiler/valacompiler.vala:
      
      	Add --target-glib command-line option, default to 2.12,
      	based on patch by Jared Moore, fixes bug 544990
      
      svn path=/trunk/; revision=1746
      8552a486
  6. 22 Jul, 2008 1 commit
    • Jared Moore's avatar
      Added support for 'volatile' modifier in C code. · a3973e1f
      Jared Moore authored
      2008-07-22  Jared Moore  <jaredm@svn.gnome.org>
      
      	* ccode/valaccodedeclaration.vala:
      	* ccode/valaccodemodifiers.vala:
      
      	Added support for 'volatile' modifier in C code.
      
      	* gobject/valatyperegisterfunction.vala:
      
      	Make *_get_type functions thread safe, fixes bug 540705.
      
      
      
      svn path=/trunk/; revision=1717
      a3973e1f
  7. 04 Jun, 2008 1 commit
    • Jürg Billeter's avatar
      Respect custom type_id · d79c1ba6
      Jürg Billeter authored
      2008-06-04  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/valaccodeclassbinding.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodeinterfacebinding.vala:
      	* gobject/valaccodetypesymbolbinding.vala:
      	* gobject/valaclassregisterfunction.vala:
      
      	Respect custom type_id
      
      	* vapi/glib-2.0.vapi:
      
      	Fix GTypeModule binding
      
      svn path=/trunk/; revision=1561
      d79c1ba6
  8. 29 May, 2008 1 commit
    • Jürg Billeter's avatar
      Simplify generated _new functions for non-GObject classes · 11efaa86
      Jürg Billeter authored
      2008-05-29  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valaccodeclassbinding.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemethodbinding.vala:
      	* gobject/valaclassregisterfunction.vala:
      
      	Simplify generated _new functions for non-GObject classes
      
      svn path=/trunk/; revision=1482
      11efaa86
  9. 26 May, 2008 1 commit
    • Jürg Billeter's avatar
      s/Typesymbol/TypeSymbol/ · 5811e4c2
      Jürg Billeter authored
      2008-05-26  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaarraytype.vala:
      	* vala/valaclass.vala:
      	* vala/valacreationmethod.vala:
      	* vala/valadatatype.vala:
      	* vala/valadelegate.vala:
      	* vala/valaenum.vala:
      	* vala/valaerrordomain.vala:
      	* vala/valainstancecast.vala:
      	* vala/valaintegertype.vala:
      	* vala/valainterface.vala:
      	* vala/valainterfacewriter.vala:
      	* vala/valaobjecttype.vala:
      	* vala/valaobjecttypesymbol.vala:
      	* vala/valasemanticanalyzer.vala:
      	* vala/valasourcefile.vala:
      	* vala/valastruct.vala:
      	* vala/valasymbolresolver.vala:
      	* vala/valatypeparameter.vala:
      	* vala/valatypesymbol.vala:
      	* vala/valavaluetype.vala:
      	* gobject/valaccodeassignmentbinding.vala:
      	* gobject/valaccodeclassbinding.vala:
      	* gobject/valaccodeelementaccessbinding.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodegeneratorsignal.vala:
      	* gobject/valaccodeinterfacebinding.vala:
      	* gobject/valaccodeinvocationexpressionbinding.vala:
      	* gobject/valaccodememberaccessbinding.vala:
      	* gobject/valaccodemethodbinding.vala:
      	* gobject/valaccodeobjecttypesymbolbinding.vala:
      	* gobject/valaccodetypesymbolbinding.vala:
      	* gobject/valaclassregisterfunction.vala:
      	* gobject/valagidlwriter.vala:
      	* gobject/valainterfaceregisterfunction.vala:
      	* gobject/valatyperegisterfunction.vala:
      	* vapigen/valagidlparser.vala:
      
      	s/Typesymbol/TypeSymbol/
      
      svn path=/trunk/; revision=1451
      5811e4c2
  10. 23 Apr, 2008 1 commit
  11. 13 Apr, 2008 1 commit
  12. 02 Dec, 2007 2 commits
    • Jürg Billeter's avatar
      rename TypeReference to DataType · 0de3b4a6
      Jürg Billeter authored
      2007-12-02  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valadatatype.vala, vala/Makefile.am: rename TypeReference to
      	  DataType
      
      	* vala/parser.y, vala/vala.h, vala/*.vala, gobject/*.vala,
      	  vapigen/valagidlparser.vala: adapt after renaming
      
      svn path=/trunk/; revision=746
      0de3b4a6
    • Jürg Billeter's avatar
      rename DataType to Typesymbol · 160d75b8
      Jürg Billeter authored
      2007-12-02  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valatypesymbol.vala, vala/Makefile.am: rename DataType to
      	  Typesymbol
      
      	* vala/*.vala, gobject/*.vala, vapigen/*.vala: adapt after renaming
      
      svn path=/trunk/; revision=745
      160d75b8
  13. 07 Sep, 2007 1 commit
  14. 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
  15. 27 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      generate static get_type functions for non-public classes and interfaces, · 0b2874e6
      Jürg Billeter authored
      2007-08-27  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valaclassregisterfunction.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valainterfaceregisterfunction.vala,
      	  gobject/valatyperegisterfunction.vala: generate static get_type
      	  functions for non-public classes and interfaces,
      	  patch by Ed Schouten, fixes bug 470428
      
      svn path=/trunk/; revision=504
      0b2874e6
  16. 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
  17. 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
  18. 10 May, 2007 1 commit
    • Jürg Billeter's avatar
      separate declaration output remove comma at end of enum remove unused · 0899abe8
      Jürg Billeter authored
      2007-05-10  Jürg Billeter  <j@bitron.ch>
      
      	* ccode/valaccodeblock.vala, ccode/valaccodedeclaration.vala,
      	  ccode/valaccodedeclarator.vala, ccode/valaccodefragment.vala,
      	  ccode/valaccodefunctiondeclarator.vala, ccode/valaccodenode.vala,
      	  ccode/valaccodeoncesection.vala, ccode/valaccodestruct.vala,
      	  ccode/valaccodetypedefinition.vala,
      	  ccode/valaccodevariabledeclarator.vala: separate declaration output
      	* vala/parser.y: remove comma at end of enum
      	* vala/valaclass.vala, vala/valastruct.vala: remove unused methods
      	* vala/Makefile.am: update
      	* gobject/valacodegeneratorsourcefile.vala: support declaration
      	  separation in C code
      	* gobject/valaclassregisterfunction.vala,
      	  gobject/valainterfaceregisterfunction.vala,
      	  gobject/valatyperegisterfunction.vala: move from vala directory,
      	  move interface info declarations to the beginning of the block
      	* gobject/Makefile.am: update
      
      svn path=/trunk/; revision=315
      0899abe8
  19. 02 May, 2007 2 commits
  20. 17 Mar, 2007 1 commit
    • Jürg Billeter's avatar
      support creating GTypeModule-based plug-ins with the ModuleInit attribute · dc6d6847
      Jürg Billeter authored
      2007-03-17  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala, vala/valacodegnerator.vala,
      	  vala/valaclassregisterfunction.vala,
      	  vala/valainterfaceregisterfunction.vala,
      	  vala/valatyperegisterfunction.vala, vala/valacodecontext.vala: support
      	  creating GTypeModule-based plug-ins with the ModuleInit attribute
      	* vala/parser.y, vala/valacodegenerator.vala, vala/valaclass.vala:
      	  support static classes
      	* vapi/glib-2.0.vala: add TypePlugin and TypeModule
      
      svn path=/trunk/; revision=242
      dc6d6847
  21. 11 Mar, 2007 1 commit
    • Jürg Billeter's avatar
      resolve generic return values fix check for generic method parameters to · fd83c9fb
      Jürg Billeter authored
      2007-03-11  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala: resolve generic return values
      	* vala/valamemorymanager.vala: fix check for generic method parameters
      	  to support derived types
      	* vala/valainterface.vala: implement get_type_parameter_index
      	* vala/valamemberaccess.vala: visit type arguments
      	* vala/valaclassregisterfunction.vala,
      	  vala/valainterfaceregisterfunction.vala,
      	  vala/valatyperegisterfunction.vala: pass base_init function pointer
      	  for interfaces
      	* vala/valacodegenerator.vala: fix initialization check in interface
      	  base_init function
      	* vala/valasemanticanalyzer.vala: fix prerequisite check to also accept
      	  derived types of prerequisites
      
      svn path=/trunk/; revision=234
      fd83c9fb
  22. 03 Mar, 2007 1 commit
  23. 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
  24. 19 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      use more expressive property names, add stricter () method adapt to · 0bd3c086
      Jürg Billeter authored
      2006-07-19  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valatypereference.vala: use more expressive property names, add
      	  stricter () method
      	* vala/parser.y, vala/valasymbolbuilder.vala,
      	  vala/valasymbolresolver.vala, vala/valasemanticanalyzer.vala,
      	  vala/valamemorymanager.vala, vala/valacodegenerator.vala,
      	  vala/valainterfacewriter.vala, vala/valasourcefile.vala,
      	  vala/valacallback.vala, vala/valaclassregisterfunction.vala,
      	  vala/valasignal.vala: adapt to changes in TypeReference
      	* vala/valasourcefile.vala: replace public fields by properties /
      	  private fields
      	* vala/valacodecontext.vala: adapt to changes in SourceFile
      	* vala/valaparser.vala: correct handling of source files without header
      	  comments
      	* vala/valasymbolbuilder.vala: don't generate code for VAPI files
      	* vala/valasemanticanalyzer.vala: report error respectively warning if
      	  method return type misses ownership transfer
      	* vala/valainterfacewriter.vala: correct property declaration output
      	* vala/valaparser.vala, vala/valasourcefile.vala, vala/valaliteral.vala,
      	  vala/valamemberaccessibility.vala, vala/valanamedargument.vala,
      	  vala/valanamespacereference.vala, vala/valatypereference.vala: add
      	  interface documentation, use implicit namespace specification
      
      svn path=/trunk/; revision=82
      0bd3c086
  25. 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
  26. 07 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      support interfaces support lambda expressions with statement body add · 1afd1f31
      Jürg Billeter authored
      2006-07-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala, vala/valaclassregisterfunction.vala:
      	  support interfaces
      	* vala/parser.y, vala/valasemanticanalyzer.vala,
      	  vala/valalambdaexpression.vala: support lambda expressions with
      	  statement body
      	* vala/valaclassregisterfunction.vala, vala/valaemptystatement.vala,
      	  vala/valainterface.vala, vala/valainterfaceregisterfunction.vala,
      	  vala/valatyperegisterfunction.vala: add interface documentation, use
      	  implicit namespace specification
      	* tests/test-015.vala: test lambda expressions with statement body
      	* tests/test-017.vala: test interfaces
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=70
      1afd1f31
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 18 May, 2006 1 commit
  33. 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
  34. 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
  35. 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
  36. 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