]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
14 years agocodegen: Move freeing of locals to append_scope_free method
Jürg Billeter [Fri, 29 Apr 2011 20:31:27 +0000 (22:31 +0200)] 
codegen: Move freeing of locals to append_scope_free method

14 years agocodegen: Fix execution order of finally blocks
Maciej Piechotka [Fri, 29 Apr 2011 09:48:02 +0000 (11:48 +0200)] 
codegen: Fix execution order of finally blocks

Fixes bug 648807.

14 years agoAdd documentation for --metadatadir in the valac and vapigen manpage
Luca Bruno [Fri, 29 Apr 2011 12:23:57 +0000 (14:23 +0200)] 
Add documentation for --metadatadir in the valac and vapigen manpage

14 years agogstreamer-0.10: Mark Clock.wait jitter parameter to be out
Luca Bruno [Fri, 29 Apr 2011 12:16:34 +0000 (14:16 +0200)] 
gstreamer-0.10: Mark Clock.wait jitter parameter to be out

Fixes bug 648684.

14 years agogio-2.0: Make return value for File.query_filesystem_info be owned
Oliver Sauder [Wed, 27 Apr 2011 21:45:39 +0000 (23:45 +0200)] 
gio-2.0: Make return value for File.query_filesystem_info be owned

Fixes bug 648814.

14 years agogdk-3.0: Fix Gdk.threads_add_* bindings
Luca Bruno [Fri, 29 Apr 2011 11:03:06 +0000 (13:03 +0200)] 
gdk-3.0: Fix Gdk.threads_add_* bindings

Fixes bug 648744.

14 years agocodegen: Create local variable for the foreach iterator
Luca Bruno [Thu, 28 Apr 2011 10:00:30 +0000 (12:00 +0200)] 
codegen: Create local variable for the foreach iterator

14 years agocodegen: Call visit_local_variable on the foreach element variable
Luca Bruno [Thu, 28 Apr 2011 10:15:29 +0000 (12:15 +0200)] 
codegen: Call visit_local_variable on the foreach element variable

14 years agocodegen: Call visit_local_variable on the foreach collection variable
Luca Bruno [Thu, 28 Apr 2011 09:40:46 +0000 (11:40 +0200)] 
codegen: Call visit_local_variable on the foreach collection variable

14 years agocodegen: Use CatchClause.error_variable instead of variable_name
Luca Bruno [Fri, 22 Apr 2011 20:05:31 +0000 (22:05 +0200)] 
codegen: Use CatchClause.error_variable instead of variable_name

14 years agoFix creation of lambdas inside interface methods
Maciej Piechotka [Sun, 24 Apr 2011 20:01:31 +0000 (22:01 +0200)] 
Fix creation of lambdas inside interface methods

Fixes bug 648320.

14 years agocodegen: Fix memory leak for return statements in inner blocks
Jürg Billeter [Wed, 27 Apr 2011 10:51:34 +0000 (12:51 +0200)] 
codegen: Fix memory leak for return statements in inner blocks

variable_accessible_in_finally was not correctly working as symbol
lookup failed due to local.active set to false by visit_member_access.

14 years agocodegen: Free locals before executing finally block
Jürg Billeter [Wed, 27 Apr 2011 10:48:18 +0000 (12:48 +0200)] 
codegen: Free locals before executing finally block

Inner variables should be freed before outer variables.

14 years agogirparser: Refactoring, create GIR nodes to improve the tree analysis
Luca Bruno [Sun, 24 Apr 2011 12:57:48 +0000 (14:57 +0200)] 
girparser: Refactoring, create GIR nodes to improve the tree analysis

14 years agoglib-2.0: Set type_id for Pid
Luca Bruno [Tue, 26 Apr 2011 09:13:36 +0000 (11:13 +0200)] 
glib-2.0: Set type_id for Pid

14 years agox11: Set type_id for Atom
Luca Bruno [Tue, 26 Apr 2011 09:08:40 +0000 (11:08 +0200)] 
x11: Set type_id for Atom

14 years agoglib-2.0: Ultimate fix for Thread.foreach bindings
Luca Bruno [Mon, 25 Apr 2011 19:13:25 +0000 (21:13 +0200)] 
glib-2.0: Ultimate fix for Thread.foreach bindings

Fixes bug 648588.

14 years agoglib-2.0: Set simple_generics for Thread.foreach
Luca Bruno [Mon, 25 Apr 2011 09:44:58 +0000 (11:44 +0200)] 
glib-2.0: Set simple_generics for Thread.foreach

Fixes bug 648588.

14 years agogtk+-2.0, gtk+-3.0: Mark *_get_layout_offsets parameters to be out
Daniel Svensson [Sat, 23 Apr 2011 15:45:21 +0000 (17:45 +0200)] 
gtk+-2.0, gtk+-3.0: Mark *_get_layout_offsets parameters to be out

Fixes bug 648540.

14 years agogtk+-2.0, gtk+-3.0: Mark Range.get_slider_range parameters to be out
Daniel Svensson [Sat, 23 Apr 2011 10:26:31 +0000 (12:26 +0200)] 
gtk+-2.0, gtk+-3.0: Mark Range.get_slider_range parameters to be out

Fixes bug 648503.

14 years agogdk-2.0, gdk-3.0: Mark Window.get_root_coords parameters to be out
Daniel Svensson [Sat, 23 Apr 2011 10:20:48 +0000 (12:20 +0200)] 
gdk-2.0, gdk-3.0: Mark Window.get_root_coords parameters to be out

Fixes bug 648505.

14 years agoavahi-gobject: Use string.length instead of deprecated string.size()
Daniel Svensson [Sun, 23 Jan 2011 22:06:06 +0000 (23:06 +0100)] 
avahi-gobject: Use string.length instead of deprecated string.size()

Fixes bug 648506.

14 years agogirparser: Fix parsing selectors and matching
Luca Bruno [Sat, 23 Apr 2011 09:18:35 +0000 (11:18 +0200)] 
girparser: Fix parsing selectors and matching

14 years agogirparser: Assume methods with the same name of a property are getters
Luca Bruno [Sat, 23 Apr 2011 08:58:44 +0000 (10:58 +0200)] 
girparser: Assume methods with the same name of a property are getters

14 years agoFix checking access to async callback for base methods
Luca Bruno [Fri, 22 Apr 2011 17:28:42 +0000 (19:28 +0200)] 
Fix checking access to async callback for base methods

Fixes regression introduced by 474611603ae6df7792f4dc2f107.

14 years agoFix default free function for classes
Luca Bruno [Fri, 22 Apr 2011 16:23:34 +0000 (18:23 +0200)] 
Fix default free function for classes

Fixes bug 642362.

14 years agogio-2.0: Use uint8[] for Socket buffers in send/receive methods
Luca Bruno [Fri, 18 Feb 2011 05:16:52 +0000 (16:16 +1100)] 
gio-2.0: Use uint8[] for Socket buffers in send/receive methods

Based on patch by Robert Ancell.

Fixes bug 642528.

14 years agogirparser: Auto detect real-non-null-struct out parameter as return type
Luca Bruno [Fri, 22 Apr 2011 13:02:08 +0000 (15:02 +0200)] 
girparser: Auto detect real-non-null-struct out parameter as return type

14 years agogirparser: Allow specifying whether a boxed type is a struct
Luca Bruno [Fri, 22 Apr 2011 08:54:43 +0000 (10:54 +0200)] 
girparser: Allow specifying whether a boxed type is a struct

14 years agogirparser: Don't mark out parameters as nullable
Luca Bruno [Tue, 19 Apr 2011 21:33:13 +0000 (23:33 +0200)] 
girparser: Don't mark out parameters as nullable

The allow_none in the GIR format is referred to the storage location.

14 years agogirparser: Assume fixed-size arrays are not null terminated
Luca Bruno [Tue, 19 Apr 2011 21:22:40 +0000 (23:22 +0200)] 
girparser: Assume fixed-size arrays are not null terminated

14 years agoglib-2.0: Rename DataTestFunc to TestDataFunc
Luca Bruno [Tue, 19 Apr 2011 20:21:14 +0000 (22:21 +0200)] 
glib-2.0: Rename DataTestFunc to TestDataFunc

Fixes bug 645178.

14 years agolibpq: Fix several function bindings having parameters with array type
Luca Bruno [Tue, 19 Apr 2011 20:14:27 +0000 (22:14 +0200)] 
libpq: Fix several function bindings having parameters with array type

Fixes bug 644308.

14 years agogio-2.0: GSettingsBindSetMapping returns owned
Ryan Lortie [Sun, 17 Apr 2011 20:19:34 +0000 (16:19 -0400)] 
gio-2.0: GSettingsBindSetMapping returns owned

The old binding says it returns an 'unowned GLib.Variant', which is a
pretty difficult proposition for a mapping function...

14 years agogirparser: Remove unused variables
Jürg Billeter [Sun, 17 Apr 2011 14:33:18 +0000 (16:33 +0200)] 
girparser: Remove unused variables

14 years agojson-glib-1.0: Remove unnecessary metadata
Luca Bruno [Sun, 17 Apr 2011 10:49:43 +0000 (12:49 +0200)] 
json-glib-1.0: Remove unnecessary metadata

14 years agogirparser: Fix owned by default assumption for parameter types
Luca Bruno [Sun, 17 Apr 2011 10:47:34 +0000 (12:47 +0200)] 
girparser: Fix owned by default assumption for parameter types

14 years agogirparser: Use new syntax for selecting gir elements
Luca Bruno [Sun, 17 Apr 2011 09:20:16 +0000 (11:20 +0200)] 
girparser: Use new syntax for selecting gir elements

Old syntax discriminated only between properties and signals.
New syntax is pattern#selector where selector refers to an
element name.

14 years agojson-glib-1.0: Switch to gir
Luca Bruno [Sat, 12 Mar 2011 10:03:51 +0000 (11:03 +0100)] 
json-glib-1.0: Switch to gir

14 years agogirparser: Fix detecting gunichar type as unichar
Luca Bruno [Sat, 16 Apr 2011 14:37:34 +0000 (16:37 +0200)] 
girparser: Fix detecting gunichar type as unichar

14 years agoglib-2.0: Fix ChildWatchSource binding
Colomban Wendling [Fri, 15 Apr 2011 21:53:09 +0000 (23:53 +0200)] 
glib-2.0: Fix ChildWatchSource binding

Fixes bug 647911.

14 years agoForbid access to async callback out of the relative async method
Luca Bruno [Sat, 16 Apr 2011 08:17:21 +0000 (10:17 +0200)] 
Forbid access to async callback out of the relative async method

Fixes bug 646945.

14 years agogstreamer-0.10: Fix Gst.Message parse_qos* methods binding
Diego Dompe [Sat, 16 Apr 2011 07:47:01 +0000 (09:47 +0200)] 
gstreamer-0.10: Fix Gst.Message parse_qos* methods binding

Fixes bug 647679.

14 years agogio-2.0: Mark data parameter of ContentType.guess as nullable
Luca Bruno [Sat, 16 Apr 2011 07:29:41 +0000 (09:29 +0200)] 
gio-2.0: Mark data parameter of ContentType.guess as nullable

Fixes bug 647804.

14 years agoGVariantType: add GVariantType.VARDICT
Ryan Lortie [Wed, 13 Apr 2011 03:36:55 +0000 (23:36 -0400)] 
GVariantType: add GVariantType.VARDICT

G_VARIANT_TYPE_VARDICT = "a{sv}" in GLib

14 years agogio-2.0: Make ResolverError be an errordomain
Jim Nelson [Sun, 10 Apr 2011 08:19:33 +0000 (10:19 +0200)] 
gio-2.0: Make ResolverError be an errordomain

Fixes bug 646983.

14 years agogidlparser: Support hiding interfaces with metadata
Daniel Hams [Sat, 9 Apr 2011 15:31:42 +0000 (17:31 +0200)] 
gidlparser: Support hiding interfaces with metadata

Fixes bug 627298.

14 years agoFix binary operations between nullable types
Luca Bruno [Sat, 9 Apr 2011 10:22:04 +0000 (12:22 +0200)] 
Fix binary operations between nullable types

Based on patch by Geert Jordaens.

Fixes bug 591552.

14 years agoForbid implicit construction for SimpleType structs
Luca Bruno [Sat, 9 Apr 2011 07:49:28 +0000 (09:49 +0200)] 
Forbid implicit construction for SimpleType structs

Fixes bug 616600.

14 years agodova: Convert Array to struct
Jürg Billeter [Fri, 8 Apr 2011 19:21:11 +0000 (21:21 +0200)] 
dova: Convert Array to struct

14 years agocodegen: Fix lvalue access to fields
Luca Bruno [Wed, 16 Mar 2011 14:25:36 +0000 (15:25 +0100)] 
codegen: Fix lvalue access to fields

14 years agoDelegate processing of common Field attributes to the Variable base class
Luca Bruno [Wed, 16 Mar 2011 14:06:42 +0000 (15:06 +0100)] 
Delegate processing of common Field attributes to the Variable base class

14 years agodova: Fix assignment to variables of generic type
Jürg Billeter [Thu, 7 Apr 2011 20:25:49 +0000 (22:25 +0200)] 
dova: Fix assignment to variables of generic type

14 years agox11: Use XCloseDisplay free function for Display
Luca Bruno [Thu, 7 Apr 2011 20:00:43 +0000 (22:00 +0200)] 
x11: Use XCloseDisplay free function for Display

Fixes bug 625662.

14 years agox11: Add missing XMapRaised function, ErrorCode and WindowClass enums
Joshua Simmons [Thu, 7 Apr 2011 19:57:23 +0000 (21:57 +0200)] 
x11: Add missing XMapRaised function, ErrorCode and WindowClass enums

Partially fixes bug 625662.

14 years agolibgda-4.0, gedit-2.20: Fix gedit typo and GdaXaTransactionId.data
Luca Bruno [Wed, 6 Apr 2011 20:34:32 +0000 (22:34 +0200)] 
libgda-4.0, gedit-2.20: Fix gedit typo and GdaXaTransactionId.data

Fixes bug 627035.

14 years agocodegen: Drop MemberAccess creation in struct destroy function
Luca Bruno [Wed, 16 Mar 2011 10:35:16 +0000 (11:35 +0100)] 
codegen: Drop MemberAccess creation in struct destroy function

14 years agogtksourceview-2.0: Fix cheader filename for SourceCompletionWords
Luca Bruno [Wed, 6 Apr 2011 12:13:46 +0000 (14:13 +0200)] 
gtksourceview-2.0: Fix cheader filename for SourceCompletionWords

Fixes bug 617321.

14 years agocodegen: Drop MemberAccess creation for disposing of 'this' in block data
Luca Bruno [Wed, 16 Mar 2011 12:02:05 +0000 (13:02 +0100)] 
codegen: Drop MemberAccess creation for disposing of 'this' in block data

14 years agogidlparser: Support error types for delegates 1df2c050ba29c84026a14e7ee23fa6bcd00b1044
Michal Hruby [Tue, 5 Apr 2011 20:38:56 +0000 (22:38 +0200)] 
gidlparser: Support error types for delegates

Fixes bug 644420.

14 years agocodegen: Copy the delegate target when copying structs
Joakim Sindholt [Thu, 3 Mar 2011 01:27:32 +0000 (02:27 +0100)] 
codegen: Copy the delegate target when copying structs

Fixes bug 639751.

14 years agocairo: Fix cairo_read_func_t and cairo_write_func_t bindings
Marin Moulinier [Tue, 5 Apr 2011 19:37:48 +0000 (21:37 +0200)] 
cairo: Fix cairo_read_func_t and cairo_write_func_t bindings

Fixes bug 645766.

14 years agox11: Fix Display.display_string bindings
Alexander Kurtz [Tue, 5 Apr 2011 19:10:04 +0000 (21:10 +0200)] 
x11: Fix Display.display_string bindings

14 years agoAllow access to length of constant array in constant initializer lists
Jürg Billeter [Tue, 5 Apr 2011 17:28:31 +0000 (19:28 +0200)] 
Allow access to length of constant array in constant initializer lists

Fixes bug 643010.

14 years agocodegen: Fix initializer lists for structs with array fields
Jürg Billeter [Tue, 5 Apr 2011 17:23:00 +0000 (19:23 +0200)] 
codegen: Fix initializer lists for structs with array fields

14 years agovapi: Update clutter-gtk-1.0 bindings
Emmanuele Bassi [Tue, 5 Apr 2011 12:47:09 +0000 (13:47 +0100)] 
vapi: Update clutter-gtk-1.0 bindings

The metadata and files of clutter-gtk-1.0 were still referencing
clutter-gtk-0.10 includes and shared object.

The clutter-gtk-1.0 metadata has been regenerated against the
current 1.0.0 tarball.

14 years agox11: Add function bindings to deal with KeySym and KeyCode
Alexander Kurtz [Mon, 4 Apr 2011 20:30:46 +0000 (22:30 +0200)] 
x11: Add function bindings to deal with KeySym and KeyCode

14 years agocodewriter: Write enum cname when it differs from the default cname
Luca Bruno [Mon, 4 Apr 2011 19:53:45 +0000 (21:53 +0200)] 
codewriter: Write enum cname when it differs from the default cname

Based on patch by Evan Nemerson.

Fixes bug 615493.

14 years agocodegen: Drop MemberAccess creation for static field initialization
Luca Bruno [Fri, 11 Mar 2011 11:40:36 +0000 (12:40 +0100)] 
codegen: Drop MemberAccess creation for static field initialization

14 years agox11: Fix get_keyboard_mapping and keysym_to_keycode bindings
Alexander Kurtz [Mon, 4 Apr 2011 18:22:20 +0000 (20:22 +0200)] 
x11: Fix get_keyboard_mapping and keysym_to_keycode bindings

14 years agogidlparser: Add support for array return values in delegates
Michal Hruby [Wed, 9 Mar 2011 19:16:04 +0000 (20:16 +0100)] 
gidlparser: Add support for array return values in delegates

Partially fixes bug 644420.

14 years agoSupport array_length_type for delegate return values
Michal Hruby [Wed, 9 Mar 2011 19:13:27 +0000 (20:13 +0100)] 
Support array_length_type for delegate return values

Partially fixes bug 644420.

14 years agoFix InterfaceType cname to refer to Interface type_cname
Luca Bruno [Fri, 11 Mar 2011 10:30:30 +0000 (11:30 +0100)] 
Fix InterfaceType cname to refer to Interface type_cname

14 years agogirparser: Always set the type_id for classes and interfaces
Luca Bruno [Thu, 10 Mar 2011 21:36:14 +0000 (22:36 +0100)] 
girparser: Always set the type_id for classes and interfaces

14 years agoSupport setting type_id to Vala.Interface
Luca Bruno [Thu, 10 Mar 2011 21:35:59 +0000 (22:35 +0100)] 
Support setting type_id to Vala.Interface

14 years agogirparser: Fix processing deprecation.
Luca Bruno [Thu, 6 Jan 2011 11:22:04 +0000 (12:22 +0100)] 
girparser: Fix processing deprecation.

14 years agogirparser: Store all attributes in girdata for all symbols.
Luca Bruno [Thu, 6 Jan 2011 11:21:34 +0000 (12:21 +0100)] 
girparser: Store all attributes in girdata for all symbols.

14 years agomarkupreader: Add get_attributes() method returning a copy of attributes.
Luca Bruno [Thu, 6 Jan 2011 11:20:38 +0000 (12:20 +0100)] 
markupreader: Add get_attributes() method returning a copy of attributes.

14 years agogirparser: Set cheader_filename for all symbols.
Luca Bruno [Thu, 6 Jan 2011 10:51:56 +0000 (11:51 +0100)] 
girparser: Set cheader_filename for all symbols.

14 years agogirparser: Fix setting ownership for parameters.
Luca Bruno [Thu, 6 Jan 2011 10:47:27 +0000 (11:47 +0100)] 
girparser: Fix setting ownership for parameters.

14 years agogirparser: Parse signals in parse_function.
Luca Bruno [Tue, 4 Jan 2011 12:03:56 +0000 (13:03 +0100)] 
girparser: Parse signals in parse_function.

14 years agogirparser: Add constructor to boxed types.
Luca Bruno [Mon, 3 Jan 2011 19:27:46 +0000 (20:27 +0100)] 
girparser: Add constructor to boxed types.

14 years agogirparser: Provide default constructor for classes.
Luca Bruno [Mon, 3 Jan 2011 19:10:16 +0000 (20:10 +0100)] 
girparser: Provide default constructor for classes.

14 years agogirparser: Merge virtual method specified in metadata.
Luca Bruno [Thu, 30 Dec 2010 18:44:18 +0000 (19:44 +0100)] 
girparser: Merge virtual method specified in metadata.

14 years agogirparser: Support ByteArray arrays.
Luca Bruno [Thu, 30 Dec 2010 18:07:15 +0000 (19:07 +0100)] 
girparser: Support ByteArray arrays.

14 years agoAllow setting cname of ErrorCode.
Luca Bruno [Thu, 30 Dec 2010 12:20:25 +0000 (13:20 +0100)] 
Allow setting cname of ErrorCode.

14 years agogirparser: Use the same function for enumeration, bitfield and error domain.
Luca Bruno [Tue, 28 Dec 2010 19:20:02 +0000 (20:20 +0100)] 
girparser: Use the same function for enumeration, bitfield and error domain.

14 years agogirparser: Mark bitfield to be Flags
Luca Bruno [Tue, 28 Dec 2010 18:19:23 +0000 (19:19 +0100)] 
girparser: Mark bitfield to be Flags

14 years agogirparser: Remove redundant code for checking out parameters.
Luca Bruno [Sun, 26 Dec 2010 10:36:46 +0000 (11:36 +0100)] 
girparser: Remove redundant code for checking out parameters.

14 years agogirparser: Move parse_constructor inside common parse_function.
Luca Bruno [Sun, 26 Dec 2010 10:32:35 +0000 (11:32 +0100)] 
girparser: Move parse_constructor inside common parse_function.

14 years agogirparser: Add metadata argument to override scope attribute.
Luca Bruno [Sun, 26 Dec 2010 10:30:05 +0000 (11:30 +0100)] 
girparser: Add metadata argument to override scope attribute.

14 years agogirparser: Use ArrayList for symbols info because field ordering matters.
Luca Bruno [Sat, 25 Dec 2010 13:23:56 +0000 (14:23 +0100)] 
girparser: Use ArrayList for symbols info because field ordering matters.

14 years agogirparser: Fix assuming parameter names of signal from virtual method.
Luca Bruno [Sat, 25 Dec 2010 12:05:30 +0000 (13:05 +0100)] 
girparser: Fix assuming parameter names of signal from virtual method.

14 years agogirparser: Support async constructors.
Luca Bruno [Fri, 24 Dec 2010 18:36:49 +0000 (19:36 +0100)] 
girparser: Support async constructors.

14 years agogirparser: Use an HashSet for merged symbols.
Luca Bruno [Fri, 24 Dec 2010 18:36:05 +0000 (19:36 +0100)] 
girparser: Use an HashSet for merged symbols.

14 years agogirparser: Move handle_async_methods into the merge_add_process.
Luca Bruno [Fri, 24 Dec 2010 13:37:35 +0000 (14:37 +0100)] 
girparser: Move handle_async_methods into the merge_add_process.

14 years agogirparser: Support negative integer literals in metadata.
Luca Bruno [Fri, 24 Dec 2010 13:03:39 +0000 (14:03 +0100)] 
girparser: Support negative integer literals in metadata.

14 years agovapigen: Fix marking gir metadata as source.
Luca Bruno [Thu, 23 Dec 2010 13:31:19 +0000 (14:31 +0100)] 
vapigen: Fix marking gir metadata as source.

14 years agogirparser: Support aliases whose base type is a SimpleType.
Luca Bruno [Thu, 23 Dec 2010 11:35:20 +0000 (12:35 +0100)] 
girparser: Support aliases whose base type is a SimpleType.

14 years agogirparser: Never skip symbol if skip=false is explicited in metadata.
Luca Bruno [Tue, 23 Nov 2010 20:57:30 +0000 (21:57 +0100)] 
girparser: Never skip symbol if skip=false is explicited in metadata.