]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
16 years agoFix chain up to creation methods with variable argument lists
Jürg Billeter [Thu, 3 Sep 2009 09:15:25 +0000 (11:15 +0200)] 
Fix chain up to creation methods with variable argument lists

16 years agofix binding of GVariant parse functions
Ryan Lortie [Thu, 3 Sep 2009 03:25:35 +0000 (23:25 -0400)] 
fix binding of GVariant parse functions

16 years agoadd dconf vapi (hand-written)
Ryan Lortie [Wed, 2 Sep 2009 16:08:47 +0000 (12:08 -0400)] 
add dconf vapi (hand-written)

16 years agoadd conditional GTree refcounts with -D GLIB_2_22
Ryan Lortie [Wed, 2 Sep 2009 16:00:36 +0000 (12:00 -0400)] 
add conditional GTree refcounts with -D GLIB_2_22

16 years agoGVariant binding fixups
Ryan Lortie [Wed, 2 Sep 2009 14:32:46 +0000 (10:32 -0400)] 
GVariant binding fixups

16 years agogirwriter: Make sure the default constructor is called new
John Carr [Wed, 2 Sep 2009 11:57:45 +0000 (12:57 +0100)] 
girwriter: Make sure the default constructor is called new

16 years agoStruct instance fields are always public
Jürg Billeter [Wed, 2 Sep 2009 09:05:26 +0000 (11:05 +0200)] 
Struct instance fields are always public

16 years agoAdd test for accessing class/static fields from class methods
Sebastian Dröge [Tue, 1 Sep 2009 08:10:48 +0000 (10:10 +0200)] 
Add test for accessing class/static fields from class methods

16 years agoadd initial GSettings support to gio-2.0 vapi
Ryan Lortie [Wed, 2 Sep 2009 02:44:37 +0000 (22:44 -0400)] 
add initial GSettings support to gio-2.0 vapi

16 years agoAdd partial GVariant bindings to glib VAPI
Ryan Lortie [Wed, 2 Sep 2009 01:07:47 +0000 (21:07 -0400)] 
Add partial GVariant bindings to glib VAPI

16 years agoGObject: Fix boxed properties
Jürg Billeter [Tue, 1 Sep 2009 17:53:17 +0000 (19:53 +0200)] 
GObject: Fix boxed properties

GObject properties that are boxed types were incorrectly being declared as
pointer types when the properties were installed.

Based on patch by Mark Lee, fixes bug 592493.

16 years agoFix access checks for instance and class members
Sebastian Dröge [Thu, 27 Aug 2009 07:15:09 +0000 (09:15 +0200)] 
Fix access checks for instance and class members

Do not allow access to instance members from static or class
constructors/destructors. Allow access to class members from
class methods.

Fixes bug 592930 and bug 593255.

16 years agogdk-2.0: Fix gdk_window_new binding
Jürg Billeter [Tue, 1 Sep 2009 07:03:40 +0000 (09:03 +0200)] 
gdk-2.0: Fix gdk_window_new binding

16 years agolibxml-2.0: Fix xmlNewDocRawNode binding
Martin Olsson [Wed, 26 Aug 2009 20:09:36 +0000 (22:09 +0200)] 
libxml-2.0: Fix xmlNewDocRawNode binding

Fixes bug 593219.

16 years agogtk+-2.0: Fix GtkBuildable custom methods
Jürg Billeter [Mon, 31 Aug 2009 20:16:50 +0000 (22:16 +0200)] 
gtk+-2.0: Fix GtkBuildable custom methods

Fixes bug 593489, based on patch by Nicolas Bruguier.

16 years agogtk+-2.0: Fix gtk_notebook_insert_page*
Nicolas Bruguier [Mon, 31 Aug 2009 20:10:15 +0000 (22:10 +0200)] 
gtk+-2.0: Fix gtk_notebook_insert_page*

Fixes bug 593490.

16 years agovapigen: Support virtual="0"
Jürg Billeter [Mon, 31 Aug 2009 20:09:45 +0000 (22:09 +0200)] 
vapigen: Support virtual="0"

16 years agogtk+-2.0: gtk_window_set_focus parameter can be null
Nicolas Bruguier [Sat, 29 Aug 2009 13:54:35 +0000 (15:54 +0200)] 
gtk+-2.0: gtk_window_set_focus parameter can be null

Fixes bug 593491.

16 years agoFix crash with certain default arguments
Jürg Billeter [Mon, 31 Aug 2009 19:44:35 +0000 (21:44 +0200)] 
Fix crash with certain default arguments

Fixes bug 593499.

16 years agogtk+-2.0: Fix gtk_button_get_alignment binding
Jürg Billeter [Mon, 31 Aug 2009 19:15:32 +0000 (21:15 +0200)] 
gtk+-2.0: Fix gtk_button_get_alignment binding

Fixes bug 593578.

16 years agogtk+-2.0: Fix gtk_editable_select_region binding
Jürg Billeter [Mon, 31 Aug 2009 19:13:00 +0000 (21:13 +0200)] 
gtk+-2.0: Fix gtk_editable_select_region binding

Fixes bug 593579.

16 years agogobject-2.0: Add constructor to GLib.Object class
Jürg Billeter [Mon, 31 Aug 2009 18:40:01 +0000 (20:40 +0200)] 
gobject-2.0: Add constructor to GLib.Object class

16 years agoFix use of generics in base expressions inside constructors
Didier 'Ptitjes [Wed, 26 Aug 2009 10:26:12 +0000 (12:26 +0200)] 
Fix use of generics in base expressions inside constructors

Fixes bug 593137.

16 years agoFix memory management in generic methods
Jürg Billeter [Thu, 27 Aug 2009 08:27:50 +0000 (10:27 +0200)] 
Fix memory management in generic methods

Fixes bug 593260.

16 years agoposix: Fix struct tm binding
Michael 'Mickey' Lauer [Tue, 25 Aug 2009 13:06:46 +0000 (15:06 +0200)] 
posix: Fix struct tm binding

16 years agoFix scanning of case where single line comments are appended to end of a line
Jamie McCracken [Sun, 23 Aug 2009 04:03:46 +0000 (00:03 -0400)] 
Fix scanning of case where single line comments are appended to end of a line

Fixes GNOME  Bug 592369 -  compiler is complaining about indentation if there are comments

16 years agoPorperly parse types when using array of/list of/dict of type
Jamie McCracken [Sun, 23 Aug 2009 03:09:24 +0000 (23:09 -0400)] 
Porperly parse types when using array of/list of/dict of type

Fixes GNOME Bug 592366 -  list doesn't work as well as ArrayList

16 years agovalac: Add flag to specify a separate basedir for the public header
Mark Lee [Wed, 15 Jul 2009 07:41:02 +0000 (00:41 -0700)] 
valac: Add flag to specify a separate basedir for the public header

This basedir is used in the VAPI file. Needed because of the way that build
systems such as Waf deal with the location of the public header.

Fixes GNOME Bug #589964.

16 years agoFix array length access for parameters using reserved identifiers
Jürg Billeter [Thu, 20 Aug 2009 20:49:38 +0000 (22:49 +0200)] 
Fix array length access for parameters using reserved identifiers

16 years agoposix: add gettimeofday() and settimeofday() bindings.
Evan Nemerson [Tue, 18 Aug 2009 09:56:34 +0000 (02:56 -0700)] 
posix: add gettimeofday() and settimeofday() bindings.

Fixes bug 592189.

16 years agognome-keyring-1: Fix GnomeKeyring.AttributeList binding
Jürg Billeter [Tue, 18 Aug 2009 15:39:29 +0000 (17:39 +0200)] 
gnome-keyring-1: Fix GnomeKeyring.AttributeList binding

16 years agovapigen: Interfaces should be marked as external by default.
Alberto Ruiz [Tue, 18 Aug 2009 13:17:32 +0000 (14:17 +0100)] 
vapigen: Interfaces should be marked as external by default.

16 years agogtk+-2.0: Fix Gtk.Table:row-spacing binding
Mark Lee [Mon, 17 Aug 2009 16:31:56 +0000 (09:31 -0700)] 
gtk+-2.0: Fix Gtk.Table:row-spacing binding

gtk_table_set_row_spacing() should not be emitted by Vala as an accessor
method for GtkTable's row-spacing property, as it has a different function
signature.

Fixes GNOME Bug #592110.

16 years agoDo not allow creation of objects without constructor
Jürg Billeter [Mon, 17 Aug 2009 19:16:48 +0000 (21:16 +0200)] 
Do not allow creation of objects without constructor

Fixes bug 578417.

16 years agogstreamer-0.10: fix some bindings
Thijs Vermeir [Mon, 17 Aug 2009 19:15:47 +0000 (21:15 +0200)] 
gstreamer-0.10: fix some bindings

16 years agogobject-2.0: fix binding for ObjectClass.list_properties
Mark Lee [Mon, 17 Aug 2009 16:07:26 +0000 (09:07 -0700)] 
gobject-2.0: fix binding for ObjectClass.list_properties

The array length type for the return value of
g_object_class_list_properties() is guint, not int.

Fixes GNOME Bug #592108.

16 years agoDo not chain up constructors when using construct properties
Jürg Billeter [Mon, 17 Aug 2009 16:48:47 +0000 (18:48 +0200)] 
Do not chain up constructors when using construct properties

16 years agoAccept external property accessors without body
Jürg Billeter [Mon, 17 Aug 2009 13:16:26 +0000 (15:16 +0200)] 
Accept external property accessors without body

16 years agognet-2.0: Fix bindings for several delegates.
j.smit [Sun, 16 Aug 2009 21:25:15 +0000 (14:25 -0700)] 
gnet-2.0: Fix bindings for several delegates.

Fixes bug 590936.

16 years agogtk+-2.0: Fix some GtkStatusIcon signals
Evan Nemerson [Sun, 16 Aug 2009 21:00:27 +0000 (14:00 -0700)] 
gtk+-2.0: Fix some GtkStatusIcon signals

Fixes bug 590951.

16 years agoReport error when trying to modify strings
Jürg Billeter [Sun, 16 Aug 2009 21:24:43 +0000 (23:24 +0200)] 
Report error when trying to modify strings

Fixes bug 588038.

16 years agogdk-2.0: Fix virtual methods in Gdk.Drawable class
Jürg Billeter [Sun, 16 Aug 2009 20:54:48 +0000 (22:54 +0200)] 
gdk-2.0: Fix virtual methods in Gdk.Drawable class

Fixes bug 591288.

16 years agoglib-2.0: Return character instead of number in char.to_string
Jürg Billeter [Sun, 16 Aug 2009 20:30:29 +0000 (22:30 +0200)] 
glib-2.0: Return character instead of number in char.to_string

Fixes bug 590557.

16 years agoposix: Add sync, fsync, and fdatasync bindings
Evan Nemerson [Sun, 2 Aug 2009 21:40:16 +0000 (14:40 -0700)] 
posix: Add sync, fsync, and fdatasync bindings

Fixes bug 590550.

16 years agoReport error on unsupported constructor chain up
Jürg Billeter [Sun, 16 Aug 2009 19:57:38 +0000 (21:57 +0200)] 
Report error on unsupported constructor chain up

Fixes bug 581362.

16 years agoReport error on invalid creation method declarations
Jürg Billeter [Sun, 16 Aug 2009 19:14:36 +0000 (21:14 +0200)] 
Report error on invalid creation method declarations

Fixes bug 572060.

16 years agoEnsure constructors are chained up
Jürg Billeter [Sun, 16 Aug 2009 17:19:38 +0000 (19:19 +0200)] 
Ensure constructors are chained up

Fixes bug 571453.

16 years agoFix creation methods in abstract classes
Jürg Billeter [Sun, 16 Aug 2009 17:46:23 +0000 (19:46 +0200)] 
Fix creation methods in abstract classes

Add default construction method to abstract classes to allow chain up.
Do not generate _new functions for construction methods in abstract
classes, only generate _construct functions.

16 years agoSupport relational and arithmetic operations with enum values
Jürg Billeter [Sun, 16 Aug 2009 15:43:32 +0000 (17:43 +0200)] 
Support relational and arithmetic operations with enum values

Fixes bug 562265.

16 years agoRespect accessibility of creation methods
Jürg Billeter [Sun, 16 Aug 2009 15:06:50 +0000 (17:06 +0200)] 
Respect accessibility of creation methods

Fixes bug 560974.

16 years agoReport error on unsupported type check expressions
Jürg Billeter [Sun, 16 Aug 2009 14:56:39 +0000 (16:56 +0200)] 
Report error on unsupported type check expressions

Fixes bug 585344.

16 years agoglib-2.0: Add g_strdelimit binding
Jürg Billeter [Sun, 16 Aug 2009 14:21:53 +0000 (16:21 +0200)] 
glib-2.0: Add g_strdelimit binding

Fixes bug 530396.

16 years agocairo: Fix cairo_image_surface_get_data binding
Michal Hruby [Sun, 16 Aug 2009 11:35:35 +0000 (13:35 +0200)] 
cairo: Fix cairo_image_surface_get_data binding

ImageSurface.get_data() method returns unowned data.

16 years agocairo: Add cairo_clip_extents binding and various fixes
Jürg Billeter [Sun, 16 Aug 2009 12:41:05 +0000 (14:41 +0200)] 
cairo: Add cairo_clip_extents binding and various fixes

Fixes bug 591915.

16 years agoCheck case expressions in switch statements
Jürg Billeter [Sun, 16 Aug 2009 12:20:48 +0000 (14:20 +0200)] 
Check case expressions in switch statements

Fixes bug 577052.

16 years agoReplace in_creation_method field by property
Jürg Billeter [Sun, 16 Aug 2009 10:23:40 +0000 (12:23 +0200)] 
Replace in_creation_method field by property

16 years agoReplace current_return_type field by property
Jürg Billeter [Sun, 16 Aug 2009 10:19:04 +0000 (12:19 +0200)] 
Replace current_return_type field by property

16 years agoSimplify current symbol tracking
Jürg Billeter [Sun, 16 Aug 2009 09:59:27 +0000 (11:59 +0200)] 
Simplify current symbol tracking

Replace current_type_symbol, current_class, current_struct,
current_method, and current_property_accessor fields by properties.

16 years agoDo not treat external main methods as entry points
Jürg Billeter [Sat, 15 Aug 2009 16:31:40 +0000 (18:31 +0200)] 
Do not treat external main methods as entry points

16 years agoglib-2.0: Added TimeoutSource.seconds constructor
Sebastian Pölsterl [Sat, 15 Aug 2009 16:58:46 +0000 (18:58 +0200)] 
glib-2.0: Added TimeoutSource.seconds constructor

16 years agogstreamer-0.10: set the delegate target position for gst_iterator_fold
Víctor Manuel Jáquez Leal [Fri, 14 Aug 2009 15:23:04 +0000 (17:23 +0200)] 
gstreamer-0.10: set the delegate target position for gst_iterator_fold

Fixes bug 591815.

16 years agoReplace Vala.InstanceCast class by method
Jürg Billeter [Sat, 15 Aug 2009 14:40:48 +0000 (16:40 +0200)] 
Replace Vala.InstanceCast class by method

16 years agoglib-2.0: Fix g_strchomp, g_strchug, and g_strstrip bindings
Jürg Billeter [Sat, 15 Aug 2009 14:22:25 +0000 (16:22 +0200)] 
glib-2.0: Fix g_strchomp, g_strchug, and g_strstrip bindings

Strings are immutable in Vala. Fixes bug 571470.

16 years agoReport error on missing or duplicate entry point
Jürg Billeter [Sat, 15 Aug 2009 14:11:11 +0000 (16:11 +0200)] 
Report error on missing or duplicate entry point

Fixes bug 591819.

16 years agoCheck for unhandled errors in creation methods
Jürg Billeter [Sat, 15 Aug 2009 13:50:08 +0000 (15:50 +0200)] 
Check for unhandled errors in creation methods

Fixes bug 571973.

16 years agogobject-2.0: Add binding for g_value_array_copy
Mark Lee [Mon, 10 Aug 2009 20:10:21 +0000 (13:10 -0700)] 
gobject-2.0: Add binding for g_value_array_copy

Fixes bug 591370.

16 years agoArrays: Add array_length_type annotation to methods
Mark Lee [Wed, 12 Aug 2009 20:53:25 +0000 (13:53 -0700)] 
Arrays: Add array_length_type annotation to methods

Adds support for the array_length_type CCode annotation, which allows
methods with non-int array length parameters to be declared properly.
Fixes possible crashes.

Also adds Vala.CType, to work around the temporary variable type
limitations.

This fix only works with array return types, not with array parameters.

Partially fixes bug 529866.

16 years agoglib-2.0: Fixed Source.remove binding
Sebastian Pölsterl [Wed, 12 Aug 2009 19:20:28 +0000 (21:20 +0200)] 
glib-2.0: Fixed Source.remove binding

Source.remove returns bool

16 years agoUse g_signal_connect_object also for lambda expressions
Jürg Billeter [Mon, 10 Aug 2009 19:14:08 +0000 (21:14 +0200)] 
Use g_signal_connect_object also for lambda expressions

Fixes bug 591240.

16 years agoFix cast from non-array to array type
Jürg Billeter [Mon, 10 Aug 2009 18:51:10 +0000 (20:51 +0200)] 
Fix cast from non-array to array type

Fixes bug 590785.

16 years agoAdd missing dependencies for cogl-1.0 bindings
Rob Taylor [Tue, 4 Aug 2009 16:16:30 +0000 (17:16 +0100)] 
Add missing dependencies for cogl-1.0 bindings

16 years agoAdd initial clutter-1.0 vala bindings.
Rob Taylor [Tue, 4 Aug 2009 15:16:40 +0000 (16:16 +0100)] 
Add initial clutter-1.0 vala bindings.

These were generated using gobject-introspection and then manually
corrected, so there may be a number of issues. They are usable right
now, but should be considered a work-in-progress.

16 years agoglib-2.0: Add string.to_utf8() method
Jürg Billeter [Tue, 4 Aug 2009 10:01:44 +0000 (12:01 +0200)] 
glib-2.0: Add string.to_utf8() method

16 years agoFix lambda expressions in property accessors
Jürg Billeter [Mon, 3 Aug 2009 14:11:53 +0000 (16:11 +0200)] 
Fix lambda expressions in property accessors

Fixes bug 590626.

16 years agogio-2.0: mtime in FileInfo.get_modification_time is an out parameter
Jaap A. Haitsma [Mon, 3 Aug 2009 05:31:39 +0000 (07:31 +0200)] 
gio-2.0: mtime in FileInfo.get_modification_time is an out parameter

16 years agoPost-release version bump
Jürg Billeter [Sun, 2 Aug 2009 20:42:14 +0000 (22:42 +0200)] 
Post-release version bump

16 years agoRelease 0.7.5 0.7.5
Jürg Billeter [Sun, 2 Aug 2009 20:11:11 +0000 (22:11 +0200)] 
Release 0.7.5

16 years agoFix bindings to use the new syntax for fixed-length arrays
Evan Nemerson [Sat, 1 Aug 2009 19:33:40 +0000 (12:33 -0700)] 
Fix bindings to use the new syntax for fixed-length arrays

Fixes bug 590477.

16 years agoD-Bus: Fix crash when using unsupported types in dynamic clients
Jürg Billeter [Sun, 2 Aug 2009 19:31:40 +0000 (21:31 +0200)] 
D-Bus: Fix crash when using unsupported types in dynamic clients

Fixes bug 586479.

16 years agoFix calling generic methods from generic types
Jürg Billeter [Sun, 2 Aug 2009 18:54:15 +0000 (20:54 +0200)] 
Fix calling generic methods from generic types

16 years agoReport error when overriding method with static method
Jürg Billeter [Sun, 2 Aug 2009 17:51:34 +0000 (19:51 +0200)] 
Report error when overriding method with static method

16 years agocurses: make stdscr curscr and newscr not constant
inter [Sat, 1 Aug 2009 20:27:03 +0000 (22:27 +0200)] 
curses: make stdscr curscr and newscr not constant

Curses example on wiki compiles again

16 years agoMake PutUnion public
Frederik [Sat, 1 Aug 2009 20:21:49 +0000 (22:21 +0200)] 
Make PutUnion public

vala tiff example now works

16 years agoFix memory leak when freeing arrays of structs
Jürg Billeter [Sat, 1 Aug 2009 18:06:32 +0000 (20:06 +0200)] 
Fix memory leak when freeing arrays of structs

Fixes bug 589144.

16 years agoGObject: Do not use G_PARAM_WRITABLE for private setters
Jürg Billeter [Sat, 1 Aug 2009 16:28:57 +0000 (18:28 +0200)] 
GObject: Do not use G_PARAM_WRITABLE for private setters

Fixes bug 589310.

16 years agoSupport [ScanfFormat] attribute
Jürg Billeter [Sat, 1 Aug 2009 16:17:29 +0000 (18:17 +0200)] 
Support [ScanfFormat] attribute

Fixes bug 589930.

16 years agoImprove CamelCase to lower_case transformation
Jürg Billeter [Sat, 1 Aug 2009 16:10:45 +0000 (18:10 +0200)] 
Improve CamelCase to lower_case transformation

Fixes bug 585718.

16 years agox11: Fix Window binding
Michael B. Trausch [Sat, 1 Aug 2009 15:49:52 +0000 (17:49 +0200)] 
x11: Fix Window binding

16 years agoSupport [CCode (free_function_address_of = true)] attribute
Evan Nemerson [Sat, 1 Aug 2009 15:44:45 +0000 (17:44 +0200)] 
Support [CCode (free_function_address_of = true)] attribute

Fixes bug 589795.

16 years agoposix: Update syntax for fixed-length array definition
Mark Lee [Sat, 1 Aug 2009 07:54:56 +0000 (00:54 -0700)] 
posix: Update syntax for fixed-length array definition

The syntax for fixed-length arrays changed in commit 5843b781.
Fixes bug 590433.

16 years agoFix critical on invalid element access
Jürg Billeter [Fri, 31 Jul 2009 13:30:15 +0000 (15:30 +0200)] 
Fix critical on invalid element access

Fixes bug 590339.

16 years agoDrop duplicate declaration of creation methods
Jürg Billeter [Fri, 31 Jul 2009 12:50:50 +0000 (14:50 +0200)] 
Drop duplicate declaration of creation methods

16 years agoArrays: Fix inline-allocated arrays
Jürg Billeter [Thu, 30 Jul 2009 18:40:36 +0000 (20:40 +0200)] 
Arrays: Fix inline-allocated arrays

16 years agoArrays: Change syntax for fixed-length arrays
Jürg Billeter [Thu, 30 Jul 2009 17:24:17 +0000 (19:24 +0200)] 
Arrays: Change syntax for fixed-length arrays

To clarify the difference to normal arrays and allow declaration
of inline-allocated arrays of unknown length, the new syntax is:

    int array[3];

16 years agoRetain array length across casts
Jürg Billeter [Wed, 29 Jul 2009 21:29:09 +0000 (23:29 +0200)] 
Retain array length across casts

16 years agoFix chaining up constructors in generic classes
Jürg Billeter [Wed, 29 Jul 2009 20:32:47 +0000 (22:32 +0200)] 
Fix chaining up constructors in generic classes

16 years agoGObject: Fix complex construct property assignments
Jürg Billeter [Wed, 29 Jul 2009 19:36:20 +0000 (21:36 +0200)] 
GObject: Fix complex construct property assignments

16 years agoGIR parser: Skip checks not relevant for bindings
Jürg Billeter [Wed, 29 Jul 2009 15:44:00 +0000 (17:44 +0200)] 
GIR parser: Skip checks not relevant for bindings

16 years agoAllow derived compact classes with instance fields in bindings
Jürg Billeter [Wed, 29 Jul 2009 11:37:59 +0000 (13:37 +0200)] 
Allow derived compact classes with instance fields in bindings

16 years agoglib-2.0: Add GStaticMutex bindings
Jürg Billeter [Wed, 29 Jul 2009 06:41:01 +0000 (08:41 +0200)] 
glib-2.0: Add GStaticMutex bindings