Jürg Billeter [Tue, 16 Sep 2008 14:06:15 +0000 (14:06 +0000)]
Add g_markup_parse_context_end_parse and
2008-09-16 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Add g_markup_parse_context_end_parse and
g_markup_parse_context_get_position bindings,
patch by Hans Vercammen, fixes bug 547533
svn path=/trunk/; revision=1777
Jürg Billeter [Tue, 16 Sep 2008 14:03:43 +0000 (14:03 +0000)]
Add bindings for fseek, ftell, and rewind, patch by Mart Roosmaa, fixes
2008-09-16 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Add bindings for fseek, ftell, and rewind, patch by Mart Roosmaa,
fixes bug 547196
svn path=/trunk/; revision=1776
Jürg Billeter [Tue, 16 Sep 2008 13:59:58 +0000 (13:59 +0000)]
Check for structs without fields, patch by Jared Moore, fixes bug 543562
2008-09-16 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Check for structs without fields, patch by Jared Moore,
fixes bug 543562
svn path=/trunk/; revision=1775
Jürg Billeter [Tue, 16 Sep 2008 13:53:54 +0000 (13:53 +0000)]
Various fixes, patch by Jan Rosczak, fixes bug 549131
2008-09-16 Jürg Billeter <j@bitron.ch>
* vapi/enchant.vapi:
Various fixes, patch by Jan Rosczak, fixes bug 549131
svn path=/trunk/; revision=1774
Jürg Billeter [Tue, 16 Sep 2008 13:52:11 +0000 (13:52 +0000)]
Fix strtod, strtoul, and g_ascii_strtoll bindings, patch by Yu Feng, fixes
2008-09-16 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Fix strtod, strtoul, and g_ascii_strtoll bindings,
patch by Yu Feng, fixes bug 548550
svn path=/trunk/; revision=1773
Jürg Billeter [Tue, 16 Sep 2008 13:48:51 +0000 (13:48 +0000)]
Fix error handling in constructors, patch by Jared Moore, fixes bug 543156
2008-09-16 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
* gobject/valaccodegenerator.vala:
Fix error handling in constructors, patch by Jared Moore,
fixes bug 543156
svn path=/trunk/; revision=1772
Jürg Billeter [Tue, 16 Sep 2008 12:14:10 +0000 (12:14 +0000)]
Support disabling sentinels, patch by Sam Liddicott, fixes bug 548248
2008-09-16 Jürg Billeter <j@bitron.ch>
* gobject/valaccodeinvocationexpressionbinding.vala:
Support disabling sentinels, patch by Sam Liddicott,
fixes bug 548248
svn path=/trunk/; revision=1771
Jürg Billeter [Tue, 16 Sep 2008 12:06:35 +0000 (12:06 +0000)]
GScanner binding fixes, patch by Matías De la Puente, fixes bug 548093
2008-09-16 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
GScanner binding fixes, patch by Matías De la Puente,
fixes bug 548093
svn path=/trunk/; revision=1770
Jürg Billeter [Tue, 16 Sep 2008 11:21:33 +0000 (11:21 +0000)]
Fix g_themed_icon_get_names binding, patch by Gregor Burger, fixes bug
2008-09-16 Jürg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/:
Fix g_themed_icon_get_names binding, patch by Gregor Burger,
fixes bug 543304
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=1769
Gabriel Falcão [Tue, 16 Sep 2008 11:06:30 +0000 (11:06 +0000)]
Add support to get ParamSpec metadata by the methods: get_nick(),
2008-09-16 Gabriel Falcão <gabriel@nacaolivre.org>
* vapi/glib-2.0.vapi:
Add support to get ParamSpec metadata by the methods:
get_nick(), get_name(), get_blurb(), fixes bug 552320
svn path=/trunk/; revision=1768
Jürg Billeter [Tue, 16 Sep 2008 10:26:42 +0000 (10:26 +0000)]
Add support for virtual and abstract metadata attributes, patch by Andrea
2008-09-16 Jürg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala:
Add support for virtual and abstract metadata attributes,
patch by Andrea Del Signore, fixes bug 551205
svn path=/trunk/; revision=1767
Andrea Del Signore [Sat, 13 Sep 2008 08:25:24 +0000 (08:25 +0000)]
Fixed Component class type check function name
2008-09-13 Andrea Del Signore <sejerpz@tin.it>
* vapi/libbonoboui-2.0.vapi:
Fixed Component class type check function name
svn path=/trunk/; revision=1766
Jürg Billeter [Wed, 3 Sep 2008 20:04:53 +0000 (20:04 +0000)]
Improve Gst.Pad bindings, patch by Ali Sabil
2008-09-03 Jürg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/:
Improve Gst.Pad bindings, patch by Ali Sabil
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=1765
Thijs Vermeir [Tue, 26 Aug 2008 10:09:23 +0000 (10:09 +0000)]
Add memset binding
* vapi/glib-2.0.vapi:
Add memset binding
svn path=/trunk/; revision=1764
Thijs Vermeir [Mon, 25 Aug 2008 19:52:03 +0000 (19:52 +0000)]
Add buffer flag set/unset Transfer ownership on
* vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala:
Add buffer flag set/unset
* vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata:
Transfer ownership on gst_buffer_try_new_and_alloc
* vapi/gstreamer-0.10.vapi: Regenerated
svn path=/trunk/; revision=1763
Thijs Vermeir [Mon, 25 Aug 2008 16:41:12 +0000 (16:41 +0000)]
Add class Event ref/unref function Fix indent Regenerated
* vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala:
Add class Event ref/unref function
* vapi/packages/gdk-2.0/gdk-2.0-custom.vala: Fix indent
* vapi/gstreamer-0.10.vapi: Regenerated
svn path=/trunk/; revision=1762
Jürg Billeter [Sun, 24 Aug 2008 21:34:46 +0000 (21:34 +0000)]
Mark generated helper functions for dynamic properties as static inline,
2008-08-24 Jürg Billeter <j@bitron.ch>
* gobject/valaccodedynamicpropertybinding.vala:
Mark generated helper functions for dynamic properties as static
inline, patch by Ali Sabil
svn path=/trunk/; revision=1761
Thijs Vermeir [Sun, 24 Aug 2008 19:11:06 +0000 (19:11 +0000)]
Add Bitmap class to prevent it from being a compact class transfer
* vapi/packages/gdk-2.0/gdk-2.0-custom.vala:
Add Bitmap class to prevent it from being a compact class
* vapi/packages/gdk-2.0/gdk-2.0.metadata:
transfer ownership on gdk_bitmap_create_from_data
* vapi/gdk-2.0.vapi: Regenerated
svn path=/trunk/; revision=1760
Thijs Vermeir [Sun, 24 Aug 2008 15:34:29 +0000 (15:34 +0000)]
Set gdk_window_set_cursor.cursor nullable Regenerated
* vapi/packages/gdk-2.0/gdk-2.0.metadata:
Set gdk_window_set_cursor.cursor nullable
* vapi/gdk-2.0.vapi: Regenerated
svn path=/trunk/; revision=1759
Zeeshan Ali Khattak [Sat, 16 Aug 2008 20:36:20 +0000 (20:36 +0000)]
Add g_get_real_name binding
2008-08-16 Zeeshan Ali Khattak <zeenix@gmail.com>
* vapi/glib-2.0.vapi:
Add g_get_real_name binding
svn path=/trunk/; revision=1758
Jürg Billeter [Thu, 14 Aug 2008 21:22:53 +0000 (21:22 +0000)]
Don't derive from GObject in libvala where not necessary to improve
2008-08-14 Jürg Billeter <j@bitron.ch>
Don't derive from GObject in libvala where not necessary to improve
compilation performance
svn path=/trunk/; revision=1757
Jürg Billeter [Thu, 14 Aug 2008 21:12:11 +0000 (21:12 +0000)]
Post-release version bump
2008-08-14 Jürg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
svn path=/trunk/; revision=1756
Jürg Billeter [Thu, 14 Aug 2008 21:10:36 +0000 (21:10 +0000)]
update for 0.3.5 release
2008-08-14 Jürg Billeter <j@bitron.ch>
* NEWS: update for 0.3.5 release
svn path=/trunk/; revision=1754
Jürg Billeter [Thu, 14 Aug 2008 20:45:30 +0000 (20:45 +0000)]
Fix dynamic signal parameters, patch by Ali Sabil
2008-08-14 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
Fix dynamic signal parameters, patch by Ali Sabil
svn path=/trunk/; revision=1753
Levi Bard [Thu, 14 Aug 2008 20:16:59 +0000 (20:16 +0000)]
compiler/valacompiler.vala
2008-08-14 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com>
* gobject/valaccodecompiler.vala:
* compiler/valacompiler.vala
Prevent output filename concatenation when -d is passed with an
absolute path to -o, fixes bug 547344
svn path=/trunk/; revision=1752
Jürg Billeter [Thu, 14 Aug 2008 20:03:25 +0000 (20:03 +0000)]
Use finalize instead of dispose to free instance data as dispose should
2008-08-14 Jürg Billeter <j@bitron.ch>
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodegeneratorstruct.vala:
Use finalize instead of dispose to free instance data as dispose
should only be used where it is necessary to break reference
cycles, and this is possible by manually overriding the dispose
method
svn path=/trunk/; revision=1751
Jürg Billeter [Thu, 14 Aug 2008 19:55:23 +0000 (19:55 +0000)]
Add missing casts and checks for non-GObject classes
2008-08-14 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala:
Add missing casts and checks for non-GObject classes
svn path=/trunk/; revision=1750
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