]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
15 years agoGIR parser: Always add the cname attribute to generated methods
Adrien Bustany [Thu, 11 Feb 2010 17:42:00 +0000 (14:42 -0300)] 
GIR parser: Always add the cname attribute to generated methods

15 years agoFix unsafe C generated when copying array property
Marc-André Lureau [Sat, 23 Jan 2010 01:57:32 +0000 (02:57 +0100)] 
Fix unsafe C generated when copying array property

Argument evaluation order is not guaranteed in C.

Fixes bug 607280.

15 years agoSupport `in' operator for arrays
Robin Sonefors [Wed, 20 Jan 2010 04:41:32 +0000 (05:41 +0100)] 
Support `in' operator for arrays

This is already supported for some non-array types, so this patch
merely extends it.

Fixes bug 602511.

15 years agoglib-2.0: Fix g_utf8_validate binding
Jürg Billeter [Thu, 11 Feb 2010 10:15:38 +0000 (11:15 +0100)] 
glib-2.0: Fix g_utf8_validate binding

15 years agoFix closures in constructors
Jürg Billeter [Wed, 10 Feb 2010 09:55:34 +0000 (10:55 +0100)] 
Fix closures in constructors

Fixes bug 602138.

15 years agoFix error handling checks in switch statements
Jürg Billeter [Wed, 10 Feb 2010 14:38:02 +0000 (15:38 +0100)] 
Fix error handling checks in switch statements

15 years agoD-Bus: Fix memory leaks when handling signals in static clients
Jürg Billeter [Wed, 10 Feb 2010 12:28:09 +0000 (13:28 +0100)] 
D-Bus: Fix memory leaks when handling signals in static clients

15 years agoD-Bus: Fix memory leaks when calling async methods in static clients
Jürg Billeter [Wed, 10 Feb 2010 11:57:36 +0000 (12:57 +0100)] 
D-Bus: Fix memory leaks when calling async methods in static clients

15 years agoGObject: Fix invalid code with string-derived properties
Jürg Billeter [Wed, 10 Feb 2010 10:53:46 +0000 (11:53 +0100)] 
GObject: Fix invalid code with string-derived properties

Fixes bug 609475.

15 years agoAllow using array element access as ref and out method arguments
Jürg Billeter [Wed, 10 Feb 2010 09:59:51 +0000 (10:59 +0100)] 
Allow using array element access as ref and out method arguments

Fixes bug 609388.

15 years agopurple bindings: Add files to Makefile.am
Adrien Bustany [Mon, 8 Feb 2010 19:12:51 +0000 (16:12 -0300)] 
purple bindings: Add files to Makefile.am

15 years agopurple bindings: Put the .deps file in the right folder
Adrien Bustany [Mon, 8 Feb 2010 19:11:41 +0000 (16:11 -0300)] 
purple bindings: Put the .deps file in the right folder

15 years agoAdd bindings for libpurple
Adrien Bustany [Mon, 8 Feb 2010 19:09:43 +0000 (16:09 -0300)] 
Add bindings for libpurple

15 years agolinux: Do not use doc comment for file header comment
Jürg Billeter [Mon, 8 Feb 2010 09:38:47 +0000 (10:38 +0100)] 
linux: Do not use doc comment for file header comment

15 years agodbus-glib-1: Add bindings for constants from libdbus
Jürg Billeter [Mon, 8 Feb 2010 07:14:26 +0000 (08:14 +0100)] 
dbus-glib-1: Add bindings for constants from libdbus

Fixes bug 598629.

15 years agoD-Bus: Move DataType.get_type_signature to D-Bus modules
Jürg Billeter [Mon, 8 Feb 2010 07:07:26 +0000 (08:07 +0100)] 
D-Bus: Move DataType.get_type_signature to D-Bus modules

Fixes bug 607558.

15 years agoglib-2.0: Add g_main_context_*_thread_default bindings
Jürg Billeter [Mon, 8 Feb 2010 06:55:00 +0000 (07:55 +0100)] 
glib-2.0: Add g_main_context_*_thread_default bindings

15 years agoFix crash when opening file fails
Jürg Billeter [Sun, 7 Feb 2010 10:23:48 +0000 (11:23 +0100)] 
Fix crash when opening file fails

Based on patch by pancake, fixes bug 606837.

15 years agoDo not use string.replace
Jürg Billeter [Fri, 5 Feb 2010 06:58:15 +0000 (07:58 +0100)] 
Do not use string.replace

GRegex requires GLib 2.14.

15 years agoPost-release version bump
Jürg Billeter [Thu, 4 Feb 2010 20:22:35 +0000 (21:22 +0100)] 
Post-release version bump

15 years agoRelease 0.7.10 0.7.10
Jürg Billeter [Thu, 4 Feb 2010 19:38:10 +0000 (20:38 +0100)] 
Release 0.7.10

15 years agoDo not check unexpected errors if there is a general catch clause
Jürg Billeter [Thu, 4 Feb 2010 19:55:16 +0000 (20:55 +0100)] 
Do not check unexpected errors if there is a general catch clause

Fixes bug 608553.

15 years agoDo not check unexpected errors within finally blocks
Jürg Billeter [Thu, 4 Feb 2010 19:46:02 +0000 (20:46 +0100)] 
Do not check unexpected errors within finally blocks

Jump out of finally block is not supported.

15 years agoglib-2.0: Include stdlib.h when using abs function family
Jürg Billeter [Thu, 4 Feb 2010 19:00:18 +0000 (20:00 +0100)] 
glib-2.0: Include stdlib.h when using abs function family

15 years agoInclude string.h when using strcmp
Jürg Billeter [Thu, 4 Feb 2010 18:58:05 +0000 (19:58 +0100)] 
Include string.h when using strcmp

15 years agoFix symbol resolving in enums
Jürg Billeter [Thu, 4 Feb 2010 18:29:03 +0000 (19:29 +0100)] 
Fix symbol resolving in enums

15 years agoFix crash on invalid field initializer
Jürg Billeter [Thu, 4 Feb 2010 18:25:39 +0000 (19:25 +0100)] 
Fix crash on invalid field initializer

Fixes bug 595725.

15 years agoGAsync: Support async callback from closure
Jürg Billeter [Thu, 4 Feb 2010 18:02:44 +0000 (19:02 +0100)] 
GAsync: Support async callback from closure

Fixes bug 608184.

15 years agoFix symbol resolving for base types of structs
Jürg Billeter [Thu, 4 Feb 2010 16:20:08 +0000 (17:20 +0100)] 
Fix symbol resolving for base types of structs

Fixes bug 607955.

15 years agolinux: bind mount(2) and friends as well as the rest of net/if.h, net/route.h
Michael 'Mickey' Lauer [Thu, 4 Feb 2010 00:15:48 +0000 (01:15 +0100)] 
linux: bind mount(2) and friends as well as the rest of net/if.h, net/route.h

15 years agoD-Bus: Fix crash on properties without set accessors
Jürg Billeter [Wed, 3 Feb 2010 21:50:13 +0000 (22:50 +0100)] 
D-Bus: Fix crash on properties without set accessors

15 years agodbus-glib-1: Fix type id of BusName
Jürg Billeter [Wed, 3 Feb 2010 21:11:15 +0000 (22:11 +0100)] 
dbus-glib-1: Fix type id of BusName

15 years agodbus-glib-1: Fix marshalling of ObjectPath
Jürg Billeter [Wed, 3 Feb 2010 21:10:11 +0000 (22:10 +0100)] 
dbus-glib-1: Fix marshalling of ObjectPath

15 years agoUse intermediate variables to initialize static structs
Marc-André Lureau [Thu, 28 Jan 2010 00:01:04 +0000 (01:01 +0100)] 
Use intermediate variables to initialize static structs

Fixes bug 608250.

15 years agoFix GIR writing to only add <include> lines for API dependencies
Rob Taylor [Tue, 2 Feb 2010 22:16:30 +0000 (22:16 +0000)] 
Fix GIR writing to only add <include> lines for API dependencies

This refactors GIRWriter quite a bit so we can collect the GIR
namespace dependencies when writing the type names, so only
namespaces that are actually used get <include> lines.

15 years agoposix: bind struct sockaddr_in
Michael 'Mickey' Lauer [Wed, 3 Feb 2010 17:30:22 +0000 (18:30 +0100)] 
posix: bind struct sockaddr_in

15 years agolibsoup-2.4: nullability fixes for Soup.MessageHeaders methods
Evan Nemerson [Wed, 3 Feb 2010 08:59:56 +0000 (00:59 -0800)] 
libsoup-2.4: nullability fixes for Soup.MessageHeaders methods

Fixes bug 604907.

15 years agolibxml-2.0: many binding improvements, add Html namespace
Luca Bruno [Wed, 3 Feb 2010 08:33:57 +0000 (00:33 -0800)] 
libxml-2.0: many binding improvements, add Html namespace

Fixes bug 606633.

15 years agoChange many static delegates to has_target = false
Evan Nemerson [Sun, 31 Jan 2010 20:51:19 +0000 (12:51 -0800)] 
Change many static delegates to has_target = false

15 years agocairo: Use closure param to ReadFunc and WriteFunc for delegate target
Evan Nemerson [Sun, 31 Jan 2010 20:48:19 +0000 (12:48 -0800)] 
cairo: Use closure param to ReadFunc and WriteFunc for delegate target

15 years agotracker-indexer-module-1.0: regenerate
Evan Nemerson [Wed, 27 Jan 2010 08:30:06 +0000 (00:30 -0800)] 
tracker-indexer-module-1.0: regenerate

15 years agodbus-glib-1: bind more lowlevel (raw) dbus entities from libdbus
Michael 'Mickey' Lauer [Mon, 1 Feb 2010 23:14:33 +0000 (00:14 +0100)] 
dbus-glib-1: bind more lowlevel (raw) dbus entities from libdbus

This allows us to do more advanced things such as constructing
or inspecting method calls part by part.

15 years agoGAsync: Support calling async methods that finish immediately
Jürg Billeter [Mon, 1 Feb 2010 19:03:38 +0000 (20:03 +0100)] 
GAsync: Support calling async methods that finish immediately

Fixes bug 608708.

15 years agoFix protected member access check in inner classes
Jürg Billeter [Mon, 1 Feb 2010 16:39:51 +0000 (17:39 +0100)] 
Fix protected member access check in inner classes

15 years agoGIR Namespace support
Rob Taylor [Sun, 31 Jan 2010 16:11:00 +0000 (16:11 +0000)] 
GIR Namespace support

This patch introduces two new CCode annotations for use in VAPI files,
gir_namespace and gir_version. This allows us to correctly map vala
namespaces to gobject-introspection namespaces when generating GIR
files.

The mapping is actually done on a SourceFile level. This allows us to
work around cases where one vala namespace maps into multiple GIR
namespaces (in particular, GLib vs GLib and GObject).

In the absense of annotations, the old 'guess it' method will be
applied.

This commit also adds annotations to some core vapis.

Fixes bug 584683.

15 years agoDo not consider struct creation as chain-up
Jürg Billeter [Mon, 1 Feb 2010 11:18:31 +0000 (12:18 +0100)] 
Do not consider struct creation as chain-up

Fixes bug 608548.

15 years agoposix: use new syntax for delegates without target
Michael 'Mickey' Lauer [Sun, 31 Jan 2010 10:11:26 +0000 (11:11 +0100)] 
posix: use new syntax for delegates without target

15 years agoFix foreach for inline-allocated arrays
Jürg Billeter [Fri, 29 Jan 2010 21:35:50 +0000 (22:35 +0100)] 
Fix foreach for inline-allocated arrays

Fixes bug 607547.

15 years agoInitialize array_size in init_fragment
Marc-André Lureau [Fri, 22 Jan 2010 00:18:52 +0000 (01:18 +0100)] 
Initialize array_size in init_fragment

Fixes bug 607714.

15 years agoD-Bus: Fix access to array structs members in static clients
Marc-André Lureau [Fri, 22 Jan 2010 19:49:20 +0000 (20:49 +0100)] 
D-Bus: Fix access to array structs members in static clients

Fixes bug 607799.

15 years agoPerform flow analysis on lambda expressions
Marc-André Lureau [Sun, 24 Jan 2010 17:41:44 +0000 (18:41 +0100)] 
Perform flow analysis on lambda expressions

Fixes bug 606478.

15 years agoReport error for instance methods used as delegates without target
Jürg Billeter [Fri, 29 Jan 2010 20:24:03 +0000 (21:24 +0100)] 
Report error for instance methods used as delegates without target

15 years agoImplement coalescing operator ??
Jürg Billeter [Wed, 27 Jan 2010 01:13:24 +0000 (02:13 +0100)] 
Implement coalescing operator ??

Based on patch by Marc-André Lureau, fixes bug 580816.

15 years agoEnforce protected member restrictions
Marc-André Lureau [Thu, 28 Jan 2010 23:56:46 +0000 (00:56 +0100)] 
Enforce protected member restrictions

Fixes bug 592577.

15 years agoError on usage of protected outside classes and interfaces
Marc-André Lureau [Thu, 28 Jan 2010 23:54:08 +0000 (00:54 +0100)] 
Error on usage of protected outside classes and interfaces

Fixes bug 601347.

15 years agoD-Bus: Fix output array parameters in servers
Jürg Billeter [Fri, 29 Jan 2010 17:47:52 +0000 (18:47 +0100)] 
D-Bus: Fix output array parameters in servers

15 years agoFix relational operations involving nullable types
Jürg Billeter [Fri, 29 Jan 2010 17:35:32 +0000 (18:35 +0100)] 
Fix relational operations involving nullable types

Fixes bug 600652.

15 years agoSupport equality checking on nullable boolean and numeric types
Jürg Billeter [Fri, 29 Jan 2010 16:23:29 +0000 (17:23 +0100)] 
Support equality checking on nullable boolean and numeric types

Fixes bug 608434.

15 years agoRespect signal accessibility
Marc-André Lureau [Thu, 28 Jan 2010 21:20:45 +0000 (22:20 +0100)] 
Respect signal accessibility

This is at the vala level. GObject signals are somewhat public,
if you get the name or signal id, by introspection for example.

Fixes bug 592579.

15 years agoSupport chaining up to constructors in structs
Jürg Billeter [Fri, 29 Jan 2010 15:16:52 +0000 (16:16 +0100)] 
Support chaining up to constructors in structs

Based on patch by Marc-André Lureau, fixes bug 606482.

15 years agoDo not put new in front of struct creation in code writer
Marc-André Lureau [Sat, 23 Jan 2010 21:40:16 +0000 (22:40 +0100)] 
Do not put new in front of struct creation in code writer

Fixes bug 607937.

15 years agoRemove traces of NoArrayLength, and warn on its usage
Marc-André Lureau [Fri, 22 Jan 2010 01:12:41 +0000 (02:12 +0100)] 
Remove traces of NoArrayLength, and warn on its usage

Fixes bug 607567.

15 years agoConvert conditions in if statements to bool if necessary
Jürg Billeter [Fri, 29 Jan 2010 14:13:24 +0000 (15:13 +0100)] 
Convert conditions in if statements to bool if necessary

Fixes part of bug 608434.

15 years agoFix generic type resolution for arrays of generic types
Luca Bruno [Sun, 24 Jan 2010 00:27:42 +0000 (01:27 +0100)] 
Fix generic type resolution for arrays of generic types

Arrays of generic types are still only supported for pointer-based
element types.

Fixes bug 568972.

15 years agoInitialize DelegateType local variables
Marc-André Lureau [Sun, 24 Jan 2010 00:43:05 +0000 (01:43 +0100)] 
Initialize DelegateType local variables

Fixes bug 607902.

15 years agoUpdate rest.vapi file
Adrien Bustany [Thu, 28 Jan 2010 23:28:06 +0000 (20:28 -0300)] 
Update rest.vapi file

15 years agoFix cheader_filename in rest-custom.vala
Adrien Bustany [Thu, 28 Jan 2010 23:19:01 +0000 (20:19 -0300)] 
Fix cheader_filename in rest-custom.vala

Automatic generation generates the wrong header filename for RestProxy

15 years agoRestore missing function in rest.vapi
Adrien Bustany [Thu, 28 Jan 2010 22:58:42 +0000 (19:58 -0300)] 
Restore missing function in rest.vapi

The last commit on rest.vapi removed rest_proxy_new_call, probably because
the -custom file was omitted during generation. This commit restores it.

15 years agoFix bug number used in test for bug 567181
Jürg Billeter [Wed, 27 Jan 2010 20:49:25 +0000 (21:49 +0100)] 
Fix bug number used in test for bug 567181

15 years agoGError: Fix leak when throwing an error in the constructor
Thijs Vermeir [Fri, 30 Oct 2009 22:46:34 +0000 (23:46 +0100)] 
GError: Fix leak when throwing an error in the constructor

Fixes bug 567818.

15 years agoDo not generate unnecessary error check after throw statement
Jürg Billeter [Wed, 27 Jan 2010 17:44:36 +0000 (18:44 +0100)] 
Do not generate unnecessary error check after throw statement

Fixes bug 589942.

15 years agoDistinguish between unhandled and unexpected errors
Jürg Billeter [Wed, 27 Jan 2010 17:30:08 +0000 (18:30 +0100)] 
Distinguish between unhandled and unexpected errors

This fixes C warnings due to unexpected error handling.

15 years agoglib-2.0: revert previous patch against MarkupParser callbacks.
Evan Nemerson [Tue, 26 Jan 2010 22:51:22 +0000 (14:51 -0800)] 
glib-2.0: revert previous patch against MarkupParser callbacks.

The new version sacrificed usability for theoretical correctness, and
was not well received.

15 years agoWarn when using deprecated static modifier on delegates
Jürg Billeter [Tue, 26 Jan 2010 22:24:26 +0000 (23:24 +0100)] 
Warn when using deprecated static modifier on delegates

15 years agoglib-2.0: fix MarkupParser callbacks.
Jiří Zárevúcky [Tue, 26 Jan 2010 19:52:45 +0000 (11:52 -0800)] 
glib-2.0: fix MarkupParser callbacks.

Fixes bug 607195.

15 years agoGenie: Removed unused FOREACH keyword
Jamie McCracken [Tue, 26 Jan 2010 16:00:16 +0000 (11:00 -0500)] 
Genie: Removed unused FOREACH keyword
Patch from Sandino Flores Moreno <tigrux@gmail.com>

15 years agogtk+-2.0: Fix gtk_combo_box_set_row_separator_func binding
Evan Nemerson [Mon, 25 Jan 2010 20:17:11 +0000 (12:17 -0800)] 
gtk+-2.0: Fix gtk_combo_box_set_row_separator_func binding

Fixes bug 606919.

15 years agogtk+-2.0: add missing type list for gtk_icon_view_get_selected_items
Sandino Flores [Mon, 25 Jan 2010 20:10:02 +0000 (12:10 -0800)] 
gtk+-2.0: add missing type list for gtk_icon_view_get_selected_items

Fixes bug 607279.

15 years agogdk-2.0: Fix types of several Gdk.Event*.state fields
Evan Nemerson [Mon, 25 Jan 2010 20:03:10 +0000 (12:03 -0800)] 
gdk-2.0: Fix types of several Gdk.Event*.state fields

Fixes bug 607337.

15 years agojson-glib-1.0: always include json-glib.h
Evan Nemerson [Mon, 25 Jan 2010 10:09:54 +0000 (02:09 -0800)] 
json-glib-1.0: always include json-glib.h

Fixes bug 605924.

15 years agoglib-2.0: Add G_KEY_FILE_DESKTOP_* declarations.
Luca Bruno [Thu, 21 Jan 2010 16:50:49 +0000 (17:50 +0100)] 
glib-2.0: Add G_KEY_FILE_DESKTOP_* declarations.

Fixes bug 607676.

15 years agovapigen: Add support for base types and ranks in structs
Evan Nemerson [Sun, 20 Dec 2009 05:58:36 +0000 (21:58 -0800)] 
vapigen: Add support for base types and ranks in structs

Fixes bug 605039.

15 years agovapigen: Support base_class attribute for boxed types
Jürg Billeter [Mon, 25 Jan 2010 09:37:56 +0000 (10:37 +0100)] 
vapigen: Support base_class attribute for boxed types

15 years agogtk+-2.0: Gtk.MessageDialog:buttons does not have an accessor method
Evan Nemerson [Mon, 25 Jan 2010 09:15:32 +0000 (01:15 -0800)] 
gtk+-2.0: Gtk.MessageDialog:buttons does not have an accessor method

Fixes bug 607992.

15 years agolibsoup-2.4: SoupMessageBody.data should be uing8[], not string.
Evan Nemerson [Mon, 25 Jan 2010 09:07:03 +0000 (01:07 -0800)] 
libsoup-2.4: SoupMessageBody.data should be uing8[], not string.

Fixes bug 605862.

15 years agogio-2.0: source_object of SimpleAsyncResult constructor is nullable.
Luca Bruno [Mon, 25 Jan 2010 07:53:46 +0000 (23:53 -0800)] 
gio-2.0: source_object of SimpleAsyncResult constructor is nullable.

Fixes bug 607149.

15 years agogoocanvas: update to version 0.15
Eric Alber [Mon, 25 Jan 2010 07:45:55 +0000 (23:45 -0800)] 
goocanvas: update to version 0.15

Fixes bug 607236.

15 years agoclutter-1.0: Fix clutter_container_raise/lower_child bindings
Ali Sabil [Sun, 24 Jan 2010 14:51:20 +0000 (15:51 +0100)] 
clutter-1.0: Fix clutter_container_raise/lower_child bindings

15 years agoclutter-1.0: Fix clutter_actor_get_stage binding
Ali Sabil [Thu, 21 Jan 2010 08:51:41 +0000 (09:51 +0100)] 
clutter-1.0: Fix clutter_actor_get_stage binding

15 years agoclutter-1.0: Fix clutter_actor_transform_stage_point binding
Ali Sabil [Thu, 21 Jan 2010 08:42:12 +0000 (09:42 +0100)] 
clutter-1.0: Fix clutter_actor_transform_stage_point binding

15 years agoFix return without value for preconditions in constructors
Jürg Billeter [Wed, 20 Jan 2010 08:49:02 +0000 (09:49 +0100)] 
Fix return without value for preconditions in constructors

15 years agoAccept pre- and postconditions for constructors
Marc-André Lureau [Sun, 17 Jan 2010 15:35:46 +0000 (16:35 +0100)] 
Accept pre- and postconditions for constructors

Fixes bug 607110.

15 years agoGValue: Fix boxing and unboxing structs
Marc-André Lureau [Mon, 18 Jan 2010 00:26:20 +0000 (01:26 +0100)] 
GValue: Fix boxing and unboxing structs

Fixes bug 590987.

15 years agoDo not allow assignment with incompatible pointers
Marc-André Lureau [Sun, 17 Jan 2010 23:42:46 +0000 (00:42 +0100)] 
Do not allow assignment with incompatible pointers

That patch makes type check with pointer more strict.

Fixes bug 574486.

15 years agoSupport casting nullable structs to non-nullable structs
Luca Bruno [Sun, 17 Jan 2010 22:07:49 +0000 (23:07 +0100)] 
Support casting nullable structs to non-nullable structs

Fixes bug 588832.

15 years agoGIR parser: Add support for parsing callback types 0a477a48040208d31f99ec69f20817c62d462186
Jordan Yelloz [Sun, 3 Jan 2010 08:47:06 +0000 (00:47 -0800)] 
GIR parser: Add support for parsing callback types

15 years agoFix constructor of markup reader
Jürg Billeter [Sun, 17 Jan 2010 12:56:56 +0000 (13:56 +0100)] 
Fix constructor of markup reader

15 years agoGIR writer: Write user_data parameter for delegates 495cd714aca44534b1cec1fb71edb20a40ae47d0
Abderrahim Kitouni [Thu, 3 Dec 2009 20:10:28 +0000 (21:10 +0100)] 
GIR writer: Write user_data parameter for delegates

15 years agoGIR writer: Write parent_instace and priv fields 93568146e15af82783e298bcc9948796d6ed2119
Abderrahim Kitouni [Thu, 3 Dec 2009 19:45:23 +0000 (20:45 +0100)] 
GIR writer: Write parent_instace and priv fields

15 years agoGIR writer: Write virtual signal handlers cb344b3564768ab5503ce044de18d5a75e813c29
Abderrahim Kitouni [Thu, 3 Dec 2009 19:02:39 +0000 (20:02 +0100)] 
GIR writer: Write virtual signal handlers