1. 23 Jul, 2007 2 commits
    • Jürg Billeter's avatar
      use setters for non-construction properties in creation methods to improve · f639be72
      Jürg Billeter authored
      2007-07-23  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaexpressionstatement.vala, vala/valasemanticanalyzer.vala,
      	  gobject/valacodegeneratorassignment.vala,
      	  gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratormethod.vala: use setters for non-construction
      	  properties in creation methods to improve performance
      
      svn path=/trunk/; revision=377
      f639be72
    • 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
  2. 21 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      derive from Symbol class where appropriate and move symbol table into · db24aa20
      Jürg Billeter authored
      2007-07-21  Juerg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am, vala/parser.y, vala/scanner.l, vala/vala.h,
      	  vala/valaarray.vala, vala/valaarraylengthfield.vala,
      	  vala/valaarrayresizemethod.vala, vala/valaattributeprocessor.vala,
      	  vala/valablock.vala, vala/valabreakstatement.vala,
      	  vala/valacallback.vala, vala/valaclass.vala,
      	  vala/valacodecontext.vala, vala/valacodenode.vala,
      	  vala/valacodevisitor.vala, vala/valaconstant.vala,
      	  vala/valaconstructor.vala, vala/valacontinuestatement.vala,
      	  vala/valacreationmethod.vala, vala/valadatatype.vala,
      	  vala/valadeclarationstatement.vala, vala/valadestructor.vala,
      	  vala/valadostatement.vala, vala/valaemptystatement.vala,
      	  vala/valaenum.vala, vala/valaenumvalue.vala,
      	  vala/valaexpressionstatement.vala, vala/valafield.vala,
      	  vala/valaflags.vala, vala/valaflagsvalue.vala,
      	  vala/valaforeachstatement.vala, vala/valaformalparameter.vala,
      	  vala/valaforstatement.vala, vala/valaifstatement.vala,
      	  vala/valainterface.vala, vala/valainterfacewriter.vala,
      	  vala/valalockstatement.vala, vala/valamember.vala,
      	  vala/valamemorymanager.vala, vala/valamethod.vala,
      	  vala/valanamespace.vala, vala/valaproperty.vala,
      	  vala/valapropertyaccessor.vala, vala/valareturnstatement.vala,
      	  vala/valascope.vala, vala/valasemanticanalyzer.vala,
      	  vala/valasignal.vala, vala/valasourcefile.vala,
      	  vala/valastatement.vala, vala/valastruct.vala,
      	  vala/valaswitchstatement.vala, vala/valasymbol.vala,
      	  vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
      	  vala/valathrowstatement.vala, vala/valatrystatement.vala,
      	  vala/valatypeparameter.vala, vala/valatypereference.vala,
      	  vala/valavariabledeclarator.vala, vala/valawhilestatement.vala,
      	  gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorassignment.vala,
      	  gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valacodegeneratorinvocationexpression.vala,
      	  gobject/valacodegeneratormemberaccess.vala,
      	  gobject/valacodegeneratormethod.vala,
      	  gobject/valacodegeneratorsignal.vala,
      	  gobject/valacodegeneratorstruct.vala, compiler/valacompiler.vala,
      	  vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gio-standalone.vala,
      	  vapi/glib-2.0.vala, vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala,
      	  vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala,
      	  vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala, vapi/pango.vala,
      	  vapi/vte.vala, vapigen/valagidlparser.vala, vapigen/valavapigen.vala:
      	  derive from Symbol class where appropriate and move symbol table into
      	  separate Scope class
      
      svn path=/trunk/; revision=366
      db24aa20
  3. 17 Jul, 2007 2 commits
    • Jürg Billeter's avatar
      convert the CodeContext.get_root method to a property · 5301e466
      Jürg Billeter authored
      2007-07-17  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaarraylengthfield.vala, vala/valaarrayresizemethod.vala,
      	  vala/valacodecontext.vala, vala/valasemanticanalyzer.vala,
      	  vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
      	  gobject/valacodegenerator.vala: convert the CodeContext.get_root
      	  method to a property
      
      svn path=/trunk/; revision=361
      5301e466
    • 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
  4. 13 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      move iteration of throw statements, try statements, and catch clauses from · 83363b2b
      Jürg Billeter authored
      2007-07-13  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valacatchclause.vala, vala/valacodevisitor.vala,
      	  vala/valamemorymanager.vala, vala/valasemanticanalyzer.vala,
      	  vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
      	  vala/valathrowstatement.vala, vala/valatrystatement.vala,
      	  gobject/valacodegenerator.vala: move iteration of throw statements,
      	  try statements, and catch clauses from accept to accept_children
      	  method, fixes nested try statements
      	* gobject/valacodegenerator.vala: clear unhandled error instead of
      	  returning from the current function
      	* vala/valasemanticanalyzer.vala: generic pointer is compatible with
      	  generic pointer
      	* vapi/glib-2.0.vala: add some more default values
      
      svn path=/trunk/; revision=354
      83363b2b
  5. 12 Jul, 2007 5 commits
    • Jürg Billeter's avatar
      support multi- dimensional arrays · 0d360653
      Jürg Billeter authored
      2007-07-13  Juerg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, gobject/valacodegenerator.vala: support multi-
      	  dimensional arrays
      
      svn path=/trunk/; revision=353
      0d360653
    • Jürg Billeter's avatar
      remove Error out parameters, use exceptions · d57e5625
      Jürg Billeter authored
      2007-07-12  Juerg Billeter  <j@bitron.ch>
      
      	* ccode/valaccodewriter.vala, gobject/valaccodecompiler.vala,
      	  compiler/valacompiler.vala, vapi/glib-2.0.vala,
      	  gobject-introspection/gidl.vala, vapigen/valagidlparser.vala,
      	  vapigen/valavapigen.vala: remove Error out parameters, use exceptions
      
      svn path=/trunk/; revision=352
      d57e5625
    • Jürg Billeter's avatar
      support exception handling in constructors, avoid error when not using · ab1d99cd
      Jürg Billeter authored
      2007-07-12  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valacodegenerator.vala: support exception handling in
      	  constructors, avoid error when not using finally blocks
      
      svn path=/trunk/; revision=351
      ab1d99cd
    • Jürg Billeter's avatar
      allow construction methods to throw exceptions, fix issue with multiple · bda9e0cf
      Jürg Billeter authored
      2007-07-12  Juerg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, vala/valasemanticanalyzer.vala,
      	  gobject/valacodegenerator.vala: allow construction methods to throw
      	  exceptions, fix issue with multiple catch clauses
      
      svn path=/trunk/; revision=349
      bda9e0cf
    • Jürg Billeter's avatar
      implement simple exception handling for expression and declaration · 08c26be7
      Jürg Billeter authored
      2007-07-12  Juerg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, vala/valacodenode.vala, vala/valaenum.vala,
      	  vala/valaexpression.vala, vala/valamethod.vala,
      	  vala/valasemanticanalyzer.vala, vala/valatrystatement.vala,
      	  ccode/valaccodegotostatement.vala, ccode/valaccodelabel.vala:
      	* gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorinvocationexpression.vala,
      	  gobject/valacodegeneratormethod.vala: implement simple exception
      	  handling for expression and declaration statements
      	* tests/test-033.vala, tests/test-033.out: test exception handling
      	* README, ccode/Makefile.am, tests/Makefile.am: update
      
      svn path=/trunk/; revision=348
      08c26be7
  6. 11 Jul, 2007 4 commits
    • Jürg Billeter's avatar
      add substring method to the string type test substring method · 85a9aab7
      Jürg Billeter authored
      2007-07-11  Juerg Billeter  <j@bitron.ch>
      
      	* ccode/valaccodefunctioncall.vala, gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorinvocationexpression.vala,
      	  vapi/glib-2.0.vala: add substring method to the string type
      	* tests/test-021.vala, tests/test-021.out: test substring method
      
      	Fixes bug 443524
      
      svn path=/trunk/; revision=347
      85a9aab7
    • Jürg Billeter's avatar
      support element access for strings test element access for strings · b1a9d5db
      Jürg Billeter authored
      2007-07-11  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala, gobject/valacodegenerator.vala:
      	  support element access for strings
      	* tests/test-019.vala, tests/test-019.out: test element access for
      	  strings
      
      	Fixes bug 443523
      
      svn path=/trunk/; revision=346
      b1a9d5db
    • 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
    • Jürg Billeter's avatar
      call visit_end_full_expression for collection expression return array · 20842807
      Jürg Billeter authored
      2007-07-11  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaforeachstatement.vala: call visit_end_full_expression for
      	  collection expression
      	* gobject/valacodegenerator.vala, gobject/valacodegeneratormethod.vala:
      	  return array length if appropriate
      	* tests/test-032.vala, tests/test-032.out: test array as return value
      	* tests/Makefile.am: update
      
      	Fixes bug 453676
      
      svn path=/trunk/; revision=344
      20842807
  7. 10 Jul, 2007 2 commits
    • Jürg Billeter's avatar
      add --thread option to enable multithreading support · d501ef0b
      Jürg Billeter authored
      2007-07-10  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valacodecontext.vala, gobject/valaccodecompiler.vala,
      	  gobject/valacodegeneratormethod.vala, compiler/valacompiler.vala:
      	  add --thread option to enable multithreading support
      
      svn path=/trunk/; revision=340
      d501ef0b
    • Jürg Billeter's avatar
      always use gobject-2.0 · 931e7625
      Jürg Billeter authored
      2007-07-10  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valaccodecompiler.vala: always use gobject-2.0
      
      svn path=/trunk/; revision=339
      931e7625
  8. 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
  9. 03 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      write cprefix and lower_case_cprefix of namespaces and write · af384685
      Jürg Billeter authored
      2007-07-03  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valainterfacewriter.vala: write cprefix and lower_case_cprefix
      	  of namespaces and write cheader_filename of interfaces
      	* vala/valanamespace.vala: make set_cprefix and set_lower_case_cprefix
      	  methods public
      	* ccode/valaccodewriter.vala, vala/valainterfacewriter.vala,
      	  gobject/valaccodecompiler.vala, compiler/valacompiler.vala,
      	  vapi/glib-2.0.vala, vapigen/valagidlparser.vala,
      	  vapigen/valavapigen.vala: split GLib.File into GLib.FileStream and
      	  GLib.FileUtils to not conflict with GVFS
      	* vala/valagidlparser.vala: improve support for GVFS
      	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
      	  regenerated
      	* vapi/gio-standalone.vala, vapi/packages/gio-standalone/: add
      	  experimental VAPI for GVFS
      	* vapi/Makefile.am: update
      
      svn path=/trunk/; revision=328
      af384685
  10. 15 Jun, 2007 4 commits
    • Jürg Billeter's avatar
      move iteration of symbol nodes from accept to accept_children method · 5cfdd606
      Jürg Billeter authored
      2007-06-15  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaattributeprocessor.vala, vala/valacodevisitor.vala,
      	  vala/valainterfacewriter.vala, vala/valamemorymanager.vala,
      	  vala/valasemanticanalyzer.vala, vala/valasymbolbuilder.vala,
      	  vala/valasymbolresolver.vala, vala/valaconstant.vala,
      	  vala/valaconstructor.vala, vala/valacreationmethod.vala,
      	  vala/valadestructor.vala, vala/valafield.vala,
      	  vala/valaformalparameter.vala, vala/valamethod.vala,
      	  vala/valaproperty.vala, vala/valapropertyaccessor.vala,
      	  vala/valasignal.vala, gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratormethod.vala,
      	  gobject/valacodegeneratorsignal.vala: move iteration of symbol nodes
      	  from accept to accept_children method
      
      svn path=/trunk/; revision=324
      5cfdd606
    • Jürg Billeter's avatar
      move iteration of data types from accept to accept_children method · 6cbc5a68
      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/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
      	  vala/valacallback.vala, vala/valaclass.vala, vala/valaenum.vala,
      	  vala/valaflags.vala, vala/valainterface.vala, vala/valastruct.vala,
      	  gobject/valacodegenerator.class, gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valacodegeneratorstruct.vala: move iteration of data types
      	  from accept to accept_children method
      
      svn path=/trunk/; revision=323
      6cbc5a68
    • 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
    • Jürg Billeter's avatar
      enhance commandline interface, add support for invoking c compiler update · 49f7556c
      Jürg Billeter authored
      2007-06-15  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodecontext.vala, gobject/valaccodecompiler.vala,
      	  compiler/valacompiler.vala: enhance commandline interface, add support
      	  for invoking c compiler
      	* gobject/Makefile.am: update
      	* vapi/glib-2.0.vala: add shell-related utilities
      
      svn path=/trunk/; revision=321
      49f7556c
  11. 05 Jun, 2007 3 commits
  12. 31 May, 2007 1 commit
    • Jürg Billeter's avatar
      support sizeof expression update add struct_size param to GLib.Source · c9f266a1
      Jürg Billeter authored
      2007-05-31  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l, vala/parser.y, vala/valasemanticanalyzer.vala,
      	  vala/valacodevisitor.vala, vala/valasizeofexpression.vala,
      	  gobject/valacodegenerator.vala: support sizeof expression
      	* vala/vala.h, vala/Makefile.am: update
      	* vapi/glib-2.0.vala: add struct_size param to GLib.Source construction
      	  method
      
      svn path=/trunk/; revision=317
      c9f266a1
  13. 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
  14. 09 May, 2007 1 commit
  15. 07 May, 2007 2 commits
  16. 03 May, 2007 2 commits
    • 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
    • Jürg Billeter's avatar
      move code generator to new gobject directory update · ec85900a
      Jürg Billeter authored
      2007-05-03  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/valacodegenerator.vala: move code generator to new gobject
      	  directory
      	* configure.ac, Makefile.am, vala/Makefile.am, gobject/Makefile.am,
      	  compiler/Makefile.am, vapi/Makefile.am: update
      
      svn path=/trunk/; revision=305
      ec85900a