Juerg Billeter [Sun, 25 May 2008 18:02:23 +0000 (18:02 +0000)]
Fix type string for multi-dimensional arrays
2008-05-25 Juerg Billeter <j@bitron.ch>
* vala/valaarraytype.vala:
Fix type string for multi-dimensional arrays
svn path=/trunk/; revision=1435
Juerg Billeter [Sun, 25 May 2008 16:10:24 +0000 (16:10 +0000)]
use [Compact] attribute and fix return types, patch by Christian Meyer
2008-05-25 Juerg Billeter <j@bitron.ch>
* vapi/tiff.vapi: use [Compact] attribute and fix return types,
patch by Christian Meyer
svn path=/trunk/; revision=1434
Juerg Billeter [Sun, 25 May 2008 15:25:04 +0000 (15:25 +0000)]
fix qualified error type string
2008-05-25 Juerg Billeter <j@bitron.ch>
* vala/valaerrortype.vala: fix qualified error type string
svn path=/trunk/; revision=1433
Juerg Billeter [Sun, 25 May 2008 14:59:14 +0000 (14:59 +0000)]
Write qualified types in the interface writer
2008-05-25 Juerg Billeter <j@bitron.ch>
* vala/valaarraytype.vala:
* vala/valadatatype.vala:
* vala/valadelegatetype.vala:
* vala/valafieldprototype.vala:
* vala/valainterfacewriter.vala:
* vala/valamethodtype.vala:
* vala/valapointertype.vala:
* vala/valaunresolvedtype.vala:
* vala/valavoidtype.vala:
Write qualified types in the interface writer
svn path=/trunk/; revision=1432
Juerg Billeter [Sun, 25 May 2008 14:03:55 +0000 (14:03 +0000)]
use [Compact] attribute
2008-05-25 Juerg Billeter <j@bitron.ch>
* vapi/dbus-glib-1.vapi: use [Compact] attribute
svn path=/trunk/; revision=1431
Juerg Billeter [Sun, 25 May 2008 14:02:57 +0000 (14:02 +0000)]
Add support for [Immutable] class attribute, allow duplication of
2008-05-25 Juerg Billeter <j@bitron.ch>
* vala/valaclass.vala:
* gobject/valaccodegenerator.vala:
* vapi/glib-2.0.vapi:
Add support for [Immutable] class attribute, allow duplication of
immutable instances
svn path=/trunk/; revision=1430
Juerg Billeter [Sun, 25 May 2008 13:52:50 +0000 (13:52 +0000)]
fix warning with pointer casts
2008-05-25 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala: fix warning with pointer casts
svn path=/trunk/; revision=1429
Juerg Billeter [Sun, 25 May 2008 13:49:21 +0000 (13:49 +0000)]
Support qualified access to global symbols within expressions
2008-05-25 Juerg Billeter <j@bitron.ch>
* vala/valamemberaccess.vala:
* vala/valaparser.vala:
* vala/valasemanticanalyzer.vala:
Support qualified access to global symbols within expressions
svn path=/trunk/; revision=1428
Juerg Billeter [Sun, 25 May 2008 13:40:55 +0000 (13:40 +0000)]
use [Compact] attribute
2008-05-25 Juerg Billeter <j@bitron.ch>
* vapi/sqlite3.vapi: use [Compact] attribute
svn path=/trunk/; revision=1427
Juerg Billeter [Sun, 25 May 2008 13:34:13 +0000 (13:34 +0000)]
Report error when declaring virtual methods in compact classes, based on
2008-05-25 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Report error when declaring virtual methods in compact classes,
based on patch by Jared Moore, fixes bug 514844
svn path=/trunk/; revision=1426
Juerg Billeter [Sun, 25 May 2008 13:29:24 +0000 (13:29 +0000)]
Add support for [Compact] class attribute, register non-compact classes
2008-05-25 Juerg Billeter <j@bitron.ch>
* vala/valaclass.vala:
* vala/valainterfacewriter.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodememberaccessbinding.vala:
* gobject/valaccodemethodbinding.vala:
* gobject/valatyperegisterfunction.vala:
Add support for [Compact] class attribute, register non-compact
classes with GType, fixes bug 532518
* gee/hashmap.vala:
* gee/hashset.vala:
* gobject-introspection/gidl.vapi:
* tests/classes.exp:
* tests/classes.vala:
* vapi/glib-2.0.vapi:
Update to use compact classes where appropriate
svn path=/trunk/; revision=1425
Juerg Billeter [Sun, 25 May 2008 11:40:01 +0000 (11:40 +0000)]
Support qualified access to global symbols with `global::'
2008-05-25 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala:
* vala/valascanner.vala:
* vala/valasymbolresolver.vala:
* vala/valatokentype.vala:
* vala/valaunresolvedsymbol.vala:
Support qualified access to global symbols with `global::'
svn path=/trunk/; revision=1424
Juerg Billeter [Sun, 25 May 2008 10:04:33 +0000 (10:04 +0000)]
various binding fixes, patch by Christian Meyer
2008-05-25 Juerg Billeter <j@bitron.ch>
* vapi/tiff.vapi: various binding fixes, patch by Christian Meyer
svn path=/trunk/; revision=1423
Juerg Billeter [Sun, 25 May 2008 09:47:07 +0000 (09:47 +0000)]
Deprecate static classes, patch by Jared Moore, fixes bug 524509
2008-05-25 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala:
Deprecate static classes, patch by Jared Moore, fixes bug 524509
* vala/valareport.vala:
* tests/classes.vala:
* tests/structs.vala:
* gobject-introspection/gidl.vapi:
* vapi/dbus-glib-1.vapi:
* vapi/glib-2.0.vapi:
* vapi/libxml-2.0.vapi:
* vapi/taglib_c.vapi:
* vapi/packages/gstreamer-video-0.10/:
Replace static classes by namespaces
* vapi/gstreamer-video-0.10.vapi: regenerated
svn path=/trunk/; revision=1422
Juerg Billeter [Sun, 25 May 2008 09:25:00 +0000 (09:25 +0000)]
Support destructors for non-GObject classes, patch by Jared Moore, fixes
2008-05-25 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeclassbinding.vala:
Support destructors for non-GObject classes,
patch by Jared Moore, fixes bug 522135
* tests/classes.exp:
* tests/classes.vala:
Test destructors for non-GObject classes
svn path=/trunk/; revision=1421
Juerg Billeter [Sun, 25 May 2008 09:09:39 +0000 (09:09 +0000)]
Track error types that expressions can throw, based on patch by Jared
2008-05-25 Juerg Billeter <j@bitron.ch>
* vala/valacodenode.vala:
* vala/valacreationmethod.vala:
* vala/valaexpression.vala:
* vala/valagenieparser.vala:
* vala/valainterfacewriter.vala:
* vala/valamethod.vala:
* vala/valanamespace.vala:
* vala/valaparser.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasourcefile.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valaccodemethodbinding.vala:
* vapigen/valagidlparser.vala:
* vapigen/valavapigen.vala:
Track error types that expressions can throw,
based on patch by Jared Moore, fixes bug 482999
svn path=/trunk/; revision=1420
Juerg Billeter [Sat, 24 May 2008 09:43:10 +0000 (09:43 +0000)]
Use signal handler wrappers for dynamic signals, patch by Yu Feng, fixes
2008-05-24 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeassignmentbinding.vala:
Use signal handler wrappers for dynamic signals,
patch by Yu Feng, fixes bug 532290
svn path=/trunk/; revision=1419
Juerg Billeter [Sat, 24 May 2008 07:19:27 +0000 (07:19 +0000)]
Add get_dynamic_cname method to CCodeDynamicSignalBinding class, based on
2008-05-24 Juerg Billeter <j@bitron.ch>
* gobject/valaccodedynamicsignalbinding.vala:
Add get_dynamic_cname method to CCodeDynamicSignalBinding class,
based on patch by Yu Feng
svn path=/trunk/; revision=1418
Juerg Billeter [Fri, 23 May 2008 21:41:15 +0000 (21:41 +0000)]
Use GStaticRecMutex for lock statements, patch by Philip Van Hoof, fixes
2008-05-23 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
* gobject/valaccodegenerator.vala:
Use GStaticRecMutex for lock statements,
patch by Philip Van Hoof, fixes bug 532329
svn path=/trunk/; revision=1417
Juerg Billeter [Fri, 23 May 2008 21:15:12 +0000 (21:15 +0000)]
fix gtk_window_get_default_size binding, patch by Phil Housley
2008-05-23 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix gtk_window_get_default_size binding,
patch by Phil Housley
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1416
Juerg Billeter [Fri, 23 May 2008 20:43:50 +0000 (20:43 +0000)]
Add bindings for constants, fix parameter direction for the gst_format_*
2008-05-23 Juerg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-video-0.10/:
Add bindings for constants, fix parameter direction for the
gst_format_* functions, patch by Ali Sabil
* vapi/gstreamer-video-0.10.vapi: regenerated
svn path=/trunk/; revision=1415
Juerg Billeter [Fri, 23 May 2008 20:39:00 +0000 (20:39 +0000)]
Fix the newsegment virtual method in GstBaseSrc, move the
2008-05-23 Juerg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-base-0.10/:
Fix the newsegment virtual method in GstBaseSrc, move the
GST_BASE_TRANSFORM_* constants to the GstBaseTransform class,
fix weak fields in GstBase*, and hide the abidata fields,
patch by Ali Sabil
* vapi/gstreamer-base-0.10.vapi: regenerated
svn path=/trunk/; revision=1414
Juerg Billeter [Fri, 23 May 2008 20:29:54 +0000 (20:29 +0000)]
Improve the GstBuffer binding, base class fixes in metadata, patch by Ali
2008-05-23 Juerg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/:
Improve the GstBuffer binding, base class fixes in metadata,
patch by Ali Sabil, fixes bug 510693 and bug 533011
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1413
Juerg Billeter [Fri, 23 May 2008 19:25:16 +0000 (19:25 +0000)]
Support [DBus (visible = false)] for methods, properties, and signals,
2008-05-23 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeclassbinding.vala:
Support [DBus (visible = false)] for methods, properties, and
signals, based on patch by Ali Sabil, fixes bug 532254
svn path=/trunk/; revision=1412
Juerg Billeter [Fri, 23 May 2008 17:57:30 +0000 (17:57 +0000)]
add DBus.ObjectPath class
2008-05-23 Juerg Billeter <j@bitron.ch>
* vapi/dbus-glib-1.vapi: add DBus.ObjectPath class
svn path=/trunk/; revision=1411
Juerg Billeter [Fri, 23 May 2008 12:59:40 +0000 (12:59 +0000)]
fix syntax errors
2008-05-23 Juerg Billeter <j@bitron.ch>
* vapi/sdl.vapi: fix syntax errors
svn path=/trunk/; revision=1410
Juerg Billeter [Fri, 23 May 2008 12:41:08 +0000 (12:41 +0000)]
thank contributors
2008-05-23 Juerg Billeter <j@bitron.ch>
* THANKS: thank contributors
svn path=/trunk/; revision=1409
Juerg Billeter [Fri, 23 May 2008 09:35:29 +0000 (09:35 +0000)]
add GLogFunc and g_log_set_handler bindings, patch by Nicolas Joseph,
2008-05-23 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add GLogFunc and g_log_set_handler bindings,
patch by Nicolas Joseph, fixes bug 533601
svn path=/trunk/; revision=1408
Juerg Billeter [Fri, 23 May 2008 09:22:28 +0000 (09:22 +0000)]
nullable fixes, patch by Andrea Del Signore, fixes bug 533278
2008-05-23 Juerg Billeter <j@bitron.ch>
* vapi/packages/gnome-keyring-1/: nullable fixes,
patch by Andrea Del Signore, fixes bug 533278
* vapi/gnome-keyring-1.vapi: regenerated
svn path=/trunk/; revision=1407
Juerg Billeter [Fri, 23 May 2008 09:12:34 +0000 (09:12 +0000)]
Fix private class fields, patch by Jared Moore, fixes bug 532898
2008-05-23 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
Fix private class fields, patch by Jared Moore, fixes bug 532898
* tests/classes-fields.vala:
Test class fields
svn path=/trunk/; revision=1406
Juerg Billeter [Fri, 23 May 2008 08:44:13 +0000 (08:44 +0000)]
Allow invocation of void methods as initializer and iterator in for
2008-05-23 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Allow invocation of void methods as initializer and iterator in
for statements, patch by Jared Moore, fixes bug 514801
* tests/Makefile.am:
* tests/statements-iteration.exp:
* tests/statements-iteration.vala:
Test void methods in for statements
svn path=/trunk/; revision=1405
Juerg Billeter [Thu, 22 May 2008 20:21:19 +0000 (20:21 +0000)]
Add libtiff bindings, patch by Christian Meyer
2008-05-22 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am:
* vapi/tiff.vapi:
Add libtiff bindings, patch by Christian Meyer
svn path=/trunk/; revision=1404
Juerg Billeter [Tue, 20 May 2008 21:27:06 +0000 (21:27 +0000)]
Add support for """verbatim strings"""
2008-05-20 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala:
* vala/valascanner.vala:
* vala/valatokentype.vala:
Add support for """verbatim strings"""
svn path=/trunk/; revision=1403
Juerg Billeter [Tue, 20 May 2008 16:34:39 +0000 (16:34 +0000)]
Fix D-Bus method calls returning arrays, fixes bug 529351
2008-05-20 Juerg Billeter <j@bitron.ch>
* gobject/valaccodedynamicmethodbinding.vala:
Fix D-Bus method calls returning arrays, fixes bug 529351
svn path=/trunk/; revision=1402
Juerg Billeter [Mon, 19 May 2008 20:28:13 +0000 (20:28 +0000)]
Add parser for Genie, patch by Jamie McCracken
2008-05-19 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am:
* vala/valagenieparser.vala:
* vala/valageniescanner.vala:
* vala/valagenietokentype.vala:
* vala/valaparser.vala:
* vala/valasourcefile.vala:
* compiler/valacompiler.vala:
Add parser for Genie, patch by Jamie McCracken
svn path=/trunk/; revision=1401
Juerg Billeter [Sun, 18 May 2008 18:36:36 +0000 (18:36 +0000)]
Use g_free as default free function for nullable value types
2008-05-18 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
Use g_free as default free function for nullable value types
svn path=/trunk/; revision=1400
Juerg Billeter [Sun, 18 May 2008 18:27:32 +0000 (18:27 +0000)]
Don't report value ownership errors for non-disposable types
2008-05-18 Juerg Billeter <j@bitron.ch>
* vala/valadatatype.vala:
* vala/valapointertype.vala:
* vala/valasemanticanalyzer.vala:
* gobject/valaccodegenerator.vala:
Don't report value ownership errors for non-disposable types
svn path=/trunk/; revision=1399
Juerg Billeter [Sun, 18 May 2008 16:57:27 +0000 (16:57 +0000)]
Add support for dynamic properties
2008-05-18 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am:
* vala/valacodegenerator.vala:
* vala/valadynamicproperty.vala:
* vala/valasemanticanalyzer.vala:
* gobject/Makefile.am:
* gobject/valaccodedynamicmethodbinding.vala:
* gobject/valaccodedynamicpropertybinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodememberaccessbinding.vala:
Add support for dynamic properties
svn path=/trunk/; revision=1398
Juerg Billeter [Sat, 17 May 2008 19:02:55 +0000 (19:02 +0000)]
fix typo in GSpawnFlags binding, fixes bug 533046
2008-05-17 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix typo in GSpawnFlags binding,
fixes bug 533046
svn path=/trunk/; revision=1397
Juerg Billeter [Sat, 17 May 2008 13:10:14 +0000 (13:10 +0000)]
add clamp method to all integer and floating point types
2008-05-17 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add clamp method to all integer and floating
point types
svn path=/trunk/; revision=1396
Juerg Billeter [Sat, 17 May 2008 12:38:49 +0000 (12:38 +0000)]
Don't use UnresolvedType for array and pointer types, add basic support
2008-05-17 Juerg Billeter <j@bitron.ch>
* vala/valaarraytype.vala:
* vala/valaclass.vala:
* vala/valaparser.vala:
* vala/valapointertype.vala:
* vala/valasymbolresolver.vala:
* vala/valaunresolvedtype.vala:
* vapigen/valagidlparser.vala:
Don't use UnresolvedType for array and pointer types, add basic
support for arrays of arrays
svn path=/trunk/; revision=1395
Ali Sabil [Sat, 17 May 2008 08:59:57 +0000 (08:59 +0000)]
Automatically hide fields starting with _
2008-05-17 Ali Sabil <ali.sabil@gmail.com>
* vapigen/valagidlparser.vala: Automatically hide fields
starting with _
svn path=/trunk/; revision=1394
Ali Sabil [Sat, 17 May 2008 08:57:51 +0000 (08:57 +0000)]
Add class method detection
2008-05-17 Ali Sabil <ali.sabil@gmail.com>
* vapigen/valagidlparser.vala: Add class method detection
svn path=/trunk/; revision=1393
Juerg Billeter [Fri, 16 May 2008 21:45:07 +0000 (21:45 +0000)]
Allow hiding constants in the metadata file for vapigen, based on patch by
2008-05-16 Juerg Billeter <j@bitron.ch>
* vala/valaconstant.vala:
* vala/valainterfacewriter.vala:
* vapigen/valagidlparser.vala:
Allow hiding constants in the metadata file for vapigen,
based on patch by Ali Sabil
svn path=/trunk/; revision=1392
Ali Sabil [Fri, 16 May 2008 19:29:53 +0000 (19:29 +0000)]
Add support for class methods in the interface writer
2008-05-16 Ali Sabil <ali.sabil@gmail.com>
* vala/valainterfacewriter.vala: Add support for class
methods in the interface writer
svn path=/trunk/; revision=1391
Juerg Billeter [Fri, 16 May 2008 19:24:58 +0000 (19:24 +0000)]
Replace DataType.transfers_ownership and DataType.takes_ownership by
2008-05-16 Juerg Billeter <j@bitron.ch>
* vala/valaarraytype.vala:
* vala/valaclass.vala:
* vala/valaclassinstancetype.vala:
* vala/valaclasstype.vala:
* vala/valadatatype.vala:
* vala/valainterfaceinstancetype.vala:
* vala/valainterfacetype.vala:
* vala/valainterfacewriter.vala:
* vala/valamemorymanager.vala:
* vala/valanullchecker.vala:
* vala/valaparser.vala:
* vala/valareferencetransferexpression.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasymbolresolver.vala:
* vala/valatypeparametertype.vala:
* vala/valaunresolvedtype.vala:
* vala/valavaluetype.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valagidlwriter.vala:
* vapigen/valagidlparser.vala:
* vapi/glib-2.0.vapi:
Replace DataType.transfers_ownership and DataType.takes_ownership
by DataType.value_owned, prepare support for owned value types
svn path=/trunk/; revision=1390
Juerg Billeter [Tue, 13 May 2008 09:05:32 +0000 (09:05 +0000)]
Rename Property.type_reference to Property.property_type
2008-05-13 Juerg Billeter <j@bitron.ch>
* vala/valaclass.vala:
* vala/valainterfacewriter.vala:
* vala/valamemorymanager.vala:
* vala/valaproperty.vala:
* vala/valasemanticanalyzer.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodememberaccessbinding.vala:
* gobject/valaccodetypesymbolbinding.vala:
* gobject/valagidlwriter.vala:
Rename Property.type_reference to Property.property_type
svn path=/trunk/; revision=1389
Juerg Billeter [Tue, 13 May 2008 08:53:39 +0000 (08:53 +0000)]
Rename FormalParameter.type_reference to FormalParameter.parameter_type
2008-05-13 Juerg Billeter <j@bitron.ch>
* vala/valadelegate.vala:
* vala/valaformalparameter.vala:
* vala/valainterfacewriter.vala:
* vala/valamemorymanager.vala:
* vala/valamethod.vala:
* vala/valanullchecker.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasourcefile.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodedynamicmethodbinding.vala:
* gobject/valaccodedynamicsignalbinding.vala:
* gobject/valaccodeelementaccessbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodegeneratorsignal.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valaccodememberaccessbinding.vala:
* gobject/valaccodemethodbinding.vala:
* gobject/valaccodetypesymbolbinding.vala:
* gobject/valagidlwriter.vala:
Rename FormalParameter.type_reference to
FormalParameter.parameter_type
svn path=/trunk/; revision=1388
Juerg Billeter [Tue, 13 May 2008 08:28:59 +0000 (08:28 +0000)]
Rename Field.type_reference to Field.field_type
2008-05-13 Juerg Billeter <j@bitron.ch>
* vala/valaarraytype.vala:
* vala/valafield.vala:
* vala/valainterfacewriter.vala:
* vala/valamemorymanager.vala:
* vala/valasemanticanalyzer.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodememberaccessbinding.vala:
Rename Field.type_reference to Field.field_type
svn path=/trunk/; revision=1387
Juerg Billeter [Tue, 13 May 2008 08:16:09 +0000 (08:16 +0000)]
Rename Expression.static_type to Expression.value_type
2008-05-13 Juerg Billeter <j@bitron.ch>
* vala/valaexpression.vala:
* vala/valamemorymanager.vala:
* vala/valanullchecker.vala:
* vala/valasemanticanalyzer.vala:
* gobject/valaccodearraycreationexpressionbinding.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodeelementaccessbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valaccodememberaccessbinding.vala:
Rename Expression.static_type to Expression.value_type
svn path=/trunk/; revision=1386
Juerg Billeter [Mon, 12 May 2008 23:39:32 +0000 (23:39 +0000)]
Post-release version bump
2008-05-12 Juerg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
svn path=/trunk/; revision=1385
Juerg Billeter [Mon, 12 May 2008 23:37:56 +0000 (23:37 +0000)]
update for 0.3.2 release
2008-05-12 Juerg Billeter <j@bitron.ch>
* NEWS: update for 0.3.2 release
svn path=/trunk/; revision=1383
Juerg Billeter [Mon, 12 May 2008 23:24:39 +0000 (23:24 +0000)]
improve D-Bus service support for arbitrary return types
2008-05-12 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeclassbinding.vala: improve D-Bus service support
for arbitrary return types
svn path=/trunk/; revision=1382
Juerg Billeter [Mon, 12 May 2008 21:15:24 +0000 (21:15 +0000)]
support methods throwing exceptions in D-Bus services, patch by Ali Sabil
2008-05-12 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeclassbinding.vala: support methods throwing
exceptions in D-Bus services, patch by Ali Sabil
svn path=/trunk/; revision=1381
Juerg Billeter [Mon, 12 May 2008 20:48:05 +0000 (20:48 +0000)]
Extend namespaces section, based on patch by Phil Housley
2008-05-12 Juerg Billeter <j@bitron.ch>
* doc/vala/namespaces.xml:
Extend namespaces section, based on patch by Phil Housley
svn path=/trunk/; revision=1380
Juerg Billeter [Mon, 12 May 2008 20:40:33 +0000 (20:40 +0000)]
Small improvements to statements section
2008-05-12 Juerg Billeter <j@bitron.ch>
* doc/vala/statements.xml:
Small improvements to statements section
svn path=/trunk/; revision=1379
Juerg Billeter [Mon, 12 May 2008 20:34:33 +0000 (20:34 +0000)]
Add sections for methods and attributes
2008-05-12 Juerg Billeter <j@bitron.ch>
* doc/vala/Makefile.am:
* doc/vala/attributes.xml:
* doc/vala/index.xml:
* doc/vala/methods.xml:
Add sections for methods and attributes
svn path=/trunk/; revision=1378
Juerg Billeter [Mon, 12 May 2008 20:29:40 +0000 (20:29 +0000)]
Extend expressions section, based on patch by Phil Housley
2008-05-12 Juerg Billeter <j@bitron.ch>
* doc/vala/expressions.xml:
Extend expressions section, based on patch by Phil Housley
svn path=/trunk/; revision=1377
Marc-André Lureau [Mon, 12 May 2008 18:52:12 +0000 (18:52 +0000)]
add some debug and logging function bindings, fixes bug 531977
2008-05-12 Marc-André Lureau <marcandre.lureau@gmail.com>
* vapi/glib-2.0.vapi: add some debug and logging function
bindings, fixes bug 531977
svn path=/trunk/; revision=1376
Juerg Billeter [Mon, 12 May 2008 15:26:33 +0000 (15:26 +0000)]
fix `var' with pointer types, fixes bug 527779
2008-05-12 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix `var' with pointer types,
fixes bug 527779
svn path=/trunk/; revision=1375
Juerg Billeter [Mon, 12 May 2008 15:17:01 +0000 (15:17 +0000)]
Add time_t and struct tm bindings, based on patch by Evan Nemerson, fixes
2008-05-12 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Add time_t and struct tm bindings,
based on patch by Evan Nemerson, fixes bug 527778
svn path=/trunk/; revision=1374
Juerg Billeter [Mon, 12 May 2008 15:01:22 +0000 (15:01 +0000)]
add basic support for instance_pos attribute to struct creation methods,
2008-05-12 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: add basic support for
instance_pos attribute to struct creation methods, fixes bug 530774
svn path=/trunk/; revision=1373
Juerg Billeter [Sun, 11 May 2008 16:24:16 +0000 (16:24 +0000)]
fix double properties
2008-05-11 Juerg Billeter <j@bitron.ch>
* gobject/valaccodetypesymbolbinding.vala: fix double properties
svn path=/trunk/; revision=1372
Juerg Billeter [Sun, 11 May 2008 14:02:03 +0000 (14:02 +0000)]
Fix syntax error in .vapi file when using string literal as default
2008-05-11 Juerg Billeter <j@bitron.ch>
* vala/valastringliteral.vala:
Fix syntax error in .vapi file when using string literal as default
argument, patch by Jared Moore, fixes bug 532564
svn path=/trunk/; revision=1371
Juerg Billeter [Sun, 11 May 2008 13:57:44 +0000 (13:57 +0000)]
Fix crash when opening output file fails, fixes bug 466573
2008-05-11 Juerg Billeter <j@bitron.ch>
* ccode/valaccodewriter.vala:
* gobject/valaccodegeneratorsourcefile.vala:
Fix crash when opening output file fails, fixes bug 466573
svn path=/trunk/; revision=1370
Juerg Billeter [Sun, 11 May 2008 13:42:49 +0000 (13:42 +0000)]
fix freeing nested GLists and GSLists, fixes bug 443514
2008-05-11 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix freeing nested GLists and
GSLists, fixes bug 443514
svn path=/trunk/; revision=1369
Juerg Billeter [Sun, 11 May 2008 13:09:28 +0000 (13:09 +0000)]
remove obsolete GList copy code
2008-05-11 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: remove obsolete GList copy code
svn path=/trunk/; revision=1368
Juerg Billeter [Sun, 11 May 2008 12:40:08 +0000 (12:40 +0000)]
Use correct marshaller for string arrays, patch by Ali Sabil, fixes bug
2008-05-11 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorsignal.vala:
Use correct marshaller for string arrays,
patch by Ali Sabil, fixes bug 531251
svn path=/trunk/; revision=1367
Juerg Billeter [Sun, 11 May 2008 12:32:06 +0000 (12:32 +0000)]
Set appropriate static type for field prototypes, fixes bug 532314
2008-05-11 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am:
* vala/valafieldprototype.vala:
* vala/valasemanticanalyzer.vala:
Set appropriate static type for field prototypes, fixes bug 532314
svn path=/trunk/; revision=1366
Juerg Billeter [Sun, 11 May 2008 11:10:52 +0000 (11:10 +0000)]
specify free functions, fixes bug 531631
2008-05-11 Juerg Billeter <j@bitron.ch>
* vapi/libxml-2.0.vapi: specify free functions, fixes bug 531631
svn path=/trunk/; revision=1365
Juerg Billeter [Sun, 11 May 2008 11:06:29 +0000 (11:06 +0000)]
fix assignment of integer literals to derived integer types, fixes bug
2008-05-11 Juerg Billeter <j@bitron.ch>
* vala/valaintegertype.vala: fix assignment of integer literals to
derived integer types, fixes bug 530809
svn path=/trunk/; revision=1364
Juerg Billeter [Sun, 11 May 2008 10:55:05 +0000 (10:55 +0000)]
fix gtk_message_dialog_new* bindings, fixes bug 531628
2008-05-11 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix gtk_message_dialog_new* bindings,
fixes bug 531628
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1363
Juerg Billeter [Sun, 11 May 2008 10:38:12 +0000 (10:38 +0000)]
Move dynamic module loading support into separate VAPI file and improve
2008-05-11 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am:
* vapi/glib-2.0.vapi:
* vapi/gmodule-2.0.vapi:
* vapi/gstreamer-0.10.deps:
Move dynamic module loading support into separate VAPI file and
improve bindings, fixes bug 531583
svn path=/trunk/; revision=1362
Juerg Billeter [Sun, 11 May 2008 06:50:59 +0000 (06:50 +0000)]
add g_strv_length binding
2008-05-11 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add g_strv_length binding
svn path=/trunk/; revision=1361
Juerg Billeter [Sun, 11 May 2008 06:46:35 +0000 (06:46 +0000)]
remove obsolete InstanceLast attributes
2008-05-11 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: remove obsolete InstanceLast attributes
svn path=/trunk/; revision=1360
Juerg Billeter [Sat, 10 May 2008 22:27:38 +0000 (22:27 +0000)]
fix crash on invalid code, fixes bug 531034
2008-05-11 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala: fix crash on invalid code, fixes bug 531034
svn path=/trunk/; revision=1359
Juerg Billeter [Sat, 10 May 2008 22:13:37 +0000 (22:13 +0000)]
fix g_io_channel_set_encoding binding, fixes bug 530926
2008-05-11 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix g_io_channel_set_encoding binding,
fixes bug 530926
svn path=/trunk/; revision=1358
Juerg Billeter [Sat, 10 May 2008 21:45:23 +0000 (21:45 +0000)]
support base types for structs
2008-05-10 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: support base types for structs
* vapi/packages/gstreamer-0.10/: fix GstClockTime and
GstClockTimeDiff bindings, fixes bug 530809
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1357
Marc-André Lureau [Sat, 10 May 2008 21:39:27 +0000 (21:39 +0000)]
Add an empty line after struct declaration to please gtk-doc, fixes bug
2008-05-11 Marc-André Lureau <marcandre.lureau@gmail.com>
* ccode/valaccodestruct.vala:
Add an empty line after struct declaration to please gtk-doc,
fixes bug 532350
svn path=/trunk/; revision=1356
Juerg Billeter [Sat, 10 May 2008 21:09:10 +0000 (21:09 +0000)]
Fix connecting to the same dynamic signal multiple times, patch by Yu
2008-05-10 Juerg Billeter <j@bitron.ch>
* gobject/valaccodedynamicsignalbinding.vala:
Fix connecting to the same dynamic signal multiple times,
patch by Yu Feng, fixes bug 532053
svn path=/trunk/; revision=1355
Juerg Billeter [Sat, 10 May 2008 16:22:50 +0000 (16:22 +0000)]
Fix `namespace Foo.Bar {...}' parsing, fixes bug 531379
2008-05-10 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala:
Fix `namespace Foo.Bar {...}' parsing, fixes bug 531379
svn path=/trunk/; revision=1354
Juerg Billeter [Sat, 10 May 2008 14:55:38 +0000 (14:55 +0000)]
Support cname attribute for enum values, patch by Jared Moore, fixes bug
2008-05-10 Juerg Billeter <j@bitron.ch>
* vala/valaattributeprocessor.vala:
* vala/valaenumvalue.vala:
Support cname attribute for enum values,
patch by Jared Moore, fixes bug 529288
svn path=/trunk/; revision=1353
Juerg Billeter [Sat, 10 May 2008 14:50:35 +0000 (14:50 +0000)]
Fix gtk_dialog_new_with_buttons and gtk_file_chooser_dialog_new* bindings,
2008-05-10 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/:
Fix gtk_dialog_new_with_buttons and gtk_file_chooser_dialog_new*
bindings, patch by Nicolas Joseph, fixes bug 531436
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1352
Juerg Billeter [Sat, 10 May 2008 14:38:24 +0000 (14:38 +0000)]
Fix GstBuffer.data binding, patch by Jaap A. Haitsma, fixes bug 531431
2008-05-10 Juerg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/:
Fix GstBuffer.data binding,
patch by Jaap A. Haitsma, fixes bug 531431
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1351
Juerg Billeter [Sat, 10 May 2008 14:29:32 +0000 (14:29 +0000)]
Fix gdk_pixbuf_new_from_data and gdk_pixbuf_save bindings, patch by Jaap
2008-05-10 Juerg Billeter <j@bitron.ch>
* vapi/packages/gdk-pixbuf-2.0/:
Fix gdk_pixbuf_new_from_data and gdk_pixbuf_save bindings,
patch by Jaap A. Haitsma, fixes bug 531412
* vapi/gdk-pixbuf-2.0.vapi: regenerated
svn path=/trunk/; revision=1350
Juerg Billeter [Thu, 8 May 2008 21:11:17 +0000 (21:11 +0000)]
Support `this' in struct creation methods, patch by Jared Moore, fixes bug
2008-05-08 Juerg Billeter <j@bitron.ch>
* vala/valastruct.vala:
Support `this' in struct creation methods,
patch by Jared Moore, fixes bug 527770
svn path=/trunk/; revision=1349
Juerg Billeter [Thu, 8 May 2008 21:02:22 +0000 (21:02 +0000)]
Fix string return type for marshallers, patch by Yu Feng, fixes bug 531137
2008-05-08 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorsignal.vala:
Fix string return type for marshallers,
patch by Yu Feng, fixes bug 531137
svn path=/trunk/; revision=1348
Juerg Billeter [Thu, 8 May 2008 20:57:21 +0000 (20:57 +0000)]
Support properties in D-Bus services, based on patch by Yu Feng, fixes bug
2008-05-08 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeclassbinding.vala:
Support properties in D-Bus services,
based on patch by Yu Feng, fixes bug 531132
svn path=/trunk/; revision=1347
Juerg Billeter [Thu, 8 May 2008 20:49:32 +0000 (20:49 +0000)]
Don't export override methods to D-Bus, fixes bug 531135
2008-05-08 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeclassbinding.vala:
Don't export override methods to D-Bus, fixes bug 531135
svn path=/trunk/; revision=1346
Juerg Billeter [Thu, 8 May 2008 20:23:32 +0000 (20:23 +0000)]
Add dbus_g_connection_lookup_g_object and dbus_g_proxy_get_* bindings,
2008-05-08 Juerg Billeter <j@bitron.ch>
* vapi/dbus-glib-1.vapi:
Add dbus_g_connection_lookup_g_object and dbus_g_proxy_get_*
bindings, patch by Yu Feng, fixes bug 531131
svn path=/trunk/; revision=1345
Juerg Billeter [Thu, 8 May 2008 20:19:15 +0000 (20:19 +0000)]
Support inheritance for type_id, marshaller_type_name, get_value_function,
2008-05-08 Juerg Billeter <j@bitron.ch>
* vala/valastruct.vala:
* gobject/valaccodetypesymbolbinding.vala:
Support inheritance for type_id, marshaller_type_name,
get_value_function, and set_value_function
* vapi/glib-2.0.vapi:
Set type_id, marshaller_type_name, get_value_function, and
set_value_function for uint32, fixes bug 530603
svn path=/trunk/; revision=1344
Juerg Billeter [Thu, 8 May 2008 19:14:01 +0000 (19:14 +0000)]
add SDL ActiveState enum, patch by Levi Bard, fixes bug 530429
2008-05-08 Juerg Billeter <j@bitron.ch>
* vapi/sdl.vapi: add SDL ActiveState enum,
patch by Levi Bard, fixes bug 530429
svn path=/trunk/; revision=1343
Juerg Billeter [Thu, 8 May 2008 19:09:25 +0000 (19:09 +0000)]
Report error when trying to create instance of static class, patch by
2008-05-08 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Report error when trying to create instance of static class,
patch by Andreas Brauchli, fixes bug 516779
svn path=/trunk/; revision=1342
Juerg Billeter [Thu, 8 May 2008 19:01:40 +0000 (19:01 +0000)]
Check number of type arguments in object creation expression, patch by
2008-05-08 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
* vala/valastruct.vala:
Check number of type arguments in object creation expression,
patch by Andreas Brauchli, fixes bug 528833
svn path=/trunk/; revision=1341
Jaap A. Haitsma [Thu, 8 May 2008 06:10:06 +0000 (06:10 +0000)]
reviewed by: Jürg Billeter
2008-05-08 Jaap A. Haitsma <jaap@haitsma.org>
reviewed by: Jürg Billeter
* vapi/hal.vapi:
Also return length in string array returned from
libhal_find_device_by_capability. Fixes bug #530738
svn path=/trunk/; revision=1340
Juerg Billeter [Wed, 7 May 2008 20:21:05 +0000 (20:21 +0000)]
Support signals in D-Bus services, patch by Yu Feng
2008-05-07 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeclassbinding.vala:
Support signals in D-Bus services, patch by Yu Feng
svn path=/trunk/; revision=1339
Juerg Billeter [Sat, 3 May 2008 12:04:49 +0000 (12:04 +0000)]
Support custom cname for structs in InterfaceWriter
2008-05-03 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala:
* vala/valastruct.vala:
Support custom cname for structs in InterfaceWriter
svn path=/trunk/; revision=1338
Juerg Billeter [Fri, 2 May 2008 21:03:36 +0000 (21:03 +0000)]
inherit integer_type and floating_type, fixes bug 530600
2008-05-02 Juerg Billeter <j@bitron.ch>
* vala/valastruct.vala: inherit integer_type and floating_type,
fixes bug 530600
svn path=/trunk/; revision=1337
Juerg Billeter [Fri, 2 May 2008 20:58:58 +0000 (20:58 +0000)]
Fix crash when using arrays in D-Bus services, fixes bug 530455
2008-05-02 Juerg Billeter <j@bitron.ch>
* vala/valaarraytype.vala:
* vala/valadatatype.vala:
* gobject/valaccodegeneratorsignal.vala:
Fix crash when using arrays in D-Bus services, fixes bug 530455
svn path=/trunk/; revision=1336
Juerg Billeter [Fri, 2 May 2008 20:58:00 +0000 (20:58 +0000)]
implement replace_expression
2008-05-02 Juerg Billeter <j@bitron.ch>
* vala/valainitializerlist.vala: implement replace_expression
svn path=/trunk/; revision=1335