1. 30 Aug, 2007 3 commits
    • Jürg Billeter's avatar
      rename MemberAccessibility to SymbolAccessibility and move its declaration · 6accf66c
      Jürg Billeter authored
      2007-08-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valamemberaccessibility.vala: rename MemberAccessibility to
      	  SymbolAccessibility and move its declaration to vala/valasymbol.vala
      	* vala/parser.y: store accessibility modifier for properties and follow
      	  the renames caused by the accessibility releated refactoring, cast
      	  the Struct allocated in struct_declaration to silence gcc
      	* vala/Makefile.am: remove valamemberaccessibility.* files
      	* vala/valasymbol.vala: add access property found in serveral
      	  sub-classes and add is_internal_symbol () method, which considers
      	  parent symbols to determinate if a symbol belongs to internal API
      	* gobject/*, vala/*, vapigen/valagidlparser.vala:
      	  move the access property/field found in several Symbol derived
      	  classes to the Symbol class where it belongs and rename the
      	  MemberAccessibility enumeration to SymbolAccessibility
      
      	* vala/valaformalparameter.vala, vala/valanamespace.vala: set access
      	  to public on initialization, as there is no accessibility modifier
      	* gobject/valacodegenerator.vala: do not add internal symbols to
      	  header_type_member_declarations
      	* vala/valasemanticanalyzer.vala: do not add HEADER_SHALLOW symbol
      	  dependencies for internal symbols
      	* gobject/valacodegeneratormethod.vala: consider all anchestors,
      	  not just the parent for visibility
      
      	patch by Mathias Hasselmann, fixes bug 471475
      
      svn path=/trunk/; revision=546
      6accf66c
    • Jürg Billeter's avatar
      support classes without base class · c390970c
      Jürg Billeter authored
      2007-08-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala, vala/valasemanticanalyzer.vala,
      	  gobject/valacodegenerator.vala, gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratormethod.vala, vapi/glib-2.0.vala: support
      	  classes without base class
      
      svn path=/trunk/; revision=537
      c390970c
    • 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
  2. 29 Aug, 2007 1 commit
  3. 28 Aug, 2007 2 commits
    • Jürg Billeter's avatar
      generate warning about invalid property ids, fixes bug 463668 · e5bccaaa
      Jürg Billeter authored
      2007-08-28  Juerg Billeter  <j@bitron.ch>
      
      	* ccode/valaccodeswitchstatement.vala,
      	  gobject/valacodegeneratorclass.vala: generate warning about invalid
      	  property ids, fixes bug 463668
      
      svn path=/trunk/; revision=522
      e5bccaaa
    • Jürg Billeter's avatar
      support non-GObject classes, will replace reference-type structs · 6ab8723f
      Jürg Billeter authored
      2007-08-28  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala, vala/valaenum.vala,
      	  gobject/valacodegenerator.vala, gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valacodegeneratormethod.vala: support non-GObject classes,
      	  will replace reference-type structs
      
      svn path=/trunk/; revision=514
      6ab8723f
  4. 20 Aug, 2007 1 commit
  5. 09 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      add vfunc_name attribute, patch by Philip Van Hoof · 77931448
      Jürg Billeter authored
      2007-08-09  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valamethod.vala, gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratormethod.vala: add vfunc_name attribute,
      	  patch by Philip Van Hoof
      
      svn path=/trunk/; revision=453
      77931448
  6. 06 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      add experimental D-Bus client support · f371f443
      Jürg Billeter authored
      2007-08-06  Juerg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am, vala/parser.y, vala/valaarray.vala,
      	  vala/valabindingprovider.vala, vala/valaclass.vala,
      	  vala/valaenum.vala, vala/valainterface.vala,
      	  vala/valamemorymanager.vala, vala/valamethod.vala,
      	  vala/valasemanticanalyzer.vala, vala/valasymbol.vala,
      	  vala/valasymbolresolver.vala, vala/valavariabledeclarator.vala,
      	  gobject/Makefile.am, gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorassignment.vala,
      	  gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valacodegeneratorinvocationexpression.vala,
      	  gobject/valacodegeneratormethod.vala,
      	  gobject/valadbusbindingprovider.vala, gobject/valadbusmethod.vala,
      	  gobject/valadbussignal.vala, compiler/valacompiler.vala,
      	  vapi/dbus-glib-1.vala, vapi/hal.vala: add experimental D-Bus client
      	  support
      
      svn path=/trunk/; revision=419
      f371f443
  7. 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
  8. 26 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      support class destructors · dbac5ee5
      Jürg Billeter authored
      2007-07-26  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valacodegeneratorclass.vala, vapi/glib-2.0.vala: support
      	  class destructors
      
      svn path=/trunk/; revision=392
      dbac5ee5
  9. 25 Jul, 2007 2 commits
    • Jürg Billeter's avatar
      add dup_func parameter to generic classes, fix some memory management · 00ff9bc4
      Jürg Billeter authored
      2007-07-25  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valainvokable.vala, vala/valamemorymanager.vala,
      	  vala/valasymbolresolver.vala, gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorassignment.vala,
      	  gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratormethod.vala: add dup_func parameter to
      	  generic classes, fix some memory management issues with generic types
      
      svn path=/trunk/; revision=387
      00ff9bc4
    • Jürg Billeter's avatar
      don't expose private classes in public header files · 02f7d056
      Jürg Billeter authored
      2007-07-25  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valacodegenerator.vala, gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratormethod.vala,
      	  gobject/valacodegeneratorstruct.vala: don't expose private classes in
      	  public header files
      
      svn path=/trunk/; revision=386
      02f7d056
  10. 23 Jul, 2007 1 commit
    • 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
  11. 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
  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 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
  14. 09 May, 2007 1 commit
  15. 07 May, 2007 1 commit
    • Jürg Billeter's avatar
      declare variables at the beginning of blocks as required for C89 avoid · ba59657f
      Jürg Billeter authored
      2007-05-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: declare variables at the beginning of blocks as
      	  required for C89
      	* gobject/valacodegeneratorclass.vala: avoid empty private struct
      	  declaration
      	* vapi/glib-2.0.vala: use g_ascii_strtoll instead of strtoll
      
      	Patch by Hans Breuer
      
      svn path=/trunk/; revision=307
      ba59657f
  16. 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