]>
git.ipfire.org Git - thirdparty/vala.git/log
Jürg Billeter [Sun, 17 Oct 2010 19:03:20 +0000 (21:03 +0200)]
Fix side effects in assertions
Jürg Billeter [Tue, 19 Oct 2010 09:59:11 +0000 (11:59 +0200)]
gio-2.0: Fix GDBusError binding
Jürg Billeter [Tue, 19 Oct 2010 08:57:05 +0000 (10:57 +0200)]
D-Bus: Add test for sending and receiving errors
Jürg Billeter [Tue, 19 Oct 2010 08:58:10 +0000 (10:58 +0200)]
D-Bus: Add test for calling void methods
Jürg Billeter [Mon, 18 Oct 2010 21:01:46 +0000 (23:01 +0200)]
Fix out arguments to vararg methods
Jürg Billeter [Mon, 18 Oct 2010 19:51:36 +0000 (21:51 +0200)]
Fix connecting to dynamic signals with non-void return type
Fixes bug 622089.
Jürg Billeter [Mon, 18 Oct 2010 11:58:37 +0000 (13:58 +0200)]
D-Bus: Fix tiny code duplication for method calls in GDBus clients
Jürg Billeter [Mon, 18 Oct 2010 14:30:33 +0000 (16:30 +0200)]
codegen: Add return_default_value helper method
Jürg Billeter [Sun, 17 Oct 2010 17:16:58 +0000 (19:16 +0200)]
codegen: Remove fallback in array length handling
Jürg Billeter [Sun, 17 Oct 2010 15:36:02 +0000 (17:36 +0200)]
codegen: Use append_array_size for reference transfer expressions
Jürg Billeter [Sun, 17 Oct 2010 15:34:05 +0000 (17:34 +0200)]
codegen: Use builder API for reference transfer expressions
Jürg Billeter [Sun, 17 Oct 2010 15:30:11 +0000 (17:30 +0200)]
codegen: Use append_array_size for out and ref arguments
Jürg Billeter [Sun, 17 Oct 2010 11:59:31 +0000 (13:59 +0200)]
Fix side-effects in array element assignments
Make sure to not evaluate the index multiple times.
Fixes bug 632322.
Evan Nemerson [Sat, 16 Oct 2010 19:24:21 +0000 (12:24 -0700)]
gio-unix-2.0: Use correct C header for FileDescriptorBased
Jürg Billeter [Sat, 16 Oct 2010 17:59:18 +0000 (19:59 +0200)]
Do not consider fixed-length arrays as disposable
Fixes bug 630184.
Jürg Billeter [Sat, 16 Oct 2010 17:48:36 +0000 (19:48 +0200)]
codegen: Support array concatenation for captured variables
Fixes bug 630159.
Jürg Billeter [Sat, 16 Oct 2010 17:41:01 +0000 (19:41 +0200)]
codegen: Fix crash when concatenating array parameters
Fixes bug 570846.
Jürg Billeter [Sat, 16 Oct 2010 15:02:44 +0000 (17:02 +0200)]
GAsync: Fix async methods in structs
Fixes bug 629602.
Jürg Billeter [Sat, 16 Oct 2010 14:02:04 +0000 (16:02 +0200)]
Improve error message for declaration in embedded statement
Fixes bug 615230.
Jürg Billeter [Sat, 16 Oct 2010 13:17:23 +0000 (15:17 +0200)]
Report error when trying to use stacked arrays
Stacked array support was never completed. Report an error instead of
generating incorrect C code.
Fixes bug 546603, bug 548428, bug 548429, bug 565865, bug 565872,
bug 571322, bug 572649, and bug 576611.
Jürg Billeter [Sat, 16 Oct 2010 12:18:08 +0000 (14:18 +0200)]
GObject: Check for incompatible properties in constructor chain up
Fixes bug 622119.
Frederik Zipp [Wed, 4 Aug 2010 19:31:43 +0000 (21:31 +0200)]
codegen: Fix gcc warning for methods implementing generic interface
Fixes bug 626056.
Jürg Billeter [Sat, 16 Oct 2010 11:34:07 +0000 (13:34 +0200)]
codegen: Fix crash on nested try in finally clause
Fixes bug 632078.
Jürg Billeter [Sat, 16 Oct 2010 11:29:50 +0000 (13:29 +0200)]
tests: Fix /objects/methods test
Jürg Billeter [Sat, 16 Oct 2010 11:29:34 +0000 (13:29 +0200)]
codegen: Fix out parameters in void methods
Jürg Billeter [Sat, 16 Oct 2010 10:26:16 +0000 (12:26 +0200)]
codegen: Guard access to out parameters to allow null arguments
Fixes bug 591673.
Jürg Billeter [Sat, 16 Oct 2010 09:24:21 +0000 (11:24 +0200)]
CodeWriter: Write accessibility for property accessors
Jürg Billeter [Sat, 16 Oct 2010 09:34:11 +0000 (11:34 +0200)]
Use public accesibility by default for property accessors
Fixes bug 623493.
Jürg Billeter [Sat, 16 Oct 2010 08:43:19 +0000 (10:43 +0200)]
codegen: Fix lock statements in classes without private fields
Fixes bug 629593.
Jürg Billeter [Sat, 16 Oct 2010 08:20:36 +0000 (10:20 +0200)]
Report error when trying to disconnect lambda expression from signal
Fixes bug 631022.
Evan Nemerson [Sat, 16 Oct 2010 07:57:35 +0000 (09:57 +0200)]
codegen: Don't try to create a GClosure for null
Fixes bug 631269.
Jürg Billeter [Sat, 16 Oct 2010 07:54:03 +0000 (09:54 +0200)]
girwriter: Fix fixed-length arrays
Fixes bug 631529.
Jürg Billeter [Sat, 16 Oct 2010 07:51:06 +0000 (09:51 +0200)]
codegen: Support resize and concatenation on the same array
Fixes bug 631540.
Jürg Billeter [Sat, 16 Oct 2010 07:38:05 +0000 (09:38 +0200)]
Consider unowned and owned types equivalent if they are not disposable
Fixes bug 631920.
Jürg Billeter [Sat, 16 Oct 2010 07:32:18 +0000 (09:32 +0200)]
Report error when trying to create an array of delegates with targets
Fixes bug 632017.
Jürg Billeter [Sat, 16 Oct 2010 07:27:21 +0000 (09:27 +0200)]
codegen: Fix assignment to struct properties without accessors
Fixes bug 632137.
Jürg Billeter [Sat, 16 Oct 2010 06:47:42 +0000 (08:47 +0200)]
codegen: Use builder API to store properties
Jürg Billeter [Thu, 14 Oct 2010 15:37:29 +0000 (17:37 +0200)]
codegen: Fix critical when using postconditions
Fixes bug 631812.
Jürg Billeter [Thu, 14 Oct 2010 15:28:48 +0000 (17:28 +0200)]
Fix marshaller signature for signals with array parameters
Fixes bug 604829.
Jürg Billeter [Thu, 14 Oct 2010 15:11:54 +0000 (17:11 +0200)]
D-Bus: Add missing dbus-glib.h include for interfaces without methods
Fixes bug 583390.
Jürg Billeter [Thu, 14 Oct 2010 14:43:17 +0000 (16:43 +0200)]
codegen: Use separate C statements for property access
Fixes bug 585847.
Evan Nemerson [Thu, 14 Oct 2010 14:16:39 +0000 (16:16 +0200)]
girwriter: Write deprecated attributes when appropriate
Fixes bug 614712.
Jürg Billeter [Thu, 14 Oct 2010 14:04:18 +0000 (16:04 +0200)]
glib-2.0: Fix g_variant_new_tuple binding
Fixes bug 631549.
Jürg Billeter [Thu, 14 Oct 2010 13:51:28 +0000 (15:51 +0200)]
glib-2.0: Add ungetc binding
Fixes bug 629665.
Jürg Billeter [Thu, 14 Oct 2010 13:38:54 +0000 (15:38 +0200)]
codegen: Fix freeing of GLists with null elements
Fixes bug 585341.
Jürg Billeter [Thu, 14 Oct 2010 09:12:30 +0000 (11:12 +0200)]
glib-2.0: Fix GArray binding
Fixes bug 575069.
Jürg Billeter [Thu, 14 Oct 2010 09:13:08 +0000 (11:13 +0200)]
codegen: Use separate C statements for memory management
Jürg Billeter [Thu, 14 Oct 2010 10:24:59 +0000 (12:24 +0200)]
codegen: Use separate C statements for out arguments
Jürg Billeter [Thu, 14 Oct 2010 09:17:07 +0000 (11:17 +0200)]
codegen: Simplify method calls with array arguments
Jürg Billeter [Thu, 14 Oct 2010 12:32:07 +0000 (14:32 +0200)]
Do not allow passing owned ref argument to unowned reference parameter
Jürg Billeter [Wed, 13 Oct 2010 22:13:47 +0000 (00:13 +0200)]
codegen: Fix use of uninitialized temporary variables
Fixes bug 602208.
Jürg Billeter [Wed, 13 Oct 2010 20:41:08 +0000 (22:41 +0200)]
D-Bus: Fix use of uninitialized variables in dbus-glib error handling
Fixes bug 615003.
Jürg Billeter [Wed, 13 Oct 2010 20:17:41 +0000 (22:17 +0200)]
Add suport for local constants
Fixes bug 530623.
Jürg Billeter [Wed, 13 Oct 2010 15:06:42 +0000 (17:06 +0200)]
dbus-glib-1: Fix dbus_connection_get_g_connection binding
Jürg Billeter [Tue, 12 Oct 2010 15:55:40 +0000 (17:55 +0200)]
gio-2.0: Fix g_themed_icon_get_names binding
Luca Bruno [Mon, 11 Oct 2010 19:18:59 +0000 (21:18 +0200)]
cairo: Set cairo_path_data_type_t cname to PathDataType enum
Jürg Billeter [Mon, 11 Oct 2010 19:07:34 +0000 (21:07 +0200)]
Fix use of N_ in constant initializers
Jürg Billeter [Mon, 11 Oct 2010 16:18:38 +0000 (18:18 +0200)]
codegen: Fix method references in constant initializers
Evan Nemerson [Sun, 10 Oct 2010 21:25:13 +0000 (14:25 -0700)]
Move several enums into the Vala namespace
Jürg Billeter [Sun, 10 Oct 2010 21:02:17 +0000 (23:02 +0200)]
codegen: Fix const warnings for temporary variables of method calls
Jürg Billeter [Sun, 10 Oct 2010 20:59:03 +0000 (22:59 +0200)]
codegen: Fix types of temporary variables when using GArray or va_list
Jürg Billeter [Sun, 10 Oct 2010 20:30:26 +0000 (22:30 +0200)]
codegen: Fix preconditions
Jürg Billeter [Sun, 10 Oct 2010 17:06:16 +0000 (19:06 +0200)]
GVariant: Fix critical on unsupported types
Jürg Billeter [Sun, 10 Oct 2010 16:55:10 +0000 (18:55 +0200)]
glib-2.0: Do not use dbus-glib GType for GLib.ObjectPath
Jürg Billeter [Sun, 10 Oct 2010 16:20:45 +0000 (18:20 +0200)]
codegen: Use builder API in GVariant and GDBus modules
Jürg Billeter [Sun, 10 Oct 2010 12:58:45 +0000 (14:58 +0200)]
D-Bus: Refactor marshalling in GDBus clients
Jürg Billeter [Sun, 10 Oct 2010 10:28:15 +0000 (12:28 +0200)]
codegen: Use builder API for array add wrapper
Jürg Billeter [Sun, 10 Oct 2010 10:25:57 +0000 (12:25 +0200)]
codegen: Use builder API for array length
Jürg Billeter [Sun, 10 Oct 2010 10:22:47 +0000 (12:22 +0200)]
codegen: Use builder API for array move
Jürg Billeter [Sun, 10 Oct 2010 10:19:22 +0000 (12:19 +0200)]
codegen: Use builder API for array free
Jürg Billeter [Sun, 10 Oct 2010 10:13:38 +0000 (12:13 +0200)]
codegen: Use builder API for struct array free
Jürg Billeter [Sun, 10 Oct 2010 10:07:39 +0000 (12:07 +0200)]
codegen: Use builder API for struct copy function
Jürg Billeter [Sun, 10 Oct 2010 10:06:14 +0000 (12:06 +0200)]
codegen: Use builder API for struct destroy function
Jürg Billeter [Sun, 10 Oct 2010 10:04:17 +0000 (12:04 +0200)]
codegen: Use builder API for array contains wrapper
Jürg Billeter [Sun, 10 Oct 2010 09:58:16 +0000 (11:58 +0200)]
codegen: Use builder API for dup0 functions
Jürg Billeter [Sun, 10 Oct 2010 09:57:12 +0000 (11:57 +0200)]
codegen: Use builder API for regex init function
Jürg Billeter [Sun, 10 Oct 2010 09:55:01 +0000 (11:55 +0200)]
codegen: Use builder API for collection free wrapper
Jürg Billeter [Sun, 10 Oct 2010 09:53:21 +0000 (11:53 +0200)]
codegen: Use builder API for free func wrapper
Jürg Billeter [Sun, 10 Oct 2010 09:51:39 +0000 (11:51 +0200)]
codegen: Use builder API for dup func wrapper
Jürg Billeter [Sun, 10 Oct 2010 09:50:44 +0000 (11:50 +0200)]
codegen: Use builder API for struct dup wrapper
Jürg Billeter [Sun, 10 Oct 2010 09:48:29 +0000 (11:48 +0200)]
codegen: Use builder API for numeric equal function
Jürg Billeter [Sun, 10 Oct 2010 09:45:17 +0000 (11:45 +0200)]
codegen: Use builder API for struct equal function
Jürg Billeter [Sun, 10 Oct 2010 09:33:25 +0000 (11:33 +0200)]
codegen: Do not use C statement nodes in property accessors
Jürg Billeter [Sun, 10 Oct 2010 09:25:01 +0000 (11:25 +0200)]
Require and target GLib >= 2.16
This allows valac to use g_strcmp0. The next stable release of vala
will happen three years after the release of GLib 2.16.0.
Jürg Billeter [Sun, 10 Oct 2010 08:59:23 +0000 (10:59 +0200)]
codegen: Use separate C statements for array creation expressions
Jürg Billeter [Sun, 10 Oct 2010 08:50:21 +0000 (10:50 +0200)]
codegen: Drop unnecessary comma expressions in creation expressions
Jürg Billeter [Sun, 10 Oct 2010 07:52:06 +0000 (09:52 +0200)]
codegen: Use separate C statements for object creation expressions
Jürg Billeter [Sun, 10 Oct 2010 07:31:47 +0000 (09:31 +0200)]
codegen: Drop unnecessary comma expressions in local variables
Jürg Billeter [Sun, 10 Oct 2010 07:12:25 +0000 (09:12 +0200)]
codegen: Drop unnecessary comma expression in postfix expressions
Jürg Billeter [Sun, 10 Oct 2010 07:04:48 +0000 (09:04 +0200)]
codegen: Drop unnecessary comma expressions in return statements
Jürg Billeter [Sun, 10 Oct 2010 05:13:27 +0000 (07:13 +0200)]
codegen: Drop unnecessary comma expressions in assignments
Jürg Billeter [Sat, 9 Oct 2010 21:07:50 +0000 (23:07 +0200)]
codegen: Use separate C statements for assignments
Jürg Billeter [Sat, 9 Oct 2010 20:53:32 +0000 (22:53 +0200)]
codegen: Use separate C statements for method calls
Jürg Billeter [Sun, 10 Oct 2010 08:14:52 +0000 (10:14 +0200)]
codegen: Do not use accept_children for properties
Accepting initializer may have side-effects.
Jürg Billeter [Sat, 9 Oct 2010 18:56:35 +0000 (20:56 +0200)]
Report error when trying to use async method as delegate
Jürg Billeter [Sat, 9 Oct 2010 16:27:24 +0000 (18:27 +0200)]
codegen: Use set_delegate_target for method access
Jürg Billeter [Sat, 9 Oct 2010 16:29:20 +0000 (18:29 +0200)]
codegen: Use set_delegate_target for null literals
Jürg Billeter [Sat, 9 Oct 2010 16:22:29 +0000 (18:22 +0200)]
codegen: Use set_delegate_target for field access
Jürg Billeter [Sat, 9 Oct 2010 16:16:32 +0000 (18:16 +0200)]
codegen: Use set_delegate_target for local variable access
Jürg Billeter [Sat, 9 Oct 2010 16:04:23 +0000 (18:04 +0200)]
codegen: Use set_delegate_target for parameter access