]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
16 years agoRelease 0.7.7 0.7.7
Jürg Billeter [Sun, 27 Sep 2009 21:04:03 +0000 (23:04 +0200)] 
Release 0.7.7

16 years agox11: Add XMoveWindow binding
Gordon Allott [Sun, 27 Sep 2009 20:41:09 +0000 (22:41 +0200)] 
x11: Add XMoveWindow binding

16 years agogio-2.0: Fix g_file_mount_enclosing_volume binding
Philipp Zabel [Sun, 27 Sep 2009 20:30:56 +0000 (22:30 +0200)] 
gio-2.0: Fix g_file_mount_enclosing_volume binding

16 years agovapigen: Support async attribute for methods
Philipp Zabel [Sun, 27 Sep 2009 20:30:06 +0000 (22:30 +0200)] 
vapigen: Support async attribute for methods

16 years agoAdd `do not modify' note at the top of generated C files
Michael B. Trausch [Sun, 27 Sep 2009 20:22:57 +0000 (22:22 +0200)] 
Add `do not modify' note at the top of generated C files

Fixes bug 595797.

16 years agogobject-2.0: Add g_object_notify binding
Mark Lee [Tue, 22 Sep 2009 17:21:25 +0000 (10:21 -0700)] 
gobject-2.0: Add g_object_notify binding

Adds a binding for g_object_notify(), named Object.notify_property. It
is named differently because of the pre-existing "notify" signal, which
has a different signature.

Fixes bug 562486.

16 years agoGenie: Fixed comments for copyright statements
Jamie McCracken [Sun, 27 Sep 2009 17:50:17 +0000 (13:50 -0400)] 
Genie: Fixed comments for copyright statements

Copyright comments at top of genie files now have those
comments propgated to the generated c files

16 years agoFree temporary variables used in instance field initializers
Jürg Billeter [Sun, 27 Sep 2009 16:27:35 +0000 (18:27 +0200)] 
Free temporary variables used in instance field initializers

16 years agoGenie: Briought Genie up to date with Vala
Jamie McCracken [Sun, 27 Sep 2009 15:42:47 +0000 (11:42 -0400)] 
Genie: Briought Genie up to date with Vala

Added Async support
Added bug fixes
Added improved warnings
Added improved array handling code
Added support for constants in interfaces

16 years agogtk+-2.0: Do not use const with GtkTreePath
Jürg Billeter [Sun, 27 Sep 2009 14:49:56 +0000 (16:49 +0200)] 
gtk+-2.0: Do not use const with GtkTreePath

Fixes bug 593567.

16 years agoOnly use const for immutable structs
Jürg Billeter [Sun, 27 Sep 2009 14:49:31 +0000 (16:49 +0200)] 
Only use const for immutable structs

16 years agoFix crash in CCodeVariableDeclarator without initializer
Jürg Billeter [Sun, 27 Sep 2009 14:40:46 +0000 (16:40 +0200)] 
Fix crash in CCodeVariableDeclarator without initializer

16 years agoFix CCodeNode.line for variable initializers and return statements
Didier 'Ptitjes [Sat, 26 Sep 2009 23:09:31 +0000 (01:09 +0200)] 
Fix CCodeNode.line for variable initializers and return statements

16 years agoGIR writer: Fix name and c:type written for delegate parameters
Jürg Billeter [Sun, 27 Sep 2009 13:35:45 +0000 (15:35 +0200)] 
GIR writer: Fix name and c:type written for delegate parameters

16 years agoGIR writer: Fix generation of array and delegate parameters
Jan Hudec [Sat, 26 Sep 2009 16:00:06 +0000 (18:00 +0200)] 
GIR writer: Fix generation of array and delegate parameters

Array and delegate parameters correspond to multiple parameters at the
C level. GObject-introspection expects them them to be written
separately, with special attributes refering to the main ones.

Since implicit output arguments must be generated for return values,
writing params and return values was combined to common methods. They
were always used together, so the main downside is the method now takes
long list of arguments to cover all the cases.

Note that only default argument positions are supported.

Signed-off-by: Jan Hudec <bulb@ucw.cz>
16 years agoGIR writer: Fix generation of async methods
Jan Hudec [Sat, 26 Sep 2009 08:57:46 +0000 (10:57 +0200)] 
GIR writer: Fix generation of async methods

GObject-Introspection does not have any special support for async
methods, so we need to write them out as two entries corresponding to
the .begin and .end submethods respectively.

To avoid code duplication, the Vala.GirWriter.write_signature method is
split in two. The inner one takes all attributes that differ between
sync and async.begin/end methods as additional arguments and is called
twice for the async methods.

Signed-off-by: Jan Hudec <bulb@ucw.cz>
16 years agoOnly move initializer to declaration when reordering is safe
Jürg Billeter [Sun, 27 Sep 2009 08:03:24 +0000 (10:03 +0200)] 
Only move initializer to declaration when reordering is safe

In general it is not safe to move non-constant initializer lists
to the variable declaration at the beginning of the block.

16 years agoFix non-constant struct initializer lists
Jürg Billeter [Sun, 27 Sep 2009 08:40:08 +0000 (10:40 +0200)] 
Fix non-constant struct initializer lists

Fixes bug 583603.

16 years agoglib-2.0: add binding for g_get_language_names()
Mark Lee [Sat, 26 Sep 2009 19:27:14 +0000 (12:27 -0700)] 
glib-2.0: add binding for g_get_language_names()

Adding to the Intl namespace, as its documentation is listed in the
"Internationalization" section of the GLib docs.

Fixes GNOME bug #596456.

16 years agoAdd libgda-4.0 bindings
Shawn Ferris [Sat, 26 Sep 2009 21:52:46 +0000 (23:52 +0200)] 
Add libgda-4.0 bindings

Fixes bug 570372.

16 years agoAdd support for coverage analysis using gcov and lcov
Jürg Billeter [Sat, 26 Sep 2009 19:58:39 +0000 (21:58 +0200)] 
Add support for coverage analysis using gcov and lcov

16 years agowebkit-1.0: Update to WebKitGTK+ 1.1.14
Travis Watkins [Sat, 26 Sep 2009 15:02:12 +0000 (17:02 +0200)] 
webkit-1.0: Update to WebKitGTK+ 1.1.14

Fixes bug 595585.

16 years agoD-Bus: Support marshalling enumerations as strings
Didier 'Ptitjes [Fri, 18 Sep 2009 10:01:08 +0000 (12:01 +0200)] 
D-Bus: Support marshalling enumerations as strings

Fixes bug 580984.

16 years agoAdd test for bug 595538
Jürg Billeter [Sat, 26 Sep 2009 14:39:00 +0000 (16:39 +0200)] 
Add test for bug 595538

16 years agoAdd test for bug 595639
Jürg Billeter [Sat, 26 Sep 2009 14:30:33 +0000 (16:30 +0200)] 
Add test for bug 595639

16 years agoAdd test for bug 595735
Jürg Billeter [Sat, 26 Sep 2009 14:24:31 +0000 (16:24 +0200)] 
Add test for bug 595735

16 years agoAdd test for bug 595587
Jürg Billeter [Sat, 26 Sep 2009 14:09:51 +0000 (16:09 +0200)] 
Add test for bug 595587

16 years agoAdd test for bug 596177
Jürg Billeter [Sat, 26 Sep 2009 13:57:14 +0000 (15:57 +0200)] 
Add test for bug 596177

16 years agoAdd test for bug 593260
Jürg Billeter [Sat, 26 Sep 2009 13:45:28 +0000 (15:45 +0200)] 
Add test for bug 593260

16 years agoFix calling methods returning structs and throwing errors
Jürg Billeter [Sat, 26 Sep 2009 12:44:52 +0000 (14:44 +0200)] 
Fix calling methods returning structs and throwing errors

Argument order was incorrect, fixes bug 596228.

16 years agoSpeed up test infrastructure
Jürg Billeter [Fri, 25 Sep 2009 05:50:05 +0000 (07:50 +0200)] 
Speed up test infrastructure

The updated test runner builds all tests at once to speed up testing.

16 years agovalac: Add --disable-warnings command-line option
Jürg Billeter [Sat, 26 Sep 2009 12:32:50 +0000 (14:32 +0200)] 
valac: Add --disable-warnings command-line option

16 years agovalac: Add --main command-line option
Jürg Billeter [Sat, 26 Sep 2009 08:09:37 +0000 (10:09 +0200)] 
valac: Add --main command-line option

This enables selecting a specific method as entry point.

16 years agoSupport using directives inside namespaces
Jürg Billeter [Fri, 25 Sep 2009 22:38:08 +0000 (00:38 +0200)] 
Support using directives inside namespaces

16 years agoglib-2.0: Fix g_test_create_case binding
Didier 'Ptitjes [Fri, 25 Sep 2009 19:03:14 +0000 (21:03 +0200)] 
glib-2.0: Fix g_test_create_case binding

16 years agoSupport CCode type attribute for parameters of creation methods
Jürg Billeter [Fri, 25 Sep 2009 18:37:14 +0000 (20:37 +0200)] 
Support CCode type attribute for parameters of creation methods

16 years agoFix critical on invalid chain up
Jürg Billeter [Fri, 25 Sep 2009 18:32:02 +0000 (20:32 +0200)] 
Fix critical on invalid chain up

16 years agoFixed string to char* casts in Scanner and SourceFile
Didier 'Ptitjes [Fri, 25 Sep 2009 13:47:37 +0000 (15:47 +0200)] 
Fixed string to char* casts in Scanner and SourceFile

16 years agoGType: Fix C warnings for methods in interface_init
Didier 'Ptitjes [Fri, 25 Sep 2009 12:50:37 +0000 (14:50 +0200)] 
GType: Fix C warnings for methods in interface_init

16 years agoGType: Fix C warnings for properties in interface_init
Jürg Billeter [Fri, 25 Sep 2009 16:45:18 +0000 (18:45 +0200)] 
GType: Fix C warnings for properties in interface_init

Based on patch by Didier 'Ptitjes.

16 years agoFix missing const with virtual properties
Jürg Billeter [Fri, 25 Sep 2009 15:14:01 +0000 (17:14 +0200)] 
Fix missing const with virtual properties

16 years agoglib-2.0: Bind g_log_default_handler()
Zeeshan Ali (Khattak) [Fri, 25 Sep 2009 12:42:33 +0000 (15:42 +0300)] 
glib-2.0: Bind g_log_default_handler()

16 years agoglib-2.0: Add default arguments to g_option_context_new binding
Jürg Billeter [Fri, 25 Sep 2009 12:03:19 +0000 (14:03 +0200)] 
glib-2.0: Add default arguments to g_option_context_new binding

16 years agoFix static owned delegate fields
Jürg Billeter [Fri, 25 Sep 2009 11:22:29 +0000 (13:22 +0200)] 
Fix static owned delegate fields

16 years agoFix parsing array creation expressions using nested namespaces
Jürg Billeter [Fri, 25 Sep 2009 09:43:56 +0000 (11:43 +0200)] 
Fix parsing array creation expressions using nested namespaces

Fixes bug 596246.

16 years agoFix calling generic instance methods
Jürg Billeter [Fri, 25 Sep 2009 09:16:53 +0000 (11:16 +0200)] 
Fix calling generic instance methods

Fixes bug 596246.

16 years agoFix use of generics in async methods in generic types
Jürg Billeter [Thu, 24 Sep 2009 17:23:21 +0000 (19:23 +0200)] 
Fix use of generics in async methods in generic types

Fixes bug 596177.

16 years agoglib-2.0: Fix g_log binding
Jürg Billeter [Thu, 24 Sep 2009 16:24:59 +0000 (18:24 +0200)] 
glib-2.0: Fix g_log binding

16 years agogtk+-2.0: Hide private GtkLabel.text
Jürg Billeter [Thu, 24 Sep 2009 08:36:18 +0000 (10:36 +0200)] 
gtk+-2.0: Hide private GtkLabel.text

16 years agoglib-2.0: Support owned delegates with Timeout.add_seconds
Jens Georg [Tue, 22 Sep 2009 10:14:06 +0000 (12:14 +0200)] 
glib-2.0: Support owned delegates with Timeout.add_seconds

Fixes bug 595933.

16 years agoSimplify &(*foo) and *(&foo) to foo
Jürg Billeter [Tue, 22 Sep 2009 21:09:03 +0000 (23:09 +0200)] 
Simplify &(*foo) and *(&foo) to foo

16 years agoFix nullable struct properties
Jürg Billeter [Tue, 22 Sep 2009 20:58:10 +0000 (22:58 +0200)] 
Fix nullable struct properties

Fixes bug 595587.

16 years agoFix virtual methods returning structs
Jürg Billeter [Tue, 22 Sep 2009 16:32:04 +0000 (18:32 +0200)] 
Fix virtual methods returning structs

Fixes bug 595954.

16 years agoGAsync: Fix closures in instance async methods
Jürg Billeter [Tue, 22 Sep 2009 16:19:58 +0000 (18:19 +0200)] 
GAsync: Fix closures in instance async methods

16 years agoglib-2.0: Fix Idle.add default argument
Adam Dingle [Tue, 22 Sep 2009 07:04:15 +0000 (09:04 +0200)] 
glib-2.0: Fix Idle.add default argument

Fixes bug 595885.

16 years agoFix leak when calling methods with unowned delegate parameters
Jürg Billeter [Tue, 22 Sep 2009 06:57:37 +0000 (08:57 +0200)] 
Fix leak when calling methods with unowned delegate parameters

Fixes bug 595879.

16 years agoGAsync: Fix return type declaration in header files
Jürg Billeter [Mon, 21 Sep 2009 18:51:16 +0000 (20:51 +0200)] 
GAsync: Fix return type declaration in header files

Fixes bug 595613.

16 years agoD-Bus: Support name attribute for members in clients and servers
Jürg Billeter [Mon, 21 Sep 2009 18:44:34 +0000 (20:44 +0200)] 
D-Bus: Support name attribute for members in clients and servers

Fixes bug 595587.

16 years agoFix C code name for types nested in interfaces
Jürg Billeter [Mon, 21 Sep 2009 18:24:29 +0000 (20:24 +0200)] 
Fix C code name for types nested in interfaces

16 years agoFix abstract async methods
Jürg Billeter [Mon, 21 Sep 2009 18:20:58 +0000 (20:20 +0200)] 
Fix abstract async methods

Fixes bug 595735.

16 years agoFix memory management of closures in async methods
Jürg Billeter [Mon, 21 Sep 2009 18:02:05 +0000 (20:02 +0200)] 
Fix memory management of closures in async methods

16 years agoGObject: Remove unused klass variable from constructors
Jürg Billeter [Mon, 21 Sep 2009 17:37:22 +0000 (19:37 +0200)] 
GObject: Remove unused klass variable from constructors

16 years agoGObject: Reuse parent_class variable in constructors
Jürg Billeter [Sat, 19 Sep 2009 12:40:20 +0000 (14:40 +0200)] 
GObject: Reuse parent_class variable in constructors

Fixes bug 559354.

16 years agoGObject: Do not register nullable struct properties with GObject
Jürg Billeter [Sat, 19 Sep 2009 11:32:56 +0000 (13:32 +0200)] 
GObject: Do not register nullable struct properties with GObject

Fixes part of bug 595587.

16 years agoMore delegate fixes
Jürg Billeter [Sat, 19 Sep 2009 11:26:42 +0000 (13:26 +0200)] 
More delegate fixes

16 years agoFix memory management in generic methods
Jürg Billeter [Sat, 19 Sep 2009 09:17:01 +0000 (11:17 +0200)] 
Fix memory management in generic methods

16 years agoFix handling of owned delegates
Jürg Billeter [Sat, 19 Sep 2009 09:15:27 +0000 (11:15 +0200)] 
Fix handling of owned delegates

Fixes bug 595639.

16 years agoFix nested closures
Jürg Billeter [Fri, 18 Sep 2009 13:17:35 +0000 (15:17 +0200)] 
Fix nested closures

Fixes bug 595538.

16 years agoFix methods returning owned delegates
Jürg Billeter [Fri, 18 Sep 2009 10:49:34 +0000 (12:49 +0200)] 
Fix methods returning owned delegates

16 years agoPost-release version bump
Jürg Billeter [Thu, 17 Sep 2009 22:17:18 +0000 (00:17 +0200)] 
Post-release version bump

16 years agoRelease 0.7.6 0.7.6
Jürg Billeter [Thu, 17 Sep 2009 22:12:39 +0000 (00:12 +0200)] 
Release 0.7.6

16 years agoGAsync: Fix result parameter in .end
Jürg Billeter [Thu, 17 Sep 2009 21:37:43 +0000 (23:37 +0200)] 
GAsync: Fix result parameter in .end

16 years agoGAsync: Fix propagating errors from async methods
Jürg Billeter [Thu, 17 Sep 2009 21:27:46 +0000 (23:27 +0200)] 
GAsync: Fix propagating errors from async methods

16 years agogio-2.0: Fix GAsyncReadyCallback binding
Jürg Billeter [Thu, 17 Sep 2009 21:12:49 +0000 (23:12 +0200)] 
gio-2.0: Fix GAsyncReadyCallback binding

16 years agoFix throwing errors in async methods
Jürg Billeter [Thu, 17 Sep 2009 20:58:13 +0000 (22:58 +0200)] 
Fix throwing errors in async methods

16 years agosdl: Fix SDL_WM_GetCaption and FPSmanager binding
Levi Bard [Thu, 17 Sep 2009 19:25:55 +0000 (21:25 +0200)] 
sdl: Fix SDL_WM_GetCaption and FPSmanager binding

16 years agoFix passing captured variables as out arguments
Jürg Billeter [Thu, 17 Sep 2009 18:35:42 +0000 (20:35 +0200)] 
Fix passing captured variables as out arguments

16 years agoKeep input parameters alive in closures and async methods
Jürg Billeter [Thu, 17 Sep 2009 18:26:43 +0000 (20:26 +0200)] 
Keep input parameters alive in closures and async methods

16 years agoglib-2.0: Support owned delegates with Timeout.add
Jürg Billeter [Thu, 17 Sep 2009 16:42:28 +0000 (18:42 +0200)] 
glib-2.0: Support owned delegates with Timeout.add

16 years agoReport error when capturing uninitialized variables in closures
Jürg Billeter [Thu, 17 Sep 2009 16:32:34 +0000 (18:32 +0200)] 
Report error when capturing uninitialized variables in closures

16 years agoglib-2.0: Support owned delegates with Idle.add
Jürg Billeter [Thu, 17 Sep 2009 14:49:55 +0000 (16:49 +0200)] 
glib-2.0: Support owned delegates with Idle.add

16 years agoFix time_t binding
Jürg Billeter [Thu, 17 Sep 2009 13:27:09 +0000 (15:27 +0200)] 
Fix time_t binding

16 years agoFix methods returning nullable structs
Jürg Billeter [Thu, 17 Sep 2009 13:00:50 +0000 (15:00 +0200)] 
Fix methods returning nullable structs

16 years agoRemove duplicated code for connecting signal handlers
Jürg Billeter [Thu, 17 Sep 2009 12:48:52 +0000 (14:48 +0200)] 
Remove duplicated code for connecting signal handlers

16 years agoEnsure interfaces are declared in header files
Jürg Billeter [Thu, 17 Sep 2009 11:29:15 +0000 (13:29 +0200)] 
Ensure interfaces are declared in header files

16 years agoDo not initialize temporary variables where not necessary
Jürg Billeter [Thu, 17 Sep 2009 11:14:32 +0000 (13:14 +0200)] 
Do not initialize temporary variables where not necessary

16 years agoImprove readability of reference counting
Jürg Billeter [Thu, 17 Sep 2009 10:09:02 +0000 (12:09 +0200)] 
Improve readability of reference counting

Fixes bug 472740.

16 years agoGAsync: Fix calling async methods from async methods without yield
Jürg Billeter [Thu, 17 Sep 2009 09:22:23 +0000 (11:22 +0200)] 
GAsync: Fix calling async methods from async methods without yield

16 years agoFix `this' access in default signal handlers
Yu Feng [Tue, 1 Sep 2009 00:21:45 +0000 (20:21 -0400)] 
Fix `this' access in default signal handlers

Fixes bug 593734.

16 years agovapigen: Fix signals in interfaces
Jürg Billeter [Wed, 16 Sep 2009 22:37:08 +0000 (00:37 +0200)] 
vapigen: Fix signals in interfaces

16 years agoFix closures in constructors
Jürg Billeter [Wed, 16 Sep 2009 22:11:54 +0000 (00:11 +0200)] 
Fix closures in constructors

16 years agoFix closures in creation methods
Jürg Billeter [Wed, 16 Sep 2009 21:48:40 +0000 (23:48 +0200)] 
Fix closures in creation methods

16 years agoNever capture implicit `this' parameter
Jürg Billeter [Wed, 16 Sep 2009 21:35:50 +0000 (23:35 +0200)] 
Never capture implicit `this' parameter

16 years agoD-Bus: Fix name conflicts in async client methods
Jürg Billeter [Wed, 16 Sep 2009 19:12:57 +0000 (21:12 +0200)] 
D-Bus: Fix name conflicts in async client methods

16 years agoFix name conflicts in closures
Jürg Billeter [Wed, 16 Sep 2009 18:13:03 +0000 (20:13 +0200)] 
Fix name conflicts in closures

16 years agoGAsync: Fix name conflicts
Jürg Billeter [Wed, 16 Sep 2009 17:55:22 +0000 (19:55 +0200)] 
GAsync: Fix name conflicts

16 years agolinux: Add mremap(2) call
Julian Andres Klode [Wed, 16 Sep 2009 17:13:32 +0000 (19:13 +0200)] 
linux: Add mremap(2) call

This is a Linux-specific enhancement to the mmap() function
set implemented in posix.vapi.

Signed-off-by: Julian Andres Klode <jak@jak-linux.org>
16 years agoD-Bus: Fix server methods returning structs
Jürg Billeter [Wed, 16 Sep 2009 17:36:03 +0000 (19:36 +0200)] 
D-Bus: Fix server methods returning structs

16 years agoGAsync: Fix missing gio.h include for virtual async methods
Jürg Billeter [Wed, 16 Sep 2009 17:22:01 +0000 (19:22 +0200)] 
GAsync: Fix missing gio.h include for virtual async methods

16 years agoFix closures used as signal handlers
Jürg Billeter [Wed, 16 Sep 2009 17:15:54 +0000 (19:15 +0200)] 
Fix closures used as signal handlers