1. 23 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      remove unnecessary construction properties to improve performance · 4542c159
      Jürg Billeter authored
      2007-07-23  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaarray.vala, vala/valaarraylengthfield.vala,
      	  vala/valaarrayresizemethod.vala, vala/valaattribute.vala,
      	  vala/valacodenode.vala, vala/valaconstant.vala, vala/valafield.vala,
      	  vala/valanamespacereference.vala, vala/valasignal.vala,
      	  vala/valasourcefile.vala: remove unnecessary construction properties
      	  to improve performance
      
      svn path=/trunk/; revision=378
      4542c159
  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 1 commit
    • Jürg Billeter's avatar
      correct return type of get_cheader_filenames · 6aa9f7de
      Jürg Billeter authored
      2007-07-17  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaarray.vala, vala/valadatatype.vala, vala/valapointer.vala:
      	  correct return type of get_cheader_filenames
      
      svn path=/trunk/; revision=362
      6aa9f7de
  4. 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
  5. 02 May, 2007 2 commits
  6. 17 Mar, 2007 1 commit
    • Jürg Billeter's avatar
      support pointer indirections support pointer-types, pointer indirections, · 4fe37fe2
      Jürg Billeter authored
      2007-03-17  Jürg Billeter  <j@bitron.ch>
      
      	* ccode/valaccodeunaryexpression.vala: support pointer indirections
      	* vala/parser.y, vala/valacodevisitor.vala,
      	  vala/valasymbolresolver.vala, vala/valasemanticanalyzer.vala,
      	  vala/valamemorymanager.vala, vala/valacodegenerator.vala,
      	  vala/valaaddressofexpression.vala, vala/valadatatype.vala,
      	  vala/valapointer.vala, vala/valapointerindirection.vala,
      	  vala/valatypereference.vala: support pointer-types, pointer
      	  indirections, and address-of expressions
      	* vala/vala.h, vala/Makefile.am: update
      
      svn path=/trunk/; revision=239
      4fe37fe2
  7. 03 Mar, 2007 2 commits
    • Raffaele Sandrini's avatar
      add CreationMethod type; restrict creation methods bodys to contain only · 5882cb3d
      Raffaele Sandrini authored
      2007-03-03  Raffaele Sandrini  <rasa@gmx.ch>
      
      	* vala/valaattributeprocessor.vala, vala/valamethod.vala,
      	  vala/valacodegenerator.vala, vala/valacreationmethod.vala,
      	  vala/valasymbolbuilder.vala, vala/valasemanticanalyzer.vala,
      	  vala/parser.y, vala/valacodevisitor.vala,
      	  vala/valainterfacewriter.vala, vala/valamemorymanager.vala:
      	  add CreationMethod type; restrict creation methods bodys to contain
      	  only property assignment statements
      	* vala/valacharacterliteral.vala, vala/valacodegenerator.vala,
      	  vala/valaarray.vala: fix the compiler to obey the new creation
      	  method rules
      	* vala/Makefile.am: update
      
      svn path=/trunk/; revision=214
      5882cb3d
    • Jürg Billeter's avatar
      Switch to new construction syntax · 774705f4
      Jürg Billeter authored
      2007-03-03  Jürg Billeter  <j@bitron.ch>
      
      	* Switch to new construction syntax
      
      svn path=/trunk/; revision=211
      774705f4
  8. 27 Feb, 2007 1 commit
    • Jürg Billeter's avatar
      mark source_reference as construction property to allow access in Array · e1016f87
      Jürg Billeter authored
      2007-02-27  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodenode.vala: mark source_reference as construction property
      	  to allow access in Array constructor
      	* vala/valaarraylengthfield.vala: the Array.length field
      	* vala/valaarrayresizemethod.vala: the Array.resize method
      	* vala/valaarray.vala: support arrays of generic type parameters, add
      	  length field, add resize method
      	* vala/valatypereference.vala: make source reference optional
      	* vala/valatypeparameter.vala, vala/valasymbolresolver.vala,
      	  vala/valasemanticanalyzer.vala: support arrays of generic type
      	  parameters
      	* vala/valadatatype.vala, vala/valacodegenerator.vala: support
      	  Array.length field and Array.resize method
      	* vala/Makefile.am: update
      
      svn path=/trunk/; revision=203
      e1016f87
  9. 25 Oct, 2006 1 commit
    • Jürg Billeter's avatar
      start to use const specifier for strings to reduce number of warnings · 46b759a5
      Jürg Billeter authored
      2006-10-25  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala, vala/valaarray.vala,
      	  vala/valacallback.vala, vala/valaclass.vala, vala/valadatatype.vala,
      	  vala/valaenum.vala, vala/valaflags.vala, vala/valainterface.vala,
      	  vala/valastruct.vala, vala/valatypereference.vala, vapi/glib-2.0.vala:
      	  start to use const specifier for strings to reduce number of warnings
      	  during C compilation
      
      svn path=/trunk/; revision=151
      46b759a5
  10. 06 Oct, 2006 1 commit
    • Raffaele Sandrini's avatar
      add get and set value support add user (arbitrary) signal support · 61934ac1
      Raffaele Sandrini authored
      2006-10-06  Raffaele Sandrini  <rasa@gmx.ch>
      
      	* vapi/glib-2.0.vala, vala/valaflags.vala, vala/valaenum.vala,
      	  vala/valadatatype.vala, vala/valaarray.vala, vala/valaclass.vala,
      	  vala/valastruct.vala: add get and set value support
      	* vala/valacodegenerator.vala: add user (arbitrary) signal support
      	* vala/valadatatype.vala, vala/valamemorymanager.vala,
      	  vala/valastruct.vala: correctly honor ref types in type arguments
      	* ccode/valaccodedeclaration.vala, ccode/valaccodemodifiers.vala:
      	  support register local variables
      	* ccode/valaccodememberaccess.vala: make one line creation possible
      	* vapi/glib-2.0.vala: fix return type of Glib.List.nth_data
      	* tests/test-024.vala: add user signal test
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=143
      61934ac1
  11. 11 Aug, 2006 1 commit
    • Raffaele Sandrini's avatar
      make those classes ready to process multidimensional arrays. remove · 95829c0c
      Raffaele Sandrini authored
      2006-08-11  Raffaele Sandrini  <rasa@gmx.ch>
      
              * vala/valasymbolresolver.vala, vala/valatypereference.vala,
                vala/valaelementaccess.vala, vala/valadatatype.vala, vala/parser.y,
                vala/valaarray.vala: make those classes ready to process
                multidimensional arrays.
              * vala/scanner.l: remove ARRAY_QUALIFIER token
              * vala/valasemanticanalyzer.vala, vala/parser.y,
                vala/valacodegenerator.vala, vala/valacodegenerator.vala,
                vala/valacodevisitor.vala: add multidimensional array support however
                only one dimensional arrays can be created yet
              * vala/Makefile.am, vala/vala.h: update
              * vala/valatypereference.vala: remove source reference parameter
                when creating from an expression
              * vala/valacodegenerator.vala: add support for uint, long and ulong
                properties
      
      
      svn path=/trunk/; revision=100
      95829c0c
  12. 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
  13. 26 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      support casting arrays don't require developer to explicitly write static · 6ba9479f
      Jürg Billeter authored
      2006-07-26  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support casting arrays
      	* vala/parser.y: don't require developer to explicitly write static in
      	  namespace method declarations
      	* vala/valaarray.vala: correct cname for arrays with value-type elements
      	* vala/valacodenode.vala: save source line reference in ccodenode
      	* ccode/valaccodelinedirective.vala
      	* ccode/valaccodenode.vala: support source line reference
      	* ccode/Makefile.am: update
      	* vapi/glib-2.0.vala: add to_string methods to integer types, add size
      	  method to string, add u_sleep method to Thread, fix memory management
      	  in List and SList, add sort method to List
      
      svn path=/trunk/; revision=83
      6ba9479f
  14. 14 Jul, 2006 1 commit
    • Raffaele Sandrini's avatar
      add element access support add visit_postfix_expression implementation add · d9a96b3b
      Raffaele Sandrini authored
      2006-07-14  Raffaele Sandrini  <rasa@gmx.ch>
      
              * vala/valacodegenerator.vala, vala/valasymbolresolver.vala,
                vala/scanner.l, vala/valatypereference.vala,
                vala/valasemanticanalyzer.vala, vala/valaelementaccess.vala,
                vala/valadatatype.vala, vala/parser.y, vala/valaarray.vala,
                vala/valacodevisitor.vala, ccode/valaccodeelementaccess.vala: add
                element access support
              * vala/valasemanticanalyzer.vala: add visit_postfix_expression
                implementation
              * tests/test-019.vala: add element access testcase
              * vala/Makefile.am, tests/Makefile.am, ccode/Makefile.am: update
      
      
      svn path=/trunk/; revision=78
      d9a96b3b