]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
16 years agoFix delegates returning structs
Jürg Billeter [Wed, 28 Oct 2009 14:09:59 +0000 (15:09 +0100)] 
Fix delegates returning structs

Fixes bug 595610.

16 years agolibgda-4.0: Fix gda_data_model_get_*value_at bindings
Shawn Ferris [Tue, 27 Oct 2009 17:20:43 +0000 (18:20 +0100)] 
libgda-4.0: Fix gda_data_model_get_*value_at bindings

Fixes bug 599523.

16 years agogtk+-2.0: Update to GTK+ 2.18
Matias De la Puente [Tue, 27 Oct 2009 17:08:11 +0000 (18:08 +0100)] 
gtk+-2.0: Update to GTK+ 2.18

Fixes bug 599607.

16 years agogtk+-2.0: Fix GtkScale::format-value binding
Jürg Billeter [Tue, 27 Oct 2009 17:02:52 +0000 (18:02 +0100)] 
gtk+-2.0: Fix GtkScale::format-value binding

Fixes bug 599727.

16 years agoGASync: Do not declare async data struct too early
Jürg Billeter [Tue, 27 Oct 2009 16:35:58 +0000 (17:35 +0100)] 
GASync: Do not declare async data struct too early

Async data struct declaration depends on declarations of local
variable types and thus must be appended after visiting the method
body.

Fixes bug 599767.

16 years agoClean up unused GError in case of catch statement without arguments
Alexander Bokovoy [Sun, 25 Oct 2009 09:21:40 +0000 (11:21 +0200)] 
Clean up unused GError in case of catch statement without arguments

When catch statement has no arguments, no access to a GError is possible
from Vala source code. Therefore, do not create temporary variable which
is not used. Also, clear error object as it is not passed upwards then.

16 years agox11: Add XGrabKey and XKeysymToKeycode bindings
Jürg Billeter [Mon, 26 Oct 2009 17:44:10 +0000 (18:44 +0100)] 
x11: Add XGrabKey and XKeysymToKeycode bindings

16 years agolibwnck-1.0: Fix WnckScreen and WnckWindow bindings
Jürg Billeter [Mon, 26 Oct 2009 17:43:12 +0000 (18:43 +0100)] 
libwnck-1.0: Fix WnckScreen and WnckWindow bindings

16 years agoD-Bus: Fix signals with string array parameters in dynamic clients df58c3a91261eaae3d7cadea02ed1ee437ede2a7
Jürg Billeter [Thu, 22 Oct 2009 20:05:16 +0000 (22:05 +0200)] 
D-Bus: Fix signals with string array parameters in dynamic clients

Fixes bug 599071.

16 years agozlib: Various improvements
Jörn Magens [Thu, 22 Oct 2009 19:16:24 +0000 (21:16 +0200)] 
zlib: Various improvements

Fixes bug 599014.

16 years agoDeprecate assigning to construct-only properties
Jürg Billeter [Wed, 21 Oct 2009 21:53:58 +0000 (23:53 +0200)] 
Deprecate assigning to construct-only properties

Object (property: value) constructor chain up is recommended to set
construct-only properties.

16 years agoGObject: Check arguments of Object constructor chain up
Jürg Billeter [Wed, 21 Oct 2009 21:17:54 +0000 (23:17 +0200)] 
GObject: Check arguments of Object constructor chain up

16 years agoSupport named arguments with ellipsis parameters
Jürg Billeter [Wed, 21 Oct 2009 20:38:52 +0000 (22:38 +0200)] 
Support named arguments with ellipsis parameters

16 years agoSupport (!) non-null casts
Jürg Billeter [Wed, 21 Oct 2009 19:40:36 +0000 (21:40 +0200)] 
Support (!) non-null casts

16 years agoSupport constructor chain up to GObject using Object (...)
Jürg Billeter [Wed, 21 Oct 2009 19:28:28 +0000 (21:28 +0200)] 
Support constructor chain up to GObject using Object (...)

16 years agoCheck number of generic type arguments of base types
Jürg Billeter [Tue, 20 Oct 2009 20:08:52 +0000 (22:08 +0200)] 
Check number of generic type arguments of base types

Fixes bug 598658.

16 years agoRegister all types when using [ModuleInit]
Jürg Billeter [Tue, 20 Oct 2009 19:56:36 +0000 (21:56 +0200)] 
Register all types when using [ModuleInit]

Fixes bug 553928.

16 years agoFix error messages for unsupported signal parameters
Jürg Billeter [Tue, 20 Oct 2009 16:38:49 +0000 (18:38 +0200)] 
Fix error messages for unsupported signal parameters

Fixes bug 598865.

16 years agoglib-2.0: Fix GMarkupParser binding
Jürg Billeter [Tue, 20 Oct 2009 15:41:04 +0000 (17:41 +0200)] 
glib-2.0: Fix GMarkupParser binding

As the GMarkupParser struct only stores function pointers and no
targets, no destroy function is necessary.

Fixes bug 595925.

16 years agoD-Bus: Fix error handling in static async clients
Jürg Billeter [Mon, 19 Oct 2009 13:21:39 +0000 (15:21 +0200)] 
D-Bus: Fix error handling in static async clients

16 years agoAllow use of .gir directly from valac
Ryan Lortie [Sat, 17 Oct 2009 22:46:15 +0000 (18:46 -0400)] 
Allow use of .gir directly from valac

  - add a --girdir parameter to the compiler
  - make --pkg fall back to searching for a .gir file if it can't find
    a .vapi file

also:

  - change the search order for .vapi files: XDG dirs are searched
    before the compiled-in (--prefix) data directory, now.

Fixes bug 598817.

16 years agoUse strict non-null types with --enable-experimental-non-null 80c18a1d1ff357be7f1d0f50f1aa331f206a0a0a
Jürg Billeter [Sun, 18 Oct 2009 14:04:08 +0000 (16:04 +0200)] 
Use strict non-null types with --enable-experimental-non-null

Do not consider local variables nullable or nullable types compatible
to non-null types when using --enable-experimental-non-null.

16 years agoDo not split conditional expressions in asserts
Jürg Billeter [Sun, 18 Oct 2009 12:41:17 +0000 (14:41 +0200)] 
Do not split conditional expressions in asserts

Fixes bug 577619.

16 years agoFix capturing arrays and delegates
Jürg Billeter [Sat, 17 Oct 2009 19:37:05 +0000 (21:37 +0200)] 
Fix capturing arrays and delegates

Fixes bug 598738.

16 years agovapigen: Don't emit ".@new" on default constructor
Ryan Lortie [Sat, 17 Oct 2009 15:14:13 +0000 (11:14 -0400)] 
vapigen: Don't emit ".@new" on default constructor

Special-case a constructor name of "new" appearing in a .gir file to be
the default constructor.

16 years agoGAsync: Fix non-closure lambda expressions in instance methods
Jürg Billeter [Fri, 16 Oct 2009 15:59:30 +0000 (17:59 +0200)] 
GAsync: Fix non-closure lambda expressions in instance methods

Fixes bug 598697.

16 years agoGAsync: Fix abstract interface implementations
Jürg Billeter [Fri, 16 Oct 2009 15:56:19 +0000 (17:56 +0200)] 
GAsync: Fix abstract interface implementations

Fixes bug 598698.

16 years agoVisit type parameters of generic methods
Didier 'Ptitjes [Fri, 16 Oct 2009 13:25:01 +0000 (15:25 +0200)] 
Visit type parameters of generic methods

16 years agoGAsync: Fix object creation expressions throwing errors
Jürg Billeter [Fri, 16 Oct 2009 13:39:20 +0000 (15:39 +0200)] 
GAsync: Fix object creation expressions throwing errors

Fixes bug 598677.

16 years agoCheck signature of overriding methods for async
Frederik 'playya' Sdun [Tue, 13 Oct 2009 16:34:03 +0000 (18:34 +0200)] 
Check signature of overriding methods for async

Signed-off-by: Frederik 'playya' Sdun <Frederik.Sdun@googlemail.com>
16 years agogtk+-2.0: Fix gtk_tree_view_set_row_separator_func binding
Jürg Billeter [Thu, 15 Oct 2009 21:07:06 +0000 (23:07 +0200)] 
gtk+-2.0: Fix gtk_tree_view_set_row_separator_func binding

Fixes bug 596913.

16 years agoReport error when signal exists more than once in type hierarchy
Jürg Billeter [Thu, 15 Oct 2009 19:34:55 +0000 (21:34 +0200)] 
Report error when signal exists more than once in type hierarchy

16 years agoWarn if signal hides member in base class
Jürg Billeter [Thu, 15 Oct 2009 19:27:08 +0000 (21:27 +0200)] 
Warn if signal hides member in base class

16 years agoD-Bus: dynamic wrapper functions are always static
Thijs Vermeir [Wed, 14 Oct 2009 10:39:14 +0000 (12:39 +0200)] 
D-Bus: dynamic wrapper functions are always static

16 years agoAdd to_uint64 to string class
Philipp Zabel [Tue, 13 Oct 2009 19:49:04 +0000 (21:49 +0200)] 
Add to_uint64 to string class

16 years agocairo: Add cairo_rectangle struct and set cairo_matrix_t has not type id
Nicolas Bruguier [Mon, 12 Oct 2009 16:31:01 +0000 (18:31 +0200)] 
cairo: Add cairo_rectangle struct and set cairo_matrix_t has not type id

16 years agoposix: Add atoi/atol/atoll/strlen bindings
pancake [Mon, 12 Oct 2009 21:20:45 +0000 (23:20 +0200)] 
posix: Add atoi/atol/atoll/strlen bindings

16 years agoposix: Add FILE bindings
pancake [Mon, 12 Oct 2009 21:07:15 +0000 (23:07 +0200)] 
posix: Add FILE bindings

16 years agoGenie: Handle casts involving arrays/lists/dicts correctly
Jamie McCracken [Mon, 12 Oct 2009 20:17:46 +0000 (16:17 -0400)] 
Genie: Handle casts involving arrays/lists/dicts correctly

16 years agoposix: Support string concatenation in POSIX profile
pancake [Mon, 12 Oct 2009 19:33:08 +0000 (21:33 +0200)] 
posix: Support string concatenation in POSIX profile

16 years agoposix: Fix dup0 wrappers in POSIX profile
Jürg Billeter [Mon, 12 Oct 2009 19:31:18 +0000 (21:31 +0200)] 
posix: Fix dup0 wrappers in POSIX profile

16 years agoposix: Fix array creation and destruction in POSIX profile
Jürg Billeter [Mon, 12 Oct 2009 19:25:49 +0000 (21:25 +0200)] 
posix: Fix array creation and destruction in POSIX profile

Based on patch by pancake.

16 years agoAdd `asm` to the list of C99 keywords
pancake [Mon, 12 Oct 2009 18:39:48 +0000 (20:39 +0200)] 
Add `asm` to the list of C99 keywords

Fixes bug 597354.

16 years agoDo not use Gee namespace to avoid conflict with libgee
Jürg Billeter [Mon, 12 Oct 2009 18:15:09 +0000 (20:15 +0200)] 
Do not use Gee namespace to avoid conflict with libgee

16 years agoD-Bus: Support D-Bus interfaces with prerequisites
Jürg Billeter [Mon, 12 Oct 2009 15:40:58 +0000 (17:40 +0200)] 
D-Bus: Support D-Bus interfaces with prerequisites

Fixes bug 598073.

16 years agoFix generic type resolution with nested generic types in base types
Jürg Billeter [Sun, 11 Oct 2009 20:52:48 +0000 (22:52 +0200)] 
Fix generic type resolution with nested generic types in base types

16 years agoFix memory management of string templates
Jürg Billeter [Sun, 11 Oct 2009 18:31:20 +0000 (20:31 +0200)] 
Fix memory management of string templates

16 years agoAllow recursive structs when nullable
Marc-André Lureau [Fri, 9 Oct 2009 10:09:03 +0000 (12:09 +0200)] 
Allow recursive structs when nullable

That way:

struct S {
       S? nullable;
}

16 years agoFix type declaration for cast expressions
Jürg Billeter [Sun, 11 Oct 2009 09:42:52 +0000 (11:42 +0200)] 
Fix type declaration for cast expressions

16 years agoGenerate class struct when using member initializers for fields
Jürg Billeter [Sun, 11 Oct 2009 09:39:02 +0000 (11:39 +0200)] 
Generate class struct when using member initializers for fields

Fixes bug 598060.

16 years agogobject-2.0.vapi: Add get_class method that returns an ObjectClass
John Carr [Sat, 10 Oct 2009 15:35:57 +0000 (17:35 +0200)] 
gobject-2.0.vapi: Add get_class method that returns an ObjectClass

16 years agoInsert "%s" argument in printf calls with non-literal format string
Jürg Billeter [Sat, 10 Oct 2009 13:31:01 +0000 (15:31 +0200)] 
Insert "%s" argument in printf calls with non-literal format string

16 years agoAdd support for string templates
Jürg Billeter [Sat, 10 Oct 2009 11:40:04 +0000 (13:40 +0200)] 
Add support for string templates

16 years agoglib-2.0: Add ScannerMsgFunc and Scanner.msg_handler
Julian Andres Klode [Tue, 6 Oct 2009 19:08:08 +0000 (21:08 +0200)] 
glib-2.0: Add ScannerMsgFunc and Scanner.msg_handler

16 years agovalac: Add --use-header command-line option
Jürg Billeter [Fri, 9 Oct 2009 18:40:03 +0000 (20:40 +0200)] 
valac: Add --use-header command-line option

16 years agoUse g_set_error_literal in dbus proxy methods
Sebastian Pölsterl [Fri, 9 Oct 2009 16:26:39 +0000 (18:26 +0200)] 
Use g_set_error_literal in dbus proxy methods

This fixes a compiler warning about invalid format string.

16 years agogio-2.0: Fix g_vfs_get_* bindings
Jürg Billeter [Thu, 8 Oct 2009 18:25:48 +0000 (20:25 +0200)] 
gio-2.0: Fix g_vfs_get_* bindings

16 years agoFix verbatim strings ending with `"`
Frederik Sdun [Wed, 7 Oct 2009 09:19:22 +0000 (11:19 +0200)] 
Fix verbatim strings ending with `"`

Signed-off-by: Frederik 'playya' Sdun <Frederik.Sdun@googlemail.com>
16 years agoglib-2.0: Add g_ascii_strcasecmp binding
Jürg Billeter [Tue, 6 Oct 2009 14:36:04 +0000 (16:36 +0200)] 
glib-2.0: Add g_ascii_strcasecmp binding

16 years agoGAsync: Fix async methods with delegate parameters
Jürg Billeter [Mon, 5 Oct 2009 16:49:52 +0000 (18:49 +0200)] 
GAsync: Fix async methods with delegate parameters

Fixes bug 597294.

16 years agoFix owned default arguments
Jürg Billeter [Mon, 5 Oct 2009 15:14:56 +0000 (17:14 +0200)] 
Fix owned default arguments

Fixes bug 597426.

16 years agoFix return statements in creation methods
Jürg Billeter [Fri, 2 Oct 2009 22:17:38 +0000 (00:17 +0200)] 
Fix return statements in creation methods

Fixes bug 597161.

16 years agoFix generated code for stack-allocated arrays
Jürg Billeter [Fri, 2 Oct 2009 21:46:29 +0000 (23:46 +0200)] 
Fix generated code for stack-allocated arrays

Fixes bug 595751.

16 years agox11: Fix XWindowAttributes
Michael B. Trausch [Fri, 2 Oct 2009 05:29:50 +0000 (01:29 -0400)] 
x11: Fix XWindowAttributes

Fixes bug 597068.

16 years agoGAsync: Fix connecting signal handlers in async methods
Jürg Billeter [Fri, 2 Oct 2009 20:11:11 +0000 (22:11 +0200)] 
GAsync: Fix connecting signal handlers in async methods

Fixes bug 595755.

16 years agoFix memory management for closures used as signal handlers
Jürg Billeter [Fri, 2 Oct 2009 19:50:28 +0000 (21:50 +0200)] 
Fix memory management for closures used as signal handlers

Fixes bug 597155.

16 years agoReport error on unexpected closing brace at end of file
Jürg Billeter [Thu, 1 Oct 2009 17:58:43 +0000 (19:58 +0200)] 
Report error on unexpected closing brace at end of file

16 years agoglib-2.0: Add default arguments for g_main_loop_new binding
Jürg Billeter [Thu, 1 Oct 2009 17:43:53 +0000 (19:43 +0200)] 
glib-2.0: Add default arguments for g_main_loop_new binding

16 years agoglib-2.0: Fix g_regex_get_pattern binding
Michael 'Mickey' Lauer [Thu, 1 Oct 2009 11:52:44 +0000 (13:52 +0200)] 
glib-2.0: Fix g_regex_get_pattern binding

16 years agoglib-2.0: Use enum for ByteOrder
Jürg Billeter [Thu, 1 Oct 2009 09:02:10 +0000 (11:02 +0200)] 
glib-2.0: Use enum for ByteOrder

16 years agogstreamer-0.10: Update to GStreamer 0.10.24
Jürg Billeter [Thu, 1 Oct 2009 06:50:43 +0000 (08:50 +0200)] 
gstreamer-0.10: Update to GStreamer 0.10.24

16 years agogobject-introspection: Fix memory leak in GIdlWriter
David Binderman [Wed, 30 Sep 2009 18:01:35 +0000 (20:01 +0200)] 
gobject-introspection: Fix memory leak in GIdlWriter

Fixes bug 596806.

16 years agoGError: Fix error propagation in creation methods
Jürg Billeter [Wed, 30 Sep 2009 17:28:37 +0000 (19:28 +0200)] 
GError: Fix error propagation in creation methods

16 years agovapicheck: Fix unhandled error
Jürg Billeter [Wed, 30 Sep 2009 17:32:46 +0000 (19:32 +0200)] 
vapicheck: Fix unhandled error

16 years agoFix detection of unhandled errors in blocks
Jürg Billeter [Wed, 30 Sep 2009 17:24:06 +0000 (19:24 +0200)] 
Fix detection of unhandled errors in blocks

16 years agoUpdate gobject-introspection/grealpath.h from gobject-introspectio
Sebastian Dröge [Wed, 30 Sep 2009 14:11:09 +0000 (16:11 +0200)] 
Update gobject-introspection/grealpath.h from gobject-introspectio

This fixes the build on Windows and GNU/Hurd

16 years agoD-Bus: Fix marshalling of GLib.Value parameters
Jürg Billeter [Wed, 30 Sep 2009 12:28:41 +0000 (14:28 +0200)] 
D-Bus: Fix marshalling of GLib.Value parameters

Fixes bug 596862.

16 years agoReport error when trying to capture ref or out parameter
Jürg Billeter [Wed, 30 Sep 2009 10:10:05 +0000 (12:10 +0200)] 
Report error when trying to capture ref or out parameter

16 years agoAdd test for bug 579101
Jürg Billeter [Wed, 30 Sep 2009 08:52:27 +0000 (10:52 +0200)] 
Add test for bug 579101

16 years agoDo not use char for non-ASCII character literals
Jürg Billeter [Tue, 29 Sep 2009 20:37:20 +0000 (22:37 +0200)] 
Do not use char for non-ASCII character literals

Fixes bug 596785.

16 years agoFix memory management when returning captured variables
Jürg Billeter [Tue, 29 Sep 2009 20:29:58 +0000 (22:29 +0200)] 
Fix memory management when returning captured variables

Fixes bug 596726.

16 years agoFix return type of closure unref function
Jürg Billeter [Tue, 29 Sep 2009 20:25:24 +0000 (22:25 +0200)] 
Fix return type of closure unref function

16 years agoSupport postfix operator on array members
Jürg Billeter [Tue, 29 Sep 2009 20:19:18 +0000 (22:19 +0200)] 
Support postfix operator on array members

Fixes bug 596637.

16 years agoFix delegate variables in GObject creation methods
Jürg Billeter [Mon, 28 Sep 2009 16:01:46 +0000 (18:01 +0200)] 
Fix delegate variables in GObject creation methods

Fixes bug 596621.

16 years agoPost-release version bump
Jürg Billeter [Sun, 27 Sep 2009 21:07:14 +0000 (23:07 +0200)] 
Post-release version bump

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>