Mathias Hasselmann [Wed, 8 Aug 2007 14:31:39 +0000 (14:31 +0000)]
publish GObject's notify method
2007-08-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: publish GObject's notify method
svn path=/trunk/; revision=445
Mathias Hasselmann [Wed, 8 Aug 2007 14:31:33 +0000 (14:31 +0000)]
express dependency on GTK+ remove internal classes, fix header file
2007-08-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/gtksourceview-2.0.deps: express dependency on GTK+
* vapi/gtksourceview-2.0.vala: remove internal classes,
fix header file annoations
* vapi/Makefile.am: install gtksourceview bindings
svn path=/trunk/; revision=444
Mathias Hasselmann [Wed, 8 Aug 2007 00:10:02 +0000 (00:10 +0000)]
MatchInfo.fetch_named transfers ownership
2007-08-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: MatchInfo.fetch_named transfers ownership
svn path=/trunk/; revision=443
Juerg Billeter [Tue, 7 Aug 2007 22:08:19 +0000 (22:08 +0000)]
support exceptions in foreach collection expressions, fix test
2007-08-08 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala, gobject/valacodegenerator.vala,
tests/test-033.out, tests/test-033.vala: support exceptions in foreach
collection expressions, fix test
svn path=/trunk/; revision=442
Mathias Hasselmann [Tue, 7 Aug 2007 21:38:54 +0000 (21:38 +0000)]
test exception handling when iterating over Gee collections - currently
2007-08-07 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* tests/test-033.vala, tests/testrunner.sh: test exception handling when
iterating over Gee collections - currently results in segmentation fault
svn path=/trunk/; revision=441
Juerg Billeter [Tue, 7 Aug 2007 21:23:08 +0000 (21:23 +0000)]
add Hildon bindings, patch by Marcelo Lira, fixes bug 463598
2007-08-07 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/hildon-1.deps, vapi/hildon-1.vala,
vapi/packages/hildon-1, vapigen/valagidlparser.vala: add Hildon
bindings, patch by Marcelo Lira, fixes bug 463598
svn path=/trunk/; revision=440
Juerg Billeter [Tue, 7 Aug 2007 20:35:01 +0000 (20:35 +0000)]
improve class and signal parsing, patch by Marcelo Lira, fixes bug 464388
2007-08-07 Juerg Billeter <j@bitron.ch>
* vapigen/gidlgen/gapi2xml.pl: improve class and signal parsing,
patch by Marcelo Lira, fixes bug 464388
svn path=/trunk/; revision=439
Mathias Hasselmann [Tue, 7 Aug 2007 20:22:15 +0000 (20:22 +0000)]
fix the C name of Process.close_pid and the spelling of
2007-08-07 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: fix the C name of Process.close_pid
and the spelling of SpawnFlags.CHILD_INHERITS_STDIN
svn path=/trunk/; revision=438
Mathias Hasselmann [Tue, 7 Aug 2007 20:22:09 +0000 (20:22 +0000)]
add Environment.get_prgname and set_prgname
2007-08-07 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: add Environment.get_prgname and set_prgname
svn path=/trunk/; revision=437
Mathias Hasselmann [Tue, 7 Aug 2007 20:22:02 +0000 (20:22 +0000)]
add IOChannel.unix_new and unix_get_fd
2007-08-07 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: add IOChannel.unix_new and unix_get_fd
svn path=/trunk/; revision=436
Juerg Billeter [Tue, 7 Aug 2007 19:50:41 +0000 (19:50 +0000)]
fix Pid handling
2007-08-07 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: fix Pid handling
svn path=/trunk/; revision=435
Juerg Billeter [Tue, 7 Aug 2007 19:16:06 +0000 (19:16 +0000)]
add sqlite3.vala
2007-08-07 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am: add sqlite3.vala
svn path=/trunk/; revision=434
Juerg Billeter [Tue, 7 Aug 2007 19:15:00 +0000 (19:15 +0000)]
add SQLite bindings
2007-08-07 Juerg Billeter <j@bitron.ch>
* vapi/sqlite3.vala: add SQLite bindings
svn path=/trunk/; revision=433
Juerg Billeter [Tue, 7 Aug 2007 18:52:58 +0000 (18:52 +0000)]
add stdin
2007-08-07 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: add stdin
svn path=/trunk/; revision=432
Juerg Billeter [Tue, 7 Aug 2007 18:51:48 +0000 (18:51 +0000)]
add FileStream.getc()
2007-08-07 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: add FileStream.getc()
svn path=/trunk/; revision=431
Juerg Billeter [Tue, 7 Aug 2007 18:35:27 +0000 (18:35 +0000)]
support exceptions in virtual methods
2007-08-07 Juerg Billeter <j@bitron.ch>
* gobject/valacodegeneratormethod.vala: support exceptions in virtual
methods
svn path=/trunk/; revision=430
Juerg Billeter [Tue, 7 Aug 2007 08:22:59 +0000 (08:22 +0000)]
fix Soup.HttpVersion enum
2007-08-07 Juerg Billeter <j@bitron.ch>
* vapi/libsoup-2.2.vala, vapigen/valagidlparser.vala: fix
Soup.HttpVersion enum
svn path=/trunk/; revision=429
Juerg Billeter [Tue, 7 Aug 2007 08:03:34 +0000 (08:03 +0000)]
add libsoup-2.2.vala
2007-08-07 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am: add libsoup-2.2.vala
svn path=/trunk/; revision=428
Juerg Billeter [Tue, 7 Aug 2007 08:00:54 +0000 (08:00 +0000)]
add libsoup bindings
2007-08-07 Juerg Billeter <j@bitron.ch>
* vapi/libsoup-2.2.vala, vapi/packages/libsoup-2.2,
vapigen/valagidlparser.vala: add libsoup bindings
svn path=/trunk/; revision=427
Juerg Billeter [Tue, 7 Aug 2007 07:22:37 +0000 (07:22 +0000)]
add Glade bindings
2007-08-07 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/gtkmozembed.deps, vapi/libglade-2.0.deps,
vapi/libglade-2.0.vala, vapi/packages/libglade-2.0: add Glade
bindings
svn path=/trunk/; revision=426
Juerg Billeter [Tue, 7 Aug 2007 07:15:33 +0000 (07:15 +0000)]
remove most namespace detection workarounds, fixes bug 463171
2007-08-07 Juerg Billeter <j@bitron.ch>
* vapi/gdk-2.0.vala, vapi/gio-standalone.vala, vapi/gtk+-2.0.vala,
vapi/pango.vala, vapigen/valagidlparser.vala,
vapigen/valavapigen.vala: remove most namespace detection workarounds,
fixes bug 463171
svn path=/trunk/; revision=425
Juerg Billeter [Mon, 6 Aug 2007 20:23:49 +0000 (20:23 +0000)]
support D-Bus replies with string arrays
2007-08-06 Juerg Billeter <j@bitron.ch>
* gobject/valacodegeneratorinvocationexpression.vala: support D-Bus
replies with string arrays
svn path=/trunk/; revision=424
Juerg Billeter [Mon, 6 Aug 2007 18:44:04 +0000 (18:44 +0000)]
cleanup and fix GList and GSList destruction
2007-08-06 Juerg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala: cleanup and fix GList and GSList
destruction
svn path=/trunk/; revision=423
Juerg Billeter [Mon, 6 Aug 2007 16:52:23 +0000 (16:52 +0000)]
support multiple namespaces in a using directive, patch by Kyle Ambroff,
2007-08-06 Juerg Billeter <j@bitron.ch>
* vala/parser.y: support multiple namespaces in a using directive,
patch by Kyle Ambroff, fixes bug 463821
svn path=/trunk/; revision=422
Juerg Billeter [Mon, 6 Aug 2007 16:44:22 +0000 (16:44 +0000)]
fix --version option in vapigen, patch by Jaap A. Haitsma, fixes bug
2007-08-06 Juerg Billeter <j@bitron.ch>
* vapigen/Makefile.am, vapigen/valavapigen.vala: fix --version option
in vapigen, patch by Jaap A. Haitsma, fixes bug 461262
svn path=/trunk/; revision=421
Juerg Billeter [Mon, 6 Aug 2007 16:38:49 +0000 (16:38 +0000)]
add Clutter bindings, patch by Carl-Anton Ingmarsson, fixes bug 463708
2007-08-06 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/clutter-0.3.deps, vapi/clutter-0.3.vala,
vapi/packages/clutter-0.3, vapigen/valagidlparser.vala: add Clutter
bindings, patch by Carl-Anton Ingmarsson, fixes bug 463708
svn path=/trunk/; revision=420
Juerg Billeter [Mon, 6 Aug 2007 14:43:16 +0000 (14:43 +0000)]
add experimental D-Bus client support
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
Juerg Billeter [Mon, 6 Aug 2007 11:52:24 +0000 (11:52 +0000)]
fixes for multi-dimension arrays
2007-08-06 Juerg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala,
gobject/valacodegeneratorassignment.vala: fixes for multi-dimension
arrays
svn path=/trunk/; revision=418
Juerg Billeter [Sat, 4 Aug 2007 23:09:30 +0000 (23:09 +0000)]
add GtkMozEmbed bindings, patch by Alberto Ruiz, fixes bug 463438
2007-08-05 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/gtkmozembed.vala: add GtkMozEmbed bindings,
patch by Alberto Ruiz, fixes bug 463438
svn path=/trunk/; revision=417
Juerg Billeter [Wed, 1 Aug 2007 15:51:55 +0000 (15:51 +0000)]
extend GLib.Value Gtk.TreeModel fixes add GtkSourceView bindings
2007-08-01 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: extend GLib.Value
* vapi/gtk+-2.0.vala, vapi/packages/gtk+-2.0/gtk+-2.0.metadata,
vapigen/valagidlparser.vala: Gtk.TreeModel fixes
* vapi/gtksourceview-2.0.vala, vapi/packages/gtksourceview-2.0/: add
GtkSourceView bindings
svn path=/trunk/; revision=416
Juerg Billeter [Mon, 30 Jul 2007 18:39:03 +0000 (18:39 +0000)]
use abstract instead of virtual methods in generated interfaces
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
Juerg Billeter [Mon, 30 Jul 2007 14:40:34 +0000 (14:40 +0000)]
support array length parameters in virtual methods
2007-07-30 Juerg Billeter <j@bitron.ch>
* gobject/valacodegeneratormethod.vala: support array length parameters
in virtual methods
svn path=/trunk/; revision=414
Juerg Billeter [Sun, 29 Jul 2007 22:11:44 +0000 (22:11 +0000)]
fix warning when defining abstract properties
2007-07-30 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix warning when defining abstract
properties
svn path=/trunk/; revision=413
Raffaele Sandrini [Sun, 29 Jul 2007 07:17:36 +0000 (07:17 +0000)]
mini fix: remove unnecessray cast in visit_switch_statement to remove an
2007-07-29 Raffaele Sandrini <raffaele@sandrini.ch>
* gobject/valacodegenerator.vala: mini fix: remove unnecessray cast in
visit_switch_statement to remove an invalid cast GType warning
svn path=/trunk/; revision=412
Raffaele Sandrini [Sat, 28 Jul 2007 15:57:56 +0000 (15:57 +0000)]
add check to report an error on invalid method_header and method_body
2007-07-28 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/parser.y: add check to report an error on invalid method_header
and method_body presence combinations
* vala/valamethod.vala: add `is_imported' property
svn path=/trunk/; revision=411
Philip Van Hoof [Sat, 28 Jul 2007 12:21:20 +0000 (12:21 +0000)]
Added some documentation about how to build your own Vala
2007-07-28 Philip Van Hoof <pvanhoof@gnome.org>
* doc/building.txt: Added some documentation about how to build your
own Vala
svn path=/trunk/; revision=410
Juerg Billeter [Fri, 27 Jul 2007 21:45:59 +0000 (21:45 +0000)]
Post-release version bump
2007-07-27 Juerg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
svn path=/trunk/; revision=409
Juerg Billeter [Fri, 27 Jul 2007 21:43:46 +0000 (21:43 +0000)]
update for 0.1.2 release
2007-07-27 Juerg Billeter <j@bitron.ch>
* NEWS: update for 0.1.2 release
svn path=/trunk/; revision=407
Juerg Billeter [Fri, 27 Jul 2007 15:36:23 +0000 (15:36 +0000)]
add internal copy of libgee and use Gee.ArrayList, Gee.HashMap, and
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
Juerg Billeter [Fri, 27 Jul 2007 13:34:55 +0000 (13:34 +0000)]
add move method to arrays
2007-07-27 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/valaarray.vala, vala/valaarraymovemethod.vala,
vala/valadatatype.vala, vala/valatypeparameter.vala,
gobject/valacodegenerator.vala,
gobject/valacodegeneratorinvocationexpression.vala,
gobject/valacodegeneratorsourcefile.vala: add move method to arrays
svn path=/trunk/; revision=405
Juerg Billeter [Fri, 27 Jul 2007 13:23:20 +0000 (13:23 +0000)]
fix warning when connecting signals
2007-07-27 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix warning when connecting signals
svn path=/trunk/; revision=404
Juerg Billeter [Fri, 27 Jul 2007 12:15:16 +0000 (12:15 +0000)]
fix warning when using element access with Gee.List or Gee.Map
2007-07-27 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix warning when using element access
with Gee.List or Gee.Map
svn path=/trunk/; revision=403
Juerg Billeter [Fri, 27 Jul 2007 11:38:55 +0000 (11:38 +0000)]
fix memory management in foreach statements
2007-07-27 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valaforeachstatement.vala,
vala/valamemorymanager.vala, vala/valasemanticanalyzer.vala,
gobject/valacodegenerator.vala,
gobject/valacodegeneratorassignment.vala: fix memory management in
foreach statements
svn path=/trunk/; revision=402
Juerg Billeter [Fri, 27 Jul 2007 11:31:20 +0000 (11:31 +0000)]
use cast for field initializers when necessary
2007-07-27 Juerg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala: use cast for field initializers when
necessary
svn path=/trunk/; revision=401
Juerg Billeter [Fri, 27 Jul 2007 10:50:35 +0000 (10:50 +0000)]
fix memory leak in cast expressions
2007-07-27 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix memory leak in cast expressions
svn path=/trunk/; revision=400
Juerg Billeter [Fri, 27 Jul 2007 07:20:16 +0000 (07:20 +0000)]
free construction parameters in creation methods
2007-07-27 Juerg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala, gobject/valacodegeneratormethod.vala:
free construction parameters in creation methods
svn path=/trunk/; revision=399
Juerg Billeter [Fri, 27 Jul 2007 06:51:03 +0000 (06:51 +0000)]
free local variables before break and continue
2007-07-27 Juerg Billeter <j@bitron.ch>
* vala/valadostatement.vala, vala/valaforeachstatement.vala,
vala/valaforstatement.vala, vala/valawhilestatement.vala,
gobject/valacodegenerator.vala: free local variables before break and
continue
svn path=/trunk/; revision=398
Juerg Billeter [Fri, 27 Jul 2007 06:42:00 +0000 (06:42 +0000)]
fix freeing local variables of all blocks before returning from function
2007-07-27 Juerg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala: fix freeing local variables of all
blocks before returning from function
svn path=/trunk/; revision=397
Juerg Billeter [Thu, 26 Jul 2007 22:10:36 +0000 (22:10 +0000)]
use weak variables in foreach statements where appropriate
2007-07-27 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: use weak variables in foreach statements
where appropriate
svn path=/trunk/; revision=396
Juerg Billeter [Thu, 26 Jul 2007 22:06:25 +0000 (22:06 +0000)]
even more fixes for libraries with generic types
2007-07-27 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: even more fixes for libraries with
generic types
svn path=/trunk/; revision=395
Juerg Billeter [Thu, 26 Jul 2007 16:40:16 +0000 (16:40 +0000)]
also free the array itself in _vala_array_free
2007-07-26 Juerg Billeter <j@bitron.ch>
* gobject/valacodegeneratorsourcefile.vala: also free the array itself
in _vala_array_free
svn path=/trunk/; revision=394
Juerg Billeter [Thu, 26 Jul 2007 16:38:29 +0000 (16:38 +0000)]
unref the item in foreach as Gee.Iterator.get () transfers ownership
2007-07-26 Juerg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala: unref the item in foreach as
Gee.Iterator.get () transfers ownership
svn path=/trunk/; revision=393
Juerg Billeter [Thu, 26 Jul 2007 16:04:53 +0000 (16:04 +0000)]
support class destructors
2007-07-26 Juerg Billeter <j@bitron.ch>
* gobject/valacodegeneratorclass.vala, vapi/glib-2.0.vala: support
class destructors
svn path=/trunk/; revision=392
Juerg Billeter [Thu, 26 Jul 2007 14:24:22 +0000 (14:24 +0000)]
free array elements
2007-07-26 Juerg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala,
gobject/valacodegeneratorassignment.vala,
gobject/valacodegeneratorsourcefile.vala: free array elements
svn path=/trunk/; revision=391
Juerg Billeter [Thu, 26 Jul 2007 09:03:52 +0000 (09:03 +0000)]
support element access for types implementing Gee.List or Gee.Map
2007-07-26 Juerg Billeter <j@bitron.ch>
* vala/valamemorymanager.vala, vala/valasemanticanalyzer.vala,
gobject/valacodegenerator.vala,
gobject/valacodegeneratorassignment.vala,
gobject/valacodegeneratorinvocationexpression.vala: support element
access for types implementing Gee.List or Gee.Map
svn path=/trunk/; revision=390
Juerg Billeter [Thu, 26 Jul 2007 06:00:40 +0000 (06:00 +0000)]
use GSlice and generate free function for reference-type structs with a
2007-07-26 Juerg Billeter <j@bitron.ch>
* vala/valastruct.vala, gobject/valacodegeneratormethod.vala,
gobject/valacodegeneratorstruct.vala: use GSlice and generate free
function for reference-type structs with a creation method
svn path=/trunk/; revision=389
Juerg Billeter [Wed, 25 Jul 2007 21:16:30 +0000 (21:16 +0000)]
remove comments of overridden methods
2007-07-25 Juerg Billeter <j@bitron.ch>
* vala/valaarray.vala: remove comments of overridden methods
svn path=/trunk/; revision=388
Juerg Billeter [Wed, 25 Jul 2007 20:30:58 +0000 (20:30 +0000)]
add dup_func parameter to generic classes, fix some memory management
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
Juerg Billeter [Wed, 25 Jul 2007 18:52:24 +0000 (18:52 +0000)]
don't expose private classes in public header files
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
Juerg Billeter [Wed, 25 Jul 2007 16:22:40 +0000 (16:22 +0000)]
ensure that index expression in element access doesn't get evaluated more
2007-07-25 Juerg Billeter <j@bitron.ch>
* gobject/valacodegeneratorassignment.vala: ensure that index expression
in element access doesn't get evaluated more than once
svn path=/trunk/; revision=385
Juerg Billeter [Wed, 25 Jul 2007 13:25:25 +0000 (13:25 +0000)]
add void to function declarations without parameters as required by C89
2007-07-25 Juerg Billeter <j@bitron.ch>
* ccode/valaccodefunction.vala: add void to function declarations
without parameters as required by C89
svn path=/trunk/; revision=384
Juerg Billeter [Tue, 24 Jul 2007 15:48:16 +0000 (15:48 +0000)]
add support for iteration over Gee.Iterable collections
2007-07-24 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala, gobject/valacodegenerator.vala:
add support for iteration over Gee.Iterable collections
svn path=/trunk/; revision=383
Juerg Billeter [Tue, 24 Jul 2007 15:38:41 +0000 (15:38 +0000)]
skip memory manager for VAPI files remove unnecessary code in
2007-07-24 Juerg Billeter <j@bitron.ch>
* vala/valamemorymanager.vala: skip memory manager for VAPI files
* vala/valasemanticanalyzer.vala: remove unnecessary code in
visit_creation_method
svn path=/trunk/; revision=382
Juerg Billeter [Tue, 24 Jul 2007 14:37:09 +0000 (14:37 +0000)]
add --cc and -X options to be able to specify custom command and options
2007-07-24 Juerg Billeter <j@bitron.ch>
* gobject/valaccodecompiler.vala, compiler/valacompiler.vala: add --cc
and -X options to be able to specify custom command and options for
the C compiler
svn path=/trunk/; revision=381
Juerg Billeter [Tue, 24 Jul 2007 13:42:50 +0000 (13:42 +0000)]
remove unnecessary runtime checks in release mode, simplify creation
2007-07-24 Juerg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala,
gobject/valacodegeneratormemberaccess.vala,
gobject/valacodegeneratormethod.vala: remove unnecessary runtime
checks in release mode, simplify creation method when not using
construction properties
svn path=/trunk/; revision=380
Juerg Billeter [Tue, 24 Jul 2007 13:25:57 +0000 (13:25 +0000)]
allow private static fields in interfaces, fixes bug 437435
2007-07-24 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valainterface.vala: allow private static fields in
interfaces, fixes bug 437435
svn path=/trunk/; revision=379
Juerg Billeter [Mon, 23 Jul 2007 20:38:35 +0000 (20:38 +0000)]
remove unnecessary construction properties to improve performance
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
Juerg Billeter [Mon, 23 Jul 2007 20:23:35 +0000 (20:23 +0000)]
use setters for non-construction properties in creation methods to improve
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
Juerg Billeter [Mon, 23 Jul 2007 19:33:50 +0000 (19:33 +0000)]
another fix for libraries with generic types
2007-07-23 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: another fix for libraries with generic
types
svn path=/trunk/; revision=376
Juerg Billeter [Mon, 23 Jul 2007 14:11:02 +0000 (14:11 +0000)]
fix some issues with memory management of includes lists
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
Juerg Billeter [Mon, 23 Jul 2007 09:45:35 +0000 (09:45 +0000)]
fix cheader filenames and default to GObject prerequisite for interfaces,
2007-07-23 Juerg Billeter <j@bitron.ch>
* vala/valainterface.vala, vala/valainterfacewriter.vala,
vala/valasemanticanalyzer.vala: fix cheader filenames and default to
GObject prerequisite for interfaces, fixes bug 459039
svn path=/trunk/; revision=374
Juerg Billeter [Mon, 23 Jul 2007 06:45:33 +0000 (06:45 +0000)]
write interface prerequisites
2007-07-23 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: write interface prerequisites
svn path=/trunk/; revision=373
Raffaele Sandrini [Sun, 22 Jul 2007 19:11:24 +0000 (19:11 +0000)]
add basic internationalization functionality
2007-07-22 Raffaele Sandrini <raffaele@sandrini.ch>
* vapi/glib-2.0.vala: add basic internationalization functionality
svn path=/trunk/; revision=372
Raffaele Sandrini [Sun, 22 Jul 2007 19:09:47 +0000 (19:09 +0000)]
add cheader filename logic usable for all Vala.Member types. parse
2007-07-22 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/valamember.vala: add cheader filename logic usable for all
Vala.Member types.
* vala/valamethod.vala: parse cheader_filename CCode attribute
argument
* vala/valadatatype.vala: fix get_cheader_filenames method signature
to override the Symbol method instead of defining a new virtual
method
* vala/valasourcefile.vala: adopt add_symbol_dependency to use the fact
all Vala.Symbol types maintain their list of headers
svn path=/trunk/; revision=371
Juerg Billeter [Sun, 22 Jul 2007 18:44:48 +0000 (18:44 +0000)]
more fixes for libraries with generic types
2007-07-22 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: more fixes for libraries with generic
types
svn path=/trunk/; revision=370
Juerg Billeter [Sun, 22 Jul 2007 18:13:55 +0000 (18:13 +0000)]
use lazy initialization for array_types hash table
2007-07-22 Juerg Billeter <j@bitron.ch>
* vala/valadatatype.vala: use lazy initialization for array_types
hash table
svn path=/trunk/; revision=369
Juerg Billeter [Sun, 22 Jul 2007 18:06:26 +0000 (18:06 +0000)]
support libraries with generic types
2007-07-22 Juerg Billeter <j@bitron.ch>
* vala/valainterface.vala, vala/valainterfacewriter.vala: support
libraries with generic types
svn path=/trunk/; revision=368
Juerg Billeter [Sun, 22 Jul 2007 17:27:15 +0000 (17:27 +0000)]
allow inner classes to access private members of outer classes
2007-07-22 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: allow inner classes to access private
members of outer classes
svn path=/trunk/; revision=367
Juerg Billeter [Sat, 21 Jul 2007 14:29:16 +0000 (14:29 +0000)]
derive from Symbol class where appropriate and move symbol table into
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
Raffaele Sandrini [Sat, 21 Jul 2007 12:27:03 +0000 (12:27 +0000)]
add basic zlib support add some string members, add some process exit
2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>
* vapi/zlib.vala: add basic zlib support
* vapi/glib-2.0.vala: add some string members, add some process
exit status and signal handling functions/macros, enhance FileStream
create GLib.DirUtils to be the same for dirs as GLib.FileUtils is for
files, enhance GLib.HashTable binding, add g_list_free function to
the collection of HashTable freeing functions
* vapi/Makefile.am: update
svn path=/trunk/; revision=365
Raffaele Sandrini [Sat, 21 Jul 2007 12:26:59 +0000 (12:26 +0000)]
allow '\0' escape sequences
2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/scanner.l: allow '\0' escape sequences
svn path=/trunk/; revision=364
Raffaele Sandrini [Sat, 21 Jul 2007 12:26:56 +0000 (12:26 +0000)]
do not add includes to oneself
2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/valasourcefile.vala: do not add includes to oneself
svn path=/trunk/; revision=363
Juerg Billeter [Tue, 17 Jul 2007 22:45:07 +0000 (22:45 +0000)]
correct return type of get_cheader_filenames
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
Juerg Billeter [Tue, 17 Jul 2007 22:36:46 +0000 (22:36 +0000)]
convert the CodeContext.get_root method to a property
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
Juerg Billeter [Tue, 17 Jul 2007 17:01:44 +0000 (17:01 +0000)]
move namespaces from SourceFile to CodeContext
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
Juerg Billeter [Tue, 17 Jul 2007 13:25:22 +0000 (13:25 +0000)]
generate more ellipsis parameters regenerated to add ellipsis parameters
2007-07-17 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: generate more ellipsis parameters
* vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
regenerated to add ellipsis parameters where appropriate
svn path=/trunk/; revision=359
Juerg Billeter [Tue, 17 Jul 2007 11:07:26 +0000 (11:07 +0000)]
add GStreamer bindings
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
Juerg Billeter [Fri, 13 Jul 2007 09:48:49 +0000 (09:48 +0000)]
Post-release version bump
2007-07-13 Juerg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
svn path=/trunk/; revision=357
Juerg Billeter [Fri, 13 Jul 2007 09:46:45 +0000 (09:46 +0000)]
update for 0.1.1 release
2007-07-13 Juerg Billeter <j@bitron.ch>
* NEWS: update for 0.1.1 release
svn path=/trunk/; revision=355
Juerg Billeter [Fri, 13 Jul 2007 09:27:38 +0000 (09:27 +0000)]
move iteration of throw statements, try statements, and catch clauses from
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
Juerg Billeter [Thu, 12 Jul 2007 22:59:59 +0000 (22:59 +0000)]
support multi- dimensional arrays
2007-07-13 Juerg Billeter <j@bitron.ch>
* vala/parser.y, gobject/valacodegenerator.vala: support multi-
dimensional arrays
svn path=/trunk/; revision=353
Juerg Billeter [Thu, 12 Jul 2007 12:36:46 +0000 (12:36 +0000)]
remove Error out parameters, use exceptions
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
Juerg Billeter [Thu, 12 Jul 2007 12:22:59 +0000 (12:22 +0000)]
support exception handling in constructors, avoid error when not using
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
Jürg Billeter [Thu, 12 Jul 2007 09:52:34 +0000 (09:52 +0000)]
allow delegates to throw exceptions
2007-07-12 Jürg Billeter <j@bitron.ch>
* vala/parser.y: allow delegates to throw exceptions
svn path=/trunk/; revision=350
Juerg Billeter [Thu, 12 Jul 2007 09:16:14 +0000 (09:16 +0000)]
allow construction methods to throw exceptions, fix issue with multiple
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
Juerg Billeter [Thu, 12 Jul 2007 08:40:09 +0000 (08:40 +0000)]
implement simple exception handling for expression and declaration
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
Juerg Billeter [Wed, 11 Jul 2007 16:19:45 +0000 (16:19 +0000)]
add substring method to the string type test substring method
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
Juerg Billeter [Wed, 11 Jul 2007 15:06:57 +0000 (15:06 +0000)]
support element access for strings test element access for strings
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
Juerg Billeter [Wed, 11 Jul 2007 14:23:50 +0000 (14:23 +0000)]
fix order in C header file test public delegate
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
Juerg Billeter [Wed, 11 Jul 2007 13:30:02 +0000 (13:30 +0000)]
call visit_end_full_expression for collection expression return array
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