Raffaele Sandrini [Sun, 24 Feb 2008 11:36:37 +0000 (11:36 +0000)]
add some interface documentation, patch by Johannes Schmid
2008-02-24 Raffaele Sandrini <raffaele@sandrini.ch>
* doc/vala/interfaces.xml: add some interface documentation,
patch by Johannes Schmid
svn path=/trunk/; revision=1046
Raffaele Sandrini [Sun, 24 Feb 2008 11:20:23 +0000 (11:20 +0000)]
fix Layout.get_size binding, fixes bug 518143 regenerated
2008-02-24 Raffaele Sandrini <raffaele@sandrini.ch>
* vapi/packages/pango/: fix Layout.get_size binding,
fixes bug 518143
* vapi/pango.vapi: regenerated
svn path=/trunk/; revision=1045
Raffaele Sandrini [Sun, 24 Feb 2008 10:25:46 +0000 (10:25 +0000)]
be quiet on zero errors and zero, fixes bug 516925
2008-02-24 Raffaele Sandrini <raffaele@sandrini.ch>
* compiler/valacompiler.vala: be quiet on zero errors and zero,
fixes bug 516925
svn path=/trunk/; revision=1044
Raffaele Sandrini [Sun, 24 Feb 2008 09:52:39 +0000 (09:52 +0000)]
fix array lengths with static fields, fixes bug 515211
2008-02-24 Raffaele Sandrini <raffaele@sandrini.ch>
* gobject/valaccodegenerator.vala: fix array lengths with static
fields, fixes bug 515211
svn path=/trunk/; revision=1043
Juerg Billeter [Sun, 24 Feb 2008 09:00:50 +0000 (09:00 +0000)]
support inner delegates
2008-02-24 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valaclass.vala, vala/valainterface.vala:
support inner delegates
svn path=/trunk/; revision=1042
Juerg Billeter [Sat, 23 Feb 2008 17:58:19 +0000 (17:58 +0000)]
support inner enums, support inner types in interfaces, fixes bug 518258
2008-02-23 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valaclass.vala, vala/valainterface.vala:
support inner enums, support inner types in interfaces,
fixes bug 518258
svn path=/trunk/; revision=1041
Juerg Billeter [Sat, 23 Feb 2008 17:49:14 +0000 (17:49 +0000)]
regenerated
2008-02-23 Juerg Billeter <j@bitron.ch>
* vapi/gconf-2.0.vapi, vapi/gdk-2.0.vapi, vapi/gdk-pixbuf-2.0.vapi,
vapi/gio-2.0.vapi, vapi/gnet-2.0.vapi, vapi/gnome-vfs-2.0.vapi,
vapi/gstreamer-0.10.vapi, vapi/gstreamer-audio-0.10.vapi,
vapi/gstreamer-base-0.10.vapi, vapi/gstreamer-pbutils-0.10.vapi,
vapi/gtk+-2.0.vapi, vapi/libglade-2.0.vapi, vapi/libgnome-menu.vapi,
vapi/libgnomeui-2.0.vapi, vapi/libnotify.vap, vapi/libsoup-2.2.vapi,
vapi/libsoup-2.4.vapi, vapi/poppler-glib.vapi: regenerated
svn path=/trunk/; revision=1040
Juerg Billeter [Sat, 23 Feb 2008 17:42:27 +0000 (17:42 +0000)]
fix support for instance delegates
2008-02-23 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: fix support for instance delegates
* vapigen/valagidlparser.vala: support instance delegates in
bindings generator
svn path=/trunk/; revision=1039
Raffaele Sandrini [Sat, 23 Feb 2008 17:32:28 +0000 (17:32 +0000)]
fix typo
2008-02-23 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/valaerrortype.vala: fix typo
svn path=/trunk/; revision=1038
Juerg Billeter [Sat, 23 Feb 2008 17:23:53 +0000 (17:23 +0000)]
fix D-Bus method calls and signal handlers, fixes bug 516194
2008-02-23 Juerg Billeter <j@bitron.ch>
* vala/valaformalparameter.vala,
gobject/valaccodeassignmentbinding.vala,
gobject/valaccodegeneratorinvocationexpression.vala: fix D-Bus
method calls and signal handlers, fixes bug 516194
svn path=/trunk/; revision=1037
Raffaele Sandrini [Sat, 23 Feb 2008 17:12:14 +0000 (17:12 +0000)]
fix handling of error type parameters in the gobject backend, fix creation
2008-02-23 Raffaele Sandrini <raffaele@sandrini.ch>
* gobject/valaccodegenerator.vala, vala/valaerrortype.vala: fix
handling of error type parameters in the gobject backend, fix
creation of GErrors outside of throws statements
* tests/exceptions.vala: test error cast
svn path=/trunk/; revision=1036
Raffaele Sandrini [Sat, 23 Feb 2008 15:15:46 +0000 (15:15 +0000)]
allow any error type to be cast implicitly to GLib.Error declare
2008-02-23 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/valaclass.vala, vala/valaerrortype.vala,
vala/valasymbolresolver.vala: allow any error type to be cast
implicitly to GLib.Error
* vapi/glib-2.0.vapi: declare GLib.Error as ErrorBase, random fixes
svn path=/trunk/; revision=1035
Juerg Billeter [Sat, 23 Feb 2008 13:20:40 +0000 (13:20 +0000)]
visit child nodes of object creation expressions for error types
2008-02-23 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: visit child nodes of object
creation expressions for error types
svn path=/trunk/; revision=1034
Juerg Billeter [Sat, 23 Feb 2008 12:50:55 +0000 (12:50 +0000)]
check whether delegate matches method, fixes bug 515617
2008-02-23 Juerg Billeter <j@bitron.ch>
* vala/valamethodtype.vala: check whether delegate matches method,
fixes bug 515617
svn path=/trunk/; revision=1033
Juerg Billeter [Sat, 23 Feb 2008 09:23:05 +0000 (09:23 +0000)]
fix Date.set_time_val call
2008-02-23 Juerg Billeter <j@bitron.ch>
* gen-project/valaprojectgenerator.vala: fix Date.set_time_val call
svn path=/trunk/; revision=1032
Juerg Billeter [Fri, 22 Feb 2008 09:34:55 +0000 (09:34 +0000)]
support no_array_length metadata attribute
2008-02-22 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: support no_array_length metadata
attribute
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix
gtk_tree_path_get_indices binding, fixes bug 515410
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1031
Juerg Billeter [Fri, 22 Feb 2008 09:30:23 +0000 (09:30 +0000)]
fix gtk_selection_data_set binding, fixes bug 515409
2008-02-22 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix gtk_selection_data_set binding,
fixes bug 515409
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1030
Juerg Billeter [Thu, 21 Feb 2008 21:53:26 +0000 (21:53 +0000)]
add g_date_strftime binding, fixes bug 514346
2008-02-21 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add g_date_strftime binding, fixes bug 514346
svn path=/trunk/; revision=1029
Juerg Billeter [Thu, 21 Feb 2008 21:45:32 +0000 (21:45 +0000)]
support delegate parameters in creation methods, fixes bug 513273
2008-02-21 Juerg Billeter <j@bitron.ch>
* vala/valamemorymanager.vala, vala/valaparenthesizedexpression.vala,
vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala,
gobject/valaccodegenerator.vala: support delegate parameters in
creation methods, fixes bug 513273
svn path=/trunk/; revision=1028
Juerg Billeter [Tue, 19 Feb 2008 20:06:09 +0000 (20:06 +0000)]
update to libsoup 2.3.2
2008-02-19 Juerg Billeter <j@bitron.ch>
* vapi/packages/libsoup-2.4/: update to libsoup 2.3.2
* vapi/libsoup-2.4.vapi: regenerated
svn path=/trunk/; revision=1027
Juerg Billeter [Tue, 19 Feb 2008 19:59:02 +0000 (19:59 +0000)]
update to gtksourceview 2.1.2
2008-02-19 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtksourceview-2.0/: update to gtksourceview 2.1.2
* vapi/gtksourceview-2.0.vapi: regenerated
svn path=/trunk/; revision=1026
Jürg Billeter [Tue, 19 Feb 2008 19:57:11 +0000 (19:57 +0000)]
update to libwnck 2.21.91
2008-02-19 Jürg Billeter <j@bitron.ch>
* vapi/packages/libwnck-1.0/: update to libwnck 2.21.91
svn path=/trunk/; revision=1025
Juerg Billeter [Tue, 19 Feb 2008 19:54:26 +0000 (19:54 +0000)]
update to gstreamer 0.10.17
2008-02-19 Juerg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/,
vapi/packages/gstreamer-interfaces-0.10/: update to
gstreamer 0.10.17
* vapi/gstreamer-0.10.vapi, vapi/gstreamer-interfaces-0.10.vapi:
regenerated
svn path=/trunk/; revision=1024
Juerg Billeter [Tue, 19 Feb 2008 19:49:38 +0000 (19:49 +0000)]
update to glib 2.15.5
2008-02-19 Juerg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/, vapi/packages/gio-unix-2.0/: update to
glib 2.15.5
* vapi/gio-2.0.vapi, vapi/gio-unix-2.0.vapi: regenerated
svn path=/trunk/; revision=1023
Juerg Billeter [Tue, 19 Feb 2008 19:27:25 +0000 (19:27 +0000)]
fix pango_layout_get_pixel_size binding
2008-02-19 Juerg Billeter <j@bitron.ch>
* vapi/packages/pango/: fix pango_layout_get_pixel_size binding
* vapi/pango.vapi: regenerated
svn path=/trunk/; revision=1022
Raffaele Sandrini [Tue, 19 Feb 2008 15:54:49 +0000 (15:54 +0000)]
change my email from rasa@gmx.ch to raffaele@sandrini.ch fix pervious
2008-02-19 Raffaele Sandrini <raffaele@sandrini.ch>
* AUTHORS, ccode/valaccodeelementaccess.vala,
ccode/valaccodemodifiers.vala, gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorclass.vala,
gobject/valaccodegeneratorinterface.vala,
gobject/valaccodegeneratorinvocationexpression.vala,
gobject/valaccodegeneratormemberaccess.vala,
gobject/valaccodegeneratormethod.vala,
gobject/valaccodegeneratorsignal.vala,
gobject/valaccodegeneratorsourcefile.vala,
gobject/valaccodegeneratorstruct.vala,
gobject/valainterfaceregisterfunction.vala, vala/valaarray.vala,
vala/valaarraycreationexpression.vala,
vala/valaattributeprocessor.vala, vala/valacharacterliteral.vala,
vala/valacodevisitor.vala, vala/valacreationmethod.vala,
vala/valadatatype.vala, vala/valaelementaccess.vala,
vala/valaformalparameter.vala, vala/valainterfacewriter.vala,
vala/valalockable.vala, vala/valalockstatement.vala,
vala/valamember.vala, vala/valamemorymanager.vala,
vala/valamethod.vala, vala/valasemanticanalyzer.vala,
vala/valatypesymbol.vala, vala/valaunresolvedtype.vala,
vapigen/valagidlparser.vala: change my email from rasa@gmx.ch
to raffaele@sandrini.ch
* ChangeLog: fix pervious ChangeLog entry
svn path=/trunk/; revision=1021
Raffaele Sandrini [Tue, 19 Feb 2008 15:40:07 +0000 (15:40 +0000)]
regenerated fix some methods and rename IOErrorEnum to IOError support
2008-02-19 Raffaele Sandrini <raffaele@sandrini.ch>
* vapi/gio-2.0.vapi: regenerated
* vapi/packages/gio-2.0/gio-2.0.metadata: fix some methods and rename
IOErrorEnum to IOError
* vapigen/valagidlparser.vala: support renaming of enums, check more
carefully whether an error formal parameter of a function is meant as
exception
svn path=/trunk/; revision=1020
Juerg Billeter [Mon, 18 Feb 2008 22:25:28 +0000 (22:25 +0000)]
add libusb bindings, patch by Evan Nemerson
2008-02-18 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/libusb.vapi: add libusb bindings,
patch by Evan Nemerson
svn path=/trunk/; revision=1019
Juerg Billeter [Mon, 18 Feb 2008 22:22:25 +0000 (22:22 +0000)]
fix g_signal_handlers_* bindings
2008-02-18 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix g_signal_handlers_* bindings
svn path=/trunk/; revision=1018
Juerg Billeter [Mon, 18 Feb 2008 22:12:20 +0000 (22:12 +0000)]
convert FileStream to instance_pos syntax
2008-02-18 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: convert FileStream to instance_pos syntax
svn path=/trunk/; revision=1017
Juerg Billeter [Mon, 18 Feb 2008 21:21:05 +0000 (21:21 +0000)]
support delegates throwing exceptions, patch by Andrea Del Signore, fixes
2008-02-18 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: support delegates throwing
exceptions, patch by Andrea Del Signore, fixes bug 517024
svn path=/trunk/; revision=1016
Juerg Billeter [Mon, 18 Feb 2008 15:18:51 +0000 (15:18 +0000)]
update to use vala-gen-introspect
2008-02-18 Juerg Billeter <j@bitron.ch>
* vapi/packages/gnet-2.0/: update to use vala-gen-introspect
* vapi/gnet-2.0.vapi: regenerated
svn path=/trunk/; revision=1015
Juerg Billeter [Mon, 18 Feb 2008 11:38:59 +0000 (11:38 +0000)]
fix GObjectClass binding
2008-02-18 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix GObjectClass binding
svn path=/trunk/; revision=1014
Juerg Billeter [Sat, 16 Feb 2008 12:23:55 +0000 (12:23 +0000)]
support [NoArrayLength] attribute for delegates
2008-02-16 Juerg Billeter <j@bitron.ch>
* vala/valadelegate.vala, gobject/valaccodegenerator.vala: support
[NoArrayLength] attribute for delegates
svn path=/trunk/; revision=1013
Juerg Billeter [Fri, 15 Feb 2008 12:29:20 +0000 (12:29 +0000)]
write cheader_filename for namespace methods
2008-02-15 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: write cheader_filename for
namespace methods
* vapi/: regenerated bindings, fixes bug 514350
svn path=/trunk/; revision=1012
Juerg Billeter [Fri, 15 Feb 2008 12:08:48 +0000 (12:08 +0000)]
generate casts for property assignments where necessary, fixes bug 511732
2008-02-15 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeassignmentbinding.vala,
gobject/valaccodegenerator.vala: generate casts for property
assignments where necessary, fixes bug 511732
svn path=/trunk/; revision=1011
Juerg Billeter [Fri, 15 Feb 2008 11:26:50 +0000 (11:26 +0000)]
fix memory management of parameters with ownership transfer, fixes bug
2008-02-15 Juerg Billeter <j@bitron.ch>
* vala/valamethod.vala, vala/valasemanticanalyzer.vala,
gobject/valaccodegenerator.vala: fix memory management of
parameters with ownership transfer, fixes bug 511642
svn path=/trunk/; revision=1010
Juerg Billeter [Thu, 14 Feb 2008 17:03:21 +0000 (17:03 +0000)]
avoid testing floating point numbers for equality, fixes bug 516259
2008-02-14 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: avoid testing floating point
numbers for equality, fixes bug 516259
svn path=/trunk/; revision=1009
Juerg Billeter [Tue, 12 Feb 2008 18:51:16 +0000 (18:51 +0000)]
visit error domains, fixes bug 515828
2008-02-12 Juerg Billeter <j@bitron.ch>
* vala/valanamespace.vala: visit error domains, fixes bug 515828
svn path=/trunk/; revision=1008
Juerg Billeter [Tue, 12 Feb 2008 18:42:59 +0000 (18:42 +0000)]
fix gdk_window_get_origin binding fix gtk_spin_button_get_range binding
2008-02-12 Juerg Billeter <j@bitron.ch>
* vapi/packages/gdk-2.0/: fix gdk_window_get_origin binding
* vapi/packages/gtk+-2.0/: fix gtk_spin_button_get_range binding
* vapi/gdk-2.0.vapi, vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1007
Juerg Billeter [Tue, 12 Feb 2008 18:00:47 +0000 (18:00 +0000)]
fix crash when using prefix increment in element access expression, fixes
2008-02-12 Juerg Billeter <j@bitron.ch>
* vala/valaelementaccess.vala: fix crash when using prefix
increment in element access expression, fixes bug 515733
svn path=/trunk/; revision=1006
Juerg Billeter [Tue, 12 Feb 2008 17:39:06 +0000 (17:39 +0000)]
fix using instance methods as delegates in the constructor
2008-02-12 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix using instance methods as
delegates in the constructor
svn path=/trunk/; revision=1005
Juerg Billeter [Tue, 12 Feb 2008 17:30:53 +0000 (17:30 +0000)]
support signal handlers with struct parameters
2008-02-12 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeassignmentbinding.vala: support signal handlers
with struct parameters
svn path=/trunk/; revision=1004
Juerg Billeter [Sat, 9 Feb 2008 18:56:19 +0000 (18:56 +0000)]
support GType properties, patch by Ali Sabil
2008-02-09 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinterface.vala: support GType
properties, patch by Ali Sabil
svn path=/trunk/; revision=1003
Juerg Billeter [Sat, 9 Feb 2008 13:29:42 +0000 (13:29 +0000)]
remove static modifier from GSourceFunc binding
2008-02-09 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: remove static modifier from GSourceFunc
binding
svn path=/trunk/; revision=1002
Juerg Billeter [Fri, 8 Feb 2008 19:23:24 +0000 (19:23 +0000)]
support delegates with array and struct parameters, fixes bug 515202
2008-02-08 Juerg Billeter <j@bitron.ch>
* vala/valaattributeprocessor.vala, gobject/valaccodegenerator.vala:
support delegates with array and struct parameters,
fixes bug 515202
* vapi/glib-2.0.vapi: fix GSignalEmissionHook binding
svn path=/trunk/; revision=1001
Juerg Billeter [Fri, 8 Feb 2008 16:19:43 +0000 (16:19 +0000)]
fix use of uninitialized variables and mixed declaration and code, patch
2008-02-08 Juerg Billeter <j@bitron.ch>
* vala/parser.y: fix use of uninitialized variables and mixed
declaration and code, patch by Vlad Grecescu, fixes bug 515166
svn path=/trunk/; revision=1000
Juerg Billeter [Fri, 8 Feb 2008 16:09:07 +0000 (16:09 +0000)]
fix message ownership issues
2008-02-08 Juerg Billeter <j@bitron.ch>
* vapi/packages/libsoup-2.2/: fix message ownership issues
* vapi/libsoup-2.2.vapi: regenerated
svn path=/trunk/; revision=999
Juerg Billeter [Fri, 8 Feb 2008 16:04:00 +0000 (16:04 +0000)]
add missing attributes to GType binidng for use as property or signal
2008-02-08 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add missing attributes to GType binidng for
use as property or signal parameter
svn path=/trunk/; revision=998
Juerg Billeter [Fri, 8 Feb 2008 12:49:20 +0000 (12:49 +0000)]
remove obsolete code used for reference-type structs
2008-02-08 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorstruct.vala: remove obsolete code used
for reference-type structs
svn path=/trunk/; revision=997
Juerg Billeter [Fri, 8 Feb 2008 12:01:30 +0000 (12:01 +0000)]
renamed from WebKitGtk and updated to current svn trunk
2008-02-08 Juerg Billeter <j@bitron.ch>
* vapi/packages/webkit-1.0/: renamed from WebKitGtk and updated to
current svn trunk
* vapi/webkit-1.0.vapi: regenerated
* vapi/Makefile.am: updated
svn path=/trunk/; revision=996
Juerg Billeter [Fri, 8 Feb 2008 10:35:09 +0000 (10:35 +0000)]
add taglib bindings, patch by Andreas Brauchli
2008-02-08 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/taglib_c.vapi: add taglib bindings,
patch by Andreas Brauchli
svn path=/trunk/; revision=995
Juerg Billeter [Thu, 7 Feb 2008 22:05:57 +0000 (22:05 +0000)]
fix GtkWidget.window binding, fixes bug 510026
2008-02-07 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix GtkWidget.window
binding, fixes bug 510026
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=994
Juerg Billeter [Thu, 7 Feb 2008 21:50:16 +0000 (21:50 +0000)]
Support element access for pointers, fixes bug 512869
2008-02-07 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Support element access for pointers, fixes bug 512869
svn path=/trunk/; revision=993
Juerg Billeter [Thu, 7 Feb 2008 21:35:50 +0000 (21:35 +0000)]
Support delete operator for pointers, fixes bug 512868
2008-02-07 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/parser.y, vala/scanner.l,
vala/valacodecontext.vala, vala/valacodegenerator.vala,
vala/valacodevisitor.vala, vala/valadeletestatement.vala,
vala/valainterfacewriter.vala, vala/valasemanticanalyzer.vala,
gobject/valaccodegenerator.vala:
Support delete operator for pointers, fixes bug 512868
* vapi/gio-2.0.vapi, vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=992
Juerg Billeter [Thu, 7 Feb 2008 17:36:38 +0000 (17:36 +0000)]
allow pointer arithmetic
2008-02-07 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: allow pointer arithmetic
svn path=/trunk/; revision=991
Juerg Billeter [Thu, 7 Feb 2008 16:13:17 +0000 (16:13 +0000)]
fix gtk_tree_model_iter_nth_child binding, fixes bug 514869
2008-02-07 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix
gtk_tree_model_iter_nth_child binding, fixes bug 514869
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=990
Juerg Billeter [Thu, 7 Feb 2008 15:48:07 +0000 (15:48 +0000)]
Separate errordomain from enum declaration, fixes bug 512616
2008-02-07 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/parser.y, vala/scanner.l, vala/vala.h,
vala/valacodecontext.vala, vala/valacodegenerator.vala,
vala/valacodevisitor.vala, vala/valaenum.vala,
vala/valaerrorcode.vala, vala/valaerrordomain.vala,
vala/valaerrortype.vala, vala/valainterfacewriter.vala,
vala/valanamespace.vala, vala/valasemanticanalyzer.vala,
gobject/valaccodegenerator.vala, tests/exceptions.vala:
Separate errordomain from enum declaration, fixes bug 512616
svn path=/trunk/; revision=989
Juerg Billeter [Thu, 7 Feb 2008 12:18:59 +0000 (12:18 +0000)]
use 0 as array length when array is a null literal
2008-02-07 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: use 0 as array length when array
is a null literal
* vapigen/valagidlparser.vala: add basic array length support
* vapi/cairo.vapi: fix some array length parameters
* vapi/atk.vapi, vapi/gconf-2.0.vapi, vapi/gdk-2.0.vapi,
vapi/gdk-pixbuf-2.0.vapi, vapi/gio-2.0.vapi,
vapi/gnome-desktop-2.0.vapi, vapi/gstreamer-0.10.vapi,
vapi/gstreamer-audio-0.10.vapi, vapi/gstreamer-check-0.10.vapi,
vapi/gstreamer-netbuffer-0.10.vapi, vapi/gtk+-2.0.vapi,
vapi/libgnome-2.0.vapi, vapi/libgnomeui-2.0.vapi, vapi/libnotify.vapi,
vapi/libsoup-2.2.vapi, vapi/libsoup-2.4.vapi, vapi/pango.vapi,
vapi/vte.vapi: regenerated
svn path=/trunk/; revision=988
Juerg Billeter [Thu, 7 Feb 2008 08:40:56 +0000 (08:40 +0000)]
fix some array length parameters
2008-02-07 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix some array length parameters
svn path=/trunk/; revision=987
Juerg Billeter [Thu, 7 Feb 2008 08:06:13 +0000 (08:06 +0000)]
vapi/packages/gtk+-2.0/: set array_length_pos for init methods
2008-02-07 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi, vapi/packages/gstreamer-0.10/:
vapi/packages/gtk+-2.0/: set array_length_pos for init methods
* vapi/gstreamer-0.10.vapi, vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=986
Juerg Billeter [Thu, 7 Feb 2008 08:00:07 +0000 (08:00 +0000)]
fix properties and signals in vapigen
2008-02-07 Juerg Billeter <j@bitron.ch>
* vala/valasignal.vala, vapigen/valagidlparser.vala: fix properties
and signals in vapigen
svn path=/trunk/; revision=985
Juerg Billeter [Wed, 6 Feb 2008 23:40:45 +0000 (23:40 +0000)]
create wrapper functions for methods used as delegates to fix parameter
2008-02-07 Juerg Billeter <j@bitron.ch>
* vala/valadelegate.vala, gobject/valaccodegenerator.vala,
tests/delegates.vala: create wrapper functions for methods used as
delegates to fix parameter order
svn path=/trunk/; revision=984
Juerg Billeter [Wed, 6 Feb 2008 23:18:01 +0000 (23:18 +0000)]
create wrapper functions for signal handlers to support public signal
2008-02-07 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala, vala/valasignal.vala,
gobject/valaccodeassignmentbinding.vala,
gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinvocationexpression.vala,
gobject/valaccodegeneratorsourcefile.vala,
tests/classes-properties.vala, vapi/glib-2.0.vapi: create wrapper
functions for signal handlers to support public signal handlers,
fixes bug 508834
svn path=/trunk/; revision=983
Juerg Billeter [Wed, 6 Feb 2008 16:55:33 +0000 (16:55 +0000)]
Support flexible position of array length and delegate target parameters,
2008-02-06 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valaarrayresizemethod.vala,
vala/valaattribute.vala, vala/valaattributeprocessor.vala,
vala/valacodecontext.vala, vala/valadelegate.vala,
vala/valaformalparameter.vala, vala/valainterfacewriter.vala,
vala/valamethod.vala, vala/valasemanticanalyzer.vala,
gobject/valaccodegeneratorinvocationexpression.vala,
gobject/valaccodegeneratormethod.vala:
Support flexible position of array length and delegate target
parameters, fixes bug 508831 and bug 513089
* vapi/glib-2.0.vapi: update
svn path=/trunk/; revision=982
Juerg Billeter [Tue, 5 Feb 2008 21:44:03 +0000 (21:44 +0000)]
implement get_symbols method, based on patch by Andreas Brauchli, fixes
2008-02-05 Juerg Billeter <j@bitron.ch>
* vala/valapointertype.vala: implement get_symbols method,
based on patch by Andreas Brauchli, fixes bug 514008
svn path=/trunk/; revision=981
Juerg Billeter [Tue, 5 Feb 2008 21:24:48 +0000 (21:24 +0000)]
support default values for properties, fixes bug 437434
2008-02-05 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valaclass.vala, vala/valaproperty.vala,
gobject/valaccodegeneratorinterface.vala: support default values
for properties, fixes bug 437434
svn path=/trunk/; revision=980
Juerg Billeter [Tue, 5 Feb 2008 20:28:44 +0000 (20:28 +0000)]
support non-simple struct as signal parameter type
2008-02-05 Juerg Billeter <j@bitron.ch>
* vala/valastruct.vala, gobject/valaccodegeneratorsignal.vala:
support non-simple struct as signal parameter type
svn path=/trunk/; revision=979
Juerg Billeter [Tue, 5 Feb 2008 20:07:32 +0000 (20:07 +0000)]
fix critical when using interface properties
2008-02-05 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix critical when using interface
properties
svn path=/trunk/; revision=978
Juerg Billeter [Tue, 5 Feb 2008 20:05:00 +0000 (20:05 +0000)]
add support for private property accessors
2008-02-05 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valaexpression.vala,
vala/valapropertyaccessor.vala, vala/valasemanticanalyzer.vala,
gobject/valaccodegenerator.vala: add support for private property
accessors
svn path=/trunk/; revision=977
Juerg Billeter [Tue, 5 Feb 2008 18:59:17 +0000 (18:59 +0000)]
build control flow graph for property accessors
2008-02-05 Juerg Billeter <j@bitron.ch>
* vala/valacfgbuilder.vala, vala/valapropertyaccessor.vala: build
control flow graph for property accessors
svn path=/trunk/; revision=976
Juerg Billeter [Tue, 5 Feb 2008 18:54:51 +0000 (18:54 +0000)]
remove unreachable return statements
2008-02-05 Juerg Billeter <j@bitron.ch>
* gee/hashmap.vala, gee/readonlycollection.vala, gee/readonlylist.vala,
gee/readonlymap.vala, gee/readonlyset.vala: remove unreachable
return statements
svn path=/trunk/; revision=975
Juerg Billeter [Tue, 5 Feb 2008 18:45:05 +0000 (18:45 +0000)]
assume that control flow ends when invoking a method with the [NoReturn]
2008-02-05 Juerg Billeter <j@bitron.ch>
* vala/valacfgbuilder.vala: assume that control flow ends when
invoking a method with the [NoReturn] attribute
* vapi/glib-2.0.vapi: add [NoReturn] to assert_not_reached
svn path=/trunk/; revision=974
Juerg Billeter [Tue, 5 Feb 2008 15:49:23 +0000 (15:49 +0000)]
set tree_can_fail for assignments that can fail
2008-02-05 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: set tree_can_fail for assignments
that can fail
svn path=/trunk/; revision=973
Juerg Billeter [Tue, 5 Feb 2008 15:12:10 +0000 (15:12 +0000)]
support for statements without condition, fixes bug 514548
2008-02-05 Juerg Billeter <j@bitron.ch>
* vala/valacfgbuilder.vala, vala/valaforstatement.vala,
vala/valasemanticanalyzer.vala, gobject/valaccodegenerator.vala:
support for statements without condition, fixes bug 514548
svn path=/trunk/; revision=972
Juerg Billeter [Tue, 5 Feb 2008 10:39:54 +0000 (10:39 +0000)]
support addressof expressions for reference types, fixes bug 514495
2008-02-05 Juerg Billeter <j@bitron.ch>
* vala/valapointertype.vala, vala/valasemanticanalyzer.vala: support
addressof expressions for reference types, fixes bug 514495
svn path=/trunk/; revision=971
Juerg Billeter [Tue, 5 Feb 2008 08:04:49 +0000 (08:04 +0000)]
fix crash when casting an invalid expression, fixes bug 514331
2008-02-05 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix crash when casting an invalid
expression, fixes bug 514331
svn path=/trunk/; revision=970
Juerg Billeter [Tue, 5 Feb 2008 00:13:47 +0000 (00:13 +0000)]
improve error reporting for methods missing the return type, fixes bug
2008-02-05 Juerg Billeter <j@bitron.ch>
* vala/valaclass.vala, vala/valastruct.vala: improve error reporting
for methods missing the return type, fixes bug 514344
svn path=/trunk/; revision=969
Juerg Billeter [Mon, 4 Feb 2008 23:52:32 +0000 (23:52 +0000)]
fix error message for invalid symbols, fixes bug 514329
2008-02-05 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix error message for invalid
symbols, fixes bug 514329
svn path=/trunk/; revision=968
Juerg Billeter [Mon, 4 Feb 2008 23:41:00 +0000 (23:41 +0000)]
improve error reporting for properties, fixes bug 514326
2008-02-05 Juerg Billeter <j@bitron.ch>
* vala/valaclass.vala: improve error reporting for properties,
fixes bug 514326
* tests/classes-properties.vala: fix test case
svn path=/trunk/; revision=967
Juerg Billeter [Mon, 4 Feb 2008 23:17:59 +0000 (23:17 +0000)]
don't use construction properties for classes not deriving from GObject,
2008-02-05 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeassignmentbinding.vala,
gobject/valaccodegenerator.vala: don't use construction properties
for classes not deriving from GObject, fixes bug 514323
svn path=/trunk/; revision=966
Juerg Billeter [Mon, 4 Feb 2008 22:47:22 +0000 (22:47 +0000)]
don't crash when using delegate properties, fixes bug 514261
2008-02-04 Juerg Billeter <j@bitron.ch>
* vala/valadatatype.vala, vala/valadelegatetype.vala,
gobject/valaccodeassignmentbinding.vala: don't crash when using
delegate properties, fixes bug 514261
svn path=/trunk/; revision=965
Juerg Billeter [Mon, 4 Feb 2008 22:27:25 +0000 (22:27 +0000)]
don't write C file in case of errors, fixes bug 514259
2008-02-04 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorsourcefile.vala: don't write C file in
case of errors, fixes bug 514259
svn path=/trunk/; revision=964
Juerg Billeter [Mon, 4 Feb 2008 21:52:51 +0000 (21:52 +0000)]
don't generate result variable when not using postconditions to avoid
2008-02-04 Juerg Billeter <j@bitron.ch>
* vala/valaclass.vala, vala/valainterface.vala, vala/valastruct.vala,
gobject/valaccodegeneratormethod.vala: don't generate result
variable when not using postconditions to avoid unnecessary name
conflicts with method parameters
svn path=/trunk/; revision=963
Juerg Billeter [Mon, 4 Feb 2008 21:49:11 +0000 (21:49 +0000)]
fix .vapi location without -d option
2008-02-04 Juerg Billeter <j@bitron.ch>
* compiler/valacompiler.vala: fix .vapi location without -d option
svn path=/trunk/; revision=962
Juerg Billeter [Mon, 4 Feb 2008 21:13:11 +0000 (21:13 +0000)]
add missing visit_expression call for assignments, fixes bug 514255
2008-02-04 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeassignmentbinding.vala: add missing
visit_expression call for assignments, fixes bug 514255
svn path=/trunk/; revision=961
Juerg Billeter [Sun, 3 Feb 2008 22:52:40 +0000 (22:52 +0000)]
add JSON-GLib bindings, patch by Ali Sabil
2008-02-03 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/json-glib-1.0.vapi,
vapi/packages/json-glib-1.0/: add JSON-GLib bindings,
patch by Ali Sabil
svn path=/trunk/; revision=960
Juerg Billeter [Sun, 3 Feb 2008 21:47:02 +0000 (21:47 +0000)]
move get_package_path method to libvala
2008-02-03 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/valacodecontext.vala,
compiler/valacompiler.vala, vapigen/valavapigen.vala: move
get_package_path method to libvala
svn path=/trunk/; revision=959
Raffaele Sandrini [Sun, 3 Feb 2008 21:22:28 +0000 (21:22 +0000)]
extend the array test with an array of structs declared through the "var"
2008-02-03 Raffaele Sandrini <raffaele@sandrini.ch>
* tests/arrays.vala: extend the array test with an array of structs
declared through the "var" keyword
* vala/valasemanticanalyzer.vala: fix a memory management bug with
arrays of struct elements
svn path=/trunk/; revision=958
Juerg Billeter [Sun, 3 Feb 2008 19:48:29 +0000 (19:48 +0000)]
set requires_null_check for nullable parameters, they're not local
2008-02-03 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: set requires_null_check for nullable
parameters, they're not local variables
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=957
Juerg Billeter [Sun, 3 Feb 2008 16:18:23 +0000 (16:18 +0000)]
accept carriage returns in source files
2008-02-03 Juerg Billeter <j@bitron.ch>
* vala/scanner.l: accept carriage returns in source files
svn path=/trunk/; revision=956
Juerg Billeter [Sat, 2 Feb 2008 15:44:11 +0000 (15:44 +0000)]
add missing return statement
2008-02-02 Juerg Billeter <j@bitron.ch>
* vala/valaproperty.vala: add missing return statement
svn path=/trunk/; revision=955
Raffaele Sandrini [Sat, 2 Feb 2008 15:37:11 +0000 (15:37 +0000)]
add very basic support for properties serving real (non fundamental)
2008-02-02 Raffaele Sandrini <raffaele@sandrini.ch>
* gobject/valaccodeassignmentbinding.vala
gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorclass.vala,
gobject/valaccodegeneratormemberaccess.vala,
gobject/valaccodegeneratormethod.vala, vala/valadatatype.vala: add
very basic support for properties serving real (non fundamental)
structs, they are unboxed and therefore not yet known by the GObject
type system when declared
svn path=/trunk/; revision=954
Juerg Billeter [Sat, 2 Feb 2008 14:13:16 +0000 (14:13 +0000)]
use --directory when writing vapi file
2008-02-02 Juerg Billeter <j@bitron.ch>
* compiler/valacompiler.vala: use --directory when writing vapi file
svn path=/trunk/; revision=953
Juerg Billeter [Sat, 2 Feb 2008 13:56:50 +0000 (13:56 +0000)]
remove basedir workaround used for backward compatibility, so that
2008-02-02 Juerg Billeter <j@bitron.ch>
* vala/valasourcefile.vala: remove basedir workaround used for
backward compatibility, so that --library without --basedir
works as expected
svn path=/trunk/; revision=952
Juerg Billeter [Sat, 2 Feb 2008 13:48:26 +0000 (13:48 +0000)]
regenerated
2008-02-02 Juerg Billeter <j@bitron.ch>
* vapi/atk.vapi, vapi/gdk-2.0.vapi, vapi/gio-2.0.vapi,
vapi/gnome-vfs-2.0.vapi, vapi/gstreamer-0.10.vapi,
vapi/gstreamer-audio-0.10.vapi, vapi/gstreamer-base-0.10.vapi,
vapi/gstreamer-interfaces-0.10.vapi, vapi/gstreamer-rtp-0.10.vapi,
vapi/gstreamer-tag-0.10.vapi, vapi/gtk+-2.0.vapi,
vapi/libglade-2.0.vapi, vapi/liboobs-1.vapi, vapi/libsoup-2.2.vapi,
vapi/libsoup-2.4.vapi, vapi/libwnck-1.0.vapi, vapi/pango.vapi,
vapi/vte.vapi, vapi/WebKitGtk.vapi: regenerated
svn path=/trunk/; revision=951
Juerg Billeter [Sat, 2 Feb 2008 13:40:06 +0000 (13:40 +0000)]
improve support for virtual methods, based on patch by Michael Lawrence,
2008-02-02 Juerg Billeter <j@bitron.ch>
* gobject-introspection/gidl.vapi, vapigen/valagidlparser.vala:
improve support for virtual methods,
based on patch by Michael Lawrence, fixes bug 452019
svn path=/trunk/; revision=950
Juerg Billeter [Sat, 2 Feb 2008 12:39:35 +0000 (12:39 +0000)]
add gdk-x11-2.0 bindings, patch by Maciej Piechotka, fixes bug 510336
2008-02-02 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/packages/gdk-x11-2.0/, vapi/gdk-x11-2.0.deps,
vapi/gdk-x11-2.0.vapi: add gdk-x11-2.0 bindings,
patch by Maciej Piechotka, fixes bug 510336
svn path=/trunk/; revision=949
Juerg Billeter [Sat, 2 Feb 2008 12:21:04 +0000 (12:21 +0000)]
support [Description (nick = "foo", blurb = "bar")] attribute, based on
2008-02-02 Juerg Billeter <j@bitron.ch>
* vala/valaproperty.vala, gobject/valaccodegeneratorinterface.vala:
support [Description (nick = "foo", blurb = "bar")] attribute,
based on patch by Juan Carlos Girardi, fixes part of bug 437434
svn path=/trunk/; revision=948
Juerg Billeter [Fri, 1 Feb 2008 18:51:12 +0000 (18:51 +0000)]
report error when declaring static properties
2008-02-01 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valaproperty.vala, vala/valasemanticanalyzer.vala:
report error when declaring static properties
svn path=/trunk/; revision=947