1. 30 Nov, 2008 1 commit
    • Jürg Billeter's avatar
      Separate visiting switch sections from visiting switch statements · 77859017
      Jürg Billeter authored
      2008-11-30  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valanullchecker.vala:
      	* vala/valaswitchlabel.vala:
      	* vala/valaswitchstatement.vala:
      	* vala/valasymbolresolver.vala:
      	* gobject/valaccodecontrolflowmodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemodule.vala:
      
      	Separate visiting switch sections from visiting switch statements
      
      svn path=/trunk/; revision=2098
      77859017
  2. 29 Nov, 2008 1 commit
    • Jürg Billeter's avatar
      Convert ternary conditionals into if statements, fixes bug 543870 and bug · 9c5443a1
      Jürg Billeter authored
      2008-11-29  Jürg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am:
      	* vala/valablock.vala:
      	* vala/valacodenode.vala:
      	* vala/valaconditionalexpression.vala:
      	* vala/valadeclarationstatement.vala:
      	* vala/valaexpression.vala:
      	* vala/valanullchecker.vala:
      	* vala/valastatementlist.vala:
      	* gobject/valaccodebasemodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemodule.vala:
      
      	Convert ternary conditionals into if statements,
      	fixes bug 543870 and bug 554594
      
      svn path=/trunk/; revision=2083
      9c5443a1
  3. 20 Nov, 2008 1 commit
    • Jürg Billeter's avatar
      Rename InvocationExpression to MethodCall · 2af5cc83
      Jürg Billeter authored
      2008-11-20  Jürg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am:
      	* vala/valacodevisitor.vala:
      	* vala/valadynamicmethod.vala:
      	* vala/valaflowanalyzer.vala:
      	* vala/valagenieparser.vala:
      	* vala/valamemberaccess.vala:
      	* vala/valamethodcall.vala:
      	* vala/valanullchecker.vala:
      	* vala/valaparser.vala:
      	* vala/valasemanticanalyzer.vala:
      	* vala/valasymbolresolver.vala:
      	* gobject/Makefile.am:
      	* gobject/valaccodearraymodule.vala:
      	* gobject/valaccodebasemodule.vala:
      	* gobject/valaccodedelegatemodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemethodcallmodule.vala:
      	* gobject/valaccodemodule.vala:
      
      	Rename InvocationExpression to MethodCall
      
      svn path=/trunk/; revision=2039
      2af5cc83
  4. 03 Nov, 2008 2 commits
    • Jürg Billeter's avatar
      Move code generation to module · 4f1ddcf2
      Jürg Billeter authored
      2008-11-03  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/valaccodearraymodule.vala:
      	* gobject/valaccodeassignmentmodule.vala:
      	* gobject/valaccodebasemodule.vala:
      	* gobject/valaccodedynamicpropertymodule.vala:
      	* gobject/valaccodedynamicsignalmodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodeinvocationexpressionmodule.vala:
      	* gobject/valaccodememberaccessmodule.vala:
      	* gobject/valaccodemethodmodule.vala:
      	* gobject/valaccodemodule.vala:
      	* gobject/valaccodestructmodule.vala:
      	* gobject/valaclassregisterfunction.vala:
      	* gobject/valadbusclientmodule.vala:
      	* gobject/valadbusservermodule.vala:
      	* gobject/valagasyncmodule.vala:
      	* gobject/valagerrormodule.vala:
      	* gobject/valagirwriter.vala:
      	* gobject/valagobjectmodule.vala:
      	* gobject/valagsignalmodule.vala:
      	* gobject/valagtypemodule.vala:
      	* gobject/valainterfaceregisterfunction.vala:
      	* gobject/valatyperegisterfunction.vala:
      
      	Move code generation to module
      
      svn path=/trunk/; revision=1967
      4f1ddcf2
    • Jürg Billeter's avatar
      Add GErrorModule · 16bbb02e
      Jürg Billeter authored
      2008-11-03  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/Makefile.am:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemodule.vala:
      	* gobject/valagerrormodule.vala:
      	* gobject/valagtypemodule.vala:
      
      	Add GErrorModule
      
      svn path=/trunk/; revision=1963
      16bbb02e
  5. 01 Nov, 2008 1 commit
    • Jürg Billeter's avatar
      Add experimental support for yield statements and coroutines · abd1d899
      Jürg Billeter authored
      2008-11-01  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valamethod.vala:
      	* ccode/valaccodeblock.vala:
      	* gobject/valaccodebasemodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodeinvocationexpressionmodule.vala:
      	* gobject/valaccodemethodmodule.vala:
      	* gobject/valaccodemodule.vala:
      
      	Add experimental support for yield statements and coroutines
      
      svn path=/trunk/; revision=1949
      abd1d899
  6. 24 Oct, 2008 17 commits
    • Jürg Billeter's avatar
      Move get_array_length_cname and get_array_length_cexpression to · 94150381
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/valaccodearraymodule.vala:
      	* gobject/valaccodeassignmentmodule.vala:
      	* gobject/valaccodeelementaccessmodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodeinvocationexpressionmodule.vala:
      	* gobject/valaccodememberaccessmodule.vala:
      	* gobject/valaccodemethodmodule.vala:
      	* gobject/valaccodemodule.vala:
      	* gobject/valadbusmodule.vala:
      
      	Move get_array_length_cname and get_array_length_cexpression to
      	CCodeArrayModule
      
      svn path=/trunk/; revision=1908
      94150381
    • Jürg Billeter's avatar
      Move visit_source_file to CCodeBaseModule · 4e94cd2a
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/Makefile.am:
      	* gobject/valaccodebasemodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodegeneratorsourcefile.vala:
      	* gobject/valaccodemodule.vala:
      
      	Move visit_source_file to CCodeBaseModule
      
      svn path=/trunk/; revision=1900
      4e94cd2a
    • Jürg Billeter's avatar
      Add CCodeStructModule · 98a267b2
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/Makefile.am:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemodule.vala:
      	* gobject/valaccodestructmodule.vala:
      
      	Add CCodeStructModule
      
      svn path=/trunk/; revision=1899
      98a267b2
    • Jürg Billeter's avatar
      Add GObjectSignalModule · bfbe0588
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/Makefile.am:
      	* gobject/valaccodedynamicsignalmodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemodule.vala:
      	* gobject/valadbusmodule.vala:
      	* gobject/valagobjectmodule.vala:
      	* gobject/valagobjectsignalmodule.vala:
      
      	Add GObjectSignalModule
      
      svn path=/trunk/; revision=1898
      bfbe0588
    • Jürg Billeter's avatar
      Add CCodeDynamicSignalModule, remove CodeBinding and CCodeBinding · d52865bb
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am:
      	* vala/valacodebinding.vala:
      	* vala/valacodegenerator.vala:
      	* vala/valacodenode.vala:
      	* vala/valadynamicsignal.vala:
      	* gobject/Makefile.am:
      	* gobject/valaccodeassignmentmodule.vala:
      	* gobject/valaccodebinding.vala:
      	* gobject/valaccodedynamicsignalmodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemodule.vala:
      
      	Add CCodeDynamicSignalModule, remove CodeBinding and CCodeBinding
      
      svn path=/trunk/; revision=1896
      d52865bb
    • Jürg Billeter's avatar
      Add CCodeDynamicPropertyModule · 8708efc4
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala:
      	* vala/valadynamicproperty.vala:
      	* gobject/Makefile.am:
      	* gobject/valaccodedynamicpropertymodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodememberaccessmodule.vala:
      	* gobject/valaccodemodule.vala:
      
      	Add CCodeDynamicPropertyModule
      
      svn path=/trunk/; revision=1895
      8708efc4
    • Jürg Billeter's avatar
      Add CCodeAssignmentModule · f41d3b87
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/Makefile.am:
      	* gobject/valaccodeassignmentmodule.vala:
      	* gobject/valaccodebinding.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemodule.vala:
      	* vala/valaassignment.vala:
      	* vala/valacodegenerator.vala:
      
      	Add CCodeAssignmentModule
      
      svn path=/trunk/; revision=1894
      f41d3b87
    • Jürg Billeter's avatar
      Add CCodeElementAccessModule · 14a4cb91
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala:
      	* vala/valaelementaccess.vala:
      	* gobject/Makefile.am:
      	* gobject/valaccodebinding.vala:
      	* gobject/valaccodeelementaccessmodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemodule.vala:
      
      	Add CCodeElementAccessModule
      
      svn path=/trunk/; revision=1893
      14a4cb91
    • Jürg Billeter's avatar
      Add CCodeInvocationExpressionModule · d93b1998
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala:
      	* vala/valainvocationexpression.vala:
      	* gobject/Makefile.am:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodeinvocationexpressionmodule.vala:
      	* gobject/valaccodemodule.vala:
      
      	Add CCodeInvocationExpressionModule
      
      svn path=/trunk/; revision=1892
      d93b1998
    • Jürg Billeter's avatar
      Add CCodeMemberAccessModule · 515d4f8d
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala:
      	* vala/valamemberaccess.vala:
      	* gobject/Makefile.am:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodememberaccessmodule.vala:
      	* gobject/valaccodemodule.vala:
      
      	Add CCodeMemberAccessModule
      
      svn path=/trunk/; revision=1891
      515d4f8d
    • Jürg Billeter's avatar
      Add CCodeArrayModule · ad1918cb
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaarraycreationexpression.vala:
      	* vala/valacodegenerator.vala:
      	* gobject/Makefile.am:
      	* gobject/valaccodearraymodule.vala:
      	* gobject/valaccodebinding.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemodule.vala:
      
      	Add CCodeArrayModule
      
      svn path=/trunk/; revision=1890
      ad1918cb
    • Jürg Billeter's avatar
      Add GObjectClassModule and GObjectInterfaceModule · 4b8375f8
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala:
      	* vala/valacodegenerator.vala:
      	* vala/valainterface.vala:
      	* gobject/Makefile.am:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemodule.vala:
      	* gobject/valagobjectclassmodule.vala:
      	* gobject/valagobjectinterfacemodule.vala:
      
      	Add GObjectClassModule and GObjectInterfaceModule
      
      svn path=/trunk/; revision=1888
      4b8375f8
    • Jürg Billeter's avatar
      Move register_dbus_info from CCodeObjectTypeSymbolBinding to DBusModule · e168983c
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/Makefile.am:
      	* gobject/valaccodeclassbinding.vala:
      	* gobject/valaccodeinterfacebinding.vala:
      	* gobject/valaccodemodule.vala:
      	* gobject/valadbusmodule.vala:
      
      	Move register_dbus_info from CCodeObjectTypeSymbolBinding
      	to DBusModule
      
      svn path=/trunk/; revision=1887
      e168983c
    • Jürg Billeter's avatar
      Add GObjectModule · 40cf0b14
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/Makefile.am:
      	* gobject/valaccodeclassbinding.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodeinterfacebinding.vala:
      	* gobject/valaccodemodule.vala:
      	* gobject/valaccodeobjecttypesymbolbinding.vala:
      	* gobject/valagobjectmodule.vala:
      
      	Add GObjectModule
      
      svn path=/trunk/; revision=1886
      40cf0b14
    • Jürg Billeter's avatar
      Add CCodeMethodModule and DBusModule · 6f2bbc23
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala:
      	* vala/valacreationmethod.vala:
      	* vala/valadynamicmethod.vala:
      	* vala/valamethod.vala:
      	* gobject/Makefile.am:
      	* gobject/valaccodeassignmentbinding.vala:
      	* gobject/valaccodebasemodule.vala:
      	* gobject/valaccodebinding.vala:
      	* gobject/valaccodeclassbinding.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodeinvocationexpressionbinding.vala:
      	* gobject/valaccodememberaccessbinding.vala:
      	* gobject/valaccodemethodmodule.vala:
      	* gobject/valaccodemodule.vala:
      	* gobject/valadbusmodule.vala:
      
      	Add CCodeMethodModule and DBusModule
      
      svn path=/trunk/; revision=1885
      6f2bbc23
    • Jürg Billeter's avatar
      Allow access to head and codegen from CCode modules · 3339ed6b
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/valaccodebasemodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemodule.vala:
      
      	Allow access to head and codegen from CCode modules
      
      svn path=/trunk/; revision=1884
      3339ed6b
    • Jürg Billeter's avatar
      Add CCodeModule and CCodeBaseModule classes as preparation to make the · 89d5195a
      Jürg Billeter authored
      2008-10-24  Jürg Billeter  <j@bitron.ch>
      
      	* gobject/Makefile.am:
      	* gobject/valaccodebasemodule.vala:
      	* gobject/valaccodegenerator.vala:
      	* gobject/valaccodemodule.vala:
      
      	Add CCodeModule and CCodeBaseModule classes as preparation to
      	make the backend more modular
      
      svn path=/trunk/; revision=1882
      89d5195a
  7. 13 Apr, 2008 1 commit
    • Jürg Billeter's avatar
      Replace generated Vala scanner and parser by handwritten classes · eba85acc
      Jürg Billeter authored
      2008-04-13  Juerg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am, vala/valaassignment.vala,
      	  vala/valabinaryexpression.vala, vala/valaclass.vala,
      	  vala/valanamespace.vala, vala/valaparser.vala,
      	  vala/valascanner.vala, vala/valascope.vala,
      	  vala/valasourcefile.vala, vala/valasourcelocation.vala,
      	  vala/valatokentype.vala, vala/valatuple.vala,
      	  vala/valaunaryexpression.vala, vala/valaunresolvedtype.vala:
      
      	  Replace generated Vala scanner and parser by handwritten classes
      
      svn path=/trunk/; revision=1194
      eba85acc
  8. 24 Mar, 2008 1 commit
  9. 07 Feb, 2008 1 commit
  10. 07 Sep, 2007 1 commit
  11. 30 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      use abstract instead of virtual methods in generated interfaces · 38d90699
      Jürg Billeter authored
      2007-07-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala, vapi/atk.vala,
      	  vapi/gio-standalone.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,
      	  vapigen/valagidlparser.vala: use abstract instead of virtual methods
      	  in generated interfaces
      
      svn path=/trunk/; revision=415
      38d90699
  12. 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
  13. 17 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      add GStreamer bindings · baea5562
      Jürg Billeter authored
      2007-07-17  Juerg Billeter  <j@bitron.ch>
      
      	* vapigen/valagidlparser.vala, vapi/glib-2.0.vala,
      	  vapi/gstreamer-0.10.vala, vapi/packages/gstreamer-0.10/: add GStreamer
      	  bindings
      
      svn path=/trunk/; revision=358
      baea5562
  14. 02 May, 2007 2 commits
  15. 02 Sep, 2006 1 commit
    • Jürg Billeter's avatar
      prepare to support protected members · 7cafb62f
      Jürg Billeter authored
      2006-09-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l, vala/parser.y, vala/valasemanticanalyzer.vala,
      	  vala/valacodegenerator.vala, vala/valainterfacewriter.vala,
      	  vala/valamemberaccessibility.vala: prepare to support protected
      	  members
      
      svn path=/trunk/; revision=120
      7cafb62f
  16. 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
  17. 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
  18. 15 May, 2006 1 commit
    • Jürg Billeter's avatar
      support assign operators support assign operators and attributes visitor · 23a4afab
      Jürg Billeter authored
      2006-05-15  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support assign operators
      	* vala/parser.y: support assign operators and attributes
      	* vala/valaattributeprocessor.vala: visitor to process compiler
      	  attributes
      	* vala/valacodegenerator.vala: support structs, enums, and methods
      	* vala/valacodenode.vala: support attributes
      	* vala/valaattribute.vala
      	* vala/valamemberaccessibility.vala
      	* vala/valamethod.vala
      	* vala/valastruct.vala: support CCode (cname) attribute
      	* vala/vala.h: update
      	* compiler/valacompiler.vala: invoke AttributeProcessor
      	* ccode/valaccodeblock.vala
      	* ccode/valaccodeenum.vala
      	* ccode/valaccodemethod.vala
      	* ccode/valaccodemodifiers.vala
      	* bindings/GLib.vala: add string cmp method
      	* valac/scanner.l: support BITWISE_AND
      	* valac/parser.y: support bitwise and
      	* valac/context.h: add bitwise and
      	* valac/generator.c: support enum dependencies and bitwise and
      
      svn path=/trunk/; revision=16
      23a4afab
  19. 07 May, 2006 1 commit
    • Jürg Billeter's avatar
      tokenizer for new vala compiler parser vor new vala compiler · 04ad6ba4
      Jürg Billeter authored
      2006-05-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: tokenizer for new vala compiler
      	* vala/parser.y: parser vor new vala compiler
      	* vala/valablock.vala
      	* vala/valabooleanliteral.vala
      	* vala/valacharacterliteral.vala
      	* vala/valaclass.vala: add methods
      	* vala/valadeclarationstatement.vala
      	* vala/valaemptystatement.vala
      	* vala/valaexpression.vala
      	* vala/valaexpressionstatement.vala
      	* vala/valaforeachstatement.vala
      	* vala/valaforstatement.vala
      	* vala/valaifstatement.vala
      	* vala/valaintegerliteral.vala
      	* vala/valainvocationexpression.vala
      	* vala/valaliteral.vala
      	* vala/valaliteralexpression.vala
      	* vala/valalocalvariabledeclaration.vala
      	* vala/valamethod.vala
      	* vala/valanamedargument.vala
      	* vala/valanullliteral.vala
      	* vala/valaobjectcreationexpression.vala
      	* vala/valaparenthesizedexpression.vala
      	* vala/valareturnstatement.vala
      	* vala/valasimplename.vala
      	* vala/valastatement.vala
      	* vala/valastringliteral.vala
      	* vala/valatypereference.vala
      	* vala/valaunaryexpression.vala
      	* vala/valavariabledeclarator.vala
      	* vala/valacodevisitor.vala: add visit_method skeleton
      	* vala/valacodegenerator.vala: do.
      	* vala/vala.h: include generated header files
      	* valac/generator.c: support bool and enum properties, support enums
      
      svn path=/trunk/; revision=14
      04ad6ba4
  20. 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