Jared Moore [Thu, 14 Aug 2008 09:58:27 +0000 (09:58 +0000)]
Fixed codegen of abstract property accessors, bug 547226.
2008-08-14 Jared Moore <jaredm@svn.gnome.org>
* gobject/valaccodegenerator.vala:
Fixed codegen of abstract property accessors, bug 547226.
* tests/classes-properties.vala:
* tests/classes-properties.exp:
Added test case for abstract property accessors.
svn path=/trunk/; revision=1749
Thijs Vermeir [Sun, 10 Aug 2008 15:11:48 +0000 (15:11 +0000)]
Add ref functions for Gst.Caps regenerated
* vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala:
Add ref functions for Gst.Caps
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1748
Jared Moore [Sun, 10 Aug 2008 14:44:27 +0000 (14:44 +0000)]
Fixed segfault in ternary expressions, bug 547165.
2008-08-11 Jared Moore <jaredm@svn.gnome.org>
* vala/valasemanticanalyzer.vala:
Fixed segfault in ternary expressions, bug 547165.
svn path=/trunk/; revision=1747
Jürg Billeter [Sun, 10 Aug 2008 14:39:24 +0000 (14:39 +0000)]
Add --target-glib command-line option, default to 2.12, based on patch by
2008-08-10 Jürg Billeter <j@bitron.ch>
* vala/valacodecontext.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodeinterfacebinding.vala:
* gobject/valaclassregisterfunction.vala:
* gobject/valainterfaceregisterfunction.vala:
* gobject/valatyperegisterfunction.vala:
* compiler/valacompiler.vala:
Add --target-glib command-line option, default to 2.12,
based on patch by Jared Moore, fixes bug 544990
svn path=/trunk/; revision=1746
Jürg Billeter [Sun, 10 Aug 2008 13:44:02 +0000 (13:44 +0000)]
Support IntegerType and FloatingType attributes, patch by Emmanuele Bassi,
2008-08-10 Jürg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala:
Support IntegerType and FloatingType attributes,
patch by Emmanuele Bassi, fixes bug 544522
svn path=/trunk/; revision=1745
Jürg Billeter [Sun, 10 Aug 2008 13:33:10 +0000 (13:33 +0000)]
Add GCompletion binding, patch by Abderrahim Kitouni, fixes bug 546252
2008-08-10 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Add GCompletion binding, patch by Abderrahim Kitouni,
fixes bug 546252
svn path=/trunk/; revision=1744
Jürg Billeter [Sun, 10 Aug 2008 13:15:01 +0000 (13:15 +0000)]
Fix vte_terminal_get_cursor_position binding, patch by Anthony Taylor,
2008-08-10 Jürg Billeter <j@bitron.ch>
* vapi/packages/vte/:
Fix vte_terminal_get_cursor_position binding,
patch by Anthony Taylor, fixes bug 546238
* vapi/vte.vapi: regenerated
svn path=/trunk/; revision=1743
Thijs Vermeir [Sun, 10 Aug 2008 12:59:20 +0000 (12:59 +0000)]
Fix header files of some base elements regenerated
* vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata:
Fix header files of some base elements
* vapi/gstreamer-base-0.10.vapi: regenerated
svn path=/trunk/; revision=1742
Jürg Billeter [Sun, 10 Aug 2008 09:32:24 +0000 (09:32 +0000)]
Fix base access for properties, fixes bug 506075
2008-08-10 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
* gobject/valaccodememberaccessbinding.vala:
Fix base access for properties, fixes bug 506075
svn path=/trunk/; revision=1741
Jürg Billeter [Sun, 10 Aug 2008 09:12:00 +0000 (09:12 +0000)]
Use accessor vfuncs to implement virtual and abstract properties, fixes
2008-08-10 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodegenerator.vala:
Use accessor vfuncs to implement virtual and abstract properties,
fixes bug 508472 and bug 505966
svn path=/trunk/; revision=1740
Jürg Billeter [Sun, 10 Aug 2008 07:48:30 +0000 (07:48 +0000)]
Fix vte_terminal_set_colors binding, fixes bug 547136
2008-08-10 Jürg Billeter <j@bitron.ch>
* vapi/packages/vte/:
Fix vte_terminal_set_colors binding, fixes bug 547136
* vapi/vte.vapi: regenerated
svn path=/trunk/; revision=1739
Jared Moore [Sun, 10 Aug 2008 02:20:26 +0000 (02:20 +0000)]
Generate correct code for calling class methods outside of static or class
2008-08-10 Jared Moore <jaredm@svn.gnome.org>
* gobject/valaccodeinvocationexpressionbinding.vala:
Generate correct code for calling class methods outside of static or
class constructors, fixes bug 539592.
* tests/classes-methods.vala:
* tests/classes-methods.exp:
Added test cases for calling class methods.
svn path=/trunk/; revision=1738
Thijs Vermeir [Wed, 6 Aug 2008 18:15:58 +0000 (18:15 +0000)]
transfer ownership of some return values regenerated
* vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata:
transfer ownership of some return values
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1737
Jürg Billeter [Wed, 6 Aug 2008 13:09:17 +0000 (13:09 +0000)]
Fix crash when using foreach with stacked arrays, fixes bug 546450
2008-08-06 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
Fix crash when using foreach with stacked arrays, fixes bug 546450
svn path=/trunk/; revision=1736
Jürg Billeter [Wed, 6 Aug 2008 13:00:55 +0000 (13:00 +0000)]
Fix crash when using VAPI properties outside of a class
2008-08-06 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
Fix crash when using VAPI properties outside of a class
svn path=/trunk/; revision=1735
Thijs Vermeir [Tue, 5 Aug 2008 21:15:25 +0000 (21:15 +0000)]
Add logging functions for DebugCategory regenerated
* vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala:
Add logging functions for DebugCategory
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1734
Jürg Billeter [Mon, 4 Aug 2008 20:09:19 +0000 (20:09 +0000)]
Set source_reference of blocks, patch by Abderrahim Kitouni, fixes bug
2008-08-04 Jürg Billeter <j@bitron.ch>
* vala/valablock.vala:
* vala/valagenieparser.vala:
* vala/valaparser.vala:
* vala/valasemanticanalyzer.vala:
Set source_reference of blocks, patch by Abderrahim Kitouni,
fixes bug 546249
svn path=/trunk/; revision=1733
Jürg Billeter [Mon, 4 Aug 2008 20:06:31 +0000 (20:06 +0000)]
Fix crash on incremental parsing, patch by Abderrahim Kitouni
2008-08-04 Jürg Billeter <j@bitron.ch>
* vala/valatypesymbol.vala:
Fix crash on incremental parsing, patch by Abderrahim Kitouni
svn path=/trunk/; revision=1732
Jürg Billeter [Mon, 4 Aug 2008 20:03:37 +0000 (20:03 +0000)]
Fix g_object_get and g_object_set bindings
2008-08-04 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Fix g_object_get and g_object_set bindings
svn path=/trunk/; revision=1731
Jürg Billeter [Fri, 1 Aug 2008 13:05:08 +0000 (13:05 +0000)]
Fix crash when passing delegate as D-Bus callback, fixes bug 545688
2008-08-01 Jürg Billeter <j@bitron.ch>
* gobject/valaccodedynamicmethodbinding.vala:
Fix crash when passing delegate as D-Bus callback, fixes bug 545688
svn path=/trunk/; revision=1730
Jürg Billeter [Wed, 30 Jul 2008 21:47:48 +0000 (21:47 +0000)]
Fix sqlite3_get_table and sqlite3_free_table bindings, still requires
2008-07-30 Jürg Billeter <j@bitron.ch>
* vapi/sqlite3.vapi:
Fix sqlite3_get_table and sqlite3_free_table bindings, still
requires manual memory management, fixes bug 542235
svn path=/trunk/; revision=1729
Jürg Billeter [Wed, 30 Jul 2008 21:31:49 +0000 (21:31 +0000)]
Fix linking with --as-needed and on Windows, patch by Yaakov Selkowitz,
2008-07-30 Jürg Billeter <j@bitron.ch>
* gobject/valaccodecompiler.vala:
Fix linking with --as-needed and on Windows,
patch by Yaakov Selkowitz, fixes bug 545427
svn path=/trunk/; revision=1728
Jürg Billeter [Wed, 30 Jul 2008 20:54:25 +0000 (20:54 +0000)]
Add GObject.ref_count binding, fixes bug 532584
2008-07-30 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Add GObject.ref_count binding, fixes bug 532584
svn path=/trunk/; revision=1727
Jared Moore [Wed, 23 Jul 2008 09:28:04 +0000 (09:28 +0000)]
Add [CCode (type_check_function = "BLAH_IS_FOO")] for classes.
2008-07-23 Jared Moore <jaredm@svn.gnome.org>
* vala/valainterfacewriter.vala:
* vala/valaclass.vala:
* gobject/valaccodeinterfacebinding.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodegenerator.vala:
Add [CCode (type_check_function = "BLAH_IS_FOO")] for classes.
* vapigen/valagidlparser.vala:
Add type_check_function metadata.
* vapi/packages/gnome-vfs-2.0/gnome-vfs-2.0.metadata:
Set type_check_function for GnomeVFSDrive, GnomeVFSVolume,
GnomeVFSVolumeMonitor, fixes bug 543693.
* vapi/gnome-vfs-2.0.vapi: regenerated
svn path=/trunk/; revision=1726
Jürg Billeter [Tue, 22 Jul 2008 19:32:57 +0000 (19:32 +0000)]
Add binding for g_object_set_property
2008-07-22 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Add binding for g_object_set_property
* vapi/packages/gdk-2.0/:
* vapi/packages/gtk+-2.0/:
Various out and nullable fixes, patch by Frederik, fixes bug 544189
* vapi/gdk-2.0.vapi:
* vapi/gtk+-2.0.vapi:
Regenerated
svn path=/trunk/; revision=1725
Jürg Billeter [Tue, 22 Jul 2008 15:57:15 +0000 (15:57 +0000)]
Fix gst_bus_set_sync_handler binding, fixes bug 542388
2008-07-22 Jürg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/:
Fix gst_bus_set_sync_handler binding, fixes bug 542388
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1724
Jürg Billeter [Tue, 22 Jul 2008 15:54:18 +0000 (15:54 +0000)]
Add GST_DEBUG_BIN_TO_DOT_FILE binding, patch by Thijs Vermeir, fixes bug
2008-07-22 Jürg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/:
Add GST_DEBUG_BIN_TO_DOT_FILE binding,
patch by Thijs Vermeir, fixes bug 543759
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1723
Jürg Billeter [Tue, 22 Jul 2008 15:52:15 +0000 (15:52 +0000)]
Fix gst_ghost_pad_set_target binding, patch by Thijs Vermeir, fixes bug
2008-07-22 Jürg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/:
Fix gst_ghost_pad_set_target binding,
patch by Thijs Vermeir, fixes bug 544060
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1722
Jürg Billeter [Tue, 22 Jul 2008 14:50:59 +0000 (14:50 +0000)]
Fix crash when using multi-dimensional arrays, patch by Amos Brocco, fixes
2008-07-22 Jürg Billeter <j@bitron.ch>
* gobject/valaccodearraycreationexpressionbinding.vala:
Fix crash when using multi-dimensional arrays,
patch by Amos Brocco, fixes bug 544145
svn path=/trunk/; revision=1721
Jürg Billeter [Tue, 22 Jul 2008 14:45:06 +0000 (14:45 +0000)]
Fix regression introduced by last commit
2008-07-22 Jürg Billeter <j@bitron.ch>
* vala/valaparser.vala:
Fix regression introduced by last commit
svn path=/trunk/; revision=1720
Jared Moore [Tue, 22 Jul 2008 01:26:40 +0000 (01:26 +0000)]
Support "global::" for object creation expressions.
2008-07-22 Jared Moore <jaredm@svn.gnome.org>
* vala/valaparser.vala:
Support "global::" for object creation expressions.
* tests/namespaces.vala: add test case
svn path=/trunk/; revision=1719
Jared Moore [Tue, 22 Jul 2008 01:16:46 +0000 (01:16 +0000)]
Fixed bindings for GLib.MainContext.check and GLib.MainContext.query,
2008-07-22 Jared Moore <jaredm@svn.gnome.org>
* vapi/glib-2.0.vapi:
Fixed bindings for GLib.MainContext.check and GLib.MainContext.query,
fixes bug 543405.
svn path=/trunk/; revision=1718
Jared Moore [Tue, 22 Jul 2008 01:13:35 +0000 (01:13 +0000)]
Added support for 'volatile' modifier in C code.
2008-07-22 Jared Moore <jaredm@svn.gnome.org>
* ccode/valaccodedeclaration.vala:
* ccode/valaccodemodifiers.vala:
Added support for 'volatile' modifier in C code.
* gobject/valatyperegisterfunction.vala:
Make *_get_type functions thread safe, fixes bug 540705.
svn path=/trunk/; revision=1717
Jared Moore [Tue, 22 Jul 2008 01:10:17 +0000 (01:10 +0000)]
Generate *_instance_init function for compact classes to initialize
2008-07-22 Jared Moore <jaredm@svn.gnome.org>
* gobject/valaccodeclassbinding.vala:
* goblect/valaccodemethodbinding.vala:
Generate *_instance_init function for compact classes to initialize
fields, fixes bug 529679.
* tests/classes-fields.vala: add test case
svn path=/trunk/; revision=1716
Jared Moore [Mon, 21 Jul 2008 05:18:52 +0000 (05:18 +0000)]
Made tag parameters of gtk_text_iter_backward_to_tag_toggle and
2008-07-21 Jared Moore <jaredm@svn.gnome.org>
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
Made tag parameters of gtk_text_iter_backward_to_tag_toggle and
gtk_text_iter_forward_to_tag_toggle nullable.
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1715
Jared Moore [Sat, 19 Jul 2008 13:27:54 +0000 (13:27 +0000)]
Fixes to gst_event_new_custom and gst_event_new_navigation, based on patch
2008-07-19 Jared Moore <jaredm@svn.gnome.org>
* vapi/packages/gstreamer-0.10/:
Fixes to gst_event_new_custom and gst_event_new_navigation,
based on patch by Thijs Vermeir, fixes bug 543720.
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1714
Jared Moore [Sat, 19 Jul 2008 03:24:22 +0000 (03:24 +0000)]
Fixes to gst_element_factory_create and gst_element_factory_make, based on
2008-07-19 Jared Moore <jaredm@svn.gnome.org>
* vapi/packages/gstreamer-0.10/:
Fixes to gst_element_factory_create and gst_element_factory_make,
based on patch by Thijs Vermeir, fixes bug 543668.
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1713
Jared Moore [Fri, 18 Jul 2008 09:30:48 +0000 (09:30 +0000)]
Fixed gst_registry_feature_filter binding, fixes bug 543344.
2008-07-18 Jared Moore <jaredm@svn.gnome.org>
* vapi/packages/gstreamer-0.10/:
Fixed gst_registry_feature_filter binding, fixes bug 543344.
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1712
Jürg Billeter [Thu, 17 Jul 2008 16:15:16 +0000 (16:15 +0000)]
Fix various binding issues, based on patches by Thijs Vermeir and Jared
2008-07-17 Jürg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/:
Fix various binding issues, based on patches by Thijs Vermeir and
Jared Moore, fixes bug 543348, bug 543417, and bug 543344
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1711
Jürg Billeter [Thu, 17 Jul 2008 09:40:37 +0000 (09:40 +0000)]
Support [CCode (type = "Foo")] for parameters, based on patch by Daniel
2008-07-17 Jürg Billeter <j@bitron.ch>
* vala/valaformalparameter.vala:
* vala/valainterfacewriter.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
Support [CCode (type = "Foo")] for parameters,
based on patch by Daniel Svensson, fixes bug 543073
* vapigen/valagidlparser.vala:
Add support for ctype metadata attribute for parameters
* vapi/packages/gtk+-2.0/:
Fix gtk_menu_shell_append binding
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1710
Jürg Billeter [Thu, 17 Jul 2008 08:58:23 +0000 (08:58 +0000)]
Fix symbol dependency calculation for arrays, fixes bug 537255
2008-07-17 Jürg Billeter <j@bitron.ch>
* vala/valaarraytype.vala:
Fix symbol dependency calculation for arrays, fixes bug 537255
svn path=/trunk/; revision=1709
Jürg Billeter [Thu, 17 Jul 2008 08:45:35 +0000 (08:45 +0000)]
Add parser support for internal symbol accessibility
2008-07-17 Jürg Billeter <j@bitron.ch>
* vala/valaparser.vala:
* vala/valascanner.vala:
* vala/valatokentype.vala:
Add parser support for internal symbol accessibility
svn path=/trunk/; revision=1708
Jared Moore [Thu, 17 Jul 2008 08:28:20 +0000 (08:28 +0000)]
Fixed Priority by changing it from an enum to a namespace.
2008-07-17 Jared Moore <jaredm@svn.gnome.org>
* vapi/glib-2.0.vapi:
Fixed Priority by changing it from an enum to a namespace.
svn path=/trunk/; revision=1707
Jürg Billeter [Thu, 17 Jul 2008 08:21:22 +0000 (08:21 +0000)]
Fix syntax error
2008-07-17 Jürg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala:
Fix syntax error
svn path=/trunk/; revision=1706
Jared Moore [Thu, 17 Jul 2008 07:33:38 +0000 (07:33 +0000)]
Various fixes to enums, fixes bug 542362.
2008-07-17 Jared Moore <jaredm@svn.gnome.org>
* vapi/glib-2.0.vapi:
Various fixes to enums, fixes bug 542362.
svn path=/trunk/; revision=1705
Jared Moore [Thu, 17 Jul 2008 02:45:11 +0000 (02:45 +0000)]
Made gc argument of gdk_drawable_draw_pixbuf nullable, fixes bug 543000.
2008-07-17 Jared Moore <jaredm@svn.gnome.org>
* vapi/packages/gdk-2.0/gdk-2.0.metadata:
Made gc argument of gdk_drawable_draw_pixbuf nullable, fixes bug
543000. Patch by Thijs Vermeir .
* vapi/gdk-2.0.vapi:
Regenerated.
svn path=/trunk/; revision=1704
Jared Moore [Thu, 17 Jul 2008 02:38:06 +0000 (02:38 +0000)]
Added 'type_name' metadata to function to override its return type.
2008-07-17 Jared Moore <jaredm@svn.gnome.org>
* vapigen/valagidlparser.vala:
Added 'type_name' metadata to function to override its return type.
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata
Changed gtk_selection_data_get_text to return a string, fixes bug
540663.
* vapi/gtk+-2.0.vapi:
Regenerated.
svn path=/trunk/; revision=1703
Jared Moore [Thu, 17 Jul 2008 02:29:44 +0000 (02:29 +0000)]
Fixed error in handling formal parameters of signals, fixes bug 542293.
2008-07-17 Jared Moore <jaredm@svn.gnome.org>
* vala/valasignal.vala:
Fixed error in handling formal parameters of signals, fixes bug
542293.
svn path=/trunk/; revision=1702
Jürg Billeter [Wed, 16 Jul 2008 22:10:20 +0000 (22:10 +0000)]
Support int64 and uint64 properties in GObjects, patch by Christian
2008-07-17 Jürg Billeter <j@bitron.ch>
* gobject/valaccodetypesymbolbinding.vala:
Support int64 and uint64 properties in GObjects,
patch by Christian Hergert, fixes bug 543055
svn path=/trunk/; revision=1701
Jürg Billeter [Wed, 16 Jul 2008 22:04:50 +0000 (22:04 +0000)]
Fix support for static and class fields in interface writer, based on
2008-07-17 Jürg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala:
Fix support for static and class fields in interface writer,
based on patch by Daniel Lucraft, fixes bug 542879
svn path=/trunk/; revision=1700
Jürg Billeter [Sun, 13 Jul 2008 18:14:53 +0000 (18:14 +0000)]
Fix gdk_spawn_on_screen binding
2008-07-13 Jürg Billeter <j@bitron.ch>
* vapi/packages/gdk-2.0/:
Fix gdk_spawn_on_screen binding
* vapi/gdk-2.0.vapi: regenerated
svn path=/trunk/; revision=1699
Jared William Moore [Sat, 12 Jul 2008 11:43:43 +0000 (11:43 +0000)]
2008-07-12 Jared Moore <jaredm@svn.gnome.org.
* gobject/valaccodememberaccessbinding.vala:
Fix access to private struct fields, fixed bug 542032.
* tests/structs.vala:
* tests/structs.exp:
Added test cases for private struct fields.
svn path=/trunk/; revision=1698
Raffaele Sandrini [Sat, 12 Jul 2008 08:45:57 +0000 (08:45 +0000)]
Remove recent introduced gcc warnings related to abstract interface
2008-07-12 Raffaele Sandrini <raffaele@sandrini.ch>
* gobject/valaccodemethodbinding.vala:
Remove recent introduced gcc warnings related to abstract interface
methods
svn path=/trunk/; revision=1697
Jürg Billeter [Fri, 11 Jul 2008 15:10:11 +0000 (15:10 +0000)]
Don't transform non-lowercase names to CamelCase
2008-07-11 Jürg Billeter <j@bitron.ch>
* vala/valasymbol.vala:
Don't transform non-lowercase names to CamelCase
svn path=/trunk/; revision=1696
Raffaele Sandrini [Fri, 11 Jul 2008 14:55:33 +0000 (14:55 +0000)]
Generate a type_real_name function also for abstract methods to warn from
2008-07-11 Raffaele Sandrini <raffaele@sandrini.ch>
* gobject/valaccodemethodbinding.vala:
* vala/valamethod.vala:
Generate a type_real_name function also for abstract methods to warn
from buggy subclasses which fail to implement the abstract methods,
based on patch by Jared Moore, fixes bug 531195
svn path=/trunk/; revision=1695
Jürg Billeter [Fri, 11 Jul 2008 12:00:37 +0000 (12:00 +0000)]
Various fixes, based on patch by Jorn Baayen
2008-07-11 Jürg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/:
Various fixes, based on patch by Jorn Baayen
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=1694
Raffaele Sandrini [Thu, 10 Jul 2008 14:59:00 +0000 (14:59 +0000)]
Revert commit revision 1691 due bad regressions, reopens bug 540705
2008-07-10 Raffaele Sandrini <raffaele@sandrini.ch>
* ccode/valaccodedeclaration.vala:
* ccode/valaccodemodifiers.vala:
* gobject/valatyperegisterfunction.vala:
Revert commit revision 1691 due bad regressions, reopens bug
540705
svn path=/trunk/; revision=1693
Jürg Billeter [Thu, 10 Jul 2008 14:32:50 +0000 (14:32 +0000)]
Fix g_timeout_add_full, g_idle_add_full, and g_child_watch_add_full
2008-07-10 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Fix g_timeout_add_full, g_idle_add_full, and g_child_watch_add_full
bindings
svn path=/trunk/; revision=1692
Jared Moore [Thu, 10 Jul 2008 11:27:02 +0000 (11:27 +0000)]
Added support for 'volatile' modifier in C code.
2008-07-10 Jared Moore <jaredm@svn.gnome.org>
* ccode/valaccodedeclaration.vala:
* ccode/valaccodemodifiers.vala:
Added support for 'volatile' modifier in C code.
* gobject/valatyperegisterfunction.vala:
Make *_get_type functions thread safe, fixes bug 540705.
svn path=/trunk/; revision=1691
Raffaele Sandrini [Wed, 9 Jul 2008 21:38:27 +0000 (21:38 +0000)]
Change GObject properties to always notify on value change, remove the
2008-07-10 Raffaele Sandrini <raffaele@sandrini.ch>
* gobject/valaccodegenerator.vala:
* vala/valaproperty.vala:
Change GObject properties to always notify on value change, remove the
[Notify] attribute and add a boolean CCode attribute parameter named
`notify', based on patch by Jared Moore, fixes bug 540700
* tests/classes-properties.vala: update
svn path=/trunk/; revision=1690
Jared Moore [Wed, 9 Jul 2008 13:09:15 +0000 (13:09 +0000)]
Apply shell quoting to -X flag arguments, fixes bug 542183.
2008-07-98 Jared Moore <jaredm@svn.gnome.org>
* gobject/valaccodecompiler.vala:
Apply shell quoting to -X flag arguments, fixes bug 542183.
svn path=/trunk/; revision=1689
Raffaele Sandrini [Wed, 9 Jul 2008 09:17:43 +0000 (09:17 +0000)]
Add support for creation methods with a different (mostly super) type than
2008-07-09 Raffaele Sandrini <raffaele@sandrini.ch>
* gobject/valaccodegenerator.vala:
* gobject/valaccodemethodbinding.vala:
* vala/valacreationmethod.vala:
* vala/valainterfacewriter.vala:
* vapigen/valagidlparser.vala:
Add support for creation methods with a different (mostly super) type
than the type of the object it creates. Add a `type' parameter to the
CCode attribute which will be used to get the casts right for such
creation methods.
* vapi/gio-2.0.vapi:
* vapi/gtk+-2.0.vapi:
Regenerated, fixes bug 540661
svn path=/trunk/; revision=1688
Raffaele Sandrini [Tue, 8 Jul 2008 09:59:21 +0000 (09:59 +0000)]
Allow vapi metadata to declare abstract methods, fix GtkCellRenderer
2008-07-08 Raffaele Sandrini <raffaele@sandrini.ch>
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
* vapigen/valagidlparser.vala:
Allow vapi metadata to declare abstract methods, fix GtkCellRenderer
methods _get_size and _render to be abstract, based on patch by
Jared Moore, fixes bug 522355
* vapi/gtk+-2.0.vapi: Regenerated
svn path=/trunk/; revision=1687
Jürg Billeter [Tue, 8 Jul 2008 09:25:11 +0000 (09:25 +0000)]
Fix partial interface reimplementation when the base class is in an
2008-07-08 Jürg Billeter <j@bitron.ch>
* gobject/valaccodeclassbinding.vala:
Fix partial interface reimplementation when the base class is in
an external library
svn path=/trunk/; revision=1686
Raffaele Sandrini [Tue, 8 Jul 2008 09:12:20 +0000 (09:12 +0000)]
Fix typo, patch by Christian Hergert, fixes bug 542002
2008-07-08 Raffaele Sandrini <raffaele@sandrini.ch>
* vapi/glib-2.0.vapi:
Fix typo, patch by Christian Hergert, fixes bug 542002
svn path=/trunk/; revision=1685
Jürg Billeter [Mon, 7 Jul 2008 15:43:07 +0000 (15:43 +0000)]
Mark array methods as external
2008-07-07 Jürg Billeter <j@bitron.ch>
* vala/valaarraylengthfield.vala:
* vala/valaarraymovemethod.vala:
* vala/valaarrayresizemethod.vala:
Mark array methods as external
svn path=/trunk/; revision=1684
Raffaele Sandrini [Mon, 7 Jul 2008 14:48:54 +0000 (14:48 +0000)]
Inspect CC environment variable to recognize a C compiler, based on patch
2008-07-07 Raffaele Sandrini <raffaele@sandrini.ch>
* compiler/valacompiler.vala:
Inspect CC environment variable to recognize a C compiler, based on
patch by Piotr Skamruk, fixes bug 501686
svn path=/trunk/; revision=1683
Jürg Billeter [Mon, 7 Jul 2008 12:45:21 +0000 (12:45 +0000)]
Mark source_reference parameter in creation method as nullable
2008-07-07 Jürg Billeter <j@bitron.ch>
* vala/valaproperty.vala:
Mark source_reference parameter in creation method as nullable
svn path=/trunk/; revision=1682
Jürg Billeter [Mon, 7 Jul 2008 12:40:16 +0000 (12:40 +0000)]
Fix error message when encountering invalid character literals, fixes bug
2008-07-07 Jürg Billeter <j@bitron.ch>
* vala/valacharacterliteral.vala:
* vala/valaparser.vala:
Fix error message when encountering invalid character literals,
fixes bug 541452
svn path=/trunk/; revision=1681
Jürg Billeter [Mon, 7 Jul 2008 10:12:34 +0000 (10:12 +0000)]
Add string.length property and bool.to_string method, fixes bug 527777
2008-07-07 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Add string.length property and bool.to_string method,
fixes bug 527777
svn path=/trunk/; revision=1680
Jürg Billeter [Mon, 7 Jul 2008 10:07:20 +0000 (10:07 +0000)]
Support methods and property accessors with body in VAPI files
2008-07-07 Jürg Billeter <j@bitron.ch>
* vala/valaparser.vala:
* vala/valasourcefile.vala:
* vala/valasymbol.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodegeneratorsourcefile.vala:
Support methods and property accessors with body in VAPI files
svn path=/trunk/; revision=1679
Jürg Billeter [Mon, 7 Jul 2008 09:52:40 +0000 (09:52 +0000)]
Allow non-external methods in VAPI files
2008-07-07 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Allow non-external methods in VAPI files
svn path=/trunk/; revision=1678
Jürg Billeter [Sat, 5 Jul 2008 14:21:12 +0000 (14:21 +0000)]
Add support for [CCode (cname = "foo")] to property accessors, based on
2008-07-05 Jürg Billeter <j@bitron.ch>
* vala/valaattributeprocessor.vala:
* vala/valaparser.vala:
* vala/valapropertyaccessor.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodememberaccessbinding.vala:
Add support for [CCode (cname = "foo")] to property accessors,
based on patch by Jared Moore
svn path=/trunk/; revision=1677
Jared Moore [Sat, 5 Jul 2008 12:45:35 +0000 (12:45 +0000)]
Prevent "main" method from throwing errors, fixes bug 538248.
2008-07-05 Jared Moore <jaredm@svn.gnome.org>
* vala/valasemanticanalyzer.vala:
Prevent "main" method from throwing errors, fixes bug 538248.
svn path=/trunk/; revision=1676
Jared Moore [Sat, 5 Jul 2008 12:42:23 +0000 (12:42 +0000)]
Add workaround for exception codegen problem, fixes bug 535247.
2008-07-05 Jared Moore <jaredm@svn.gnome.org>
* vala/valaparser.vala:
Add workaround for exception codegen problem, fixes bug 535247.
svn path=/trunk/; revision=1675
Jürg Billeter [Sat, 5 Jul 2008 12:33:58 +0000 (12:33 +0000)]
Add unique-1.0 bindings, patch by Phil Housley, fixes bug 540821
2008-07-05 Jürg Billeter <j@bitron.ch>
* vapi/Makefile.am:
* vapi/unique-1.0.deps:
* vapi/unique-1.0.vapi:
* vapi/packages/unique-1.0/:
Add unique-1.0 bindings, patch by Phil Housley, fixes bug 540821
svn path=/trunk/; revision=1674
Jürg Billeter [Thu, 3 Jul 2008 14:57:48 +0000 (14:57 +0000)]
Fix crash when checking header filename
2008-07-03 Jürg Billeter <j@bitron.ch>
* gobject-introspection/scanner.c: (g_igenerator_add_symbol):
Fix crash when checking header filename
svn path=/trunk/; revision=1673
Jürg Billeter [Thu, 3 Jul 2008 11:55:59 +0000 (11:55 +0000)]
Only drop duplicates of the same namespace
2008-07-03 Jürg Billeter <j@bitron.ch>
* gobject-introspection/scanner.c: (g_igenerator_add_symbol):
Only drop duplicates of the same namespace
svn path=/trunk/; revision=1672
Jürg Billeter [Wed, 2 Jul 2008 14:27:46 +0000 (14:27 +0000)]
Don't perform pointer arithmetic on void pointers, patch by Tai Chi Minh
2008-07-02 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorsourcefile.vala:
Don't perform pointer arithmetic on void pointers,
patch by Tai Chi Minh Ralph Eastwood
svn path=/trunk/; revision=1671
Jürg Billeter [Wed, 2 Jul 2008 13:45:02 +0000 (13:45 +0000)]
Nullable fixes, patch by Frederik
2008-07-02 Jürg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/:
Nullable fixes, patch by Frederik
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=1670
Jürg Billeter [Tue, 1 Jul 2008 12:11:39 +0000 (12:11 +0000)]
Add MIN, MAX, and GParamSpec* bindings
2008-07-01 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Add MIN, MAX, and GParamSpec* bindings
svn path=/trunk/; revision=1669
Jürg Billeter [Tue, 1 Jul 2008 11:33:22 +0000 (11:33 +0000)]
Set source_reference for error codes
2008-07-01 Jürg Billeter <j@bitron.ch>
* vala/valaerrorcode.vala:
* vala/valaparser.vala:
Set source_reference for error codes
svn path=/trunk/; revision=1668
Jared Moore [Tue, 1 Jul 2008 11:07:09 +0000 (11:07 +0000)]
Regenerated to make consistent with recent changes to vapi/gdk-2.0.vapi
2008-07-01 Jared Moore <jaredm@svn.gnome.org>
* vapi/gtk+-2.0.vapi: Regenerated to make consistent with recent
changes to vapi/gdk-2.0.vapi
svn path=/trunk/; revision=1667
Jürg Billeter [Mon, 30 Jun 2008 21:02:02 +0000 (21:02 +0000)]
Fix g_pattern_match and g_content_type_guess bindings, patch by Phil
2008-06-30 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
* vapi/packages/gio-2.0/:
Fix g_pattern_match and g_content_type_guess bindings,
patch by Phil Housley
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=1666
Jürg Billeter [Mon, 30 Jun 2008 20:55:19 +0000 (20:55 +0000)]
Add support for uchar GObject properties, patch by Ali Sabil
2008-06-30 Jürg Billeter <j@bitron.ch>
* gobject/valaccodetypesymbolbinding.vala:
Add support for uchar GObject properties, patch by Ali Sabil
svn path=/trunk/; revision=1665
Jared Moore [Mon, 30 Jun 2008 07:04:53 +0000 (07:04 +0000)]
Added Glib.Intl.bind_textdomain_codeset, set return types and parameters
2008-06-30 Jared Moore <jaredm@svn.gnome.org>
* vapi/glib-2.0.vapi:
Added Glib.Intl.bind_textdomain_codeset, set return types and
parameters of Glib.Intl.* to nullable as appropriate.
svn path=/trunk/; revision=1664
Jared Moore [Mon, 30 Jun 2008 05:55:28 +0000 (05:55 +0000)]
Changed many classes to structs, fixes bug 540349. Also fix fields that
2008-06-30 Jared Moore <jaredm@svn.gnome.org>
* vapi/packages/gdk-2.0/gdk-2.0.metadata:
Changed many classes to structs, fixes bug 540349. Also fix fields
that should be arrays of structs, and hide several "Gdk*Class"
structs.
* vapi/gdk-2.0.vapi: Regenerated
svn path=/trunk/; revision=1663
Jared Moore [Mon, 30 Jun 2008 05:51:42 +0000 (05:51 +0000)]
Report error when an abstract method has a body, an extern method has a
2008-06-30 Jared Moore <jaredm@svn.gnome.org>
* vala/valasemanticanalyzer.vala:
Report error when an abstract method has a body, an extern method has
a body, or a non-abstract non-extern method has no body, fixes bug
539692.
svn path=/trunk/; revision=1662
Jürg Billeter [Sun, 29 Jun 2008 11:07:19 +0000 (11:07 +0000)]
Various fixes, patch by Ali Sabil
2008-06-29 Jürg Billeter <j@bitron.ch>
* vapi/packages/gdk-pixbuf-2.0/:
Various fixes, patch by Ali Sabil
* vapi/gdk-pixbuf-2.0.vapi: regenerated
svn path=/trunk/; revision=1661
Jared Moore [Sun, 29 Jun 2008 03:29:32 +0000 (03:29 +0000)]
Let 'destroy' arguments of g_memory_input_stream_add_data and
2008-06-29 Jared Moore <jaredm@svn.gnome.org>
* vapi/packages/gio-2.0/gio-2.0.metadata:
Let 'destroy' arguments of g_memory_input_stream_add_data and
g_memory_input_stream_new_from_data be nullable, fixes bug 540662.
* vapi/gio-2.0.vapi: Regenerated
svn path=/trunk/; revision=1660
Jamie McCracken [Sun, 29 Jun 2008 03:01:20 +0000 (03:01 +0000)]
Add workaround for exception codegen problem, fixes bug 539608.
2008-06-29 Jamie McCracken <jamiemcc@gnome.org>
* vala/valagenieparser.vala:
Add workaround for exception codegen problem, fixes bug 539608.
svn path=/trunk/; revision=1659
Jared Moore [Sun, 29 Jun 2008 02:31:26 +0000 (02:31 +0000)]
Fixed return type of gtk_selection_data_get_pixbuf and
2008-06-29 Jared Moore <jaredm@svn.gnome.org>
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
Fixed return type of gtk_selection_data_get_pixbuf and
gtk_selection_data_copy.
* vapi/gtk+-2.0.vapi: Regenerated
svn path=/trunk/; revision=1658
Jared Moore [Sun, 29 Jun 2008 01:55:32 +0000 (01:55 +0000)]
Fixed return type of gtk_selection_data_get_uris, fixes bug 540664.
2008-06-29 Jared Moore <jaredm@svn.gnome.org>
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
Fixed return type of gtk_selection_data_get_uris, fixes bug 540664.
* vapi/gtk+-2.0.vapi: Regenerated
svn path=/trunk/; revision=1657
Jared Moore [Fri, 27 Jun 2008 03:40:28 +0000 (03:40 +0000)]
Set return types as nullable for g_file_get_basename, g_file_get_parent,
2008-06-27 Jared Moore <jaredm@gmx.com>
* vapi/packages/gio-2.0/gio-2.0.metadata:
Set return types as nullable for g_file_get_basename,
g_file_get_parent, g_file_get_path, and g_file_get_relative_path,
fixes bug 540335.
* vapi/gio-2.0.vapi: Regenerated
svn path=/trunk/; revision=1656
Jürg Billeter [Thu, 26 Jun 2008 19:03:28 +0000 (19:03 +0000)]
Post-release version bump
2008-06-26 Jürg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
svn path=/trunk/; revision=1655
Jürg Billeter [Thu, 26 Jun 2008 19:01:49 +0000 (19:01 +0000)]
update for 0.3.4 release
2008-06-26 Jürg Billeter <j@bitron.ch>
* NEWS: update for 0.3.4 release
svn path=/trunk/; revision=1653
Jürg Billeter [Thu, 26 Jun 2008 14:45:51 +0000 (14:45 +0000)]
Fix g_file_enumerator_next_file* bindings
2008-06-26 Jürg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/:
Fix g_file_enumerator_next_file* bindings
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=1652
Jared Moore [Thu, 26 Jun 2008 12:53:20 +0000 (12:53 +0000)]
Allow null for rect parameter in gdk_window_invalidate_rect, fixes bug
2008-06-26 Jared Moore <jaredm@svn.gnome.org>
* vapi/packages/gdk-2.0/gdk-2.0.metadata:
Allow null for rect parameter in gdk_window_invalidate_rect, fixes bug
540311.
* vapi/gdk-2.0.vapi: Regenerated
svn path=/trunk/; revision=1651
Jared Moore [Thu, 26 Jun 2008 12:16:29 +0000 (12:16 +0000)]
Changed gtk_paint_arrow_* family to have nullable area, widget, and detail
2008-06-26 Jared Moore <jaredm@svn.gnome.org>
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
Changed gtk_paint_arrow_* family to have nullable area, widget, and
detail parameters, fixes bug 540237.
* vapi/gtk+-2.0.vapi: Regenerated
svn path=/trunk/; revision=1650
Jared Moore [Thu, 26 Jun 2008 09:14:04 +0000 (09:14 +0000)]
Allow null for group parameter in GLib.OptionContext.get_help, fixes bug
2008-06-26 Jared Moore <jaredm@svn.gnome.org>
* vapi/glib-2.0.vapi:
Allow null for group parameter in GLib.OptionContext.get_help, fixes
bug 540238.
svn path=/trunk/; revision=1649