Juerg Billeter [Wed, 29 Aug 2007 09:42:37 +0000 (09:42 +0000)]
fix warnings on invalid code
2007-08-29 Juerg Billeter <j@bitron.ch>
* gobject/valadbusbindingprovider.vala: fix warnings on invalid code
svn path=/trunk/; revision=524
Juerg Billeter [Tue, 28 Aug 2007 19:05:29 +0000 (19:05 +0000)]
ensure that the error domains match when comparing two methods for
2007-08-28 Juerg Billeter <j@bitron.ch>
* vala/valamethod.vala: ensure that the error domains match when
comparing two methods for equality, fixes bug 465123
svn path=/trunk/; revision=523
Juerg Billeter [Tue, 28 Aug 2007 18:53:29 +0000 (18:53 +0000)]
generate warning about invalid property ids, fixes bug 463668
2007-08-28 Juerg Billeter <j@bitron.ch>
* ccode/valaccodeswitchstatement.vala,
gobject/valacodegeneratorclass.vala: generate warning about invalid
property ids, fixes bug 463668
svn path=/trunk/; revision=522
Mathias Hasselmann [Tue, 28 Aug 2007 15:17:45 +0000 (15:17 +0000)]
avoid crash on missing copy function, fixes bug 471063.
2007-08-28 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* gobject/valacodegenerator.vala: avoid crash on missing copy
function, fixes bug 471063.
svn path=/trunk/; revision=520
Marc-Andre Lureau [Tue, 28 Aug 2007 15:13:08 +0000 (15:13 +0000)]
doc: add vapigen and gidlgen manual pages
svn path=/trunk/; revision=519
Juerg Billeter [Tue, 28 Aug 2007 14:36:23 +0000 (14:36 +0000)]
update format as requested on desktop-devel
2007-08-28 Juerg Billeter <j@bitron.ch>
* MAINTAINERS: update format as requested on desktop-devel
svn path=/trunk/; revision=518
Juerg Billeter [Tue, 28 Aug 2007 14:22:57 +0000 (14:22 +0000)]
support custom field cname in generated VAPI file
2007-08-28 Juerg Billeter <j@bitron.ch>
* vala/valafield.vala, vala/valainterfacewriter.vala: support custom
field cname in generated VAPI file
* vapigen/valagidlparser.vala: add mode_t support
* vapi/glib-2.0.vala, vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala: add
some required stubs
* vapi/gconf-2.0.vala, vapi/packages/gconf-2.0/: add GConf bindings
* vapi/gnome-vfs-2.0.vala, vapi/packages/gnome-vfs-2.0/: add GnomeVFS
bindings
* vapi/libgnome-2.0.vala, vapi/packages/libgnome-2.0/: add libgnome
bindings
* vapi/libgnomeui-2.0.deps, vapi/libgnomeui-2.0.vala,
vapi/packages/libgnomeui-2.0/: add libgnomeui bindings
* vapi/libpanelapplet-2.0.deps, vapi/libpanelapplet-2.0.vala: add Panel
Applet bindings
* vapi/atk.vala, vapi/clutter-0.4.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/gtksourceview-2.0.vala, vapi/hildon-1.vala,
vapi/libglade-2.0.vala, vapi/libsoup-2.2.vala, vapi/libwnck-1.0.vala,
vapi/pango.vala, vapi/poppler-glib.vala, vapi/vte.vala: regenerated
* vapi/Makefile.am: updated
svn path=/trunk/; revision=517
Juerg Billeter [Tue, 28 Aug 2007 14:04:00 +0000 (14:04 +0000)]
add support for partial structs, patch by Mathias Hasselmann
2007-08-28 Juerg Billeter <j@bitron.ch>
* vala/parser.y: add support for partial structs,
patch by Mathias Hasselmann
* vapigen/valagidlparser.vala: support partial structs and classes in
-custom.vala files, fixes bug 470855
* vapi/gtk+-2.0.vala, vapi/packages/pango/pango-custom.vala,
vapi/pango.vala: updated
svn path=/trunk/; revision=516
Juerg Billeter [Tue, 28 Aug 2007 07:49:23 +0000 (07:49 +0000)]
move math functions to GLib VAPI, remove math.vala
2007-08-28 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/glib-2.0.vala, vapi/math.vala: move math
functions to GLib VAPI, remove math.vala
svn path=/trunk/; revision=515
Juerg Billeter [Tue, 28 Aug 2007 07:22:02 +0000 (07:22 +0000)]
support non-GObject classes, will replace reference-type structs
2007-08-28 Juerg Billeter <j@bitron.ch>
* vala/valaclass.vala, vala/valaenum.vala,
gobject/valacodegenerator.vala, gobject/valacodegeneratorclass.vala,
gobject/valacodegeneratorinterface.vala,
gobject/valacodegeneratormethod.vala: support non-GObject classes,
will replace reference-type structs
svn path=/trunk/; revision=514
Mathias Hasselmann [Mon, 27 Aug 2007 21:37:29 +0000 (21:37 +0000)]
reintroduce GtkWidgetFlags API
2007-08-27 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala,
vapi/gtk+-2.0.vala: reintroduce GtkWidgetFlags API
svn path=/trunk/; revision=513
Mathias Hasselmann [Mon, 27 Aug 2007 21:37:23 +0000 (21:37 +0000)]
fix signature of Pango.Language.to_string
2007-08-27 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/packages/pango/pango-custom.vala:
fix signature of Pango.Language.to_string
svn path=/trunk/; revision=512
Mathias Hasselmann [Mon, 27 Aug 2007 19:41:15 +0000 (19:41 +0000)]
include type-name in to_string result implement to_string method, fixes
2007-08-27 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vala/valacodenode.vala: include type-name in to_string result
* vala/valaunaryexpression.vala: implement to_string method,
fixes bug 470778
svn path=/trunk/; revision=511
Juerg Billeter [Mon, 27 Aug 2007 19:16:53 +0000 (19:16 +0000)]
update to Clutter 0.4.1, patch by Alberto Ruiz, fixes bug 470763
2007-08-27 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/clutter-0.3.deps, vapi/clutter-0.3.vala,
vapi/clutter-0.4.deps, vapi/clutter-0.4.vala,
vapi/packages/clutter-0.3/, vapi/packages/clutter-0.4/: update to
Clutter 0.4.1, patch by Alberto Ruiz, fixes bug 470763
svn path=/trunk/; revision=510
Juerg Billeter [Mon, 27 Aug 2007 19:04:22 +0000 (19:04 +0000)]
use .deps files to satisfy dependencies, patch by Alberto Ruiz, fixes bug
2007-08-27 Juerg Billeter <j@bitron.ch>
* vapigen/valavapigen.vala: use .deps files to satisfy dependencies,
patch by Alberto Ruiz, fixes bug 470756
* vapi/packages/clutter-0.3/clutter-0.3.deps,
vapi/packages/gnome-desktop-2.0/gnome-desktop-2.0.deps,
vapi/packages/gtksourceview-2.0/gtksourceview-2.0.deps,
vapi/packages/libglade-2.0/libglade-2.0.deps,
vapi/packages/libwnck-1.0/libwnck-1.0.deps: add missing dependencies
svn path=/trunk/; revision=509
Mathias Hasselmann [Mon, 27 Aug 2007 18:35:09 +0000 (18:35 +0000)]
add pango_layout_to_string. TODO: support partial classes in vapigen.
2007-08-27 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/packages/pango/pango-custom.vala, vapi/pango.vala:
add pango_layout_to_string. TODO: support partial classes in vapigen.
svn path=/trunk/; revision=508
Mathias Hasselmann [Mon, 27 Aug 2007 18:35:05 +0000 (18:35 +0000)]
change type of string length paramenters from int to long to be compliant
2007-08-27 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* vapi/enchant.vala: change type of string length paramenters from int
to long to be compliant with GLib.string.size ().
svn path=/trunk/; revision=507
Juerg Billeter [Mon, 27 Aug 2007 16:36:37 +0000 (16:36 +0000)]
ignore enum values to avoid some pattern matching issues
2007-08-27 Juerg Billeter <j@bitron.ch>
* vapigen/gidlgen/gapi2xml.pl: ignore enum values to avoid some pattern
matching issues
* vapi/Makefile.am, vapi/packages/poppler-glib/, vapi/poppler-glib.deps,
vapi/poppler-glib.vala: add poppler bindings, patch by Alberto Ruiz,
fixes bug 468990
* vapi/packages/atk/atk.gidl, vapi/packages/gdk-2.0/gdk-2.0.gidl,
vapi/packages/gnome-desktop-2.0/gnome-desktop-2.0.gidl,
vapi/packages/gstreamer-0.10/gstreamer-0.10.gidl,
vapi/packages/gtk+-2.0/gtk+-2.0.gidl,
vapi/packages/libsoup-2.2/libsoup-2.2.gidl,
vapi/packages/libwnck-1.0/libwnck-1.0.gidl,
vapi/packages/pango/pango.gidl: regenerated
svn path=/trunk/; revision=506
Juerg Billeter [Mon, 27 Aug 2007 14:53:16 +0000 (14:53 +0000)]
add curses bindings, patch by Ed Schouten
2007-08-27 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/curses.vala: add curses bindings,
patch by Ed Schouten
svn path=/trunk/; revision=505
Juerg Billeter [Mon, 27 Aug 2007 14:46:38 +0000 (14:46 +0000)]
generate static get_type functions for non-public classes and interfaces,
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
Juerg Billeter [Mon, 27 Aug 2007 13:51:41 +0000 (13:51 +0000)]
use exceptions instead of GError parameters for generated bindings, based
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
Juerg Billeter [Fri, 24 Aug 2007 18:23:29 +0000 (18:23 +0000)]
fix generated string out and string array parameters add g_listenv
2007-08-24 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.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/libsoup-2.2.vala,
vapi/packages/gdk-2.0/gdk-2.0.metadata,
vapi/packages/gio-standalone/gio-standalone.metadata,
vapi/packages/gnome-desktop-2.0/gnome-desktop-2.0.metadata,
vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata,
vapi/packages/gtk+-2.0/gtk+-2.0.metadata,
vapi/packages/vte/vte.metadata, vapi/pango.vala, vapi/vte.vala:
fix generated string out and string array parameters
* vapi/glib-2.0.vala: add g_listenv
svn path=/trunk/; revision=502
Juerg Billeter [Fri, 24 Aug 2007 14:33:35 +0000 (14:33 +0000)]
add GNOME Desktop Library bindings
2007-08-24 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala, vapi/Makefile.am,
vapi/gnome-desktop-2.0.vala, vapi/packages/gnome-desktop-2.0/: add
GNOME Desktop Library bindings
svn path=/trunk/; revision=501
Juerg Billeter [Fri, 24 Aug 2007 14:14:50 +0000 (14:14 +0000)]
fix array fields of Gtk.Style, fixes bug 463959 add g_get_user_data_dir
2007-08-24 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala, vapi/gtk+-2.0.vala,
vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix array fields of
Gtk.Style, fixes bug 463959
* vapi/glib-2.0.vala: add g_get_user_data_dir
svn path=/trunk/; revision=500
Juerg Billeter [Fri, 24 Aug 2007 07:18:59 +0000 (07:18 +0000)]
recognize unsigned and unsigned-int types add libwnck bindings
2007-08-24 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: recognize unsigned and unsigned-int types
* vapi/Makefile.am, vapi/libwnck-1.0.vala, vapi/packages/libwnck-1.0/:
add libwnck bindings
svn path=/trunk/; revision=499
Juerg Billeter [Fri, 24 Aug 2007 07:10:26 +0000 (07:10 +0000)]
write dup_function and free_function attribute values recognize ref,
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
Juerg Billeter [Tue, 21 Aug 2007 11:35:19 +0000 (11:35 +0000)]
fix typo, patch by Piotr Skamruk
2007-08-21 Juerg Billeter <j@bitron.ch>
* vapi/libxml-2.0.vala: fix typo, patch by Piotr Skamruk
svn path=/trunk/; revision=497
Juerg Billeter [Tue, 21 Aug 2007 11:23:08 +0000 (11:23 +0000)]
add array length argument when passing null as array argument, fixes bug
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
Juerg Billeter [Tue, 21 Aug 2007 10:51:08 +0000 (10:51 +0000)]
fix build system to pass distcheck, based on patch by Nicolas Trangez,
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
Juerg Billeter [Tue, 21 Aug 2007 10:00:47 +0000 (10:00 +0000)]
support --directory option, use basename of input filenames, patch by
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
Mathias Hasselmann [Tue, 21 Aug 2007 07:40:14 +0000 (07:40 +0000)]
consider switch statements when releasing local variables, fixes bug
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
Mathias Hasselmann [Tue, 21 Aug 2007 07:37:54 +0000 (07:37 +0000)]
Add bug number to encourage use of Bugzilla.
svn path=/trunk/; revision=492
Juerg Billeter [Mon, 20 Aug 2007 21:52:07 +0000 (21:52 +0000)]
fix memory management for throw statements, fixes bug 465071
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
Mathias Hasselmann [Mon, 20 Aug 2007 21:30:39 +0000 (21:30 +0000)]
Add test for prefix increments in while loops: do { } while (++i < x);
2007-08-20 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* tests/test-027.*: Add test for prefix increments
in while loops: do { } while (++i < x);
svn path=/trunk/; revision=490
Mathias Hasselmann [Mon, 20 Aug 2007 21:23:00 +0000 (21:23 +0000)]
support C# like as operator test the as operator
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
Juerg Billeter [Mon, 20 Aug 2007 20:00:35 +0000 (20:00 +0000)]
support cheader_filename attribute, fixes bug 464988
2007-08-20 Juerg Billeter <j@bitron.ch>
* vala/valafield.vala: support cheader_filename attribute,
fixes bug 464988
svn path=/trunk/; revision=488
Juerg Billeter [Mon, 20 Aug 2007 19:05:47 +0000 (19:05 +0000)]
fix initialization of external variables
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
Juerg Billeter [Mon, 20 Aug 2007 16:42:47 +0000 (16:42 +0000)]
support namespace fields and public static class fields, fixes bug 464985
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
Raffaele Sandrini [Mon, 20 Aug 2007 14:48:27 +0000 (14:48 +0000)]
enclose prefix increment and decrement unary expressions transformend to
2007-08-20 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/valasemanticanalyzer.vala: enclose prefix increment and decrement unary
expressions transformend to binary expressions into parenthesis
svn path=/trunk/; revision=485
Juerg Billeter [Mon, 20 Aug 2007 13:33:26 +0000 (13:33 +0000)]
report error and fix critical to prevent private members in namespaces
2007-08-20 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: report error and fix critical to
prevent private members in namespaces
svn path=/trunk/; revision=484
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