]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
15 years agogstreamer-0.10: Gst.PluginDesc is a structure
Sandino Flores [Tue, 16 Feb 2010 04:37:15 +0000 (22:37 -0600)] 
gstreamer-0.10: Gst.PluginDesc is a structure

Gst.PluginDesc must be binded as structure and not a class.

Fixes bug 610065

15 years agoAdd alternative iterator protocol for foreach
Ryan Lortie [Sat, 13 Feb 2010 06:16:12 +0000 (01:16 -0500)] 
Add alternative iterator protocol for foreach

If the iterator object has a .next_value() function that returns a
nullable type then we iterate by calling this function until it returns
null.

Fixes bug 609812.

15 years agolibxml bindings: Improve coverage
Adrien Bustany [Sun, 14 Feb 2010 20:25:00 +0000 (17:25 -0300)] 
libxml bindings: Improve coverage

This commit adds the following functions:
- xmlNextElementSibling
- xmlFirstElementChild
- xmlChildElementCount

15 years agolibxml binding: Fix static delegates
Adrien Bustany [Sun, 14 Feb 2010 20:23:29 +0000 (17:23 -0300)] 
libxml binding: Fix static delegates

The syntax has changed from static delegate to [CCode (has_target=false)].
This commit fixes the libxml binding.

15 years agolibxml-2.0: Fix instance position in several methods
Evan Nemerson [Sun, 14 Feb 2010 18:17:18 +0000 (10:17 -0800)] 
libxml-2.0: Fix instance position in several methods

Fixes bug 609814.

15 years agoAdd GDL bindings
Nicolas Joseph [Sat, 13 Feb 2010 22:15:02 +0000 (14:15 -0800)] 
Add GDL bindings

Fixes bug 609294.

15 years agoglib-2.0: add likely, unlikely and static_assert
Marc-André Lureau [Wed, 3 Feb 2010 22:50:54 +0000 (23:50 +0100)] 
glib-2.0: add likely, unlikely and static_assert

Fixes bug 608935.

15 years agoreadline: various fixes to delegates and attributes
Michael 'Mickey' Lauer [Sat, 13 Feb 2010 13:12:34 +0000 (14:12 +0100)] 
readline: various fixes to delegates and attributes

It's now possible to do readline completion.

15 years agoglib-2.0: add bindings for fread and fwrite
Sandino Flores [Wed, 10 Feb 2010 05:58:42 +0000 (23:58 -0600)] 
glib-2.0: add bindings for fread and fwrite

Fixes bug 609496.

15 years agoPut the instance_pos attribute in delegates in code writer
Víctor Manuel Jáquez Leal [Wed, 10 Feb 2010 22:22:05 +0000 (23:22 +0100)] 
Put the instance_pos attribute in delegates in code writer

Fixes bug 609591.

15 years agogstreamer-0.10: regenerate gi and vapi files
Víctor Manuel Jáquez Leal [Fri, 12 Feb 2010 18:42:12 +0000 (19:42 +0100)] 
gstreamer-0.10: regenerate gi and vapi files

15 years agogstreamer-0.10: hide the members of the GstIterator structure
Víctor Manuel Jáquez Leal [Wed, 13 Jan 2010 11:04:46 +0000 (12:04 +0100)] 
gstreamer-0.10: hide the members of the GstIterator structure

The members of the GstIterator structure are private, so they should
be hidden, instead of the accesor functions. Also, the parameter elem
in gst_iterator_next outs a value.

15 years agogstreamer-0.10: Add Gst.TagSetter interface
Víctor Manuel Jáquez Leal [Wed, 13 Jan 2010 10:31:50 +0000 (11:31 +0100)] 
gstreamer-0.10: Add Gst.TagSetter interface

15 years agoD-Bus: Add DBus.Object.get_all method
Jürg Billeter [Fri, 12 Feb 2010 17:37:57 +0000 (18:37 +0100)] 
D-Bus: Add DBus.Object.get_all method

15 years agoGAsync: Declare functions for abstract async methods
Jürg Billeter [Fri, 12 Feb 2010 10:00:05 +0000 (11:00 +0100)] 
GAsync: Declare functions for abstract async methods

Fixes bug 598266.

15 years agogdk-2.0: update to 2.18.6
Evan Nemerson [Mon, 8 Feb 2010 20:08:21 +0000 (12:08 -0800)] 
gdk-2.0: update to 2.18.6

Fixes bug 609293.

15 years agognome-keyring-1: Add out to some parameters of *_sync methods.
Simon Wenner [Thu, 11 Feb 2010 21:32:35 +0000 (13:32 -0800)] 
gnome-keyring-1: Add out to some parameters of *_sync methods.

Fixes bug 609261.

15 years agoUpdate delegate has_target syntax in *-custom.vala
Evan Nemerson [Fri, 12 Feb 2010 09:33:05 +0000 (01:33 -0800)] 
Update delegate has_target syntax in *-custom.vala

15 years agoD-Bus: Handle errors on property access in static clients
Jürg Billeter [Fri, 12 Feb 2010 08:36:52 +0000 (09:36 +0100)] 
D-Bus: Handle errors on property access in static clients

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.