Mathias Hasselmann [Sun, 19 Aug 2007 22:03:31 +0000 (22:03 +0000)]
also use _vala_array_free to release string arrays as g_strfreev cannot
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
Mathias Hasselmann [Sun, 19 Aug 2007 22:03:24 +0000 (22:03 +0000)]
move code generation for _vala_array_free and _vala_array_move into
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
Mathias Hasselmann [Sun, 19 Aug 2007 22:03:19 +0000 (22:03 +0000)]
terminate array initializer with NULL sentinal to make destructors like
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
Mathias Hasselmann [Sat, 18 Aug 2007 09:43:15 +0000 (09:43 +0000)]
erm, well.. also should install enchant.vala
2007-08-18 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/Makefile.am: erm, well.. also should install enchant.vala
svn path=/trunk/; revision=479
Mathias Hasselmann [Sat, 18 Aug 2007 09:26:55 +0000 (09:26 +0000)]
test for libenchant introducing some echant bindings test enchant bindings
2007-08-18 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* configure.ac: test for libenchant
* vapi/enchant.vala: introducing some echant bindings
* tests/Makefile.am, tests/testenchant.vala: test enchant bindings
svn path=/trunk/; revision=478
Mathias Hasselmann [Fri, 17 Aug 2007 10:59:19 +0000 (10:59 +0000)]
revert last change: the field really is called "signal" name as figured
2007-08-17 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/libglade-2.0.vala: revert last change: the field
really is called "signal" name as figured out by gidlgen -
for almost five years now
svn path=/trunk/; revision=477
Mathias Hasselmann [Fri, 17 Aug 2007 10:44:44 +0000 (10:44 +0000)]
use correct name for signal_name, patch by Francisco Camenforte Torres
2007-08-17 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/libglade-2.0.vala: use correct name for
signal_name, patch by Francisco Camenforte Torres
svn path=/trunk/; revision=476
Mathias Hasselmann [Thu, 16 Aug 2007 22:04:33 +0000 (22:04 +0000)]
apply changes in the output of vapigen caused by the sentinel attribute
2007-08-17 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/gtk+-2.0.vala: apply changes in the output
of vapigen caused by the sentinel attribute patch
svn path=/trunk/; revision=475
Mathias Hasselmann [Thu, 16 Aug 2007 21:47:17 +0000 (21:47 +0000)]
consider sentinel information provide sentinel information for functions
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
Mathias Hasselmann [Thu, 16 Aug 2007 21:47:08 +0000 (21:47 +0000)]
properly inform vapigen about the ellipsis off
2007-08-16 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: properly inform vapigen
about the ellipsis off gtk_cell_layout_set_attributes and
gtk_tree_view_column_set_attributes
svn path=/trunk/; revision=473
Raffaele Sandrini [Thu, 16 Aug 2007 14:44:58 +0000 (14:44 +0000)]
add size property allow array creation with initializer list without
2007-08-16 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/valainitializerlist.vala: add size property
* vala/valasemanticanalyzer.vala: allow array creation with initializer
list without specifying the sizes e.g. "new t[] { a, b, c}"
svn path=/trunk/; revision=472
Mathias Hasselmann [Thu, 16 Aug 2007 13:03:16 +0000 (13:03 +0000)]
add String.printf and append_printf
2007-08-16 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: add String.printf and append_printf
svn path=/trunk/; revision=471
Mathias Hasselmann [Thu, 16 Aug 2007 13:03:11 +0000 (13:03 +0000)]
add signal handling API
2007-08-16 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: add signal handling API
svn path=/trunk/; revision=470
Raffaele Sandrini [Thu, 16 Aug 2007 09:21:55 +0000 (09:21 +0000)]
adapt visit initializer and visit array creation to external visitor check
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
Raffaele Sandrini [Wed, 15 Aug 2007 09:17:35 +0000 (09:17 +0000)]
create gee-1.0 vapi; this makes it possible to use the vala shipped libgee
2007-08-15 Raffaele Sandrini <raffaele@sandrini.ch>
* vapi/Makefile.am: create gee-1.0 vapi; this makes it possible to
use the vala shipped libgee copy without an separate installed
version of libgee i.e. it enables to run the tests without installed
libgee
svn path=/trunk/; revision=468
Mathias Hasselmann [Tue, 14 Aug 2007 20:47:19 +0000 (20:47 +0000)]
generate "throws" clause when needed
2007-08-14 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vala/valainterfacewriter.vala:
generate "throws" clause when needed
svn path=/trunk/; revision=467
Mathias Hasselmann [Tue, 14 Aug 2007 19:19:30 +0000 (19:19 +0000)]
do not pass non-existant packages to pkg-config
2007-08-14 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* gobject/valaccodecompiler.vala: do not pass non-existant
packages to pkg-config
svn path=/trunk/; revision=466
Mathias Hasselmann [Mon, 13 Aug 2007 19:59:00 +0000 (19:59 +0000)]
correct KeyFile accessors, reported by Arwed von Merkatz.
2007-08-13 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: correct KeyFile accessors,
reported by Arwed von Merkatz.
svn path=/trunk/; revision=465
Mathias Hasselmann [Mon, 13 Aug 2007 19:24:20 +0000 (19:24 +0000)]
use gdk_cursor_unref to release cursors, patch by Arwed von Merkatz.
2007-08-13 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/gdk-2.0.vala: use gdk_cursor_unref to release
cursors, patch by Arwed von Merkatz.
svn path=/trunk/; revision=464
Mathias Hasselmann [Mon, 13 Aug 2007 19:24:13 +0000 (19:24 +0000)]
install gstreamer-0.10.vala, reported by Arwed von Merkatz.
2007-08-13 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/Makefile.am: install gstreamer-0.10.vala,
reported by Arwed von Merkatz.
svn path=/trunk/; revision=463
Mathias Hasselmann [Mon, 13 Aug 2007 19:24:08 +0000 (19:24 +0000)]
Duh, it is GTK_WIDGET_SET_FLAGS, not gtk_widget_set_flags. Where is "svn
2007-08-13 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/gtk+-2.0.vala: Duh, it is GTK_WIDGET_SET_FLAGS,
not gtk_widget_set_flags. Where is "svn commit --amend"?
svn path=/trunk/; revision=462
Mathias Hasselmann [Mon, 13 Aug 2007 19:20:34 +0000 (19:20 +0000)]
adding Widget.set_flags.
2007-08-13 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/gtk+-2.0.vala: adding Widget.set_flags.
svn path=/trunk/; revision=461
Mathias Hasselmann [Mon, 13 Aug 2007 19:20:22 +0000 (19:20 +0000)]
listing dup and free function of PangoLayoutLine.
2007-08-13 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/pango.vala: listing dup and free function of PangoLayoutLine.
svn path=/trunk/; revision=460
Mathias Hasselmann [Mon, 13 Aug 2007 19:11:21 +0000 (19:11 +0000)]
adding Context.set_matrix and get_matrix.
2007-08-13 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/cairo.vala: adding Context.set_matrix and get_matrix.
svn path=/trunk/; revision=459
Mathias Hasselmann [Mon, 13 Aug 2007 17:21:26 +0000 (17:21 +0000)]
yet another attempt to deal with the notify signal.
2007-08-13 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: yet another attempt to deal
with the notify signal.
svn path=/trunk/; revision=458
Mathias Hasselmann [Mon, 13 Aug 2007 17:21:20 +0000 (17:21 +0000)]
avoid name clash between Object.notify method and signal. real solution
2007-08-12 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: avoid name clash between Object.notify
method and signal. real solution for that problem should be some
cleverness in the semantic analyser of vala.
svn path=/trunk/; revision=457
Mathias Hasselmann [Sun, 12 Aug 2007 00:24:26 +0000 (00:24 +0000)]
Type.name() returns a weak reference.
2007-08-12 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: Type.name() returns a weak reference.
svn path=/trunk/; revision=456
Mathias Hasselmann [Sat, 11 Aug 2007 23:47:21 +0000 (23:47 +0000)]
list ParamSpec fields
2007-08-12 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: list ParamSpec fields
svn path=/trunk/; revision=455
Mathias Hasselmann [Fri, 10 Aug 2007 22:38:49 +0000 (22:38 +0000)]
add Signal.stop_emission and Signal.stop_emission_by_name
2007-08-11 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: add Signal.stop_emission and
Signal.stop_emission_by_name
svn path=/trunk/; revision=454
Juerg Billeter [Thu, 9 Aug 2007 08:59:09 +0000 (08:59 +0000)]
add vfunc_name attribute, patch by Philip Van Hoof
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
Mathias Hasselmann [Wed, 8 Aug 2007 20:31:37 +0000 (20:31 +0000)]
provide --save-temps option keep generated C source and header files when
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
Juerg Billeter [Wed, 8 Aug 2007 19:40:12 +0000 (19:40 +0000)]
set G_DEBUG=fatal_warnings
2007-08-08 Juerg Billeter <j@bitron.ch>
* tests/testrunner.sh: set G_DEBUG=fatal_warnings
svn path=/trunk/; revision=451
Juerg Billeter [Wed, 8 Aug 2007 19:39:10 +0000 (19:39 +0000)]
don't crash on missing type arguments, fixes bug 464699
2007-08-08 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: don't crash on missing type arguments,
fixes bug 464699
svn path=/trunk/; revision=450
Mathias Hasselmann [Wed, 8 Aug 2007 18:52:22 +0000 (18:52 +0000)]
fix spelling of OptionFlags.FILENAME
2007-08-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: fix spelling of OptionFlags.FILENAME
svn path=/trunk/; revision=449
Juerg Billeter [Wed, 8 Aug 2007 18:29:23 +0000 (18:29 +0000)]
support passing C source files to the command line, patch by Nicolas
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
Mathias Hasselmann [Wed, 8 Aug 2007 14:31:58 +0000 (14:31 +0000)]
fix the signatures of some TreeModel and CellRenderer related methods
2007-08-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/gtk+-2.0.vala: fix the signatures of some TreeModel
and CellRenderer related methods
svn path=/trunk/; revision=447
Mathias Hasselmann [Wed, 8 Aug 2007 14:31:47 +0000 (14:31 +0000)]
fix the signature of Date.set_time_val
2007-08-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/glib-2.0.vala: fix the signature of Date.set_time_val
svn path=/trunk/; revision=446
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