Jürg Billeter [Tue, 3 Jun 2008 20:24:02 +0000 (20:24 +0000)]
Add byte order and number format constants, patch by Ali Sabil
2008-06-03 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Add byte order and number format constants, patch by Ali Sabil
svn path=/trunk/; revision=1557
Jürg Billeter [Tue, 3 Jun 2008 20:15:09 +0000 (20:15 +0000)]
Nullable fixes, patch by Nicolas Joseph, fixes bug 536478
2008-06-03 Jürg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/:
Nullable fixes, patch by Nicolas Joseph, fixes bug 536478
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1556
Jürg Billeter [Tue, 3 Jun 2008 19:47:08 +0000 (19:47 +0000)]
Document delegate syntax, based on patch by Phil Housley
2008-06-03 Jürg Billeter <j@bitron.ch>
* doc/vala/delegates.xml:
Document delegate syntax, based on patch by Phil Housley
svn path=/trunk/; revision=1555
Jürg Billeter [Tue, 3 Jun 2008 19:41:59 +0000 (19:41 +0000)]
Document signal syntax, based on patch by Phil Housley
2008-06-03 Jürg Billeter <j@bitron.ch>
* doc/vala/classes.xml:
Document signal syntax, based on patch by Phil Housley
svn path=/trunk/; revision=1554
Jürg Billeter [Tue, 3 Jun 2008 19:35:40 +0000 (19:35 +0000)]
Document property syntax, based on patch by Phil Housley
2008-06-03 Jürg Billeter <j@bitron.ch>
* doc/vala/classes.xml:
Document property syntax, based on patch by Phil Housley
svn path=/trunk/; revision=1553
Jürg Billeter [Tue, 3 Jun 2008 19:14:22 +0000 (19:14 +0000)]
Document enum syntax, based on patch by Phil Housley
2008-06-03 Jürg Billeter <j@bitron.ch>
* doc/vala/enums.xml:
Document enum syntax, based on patch by Phil Housley
svn path=/trunk/; revision=1552
Jürg Billeter [Tue, 3 Jun 2008 18:37:33 +0000 (18:37 +0000)]
Document method syntax, based on patch by Phil Housley
2008-06-03 Jürg Billeter <j@bitron.ch>
* doc/vala/methods.xml:
Document method syntax, based on patch by Phil Housley
svn path=/trunk/; revision=1551
Jürg Billeter [Tue, 3 Jun 2008 17:49:46 +0000 (17:49 +0000)]
Fix gst_adapter_take_buffer and gst_collect_pads_take_buffer bindings, add
2008-06-03 Jürg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-base-0.10/:
Fix gst_adapter_take_buffer and gst_collect_pads_take_buffer
bindings, add gst_base_sink_wait_clock binding, patch by Ali Sabil
* vapi/gstreamer-base-0.10.vapi: regenerated
svn path=/trunk/; revision=1550
Jürg Billeter [Tue, 3 Jun 2008 15:03:48 +0000 (15:03 +0000)]
Various fixes, patch by Phil Housley
2008-06-03 Jürg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/:
Various fixes, patch by Phil Housley
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1549
Jürg Billeter [Tue, 3 Jun 2008 13:57:39 +0000 (13:57 +0000)]
various fixes, patch by Christian Meyer
2008-06-03 Jürg Billeter <j@bitron.ch>
* vapi/tiff.vapi: various fixes, patch by Christian Meyer
svn path=/trunk/; revision=1548
Jürg Billeter [Tue, 3 Jun 2008 10:48:43 +0000 (10:48 +0000)]
distribute and install libepc-1.0.vapi
2008-06-03 Jürg Billeter <j@bitron.ch>
* vapi/Makefile.am: distribute and install libepc-1.0.vapi
svn path=/trunk/; revision=1547
Jürg Billeter [Mon, 2 Jun 2008 19:49:16 +0000 (19:49 +0000)]
Fix invalid C code when using deprecated static classes
2008-06-02 Jürg Billeter <j@bitron.ch>
* gobject/valaccodeclassbinding.vala:
Fix invalid C code when using deprecated static classes
svn path=/trunk/; revision=1546
Jürg Billeter [Mon, 2 Jun 2008 19:26:35 +0000 (19:26 +0000)]
Fix gst_bus_add_watch_full binding
2008-06-02 Jürg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/:
Fix gst_bus_add_watch_full binding
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1545
Jürg Billeter [Mon, 2 Jun 2008 19:23:34 +0000 (19:23 +0000)]
Add basic support for owned delegates, fixes bug 533484
2008-06-02 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valaccodemethodbinding.vala:
Add basic support for owned delegates, fixes bug 533484
svn path=/trunk/; revision=1544
Jürg Billeter [Mon, 2 Jun 2008 14:19:49 +0000 (14:19 +0000)]
Use [Compact] attribute, patch by Phil Housley
2008-06-02 Jürg Billeter <j@bitron.ch>
* vapi/gmodule-2.0.vapi:
* vapi/sdl-gfx.vapi:
* vapi/sdl-mixer.vapi:
* vapi/sdl-ttf.vapi:
* vapi/sdl.vapi:
Use [Compact] attribute, patch by Phil Housley
svn path=/trunk/; revision=1543
Jürg Billeter [Mon, 2 Jun 2008 13:06:28 +0000 (13:06 +0000)]
Fix g_hash_table_foreach binding
2008-06-02 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Fix g_hash_table_foreach binding
svn path=/trunk/; revision=1542
Jürg Billeter [Mon, 2 Jun 2008 12:44:51 +0000 (12:44 +0000)]
add .bzrignore for bzr-svn, patch by Jaap A. Haitsma, fixes bug 535451
2008-06-02 Jürg Billeter <j@bitron.ch>
* .bzrignore: add .bzrignore for bzr-svn,
patch by Jaap A. Haitsma, fixes bug 535451
svn path=/trunk/; revision=1541
Jürg Billeter [Mon, 2 Jun 2008 12:36:07 +0000 (12:36 +0000)]
Ensure that classes implement abstract properties of interfaces and
2008-06-02 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Ensure that classes implement abstract properties of interfaces
and abstract base classes, fixes bug 535270
svn path=/trunk/; revision=1540
Jürg Billeter [Mon, 2 Jun 2008 12:21:42 +0000 (12:21 +0000)]
Fix gdk_event_get_* bindings, fixes bug 533933
2008-06-02 Jürg Billeter <j@bitron.ch>
* vapi/packages/gdk-2.0/:
Fix gdk_event_get_* bindings, fixes bug 533933
* vapi/gdk-2.0.vapi: regenerated
svn path=/trunk/; revision=1539
Jürg Billeter [Mon, 2 Jun 2008 12:17:05 +0000 (12:17 +0000)]
Add libepc-1.0 bindings, patch by Ali Sabil, fixes bug 533113
2008-06-02 Jürg Billeter <j@bitron.ch>
* vapi/libepc-1.0.vapi:
* vapi/packages/libepc-1.0/:
Add libepc-1.0 bindings, patch by Ali Sabil, fixes bug 533113
svn path=/trunk/; revision=1538
Jürg Billeter [Sun, 1 Jun 2008 22:11:50 +0000 (22:11 +0000)]
Fix g_file_enumerator_next_files_finish binding, fixes bug 524904
2008-06-02 Jürg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/:
Fix g_file_enumerator_next_files_finish binding, fixes bug 524904
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=1537
Jürg Billeter [Sun, 1 Jun 2008 21:57:43 +0000 (21:57 +0000)]
Fix derived generic classes, fixes bug 524426
2008-06-01 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Fix derived generic classes, fixes bug 524426
svn path=/trunk/; revision=1536
Jürg Billeter [Sun, 1 Jun 2008 20:55:12 +0000 (20:55 +0000)]
Fix gmenu_tree_directory_get_contents binding, fixes bug 522745
2008-06-01 Jürg Billeter <j@bitron.ch>
* vapi/packages/libgnome-menu/:
Fix gmenu_tree_directory_get_contents binding, fixes bug 522745
* vapi/libgnome-menu.vapi: regenerated
svn path=/trunk/; revision=1535
Jürg Billeter [Sun, 1 Jun 2008 20:34:28 +0000 (20:34 +0000)]
Fix foreach when used with methods returning arrays
2008-06-01 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
Fix foreach when used with methods returning arrays
svn path=/trunk/; revision=1534
Jaap A. Haitsma [Sun, 1 Jun 2008 16:58:25 +0000 (16:58 +0000)]
Small change to make code a bit clearer. Fixes bug #535942
2008-06-01 Jaap A. Haitsma <jaap@haitsma.org>
* vala/valasemanticanalyzer.vala:
Small change to make code a bit clearer. Fixes bug #535942
svn path=/trunk/; revision=1533
Jaap A. Haitsma [Sun, 1 Jun 2008 16:50:06 +0000 (16:50 +0000)]
Gst.structure.get_value should return Gst.value. Fixes bug #535965
2008-06-01 Jaap A. Haitsma <jaap@haitsma.org>
* vapi/gstreamer-0.10.vapi:
* vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata:
Gst.structure.get_value should return Gst.value. Fixes bug #535965
svn path=/trunk/; revision=1532
Jürg Billeter [Sun, 1 Jun 2008 16:12:28 +0000 (16:12 +0000)]
Fix gdk_window_get_geometry binding, patch by Thijs Vermeir, fixes bug
2008-06-01 Jürg Billeter <j@bitron.ch>
* vapi/packages/gdk-2.0/:
Fix gdk_window_get_geometry binding,
patch by Thijs Vermeir, fixes bug 536062
* vapi/gdk-2.0.vapi: regenerated
svn path=/trunk/; revision=1531
Jürg Billeter [Sun, 1 Jun 2008 15:44:30 +0000 (15:44 +0000)]
Improve error message for incompatible signal handlers, fixes bug 535953
2008-06-01 Jürg Billeter <j@bitron.ch>
* vala/valadelegate.vala:
* vala/valasemanticanalyzer.vala:
Improve error message for incompatible signal handlers,
fixes bug 535953
svn path=/trunk/; revision=1530
Jürg Billeter [Sun, 1 Jun 2008 14:44:59 +0000 (14:44 +0000)]
Fix GtkTreeView bindings, patch by Daniel Svensson
2008-06-01 Jürg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/:
Fix GtkTreeView bindings, patch by Daniel Svensson
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1529
Jürg Billeter [Sun, 1 Jun 2008 14:01:33 +0000 (14:01 +0000)]
Report error when trying to use unowned element variable in foreach
2008-06-01 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Report error when trying to use unowned element variable in
foreach statement using iterators
svn path=/trunk/; revision=1528
Jürg Billeter [Sun, 1 Jun 2008 13:10:39 +0000 (13:10 +0000)]
Fix memory management when using owned variables as argument for unowned
2008-06-01 Jürg Billeter <j@bitron.ch>
* gobject/valaccodeinvocationexpressionbinding.vala:
Fix memory management when using owned variables as argument
for unowned reference and output parameters
* tests/classes-methods.vala:
Test owned and unowned variables as argument for reference and
output parameters
svn path=/trunk/; revision=1527
Jürg Billeter [Sun, 1 Jun 2008 11:31:44 +0000 (11:31 +0000)]
Report error when trying to use unowned variables as argument for owned
2008-06-01 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Report error when trying to use unowned variables as argument
for owned reference and output parameters
svn path=/trunk/; revision=1526
Jürg Billeter [Sun, 1 Jun 2008 09:45:59 +0000 (09:45 +0000)]
Report internal error for missing type argument
2008-06-01 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Report internal error for missing type argument
svn path=/trunk/; revision=1525
Jürg Billeter [Sat, 31 May 2008 21:34:50 +0000 (21:34 +0000)]
Fix handling of ref array arguments
2008-05-31 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
* vapigen/valavapigen.vala:
Fix handling of ref array arguments
svn path=/trunk/; revision=1524
Jürg Billeter [Sat, 31 May 2008 21:02:18 +0000 (21:02 +0000)]
Fix memory management for ref and out arguments
2008-05-31 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
* vala/valasymbolresolver.vala:
* vala/valaunaryexpression.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* compiler/valacompiler.vala:
Fix memory management for ref and out arguments
svn path=/trunk/; revision=1523
Jürg Billeter [Sat, 31 May 2008 19:10:14 +0000 (19:10 +0000)]
Don't complain about incompatible signal handlers when using signals in
2008-05-31 Jürg Billeter <j@bitron.ch>
* vala/valadatatype.vala:
Don't complain about incompatible signal handlers when using
signals in generic types
svn path=/trunk/; revision=1522
Jürg Billeter [Sat, 31 May 2008 18:55:25 +0000 (18:55 +0000)]
Fix gst_value_get_buffer and gst_value_get_structure bindings, patch by
2008-05-31 Jürg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/:
Fix gst_value_get_buffer and gst_value_get_structure bindings,
patch by Ali Sabil
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1521
Jürg Billeter [Sat, 31 May 2008 18:49:17 +0000 (18:49 +0000)]
Add support for structs in D-Bus service and client methods, fixes bug
2008-05-31 Jürg Billeter <j@bitron.ch>
* vala/valastruct.vala:
* gobject/valaccodedynamicmethodbinding.vala:
* gobject/valaccodegeneratorsignal.vala:
* gobject/valaccodeobjecttypesymbolbinding.vala:
Add support for structs in D-Bus service and client methods,
fixes bug 534548 and bug 534549
svn path=/trunk/; revision=1520
Jürg Billeter [Sat, 31 May 2008 13:46:01 +0000 (13:46 +0000)]
Fix gst_value_list_get_value binding
2008-05-31 Jürg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/:
Fix gst_value_list_get_value binding
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1519
Jürg Billeter [Sat, 31 May 2008 12:40:43 +0000 (12:40 +0000)]
hide gtk_menu_item_select and gtk_menu_item_deselect, already available in
2008-05-31 Jürg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: hide gtk_menu_item_select and
gtk_menu_item_deselect, already available in base class
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1518
Jürg Billeter [Sat, 31 May 2008 11:44:25 +0000 (11:44 +0000)]
Nullable and `out' fixes, based on patch by Nicolas Joseph, fixes bug
2008-05-31 Jürg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/:
* vapi/packages/gtksourceview-2.0/:
Nullable and `out' fixes,
based on patch by Nicolas Joseph, fixes bug 535618
* vapi/gtk+-2.0.vapi:
* vapi/gtksourceview-2.0.vapi:
Regenerated
svn path=/trunk/; revision=1517
Jürg Billeter [Sat, 31 May 2008 11:38:55 +0000 (11:38 +0000)]
Convert to instance_pos attribute syntax, patch by Nicolas Joseph, fixes
2008-05-31 Jürg Billeter <j@bitron.ch>
* vapi/libxml-2.0.vapi:
Convert to instance_pos attribute syntax,
patch by Nicolas Joseph, fixes bug 535617
svn path=/trunk/; revision=1516
Jürg Billeter [Sat, 31 May 2008 11:36:56 +0000 (11:36 +0000)]
Nullable fixes, patch by Nicolas Joseph, fixes bug 535616
2008-05-31 Jürg Billeter <j@bitron.ch>
* vapi/packages/gtksourceview-2.0/:
Nullable fixes, patch by Nicolas Joseph, fixes bug 535616
* vapi/gtksourceview-2.0.vapi: regenerated
svn path=/trunk/; revision=1515
Jürg Billeter [Sat, 31 May 2008 11:29:54 +0000 (11:29 +0000)]
Emit nested enums before structs, based on patch by Jaap A. Haitsma, fixes
2008-05-31 Jürg Billeter <j@bitron.ch>
* vala/valaclass.vala:
* vala/valainterface.vala:
Emit nested enums before structs,
based on patch by Jaap A. Haitsma, fixes bug 530063
svn path=/trunk/; revision=1514
Jürg Billeter [Sat, 31 May 2008 11:21:26 +0000 (11:21 +0000)]
Allow non-null sender parameter in signal handlers
2008-05-31 Jürg Billeter <j@bitron.ch>
* vala/valasignal.vala:
Allow non-null sender parameter in signal handlers
svn path=/trunk/; revision=1513
Jürg Billeter [Sat, 31 May 2008 11:10:42 +0000 (11:10 +0000)]
Fix ownership for constant arrays of structs, fixes bug 535560
2008-05-31 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Fix ownership for constant arrays of structs, fixes bug 535560
svn path=/trunk/; revision=1512
Jürg Billeter [Sat, 31 May 2008 09:26:58 +0000 (09:26 +0000)]
Fix delegates with array parameters, fixes bug 519928
2008-05-31 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
Fix delegates with array parameters, fixes bug 519928
svn path=/trunk/; revision=1511
Jürg Billeter [Sat, 31 May 2008 08:25:31 +0000 (08:25 +0000)]
Fix gst_structure_get_value binding, fixes bug 530817
2008-05-31 Jürg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/:
Fix gst_structure_get_value binding, fixes bug 530817
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1510
Jürg Billeter [Sat, 31 May 2008 08:22:38 +0000 (08:22 +0000)]
Support nullable return types
2008-05-31 Jürg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala:
* vapigen/valagidlparser.vala:
Support nullable return types
svn path=/trunk/; revision=1509
Jürg Billeter [Sat, 31 May 2008 08:12:02 +0000 (08:12 +0000)]
Fix memory leak when boxing unowned values
2008-05-31 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
Fix memory leak when boxing unowned values
svn path=/trunk/; revision=1508
Jürg Billeter [Sat, 31 May 2008 08:04:41 +0000 (08:04 +0000)]
Free boxed value when unboxing
2008-05-31 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
Free boxed value when unboxing
svn path=/trunk/; revision=1507
Jürg Billeter [Sat, 31 May 2008 08:00:32 +0000 (08:00 +0000)]
Fix dynamic signals for D-Bus objects
2008-05-31 Jürg Billeter <j@bitron.ch>
* gobject/valaccodedynamicsignalbinding.vala:
Fix dynamic signals for D-Bus objects
svn path=/trunk/; revision=1506
Jürg Billeter [Fri, 30 May 2008 23:48:58 +0000 (23:48 +0000)]
Support dynamic properties and signals also for GObject subtypes
2008-05-31 Jürg Billeter <j@bitron.ch>
* gobject/valaccodedynamicpropertybinding.vala:
* gobject/valaccodedynamicsignalbinding.vala:
Support dynamic properties and signals also for GObject subtypes
svn path=/trunk/; revision=1505
Jürg Billeter [Fri, 30 May 2008 23:36:51 +0000 (23:36 +0000)]
Fix copying nullable structs
2008-05-31 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
Fix copying nullable structs
svn path=/trunk/; revision=1504
Jürg Billeter [Fri, 30 May 2008 23:10:31 +0000 (23:10 +0000)]
Improvements to nullable struct support
2008-05-31 Jürg Billeter <j@bitron.ch>
* ccode/valaccodeunaryexpression.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
Improvements to nullable struct support
svn path=/trunk/; revision=1503
Juerg Billeter [Fri, 30 May 2008 22:48:14 +0000 (22:48 +0000)]
Add basic support for nullable structs
2008-05-31 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valaccodememberaccessbinding.vala:
Add basic support for nullable structs
* tests/structs.vala:
Test nullable struct parameters
svn path=/trunk/; revision=1502
Jürg Billeter [Fri, 30 May 2008 21:05:02 +0000 (21:05 +0000)]
remove obsolete code
2008-05-30 Jürg Billeter <j@bitron.ch>
* vala/valadatatype.vala: remove obsolete code
svn path=/trunk/; revision=1501
Jürg Billeter [Fri, 30 May 2008 20:59:16 +0000 (20:59 +0000)]
fix g_value_copy and g_value_transform bindings, fixes bug 523767
2008-05-30 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix g_value_copy and g_value_transform
bindings, fixes bug 523767
svn path=/trunk/; revision=1500
Jürg Billeter [Fri, 30 May 2008 20:44:41 +0000 (20:44 +0000)]
Check return type and parameters of signal handlers
2008-05-30 Jürg Billeter <j@bitron.ch>
* vala/valaobjecttype.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasignal.vala:
Check return type and parameters of signal handlers
svn path=/trunk/; revision=1499
Juerg Billeter [Fri, 30 May 2008 16:56:15 +0000 (16:56 +0000)]
Use lazy initialization for type_argument_list in DataType class to
2008-05-30 Juerg Billeter <j@bitron.ch>
* vala/valadatatype.vala:
Use lazy initialization for type_argument_list in DataType class
to improve performance
svn path=/trunk/; revision=1498
Juerg Billeter [Fri, 30 May 2008 14:59:31 +0000 (14:59 +0000)]
Add support for dynamic properties of GObjects
2008-05-30 Juerg Billeter <j@bitron.ch>
* vala/valadynamicmethod.vala:
* vala/valadynamicproperty.vala:
* vala/valasymbol.vala:
* gobject/valaccodedynamicpropertybinding.vala:
Add support for dynamic properties of GObjects
svn path=/trunk/; revision=1497
Juerg Billeter [Fri, 30 May 2008 14:29:39 +0000 (14:29 +0000)]
Add support for dynamic signals of GObjects
2008-05-30 Juerg Billeter <j@bitron.ch>
* gobject/valaccodedynamicsignalbinding.vala:
Add support for dynamic signals of GObjects
svn path=/trunk/; revision=1496
Ali Sabil [Fri, 30 May 2008 11:34:07 +0000 (11:34 +0000)]
fix Gst.Pad.push_event ownership transfer
2008-05-30 Ali Sabil <ali.sabil@gmail.com>
* vapi/packages/gstreamer-0.10/: fix Gst.Pad.push_event
ownership transfer
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1495
Juerg Billeter [Thu, 29 May 2008 22:17:16 +0000 (22:17 +0000)]
Use lazy initialization for error_types list in CodeNode class to improve
2008-05-30 Juerg Billeter <j@bitron.ch>
* vala/valacodenode.vala:
Use lazy initialization for error_types list in CodeNode class
to improve performance
svn path=/trunk/; revision=1494
Juerg Billeter [Thu, 29 May 2008 21:48:51 +0000 (21:48 +0000)]
Use Gee.List instead of Gee.Collection to improve iteration performance
2008-05-29 Juerg Billeter <j@bitron.ch>
* vala/valablock.vala:
* vala/valaclass.vala:
* vala/valacodecontext.vala:
* vala/valacodenode.vala:
* vala/valadatatype.vala:
* vala/valadelegatetype.vala:
* vala/valadynamicmethod.vala:
* vala/valadynamicproperty.vala:
* vala/valaenum.vala:
* vala/valaerrordomain.vala:
* vala/valaforstatement.vala:
* vala/valainitializerlist.vala:
* vala/valainterface.vala:
* vala/valainterfacewriter.vala:
* vala/valainvocationexpression.vala:
* vala/valalambdaexpression.vala:
* vala/valamember.vala:
* vala/valamemberaccess.vala:
* vala/valamethod.vala:
* vala/valamethodtype.vala:
* vala/valanamespace.vala:
* vala/valaobjectcreationexpression.vala:
* vala/valaobjecttypesymbol.vala:
* vala/valapointertype.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasignaltype.vala:
* vala/valasourcefile.vala:
* vala/valastruct.vala:
* vala/valaswitchsection.vala:
* vala/valaswitchstatement.vala:
* vala/valasymbol.vala:
* vala/valasymbolresolver.vala:
* vala/valatypesymbol.vala:
* ccode/valaccodecommaexpression.vala:
* ccode/valaccodefragment.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodeelementaccessbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodegeneratorsignal.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valagidlwriter.vala:
Use Gee.List instead of Gee.Collection to improve iteration
performance
svn path=/trunk/; revision=1493
Juerg Billeter [Thu, 29 May 2008 21:40:49 +0000 (21:40 +0000)]
Don't use iterator objects for lists to improve performance
2008-05-29 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
* gobject/valaccodegenerator.vala:
Don't use iterator objects for lists to improve performance
svn path=/trunk/; revision=1492
Juerg Billeter [Thu, 29 May 2008 21:03:38 +0000 (21:03 +0000)]
Use verbose error messages by default, display relative filenames in error
2008-05-29 Juerg Billeter <j@bitron.ch>
* vala/valasourcefile.vala:
* vala/valasourcereference.vala:
* compiler/valacompiler.vala:
Use verbose error messages by default, display relative filenames
in error messages, fixes bug 535480
svn path=/trunk/; revision=1491
Ali Sabil [Thu, 29 May 2008 20:41:55 +0000 (20:41 +0000)]
fix Gst.Pad.push ownership transfer
2008-05-29 Ali Sabil <ali.sabil@gmail.com>
* vapi/packages/gstreamer-0.10/: fix Gst.Pad.push
ownership transfer
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1490
Ali Sabil [Thu, 29 May 2008 20:39:34 +0000 (20:39 +0000)]
fix Gst.Element.add_pad ownership transfer
2008-05-29 Ali Sabil <ali.sabil@gmail.com>
* vapi/packages/gstreamer-0.10/: fix Gst.Element.add_pad
ownership transfer
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1489
Ali Sabil [Thu, 29 May 2008 20:36:25 +0000 (20:36 +0000)]
fixed VideoCaps.YUV to return a weak string
2008-05-29 Ali Sabil <ali.sabil@gmail.com>
* vapi/packages/gstreamer-video-0.10/: fixed VideoCaps.YUV
to return a weak string
* vapi/gstreamer-video-0.10.vapi: regenerated
svn path=/trunk/; revision=1488
Ali Sabil [Thu, 29 May 2008 20:33:51 +0000 (20:33 +0000)]
hide private fields from GstAdapter, and specify the type argument for
2008-05-29 Ali Sabil <ali.sabil@gmail.com>
* vapi/packages/gstreamer-base-0.10/: hide private fields from
GstAdapter, and specify the type argument for GstCollectPads.data
* vapi/gstreamer-base-0.10.vapi: regenerated
svn path=/trunk/; revision=1487
Juerg Billeter [Thu, 29 May 2008 20:26:37 +0000 (20:26 +0000)]
Output cheader filenames for namespace fields and constants
2008-05-29 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala:
Output cheader filenames for namespace fields and constants
* vapi/gdk-2.0.vapi:
* vapi/gdk-pixbuf-2.0.vapi:
* vapi/gio-2.0.vapi:
* vapi/gio-unix-2.0.vapi:
* vapi/gnet-2.0.vapi:
* vapi/gnome-desktop-2.0.vapi:
* vapi/gnome-keyring-1.vapi:
* vapi/gnome-vfs-2.0.vapi:
* vapi/goocanvas.vapi:
* vapi/gstreamer-0.10.vapi:
* vapi/gstreamer-audio-0.10.vapi:
* vapi/gstreamer-dataprotocol-0.10.vapi:
* vapi/gstreamer-net-0.10.vapi:
* vapi/gstreamer-riff-0.10.vapi:
* vapi/gstreamer-rtp-0.10.vapi:
* vapi/gstreamer-rtsp-0.10.vapi:
* vapi/gstreamer-sdp-0.10.vapi:
* vapi/gstreamer-tag-0.10.vapi:
* vapi/gstreamer-video-0.10.vapi:
* vapi/gtk+-2.0.vapi:
* vapi/hildon-1.vapi:
* vapi/json-glib-1.0.vapi:
* vapi/libglade-2.0.vapi:
* vapi/libgnome-2.0.vapi:
* vapi/libgnomeui-2.0.vapi:
* vapi/libnotify.vapi:
* vapi/libsoup-2.2.vapi:
* vapi/libsoup-2.4.vapi:
* vapi/pango.vapi:
* vapi/poppler-glib.vapi:
Regenerated
svn path=/trunk/; revision=1486
Juerg Billeter [Thu, 29 May 2008 17:42:25 +0000 (17:42 +0000)]
Add support for non-GObject classes with generic type parameters
2008-05-29 Juerg Billeter <j@bitron.ch>
* vala/valainterface.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinterfacebinding.vala:
* gobject/valaccodemethodbinding.vala:
Add support for non-GObject classes with generic type parameters
svn path=/trunk/; revision=1485
Juerg Billeter [Thu, 29 May 2008 15:09:39 +0000 (15:09 +0000)]
Support `hidden' attribute for boxed types and `type_arguments' attribute
2008-05-29 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala:
Support `hidden' attribute for boxed types and `type_arguments'
attribute for fields and properties, patch by Ali Sabil
svn path=/trunk/; revision=1484
Juerg Billeter [Thu, 29 May 2008 15:01:47 +0000 (15:01 +0000)]
Fix reference counting for non-GObject interfaces
2008-05-29 Juerg Billeter <j@bitron.ch>
* vala/valainterface.vala:
Fix reference counting for non-GObject interfaces
svn path=/trunk/; revision=1483
Juerg Billeter [Thu, 29 May 2008 10:52:34 +0000 (10:52 +0000)]
Simplify generated _new functions for non-GObject classes
2008-05-29 Juerg Billeter <j@bitron.ch>
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodemethodbinding.vala:
* gobject/valaclassregisterfunction.vala:
Simplify generated _new functions for non-GObject classes
svn path=/trunk/; revision=1482
Jaap A. Haitsma [Thu, 29 May 2008 10:10:33 +0000 (10:10 +0000)]
Add some more tests. Fixes bug #535430
2008-05-29 Jaap A. Haitsma <jaap@haitsma.org>
* tests/strings.vala:
Add some more tests. Fixes bug #535430
svn path=/trunk/; revision=1481
Jaap A. Haitsma [Thu, 29 May 2008 09:43:40 +0000 (09:43 +0000)]
Fix Gst.init () binding. Fixes bug #535411
2008-05-29 Jaap A. Haitsma <jaap@haitsma.org>
* vapi/gstreamer-0.10.vapi:
* vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala:
Fix Gst.init () binding. Fixes bug #535411
svn path=/trunk/; revision=1480
Jaap A. Haitsma [Thu, 29 May 2008 09:41:05 +0000 (09:41 +0000)]
Print errors on stdout. Fixes #535417
2008-05-29 Jaap A. Haitsma <jaap@haitsma.org>
* tests/testrunner.sh:
Print errors on stdout. Fixes #535417
svn path=/trunk/; revision=1479
Juerg Billeter [Thu, 29 May 2008 08:35:00 +0000 (08:35 +0000)]
Test compilation of constant string arrays
2008-05-29 Juerg Billeter <j@bitron.ch>
* tests/arrays.vala:
Test compilation of constant string arrays
svn path=/trunk/; revision=1478
Juerg Billeter [Thu, 29 May 2008 08:30:06 +0000 (08:30 +0000)]
Constant arrays don't own their elements, fixes bug 535415
2008-05-29 Juerg Billeter <j@bitron.ch>
* vala/valaparser.vala:
Constant arrays don't own their elements, fixes bug 535415
svn path=/trunk/; revision=1477
Jamie McCracken [Thu, 29 May 2008 02:55:18 +0000 (02:55 +0000)]
Revamped array syntax
2008-05-29 Jamie McCracken <jamiemcc@gnome.org>
* vala/valagenietokentype.vala:
* vala/valageniescanner.vala:
* vala/valagenieparser.vala:
Revamped array syntax
svn path=/trunk/; revision=1476
Juerg Billeter [Wed, 28 May 2008 23:41:04 +0000 (23:41 +0000)]
Mark signals as virtual to make it possible to override default method
2008-05-29 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala:
* vapigen/valagidlparser.vala:
Mark signals as virtual to make it possible to override default
method handlers
* vapi/atk.vapi:
* vapi/gconf-2.0.vapi:
* vapi/gdk-2.0.vapi:
* vapi/gdk-pixbuf-2.0.vapi:
* vapi/gio-2.0.vapi:
* vapi/gio-unix-2.0.vapi:
* vapi/gnome-desktop-2.0.vapi:
* vapi/gnome-vfs-2.0.vapi:
* vapi/goocanvas.vapi:
* vapi/gstreamer-0.10.vapi:
* vapi/gstreamer-base-0.10.vapi:
* vapi/gstreamer-interfaces-0.10.vapi:
* vapi/gstreamer-rtsp-0.10.vapi:
* vapi/gtk+-2.0.vapi:
* vapi/gtksourceview-2.0.vapi:
* vapi/hildon-1.vapi:
* vapi/hildon-fm-2.vapi:
* vapi/json-glib-1.0.vapi:
* vapi/libgnomeui-2.0.vapi:
* vapi/libnotify.vapi:
* vapi/liboobs-1.vapi:
* vapi/libsexy.vapi:
* vapi/libsoup-2.2.vapi:
* vapi/libsoup-2.4.vapi:
* vapi/libwnck-1.0.vapi:
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
* vapi/vte.vapi:
* vapi/webkit-1.0.vapi:
Regenerated
svn path=/trunk/; revision=1475
Juerg Billeter [Wed, 28 May 2008 23:30:19 +0000 (23:30 +0000)]
Add support for overriding default method handlers of signals that have
2008-05-29 Juerg Billeter <j@bitron.ch>
* vala/valamethod.vala:
* vala/valaparser.vala:
* vala/valasignal.vala:
Add support for overriding default method handlers of signals
that have been declared with the `virtual' modifier
svn path=/trunk/; revision=1474
Juerg Billeter [Wed, 28 May 2008 21:25:28 +0000 (21:25 +0000)]
Mark non-GObject classes as compact, fix metadata patterns, fixes bug
2008-05-28 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala:
Mark non-GObject classes as compact, fix metadata patterns,
fixes bug 535206
* vapi/cairo.vapi:
Use [Compact] attribute
* vapi/packages/gstreamer-audio-0.10/:
* vapi/packages/gstreamer-check-0.10/:
* vapi/packages/gstreamer-controller-0.10/:
* vapi/packages/gstreamer-dataprotocol-0.10/:
* vapi/packages/gstreamer-fft-0.10/:
* vapi/packages/gstreamer-interfaces-0.10/:
* vapi/packages/gstreamer-net-0.10/:
* vapi/packages/gstreamer-netbuffer-0.10/:
* vapi/packages/gstreamer-pbutils-0.10/:
* vapi/packages/gstreamer-riff-0.10/:
* vapi/packages/gstreamer-rtp-0.10/:
* vapi/packages/gstreamer-rtsp-0.10/:
* vapi/packages/gstreamer-sdp-0.10/:
* vapi/packages/gstreamer-tag-0.10/:
Add missing dependency on gmodule-2.0
* vapi/atk.vapi:
* vapi/gconf-2.0.vapi:
* vapi/gdk-2.0.vapi:
* vapi/gdk-pixbuf-2.0.vapi:
* vapi/gio-2.0.vapi:
* vapi/gio-unix-2.0.vapi:
* vapi/gnet-2.0.vapi:
* vapi/gnome-desktop-2.0.vapi:
* vapi/gnome-keyring-1.vapi:
* vapi/gnome-vfs-2.0.vapi:
* vapi/goocanvas.vapi:
* vapi/gstreamer-0.10.vapi:
* vapi/gstreamer-audio-0.10.vapi:
* vapi/gstreamer-base-0.10.vapi:
* vapi/gstreamer-check-0.10.vapi:
* vapi/gstreamer-controller-0.10.vapi:
* vapi/gstreamer-dataprotocol-0.10.vapi:
* vapi/gstreamer-fft-0.10.vapi:
* vapi/gstreamer-interfaces-0.10.vapi:
* vapi/gstreamer-net-0.10.vapi:
* vapi/gstreamer-netbuffer-0.10.vapi:
* vapi/gstreamer-pbutils-0.10.vapi:
* vapi/gstreamer-riff-0.10.vapi:
* vapi/gstreamer-rtp-0.10.vapi:
* vapi/gstreamer-rtsp-0.10.vapi:
* vapi/gstreamer-sdp-0.10.vapi:
* vapi/gstreamer-video-0.10.vapi:
* vapi/gtk+-2.0.vapi:
* vapi/gtksourceview-2.0.vapi:
* vapi/hildon-1.vapi:
* vapi/hildon-fm-2.vapi:
* vapi/json-glib-1.0.vapi:
* vapi/libglade-2.0.vapi:
* vapi/libgnome-2.0.vapi:
* vapi/libgnome-menu.vapi:
* vapi/libgnomeui-2.0.vapi:
* vapi/libnotify.vapi:
* vapi/liboobs-1.vapi:
* vapi/libsoup-2.2.vapi:
* vapi/libsoup-2.4.vapi:
* vapi/libwnck-1.0.vapi:
* vapi/pango.vapi:
* vapi/pangocairo.vapi:
* vapi/poppler-glib.vapi:
* vapi/vte.vapi:
* vapi/webkit-1.0.vapi:
Regenerated
svn path=/trunk/; revision=1473
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