1. 27 Oct, 2007 1 commit
  2. 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
  3. 17 Sep, 2007 1 commit
    • Jürg Billeter's avatar
      rename CodeGenerator to CCodeGenerator, add abstract CodeGenerator and · 0c563506
      Jürg Billeter authored
      2007-09-17  Juerg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am, vala/valacodebinding.vala,
      	  vala/valacodecontext.vala, vala/valacodegenerator.vala,
      	  vala/valacodenode.vala, gobject/Makefile.am,
      	  gobject/valaccodegenerator.vala, compiler/valacompiler.vala: rename
      	  CodeGenerator to CCodeGenerator, add abstract CodeGenerator and
      	  CodeBinding classes
      
      svn path=/trunk/; revision=617
      0c563506
  4. 07 Sep, 2007 1 commit
  5. 04 Sep, 2007 1 commit
    • Jürg Billeter's avatar
      emit line directives in debug mode · c7229010
      Jürg Billeter authored
      2007-09-04  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valacodenode.vala, ccode/valaccodebreakstatement.vala,
      	  ccode/valaccodecasestatement.vala, ccode/valaccodecontinuestatement.vala,
      	  ccode/valaccodedeclaration.vala, ccode/valaccodedostatement.vala,
      	  ccode/valaccodeexpressionstatement.vala, ccode/valaccodeforstatement.vala,
      	  ccode/valaccodefunction.vala, ccode/valaccodeifstatement.vala,
      	  ccode/valaccodereturnstatement.vala, ccode/valaccodeswitchstatement.vala,
      	  ccode/valaccodevariabledeclarator.vala,
      	  ccode/valaccodewhilestatement.vala, ccode/valaccodewriter.vala,
      	  gobject/valacodegenerator.vala, gobject/valacodegeneratormethod.vala,
      	  gobject/valacodegeneratorsourcefile.vala: emit line directives in debug
      	  mode
      
      svn path=/trunk/; revision=580
      c7229010
  6. 19 Aug, 2007 2 commits
    • Mathias Hasselmann's avatar
      also use _vala_array_free to release string arrays as g_strfreev cannot · 93973281
      Mathias Hasselmann authored
      2007-08-19  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
      
      	* gobject/valacodegenerator.vala: also use _vala_array_free to
      	release string arrays as g_strfreev cannot handle Vala's sized
      	arrays, which have a _length variable, but no NULL sentinel.
      	* gobject/valacodegeneratorsourcefile.vala: enhance _vala_array_free
      	to handle unsized (NULL sentinel terminated) arrays.
      	* tests/test-022.*: test behaviour of _vala_array_free. currently
      	fails because Vala forgets to release old element members when
      	assigning a new value.
      
      svn path=/trunk/; revision=483
      93973281
    • Mathias Hasselmann's avatar
      move code generation for _vala_array_free and _vala_array_move into · b91d0761
      Mathias Hasselmann authored
      2007-08-19  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
      
      	* gobject/valacodegeneratorsourcefile.vala: move code generation
      	for _vala_array_free and _vala_array_move into separate methods
      	for readability.
      
      svn path=/trunk/; revision=482
      b91d0761
  7. 27 Jul, 2007 2 commits
    • 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
    • Jürg Billeter's avatar
      add move method to arrays · b49e7bae
      Jürg Billeter authored
      2007-07-27  Juerg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am, vala/valaarray.vala, vala/valaarraymovemethod.vala,
      	  vala/valadatatype.vala, vala/valatypeparameter.vala,
      	  gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorinvocationexpression.vala,
      	  gobject/valacodegeneratorsourcefile.vala: add move method to arrays
      
      svn path=/trunk/; revision=405
      b49e7bae
  8. 26 Jul, 2007 2 commits
    • Jürg Billeter's avatar
      also free the array itself in _vala_array_free · 90290081
      Jürg Billeter authored
      2007-07-26  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valacodegeneratorsourcefile.vala: also free the array itself
      	  in _vala_array_free
      
      svn path=/trunk/; revision=394
      90290081
    • Jürg Billeter's avatar
      free array elements · a98c980b
      Jürg Billeter authored
      2007-07-26  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorassignment.vala,
      	  gobject/valacodegeneratorsourcefile.vala: free array elements
      
      svn path=/trunk/; revision=391
      a98c980b
  9. 23 Jul, 2007 1 commit
  10. 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
  11. 11 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      fix order in C header file test public delegate · bf8e760d
      Jürg Billeter authored
      2007-07-11  Juerg Billeter  <j@bitron.ch>
      
      	* ccode/valaccodefragment.vala, ccode/valaccodenode.vala,
      	  ccode/valaccodeoncesection.vala, gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorsourcefile.vala: fix order in C header file
      	* tests/test-014.vala, tests/test-014.out: test public delegate
      
      	Fixes bug 442703
      
      svn path=/trunk/; revision=345
      bf8e760d
  12. 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
  13. 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
  14. 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
  15. 03 May, 2007 1 commit
    • Jürg Billeter's avatar
      split code generator update · 58e204da
      Jürg Billeter authored
      2007-05-03  Jürg Billeter  <j@bitron.ch>
      
      	* 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/valacodegeneratorstruct.vala: split code generator
      	* gobject/Makefile.am, vapigen/Makefile.am: update
      
      svn path=/trunk/; revision=306
      58e204da