1. 09 Oct, 2007 1 commit
    • Jürg Billeter's avatar
      add --basedir option, fixes bug 483843 · 1296b89e
      Jürg Billeter authored
      2007-10-09  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valacodecontext.vala, vala/valasourcefile.vala,
      	  gobject/valaccodecompiler.vala,
      	  gobject/valaccodegeneratorsourcefile.vala, compiler/valacompiler.vala,
      	  tests/testrunner.sh: add --basedir option, fixes bug 483843
      
      svn path=/trunk/; revision=646
      1296b89e
  2. 07 Sep, 2007 1 commit
  3. 30 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      don't implicitly derive from GLib.Object in preparation for a more · 475ca45f
      Jürg Billeter authored
      2007-08-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valasymbolresolver.vala, vala/valasemanticanalyzer.vala,
      	  gobject/valacodegenerator.vala, gobject/valacodegeneratorclass.vala:
      	  don't implicitly derive from GLib.Object in preparation for a more
      	  consistent type system
      
      	* gee/arraylist.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,
      	  vala/valabindingprovider.vala, vala/valacodecontext.vala,
      	  vala/valacodenode.vala, vala/valacodevisitor.vala,
      	  vala/valascope.vala, vala/valasourcefile.vala,
      	  vala/valasourcefilecycle.vala, vala/valasourcereference.vala,
      	  ccode/valaccodenode.vala, ccode/valaccodewriter.vala,
      	  gobject/valaccodecompiler.vala, gobject/valadbusbindingprovider.vala,
      	  gobject/valatyperegisterfunction.vala, compiler/valacompiler.vala,
      	  tests/, vapigen/valavapigen.vala: derive all classes from GLib.Object
      
      svn path=/trunk/; revision=536
      475ca45f
  4. 21 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      support --directory option, use basename of input filenames, patch by · 10d2b86e
      Jürg Billeter authored
      2007-08-21  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valacodecontext.vala, vala/valasourcefile.vala,
      	  gobject/valaccodecompiler.vala, compiler/valacompiler.vala: support
      	  --directory option, use basename of input filenames,
      	  patch by Nicolas Trangez, fixes bug 465720
      
      svn path=/trunk/; revision=494
      10d2b86e
  5. 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
  6. 23 Jul, 2007 2 commits
    • 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
    • Jürg Billeter's avatar
      fix some issues with memory management of includes lists · 918761c6
      Jürg Billeter authored
      2007-07-23  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valasourcefile.vala, gobject/valacodegeneratorsourcefile.vala:
      	  fix some issues with memory management of includes lists
      
      svn path=/trunk/; revision=375
      918761c6
  7. 22 Jul, 2007 1 commit
    • Raffaele Sandrini's avatar
      add cheader filename logic usable for all Vala.Member types. parse · c6494702
      Raffaele Sandrini authored
      2007-07-22  Raffaele Sandrini  <raffaele@sandrini.ch>
      
      	* vala/valamember.vala: add cheader filename logic usable for all
      	  Vala.Member types.
      	* vala/valamethod.vala: parse cheader_filename CCode attribute
      	  argument
      	* vala/valadatatype.vala: fix get_cheader_filenames method signature
      	  to override the Symbol method instead of defining a new virtual
      	  method
      	* vala/valasourcefile.vala: adopt add_symbol_dependency to use the fact
      	  all Vala.Symbol types maintain their list of headers
      
      svn path=/trunk/; revision=371
      c6494702
  8. 21 Jul, 2007 2 commits
    • 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
    • Raffaele Sandrini's avatar
      do not add includes to oneself · a276f750
      Raffaele Sandrini authored
      2007-07-21 Raffaele Sandrini  <raffaele@sandrini.ch>
      
      	* vala/valasourcefile.vala: do not add includes to oneself
      
      svn path=/trunk/; revision=363
      a276f750
  9. 17 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      move namespaces from SourceFile to CodeContext · efb72750
      Jürg Billeter authored
      2007-07-17  Juerg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, vala/valaattributeprocessor.vala,
      	  vala/valacodecontext.vala, vala/valadatatype.vala,
      	  vala/valainterfacewriter.vala, vala/valamemorymanager.vala,
      	  vala/valanamespace.vala, vala/valasemanticanalyzer.vala,
      	  vala/valasourcefile.vala, vala/valasymbolbuilder.vala,
      	  vala/valasymbolresolver.vala, gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorsourcefile.vala, vapigen/valagidlparser.vala,
      	  vapigen/valavapigen.vala: move namespaces from SourceFile to
      	  CodeContext
      
      svn path=/trunk/; revision=360
      efb72750
  10. 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
  11. 15 Jun, 2007 1 commit
    • Jürg Billeter's avatar
      move iteration of source files and namespaces from accept to · 0233ba69
      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/valaparser.vala, vala/valasemanticanalyzer.vala,
      	  vala/valasourcefile.vala, vala/valasymbolbuilder.vala,
      	  vala/valasymbolresolver.vala, vala/valacodenode.vala,
      	  vala/valanamespace.vala, gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorsourcefile.vala, vapigen/valagidlparser.vala:
      	  move iteration of source files and namespaces from accept to
      	  accept_children method
      
      svn path=/trunk/; revision=322
      0233ba69
  12. 02 May, 2007 2 commits
  13. 16 Mar, 2007 1 commit
    • Jürg Billeter's avatar
      default to strong references for method return types reset · e579dad9
      Jürg Billeter authored
      2007-03-16  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: default to strong references for method return types
      	* vala/valasymbolresolver.vala: reset TypeReference.transfers_ownership
      	  for value-types
      	* vala/valasourcefile.vala: assume ownership of include filenames
      	* vala/valainterfacewriter.vala: use weak keyword for return types
      	* vala/valacodecontext.vala, vala/valasourcefile.vala,
      	  vala/valasymbolbuilder.vala, vapi/glib-2.0.vala: add weak to return
      	  types
      
      svn path=/trunk/; revision=235
      e579dad9
  14. 03 Mar, 2007 1 commit
  15. 25 Oct, 2006 1 commit
  16. 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
  17. 09 Aug, 2006 1 commit
    • Jürg Billeter's avatar
      adapt to Vala.Signal change process signal attributes manage memory of · e37fcf92
      Jürg Billeter authored
      2006-08-09  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: adapt to Vala.Signal change
      	* vala/valaattributeprocessor.vala: process signal attributes
      	* vala/valacodegenerator.vala: manage memory of element access
      	  expressions, mark get_property and set_property functions static,
      	  support signal emitter functions
      	* vala/valacodecontext.vala: use get_cinclude_filename method
      	* vala/valainterfacewriter.vala: use C header filename of namespace,
      	  support signals, support NoAccessorMethod attribute
      	* vala/valadatatype.vala: add default arguments
      	* vala/valaenum.vala: make set_cprefix method public
      	* vala/valanamespace.vala: add get_cheader_filename and
      	  set_cheader_filename methods
      	* vala/valasignal.vala: add has_emitter property, add process_attributes
      	  method
      	* vala/valasourcefile.vala: add get_cinclude_filename method
      	* compiler/valacompiler.vala: adapt to SourceFile changes
      
      svn path=/trunk/; revision=93
      e37fcf92
  18. 02 Aug, 2006 2 commits
    • Jürg Billeter's avatar
      update for 0.0.2 release check for floating reference in construction · 958c4a4b
      Jürg Billeter authored
      2006-08-02  Jürg Billeter  <j@bitron.ch>
      
      	* NEWS: update for 0.0.2 release
      	* vala/valasemanticanalyzer.vala: check for floating reference in
      	  construction methods
      	* vala/valasourcefile.vala, vala/valacodegenerator.vala,
      	  ccode/valaccodeincludedirective.vala: differentiate between
      	  package-internal and external includes
      	* vapi/gtk+-2.0.vala: port to construction methods
      
      svn path=/trunk/; revision=90
      958c4a4b
    • 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
  19. 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
  20. 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
  21. 17 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      don't leak comment texts, support generic types with weak arguments plug · 93620ce9
      Jürg Billeter authored
      2006-06-17  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: don't leak comment texts, support generic types with
      	  weak arguments
      	* vala/parser.y: plug most memory leaks
      	* vala/valacodecontext.vala: work around memory management issues
      	* vala/valasourcefile.vala: break reference cycles
      	* vala/valasourcefilecycle.vala: break reference cycles
      	* vala/valasymbolbuilder.vala: store `this` and `value` parameters in
      	  appropriate member node
      	* vala/valasymbolresolver.vala: break reference cycle
      	* vala/valasemanticanalyzer.vala: break reference cycle, promote local
      	  variables with ownership transferring initializer, store foreach
      	  variable declarator in statement object, assignments to properties
      	  don't take value ownership, make null type checks behave well on
      	  either side of a comparison
      	* vala/valamemorymanager.vala: add support for named arguments,
      	  properties, and ellipsis parameter
      	* vala/valacodegenerator.vala: add dispose function, register properties
      	  with static strings, don't leak strings when setting properties,
      	  support freeing string arrays, support freeing lists with allocated
      	  items, free local variables before return statements, free old value
      	  on assignments
      	* vala/valainterfacewriter.vala: output more type reference information
      	* vala/valaforeachstatement.vala: reference variable_declarator
      	* vala/valaforstatement.vala: correct generic type arguments
      	* vala/valamethod.vala: break reference cycle
      	* vala/valaproperty.vala: reference this_parameter, add
      	  get_canoncial_cconstant method
      	* vala/valapropertyaccessor.vala: reference value_parameter
      	* vala/valasimplename.vala: remove unneeded type_argument_list
      	  parameter from constructor
      	* vala/valasourcereference.vala: let to_string transfer ownership
      	* vala/valastruct.vala: correct generic type argument
      	* vala/valasymbol.vala: improve memory management
      	* vala/valatype.vala: break reference cycles, let get_lower_case_cname
      	  transfer ownership
      	* vala/valatypereference.vala: break reference cycle, use
      	  type_argument_list
      	* vala/vala.h: add valaflags.h
      	* ccode/valaccodefunction.vala: work around missing list deep copy
      	* ccode/valaccodewriter.vala: don't manually free objects
      	* compiler/valacompiler.vala: enable memory management by default,
      	  valac doesn't work anymore without memory management
      	* vapi/glib-2.0.vala: add memory management information
      
      svn path=/trunk/; revision=48
      93620ce9
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 18 May, 2006 2 commits
    • Jürg Billeter's avatar
      add get_source_files method add pkg flag use GLib.Object as default base · 30c0e76c
      Jürg Billeter authored
      2006-05-18  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodecontext.vala: add get_source_files method
      	* vala/valasourcefile.vala: add pkg flag
      	* vala/valasymbolresolver.vala: use GLib.Object as default base class
      	* vala/valacodegenerator.vala: ignore package bindings, fix names of
      	  class structs
      	* bindings/glib-2.0.vala: renamed from GLib.vala, add g_build_filename
      	* compiler/valacompiler.vala: add pkg and pkgdir options
      
      svn path=/trunk/; revision=29
      30c0e76c
    • 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
  28. 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
  29. 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