1. 30 Aug, 2007 5 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
      fix object creation for non-GObject classes without creation method · 78cb7e64
      Jürg Billeter authored
      2007-08-30  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valacodegenerator.vala: fix object creation for non-GObject
      	  classes without creation method
      
      svn path=/trunk/; revision=539
      78cb7e64
    • Jürg Billeter's avatar
      remove obsolete ctype attribute · 24155cdb
      Jürg Billeter authored
      2007-08-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala, gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valacodegeneratormethod.vala, vapi/glib-2.0.vala: remove
      	  obsolete ctype attribute
      
      svn path=/trunk/; revision=538
      24155cdb
    • 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 3 commits
  3. 28 Aug, 2007 3 commits
  4. 27 Aug, 2007 2 commits
    • Jürg Billeter's avatar
      generate static get_type functions for non-public classes and interfaces, · 0b2874e6
      Jürg Billeter authored
      2007-08-27  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valaclassregisterfunction.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valainterfaceregisterfunction.vala,
      	  gobject/valatyperegisterfunction.vala: generate static get_type
      	  functions for non-public classes and interfaces,
      	  patch by Ed Schouten, fixes bug 470428
      
      svn path=/trunk/; revision=504
      0b2874e6
    • Jürg Billeter's avatar
      use exceptions instead of GError parameters for generated bindings, based · 5a5cb867
      Jürg Billeter authored
      2007-08-27  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valacreationmethod.vala, gobject/valacodegenerator.vala,
      	  vapigen/valagidlparser.vala: use exceptions instead of GError
      	  parameters for generated bindings, based on patch by Alberto Ruiz,
      	  fixes bug 470432
      
      	* vapi/clutter-0.3.vala, vapi/gdk-2.0.vala, vapi/gio-standalone.vala,
      	  vapi/gnome-desktop-2.0.vala, vapi/gstreamer-0.10.vala,
      	  vapi/gtk+-2.0.vala, vapi/hildon-1.vala, vapi/pango.vala: regenerated
      
      svn path=/trunk/; revision=503
      5a5cb867
  5. 24 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      write dup_function and free_function attribute values recognize ref, · 83895282
      Jürg Billeter authored
      2007-08-24  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valainterfacewriter.vala, vala/valastruct.vala,
      	  gobject/valacodegenerator.vala: write dup_function and free_function
      	  attribute values
      	* vapigen/valagidlparser.vala: recognize ref, unref, and free functions,
      	  GType arrays, and out parameters
      	* vapi/glib-2.0.vala: mark Closure as reference type
      	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gio-standalone.vala,
      	  vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala,
      	  vapi/gtksourceview-2.0.vala, vapi/libsoup-2.2.vala, vapi/pango.vala,
      	  vapi/vte.vala: regenerated
      	* vapi/packages/atk/: update to ATK 1.19.6
      	* vapi/packages/gdk-2.0/, vapi/packages/gtk+-2.0/: update to GTK+ 2.11.6
      	* vapi/packages/gstreamer-0.10/: update to GStreamer 0.10.14
      	* vapi/packages/gtksourceview-2.0/: update to GtkSourceView 1.90.3
      	* vapi/packages/pango/: update to Pango 1.18.0
      
      svn path=/trunk/; revision=498
      83895282
  6. 21 Aug, 2007 4 commits
    • Jürg Billeter's avatar
      add array length argument when passing null as array argument, fixes bug · 9672f15a
      Jürg Billeter authored
      2007-08-21  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valacodegeneratorinvocationexpression.vala: add array length
      	  argument when passing null as array argument, fixes bug 467903
      
      svn path=/trunk/; revision=496
      9672f15a
    • Jürg Billeter's avatar
      fix build system to pass distcheck, based on patch by Nicolas Trangez, · 89eb22d6
      Jürg Billeter authored
      2007-08-21  Juerg Billeter  <j@bitron.ch>
      
      	* gee/Makefile.am, vala/Makefile.am, ccode/Makefile.am,
      	  gobject/Makefile.am, compiler/Makefile.am, tests/Makefile.am,
      	  tests/testrunner.sh: fix build system to pass distcheck,
      	  based on patch by Nicolas Trangez, fixes bug 466283
      	* Rename tests/*.out to tests/*.exp
      	* tests/test-022.vala, tests/test-022.exp: reduce to regression test
      
      svn path=/trunk/; revision=495
      89eb22d6
    • Jürg Billeter's avatar
      support --directory option, use basename of input filenames, patch by · 10d2b86e
      Jürg Billeter authored
      2007-08-21  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valacodecontext.vala, vala/valasourcefile.vala,
      	  gobject/valaccodecompiler.vala, compiler/valacompiler.vala: support
      	  --directory option, use basename of input filenames,
      	  patch by Nicolas Trangez, fixes bug 465720
      
      svn path=/trunk/; revision=494
      10d2b86e
    • Mathias Hasselmann's avatar
      consider switch statements when releasing local variables, fixes bug · e057df14
      Mathias Hasselmann authored
      2007-08-21 Mathias Hasselmann <mathias.hasselmann@gmx.de>
      
      	* gobject/valacodegenerator.vala, vala/valaswitchsection.vala,
      	vala/valaswitchstatement.vala: consider switch statements
      	when releasing local variables, fixes bug 467896
      	* tests/Makefile.am, tests/test-035.*: test for that bug
      
      svn path=/trunk/; revision=493
      e057df14
  7. 20 Aug, 2007 4 commits
    • Jürg Billeter's avatar
      fix memory management for throw statements, fixes bug 465071 · 01702510
      Jürg Billeter authored
      2007-08-20  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala, vala/valathrowstatement.vala,
      	  gobject/valacodegenerator.vala: fix memory management for throw
      	  statements, fixes bug 465071
      
      svn path=/trunk/; revision=491
      01702510
    • Mathias Hasselmann's avatar
      support C# like as operator test the as operator · 078c5edd
      Mathias Hasselmann authored
      2007-08-20  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
      
      	* vala/valacastexpression.vala, gobject/valacodegenerator.vala,
      	vala/parser.y, vala/scanner.l: support C# like as operator
      	* tests/Makefile.am, tests/test-034.*: test the as operator
      
      svn path=/trunk/; revision=489
      078c5edd
    • Jürg Billeter's avatar
      fix initialization of external variables · 150fc53d
      Jürg Billeter authored
      2007-08-20  Juerg Billeter  <j@bitron.ch>
      
      	* ccode/valaccodedeclaration.vala, ccode/valaccodemodifiers.vala,
      	  gobject/valacodegenerator.vala: fix initialization of external
      	  variables
      
      svn path=/trunk/; revision=487
      150fc53d
    • Jürg Billeter's avatar
      support namespace fields and public static class fields, fixes bug 464985 · be9e1c92
      Jürg Billeter authored
      2007-08-20  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valafield.vala, gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorclass.vala: support namespace fields and
      	  public static class fields, fixes bug 464985
      
      svn path=/trunk/; revision=486
      be9e1c92
  8. 19 Aug, 2007 3 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
    • Mathias Hasselmann's avatar
      terminate array initializer with NULL sentinal to make destructors like · ad79334d
      Mathias Hasselmann authored
      2007-08-18  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
      
      	* gobject/valacodegenerator.vala: terminate array initializer
      	with NULL sentinal to make destructors like g_strfreev happy
      
      svn path=/trunk/; revision=481
      ad79334d
  9. 16 Aug, 2007 2 commits
    • Mathias Hasselmann's avatar
      consider sentinel information provide sentinel information for functions · ade628e4
      Mathias Hasselmann authored
      2007-08-16  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
      
      	* gobject/valacodegeneratorinvocationexpression.vala,
      	vala/valainterfacewriter.vala, vala/valamethod.vala,
      	vapigen/valagidlparser.vala: consider sentinel information
      	* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: provide sentinel
      	information for functions with variable length argument lists
      
      svn path=/trunk/; revision=474
      ade628e4
    • Raffaele Sandrini's avatar
      adapt visit initializer and visit array creation to external visitor check · b9895f6d
      Raffaele Sandrini authored
      2007-08-16  Raffaele Sandrini  <raffaele@sandrini.ch>
      
      	* gobject/valacodegenerator.vala, vala/valacodevisitor.vala,
      	  vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala:
      	  adapt visit initializer and visit array creation to external visitor
      	* vala/valamemorymanager.vala: check initializers of array creation
      	  expressions for missing ref
      	* vala/valaarraycreationexpression.vala, vala/valainitializerlist.vala:
      	  change to external visitor
      
      svn path=/trunk/; revision=469
      b9895f6d
  10. 14 Aug, 2007 1 commit
  11. 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
  12. 08 Aug, 2007 2 commits
    • Mathias Hasselmann's avatar
      provide --save-temps option keep generated C source and header files when · 7b207a0b
      Mathias Hasselmann authored
      2007-08-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
      
      	* compiler/valacompiler.vala: provide --save-temps option
      	* gobject/valaccodecompiler.vala: keep generated C source and header
      	files when --save-temps, respectively --library options are used
      	* vala/valacodecontext.vala: add save_temps, save_csources
      	and save_cheaders property
      
      svn path=/trunk/; revision=452
      7b207a0b
    • Jürg Billeter's avatar
      support passing C source files to the command line, patch by Nicolas · 860f17a2
      Jürg Billeter authored
      2007-08-08  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valacodecontext.vala, gobject/valaccodecompiler.vala,
      	  compiler/valacompiler.vala: support passing C source files to the
      	  command line, patch by Nicolas Trangez
      
      svn path=/trunk/; revision=448
      860f17a2
  13. 07 Aug, 2007 2 commits
  14. 06 Aug, 2007 4 commits
    • Jürg Billeter's avatar
      support D-Bus replies with string arrays · 64d55a77
      Jürg Billeter authored
      2007-08-06  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valacodegeneratorinvocationexpression.vala: support D-Bus
      	  replies with string arrays
      
      svn path=/trunk/; revision=424
      64d55a77
    • Jürg Billeter's avatar
      cleanup and fix GList and GSList destruction · 524b8341
      Jürg Billeter authored
      2007-08-06  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valacodegenerator.vala: cleanup and fix GList and GSList
      	  destruction
      
      svn path=/trunk/; revision=423
      524b8341
    • 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
    • Jürg Billeter's avatar
      fixes for multi-dimension arrays · fa628f64
      Jürg Billeter authored
      2007-08-06  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorassignment.vala: fixes for multi-dimension
      	  arrays
      
      svn path=/trunk/; revision=418
      fa628f64
  15. 30 Jul, 2007 1 commit
  16. 29 Jul, 2007 1 commit
  17. 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