]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
14 years agocodegen: Add push_line and pop_line for writing line directives
Luca Bruno [Mon, 18 Jul 2011 22:13:13 +0000 (00:13 +0200)] 
codegen: Add push_line and pop_line for writing line directives

Fixes bug 635095.

14 years agoccode: Add current_line in CCodeFunction to be set for added statements
Luca Bruno [Mon, 18 Jul 2011 21:34:56 +0000 (23:34 +0200)] 
ccode: Add current_line in CCodeFunction to be set for added statements

14 years agoD-Bus: Include gio.h when using the register_object function
Luca Bruno [Mon, 18 Jul 2011 08:01:25 +0000 (10:01 +0200)] 
D-Bus: Include gio.h when using the register_object function

Fixes bug 654782.

14 years agopango: Mark list_families.families parameter as out in Context and FontMap
Luca Bruno [Sun, 17 Jul 2011 20:32:28 +0000 (22:32 +0200)] 
pango: Mark list_families.families parameter as out in Context and FontMap

Fixes bug 654794.

14 years agogirparser: Handle the abstract attribute of the gir for classes
Luca Bruno [Sun, 17 Jul 2011 18:31:03 +0000 (20:31 +0200)] 
girparser: Handle the abstract attribute of the gir for classes

14 years agopango: Mark return value of Language.from_string to be unowned
Luca Bruno [Sun, 17 Jul 2011 17:20:46 +0000 (19:20 +0200)] 
pango: Mark return value of Language.from_string to be unowned

Fixes regression introduced by commit 5d6c21cebd3c5a.

Fixes bug 654785.

14 years agocodegen: Use temporary variables in array element access
Luca Bruno [Sat, 16 Jul 2011 20:09:39 +0000 (22:09 +0200)] 
codegen: Use temporary variables in array element access

Fixes bug 654753.

14 years agogirparser: Fix owned and unowned metadata arguments
Luca Bruno [Sat, 16 Jul 2011 16:42:52 +0000 (18:42 +0200)] 
girparser: Fix owned and unowned metadata arguments

14 years agogirparser: Allow specifying default value to Metadata.get_bool
Luca Bruno [Sat, 16 Jul 2011 16:39:58 +0000 (18:39 +0200)] 
girparser: Allow specifying default value to Metadata.get_bool

14 years agogirparser: Fix typo when calling element_get_type in parse_parameter
Luca Bruno [Sat, 16 Jul 2011 17:02:53 +0000 (19:02 +0200)] 
girparser: Fix typo when calling element_get_type in parse_parameter

14 years agobuild: Add make rules to generate libsoup-2.4 and libpeas-1.0 bindings
Luca Bruno [Sat, 16 Jul 2011 17:03:21 +0000 (19:03 +0200)] 
build: Add make rules to generate libsoup-2.4 and libpeas-1.0 bindings

14 years agobuild: Add make rules to generate clutter-1.0 and json-glib-1.0 bindings
Luca Bruno [Sat, 16 Jul 2011 11:11:08 +0000 (13:11 +0200)] 
build: Add make rules to generate clutter-1.0 and json-glib-1.0 bindings

14 years agocodegen: Support gobject-style chainup to base class that has generics
Luca Bruno [Sat, 16 Jul 2011 07:02:38 +0000 (09:02 +0200)] 
codegen: Support gobject-style chainup to base class that has generics

Fixes bug 654702.

14 years agolibsoup-2.4: Don't use properties for accessing Message headers and body
Luca Bruno [Fri, 15 Jul 2011 17:16:07 +0000 (19:16 +0200)] 
libsoup-2.4: Don't use properties for accessing Message headers and body

14 years agoEnable flow analysis for out parameters
Luca Bruno [Wed, 1 Jun 2011 08:18:44 +0000 (10:18 +0200)] 
Enable flow analysis for out parameters

Fixes bug 638363.

14 years agoFix usage of possibly unassigned out parameters
Luca Bruno [Wed, 13 Jul 2011 09:19:56 +0000 (11:19 +0200)] 
Fix usage of possibly unassigned out parameters

14 years agoglib-2.0: Set lvalue_access to false for va_list
Luca Bruno [Fri, 15 Jul 2011 16:24:15 +0000 (18:24 +0200)] 
glib-2.0: Set lvalue_access to false for va_list

Fixes bug 654646.

14 years agocodegen: Don't use temp vars when accessing types that forbid lvalue access
Luca Bruno [Fri, 15 Jul 2011 16:05:56 +0000 (18:05 +0200)] 
codegen: Don't use temp vars when accessing types that forbid lvalue access

Add support for specifying whether a type allows lvalue access or not by
using the lvalue_access argument of the CCode attribute.

14 years agodova: Ensure DovaArray is declared before use
Jürg Billeter [Fri, 15 Jul 2011 15:56:09 +0000 (17:56 +0200)] 
dova: Ensure DovaArray is declared before use

14 years agoposix: Add bindings for constants SIG_BLOCK, UNBLOCK and SETMASK
Todd Fischer [Fri, 15 Jul 2011 12:30:45 +0000 (14:30 +0200)] 
posix: Add bindings for constants SIG_BLOCK, UNBLOCK and SETMASK

Fixes bug 654624.

14 years agogstreamer-0.10: Fix ownership of get accessor of Object.name property
Marcin Lewandowski [Fri, 15 Jul 2011 12:27:19 +0000 (14:27 +0200)] 
gstreamer-0.10: Fix ownership of get accessor of Object.name property

Fixes bug 654631.

14 years agocodegen: Fix handling of leaked values in transform_value
Luca Bruno [Fri, 15 Jul 2011 11:45:56 +0000 (13:45 +0200)] 
codegen: Fix handling of leaked values in transform_value

Fixes bug 654619.

14 years agogirparser: Fix wrong usage of nullable structs as parameters
Luca Bruno [Wed, 13 Jul 2011 18:17:56 +0000 (20:17 +0200)] 
girparser: Fix wrong usage of nullable structs as parameters

14 years agogtk+-2.0, gtk+-3.0: Add PrintfFormat to methods of GtkMessageDialog
Luca Bruno [Tue, 12 Jul 2011 06:34:30 +0000 (08:34 +0200)] 
gtk+-2.0, gtk+-3.0: Add PrintfFormat to methods of GtkMessageDialog

Based on patch by Robert Ancell.

Fixes bug 654439.

14 years agoFix explicit cast of instance method access to a delegate type
Luca Bruno [Mon, 11 Jul 2011 20:37:51 +0000 (22:37 +0200)] 
Fix explicit cast of instance method access to a delegate type

Fixes bug 539166.

14 years agocodegen: Fix vararg-parameters in interfaces
Florian Brosch [Mon, 11 Jul 2011 16:53:29 +0000 (18:53 +0200)] 
codegen: Fix vararg-parameters in interfaces

14 years agoGAsync: Fix capturing type parameters in async methods
Luca Bruno [Sun, 10 Jul 2011 12:02:36 +0000 (14:02 +0200)] 
GAsync: Fix capturing type parameters in async methods

Fixes bug 654337.

14 years agoGAsync: Fix generating finish method for generic async methods
Luca Bruno [Sun, 10 Jul 2011 11:22:44 +0000 (13:22 +0200)] 
GAsync: Fix generating finish method for generic async methods

Fixes bug 654336.

14 years agoclutter-1.0: Switch to GIR
Luca Bruno [Thu, 9 Jun 2011 19:11:36 +0000 (21:11 +0200)] 
clutter-1.0: Switch to GIR

Fixes bugs 643773 and 630679.

14 years agocodegen: Fix returning local variables
Luca Bruno [Sun, 10 Jul 2011 07:26:59 +0000 (09:26 +0200)] 
codegen: Fix returning local variables

14 years agocodegen: Support ownership transfer of non-null struct types
Luca Bruno [Sat, 9 Jul 2011 08:48:44 +0000 (10:48 +0200)] 
codegen: Support ownership transfer of non-null struct types

Fixes bug 596144.

14 years agocodegen: Use create_temp_value and load_temp_value on property access
Luca Bruno [Fri, 8 Jul 2011 21:01:25 +0000 (23:01 +0200)] 
codegen: Use create_temp_value and load_temp_value on property access

14 years agoGAsync: Support generic types in async methods
Luca Bruno [Fri, 8 Jul 2011 16:56:18 +0000 (18:56 +0200)] 
GAsync: Support generic types in async methods

Fixes bug 653861.

14 years agogirparser: Add errordomain metadata
Luca Bruno [Thu, 7 Jul 2011 20:52:39 +0000 (22:52 +0200)] 
girparser: Add errordomain metadata

14 years agolibsoup-2.4: Switch to GIR
Luca Bruno [Fri, 6 May 2011 21:29:12 +0000 (23:29 +0200)] 
libsoup-2.4: Switch to GIR

14 years agolibpeas-1.0: Add missing libpeas-1.0.vapi to Makefile.am
Luca Bruno [Thu, 7 Jul 2011 14:24:33 +0000 (16:24 +0200)] 
libpeas-1.0: Add missing libpeas-1.0.vapi to Makefile.am

14 years agovte-2.90: Add new bindings
Luca Bruno [Fri, 27 May 2011 17:32:33 +0000 (19:32 +0200)] 
vte-2.90: Add new bindings

Fixes bug 627410.

14 years agocodegen: Use GLibValue.lvalue when taking the address of an expression
Luca Bruno [Sun, 19 Jun 2011 07:11:59 +0000 (09:11 +0200)] 
codegen: Use GLibValue.lvalue when taking the address of an expression

Fixes bug 648364.

14 years agocodegen: Copy the result.value_type in transform_value
Luca Bruno [Wed, 6 Jul 2011 21:07:59 +0000 (23:07 +0200)] 
codegen: Copy the result.value_type in transform_value

14 years agocodegen: Add lvalue field to GLibValue
Luca Bruno [Sun, 19 Jun 2011 06:55:10 +0000 (08:55 +0200)] 
codegen: Add lvalue field to GLibValue

14 years agocodegen: Use store_temp_value in visit_end_full_expression
Luca Bruno [Fri, 1 Jul 2011 07:45:55 +0000 (09:45 +0200)] 
codegen: Use store_temp_value in visit_end_full_expression

14 years agocodegen: Use create_temp_value in try_cast_variant_to_type
Luca Bruno [Sun, 19 Jun 2011 06:36:42 +0000 (08:36 +0200)] 
codegen: Use create_temp_value in try_cast_variant_to_type

14 years agocodegen: Use create_temp_value in copy_value
Luca Bruno [Sun, 19 Jun 2011 06:34:14 +0000 (08:34 +0200)] 
codegen: Use create_temp_value in copy_value

14 years agocodegen: Use create_temp_value in copy_value of array module
Luca Bruno [Sun, 19 Jun 2011 06:31:03 +0000 (08:31 +0200)] 
codegen: Use create_temp_value in copy_value of array module

14 years agocodegen: Replace temp_ref_vars with temp_ref_values using TargetValue
Luca Bruno [Tue, 14 Jun 2011 08:58:58 +0000 (10:58 +0200)] 
codegen: Replace temp_ref_vars with temp_ref_values using TargetValue

14 years agocodegen: Use store_temp_value in visit_return_statement
Luca Bruno [Tue, 14 Jun 2011 09:20:44 +0000 (11:20 +0200)] 
codegen: Use store_temp_value in visit_return_statement

14 years agocodegen: Use create_temp_value in visit_string_switch_statement
Luca Bruno [Tue, 14 Jun 2011 14:25:07 +0000 (16:25 +0200)] 
codegen: Use create_temp_value in visit_string_switch_statement

14 years agocodegen: Use create_temp_value in store_property
Luca Bruno [Tue, 14 Jun 2011 09:59:40 +0000 (11:59 +0200)] 
codegen: Use create_temp_value in store_property

14 years agocodegen: Use create_temp_value in try_cast_value_to_type
Luca Bruno [Tue, 14 Jun 2011 09:43:20 +0000 (11:43 +0200)] 
codegen: Use create_temp_value in try_cast_value_to_type

14 years agocodegen: Use create_temp_value in handle_struct_argument
Luca Bruno [Tue, 14 Jun 2011 09:35:58 +0000 (11:35 +0200)] 
codegen: Use create_temp_value in handle_struct_argument

14 years agocodegen: Use create_temp_value in visit_binary_expression
Luca Bruno [Sat, 11 Jun 2011 10:21:14 +0000 (12:21 +0200)] 
codegen: Use create_temp_value in visit_binary_expression

14 years agocodegen: Use store_temp_value in visit_reference_transfer_expression
Luca Bruno [Sat, 11 Jun 2011 10:16:36 +0000 (12:16 +0200)] 
codegen: Use store_temp_value in visit_reference_transfer_expression

14 years agocodegen: Use create_temp_value in visit_object_creation_expression
Luca Bruno [Sat, 11 Jun 2011 09:59:43 +0000 (11:59 +0200)] 
codegen: Use create_temp_value in visit_object_creation_expression

14 years agocodegen: Use create_temp_value in struct initializer
Luca Bruno [Sat, 11 Jun 2011 09:01:09 +0000 (11:01 +0200)] 
codegen: Use create_temp_value in struct initializer

14 years agocodegen: Simplify emit of postfix expression
Luca Bruno [Sat, 11 Jun 2011 09:10:25 +0000 (11:10 +0200)] 
codegen: Simplify emit of postfix expression

14 years agocodegen: Drop useless temporary variable in visit_cast_expression
Luca Bruno [Sat, 11 Jun 2011 10:09:11 +0000 (12:09 +0200)] 
codegen: Drop useless temporary variable in visit_cast_expression

14 years agocodegen: Drop useless temp variable when accessing base methods
Luca Bruno [Sat, 18 Jun 2011 12:50:45 +0000 (14:50 +0200)] 
codegen: Drop useless temp variable when accessing base methods

14 years agocodegen: Drop useless temporary variables when storing a property
Luca Bruno [Sat, 18 Jun 2011 07:53:15 +0000 (09:53 +0200)] 
codegen: Drop useless temporary variables when storing a property

14 years agocodegen: Cleanup simple assignment 2bcda488725cf28b3c3c358f2c348632bb7ba232
Luca Bruno [Sat, 18 Jun 2011 07:35:39 +0000 (09:35 +0200)] 
codegen: Cleanup simple assignment

14 years agocodegen: Drop useless temporary variable in simple assignment
Luca Bruno [Sat, 18 Jun 2011 06:56:20 +0000 (08:56 +0200)] 
codegen: Drop useless temporary variable in simple assignment

14 years agocodegen: Drop useless temporary variable in array creation
Luca Bruno [Sat, 18 Jun 2011 06:41:41 +0000 (08:41 +0200)] 
codegen: Drop useless temporary variable in array creation

14 years agocodegen: Make copy_value be effect-free
Luca Bruno [Fri, 17 Jun 2011 13:07:55 +0000 (15:07 +0200)] 
codegen: Make copy_value be effect-free

Fixes bug 634782.

14 years agocodegen: Make transform_value be effect-free
Luca Bruno [Fri, 17 Jun 2011 12:51:01 +0000 (14:51 +0200)] 
codegen: Make transform_value be effect-free

14 years agocodegen: Use temporary variables when accessing a property
Luca Bruno [Fri, 17 Jun 2011 11:50:14 +0000 (13:50 +0200)] 
codegen: Use temporary variables when accessing a property

14 years agocodegen: Use temporary variables when accessing a variable fa176ad5db5fc13291f4ba4c8418170a9593dd69
Luca Bruno [Wed, 15 Jun 2011 11:27:21 +0000 (13:27 +0200)] 
codegen: Use temporary variables when accessing a variable

Fixes bugs 626038 and 572091.

14 years agoAdd actual_value_type to TargetValue
Luca Bruno [Fri, 1 Jul 2011 18:19:50 +0000 (20:19 +0200)] 
Add actual_value_type to TargetValue

14 years agoDon't set target_value of assignment if parent is an expression statement
Luca Bruno [Fri, 1 Jul 2011 16:49:59 +0000 (18:49 +0200)] 
Don't set target_value of assignment if parent is an expression statement

14 years agocodegen: Add create_temp_value, load_temp_value and store_temp_value
Luca Bruno [Sat, 11 Jun 2011 08:16:32 +0000 (10:16 +0200)] 
codegen: Add create_temp_value, load_temp_value and store_temp_value

14 years agocodegen: Cleanup emit_temp_var
Luca Bruno [Thu, 16 Jun 2011 21:05:02 +0000 (23:05 +0200)] 
codegen: Cleanup emit_temp_var

14 years agoSet lvalue to inner expression when accessing array length field
Luca Bruno [Fri, 1 Jul 2011 11:13:56 +0000 (13:13 +0200)] 
Set lvalue to inner expression when accessing array length field

14 years agoSet lvalue to inner member access having type non-nullable struct
Luca Bruno [Thu, 16 Jun 2011 18:22:48 +0000 (20:22 +0200)] 
Set lvalue to inner member access having type non-nullable struct

14 years agoSet lvalue to inner expression of method call that returns modified pointer
Luca Bruno [Thu, 16 Jun 2011 10:59:13 +0000 (12:59 +0200)] 
Set lvalue to inner expression of method call that returns modified pointer

14 years agoSet lvalue to the inner expression of address-of expression
Luca Bruno [Thu, 16 Jun 2011 08:05:25 +0000 (10:05 +0200)] 
Set lvalue to the inner expression of address-of expression

14 years agoSet parent_node of the postfix inner expression
Luca Bruno [Wed, 15 Jun 2011 13:07:15 +0000 (15:07 +0200)] 
Set parent_node of the postfix inner expression

14 years agoSet parent_node of the expression of delete statements
Luca Bruno [Wed, 15 Jun 2011 13:05:20 +0000 (15:05 +0200)] 
Set parent_node of the expression of delete statements

14 years agoAdd get_defined_variables in PostfixExpression
Luca Bruno [Wed, 15 Jun 2011 11:30:49 +0000 (13:30 +0200)] 
Add get_defined_variables in PostfixExpression

14 years agocodegen: Unset array_size_cvalue in load_variable
Luca Bruno [Wed, 15 Jun 2011 10:29:19 +0000 (12:29 +0200)] 
codegen: Unset array_size_cvalue in load_variable

14 years agocodegen: Use lvalue of the assignment when emitting array add
Luca Bruno [Wed, 15 Jun 2011 10:28:29 +0000 (12:28 +0200)] 
codegen: Use lvalue of the assignment when emitting array add

14 years agoEmit left-handed side of assignment when it's a field or parameter access
Luca Bruno [Wed, 15 Jun 2011 10:27:23 +0000 (12:27 +0200)] 
Emit left-handed side of assignment when it's a field or parameter access

14 years agoGAsync: Push method symbol only when needed when generating async functions
Luca Bruno [Fri, 1 Jul 2011 14:00:45 +0000 (16:00 +0200)] 
GAsync: Push method symbol only when needed when generating async functions

Fixes possible regressions of commit 9b22a27ed5ca78b74f56df7 and
commit ab011012db8f5087939514c.

14 years agocodegen: Use get_parameter_cvalue in return_out_parameter
Luca Bruno [Fri, 1 Jul 2011 13:27:20 +0000 (15:27 +0200)] 
codegen: Use get_parameter_cvalue in return_out_parameter

Using load_parameter is not needed when assigning to the same parameter.

14 years agoRelease 0.13.1 0.13.1
Jürg Billeter [Wed, 6 Jul 2011 14:35:50 +0000 (16:35 +0200)] 
Release 0.13.1

14 years agobuild: Require automake 1.11 for silent rules
Jürg Billeter [Wed, 6 Jul 2011 08:52:18 +0000 (10:52 +0200)] 
build: Require automake 1.11 for silent rules

14 years agogirwriter: Do not write constructors of abstract classes
Luca Bruno [Tue, 5 Jul 2011 20:02:21 +0000 (22:02 +0200)] 
girwriter: Do not write constructors of abstract classes

14 years agoFix arithmetic expressions whose operands have different types
Luca Bruno [Tue, 5 Jul 2011 18:24:51 +0000 (20:24 +0200)] 
Fix arithmetic expressions whose operands have different types

14 years agocodegen: Fix boxing of value type different than the target type
Luca Bruno [Tue, 5 Jul 2011 18:22:19 +0000 (20:22 +0200)] 
codegen: Fix boxing of value type different than the target type

14 years agoUpdate gio-2.0 vapi to GLib git master
Ryan Lortie [Tue, 5 Jul 2011 10:19:13 +0000 (12:19 +0200)] 
Update gio-2.0 vapi to GLib git master

14 years agoRegenerate gtk+-3.0 vapi
Ryan Lortie [Tue, 5 Jul 2011 10:04:18 +0000 (12:04 +0200)] 
Regenerate gtk+-3.0 vapi

Drop -DGTK_DISABLE_DEPRECATED to avoid losing a bunch of old symbols
(mostly the H/V variants of boxes, scrollbars and so on).

14 years agocodegen: Fix returning inline allocated arrays
Luca Bruno [Tue, 5 Jul 2011 08:09:12 +0000 (10:09 +0200)] 
codegen: Fix returning inline allocated arrays

Fixes bug 653908.

14 years agogstreamer-0.10: Fix Pad.get_fixed_caps_func and get_proxy_(get/set)caps
Luca Bruno [Tue, 5 Jul 2011 07:19:47 +0000 (09:19 +0200)] 
gstreamer-0.10: Fix Pad.get_fixed_caps_func and get_proxy_(get/set)caps

Fixes bug 639883.

14 years agolibpeas-1.0: Added vapi based on Peas-1.0
Michal Hruby [Sat, 2 Jul 2011 08:17:58 +0000 (10:17 +0200)] 
libpeas-1.0: Added vapi based on Peas-1.0

14 years agosqlite3: Rename sqlite3_callback parameter to callback
Luca Bruno [Fri, 1 Jul 2011 18:20:57 +0000 (20:20 +0200)] 
sqlite3: Rename sqlite3_callback parameter to callback

Avoid possible conflicts with the C type sqlite3_callback.

14 years agogtk+-3.0: Mark ThemingEngine.state_is_running progress to be out 69be997725ce6d9f3bed80bd0aae3532a4023ee2
Luca Bruno [Wed, 29 Jun 2011 21:32:44 +0000 (23:32 +0200)] 
gtk+-3.0: Mark ThemingEngine.state_is_running progress to be out

Fixes bug 653669.

14 years agogtk+-3.0: Mark StyleProperties.register_property parse_func as nullable
Luca Bruno [Wed, 29 Jun 2011 21:28:37 +0000 (23:28 +0200)] 
gtk+-3.0: Mark StyleProperties.register_property parse_func as nullable

Fixes bug 653671.

14 years agogtk+-3.0: Fix Gtk.ThemingEngine.get_background_color bindings
Luca Bruno [Wed, 29 Jun 2011 16:55:19 +0000 (18:55 +0200)] 
gtk+-3.0: Fix Gtk.ThemingEngine.get_background_color bindings

14 years agogtk+-2.0, gtk+-3.0: Mark TreeModel.rows_reordered.iter to be nullable
Luca Bruno [Wed, 29 Jun 2011 08:41:48 +0000 (10:41 +0200)] 
gtk+-2.0, gtk+-3.0: Mark TreeModel.rows_reordered.iter to be nullable

Fixes bug 653577.

14 years agopango: Fix PangoAttrShape and PangoAttrDataCopyFunc bindings
Alexander Larsson [Tue, 28 Jun 2011 12:14:21 +0000 (14:14 +0200)] 
pango: Fix PangoAttrShape and PangoAttrDataCopyFunc bindings

Fixes bug 653528.

14 years agocodewriter: Write simple_generics argument for methods
Luca Bruno [Tue, 28 Jun 2011 11:32:37 +0000 (13:32 +0200)] 
codewriter: Write simple_generics argument for methods

14 years agogidlparser: Support setting simple_generics to methods
Luca Bruno [Tue, 28 Jun 2011 11:32:23 +0000 (13:32 +0200)] 
gidlparser: Support setting simple_generics to methods

14 years agoGAsync: Fix returning out parameters from async methods
Luca Bruno [Tue, 28 Jun 2011 10:09:04 +0000 (12:09 +0200)] 
GAsync: Fix returning out parameters from async methods

Fixes bug 640721.