Juerg Billeter [Fri, 2 May 2008 19:00:33 +0000 (19:00 +0000)]
Do not add duplicate symbols, patch by Etienne Bersac, fixes bug 528254
2008-05-02 Juerg Billeter <j@bitron.ch>
* gobject-introspection/scanner.c: (g_igenerator_add_symbol):
Do not add duplicate symbols,
patch by Etienne Bersac, fixes bug 528254
svn path=/trunk/; revision=1332
Juerg Billeter [Thu, 1 May 2008 17:12:01 +0000 (17:12 +0000)]
Extend types section, based on patch by Phil Housley
2008-05-01 Juerg Billeter <j@bitron.ch>
* doc/vala/types.xml:
* doc/vala/default.css:
* doc/vala/xhtml.xsl:
Extend types section, based on patch by Phil Housley
svn path=/trunk/; revision=1331
Juerg Billeter [Thu, 1 May 2008 13:51:58 +0000 (13:51 +0000)]
Fix crash when using errordomain methods, based on patch by Phil Housley,
2008-05-01 Juerg Billeter <j@bitron.ch>
* vala/valacfgbuilder.vala:
* vala/valanullchecker.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasymbolresolver.vala:
* vapigen/valagidlparser.vala:
Fix crash when using errordomain methods,
based on patch by Phil Housley, fixes bug 530537
svn path=/trunk/; revision=1330
Juerg Billeter [Mon, 28 Apr 2008 21:23:55 +0000 (21:23 +0000)]
fix GdkEvent* bindings
2008-04-28 Juerg Billeter <j@bitron.ch>
* vapi/packages/gdk-2.0/: fix GdkEvent* bindings
* vapi/gdk-2.0.vapi, vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1329
Juerg Billeter [Mon, 28 Apr 2008 20:47:47 +0000 (20:47 +0000)]
fix sexy_icon_entry_set_icon binding, patch by Evan Nemerson
2008-04-28 Juerg Billeter <j@bitron.ch>
* vapi/packages/libsexy/: fix sexy_icon_entry_set_icon binding,
patch by Evan Nemerson
* vapi/libsexy.vapi: regenerated
svn path=/trunk/; revision=1328
Juerg Billeter [Mon, 28 Apr 2008 20:44:42 +0000 (20:44 +0000)]
fix gtk_box_query_child_packing binding, patch by Evan Nemerson
2008-04-28 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix gtk_box_query_child_packing binding,
patch by Evan Nemerson
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1327
Juerg Billeter [Sun, 27 Apr 2008 08:23:51 +0000 (08:23 +0000)]
Fix generic type arguments in to_string()
2008-04-27 Juerg Billeter <j@bitron.ch>
* vala/valadatatype.vala:
Fix generic type arguments in to_string()
svn path=/trunk/; revision=1326
Juerg Billeter [Sat, 26 Apr 2008 20:33:19 +0000 (20:33 +0000)]
Fix crash when using abstract properties
2008-04-26 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
Fix crash when using abstract properties
svn path=/trunk/; revision=1325
Juerg Billeter [Sat, 26 Apr 2008 16:54:01 +0000 (16:54 +0000)]
Build executable by default
2008-04-26 Juerg Billeter <j@bitron.ch>
* compiler/valacompiler.vala:
Build executable by default
* ccode/Makefile.am:
* compiler/Makefile.am:
* gee/Makefile.am:
* gen-project/Makefile.am:
* gobject/Makefile.am:
* tests/testrunner.sh:
* vala/Makefile.am:
* vapigen/Makefile.am:
Update build system to use -C
svn path=/trunk/; revision=1324
Juerg Billeter [Sat, 26 Apr 2008 14:30:01 +0000 (14:30 +0000)]
Always initialize local array length variables, fixes bug 529863
2008-04-26 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
Always initialize local array length variables, fixes bug 529863
svn path=/trunk/; revision=1323
Juerg Billeter [Sat, 26 Apr 2008 14:11:16 +0000 (14:11 +0000)]
Fix handling of const types, fixes bug 529851
2008-04-26 Juerg Billeter <j@bitron.ch>
* vala/valaarraytype.vala:
* vala/valaclassinstancetype.vala:
* vala/valaclasstype.vala:
* vala/valadatatype.vala:
* vala/valadelegatetype.vala:
* vala/valaerrortype.vala:
* vala/valainterfaceinstancetype.vala:
* vala/valainterfacetype.vala:
* vala/valamethodtype.vala:
* vala/valanulltype.vala:
* vala/valapointertype.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasymbolresolver.vala:
* vala/valatypeparametertype.vala:
* vala/valavaluetype.vala:
* vala/valavoidtype.vala:
* gobject/valaccodegenerator.vala:
Fix handling of const types, fixes bug 529851
svn path=/trunk/; revision=1322
Marc-André Lureau [Sat, 26 Apr 2008 11:31:03 +0000 (11:31 +0000)]
fix dbus strv handler argument order, fixes bug 528412
2008-04-26 Marc-André Lureau <marcandre.lureau@gmail.com>
* gobject/valaccodedynamicmethodbinding.vala: fix dbus strv
handler argument order, fixes bug 528412
svn path=/trunk/; revision=1321
Juerg Billeter [Sat, 26 Apr 2008 08:50:48 +0000 (08:50 +0000)]
add g_get_tmp_dir binding, patch by Nicolas Joseph, fixes bug 529776
2008-04-26 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add g_get_tmp_dir binding,
patch by Nicolas Joseph, fixes bug 529776
svn path=/trunk/; revision=1320
Juerg Billeter [Sat, 26 Apr 2008 08:08:17 +0000 (08:08 +0000)]
fix gtk_image_* and gtk_icon_size_* bindings, patch by Nicolas Joseph,
2008-04-26 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix gtk_image_* and gtk_icon_size_*
bindings, patch by Nicolas Joseph, fixes bug 529770
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1319
Juerg Billeter [Sat, 26 Apr 2008 07:56:21 +0000 (07:56 +0000)]
Fix `char' properties, fixes bug 529604
2008-04-26 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
* gobject/valaccodetypesymbolbinding.vala:
Fix `char' properties, fixes bug 529604
svn path=/trunk/; revision=1318
Juerg Billeter [Sat, 26 Apr 2008 07:48:11 +0000 (07:48 +0000)]
Fix DBus services with multiple methods, fixes bug 529571
2008-04-26 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeclassbinding.vala:
Fix DBus services with multiple methods, fixes bug 529571
svn path=/trunk/; revision=1317
Juerg Billeter [Sat, 26 Apr 2008 07:39:28 +0000 (07:39 +0000)]
Support catch clauses without error variable, fixes bug 529539
2008-04-26 Juerg Billeter <j@bitron.ch>
* vala/valacatchclause.vala:
* gobject/valaccodegenerator.vala:
Support catch clauses without error variable, fixes bug 529539
svn path=/trunk/; revision=1316
Juerg Billeter [Sat, 26 Apr 2008 07:29:51 +0000 (07:29 +0000)]
Respect nested namespaces when merging namespaces, fixes bug 529438
2008-04-26 Juerg Billeter <j@bitron.ch>
* vala/valanamespace.vala:
* vala/valaparser.vala:
Respect nested namespaces when merging namespaces, fixes bug 529438
svn path=/trunk/; revision=1315
Juerg Billeter [Thu, 24 Apr 2008 20:37:11 +0000 (20:37 +0000)]
fix g_key_file_to_data binding, patch by Daniel Svensson
2008-04-24 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix g_key_file_to_data binding,
patch by Daniel Svensson
svn path=/trunk/; revision=1314
Juerg Billeter [Thu, 24 Apr 2008 20:35:06 +0000 (20:35 +0000)]
nullable and generic type fixes, patch by Daniel Svensson
2008-04-24 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: nullable and generic type fixes,
patch by Daniel Svensson
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1313
Juerg Billeter [Wed, 23 Apr 2008 21:12:33 +0000 (21:12 +0000)]
re-add support for pre- and postconditions
2008-04-23 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala: re-add support for pre- and postconditions
svn path=/trunk/; revision=1312
Juerg Billeter [Wed, 23 Apr 2008 20:27:26 +0000 (20:27 +0000)]
fix g_signal_* bindings, patch by Evan Nemerson
2008-04-23 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix g_signal_* bindings,
patch by Evan Nemerson
svn path=/trunk/; revision=1311
Juerg Billeter [Wed, 23 Apr 2008 20:24:24 +0000 (20:24 +0000)]
Don't cast out arguments
2008-04-23 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeinvocationexpressionbinding.vala:
Don't cast out arguments
svn path=/trunk/; revision=1310
Juerg Billeter [Wed, 23 Apr 2008 20:14:12 +0000 (20:14 +0000)]
Add support for class constructors, class fields, and class methods, fixes
2008-04-23 Juerg Billeter <j@bitron.ch>
Add support for class constructors, class fields, and class
methods, fixes bug 507136
svn path=/trunk/; revision=1309
Juerg Billeter [Wed, 23 Apr 2008 12:38:14 +0000 (12:38 +0000)]
Fix nested namespaces
2008-04-23 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala:
Fix nested namespaces
svn path=/trunk/; revision=1308
Juerg Billeter [Wed, 23 Apr 2008 11:24:24 +0000 (11:24 +0000)]
Fix criticals when using for statements without condition
2008-04-23 Juerg Billeter <j@bitron.ch>
* vala/valaforstatement.vala:
* ccode/valaccodeforstatement.vala:
Fix criticals when using for statements without condition
svn path=/trunk/; revision=1307
Juerg Billeter [Wed, 23 Apr 2008 11:20:24 +0000 (11:20 +0000)]
Add support for delegate_target_pos metadata attribute
2008-04-23 Juerg Billeter <j@bitron.ch>
* vala/valaenum.vala:
* vapigen/valagidlparser.vala:
Add support for delegate_target_pos metadata attribute
svn path=/trunk/; revision=1306
Juerg Billeter [Mon, 21 Apr 2008 22:13:33 +0000 (22:13 +0000)]
mark enums as public, patch by Evan Nemerson
2008-04-22 Juerg Billeter <j@bitron.ch>
* vapi/libftdi.vapi: mark enums as public, patch by Evan Nemerson
svn path=/trunk/; revision=1305
Juerg Billeter [Mon, 21 Apr 2008 22:10:17 +0000 (22:10 +0000)]
Post-release version bump
2008-04-22 Juerg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
svn path=/trunk/; revision=1304
Juerg Billeter [Mon, 21 Apr 2008 22:08:36 +0000 (22:08 +0000)]
update for 0.3.1 release
2008-04-22 Juerg Billeter <j@bitron.ch>
* NEWS: update for 0.3.1 release
svn path=/trunk/; revision=1302
Juerg Billeter [Mon, 21 Apr 2008 21:54:17 +0000 (21:54 +0000)]
support enum value attributes
2008-04-21 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala: support enum value attributes
svn path=/trunk/; revision=1301
Juerg Billeter [Mon, 21 Apr 2008 21:43:47 +0000 (21:43 +0000)]
more binding fixes
2008-04-21 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: more binding fixes
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1300
Juerg Billeter [Mon, 21 Apr 2008 20:18:44 +0000 (20:18 +0000)]
Various minor binding fixes
2008-04-21 Juerg Billeter <j@bitron.ch>
* vapi/enchant.vapi:
* vapi/glib-2.0.vapi:
* vapi/hal.vapi:
* vapi/packages/gtk+-2.0/:
* vapi/packages/hildon-fm-2/:
Various minor binding fixes
* vapi/gdk-x11-2.0.vapi:
* vapi/gtk+-2.0.vapi:
* vapi/hildon-fm-2.vapi:
Regenerated
svn path=/trunk/; revision=1299
Juerg Billeter [Mon, 21 Apr 2008 19:57:39 +0000 (19:57 +0000)]
generate unique names for wrapper methods, fixes bug 529251
2008-04-21 Juerg Billeter <j@bitron.ch>
* vala/valadynamicmethod.vala: generate unique names for wrapper
methods, fixes bug 529251
svn path=/trunk/; revision=1298
Juerg Billeter [Mon, 21 Apr 2008 19:41:45 +0000 (19:41 +0000)]
fix glade_xml_construct binding, patch by Christian Meyer
2008-04-21 Juerg Billeter <j@bitron.ch>
* vapi/packages/libglade-2.0/: fix glade_xml_construct binding,
patch by Christian Meyer
svn path=/trunk/; revision=1297
Juerg Billeter [Mon, 21 Apr 2008 19:37:23 +0000 (19:37 +0000)]
add libsexy bindings, patch by Evan Nemerson, fixes bug 528314
2008-04-21 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am, vapi/libsexy.deps, vapi/libsexy.vapi,
vapi/packages/libsexy/: add libsexy bindings,
patch by Evan Nemerson, fixes bug 528314
svn path=/trunk/; revision=1296
Juerg Billeter [Mon, 21 Apr 2008 19:27:00 +0000 (19:27 +0000)]
accept lower-case suffixes for integer and real literals, based on patch
2008-04-21 Juerg Billeter <j@bitron.ch>
* vala/valaintegerliteral.vala, vala/valarealliteral.vala:
accept lower-case suffixes for integer and real literals,
based on patch by Jaap A. Haitsma, fixes bug 528968
svn path=/trunk/; revision=1295
Juerg Billeter [Mon, 21 Apr 2008 19:21:44 +0000 (19:21 +0000)]
fix GFileMonitor::changed binding
2008-04-21 Juerg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/: fix GFileMonitor::changed binding
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=1294
Juerg Billeter [Mon, 21 Apr 2008 19:19:30 +0000 (19:19 +0000)]
fix critical on invalid code, fixes bug 529177
2008-04-21 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix critical on invalid code,
fixes bug 529177
svn path=/trunk/; revision=1293
Juerg Billeter [Mon, 21 Apr 2008 19:13:51 +0000 (19:13 +0000)]
fix struct instance methods, fixes bug 529183
2008-04-21 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeinvocationexpressionbinding.vala: fix struct
instance methods, fixes bug 529183
svn path=/trunk/; revision=1292
Juerg Billeter [Mon, 21 Apr 2008 19:09:28 +0000 (19:09 +0000)]
allow assigning construct-only properties in constructors, fixes bug
2008-04-21 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: allow assigning construct-only
properties in constructors, fixes bug 529222
svn path=/trunk/; revision=1291
Juerg Billeter [Mon, 21 Apr 2008 06:17:21 +0000 (06:17 +0000)]
Fix element access for libgee collections
2008-04-21 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodeelementaccessbinding.vala:
Fix element access for libgee collections
svn path=/trunk/; revision=1290
Juerg Billeter [Sun, 20 Apr 2008 21:42:04 +0000 (21:42 +0000)]
Add experimental D-Bus server support
2008-04-20 Juerg Billeter <j@bitron.ch>
* vala/valaclass.vala, vala/valadatatype.vala,
vala/valastruct.vala, vala/valatypesymbol.vala,
gobject/valaccodeclassbinding.vala,
gobject/valaccodedynamicsignalbinding.vala,
gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorsignal.vala,
gobject/valaccodegeneratorsourcefile.vala,
gobject/valaccodetypesymbolbinding.vala, vapi/dbus-glib-1.vapi,
vapi/glib-2.0.vapi:
Add experimental D-Bus server support
svn path=/trunk/; revision=1289
Juerg Billeter [Sun, 20 Apr 2008 18:50:28 +0000 (18:50 +0000)]
Improve support for dynamic types, add `dynamic' type modifier, port
2008-04-20 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/valaclasstype.vala,
vala/valacodecontext.vala, vala/valacodegenerator.vala,
vala/valadatatype.vala, vala/valadynamicmethod.vala,
vala/valadynamicsignal.vala, vala/valainterface.vala,
vala/valainterfacetype.vala, vala/valamethod.vala,
vala/valamethodtype.vala, vala/valaparser.vala,
vala/valascanner.vala, vala/valasemanticanalyzer.vala,
vala/valasymbolresolver.vala, vala/valatokentype.vala,
vala/valaunresolvedtype.vala, vala/valavaluetype.vala,
gobject/Makefile.am, gobject/valaccodeassignmentbinding.vala,
gobject/valaccodebinding.vala,
gobject/valaccodedynamicmethodbinding.vala,
gobject/valaccodedynamicsignalbinding.vala,
gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorsourcefile.vala,
gobject/valaccodeinterfacebinding.vala,
gobject/valaccodeinvocationexpressionbinding.vala,
gobject/valaccodemethodbinding.vala, compiler/valacompiler.vala,
vapi/dbus-glib-1.vapi:
Improve support for dynamic types, add `dynamic' type modifier,
port dynamic D-Bus client support
svn path=/trunk/; revision=1288
Juerg Billeter [Sun, 20 Apr 2008 13:24:54 +0000 (13:24 +0000)]
fix GtkDialog.vbox binding
2008-04-20 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix GtkDialog.vbox binding
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1287
Juerg Billeter [Sun, 20 Apr 2008 13:09:27 +0000 (13:09 +0000)]
Replace [Import] attribute by `extern' keyword, rename `is_imported'
2008-04-20 Juerg Billeter <j@bitron.ch>
* vala/valacfgbuilder.vala, vala/valaclass.vala,
vala/valacodecontext.vala, vala/valainterfacewriter.vala,
vala/valamember.vala, vala/valamemorymanager.vala,
vala/valamethod.vala, vala/valanamespace.vala,
vala/valaparser.vala, vala/valascanner.vala,
vala/valasemanticanalyzer.vala, vala/valasourcefile.vala,
vala/valasymbol.vala, vala/valatokentype.vala,
vala/valatypesymbol.vala, gobject/valaccodecompiler.vala,
gobject/valaccodegenerator.vala, gobject/valagidlwriter.vala,
vapigen/valagidlparser.vala, vapi/packages/gnome-keyring-1/,
vapi/packages/gstreamer-0.10/, vapi/packages/gtk+-2.0/,
vapi/packages/libgnome-menu/, vapi/packages/pango/:
Replace [Import] attribute by `extern' keyword, rename
`is_imported' property to `external' and `pkg' property to
`external_package' to harmonize used terms, fixes bug 480253
svn path=/trunk/; revision=1286
Juerg Billeter [Sun, 20 Apr 2008 11:09:11 +0000 (11:09 +0000)]
fix GtkBuilderError binding
2008-04-20 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix GtkBuilderError binding
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1285
Juerg Billeter [Sun, 20 Apr 2008 11:06:11 +0000 (11:06 +0000)]
support using lambda expressions with instance delegates
2008-04-20 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: support using lambda expressions
with instance delegates
svn path=/trunk/; revision=1284
Juerg Billeter [Sun, 20 Apr 2008 10:11:14 +0000 (10:11 +0000)]
fix gtk_*_store_set_column_types bindings, patch by Daniel Svensson
2008-04-20 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix gtk_*_store_set_column_types
bindings, patch by Daniel Svensson
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1283
Juerg Billeter [Sun, 20 Apr 2008 09:49:44 +0000 (09:49 +0000)]
fix gtk_scrolled_window_new binding, patch by Daniel Svensson
2008-04-20 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix gtk_scrolled_window_new binding,
patch by Daniel Svensson
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1282
Juerg Billeter [Sat, 19 Apr 2008 23:13:08 +0000 (23:13 +0000)]
fix glade_xml_new* bindings, patch by Christian Meyer
2008-04-20 Juerg Billeter <j@bitron.ch>
* vapi/packages/libglade-2.0/: fix glade_xml_new* bindings,
patch by Christian Meyer
* vapi/libglade-2.0.vapi: regenerated
svn path=/trunk/; revision=1281
Juerg Billeter [Sat, 19 Apr 2008 22:54:31 +0000 (22:54 +0000)]
set free_function for XPathContext and replace `pointer' by `void*', fixes
2008-04-20 Juerg Billeter <j@bitron.ch>
* vapi/libxml-2.0.vapi: set free_function for XPathContext and
replace `pointer' by `void*', fixes bug 528959
svn path=/trunk/; revision=1280
Juerg Billeter [Sat, 19 Apr 2008 22:43:07 +0000 (22:43 +0000)]
support partial interface reimplementation, fixes bug 504079
2008-04-20 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: support partial interface
reimplementation, fixes bug 504079
svn path=/trunk/; revision=1279
Juerg Billeter [Sat, 19 Apr 2008 21:58:44 +0000 (21:58 +0000)]
report error when trying to set construct-only properties
2008-04-19 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: report error when trying to set
construct-only properties
svn path=/trunk/; revision=1278
Juerg Billeter [Sat, 19 Apr 2008 21:39:02 +0000 (21:39 +0000)]
fix D-Bus signal handlers, fixes bug 528937
2008-04-19 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeassignmentbinding.vala: fix D-Bus signal
handlers, fixes bug 528937
svn path=/trunk/; revision=1277
Juerg Billeter [Sat, 19 Apr 2008 21:26:45 +0000 (21:26 +0000)]
mark all cancellable parameters as nullable, fixes bug 528954
2008-04-19 Juerg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/: mark all cancellable parameters as
nullable, fixes bug 528954
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=1276
Juerg Billeter [Sat, 19 Apr 2008 21:17:47 +0000 (21:17 +0000)]
support virtual methods in interfaces, fixes bug 443525
2008-04-19 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala,
gobject/valaccodeinterfacebinding.vala: support virtual methods
in interfaces, fixes bug 443525
svn path=/trunk/; revision=1275
Juerg Billeter [Sat, 19 Apr 2008 16:42:51 +0000 (16:42 +0000)]
get D-Bus sample working again
2008-04-19 Juerg Billeter <j@bitron.ch>
* vala/valaattributeprocessor.vala, vala/valaerrortype.vala,
vapi/dbus-glib-1.vapi, gobject/valaccodegenerator.vala: get D-Bus
sample working again
svn path=/trunk/; revision=1274
Juerg Billeter [Sat, 19 Apr 2008 16:33:40 +0000 (16:33 +0000)]
, vala/valadestructor.vala, vala/valasemanticanalyzer.vala,
2008-04-19 Juerg Billeter <j@bitron.ch>
* vala/valaclass.vala:, vala/valadestructor.vala,
vala/valasemanticanalyzer.vala, gobject/valaccodeclassbinding.vala:
support `this' access in destructors, fixes bug 527997
svn path=/trunk/; revision=1273
Juerg Billeter [Sat, 19 Apr 2008 16:11:00 +0000 (16:11 +0000)]
don't check for `pointer' struct
2008-04-19 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: don't check for `pointer' struct
svn path=/trunk/; revision=1272
Juerg Billeter [Sat, 19 Apr 2008 16:06:52 +0000 (16:06 +0000)]
Replace `pointer' by `void*' in all bindings and remove pointer struct
2008-04-19 Juerg Billeter <j@bitron.ch>
Replace `pointer' by `void*' in all bindings and remove pointer
struct from GLib bindings, fixes bug 510085
svn path=/trunk/; revision=1271
Marc-Andre Lureau [Sat, 19 Apr 2008 15:17:19 +0000 (15:17 +0000)]
replace 'pointer' by 'void*'
2008-04-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
* vapi/glib-2.0.vapi: replace 'pointer' by 'void*'
svn path=/trunk/; revision=1270
Juerg Billeter [Sat, 19 Apr 2008 15:03:34 +0000 (15:03 +0000)]
fix g_file_monitor_* bindings, patch by Jaap A. Haitsma, fixes bug 528881
2008-04-19 Juerg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/: fix g_file_monitor_* bindings,
patch by Jaap A. Haitsma, fixes bug 528881
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=1269
Juerg Billeter [Sat, 19 Apr 2008 14:46:00 +0000 (14:46 +0000)]
don't mangle D-Bus signal names, fixes bug 528774
2008-04-19 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala, vala/valasignal.vala,
gobject/valaccodeassignmentbinding.vala: don't mangle D-Bus
signal names, fixes bug 528774
svn path=/trunk/; revision=1268
Juerg Billeter [Sat, 19 Apr 2008 09:00:48 +0000 (09:00 +0000)]
fix crash when trying to iterate over pointer types, fixes bug 528765
2008-04-19 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala, gobject/valaccodegenerator.vala:
fix crash when trying to iterate over pointer types,
fixes bug 528765
svn path=/trunk/; revision=1267
Juerg Billeter [Sat, 19 Apr 2008 08:44:10 +0000 (08:44 +0000)]
fix to_string for nullable delegates
2008-04-19 Juerg Billeter <j@bitron.ch>
* vala/valadelegatetype.vala: fix to_string for nullable delegates
* vapi/packages/gtk+-2.0/: fix gtk_about_dialog_set_*_hook
bindings, patch by Jaap A. Haitsma, fixes bug 528674
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1266
Juerg Billeter [Sat, 19 Apr 2008 08:34:33 +0000 (08:34 +0000)]
Mark generic type parameter properties as construct-only, fixes bug 528567
2008-04-19 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeassignmentbinding.vala,
gobject/valaccodebinding.vala, gobject/valaccodeclassbinding.vala,
gobject/valaccodemethodbinding.vala:
Mark generic type parameter properties as construct-only,
fixes bug 528567
svn path=/trunk/; revision=1265
Juerg Billeter [Sat, 19 Apr 2008 07:30:12 +0000 (07:30 +0000)]
disable null warnings with --disable-non-null
2008-04-19 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: disable null warnings with
--disable-non-null
svn path=/trunk/; revision=1264
Juerg Billeter [Sat, 19 Apr 2008 07:20:32 +0000 (07:20 +0000)]
fix g_output_stream_write_all and g_file_load_contents bindings, fixes bug
2008-04-19 Juerg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/: fix g_output_stream_write_all and
g_file_load_contents bindings, fixes bug 528491
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=1263
Juerg Billeter [Sat, 19 Apr 2008 06:59:53 +0000 (06:59 +0000)]
Add CCodeInvocationExpressionBinding and CCodeMemberAccessBinding classes
2008-04-19 Juerg Billeter <j@bitron.ch>
* vala/valacodegenerator.vala, vala/valainvocationexpression.vala,
vala/valamemberaccess.vala, gobject/Makefile.am,
gobject/valaccodegenerator.vala,
gobject/valaccodeinvocationexpressionbinding.vala,
gobject/valaccodememberaccessbinding.vala:
Add CCodeInvocationExpressionBinding and CCodeMemberAccessBinding
classes
svn path=/trunk/; revision=1262
Juerg Billeter [Sat, 19 Apr 2008 06:35:09 +0000 (06:35 +0000)]
Add CCodeCreationMethodBinding and CCodeMethodBinding classes
2008-04-19 Juerg Billeter <j@bitron.ch>
* gobject/Makefile.am, gobject/valaccodecreationmethodbinding.vala,
gobject/valaccodegenerator.vala, gobject/valaccodemethodbinding.vala,
vala/valacreationmethod.vala:
Add CCodeCreationMethodBinding and CCodeMethodBinding classes
svn path=/trunk/; revision=1261
Juerg Billeter [Sat, 19 Apr 2008 06:06:38 +0000 (06:06 +0000)]
Add CCodeTypesymbolBinding, CCodeClassBinding, and CCodeInterfaceBinding
2008-04-19 Juerg Billeter <j@bitron.ch>
* vala/valaclass.vala, vala/valainterface.vala, gobject/Makefile.am,
gobject/valaccodeassignmentbinding.vala,
gobject/valaccodebinding.vala, gobject/valaccodeclassbinding.vala,
gobject/valaccodegenerator.vala,
gobject/valaccodeinterfacebinding.vala,
gobject/valaccodetypesymbolbinding.vala:
Add CCodeTypesymbolBinding, CCodeClassBinding, and
CCodeInterfaceBinding classes
svn path=/trunk/; revision=1260
Juerg Billeter [Sat, 19 Apr 2008 05:34:20 +0000 (05:34 +0000)]
Use lazy initialization for code bindings
2008-04-19 Juerg Billeter <j@bitron.ch>
* vala/valaarraycreationexpression.vala, vala/valaassignment.vala,
vala/valacodebinding.vala, vala/valacodecontext.vala,
vala/valacodenode.vala, vala/valaelementaccess.vala,
vala/valamethod.vala, vala/valaparser.vala,
vala/valasemanticanalyzer.vala,
gobject/valaccodearraycreationexpressionbinding.vala,
gobject/valaccodeassignmentbinding.vala,
gobject/valaccodebinding.vala,
gobject/valaccodeelementaccessbinding.vala,
gobject/valaccodegenerator.vala,
gobject/valaccodegeneratormemberaccess.vala,
gobject/valaccodemethodbinding.vala,
gobject/valadbusbindingprovider.vala:
Use lazy initialization for code bindings
svn path=/trunk/; revision=1259
Juerg Billeter [Fri, 18 Apr 2008 22:06:11 +0000 (22:06 +0000)]
fix casts to GTypeInstance
2008-04-19 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix casts to GTypeInstance
* vapi/glib-2.0.vapi: add get_type method to GLib.TypeInstance
svn path=/trunk/; revision=1258
Juerg Billeter [Fri, 18 Apr 2008 21:49:39 +0000 (21:49 +0000)]
check accessiblity of base types of classes and interfaces, fixes bug
2008-04-18 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: check accessiblity of base types
of classes and interfaces, fixes bug 514262
svn path=/trunk/; revision=1257
Juerg Billeter [Fri, 18 Apr 2008 21:40:37 +0000 (21:40 +0000)]
don't report secondary syntax errors, fixes bug 511896
2008-04-18 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala: don't report secondary syntax errors,
fixes bug 511896
svn path=/trunk/; revision=1256
Juerg Billeter [Fri, 18 Apr 2008 21:26:04 +0000 (21:26 +0000)]
make sure that ref_function and unref_function of classes deriving from
2008-04-18 Juerg Billeter <j@bitron.ch>
* vala/valaclass.vala, gobject/valaccodegeneratorclass.vala: make
sure that ref_function and unref_function of classes deriving
from GTypeInstance are always initialized
svn path=/trunk/; revision=1255
Juerg Billeter [Fri, 18 Apr 2008 21:08:34 +0000 (21:08 +0000)]
ensure all classes have a default construction method
2008-04-18 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala: ensure all classes have a default
construction method
svn path=/trunk/; revision=1254
Juerg Billeter [Thu, 17 Apr 2008 20:31:50 +0000 (20:31 +0000)]
restore compatibility with sqlite < 3.5.0
2008-04-17 Juerg Billeter <j@bitron.ch>
* vapi/sqlite3.vapi: restore compatibility with sqlite < 3.5.0
svn path=/trunk/; revision=1253
Juerg Billeter [Thu, 17 Apr 2008 20:01:36 +0000 (20:01 +0000)]
report error when using `this' or `base' access outside of instance
2008-04-17 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: report error when using `this' or
`base' access outside of instance methods
svn path=/trunk/; revision=1252
Marc-Andre Lureau [Wed, 16 Apr 2008 22:27:14 +0000 (22:27 +0000)]
complete glib-2.0 enum and flags bindings, fixes bug 528114
2008-04-16 Marc-Andre Lureau <marcandre.lureau@gmail.com>
* vapi/glib-2.0.vapi (EnumClass, FlagsClass, FlagsValue): complete
glib-2.0 enum and flags bindings, fixes bug 528114
svn path=/trunk/; revision=1251
Juerg Billeter [Wed, 16 Apr 2008 21:27:11 +0000 (21:27 +0000)]
replace `pointer' by void*, patch by Levi Bard
2008-04-16 Juerg Billeter <j@bitron.ch>
* vapi/sdl-gfx.vapi, vapi/sdl-image.vapi, vapi/sdl-mixer.vapi,
vapi/sdl.vapi: replace `pointer' by void*, patch by Levi Bard
svn path=/trunk/; revision=1250
Juerg Billeter [Wed, 16 Apr 2008 21:05:06 +0000 (21:05 +0000)]
fix error handling in static constructors, fixes bug 528111
2008-04-16 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix error handling in static
constructors, fixes bug 528111
svn path=/trunk/; revision=1249
Juerg Billeter [Wed, 16 Apr 2008 20:52:32 +0000 (20:52 +0000)]
fix dbus_connection_setup_with_g_main binding
2008-04-16 Juerg Billeter <j@bitron.ch>
* vapi/dbus-glib-1.vapi: fix dbus_connection_setup_with_g_main binding
svn path=/trunk/; revision=1248
Juerg Billeter [Wed, 16 Apr 2008 20:41:50 +0000 (20:41 +0000)]
Fix base access with virtual interface methods, fixes bug 528457
2008-04-16 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinvocationexpression.vala,
gobject/valaccodegeneratormemberaccess.vala:
Fix base access with virtual interface methods, fixes bug 528457
* tests/classes-methods.vala: test base access
svn path=/trunk/; revision=1247
Juerg Billeter [Wed, 16 Apr 2008 16:24:46 +0000 (16:24 +0000)]
improve error handling, fixes bug 528431
2008-04-16 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala: improve error handling, fixes bug 528431
svn path=/trunk/; revision=1246
Juerg Billeter [Wed, 16 Apr 2008 16:15:53 +0000 (16:15 +0000)]
Fix generated C code when calling struct methods
2008-04-16 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorinvocationexpression.vala:
Fix generated C code when calling struct methods
svn path=/trunk/; revision=1245
Juerg Billeter [Wed, 16 Apr 2008 15:56:27 +0000 (15:56 +0000)]
Fix generated C code when passing structs by reference, fixes bug 528414
2008-04-16 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinvocationexpression.vala:
Fix generated C code when passing structs by reference,
fixes bug 528414
svn path=/trunk/; revision=1244
Juerg Billeter [Wed, 16 Apr 2008 15:45:33 +0000 (15:45 +0000)]
Rename VariableDeclarator to LocalVariable, remove
2008-04-16 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/vala.h, vala/valablock.vala,
vala/valacatchclause.vala, vala/valacfgbuilder.vala,
vala/valaclass.vala, vala/valacodecontext.vala,
vala/valacodegenerator.vala, vala/valacodevisitor.vala,
vala/valadeclarationstatement.vala, vala/valaexpression.vala,
vala/valaforeachstatement.vala, vala/valainterface.vala,
vala/valalocalvariable.vala, vala/valamemorymanager.vala,
vala/valamethod.vala, vala/valanullchecker.vala,
vala/valaparser.vala, vala/valasemanticanalyzer.vala,
vala/valastruct.vala, vala/valaswitchsection.vala,
vala/valasymbolresolver.vala,
gobject/valaccodearraycreationexpressionbinding.vala,
gobject/valaccodeassignmentbinding.vala,
gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinvocationexpression.vala,
gobject/valaccodegeneratormemberaccess.vala:
Rename VariableDeclarator to LocalVariable,
remove LocalVariableDeclaration class
svn path=/trunk/; revision=1243
Marc-Andre Lureau [Wed, 16 Apr 2008 14:27:47 +0000 (14:27 +0000)]
Make DestroyNotify delegate argument nullable.
2008-04-16 Marc-Andre Lureau <marcandre.lureau@gmail.com>
* vapi/glib-2.0.vapi: Make DestroyNotify delegate argument
nullable.
svn path=/trunk/; revision=1242
Juerg Billeter [Tue, 15 Apr 2008 21:40:33 +0000 (21:40 +0000)]
update for use with non-null types
2008-04-15 Juerg Billeter <j@bitron.ch>
* vala/valascope.vala: update for use with non-null types
svn path=/trunk/; revision=1241
Juerg Billeter [Tue, 15 Apr 2008 21:32:29 +0000 (21:32 +0000)]
fix cairo_set_dash binding
2008-04-15 Juerg Billeter <j@bitron.ch>
* vapi/cairo.vapi: fix cairo_set_dash binding
svn path=/trunk/; revision=1240
Juerg Billeter [Tue, 15 Apr 2008 20:27:37 +0000 (20:27 +0000)]
fix g_main_loop_new binding, patch by Andrea Del Signore
2008-04-15 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix g_main_loop_new binding,
patch by Andrea Del Signore
svn path=/trunk/; revision=1239
Juerg Billeter [Tue, 15 Apr 2008 20:15:40 +0000 (20:15 +0000)]
fix gtk_message_dialog_new* bindings, patch by Phil Housley
2008-04-15 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix gtk_message_dialog_new* bindings,
patch by Phil Housley
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1238
Juerg Billeter [Tue, 15 Apr 2008 20:07:19 +0000 (20:07 +0000)]
Remove is_ref and is_out properties from DataType class, add direction
2008-04-15 Juerg Billeter <j@bitron.ch>
* vala/valaarraytype.vala, vala/valaclasstype.vala,
vala/valadatatype.vala, vala/valaformalparameter.vala,
vala/valainterfacetype.vala, vala/valainterfacewriter.vala,
vala/valanulltype.vala, vala/valaparser.vala,
vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala,
vala/valatypeparametertype.vala, vala/valaunresolvedtype.vala,
vala/valavaluetype.vala, gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinterface.vala,
gobject/valaccodegeneratorinvocationexpression.vala,
gobject/valaccodegeneratormemberaccess.vala,
gobject/valaccodegeneratormethod.vala,
gobject/valaccodegeneratorsignal.vala,
gobject/valagidlwriter.vala, vapigen/valagidlparser.vala:
Remove is_ref and is_out properties from DataType class, add
direction property to FormalParameter class
svn path=/trunk/; revision=1237
Juerg Billeter [Tue, 15 Apr 2008 19:01:12 +0000 (19:01 +0000)]
improve error handling
2008-04-15 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala: improve error handling
svn path=/trunk/; revision=1236
Juerg Billeter [Mon, 14 Apr 2008 21:55:36 +0000 (21:55 +0000)]
set transfers_ownership of delegate return type
2008-04-14 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala: set transfers_ownership of delegate
return type
svn path=/trunk/; revision=1235
Juerg Billeter [Mon, 14 Apr 2008 21:13:57 +0000 (21:13 +0000)]
update for use with non-null types, patch by Andreas Brauchli
2008-04-14 Juerg Billeter <j@bitron.ch>
* vapi/libxml-2.0.vapi: update for use with non-null types,
patch by Andreas Brauchli
svn path=/trunk/; revision=1234
Juerg Billeter [Mon, 14 Apr 2008 21:08:08 +0000 (21:08 +0000)]
update for use with non-null types, patch by Phil Housley
2008-04-14 Juerg Billeter <j@bitron.ch>
* vapi/sqlite3.vapi: update for use with non-null types,
patch by Phil Housley
svn path=/trunk/; revision=1233
Juerg Billeter [Mon, 14 Apr 2008 20:35:59 +0000 (20:35 +0000)]
update for use with non-null types, patch by Levi Bard, fixes bug 528097
2008-04-14 Juerg Billeter <j@bitron.ch>
* vapi/sdl-mixer.vapi, vapi/sdl-ttf.vapi, vapi/sdl.vapi: update for
use with non-null types, patch by Levi Bard, fixes bug 528097
svn path=/trunk/; revision=1232