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
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