Juerg Billeter [Mon, 31 Mar 2008 18:54:00 +0000 (18:54 +0000)]
fix output of enums with methods
2008-03-31 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: fix output of enums with methods
svn path=/trunk/; revision=1164
Juerg Billeter [Sun, 30 Mar 2008 19:09:57 +0000 (19:09 +0000)]
enhance support for pointer arithmetic
2008-03-30 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: enhance support for pointer
arithmetic
svn path=/trunk/; revision=1163
Juerg Billeter [Sat, 29 Mar 2008 12:04:37 +0000 (12:04 +0000)]
add support for static constructors, fixes bug 506985
2008-03-29 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valaclass.vala, vala/valaconstructor.vala,
gobject/valaccodegenerator.vala: add support for static
constructors, fixes bug 506985
svn path=/trunk/; revision=1162
Juerg Billeter [Mon, 24 Mar 2008 20:54:23 +0000 (20:54 +0000)]
add GDK_SELECTION_* bindings fix gtk_text_buffer_paste_clipboard binding
2008-03-24 Juerg Billeter <j@bitron.ch>
* vapi/packages/gdk-2.0/: add GDK_SELECTION_* bindings
* vapi/packages/gtk+-2.0/: fix gtk_text_buffer_paste_clipboard
binding
* vapi/gdk-2.0.vapi, vapi/gtk+-2.0.vapi: regenerated
Fixes bug 524176
svn path=/trunk/; revision=1161
Juerg Billeter [Mon, 24 Mar 2008 20:37:30 +0000 (20:37 +0000)]
fix crash on invalid collection expressions in foreach statements, fixes
2008-03-24 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix crash on invalid collection
expressions in foreach statements, fixes bug 524033
svn path=/trunk/; revision=1160
Juerg Billeter [Mon, 24 Mar 2008 20:27:54 +0000 (20:27 +0000)]
add missing public modifier, patch by Levi Bard, fixes bug 524192
2008-03-24 Juerg Billeter <j@bitron.ch>
* vapi/sdl.vapi: add missing public modifier,
patch by Levi Bard, fixes bug 524192
svn path=/trunk/; revision=1159
Juerg Billeter [Mon, 24 Mar 2008 20:14:14 +0000 (20:14 +0000)]
fix generated code for methods returning structs
2008-03-24 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala,
gobject/valaccodegeneratormethod.vala: fix generated code for
methods returning structs
svn path=/trunk/; revision=1158
Juerg Billeter [Sun, 23 Mar 2008 19:34:45 +0000 (19:34 +0000)]
inherit default value from base type
2008-03-23 Juerg Billeter <j@bitron.ch>
* vala/valastruct.vala: inherit default value from base type
svn path=/trunk/; revision=1157
Juerg Billeter [Sun, 23 Mar 2008 11:27:55 +0000 (11:27 +0000)]
add -v commandline option to improve error reporting, patch by Daniel
2008-03-23 Juerg Billeter <j@bitron.ch>
* vala/valareport.vala, vala/valasourcefile.vala,
compiler/valacompiler.vala: add -v commandline option to improve
error reporting, patch by Daniel Silverstone, fixes bug 522511
svn path=/trunk/; revision=1156
Juerg Billeter [Sun, 23 Mar 2008 10:26:29 +0000 (10:26 +0000)]
add metadata to fix some memory leaks and out parameters, fixes bug 523889
2008-03-23 Juerg Billeter <j@bitron.ch>
* vapi/packages/json-glib-1.0/: add metadata to fix some memory
leaks and out parameters, fixes bug 523889
* vapi/json-glib-1.0.vapi: regenerated
svn path=/trunk/; revision=1155
Juerg Billeter [Sun, 23 Mar 2008 10:22:35 +0000 (10:22 +0000)]
fix vapigen crash
2008-03-23 Juerg Billeter <j@bitron.ch>
* vala/valanamespace.vala: fix vapigen crash
svn path=/trunk/; revision=1154
Juerg Billeter [Sun, 23 Mar 2008 09:07:10 +0000 (09:07 +0000)]
enhance GIOChannel binding, based on patch by Nicolas Joseph, fixes bug
2008-03-23 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: enhance GIOChannel binding,
based on patch by Nicolas Joseph, fixes bug 523876
svn path=/trunk/; revision=1153
Juerg Billeter [Sat, 22 Mar 2008 22:22:17 +0000 (22:22 +0000)]
fix C declaration for delegates, fixes bug 523734
2008-03-22 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix C declaration for delegates,
fixes bug 523734
svn path=/trunk/; revision=1152
Juerg Billeter [Sat, 22 Mar 2008 22:19:49 +0000 (22:19 +0000)]
support nested namespaces, fixes bug 516584
2008-03-22 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valanamespace.vala: support nested namespaces,
fixes bug 516584
svn path=/trunk/; revision=1151
Juerg Billeter [Sat, 22 Mar 2008 22:03:19 +0000 (22:03 +0000)]
use extern appropriately for static fields, based on patch by Daniel
2008-03-22 Juerg Billeter <j@bitron.ch>
* ccode/valaccodedeclaration.vala, gobject/valaccodegenerator.vala:
use extern appropriately for static fields,
based on patch by Daniel Silverstone, fixes bug 523768
svn path=/trunk/; revision=1150
Juerg Billeter [Sat, 22 Mar 2008 21:06:45 +0000 (21:06 +0000)]
fix source reference of fields, patch by Daniel Silverstone, fixes bug
2008-03-22 Juerg Billeter <j@bitron.ch>
* vala/parser.y: fix source reference of fields,
patch by Daniel Silverstone, fixes bug 523761
svn path=/trunk/; revision=1149
Juerg Billeter [Sat, 22 Mar 2008 20:17:22 +0000 (20:17 +0000)]
check accessiblity of parameter and return types, fixes bug 433290
2008-03-22 Juerg Billeter <j@bitron.ch>
* vala/valascope.vala, vala/valasemanticanalyzer.vala,
vala/valasymbol.vala: check accessiblity of parameter and return
types, fixes bug 433290
svn path=/trunk/; revision=1148
Juerg Billeter [Fri, 21 Mar 2008 19:15:02 +0000 (19:15 +0000)]
add SDL bindings, patch by Levi Bard, fixes bug 522940
2008-03-21 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/sdl-gfx.vapi, vapi/sdl-image.vapi,
vapi/sdl-mixer.vapi, vapi/sdl-ttf.vapi, vapi/sdl.vapi: add SDL
bindings, patch by Levi Bard, fixes bug 522940
svn path=/trunk/; revision=1147
Juerg Billeter [Fri, 21 Mar 2008 19:07:42 +0000 (19:07 +0000)]
report error when trying to declare private construct properties, patch by
2008-03-21 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: report error when trying to
declare private construct properties,
patch by Daniel Silverstone, fixes bug 522685
svn path=/trunk/; revision=1146
Juerg Billeter [Fri, 21 Mar 2008 16:37:04 +0000 (16:37 +0000)]
register enums with GType, patch by Marc-Andre Lureau, fixes bug 517294
2008-03-21 Juerg Billeter <j@bitron.ch>
* vala/valaenum.vala, vala/valaenumvalue.vala,
vala/valainterfacewriter.vala, gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinterface.vala,
vapigen/valagidlparser.vala: register enums with GType,
patch by Marc-Andre Lureau, fixes bug 517294
svn path=/trunk/; revision=1145
Juerg Billeter [Fri, 21 Mar 2008 10:25:06 +0000 (10:25 +0000)]
fix g_file_copy, g_file_copy_async, and g_file_move bindings, fixes bug
2008-03-21 Juerg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/: fix g_file_copy, g_file_copy_async, and
g_file_move bindings, fixes bug 523544
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=1144
Juerg Billeter [Fri, 21 Mar 2008 10:15:14 +0000 (10:15 +0000)]
fix g_shell_parse_argv binding, fixes bug 523277
2008-03-21 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix g_shell_parse_argv binding,
fixes bug 523277
svn path=/trunk/; revision=1143
Juerg Billeter [Fri, 21 Mar 2008 09:59:01 +0000 (09:59 +0000)]
fix g_mutex_trylock binding, fixes bug 523086
2008-03-21 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix g_mutex_trylock binding, fixes bug 523086
svn path=/trunk/; revision=1142
Juerg Billeter [Fri, 21 Mar 2008 09:56:01 +0000 (09:56 +0000)]
add GNOME Keyring bindings, patch by Andrea Del Signore, fixes bug 522646
2008-03-21 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/gnome-keyring-1.vapi,
vapi/packages/gnome-keyring-1/: add GNOME Keyring bindings,
patch by Andrea Del Signore, fixes bug 522646
svn path=/trunk/; revision=1141
Juerg Billeter [Thu, 20 Mar 2008 23:45:20 +0000 (23:45 +0000)]
support lower_case_csuffix attribute for interfaces
2008-03-20 Juerg Billeter <j@bitron.ch>
* vala/valainterface.vala, vala/valainterfacewriter.vala,
vapigen/valagidlparser.vala: support lower_case_csuffix attribute
for interfaces
* vapi/packages/gstreamer-interfaces-0.10/: fix GstXOverlay binding
* vapi/gstreamer-interfaces-0.10.vapi: regenerated
Patch by Andrea Del Signore, fixes bug 512744
svn path=/trunk/; revision=1140
Juerg Billeter [Wed, 19 Mar 2008 22:58:45 +0000 (22:58 +0000)]
fix GTimeoutSource and GIdleSource bindings, patch by Phil Housley
2008-03-19 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix GTimeoutSource and GIdleSource bindings,
patch by Phil Housley
svn path=/trunk/; revision=1139
Juerg Billeter [Wed, 19 Mar 2008 20:54:01 +0000 (20:54 +0000)]
fix crash when using lock statements
2008-03-19 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix crash when using lock
statements
svn path=/trunk/; revision=1138
Juerg Billeter [Tue, 18 Mar 2008 22:19:30 +0000 (22:19 +0000)]
support taking address of pointer
2008-03-18 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: support taking address of pointer
svn path=/trunk/; revision=1137
Juerg Billeter [Mon, 17 Mar 2008 20:07:05 +0000 (20:07 +0000)]
fix gtk_calendar_get_date binding
2008-03-17 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix gtk_calendar_get_date binding
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1136
Juerg Billeter [Mon, 17 Mar 2008 20:04:44 +0000 (20:04 +0000)]
fix GChildWatch bindings
2008-03-17 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix GChildWatch bindings
svn path=/trunk/; revision=1135
Juerg Billeter [Mon, 17 Mar 2008 19:06:43 +0000 (19:06 +0000)]
detect GStrv type
2008-03-17 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: detect GStrv type
* vapi/packages/gio-2.0/: update to glib 2.16.1
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=1134
Juerg Billeter [Sun, 16 Mar 2008 22:35:32 +0000 (22:35 +0000)]
support modifying return type with metadata attributes
2008-03-16 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: support modifying return type with
metadata attributes
* vapi/packages/gtk+-2.0/: fix gtk_about_dialog_set_*_hook bindings,
fixes bug 522061
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1133
Juerg Billeter [Sun, 16 Mar 2008 22:14:20 +0000 (22:14 +0000)]
fix variable initialization for array types
2008-03-16 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala,
gobject/valaccodegeneratormethod.vala: fix variable
initialization for array types
svn path=/trunk/; revision=1132
Juerg Billeter [Sun, 16 Mar 2008 21:58:47 +0000 (21:58 +0000)]
support hidden="0" for parameters
2008-03-16 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: support hidden="0" for parameters
* vapi/packages/gtk+-2.0/: fix gtk_action_group_add_actions
bindings, fixes bug 522060
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1131
Juerg Billeter [Sun, 16 Mar 2008 21:27:24 +0000 (21:27 +0000)]
emit constants after function declarations as constants may depend on
2008-03-16 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorsourcefile.vala: emit constants after
function declarations as constants may depend on function
declarations, fixes bug 501584
* tests/delegates.vala: test constants depending on function
declarations
svn path=/trunk/; revision=1130
Juerg Billeter [Sat, 15 Mar 2008 21:54:22 +0000 (21:54 +0000)]
fix support for array return types for D-Bus method calls
2008-03-15 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorinvocationexpression.vala: fix support
for array return types for D-Bus method calls
svn path=/trunk/; revision=1129
Juerg Billeter [Sat, 15 Mar 2008 20:16:39 +0000 (20:16 +0000)]
fix crash when using arrays for D-Bus method calls
2008-03-15 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorinvocationexpression.vala: fix crash
when using arrays for D-Bus method calls
svn path=/trunk/; revision=1128
Juerg Billeter [Sat, 15 Mar 2008 02:48:42 +0000 (02:48 +0000)]
fix runtime crash when using nullable struct parameters, patch by Alberto
2008-03-15 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala,
gobject/valaccodegeneratormemberaccess.vala,
gobject/valaccodegeneratormethod.vala: fix runtime crash when
using nullable struct parameters,
patch by Alberto Ruiz, fixes bug 514864
svn path=/trunk/; revision=1127
Juerg Billeter [Fri, 14 Mar 2008 15:36:05 +0000 (15:36 +0000)]
fix gdk/gtk_init bindings, fixes bug 521842
2008-03-14 Juerg Billeter <j@bitron.ch>
* vapi/packages/gdk-2.0/, vapi/packages/gtk+-2.0/: fix gdk/gtk_init
bindings, fixes bug 521842
* vapi/gdk-2.0.vapi, vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1126
Juerg Billeter [Fri, 14 Mar 2008 02:23:19 +0000 (02:23 +0000)]
fix gdk_pixbuf_loader_write binding
2008-03-14 Juerg Billeter <j@bitron.ch>
* vapi/packages/gdk-pixbuf-2.0/: fix gdk_pixbuf_loader_write binding
* vapi/gdk-pixbuf-2.0.vapi: regenerated
svn path=/trunk/; revision=1125
Juerg Billeter [Fri, 14 Mar 2008 02:11:02 +0000 (02:11 +0000)]
remove Array class, arrays are not type symbols
2008-03-14 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/valaarraytype.vala, vala/valadatatype.vala,
vala/valamember.vala, vala/valasemanticanalyzer.vala,
vala/valasymbolresolver.vala, vala/valatypeparameter.vala,
vala/valatypesymbol.vala, gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinvocationexpression.vala,
gobject/valaccodegeneratormethod.vala: remove Array class, arrays
are not type symbols
svn path=/trunk/; revision=1124
Juerg Billeter [Wed, 12 Mar 2008 15:33:14 +0000 (15:33 +0000)]
fix gtk_get_option_group binding
2008-03-12 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix gtk_get_option_group binding
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1123
Juerg Billeter [Tue, 11 Mar 2008 13:25:53 +0000 (13:25 +0000)]
add GIdlWriter to generate .gidl files when building libraries
2008-03-11 Juerg Billeter <j@bitron.ch>
* gobject/Makefile.am, gobject/valagidlwriter.vala,
compiler/valacompiler.vala: add GIdlWriter to generate .gidl files
when building libraries
svn path=/trunk/; revision=1122
Juerg Billeter [Mon, 10 Mar 2008 23:50:48 +0000 (23:50 +0000)]
add missing file
2008-03-11 Juerg Billeter <j@bitron.ch>
* gobject-introspection/grealpath.h: add missing file
svn path=/trunk/; revision=1121
Juerg Billeter [Mon, 10 Mar 2008 16:18:52 +0000 (16:18 +0000)]
update from gobject-introspection SVN r128
2008-03-10 Juerg Billeter <j@bitron.ch>
* gobject-introspection/: update from gobject-introspection SVN r128
svn path=/trunk/; revision=1120
Juerg Billeter [Mon, 10 Mar 2008 15:16:06 +0000 (15:16 +0000)]
Make the length field of a multi-dimensional array an array of ints,
2008-03-10 Juerg Billeter <j@bitron.ch>
* vala/valaarray.vala, gobject/valaccodeelementaccessbinding.vala:
Make the length field of a multi-dimensional array an array of ints,
currently only works with literal indices, patch by Rob Taylor
* tests/arrays.vala: test length field of multi-dimensional arrays
svn path=/trunk/; revision=1119
Juerg Billeter [Sun, 9 Mar 2008 18:04:18 +0000 (18:04 +0000)]
update to r30885
2008-03-09 Juerg Billeter <j@bitron.ch>
* vapi/packages/webkit-1.0/: update to r30885
* vapi/webkit-1.0.vapi: regenerated
svn path=/trunk/; revision=1118
Juerg Billeter [Sat, 8 Mar 2008 22:16:26 +0000 (22:16 +0000)]
minor code cleanup, based on patch by Andreas Brauchli
2008-03-08 Juerg Billeter <j@bitron.ch>
* vala/valaarray.vala: minor code cleanup,
based on patch by Andreas Brauchli
svn path=/trunk/; revision=1117
Juerg Billeter [Sat, 8 Mar 2008 20:54:00 +0000 (20:54 +0000)]
add GstGhostPad binding
2008-03-08 Juerg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/: add GstGhostPad binding
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1116
Juerg Billeter [Sat, 8 Mar 2008 20:12:32 +0000 (20:12 +0000)]
fix crash when using arrays
2008-03-08 Juerg Billeter <j@bitron.ch>
* gobject/valadbusbindingprovider.vala: fix crash when using arrays
svn path=/trunk/; revision=1115
Juerg Billeter [Sat, 8 Mar 2008 20:00:22 +0000 (20:00 +0000)]
fix exception handling in property accessors, fixes bug 520936
2008-03-08 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix exception handling in
property accessors, fixes bug 520936
svn path=/trunk/; revision=1114
Juerg Billeter [Sat, 8 Mar 2008 19:36:27 +0000 (19:36 +0000)]
fix gtk_cell_renderer_get_size binding
2008-03-08 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix gtk_cell_renderer_get_size binding
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1113
Juerg Billeter [Sat, 8 Mar 2008 19:32:33 +0000 (19:32 +0000)]
fix gtk_tree_model_get_value binding, fixes bug 520428
2008-03-08 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix gtk_tree_model_get_value binding,
fixes bug 520428
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1112
Juerg Billeter [Sat, 8 Mar 2008 17:19:03 +0000 (17:19 +0000)]
fix g_module_error binding, fixes bug 520267
2008-03-08 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix g_module_error binding, fixes bug 520267
svn path=/trunk/; revision=1111
Juerg Billeter [Sat, 8 Mar 2008 16:55:29 +0000 (16:55 +0000)]
optimize access to automatic properties, patch by Rob Taylor
2008-03-08 Juerg Billeter <j@bitron.ch>
* vala/valaclass.vala, vala/valaproperty.vala,
vala/valapropertyaccessor.vala, vala/valasemanticanalyzer.vala,
gobject/valaccodegeneratormemberaccess.vala: optimize access to
automatic properties, patch by Rob Taylor
svn path=/trunk/; revision=1110
Juerg Billeter [Sat, 8 Mar 2008 16:10:11 +0000 (16:10 +0000)]
support foreach over multi-dimensional arrays
2008-03-08 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: support foreach over
multi-dimensional arrays
* tests/arrays.vala: test multi-dimensional arrays
svn path=/trunk/; revision=1109
Juerg Billeter [Sat, 8 Mar 2008 15:50:40 +0000 (15:50 +0000)]
support declaration of local multi-dimensional array variables
2008-03-08 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/scanner.l: support declaration of local
multi-dimensional array variables
svn path=/trunk/; revision=1108
Juerg Billeter [Sat, 8 Mar 2008 14:58:23 +0000 (14:58 +0000)]
improve instance delegate detection
2008-03-08 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: improve instance delegate detection
* vapi/atk.vapi, vapi/gdk-2.0.vapi, vapi/gdk-pixbuf-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/gtk+-2.0.vapi,
vapi/libgnomeui-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/pangocairo.vapi:regenerated
svn path=/trunk/; revision=1107
Juerg Billeter [Thu, 6 Mar 2008 19:45:46 +0000 (19:45 +0000)]
tiny code improvement
2008-03-06 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: tiny code improvement
svn path=/trunk/; revision=1106
Juerg Billeter [Thu, 6 Mar 2008 19:22:15 +0000 (19:22 +0000)]
add libftdi bindings, patch by Evan Nemerson
2008-03-06 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/libftdi.deps, vapi/libftdi.vapi:
add libftdi bindings, patch by Evan Nemerson
svn path=/trunk/; revision=1105
Juerg Billeter [Tue, 4 Mar 2008 23:23:30 +0000 (23:23 +0000)]
Mark DataType as abstract base class
2008-03-05 Juerg Billeter <j@bitron.ch>
* vala/valaclasstype.vala, vala/valadatatype.vala,
vala/valainterfacetype.vala, vala/valainvalidtype.vala,
vala/valatypeparametertype.vala, vala/valavaluetype.vala,
vala/valavoidtype.vala, gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinvocationexpression.vala,
gobject/valaccodegeneratormemberaccess.vala,
gobject/valadbusbindingprovider.vala:
Mark DataType as abstract base class
svn path=/trunk/; revision=1104
Juerg Billeter [Tue, 4 Mar 2008 23:00:17 +0000 (23:00 +0000)]
reduce use of raw DataType instances
2008-03-04 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/valasemanticanalyzer.vala,
vala/valasymbolresolver.vala, vala/valatypeparametertype.vala:
reduce use of raw DataType instances
svn path=/trunk/; revision=1103
Juerg Billeter [Tue, 4 Mar 2008 20:54:37 +0000 (20:54 +0000)]
fix sqlite3_value binding, patch by Andreas Brauchli
2008-03-04 Juerg Billeter <j@bitron.ch>
* vapi/sqlite3.vapi: fix sqlite3_value binding,
patch by Andreas Brauchli
svn path=/trunk/; revision=1102
Juerg Billeter [Tue, 4 Mar 2008 20:33:15 +0000 (20:33 +0000)]
don't use GRegex to avoid dependency on GLib 2.14
2008-03-04 Juerg Billeter <j@bitron.ch>
* compiler/valacompiler.vala: don't use GRegex to avoid
dependency on GLib 2.14
svn path=/trunk/; revision=1101
Juerg Billeter [Tue, 4 Mar 2008 20:24:02 +0000 (20:24 +0000)]
fix duplicate local variable, patch by Vlad Grecescu
2008-03-04 Juerg Billeter <j@bitron.ch>
* vala/valacodecontext.vala: fix duplicate local variable,
patch by Vlad Grecescu
svn path=/trunk/; revision=1100
Juerg Billeter [Tue, 4 Mar 2008 20:14:54 +0000 (20:14 +0000)]
fix GBase64 bindings
2008-03-04 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix GBase64 bindings
svn path=/trunk/; revision=1099
Juerg Billeter [Tue, 4 Mar 2008 20:02:52 +0000 (20:02 +0000)]
fix GdkPixdata bindings
2008-03-04 Juerg Billeter <j@bitron.ch>
* vapi/packages/gdk-pixbuf-2.0/: fix GdkPixdata bindings
* vapi/gdk-pixbuf-2.0.vapi: regenerated
svn path=/trunk/; revision=1098
Juerg Billeter [Sun, 2 Mar 2008 22:24:43 +0000 (22:24 +0000)]
fix gdk_drawable_get_size, gtk_cell_renderer_get_size,
2008-03-02 Juerg Billeter <j@bitron.ch>
* vapi/packages/gdk-2.0/, vapi/packages/gtk+-2.0/: fix
gdk_drawable_get_size, gtk_cell_renderer_get_size,
gtk_layout_get_size, and gtk_widget_get_size_request bindings
svn path=/trunk/; revision=1097
Juerg Billeter [Sun, 2 Mar 2008 22:10:37 +0000 (22:10 +0000)]
don't free arguments of ref and out parameters
2008-03-02 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: don't free arguments of ref and
out parameters
* tests/classes-methods.vala: test ref parameter
svn path=/trunk/; revision=1096
Juerg Billeter [Sun, 2 Mar 2008 22:09:04 +0000 (22:09 +0000)]
make sure we detect failed test cases
2008-03-02 Juerg Billeter <j@bitron.ch>
* tests/testrunner.sh: make sure we detect failed test cases
svn path=/trunk/; revision=1095
Juerg Billeter [Sun, 2 Mar 2008 16:24:07 +0000 (16:24 +0000)]
fix GtkAboutDialog bindings, patch by Andrea Del Signore
2008-03-02 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix GtkAboutDialog bindings,
patch by Andrea Del Signore
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1094
Juerg Billeter [Sun, 2 Mar 2008 14:30:19 +0000 (14:30 +0000)]
Post-release version bump
2008-03-02 Juerg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
svn path=/trunk/; revision=1093
Juerg Billeter [Sun, 2 Mar 2008 14:28:30 +0000 (14:28 +0000)]
update for 0.1.7 release
2008-03-02 Juerg Billeter <j@bitron.ch>
* NEWS: update for 0.1.7 release
svn path=/trunk/; revision=1091
Raffaele Sandrini [Sun, 2 Mar 2008 14:04:44 +0000 (14:04 +0000)]
clean up bzlib vapi, add licence statement
2008-03-02 Raffaele Sandrini <raffaele@sandrini.ch>
* vapi/bzlib.vapi: clean up bzlib vapi, add licence statement
svn path=/trunk/; revision=1090
Juerg Billeter [Sun, 2 Mar 2008 13:11:19 +0000 (13:11 +0000)]
support errordomain metadata attribute
2008-03-02 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: support errordomain metadata attribute
* vapi/packages/gio-2.0/: mark GIOError as errordomain,
update to glib 2.15.6
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=1089
Juerg Billeter [Sun, 2 Mar 2008 12:54:49 +0000 (12:54 +0000)]
add binding for fflush
2008-03-02 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add binding for fflush
svn path=/trunk/; revision=1088
Juerg Billeter [Sun, 2 Mar 2008 12:47:32 +0000 (12:47 +0000)]
add incomplete libbonoboui-2.0 bindings, improve libpanelapplet-2.0
2008-03-02 Juerg Billeter <j@bitron.ch>
* vapi/libbonoboui-2.0.vapi, vapi/libpanelapplet-2.0.deps,
vapi/libpanelapplet-2.0.vapi: add incomplete libbonoboui-2.0
bindings, improve libpanelapplet-2.0 bindings,
patch by Andrea Del Signore
svn path=/trunk/; revision=1087
Juerg Billeter [Sun, 2 Mar 2008 12:32:34 +0000 (12:32 +0000)]
various fixes
2008-03-02 Juerg Billeter <j@bitron.ch>
* vapi/zlib.vapi: various fixes
svn path=/trunk/; revision=1086
Juerg Billeter [Sun, 2 Mar 2008 12:06:40 +0000 (12:06 +0000)]
add goocanvas bindings, patch by Roberto Majadas
2008-03-02 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/goocanvas.deps, vapi/goocanvas.vapi,
vapi/packages/goocanvas/: add goocanvas bindings,
patch by Roberto Majadas
svn path=/trunk/; revision=1085
Juerg Billeter [Sun, 2 Mar 2008 11:55:37 +0000 (11:55 +0000)]
allow implicit conversion from 0 to enum and flags types
2008-03-02 Juerg Billeter <j@bitron.ch>
* vala/valaintegertype.vala: allow implicit conversion from 0 to
enum and flags types
* tests/enums.vala: test conversion from 0 to enum type
svn path=/trunk/; revision=1084
Juerg Billeter [Sun, 2 Mar 2008 11:09:09 +0000 (11:09 +0000)]
add bindings for g_get_system_*_dirs
2008-03-02 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add bindings for g_get_system_*_dirs
* vala/valacodecontext.vala: use g_get_system_data_dirs to find
VAPI files, should make valac relocatable on Windows
svn path=/trunk/; revision=1083
Juerg Billeter [Sun, 2 Mar 2008 10:55:25 +0000 (10:55 +0000)]
add dir separator bindings, fix g_regex_escape_string binding
2008-03-02 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add dir separator bindings,
fix g_regex_escape_string binding
* compiler/valacompiler.vala: port realpath to Windows,
fixes bug 515210
svn path=/trunk/; revision=1082
Juerg Billeter [Sat, 1 Mar 2008 23:23:31 +0000 (23:23 +0000)]
distribute licenses to be used by vala-gen-project
2008-03-02 Juerg Billeter <j@bitron.ch>
* configure.ac, gen-project/Makefile.am, gen-project/licenses/:
distribute licenses to be used by vala-gen-project
* gen-project/valaprojectgenerator.vala: add GPL3 and LGPL3, copy
license from $(pkgdatadir)/licenses or /usr/share/common-licenses/
instead of automake or libtool to ensure we copy the right version,
based on patch by Andreas Brauchli
svn path=/trunk/; revision=1081
Juerg Billeter [Sat, 1 Mar 2008 16:39:13 +0000 (16:39 +0000)]
fix using interface methods as delegates, fixes bug 518109
2008-03-01 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix using interface methods as
delegates, fixes bug 518109
* tests/delegates.vala: test interface methods as delegates
svn path=/trunk/; revision=1080
Juerg Billeter [Sat, 1 Mar 2008 16:21:55 +0000 (16:21 +0000)]
don't register private properties with GObject property system, fixes bug
2008-03-01 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorclass.vala: don't register private
properties with GObject property system, fixes bug 519201
svn path=/trunk/; revision=1079
Juerg Billeter [Sat, 1 Mar 2008 14:47:41 +0000 (14:47 +0000)]
add hildon-fm-2 bindings, based on patch by Levi Bard, fixes bug 511092
2008-03-01 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/hildon-fm-2.deps, vapi/hildon-fm-2.vapi,
vapi/packages/hildon-fm-2/: add hildon-fm-2 bindings,
based on patch by Levi Bard, fixes bug 511092
svn path=/trunk/; revision=1078
Juerg Billeter [Sat, 1 Mar 2008 14:42:39 +0000 (14:42 +0000)]
support cheader_filename metadata attribute for delegates
2008-03-01 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: support cheader_filename metadata
attribute for delegates
svn path=/trunk/; revision=1077
Juerg Billeter [Sat, 1 Mar 2008 12:14:14 +0000 (12:14 +0000)]
regenerated
2008-03-01 Juerg Billeter <j@bitron.ch>
* vapi/atk.vapi, vapi/gconf-2.0.vapi, vapi/gdk-2.0.vapi,
vapi/gdk-pixbuf-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-controller-0.10.vapi,
vapi/gstreamer-dataprotocol-0.10.vapi,
vapi/gstreamer-pbutils-0.10.vapi, vapi/libglade-2.0.vapi,
vapi/libgnome-menu.vapi, vapi/libgnomeui-2.0.vapi,
vapi/libnotify.vapi, vapi/liboobs-1.vapi, vapi/libsoup-2.2.vapi,
vapi/libsoup-2.4.vapi, vapi/libwnck-1.0.vapi, vapi/pango.vapi,
vapi/pangocairo.vapi, vapi/poppler-glib.vapi: regenerated
svn path=/trunk/; revision=1076
Juerg Billeter [Sat, 1 Mar 2008 12:01:07 +0000 (12:01 +0000)]
fix array_length_pos metadata attribute
2008-03-01 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: fix array_length_pos metadata
attribute
* vapi/packages/libgnome-2.0/: fix gnome_program_init binding
* vapi/libgnome-2.0.vapi: regenerated
svn path=/trunk/; revision=1075
Juerg Billeter [Sat, 1 Mar 2008 11:53:14 +0000 (11:53 +0000)]
improve C code output
2008-03-01 Juerg Billeter <j@bitron.ch>
* ccode/valaccodecommaexpression.vala,
ccode/valaccodeexpressionstatement.vala: improve C code output
svn path=/trunk/; revision=1074
Juerg Billeter [Sat, 1 Mar 2008 10:39:41 +0000 (10:39 +0000)]
fix argument dependency in the C code for array and delegate arguments,
2008-03-01 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorinvocationexpression.vala: fix argument
dependency in the C code for array and delegate arguments,
fixes bug 519597
* tests/arrays.vala: test array argument
svn path=/trunk/; revision=1073
Juerg Billeter [Sat, 1 Mar 2008 10:07:43 +0000 (10:07 +0000)]
ensure tests don't report errors on stderr
2008-03-01 Juerg Billeter <j@bitron.ch>
* tests/testrunner.sh: ensure tests don't report errors on stderr
svn path=/trunk/; revision=1072
Juerg Billeter [Fri, 29 Feb 2008 22:45:05 +0000 (22:45 +0000)]
fix error when using type parameter in generic type methods
2008-02-29 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix error when using type
parameter in generic type methods
svn path=/trunk/; revision=1071
Juerg Billeter [Fri, 29 Feb 2008 22:23:29 +0000 (22:23 +0000)]
support methods throwing exceptions and returning generic type parameter
2008-02-29 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala,
gobject/valaccodegeneratormethod.vala: support methods throwing
exceptions and returning generic type parameter
svn path=/trunk/; revision=1070
Juerg Billeter [Fri, 29 Feb 2008 21:55:37 +0000 (21:55 +0000)]
use source_reference for enum values
2008-02-29 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valacodecontext.vala, vala/valaenumvalue.vala:
use source_reference for enum values
svn path=/trunk/; revision=1069
Juerg Billeter [Fri, 29 Feb 2008 21:45:33 +0000 (21:45 +0000)]
fix gtk_menu_popup binding
2008-02-29 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix gtk_menu_popup binding
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1068
Juerg Billeter [Fri, 29 Feb 2008 21:41:44 +0000 (21:41 +0000)]
support binary expressions in default arguments
2008-02-29 Juerg Billeter <j@bitron.ch>
* vala/valabinaryexpression.vala, vala/valaunaryexpression.vala:
support binary expressions in default arguments
svn path=/trunk/; revision=1067
Juerg Billeter [Fri, 29 Feb 2008 20:58:14 +0000 (20:58 +0000)]
support GLib.Error as signal parameter type, fixes bug 519415
2008-02-29 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorinterface.vala,
gobject/valaccodegeneratorsignal.vala: support GLib.Error as
signal parameter type, fixes bug 519415
svn path=/trunk/; revision=1066
Juerg Billeter [Fri, 29 Feb 2008 20:46:07 +0000 (20:46 +0000)]
fix try catch statements without thrown exceptions, fixes bug 506016
2008-02-29 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix try catch statements without
thrown exceptions, fixes bug 506016
* tests/exceptions.vala: test try catch statements without errors
svn path=/trunk/; revision=1065
Juerg Billeter [Fri, 29 Feb 2008 20:39:19 +0000 (20:39 +0000)]
support throw statements in try statements
2008-02-29 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: support throw statements in try
statements
* tests/exceptions.vala: test throw statement in try statement with
generic catch clause
svn path=/trunk/; revision=1064