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
Juerg Billeter [Fri, 1 Feb 2008 18:44:56 +0000 (18:44 +0000)]
report error for binary expressions with invalid operands, fixes bug
2008-02-01 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: report error for binary
expressions with invalid operands, fixes bug 513708
svn path=/trunk/; revision=946
Juerg Billeter [Fri, 1 Feb 2008 17:52:32 +0000 (17:52 +0000)]
fix crash when using general catch clause, fixes bug 513680
2008-02-01 Juerg Billeter <j@bitron.ch>
* vala/valacatchclause.vala, vala/valacfgbuilder.vala,
vala/valasemanticanalyzer.vala: fix crash when using general
catch clause, fixes bug 513680
svn path=/trunk/; revision=945
Juerg Billeter [Fri, 1 Feb 2008 17:43:25 +0000 (17:43 +0000)]
add basic support for exceptional control flow
2008-02-01 Juerg Billeter <j@bitron.ch>
* vala/valacfgbuilder.vala, vala/valatrystatement.vala: add basic
support for exceptional control flow
svn path=/trunk/; revision=944
Juerg Billeter [Fri, 1 Feb 2008 17:10:16 +0000 (17:10 +0000)]
fix typo in hex_digit
2008-02-01 Juerg Billeter <j@bitron.ch>
* vala/scanner.l: fix typo in hex_digit
svn path=/trunk/; revision=943
Juerg Billeter [Fri, 1 Feb 2008 16:59:58 +0000 (16:59 +0000)]
0-initialize temporary struct variables to avoid passing uninitialized
2008-02-01 Juerg Billeter <j@bitron.ch>
* ccode/valaccodevariabledeclarator.vala,
gobject/valaccodegenerator.vala: 0-initialize temporary struct
variables to avoid passing uninitialized structs by reference,
fixes bug 513144
svn path=/trunk/; revision=942
Juerg Billeter [Fri, 1 Feb 2008 13:58:14 +0000 (13:58 +0000)]
fix casts to delegate types
2008-02-01 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix casts to delegate types
svn path=/trunk/; revision=941
Juerg Billeter [Fri, 1 Feb 2008 13:56:01 +0000 (13:56 +0000)]
add more non-null warnings
2008-02-01 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valaarraytype.vala, vala/valadatatype.vala,
vala/valaintegertype.vala, vala/valanulltype.vala,
vala/valapointertype.vala, vala/valasemanticanalyzer.vala,
vala/valasymbolresolver.vala, vala/valaunresolvedtype.vala,
ccode/valaccodeassignment.vala, ccode/valaccodebinaryexpression.vala,
gobject/valaccodegenerator.vala: add more non-null warnings
svn path=/trunk/; revision=940
Juerg Billeter [Thu, 31 Jan 2008 12:31:42 +0000 (12:31 +0000)]
regenerated
2008-01-31 Juerg Billeter <j@bitron.ch>
* vapi/atk.vapi, vapi/gdk-pixbuf-2.0.vapi, vapi/gstreamer-0.10.vapi,
vapi/gstreamer-controller-0.10.vapi,
vapi/gstreamer-interfaces-0.10.vapi, vapi/gstreamer-rtsp-0.10.vapi,
vapi/gstreamer-video-0.10.vapi, vapi/gtk+-2.0.vapi,
vapi/poppler-glib.vapi: regenerated
svn path=/trunk/; revision=939
Juerg Billeter [Thu, 31 Jan 2008 12:25:13 +0000 (12:25 +0000)]
update to gnome-desktop 2.21.90
2008-01-31 Juerg Billeter <j@bitron.ch>
* vapi/packages/gnome-desktop-2.0/: update to gnome-desktop 2.21.90
* vapi/gnome-desktop-2.0.vapi: regenerated
svn path=/trunk/; revision=938
Juerg Billeter [Thu, 31 Jan 2008 11:10:25 +0000 (11:10 +0000)]
update to pango 1.19.3
2008-01-31 Juerg Billeter <j@bitron.ch>
* vapi/packages/pango/: update to pango 1.19.3
* vapi/pango.vapi: regenerated
svn path=/trunk/; revision=937
Juerg Billeter [Thu, 31 Jan 2008 10:54:06 +0000 (10:54 +0000)]
update to glib 2.15.4
2008-01-31 Juerg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/: update to glib 2.15.4
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=936
Juerg Billeter [Thu, 31 Jan 2008 10:47:17 +0000 (10:47 +0000)]
add libsoup-2.4 bindings
2008-01-31 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/libsoup-2.4.deps, vapi/libsoup-2.4.vapi,
vapi/packages/libsoup-2.4/: add libsoup-2.4 bindings
svn path=/trunk/; revision=935
Juerg Billeter [Wed, 30 Jan 2008 19:55:50 +0000 (19:55 +0000)]
add GBookmarkFile bindings, patch by Emmanuele Bassi, fixes bug 513059
2008-01-30 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add GBookmarkFile bindings,
patch by Emmanuele Bassi, fixes bug 513059
svn path=/trunk/; revision=934
Juerg Billeter [Wed, 30 Jan 2008 17:59:37 +0000 (17:59 +0000)]
add GSequence bindings, based on patch by Daniel Svensson, fixes bug
2008-01-30 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add GSequence bindings,
based on patch by Daniel Svensson, fixes bug 512938
svn path=/trunk/; revision=933
Juerg Billeter [Wed, 30 Jan 2008 17:24:33 +0000 (17:24 +0000)]
add gio-unix-2.0 bindings, based on patch by Mikael Hermansson, fixes bug
2008-01-30 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/gio-unix-2.0.deps, vapi/gio-unix-2.0.vapi,
vapi/packages/gio-unix-2.0/: add gio-unix-2.0 bindings,
based on patch by Mikael Hermansson, fixes bug 512926
svn path=/trunk/; revision=932
Juerg Billeter [Wed, 30 Jan 2008 17:08:48 +0000 (17:08 +0000)]
enhance GOption bindings, based on patch by Maciej Piechotka, fixes bug
2008-01-30 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: enhance GOption bindings,
based on patch by Maciej Piechotka, fixes bug 512840
svn path=/trunk/; revision=931
Juerg Billeter [Wed, 30 Jan 2008 16:38:04 +0000 (16:38 +0000)]
report error when using automatic properties in interfaces, fixes bug
2008-01-30 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: report error when using automatic
properties in interfaces, fixes bug 513157
svn path=/trunk/; revision=930
Juerg Billeter [Wed, 30 Jan 2008 16:29:25 +0000 (16:29 +0000)]
report error when trying to add instance fields to interfaces, fixes bug
2008-01-30 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: report error when trying to add
instance fields to interfaces, fixes bug 513152
svn path=/trunk/; revision=929
Juerg Billeter [Wed, 30 Jan 2008 16:01:16 +0000 (16:01 +0000)]
output # for properties transferring ownership
2008-01-30 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: output # for properties transferring
ownership
svn path=/trunk/; revision=928
Juerg Billeter [Wed, 30 Jan 2008 10:29:19 +0000 (10:29 +0000)]
default cname should be _init instead of _new for creation methods in
2008-01-30 Juerg Billeter <j@bitron.ch>
* vala/valacreationmethod.vala: default cname should be _init instead
of _new for creation methods in structs
svn path=/trunk/; revision=927
Juerg Billeter [Wed, 30 Jan 2008 06:38:00 +0000 (06:38 +0000)]
don't output overridden properties
2008-01-30 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: don't output overridden properties
svn path=/trunk/; revision=926
Juerg Billeter [Tue, 29 Jan 2008 23:21:32 +0000 (23:21 +0000)]
add WebKit bindings
2008-01-30 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/WebKitGtk.deps, vapi/WebKitGtk.vapi,
vapi/packages/WebKitGtk/: add WebKit bindings
svn path=/trunk/; revision=925
Juerg Billeter [Tue, 29 Jan 2008 20:29:22 +0000 (20:29 +0000)]
bind GString as GLib.StringBuilder to avoid confusion between string and
2008-01-29 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala, vapi/glib-2.0.vapi: bind GString
as GLib.StringBuilder to avoid confusion between string and String
svn path=/trunk/; revision=924