]>
git.ipfire.org Git - thirdparty/vala.git/log
Jürg Billeter [Mon, 31 Aug 2009 20:09:45 +0000 (22:09 +0200)]
vapigen: Support virtual="0"
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.
Jürg Billeter [Mon, 31 Aug 2009 19:44:35 +0000 (21:44 +0200)]
Fix crash with certain default arguments
Fixes bug 593499.
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.
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.
Jürg Billeter [Mon, 31 Aug 2009 18:40:01 +0000 (20:40 +0200)]
gobject-2.0: Add constructor to GLib.Object class
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.
Jürg Billeter [Thu, 27 Aug 2009 08:27:50 +0000 (10:27 +0200)]
Fix memory management in generic methods
Fixes bug 593260.
Michael 'Mickey' Lauer [Tue, 25 Aug 2009 13:06:46 +0000 (15:06 +0200)]
posix: Fix struct tm binding
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
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
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.
Jürg Billeter [Thu, 20 Aug 2009 20:49:38 +0000 (22:49 +0200)]
Fix array length access for parameters using reserved identifiers
Evan Nemerson [Tue, 18 Aug 2009 09:56:34 +0000 (02:56 -0700)]
posix: add gettimeofday() and settimeofday() bindings.
Fixes bug 592189.
Jürg Billeter [Tue, 18 Aug 2009 15:39:29 +0000 (17:39 +0200)]
gnome-keyring-1: Fix GnomeKeyring.AttributeList binding
Alberto Ruiz [Tue, 18 Aug 2009 13:17:32 +0000 (14:17 +0100)]
vapigen: Interfaces should be marked as external by default.
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.
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.
Thijs Vermeir [Mon, 17 Aug 2009 19:15:47 +0000 (21:15 +0200)]
gstreamer-0.10: fix some bindings
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.
Jürg Billeter [Mon, 17 Aug 2009 16:48:47 +0000 (18:48 +0200)]
Do not chain up constructors when using construct properties
Jürg Billeter [Mon, 17 Aug 2009 13:16:26 +0000 (15:16 +0200)]
Accept external property accessors without body
j.smit [Sun, 16 Aug 2009 21:25:15 +0000 (14:25 -0700)]
gnet-2.0: Fix bindings for several delegates.
Fixes bug 590936.
Evan Nemerson [Sun, 16 Aug 2009 21:00:27 +0000 (14:00 -0700)]
gtk+-2.0: Fix some GtkStatusIcon signals
Fixes bug 590951.
Jürg Billeter [Sun, 16 Aug 2009 21:24:43 +0000 (23:24 +0200)]
Report error when trying to modify strings
Fixes bug 588038.
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.
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.
Evan Nemerson [Sun, 2 Aug 2009 21:40:16 +0000 (14:40 -0700)]
posix: Add sync, fsync, and fdatasync bindings
Fixes bug 590550.
Jürg Billeter [Sun, 16 Aug 2009 19:57:38 +0000 (21:57 +0200)]
Report error on unsupported constructor chain up
Fixes bug 581362.
Jürg Billeter [Sun, 16 Aug 2009 19:14:36 +0000 (21:14 +0200)]
Report error on invalid creation method declarations
Fixes bug 572060.
Jürg Billeter [Sun, 16 Aug 2009 17:19:38 +0000 (19:19 +0200)]
Ensure constructors are chained up
Fixes bug 571453.
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.
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.
Jürg Billeter [Sun, 16 Aug 2009 15:06:50 +0000 (17:06 +0200)]
Respect accessibility of creation methods
Fixes bug 560974.
Jürg Billeter [Sun, 16 Aug 2009 14:56:39 +0000 (16:56 +0200)]
Report error on unsupported type check expressions
Fixes bug 585344.
Jürg Billeter [Sun, 16 Aug 2009 14:21:53 +0000 (16:21 +0200)]
glib-2.0: Add g_strdelimit binding
Fixes bug 530396.
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.
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.
Jürg Billeter [Sun, 16 Aug 2009 12:20:48 +0000 (14:20 +0200)]
Check case expressions in switch statements
Fixes bug 577052.
Jürg Billeter [Sun, 16 Aug 2009 10:23:40 +0000 (12:23 +0200)]
Replace in_creation_method field by property
Jürg Billeter [Sun, 16 Aug 2009 10:19:04 +0000 (12:19 +0200)]
Replace current_return_type field by property
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.
Jürg Billeter [Sat, 15 Aug 2009 16:31:40 +0000 (18:31 +0200)]
Do not treat external main methods as entry points
Sebastian Pölsterl [Sat, 15 Aug 2009 16:58:46 +0000 (18:58 +0200)]
glib-2.0: Added TimeoutSource.seconds constructor
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.
Jürg Billeter [Sat, 15 Aug 2009 14:40:48 +0000 (16:40 +0200)]
Replace Vala.InstanceCast class by method
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.
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.
Jürg Billeter [Sat, 15 Aug 2009 13:50:08 +0000 (15:50 +0200)]
Check for unhandled errors in creation methods
Fixes bug 571973.
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.
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.
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
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.
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.
Rob Taylor [Tue, 4 Aug 2009 16:16:30 +0000 (17:16 +0100)]
Add missing dependencies for cogl-1.0 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.
Jürg Billeter [Tue, 4 Aug 2009 10:01:44 +0000 (12:01 +0200)]
glib-2.0: Add string.to_utf8() method
Jürg Billeter [Mon, 3 Aug 2009 14:11:53 +0000 (16:11 +0200)]
Fix lambda expressions in property accessors
Fixes bug 590626.
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
Jürg Billeter [Sun, 2 Aug 2009 20:42:14 +0000 (22:42 +0200)]
Post-release version bump
Jürg Billeter [Sun, 2 Aug 2009 20:11:11 +0000 (22:11 +0200)]
Release 0.7.5
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.
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.
Jürg Billeter [Sun, 2 Aug 2009 18:54:15 +0000 (20:54 +0200)]
Fix calling generic methods from generic types
Jürg Billeter [Sun, 2 Aug 2009 17:51:34 +0000 (19:51 +0200)]
Report error when overriding method with static method
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
Frederik [Sat, 1 Aug 2009 20:21:49 +0000 (22:21 +0200)]
Make PutUnion public
vala tiff example now works
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.
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.
Jürg Billeter [Sat, 1 Aug 2009 16:17:29 +0000 (18:17 +0200)]
Support [ScanfFormat] attribute
Fixes bug 589930.
Jürg Billeter [Sat, 1 Aug 2009 16:10:45 +0000 (18:10 +0200)]
Improve CamelCase to lower_case transformation
Fixes bug 585718.
Michael B. Trausch [Sat, 1 Aug 2009 15:49:52 +0000 (17:49 +0200)]
x11: Fix Window binding
Evan Nemerson [Sat, 1 Aug 2009 15:44:45 +0000 (17:44 +0200)]
Support [CCode (free_function_address_of = true)] attribute
Fixes bug 589795.
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.
Jürg Billeter [Fri, 31 Jul 2009 13:30:15 +0000 (15:30 +0200)]
Fix critical on invalid element access
Fixes bug 590339.
Jürg Billeter [Fri, 31 Jul 2009 12:50:50 +0000 (14:50 +0200)]
Drop duplicate declaration of creation methods
Jürg Billeter [Thu, 30 Jul 2009 18:40:36 +0000 (20:40 +0200)]
Arrays: Fix inline-allocated 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];
Jürg Billeter [Wed, 29 Jul 2009 21:29:09 +0000 (23:29 +0200)]
Retain array length across casts
Jürg Billeter [Wed, 29 Jul 2009 20:32:47 +0000 (22:32 +0200)]
Fix chaining up constructors in generic classes
Jürg Billeter [Wed, 29 Jul 2009 19:36:20 +0000 (21:36 +0200)]
GObject: Fix complex construct property assignments
Jürg Billeter [Wed, 29 Jul 2009 15:44:00 +0000 (17:44 +0200)]
GIR parser: Skip checks not relevant for bindings
Jürg Billeter [Wed, 29 Jul 2009 11:37:59 +0000 (13:37 +0200)]
Allow derived compact classes with instance fields in bindings
Jürg Billeter [Wed, 29 Jul 2009 06:41:01 +0000 (08:41 +0200)]
glib-2.0: Add GStaticMutex bindings
Jürg Billeter [Wed, 29 Jul 2009 06:18:39 +0000 (08:18 +0200)]
Fix name mangling in NULL check for out parameters
Jürg Billeter [Tue, 28 Jul 2009 22:01:55 +0000 (00:01 +0200)]
Fix flow analysis in finally blocks
Fixes bug 590069.
Jürg Billeter [Tue, 28 Jul 2009 21:43:27 +0000 (23:43 +0200)]
Fix critical when using general catch clauses
Jiří Zárevúcky [Tue, 28 Jul 2009 21:17:34 +0000 (23:17 +0200)]
Fix error handling in catch clauses
Jiří Zárevúcky [Tue, 28 Jul 2009 20:32:51 +0000 (22:32 +0200)]
Fix jump statements in try with finally
Fixes bug 579101.
Didier 'Ptitjes [Thu, 30 Apr 2009 15:26:02 +0000 (17:26 +0200)]
D-Bus: GType-based client proxy instantiation
Add internal DBus.get_object_from_type method to dbus-glib-1 binding,
fixes bug 571831.
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Thu, 30 Apr 2009 14:34:20 +0000 (16:34 +0200)]
D-Bus: Register client proxy class with interface
Fixes part of bug 571831.
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Jürg Billeter [Tue, 28 Jul 2009 18:42:40 +0000 (20:42 +0200)]
Add parentheses to called functions where necessary
Didier 'Ptitjes [Thu, 30 Apr 2009 13:32:49 +0000 (15:32 +0200)]
Add factory method for creating instance register functions
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Didier 'Ptitjes [Thu, 30 Apr 2009 13:13:15 +0000 (15:13 +0200)]
D-Bus: Move filter/match initialization to proxy constructor
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Jürg Billeter [Tue, 28 Jul 2009 16:50:25 +0000 (18:50 +0200)]
Add limited support for derived compact classes
Fixes bug 578603.
Jürg Billeter [Tue, 28 Jul 2009 16:45:49 +0000 (18:45 +0200)]
Removed Boxed pseudo-class
Jürg Billeter [Tue, 28 Jul 2009 16:33:06 +0000 (18:33 +0200)]
Report error when declaring virtual methods as extern
See bug 584400.
Jürg Billeter [Tue, 28 Jul 2009 16:08:19 +0000 (18:08 +0200)]
Fix error message when trying to invoke object
Based on patch by Andreas Brauchli, fixes bug 574910.
Jürg Billeter [Tue, 28 Jul 2009 15:20:37 +0000 (17:20 +0200)]
Support virtual default handler for signals
Based on patch by Yu Feng, fixes part of 571685.
Jürg Billeter [Tue, 28 Jul 2009 14:27:58 +0000 (16:27 +0200)]
Support delegates without target as generic type arguments
Based on patch by Levi Bard, fixes bug 519949.