]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
13 years agoSet lvalue access for struct properties f9186d12f28911d98e6f41d58f595fa81de602cb
Luca Bruno [Fri, 2 Sep 2011 10:57:30 +0000 (12:57 +0200)] 
Set lvalue access for struct properties

Fixes bug 658046.

13 years agoUse '/' as directory separator instead of using build_filename
Luca Bruno [Sat, 27 Aug 2011 14:56:36 +0000 (16:56 +0200)] 
Use '/' as directory separator instead of using build_filename

Fixes bug 657501.

13 years agoposix: Make termios.c_cc field be an inline array
Luca Bruno [Tue, 30 Aug 2011 14:23:09 +0000 (16:23 +0200)] 
posix: Make termios.c_cc field be an inline array

Fixes bug 657644.

13 years agocodegen: Do not hardcode the cname for abstract/virtual property accessor
Luca Bruno [Thu, 1 Sep 2011 11:44:55 +0000 (13:44 +0200)] 
codegen: Do not hardcode the cname for abstract/virtual property accessor

13 years agocodegen: Enable real_cname CCode for property accessors
Luca Bruno [Thu, 1 Sep 2011 11:32:54 +0000 (13:32 +0200)] 
codegen: Enable real_cname CCode for property accessors

13 years agogirparser: Set NoAccessorMethod properly for abstract properties
Luca Bruno [Thu, 1 Sep 2011 08:36:55 +0000 (10:36 +0200)] 
girparser: Set NoAccessorMethod properly for abstract properties

13 years agogirparser: Make interface properties be abstract by default
Luca Bruno [Thu, 1 Sep 2011 08:36:42 +0000 (10:36 +0200)] 
girparser: Make interface properties be abstract by default

13 years agojson-glib-1.0: Update to version 0.13.4
Luca Bruno [Thu, 1 Sep 2011 08:33:52 +0000 (10:33 +0200)] 
json-glib-1.0: Update to version 0.13.4

13 years agomx-1.0: Update to version 1.3.1
Luca Bruno [Thu, 1 Sep 2011 08:30:44 +0000 (10:30 +0200)] 
mx-1.0: Update to version 1.3.1

13 years agoclutter-1.0: Update to version 1.7.10
Luca Bruno [Thu, 1 Sep 2011 08:28:30 +0000 (10:28 +0200)] 
clutter-1.0: Update to version 1.7.10

13 years agogirwriter: Drop unwanted call when writing abstract methods
Luca Bruno [Wed, 31 Aug 2011 21:14:13 +0000 (23:14 +0200)] 
girwriter: Drop unwanted call when writing abstract methods

Fixes bug 657860.

13 years agopango: Fix LayoutLine.index_to_x and x_to_index bindings
Luca Bruno [Wed, 31 Aug 2011 18:43:20 +0000 (20:43 +0200)] 
pango: Fix LayoutLine.index_to_x and x_to_index bindings

13 years agoglib-2.0: Add StringBuilder.insert_unichar
Luca Bruno [Wed, 31 Aug 2011 16:20:29 +0000 (18:20 +0200)] 
glib-2.0: Add StringBuilder.insert_unichar

13 years agocodegen: Fix equal function for SimpleType structs with only static fields
Luca Bruno [Wed, 31 Aug 2011 13:37:04 +0000 (15:37 +0200)] 
codegen: Fix equal function for SimpleType structs with only static fields

The function produced wrong results if the struct had static fields but
no instance fields.

Fixes bug 657813.

13 years agogio-2.0: Fix g_application_command_line_print* bindings
Jürg Billeter [Tue, 30 Aug 2011 12:27:49 +0000 (14:27 +0200)] 
gio-2.0: Fix g_application_command_line_print* bindings

13 years agocodegen: Fix definition of property getter for SimpleType structs
Luca Bruno [Fri, 24 Jun 2011 05:11:51 +0000 (01:11 -0400)] 
codegen: Fix definition of property getter for SimpleType structs

Based on patch by Nathan Summers.

Partially fixes bug 657346.

13 years agocodegen: Do not add null-check for SimpleType structs
Luca Bruno [Tue, 30 Aug 2011 07:51:02 +0000 (09:51 +0200)] 
codegen: Do not add null-check for SimpleType structs

13 years agocodegen: Fix create_type_check_statement when result is a SimpleType struct
Luca Bruno [Tue, 30 Aug 2011 07:43:53 +0000 (09:43 +0200)] 
codegen: Fix create_type_check_statement when result is a SimpleType struct

13 years agogio-2.0: make File.parse_name return value transfer ownership
Evan Nemerson [Sun, 28 Aug 2011 20:19:06 +0000 (13:19 -0700)] 
gio-2.0: make File.parse_name return value transfer ownership

13 years agoShow loaded packages in verbose mode
Luca Bruno [Sun, 28 Aug 2011 16:37:56 +0000 (18:37 +0200)] 
Show loaded packages in verbose mode

Fixes bug 657523.

13 years agocodegen: Use a zero-initializer also for SimpleType structs
Luca Bruno [Sat, 27 Aug 2011 18:30:17 +0000 (20:30 +0200)] 
codegen: Use a zero-initializer also for SimpleType structs

13 years agocodegen: Guard target_value to be non-null in visit_expression
Luca Bruno [Sat, 27 Aug 2011 14:30:45 +0000 (16:30 +0200)] 
codegen: Guard target_value to be non-null in visit_expression

Fixes bug 657499.

13 years agocodegen: Move typecheck of self down to methods vfunc
Luca Bruno [Sat, 27 Aug 2011 09:30:35 +0000 (11:30 +0200)] 
codegen: Move typecheck of self down to methods vfunc

13 years agocodegen: Add type check in property vfunc
Luca Bruno [Sat, 27 Aug 2011 07:49:29 +0000 (09:49 +0200)] 
codegen: Add type check in property vfunc

Fixes bug 657481.

13 years agomx-1.0: add missing metadata
Evan Nemerson [Fri, 26 Aug 2011 23:27:45 +0000 (16:27 -0700)] 
mx-1.0: add missing metadata

13 years agomx-1.0: switch to GIR
Evan Nemerson [Fri, 26 Aug 2011 21:39:55 +0000 (14:39 -0700)] 
mx-1.0: switch to GIR

13 years agogio-2.0: fixes for pollable input and output streams
Evan Nemerson [Thu, 25 Aug 2011 20:35:08 +0000 (13:35 -0700)] 
gio-2.0: fixes for pollable input and output streams

13 years agocodegen: Drop unnecessary temp variable when methods return a struct
Luca Bruno [Fri, 26 Aug 2011 20:44:27 +0000 (22:44 +0200)] 
codegen: Drop unnecessary temp variable when methods return a struct

13 years agocodegen: Do not emit the temp variable when methods return a struct
Luca Bruno [Fri, 26 Aug 2011 20:30:12 +0000 (22:30 +0200)] 
codegen: Do not emit the temp variable when methods return a struct

The temporary variable holding the result was uselessly emitted in the
generated C code if the parent node was an expression statement.

13 years agocodegen: Set result of object creation to be an lvalue
Luca Bruno [Fri, 26 Aug 2011 07:37:15 +0000 (09:37 +0200)] 
codegen: Set result of object creation to be an lvalue

13 years agocodegen: Drop useless temp variable when creating structs
Luca Bruno [Fri, 26 Aug 2011 07:34:15 +0000 (09:34 +0200)] 
codegen: Drop useless temp variable when creating structs

Partially fixes 657378.

13 years agoWarn for deprecated and experimental only for symbols in external packages
Luca Bruno [Thu, 25 Aug 2011 21:13:29 +0000 (23:13 +0200)] 
Warn for deprecated and experimental only for symbols in external packages

Fixes bug 657283.

13 years agolinux: fix Linux.CLOCK_MONOTONIC_RAW binding
Evan Nemerson [Thu, 25 Aug 2011 18:23:52 +0000 (11:23 -0700)] 
linux: fix Linux.CLOCK_MONOTONIC_RAW binding

13 years agogio-2.0: fix DBusObject.get_interfaces return value
Evan Nemerson [Thu, 25 Aug 2011 05:16:19 +0000 (22:16 -0700)] 
gio-2.0: fix DBusObject.get_interfaces return value

13 years agogtk+-2.0: add type arguments to Table.children field
Evan Nemerson [Wed, 17 Aug 2011 03:36:42 +0000 (20:36 -0700)] 
gtk+-2.0: add type arguments to Table.children field

Fixes bug 655586.

13 years agoglib-2.0: Fix MarkupParser bindings
Luca Bruno [Wed, 24 Aug 2011 16:27:05 +0000 (18:27 +0200)] 
glib-2.0: Fix MarkupParser bindings

Fixes bug 657262.

13 years agogudev-1.0: Switch to GIR
Luca Bruno [Mon, 22 Aug 2011 15:01:37 +0000 (17:01 +0200)] 
gudev-1.0: Switch to GIR

13 years agogirparser: Fix reporting unused metadata
Luca Bruno [Mon, 22 Aug 2011 14:31:41 +0000 (16:31 +0200)] 
girparser: Fix reporting unused metadata

13 years agogirparser: Use c:symbol-prefixes as lower_case_cprefix when available
Luca Bruno [Mon, 22 Aug 2011 10:23:12 +0000 (12:23 +0200)] 
girparser: Use c:symbol-prefixes as lower_case_cprefix when available

13 years agoRelease 0.13.3 0.13.3
Jürg Billeter [Mon, 22 Aug 2011 11:30:00 +0000 (13:30 +0200)] 
Release 0.13.3

13 years agocodegen: Remove unused variable
Jürg Billeter [Mon, 22 Aug 2011 11:48:36 +0000 (13:48 +0200)] 
codegen: Remove unused variable

13 years agopangocairo: Switch to GIR
Luca Bruno [Sun, 21 Aug 2011 09:22:09 +0000 (11:22 +0200)] 
pangocairo: Switch to GIR

13 years agogdk-3.0 Make pixbuf_get_from_surface return an owned instance
Luca Bruno [Sun, 21 Aug 2011 08:04:54 +0000 (10:04 +0200)] 
gdk-3.0 Make pixbuf_get_from_surface return an owned instance

Fixes bug 656990.

14 years agoMake Vala.Report.{errors,warnings} fields protected
Abderrahim Kitouni [Fri, 19 Aug 2011 09:39:15 +0000 (10:39 +0100)] 
Make Vala.Report.{errors,warnings} fields protected

14 years agoposix: Set ioctl() cheader to be sys/ioctl.h
Luca Bruno [Wed, 17 Aug 2011 17:08:14 +0000 (19:08 +0200)] 
posix: Set ioctl() cheader to be sys/ioctl.h

Fixes bug 656690.

14 years agocodegen: Skip precondition check for parameters in the posix profile
Luca Bruno [Wed, 17 Aug 2011 15:39:30 +0000 (17:39 +0200)] 
codegen: Skip precondition check for parameters in the posix profile

Fixes bug 648204.

14 years agocodegen: Add null check for non-null struct parameters
Luca Bruno [Wed, 17 Aug 2011 15:13:57 +0000 (17:13 +0200)] 
codegen: Add null check for non-null struct parameters

Commit 94d4b1e91a437f739b42f fixes another relevant part of the bug.

Fixes bug 656693.

14 years agocodewriter: Write type parameters for struct declaration
Luca Bruno [Wed, 17 Aug 2011 07:15:21 +0000 (09:15 +0200)] 
codewriter: Write type parameters for struct declaration

Based on patch by Andre Masella.

Fixes bug 656708.

14 years agocodewriter: Factorize writing type parameters in write_type_parameters
Luca Bruno [Wed, 17 Aug 2011 07:12:13 +0000 (09:12 +0200)] 
codewriter: Factorize writing type parameters in write_type_parameters

14 years agocodegen: Assign to temp varable when passing a nullable struct argument
Luca Bruno [Tue, 16 Aug 2011 20:37:58 +0000 (22:37 +0200)] 
codegen: Assign to temp varable when passing a nullable struct argument

Assign possible (*expr) to a temp variable to ensure copying the struct.

Fixes bug 656693.

14 years agocodegen: Always copy struct on access only when it's non-nullable
Luca Bruno [Tue, 16 Aug 2011 20:36:05 +0000 (22:36 +0200)] 
codegen: Always copy struct on access only when it's non-nullable

We currently don't copy the nullable struct, only the reference,
therefore useless.

14 years agoRelease 0.13.2 0.13.2
Jürg Billeter [Tue, 16 Aug 2011 19:50:23 +0000 (21:50 +0200)] 
Release 0.13.2

14 years agoDo not lookup for .deps file when passing .vapi files to valac
Luca Bruno [Tue, 16 Aug 2011 07:54:24 +0000 (09:54 +0200)] 
Do not lookup for .deps file when passing .vapi files to valac

Fixes bug 648336.

14 years agoAdd syntax for creating array of pointers
Luca Bruno [Tue, 16 Aug 2011 08:39:16 +0000 (10:39 +0200)] 
Add syntax for creating array of pointers

Fixes bug 647222.

14 years agoAdd PointerType.get_actual_type
Luca Bruno [Tue, 16 Aug 2011 08:47:24 +0000 (10:47 +0200)] 
Add PointerType.get_actual_type

Fixes bug 646792.

14 years agoCheck if the constants used as switch labels are duplicated
Luca Bruno [Mon, 15 Aug 2011 19:03:12 +0000 (21:03 +0200)] 
Check if the constants used as switch labels are duplicated

Fixes bug 656481.

14 years agocodegen: Fix leak when casting from variant to another type
Luca Bruno [Mon, 15 Aug 2011 18:30:54 +0000 (20:30 +0200)] 
codegen: Fix leak when casting from variant to another type

Fixes bug 656398.

14 years agocodegen: Make try_cast_variant_to_type be effect-free
Luca Bruno [Mon, 15 Aug 2011 18:15:43 +0000 (20:15 +0200)] 
codegen: Make try_cast_variant_to_type be effect-free

14 years agogirparser: Accept function in record, boxed, union, enumeration
Jürg Billeter [Mon, 15 Aug 2011 14:12:31 +0000 (16:12 +0200)] 
girparser: Accept function in record, boxed, union, enumeration

Used by gobject-introspection 1.29.17+. This commit ignores the
function elements but they could replace our own static method
detection in the future.

14 years agocodegen: Do not warn when copying delegates with --enable-deprecated
Luca Bruno [Sun, 14 Aug 2011 19:37:51 +0000 (21:37 +0200)] 
codegen: Do not warn when copying delegates with --enable-deprecated

Fixes bug 656266.

14 years agodova: Do not require double in dova profile
Jürg Billeter [Sat, 13 Aug 2011 18:28:05 +0000 (20:28 +0200)] 
dova: Do not require double in dova profile

14 years agoglib-2.0: Ensure to use volatile modifier for atomic operations
Jürg Billeter [Fri, 12 Aug 2011 09:03:47 +0000 (11:03 +0200)] 
glib-2.0: Ensure to use volatile modifier for atomic operations

14 years agogirparser: Support specifying struct=false for records
Luca Bruno [Thu, 11 Aug 2011 20:18:27 +0000 (22:18 +0200)] 
girparser: Support specifying struct=false for records

14 years agoUse locale-independent formatting in CodeNode.set_attribute_double
Luca Bruno [Thu, 11 Aug 2011 19:47:15 +0000 (21:47 +0200)] 
Use locale-independent formatting in CodeNode.set_attribute_double

14 years agolibgdata: Switch to GIR
Luca Bruno [Sun, 24 Jul 2011 19:23:46 +0000 (21:23 +0200)] 
libgdata: Switch to GIR

Fixes bug 655192.

14 years agogirparser: Do not reorder the cancellable parameter in async methods
Luca Bruno [Thu, 11 Aug 2011 15:48:11 +0000 (17:48 +0200)] 
girparser: Do not reorder the cancellable parameter in async methods

The feature was incomplete and flawed.

14 years agoSet the type of initializer lists to be non-nullable
Luca Bruno [Sun, 7 Aug 2011 19:05:33 +0000 (21:05 +0200)] 
Set the type of initializer lists to be non-nullable

14 years agodova: Fix main method with args parameter
Jürg Billeter [Tue, 9 Aug 2011 12:10:42 +0000 (14:10 +0200)] 
dova: Fix main method with args parameter

14 years agosdl: Fix bindings for several methods, delegates and classes
Aaron Andersen [Wed, 10 Aug 2011 07:40:58 +0000 (09:40 +0200)] 
sdl: Fix bindings for several methods, delegates and classes

Let Thread and Timer classes be unmanaged by vala.

Fixes bug 655143.

14 years agoreadline: Fix cname of several delegates
Luca Bruno [Mon, 8 Aug 2011 10:59:48 +0000 (12:59 +0200)] 
readline: Fix cname of several delegates

Fixes bug 656146.

14 years agogstreamer-0.10: Set ref_sink_function_void for Gst.Object
Luca Bruno [Mon, 8 Aug 2011 10:19:58 +0000 (12:19 +0200)] 
gstreamer-0.10: Set ref_sink_function_void for Gst.Object

14 years agocodegen: Add ref_sink_function_void argument to CCode
Luca Bruno [Sun, 7 Aug 2011 19:25:46 +0000 (21:25 +0200)] 
codegen: Add ref_sink_function_void argument to CCode

14 years agox11: include GIR namespace and version
Evan Nemerson [Sun, 7 Aug 2011 16:52:38 +0000 (09:52 -0700)] 
x11: include GIR namespace and version

14 years agogtk+-3.0: correct Plug and Socket to use X.Window where necessary
Evan Nemerson [Sun, 7 Aug 2011 16:51:41 +0000 (09:51 -0700)] 
gtk+-3.0: correct Plug and Socket to use X.Window where necessary

Fixes bug 656049.

14 years agogtk+-3.0: correct Scrollable type_cname
Evan Nemerson [Fri, 5 Aug 2011 03:43:36 +0000 (20:43 -0700)] 
gtk+-3.0: correct Scrollable type_cname

14 years agocodegen: Add get_ccode_nick and get_ccode_blurb for properties
Luca Bruno [Sat, 6 Aug 2011 18:46:11 +0000 (20:46 +0200)] 
codegen: Add get_ccode_nick and get_ccode_blurb for properties

14 years agogidlparser: Guess NoAccessorMethod for interface properties
Luca Bruno [Sat, 6 Aug 2011 12:20:48 +0000 (14:20 +0200)] 
gidlparser: Guess NoAccessorMethod for interface properties

Fixes bug 656072.

14 years agoRegenerate bindings for commit 1a399423fc95d
Luca Bruno [Sat, 6 Aug 2011 12:42:24 +0000 (14:42 +0200)] 
Regenerate bindings for commit 1a399423fc95d

14 years agocodegen: Fix regression when getting type_id of data types
Luca Bruno [Sat, 6 Aug 2011 12:36:04 +0000 (14:36 +0200)] 
codegen: Fix regression when getting type_id of data types

14 years agogirparser: Fix virtual signals in interfaces
Abderrahim Kitouni [Thu, 4 Aug 2011 09:16:45 +0000 (10:16 +0100)] 
girparser: Fix virtual signals in interfaces

The default handler is marked "abstract" and was considered to be an emitter

14 years agogedit: Add new bindings for Gedit-3.0
Andrea Del Signore [Thu, 4 Aug 2011 14:48:00 +0000 (16:48 +0200)] 
gedit: Add new bindings for Gedit-3.0

Fixes bug 645624.

14 years agoFix lambda expression regression
Luca Bruno [Thu, 4 Aug 2011 19:02:18 +0000 (21:02 +0200)] 
Fix lambda expression regression

The regression was introduced by commit fec66bf087618263c57.
Instead of making a shallow copy of all attributes, the ccode bits
are now moved to the codegen in order to reflect the original code.

14 years agoMove DataType.get_cdeclarator_suffix to the codegen
Luca Bruno [Wed, 3 Aug 2011 20:22:22 +0000 (22:22 +0200)] 
Move DataType.get_cdeclarator_suffix to the codegen

14 years agobuild: Drop ccode dependency from libvalacore
Luca Bruno [Wed, 3 Aug 2011 20:04:45 +0000 (22:04 +0200)] 
build: Drop ccode dependency from libvalacore

14 years agoMove EnumValue.get_canonical_cconstant to the codegen
Luca Bruno [Wed, 3 Aug 2011 20:02:12 +0000 (22:02 +0200)] 
Move EnumValue.get_canonical_cconstant to the codegen

14 years agogirparser: Map provided namespaces using gir_namespace
Luca Bruno [Thu, 4 Aug 2011 07:43:47 +0000 (09:43 +0200)] 
girparser: Map provided namespaces using gir_namespace

14 years agogirparser: Set GIR name when symbols get renamed
Luca Bruno [Thu, 4 Aug 2011 07:04:35 +0000 (09:04 +0200)] 
girparser: Set GIR name when symbols get renamed

14 years agogirparser: Map vala symbols to gir symbols when GIR attribute is available
Luca Bruno [Wed, 3 Aug 2011 23:22:35 +0000 (01:22 +0200)] 
girparser: Map vala symbols to gir symbols when GIR attribute is available

14 years agogirparser: Map all gir namespaces before parsing gir files
Luca Bruno [Wed, 3 Aug 2011 23:05:32 +0000 (01:05 +0200)] 
girparser: Map all gir namespaces before parsing gir files

14 years agoSet target_type of switch statement expression to be non-nullable
Luca Bruno [Wed, 3 Aug 2011 15:07:58 +0000 (17:07 +0200)] 
Set target_type of switch statement expression to be non-nullable

Fixes bug 655908.

14 years agogidlparser: Use lower_case_cprefix when available also for classes
Luca Bruno [Wed, 3 Aug 2011 11:26:22 +0000 (13:26 +0200)] 
gidlparser: Use lower_case_cprefix when available also for classes

14 years agocodegen: Small refactoring for generic type parameters
Jürg Billeter [Mon, 1 Aug 2011 20:32:46 +0000 (22:32 +0200)] 
codegen: Small refactoring for generic type parameters

14 years agoGDBus: Make sure signals are disconnected when unregistering an object
Michal Hruby [Wed, 3 Aug 2011 11:41:11 +0000 (13:41 +0200)] 
GDBus: Make sure signals are disconnected when unregistering an object

14 years agoGuard for possible errors when checking the value of constants
Luca Bruno [Tue, 2 Aug 2011 14:25:31 +0000 (16:25 +0200)] 
Guard for possible errors when checking the value of constants

Fixes bug 655726.

14 years agoFix symbol resolution for local constants
Luca Bruno [Tue, 2 Aug 2011 10:07:31 +0000 (12:07 +0200)] 
Fix symbol resolution for local constants

Fixes bug 649562.

14 years agogirparser: Support lower_case_csuffix
Luca Bruno [Mon, 1 Aug 2011 21:47:33 +0000 (23:47 +0200)] 
girparser: Support lower_case_csuffix

14 years agobuild: Use in-tree vapis when building the bindings
Luca Bruno [Mon, 1 Aug 2011 21:48:17 +0000 (23:48 +0200)] 
build: Use in-tree vapis when building the bindings

14 years agocodegen: Do not use temp var when accessing floating locals
Jürg Billeter [Mon, 1 Aug 2011 19:51:42 +0000 (21:51 +0200)] 
codegen: Do not use temp var when accessing floating locals

14 years agocodegen: Do not use temp var when accessing single-assignment locals
Jürg Billeter [Mon, 1 Aug 2011 19:14:34 +0000 (21:14 +0200)] 
codegen: Do not use temp var when accessing single-assignment locals

14 years agoFix flow analysis for reference transfer expressions
Jürg Billeter [Mon, 1 Aug 2011 19:12:03 +0000 (21:12 +0200)] 
Fix flow analysis for reference transfer expressions