]>
git.ipfire.org Git - thirdparty/vala.git/log
Luca Bruno [Fri, 2 Sep 2011 11:22:02 +0000 (13:22 +0200)]
Revert "Set lvalue access for struct properties"
This reverts commit
f9186d12f28911d98e6f41d58f595fa81de602cb .
Luca Bruno [Fri, 2 Sep 2011 10:57:30 +0000 (12:57 +0200)]
Set lvalue access for struct properties
Fixes bug 658046.
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.
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.
Luca Bruno [Thu, 1 Sep 2011 11:44:55 +0000 (13:44 +0200)]
codegen: Do not hardcode the cname for abstract/virtual property accessor
Luca Bruno [Thu, 1 Sep 2011 11:32:54 +0000 (13:32 +0200)]
codegen: Enable real_cname CCode for property accessors
Luca Bruno [Thu, 1 Sep 2011 08:36:55 +0000 (10:36 +0200)]
girparser: Set NoAccessorMethod properly for abstract properties
Luca Bruno [Thu, 1 Sep 2011 08:36:42 +0000 (10:36 +0200)]
girparser: Make interface properties be abstract by default
Luca Bruno [Thu, 1 Sep 2011 08:33:52 +0000 (10:33 +0200)]
json-glib-1.0: Update to version 0.13.4
Luca Bruno [Thu, 1 Sep 2011 08:30:44 +0000 (10:30 +0200)]
mx-1.0: Update to version 1.3.1
Luca Bruno [Thu, 1 Sep 2011 08:28:30 +0000 (10:28 +0200)]
clutter-1.0: Update to version 1.7.10
Luca Bruno [Wed, 31 Aug 2011 21:14:13 +0000 (23:14 +0200)]
girwriter: Drop unwanted call when writing abstract methods
Fixes bug 657860.
Luca Bruno [Wed, 31 Aug 2011 18:43:20 +0000 (20:43 +0200)]
pango: Fix LayoutLine.index_to_x and x_to_index bindings
Luca Bruno [Wed, 31 Aug 2011 16:20:29 +0000 (18:20 +0200)]
glib-2.0: Add StringBuilder.insert_unichar
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.
Jürg Billeter [Tue, 30 Aug 2011 12:27:49 +0000 (14:27 +0200)]
gio-2.0: Fix g_application_command_line_print* bindings
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.
Luca Bruno [Tue, 30 Aug 2011 07:51:02 +0000 (09:51 +0200)]
codegen: Do not add null-check for SimpleType structs
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
Evan Nemerson [Sun, 28 Aug 2011 20:19:06 +0000 (13:19 -0700)]
gio-2.0: make File.parse_name return value transfer ownership
Luca Bruno [Sun, 28 Aug 2011 16:37:56 +0000 (18:37 +0200)]
Show loaded packages in verbose mode
Fixes bug 657523.
Luca Bruno [Sat, 27 Aug 2011 18:30:17 +0000 (20:30 +0200)]
codegen: Use a zero-initializer also for SimpleType structs
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.
Luca Bruno [Sat, 27 Aug 2011 09:30:35 +0000 (11:30 +0200)]
codegen: Move typecheck of self down to methods vfunc
Luca Bruno [Sat, 27 Aug 2011 07:49:29 +0000 (09:49 +0200)]
codegen: Add type check in property vfunc
Fixes bug 657481.
Evan Nemerson [Fri, 26 Aug 2011 23:27:45 +0000 (16:27 -0700)]
mx-1.0: add missing metadata
Evan Nemerson [Fri, 26 Aug 2011 21:39:55 +0000 (14:39 -0700)]
mx-1.0: switch to GIR
Evan Nemerson [Thu, 25 Aug 2011 20:35:08 +0000 (13:35 -0700)]
gio-2.0: fixes for pollable input and output streams
Luca Bruno [Fri, 26 Aug 2011 20:44:27 +0000 (22:44 +0200)]
codegen: Drop unnecessary 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.
Luca Bruno [Fri, 26 Aug 2011 07:37:15 +0000 (09:37 +0200)]
codegen: Set result of object creation to be an lvalue
Luca Bruno [Fri, 26 Aug 2011 07:34:15 +0000 (09:34 +0200)]
codegen: Drop useless temp variable when creating structs
Partially fixes 657378.
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.
Evan Nemerson [Thu, 25 Aug 2011 18:23:52 +0000 (11:23 -0700)]
linux: fix Linux.CLOCK_MONOTONIC_RAW binding
Evan Nemerson [Thu, 25 Aug 2011 05:16:19 +0000 (22:16 -0700)]
gio-2.0: fix DBusObject.get_interfaces return value
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.
Luca Bruno [Wed, 24 Aug 2011 16:27:05 +0000 (18:27 +0200)]
glib-2.0: Fix MarkupParser bindings
Fixes bug 657262.
Luca Bruno [Mon, 22 Aug 2011 15:01:37 +0000 (17:01 +0200)]
gudev-1.0: Switch to GIR
Luca Bruno [Mon, 22 Aug 2011 14:31:41 +0000 (16:31 +0200)]
girparser: Fix reporting unused metadata
Luca Bruno [Mon, 22 Aug 2011 10:23:12 +0000 (12:23 +0200)]
girparser: Use c:symbol-prefixes as lower_case_cprefix when available
Jürg Billeter [Mon, 22 Aug 2011 11:30:00 +0000 (13:30 +0200)]
Release 0.13.3
Jürg Billeter [Mon, 22 Aug 2011 11:48:36 +0000 (13:48 +0200)]
codegen: Remove unused variable
Luca Bruno [Sun, 21 Aug 2011 09:22:09 +0000 (11:22 +0200)]
pangocairo: Switch to GIR
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.
Abderrahim Kitouni [Fri, 19 Aug 2011 09:39:15 +0000 (10:39 +0100)]
Make Vala.Report.{errors,warnings} fields protected
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.
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.
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.
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.
Luca Bruno [Wed, 17 Aug 2011 07:12:13 +0000 (09:12 +0200)]
codewriter: Factorize writing type parameters in write_type_parameters
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.
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.
Jürg Billeter [Tue, 16 Aug 2011 19:50:23 +0000 (21:50 +0200)]
Release 0.13.2
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.
Luca Bruno [Tue, 16 Aug 2011 08:39:16 +0000 (10:39 +0200)]
Add syntax for creating array of pointers
Fixes bug 647222.
Luca Bruno [Tue, 16 Aug 2011 08:47:24 +0000 (10:47 +0200)]
Add PointerType.get_actual_type
Fixes bug 646792.
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.
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.
Luca Bruno [Mon, 15 Aug 2011 18:15:43 +0000 (20:15 +0200)]
codegen: Make try_cast_variant_to_type be effect-free
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.
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.
Jürg Billeter [Sat, 13 Aug 2011 18:28:05 +0000 (20:28 +0200)]
dova: Do not require double in dova profile
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
Luca Bruno [Thu, 11 Aug 2011 20:18:27 +0000 (22:18 +0200)]
girparser: Support specifying struct=false for records
Luca Bruno [Thu, 11 Aug 2011 19:47:15 +0000 (21:47 +0200)]
Use locale-independent formatting in CodeNode.set_attribute_double
Luca Bruno [Sun, 24 Jul 2011 19:23:46 +0000 (21:23 +0200)]
libgdata: Switch to GIR
Fixes bug 655192.
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.
Luca Bruno [Sun, 7 Aug 2011 19:05:33 +0000 (21:05 +0200)]
Set the type of initializer lists to be non-nullable
Jürg Billeter [Tue, 9 Aug 2011 12:10:42 +0000 (14:10 +0200)]
dova: Fix main method with args parameter
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.
Luca Bruno [Mon, 8 Aug 2011 10:59:48 +0000 (12:59 +0200)]
readline: Fix cname of several delegates
Fixes bug 656146.
Luca Bruno [Mon, 8 Aug 2011 10:19:58 +0000 (12:19 +0200)]
gstreamer-0.10: Set ref_sink_function_void for Gst.Object
Luca Bruno [Sun, 7 Aug 2011 19:25:46 +0000 (21:25 +0200)]
codegen: Add ref_sink_function_void argument to CCode
Evan Nemerson [Sun, 7 Aug 2011 16:52:38 +0000 (09:52 -0700)]
x11: include GIR namespace and version
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.
Evan Nemerson [Fri, 5 Aug 2011 03:43:36 +0000 (20:43 -0700)]
gtk+-3.0: correct Scrollable type_cname
Luca Bruno [Sat, 6 Aug 2011 18:46:11 +0000 (20:46 +0200)]
codegen: Add get_ccode_nick and get_ccode_blurb for properties
Luca Bruno [Sat, 6 Aug 2011 12:20:48 +0000 (14:20 +0200)]
gidlparser: Guess NoAccessorMethod for interface properties
Fixes bug 656072.
Luca Bruno [Sat, 6 Aug 2011 12:42:24 +0000 (14:42 +0200)]
Regenerate bindings for commit
1a399423fc95d
Luca Bruno [Sat, 6 Aug 2011 12:36:04 +0000 (14:36 +0200)]
codegen: Fix regression when getting type_id of data types
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
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.
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.
Luca Bruno [Wed, 3 Aug 2011 20:22:22 +0000 (22:22 +0200)]
Move DataType.get_cdeclarator_suffix to the codegen
Luca Bruno [Wed, 3 Aug 2011 20:04:45 +0000 (22:04 +0200)]
build: Drop ccode dependency from libvalacore
Luca Bruno [Wed, 3 Aug 2011 20:02:12 +0000 (22:02 +0200)]
Move EnumValue.get_canonical_cconstant to the codegen
Luca Bruno [Thu, 4 Aug 2011 07:43:47 +0000 (09:43 +0200)]
girparser: Map provided namespaces using gir_namespace
Luca Bruno [Thu, 4 Aug 2011 07:04:35 +0000 (09:04 +0200)]
girparser: Set GIR name when symbols get renamed
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
Luca Bruno [Wed, 3 Aug 2011 23:05:32 +0000 (01:05 +0200)]
girparser: Map all gir namespaces before parsing gir files
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.
Luca Bruno [Wed, 3 Aug 2011 11:26:22 +0000 (13:26 +0200)]
gidlparser: Use lower_case_cprefix when available also for classes
Jürg Billeter [Mon, 1 Aug 2011 20:32:46 +0000 (22:32 +0200)]
codegen: Small refactoring for generic type parameters
Michal Hruby [Wed, 3 Aug 2011 11:41:11 +0000 (13:41 +0200)]
GDBus: Make sure signals are disconnected when unregistering an object
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.
Luca Bruno [Tue, 2 Aug 2011 10:07:31 +0000 (12:07 +0200)]
Fix symbol resolution for local constants
Fixes bug 649562.
Luca Bruno [Mon, 1 Aug 2011 21:47:33 +0000 (23:47 +0200)]
girparser: Support lower_case_csuffix
Luca Bruno [Mon, 1 Aug 2011 21:48:17 +0000 (23:48 +0200)]
build: Use in-tree vapis when building the bindings
Jürg Billeter [Mon, 1 Aug 2011 19:51:42 +0000 (21:51 +0200)]
codegen: Do not use temp var when accessing floating 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