Juerg Billeter [Wed, 28 May 2008 20:41:47 +0000 (20:41 +0000)]
Fix SAX parser bindings, patch by Travis Watkins
2008-05-28 Juerg Billeter <j@bitron.ch>
* vapi/libxml-2.0.vapi:
Fix SAX parser bindings, patch by Travis Watkins
svn path=/trunk/; revision=1472
Juerg Billeter [Wed, 28 May 2008 20:20:04 +0000 (20:20 +0000)]
Allow short-hand form to initialize arrays, fixes bug 515407
2008-05-28 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala:
Allow short-hand form to initialize arrays, fixes bug 515407
svn path=/trunk/; revision=1471
Juerg Billeter [Wed, 28 May 2008 20:07:46 +0000 (20:07 +0000)]
Don't generate default creation method for abstract classes, patch by
2008-05-28 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala:
Don't generate default creation method for abstract classes,
patch by Marc-André Lureau, fixes bug 531190
svn path=/trunk/; revision=1470
Juerg Billeter [Wed, 28 May 2008 19:47:10 +0000 (19:47 +0000)]
Report error when using invalid modifiers for methods and fields, based on
2008-05-28 Juerg Billeter <j@bitron.ch>
* vala/valanamespace.vala:
* vala/valaparser.vala:
Report error when using invalid modifiers for methods and fields,
based on patch by Jared Moore, fixes bug 534018
svn path=/trunk/; revision=1469
Juerg Billeter [Wed, 28 May 2008 19:35:06 +0000 (19:35 +0000)]
Ensure to not generate empty C structs, patch by Jared Moore, fixes bug
2008-05-28 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeclassbinding.vala:
Ensure to not generate empty C structs,
patch by Jared Moore, fixes bug 533977
svn path=/trunk/; revision=1468
Juerg Billeter [Wed, 28 May 2008 19:23:57 +0000 (19:23 +0000)]
Fix crash when using concatenated strings as constant or field
2008-05-28 Juerg Billeter <j@bitron.ch>
* vala/valaconstant.vala:
* vala/valafield.vala:
Fix crash when using concatenated strings as constant or field
initializer, patch by Jared Moore, fixes bug 533723
svn path=/trunk/; revision=1467
Juerg Billeter [Wed, 28 May 2008 19:01:45 +0000 (19:01 +0000)]
Move memory management into CCodeGenerator.transform_expression as
2008-05-28 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am:
* vala/valaaddressofexpression.vala:
* vala/valaarraycreationexpression.vala:
* vala/valaassignment.vala:
* vala/valabaseaccess.vala:
* vala/valabinaryexpression.vala:
* vala/valabooleanliteral.vala:
* vala/valacastexpression.vala:
* vala/valacharacterliteral.vala:
* vala/valacodevisitor.vala:
* vala/valaconditionalexpression.vala:
* vala/valadatatype.vala:
* vala/valaelementaccess.vala:
* vala/valaexpression.vala:
* vala/valaintegerliteral.vala:
* vala/valaintegertype.vala:
* vala/valainvocationexpression.vala:
* vala/valalambdaexpression.vala:
* vala/valamemberaccess.vala:
* vala/valanullchecker.vala:
* vala/valanullliteral.vala:
* vala/valanulltype.vala:
* vala/valaobjectcreationexpression.vala:
* vala/valaparenthesizedexpression.vala:
* vala/valapointerindirection.vala:
* vala/valapostfixexpression.vala:
* vala/valarealliteral.vala:
* vala/valareferencetransferexpression.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasignal.vala:
* vala/valasizeofexpression.vala:
* vala/valastringliteral.vala:
* vala/valatypecheck.vala:
* vala/valatypeofexpression.vala:
* vala/valaunaryexpression.vala:
* vala/valaunresolvedtype.vala:
* vala/valavaluetype.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodeelementaccessbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valaccodememberaccessbinding.vala:
* gobject/valaccodemethodbinding.vala:
* compiler/valacompiler.vala:
Move memory management into CCodeGenerator.transform_expression
as preparation to properly support nullable structs, fixes memory
leak in internal substring method, fixes bug 527775
svn path=/trunk/; revision=1466
Juerg Billeter [Wed, 28 May 2008 17:41:50 +0000 (17:41 +0000)]
Improve handling of dynamic signal parameters
2008-05-28 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
* vala/valasignal.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodedynamicsignalbinding.vala:
Improve handling of dynamic signal parameters
svn path=/trunk/; revision=1465
Juerg Billeter [Wed, 28 May 2008 17:05:40 +0000 (17:05 +0000)]
Add dynamic symbols to scope instead of code context
2008-05-28 Juerg Billeter <j@bitron.ch>
* vala/valacodecontext.vala:
* vala/valascope.vala:
* vala/valasemanticanalyzer.vala:
Add dynamic symbols to scope instead of code context
svn path=/trunk/; revision=1464
Juerg Billeter [Wed, 28 May 2008 16:25:28 +0000 (16:25 +0000)]
Report error when declaring a compact class implementing an interface,
2008-05-28 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Report error when declaring a compact class implementing an
interface, patch by Phil Housley
svn path=/trunk/; revision=1463
Juerg Billeter [Wed, 28 May 2008 16:14:12 +0000 (16:14 +0000)]
fix GTypeModule binding
2008-05-28 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix GTypeModule binding
svn path=/trunk/; revision=1462
Juerg Billeter [Wed, 28 May 2008 16:11:59 +0000 (16:11 +0000)]
Rename Expression.expected_type to Expression.target_type
2008-05-28 Juerg Billeter <j@bitron.ch>
* vala/valaexpression.vala:
* vala/valasemanticanalyzer.vala:
* gobject/valaccodegenerator.vala:
Rename Expression.expected_type to Expression.target_type
svn path=/trunk/; revision=1461
Juerg Billeter [Wed, 28 May 2008 16:07:50 +0000 (16:07 +0000)]
Compute Method.base_method and Property.base_property when needed so that
2008-05-28 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala:
* vala/valamethod.vala:
* vala/valaproperty.vala:
* vala/valasemanticanalyzer.vala:
* gobject/valagidlwriter.vala:
Compute Method.base_method and Property.base_property when needed
so that we can already use them in the semantic analyzer
svn path=/trunk/; revision=1460
Juerg Billeter [Wed, 28 May 2008 11:32:31 +0000 (11:32 +0000)]
Use parentheses to ensure that the full expression is cast
2008-05-28 Juerg Billeter <j@bitron.ch>
* ccode/valaccodecastexpression.vala:
Use parentheses to ensure that the full expression is cast
svn path=/trunk/; revision=1459
Juerg Billeter [Tue, 27 May 2008 21:50:15 +0000 (21:50 +0000)]
Fix temporary variable handling for throw statements
2008-05-27 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
* vala/valathrowstatement.vala:
* gobject/valaccodegenerator.vala:
Fix temporary variable handling for throw statements
svn path=/trunk/; revision=1458
Jamie McCracken [Tue, 27 May 2008 05:05:28 +0000 (05:05 +0000)]
Improved performance of print statement
2008-05-27 Jamie McCracken <jamiemcc@gnome.org>
* vala/valagenieparser.vala:
Improved performance of print statement
svn path=/trunk/; revision=1457
Jamie McCracken [Tue, 27 May 2008 04:32:16 +0000 (04:32 +0000)]
Added optional indent attribute to allow spaces to be used in lieu of tabs
2008-05-27 Jamie McCracken <jamiemcc@gnome.org>
* vala/valagenieparser.vala:
* vala/valageniescanner.vala:
Added optional indent attribute to allow spaces to be used in lieu of tabs for indents
svn path=/trunk/; revision=1456
Jamie McCracken [Tue, 27 May 2008 04:07:32 +0000 (04:07 +0000)]
Made GLib using directive optional
2008-05-27 Jamie McCracken <jamiemcc@gnome.org>
* vala/valagenieparser.vala:
Made GLib using directive optional
svn path=/trunk/; revision=1455
Marc-André Lureau [Mon, 26 May 2008 18:02:56 +0000 (18:02 +0000)]
add atexit () and memory profile bindings, fixes bug #530627
2008-05-26 Marc-André Lureau <marcandre.lureau@gmail.com>
* vapi/glib-2.0.vapi (Memory): add atexit () and memory profile
bindings, fixes bug #530627
svn path=/trunk/; revision=1454
Marc-André Lureau [Mon, 26 May 2008 17:59:07 +0000 (17:59 +0000)]
add weak pointer references bindings and {freeze,thaw}_notify ()
2008-05-26 Marc-André Lureau <marcandre.lureau@gmail.com>
* vapi/glib-2.0.vapi (Object): add weak pointer references
bindings and {freeze,thaw}_notify ()
svn path=/trunk/; revision=1453
Jamie McCracken [Mon, 26 May 2008 15:25:51 +0000 (15:25 +0000)]
Fix initialiser expression in for statement
2008-05-26 Jamie McCracken <jamiemcc@gnome.org>
* vala/valagenieparser.vala:
Fix initialiser expression in for statement
svn path=/trunk/; revision=1452
Juerg Billeter [Mon, 26 May 2008 12:44:38 +0000 (12:44 +0000)]
s/Typesymbol/TypeSymbol/
2008-05-26 Juerg Billeter <j@bitron.ch>
* vala/valaarraytype.vala:
* vala/valaclass.vala:
* vala/valacreationmethod.vala:
* vala/valadatatype.vala:
* vala/valadelegate.vala:
* vala/valaenum.vala:
* vala/valaerrordomain.vala:
* vala/valainstancecast.vala:
* vala/valaintegertype.vala:
* vala/valainterface.vala:
* vala/valainterfacewriter.vala:
* vala/valaobjecttype.vala:
* vala/valaobjecttypesymbol.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasourcefile.vala:
* vala/valastruct.vala:
* vala/valasymbolresolver.vala:
* vala/valatypeparameter.vala:
* vala/valatypesymbol.vala:
* vala/valavaluetype.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodeelementaccessbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodegeneratorsignal.vala:
* gobject/valaccodeinterfacebinding.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valaccodememberaccessbinding.vala:
* gobject/valaccodemethodbinding.vala:
* gobject/valaccodeobjecttypesymbolbinding.vala:
* gobject/valaccodetypesymbolbinding.vala:
* gobject/valaclassregisterfunction.vala:
* gobject/valagidlwriter.vala:
* gobject/valainterfaceregisterfunction.vala:
* gobject/valatyperegisterfunction.vala:
* vapigen/valagidlparser.vala:
s/Typesymbol/TypeSymbol/
svn path=/trunk/; revision=1451
Juerg Billeter [Mon, 26 May 2008 12:30:49 +0000 (12:30 +0000)]
use [Compact] attribute
2008-05-26 Juerg Billeter <j@bitron.ch>
* vapi/libxml-2.0.vapi: use [Compact] attribute
svn path=/trunk/; revision=1450
Juerg Billeter [Mon, 26 May 2008 12:30:05 +0000 (12:30 +0000)]
Fix implicit casts for instances in invocation expressions, fixes bug
2008-05-26 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeinvocationexpressionbinding.vala:
Fix implicit casts for instances in invocation expressions,
fixes bug 530369
svn path=/trunk/; revision=1449
Juerg Billeter [Mon, 26 May 2008 11:49:23 +0000 (11:49 +0000)]
Support `var' in foreach statements, based on patch by Jamie McCracken
2008-05-26 Juerg Billeter <j@bitron.ch>
* vala/valaforeachstatement.vala:
* vala/valaparser.vala:
* vala/valasemanticanalyzer.vala:
Support `var' in foreach statements,
based on patch by Jamie McCracken
svn path=/trunk/; revision=1448
Juerg Billeter [Mon, 26 May 2008 09:03:59 +0000 (09:03 +0000)]
Replace ClassInstanceType and InterfaceInstanceType by ObjectType
2008-05-26 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am:
* vala/valaclass.vala:
* vala/valainterface.vala:
* vala/valaobjecttype.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasignal.vala:
* vala/valasymbolresolver.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodememberaccessbinding.vala:
* gobject/valaccodemethodbinding.vala:
* gobject/valagidlwriter.vala:
Replace ClassInstanceType and InterfaceInstanceType by ObjectType
svn path=/trunk/; revision=1447
Jamie McCracken [Mon, 26 May 2008 05:47:42 +0000 (05:47 +0000)]
allow init block to be used in context.root namespace where its parsed and
2008-05-26 Jamie McCracken <jamiemcc@gnome.org>
* vala/valagenieparser.vala:
allow init block to be used in context.root namespace where
its parsed and converted to the "main" function
svn path=/trunk/; revision=1446
Jamie McCracken [Mon, 26 May 2008 04:18:35 +0000 (04:18 +0000)]
added missing throws ParseError to get_for_statement_type method
2008-05-26 Jamie McCracken <jamiemcc@gnome.org>
* vala/valagenieparser.vala: added missing throws ParseError to get_for_statement_type method
svn path=/trunk/; revision=1445
Jamie McCracken [Mon, 26 May 2008 04:15:02 +0000 (04:15 +0000)]
fix warning with pointer casts
2008-05-26 Jamie McCracken <jamiemcc@gnome.org>
* vala/valagenieparser.vala: fix warning with pointer casts
svn path=/trunk/; revision=1444
Jamie McCracken [Mon, 26 May 2008 04:10:26 +0000 (04:10 +0000)]
Deprecate static classes
2008-05-26 Jamie McCracken <jamiemcc@gnome.org>
* vala/valagenieparser.vala:
Deprecate static classes
svn path=/trunk/; revision=1443
Jamie McCracken [Mon, 26 May 2008 04:04:15 +0000 (04:04 +0000)]
replaced foreach with for..in
2008-05-26 Jamie McCracken <jamiemcc@gnome.org>
* vala/valgenieparser.vala: replaced foreach with for..in
svn path=/trunk/; revision=1442
Juerg Billeter [Sun, 25 May 2008 22:41:44 +0000 (22:41 +0000)]
more fixes, patch by Christian Meyer
2008-05-26 Juerg Billeter <j@bitron.ch>
* vapi/tiff.vapi: more fixes, patch by Christian Meyer
svn path=/trunk/; revision=1441
Philip Van Hoof [Sun, 25 May 2008 21:00:51 +0000 (21:00 +0000)]
Support interfaces for D-Bus services
2008-05-25 Philip Van Hoof <pvanhoof@gnome.org>
* vala/valainterface.vala:
* vala/Makefile.am:
* vala/valaobjecttypesymbol.vala:
* vala/valaclass.vala:
* gobject/valaccodeinterfacebinding.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/Makefile.am:
* gobject/valaccodeobjecttypesymbolbinding.vala:
Support interfaces for D-Bus services
svn path=/trunk/; revision=1440
Jaap A. Haitsma [Sun, 25 May 2008 20:46:08 +0000 (20:46 +0000)]
use [Compact] attribute for Hal.Context class. Fixes bug #534809
2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
* vapi/hal.vapi: use [Compact] attribute for Hal.Context class.
Fixes bug #534809
svn path=/trunk/; revision=1439
Juerg Billeter [Sun, 25 May 2008 19:24:44 +0000 (19:24 +0000)]
improve GstValue binding, patch by Jaap A. Haitsma, fixes bug 533805
2008-05-25 Juerg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/: improve GstValue binding,
patch by Jaap A. Haitsma, fixes bug 533805
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1438
Juerg Billeter [Sun, 25 May 2008 18:51:13 +0000 (18:51 +0000)]
Fix type resolving for arrays and pointers when declaring multiple
2008-05-25 Juerg Billeter <j@bitron.ch>
* vala/valaarraytype.vala:
* vala/valapointertype.vala:
* vala/valasemanticanalyzer.vala:
Fix type resolving for arrays and pointers when declaring multiple
variables in a single statement
svn path=/trunk/; revision=1437
Juerg Billeter [Sun, 25 May 2008 18:41:51 +0000 (18:41 +0000)]
fix mktime binding
2008-05-25 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix mktime binding
svn path=/trunk/; revision=1436
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