]>
git.ipfire.org Git - thirdparty/vala.git/log
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
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.
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
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.
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.
Nicolas Joseph [Sat, 13 Feb 2010 22:15:02 +0000 (14:15 -0800)]
Add GDL bindings
Fixes bug 609294.
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.
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.
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.
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.
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
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.
Víctor Manuel Jáquez Leal [Wed, 13 Jan 2010 10:31:50 +0000 (11:31 +0100)]
gstreamer-0.10: Add Gst.TagSetter interface
Jürg Billeter [Fri, 12 Feb 2010 17:37:57 +0000 (18:37 +0100)]
D-Bus: Add DBus.Object.get_all method
Jürg Billeter [Fri, 12 Feb 2010 10:00:05 +0000 (11:00 +0100)]
GAsync: Declare functions for abstract async methods
Fixes bug 598266.
Evan Nemerson [Mon, 8 Feb 2010 20:08:21 +0000 (12:08 -0800)]
gdk-2.0: update to 2.18.6
Fixes bug 609293.
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.
Evan Nemerson [Fri, 12 Feb 2010 09:33:05 +0000 (01:33 -0800)]
Update delegate has_target syntax in *-custom.vala
Jürg Billeter [Fri, 12 Feb 2010 08:36:52 +0000 (09:36 +0100)]
D-Bus: Handle errors on property access in static clients
Adrien Bustany [Thu, 11 Feb 2010 17:42:00 +0000 (14:42 -0300)]
GIR parser: Always add the cname attribute to generated methods
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.
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.
Jürg Billeter [Thu, 11 Feb 2010 10:15:38 +0000 (11:15 +0100)]
glib-2.0: Fix g_utf8_validate binding
Jürg Billeter [Wed, 10 Feb 2010 09:55:34 +0000 (10:55 +0100)]
Fix closures in constructors
Fixes bug 602138.
Jürg Billeter [Wed, 10 Feb 2010 14:38:02 +0000 (15:38 +0100)]
Fix error handling checks in switch statements
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
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
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.
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.
Adrien Bustany [Mon, 8 Feb 2010 19:12:51 +0000 (16:12 -0300)]
purple bindings: Add files to Makefile.am
Adrien Bustany [Mon, 8 Feb 2010 19:11:41 +0000 (16:11 -0300)]
purple bindings: Put the .deps file in the right folder
Adrien Bustany [Mon, 8 Feb 2010 19:09:43 +0000 (16:09 -0300)]
Add bindings for libpurple
Jürg Billeter [Mon, 8 Feb 2010 09:38:47 +0000 (10:38 +0100)]
linux: Do not use doc comment for file header comment
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.
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.
Jürg Billeter [Mon, 8 Feb 2010 06:55:00 +0000 (07:55 +0100)]
glib-2.0: Add g_main_context_*_thread_default bindings
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.
Jürg Billeter [Fri, 5 Feb 2010 06:58:15 +0000 (07:58 +0100)]
Do not use string.replace
GRegex requires GLib 2.14.
Jürg Billeter [Thu, 4 Feb 2010 20:22:35 +0000 (21:22 +0100)]
Post-release version bump
Jürg Billeter [Thu, 4 Feb 2010 19:38:10 +0000 (20:38 +0100)]
Release 0.7.10
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.
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.
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
Jürg Billeter [Thu, 4 Feb 2010 18:58:05 +0000 (19:58 +0100)]
Include string.h when using strcmp
Jürg Billeter [Thu, 4 Feb 2010 18:29:03 +0000 (19:29 +0100)]
Fix symbol resolving in enums
Jürg Billeter [Thu, 4 Feb 2010 18:25:39 +0000 (19:25 +0100)]
Fix crash on invalid field initializer
Fixes bug 595725.
Jürg Billeter [Thu, 4 Feb 2010 18:02:44 +0000 (19:02 +0100)]
GAsync: Support async callback from closure
Fixes bug 608184.
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.
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
Jürg Billeter [Wed, 3 Feb 2010 21:50:13 +0000 (22:50 +0100)]
D-Bus: Fix crash on properties without set accessors
Jürg Billeter [Wed, 3 Feb 2010 21:11:15 +0000 (22:11 +0100)]
dbus-glib-1: Fix type id of BusName
Jürg Billeter [Wed, 3 Feb 2010 21:10:11 +0000 (22:10 +0100)]
dbus-glib-1: Fix marshalling of ObjectPath
Marc-André Lureau [Thu, 28 Jan 2010 00:01:04 +0000 (01:01 +0100)]
Use intermediate variables to initialize static structs
Fixes bug 608250.
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.
Michael 'Mickey' Lauer [Wed, 3 Feb 2010 17:30:22 +0000 (18:30 +0100)]
posix: bind struct sockaddr_in
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.
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.
Evan Nemerson [Sun, 31 Jan 2010 20:51:19 +0000 (12:51 -0800)]
Change many static delegates to has_target = false
Evan Nemerson [Sun, 31 Jan 2010 20:48:19 +0000 (12:48 -0800)]
cairo: Use closure param to ReadFunc and WriteFunc for delegate target
Evan Nemerson [Wed, 27 Jan 2010 08:30:06 +0000 (00:30 -0800)]
tracker-indexer-module-1.0: regenerate
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.
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.
Jürg Billeter [Mon, 1 Feb 2010 16:39:51 +0000 (17:39 +0100)]
Fix protected member access check in inner classes
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.
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.
Michael 'Mickey' Lauer [Sun, 31 Jan 2010 10:11:26 +0000 (11:11 +0100)]
posix: use new syntax for delegates without target
Jürg Billeter [Fri, 29 Jan 2010 21:35:50 +0000 (22:35 +0100)]
Fix foreach for inline-allocated arrays
Fixes bug 607547.
Marc-André Lureau [Fri, 22 Jan 2010 00:18:52 +0000 (01:18 +0100)]
Initialize array_size in init_fragment
Fixes bug 607714.
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.
Marc-André Lureau [Sun, 24 Jan 2010 17:41:44 +0000 (18:41 +0100)]
Perform flow analysis on lambda expressions
Fixes bug 606478.
Jürg Billeter [Fri, 29 Jan 2010 20:24:03 +0000 (21:24 +0100)]
Report error for instance methods used as delegates without target
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.
Marc-André Lureau [Thu, 28 Jan 2010 23:56:46 +0000 (00:56 +0100)]
Enforce protected member restrictions
Fixes bug 592577.
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.
Jürg Billeter [Fri, 29 Jan 2010 17:47:52 +0000 (18:47 +0100)]
D-Bus: Fix output array parameters in servers
Jürg Billeter [Fri, 29 Jan 2010 17:35:32 +0000 (18:35 +0100)]
Fix relational operations involving nullable types
Fixes bug 600652.
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.
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.
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.
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.
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.
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.
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.
Marc-André Lureau [Sun, 24 Jan 2010 00:43:05 +0000 (01:43 +0100)]
Initialize DelegateType local variables
Fixes bug 607902.
Adrien Bustany [Thu, 28 Jan 2010 23:28:06 +0000 (20:28 -0300)]
Update rest.vapi file
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
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.
Jürg Billeter [Wed, 27 Jan 2010 20:49:25 +0000 (21:49 +0100)]
Fix bug number used in test for bug 567181
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.
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.
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.
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.
Jürg Billeter [Tue, 26 Jan 2010 22:24:26 +0000 (23:24 +0100)]
Warn when using deprecated static modifier on delegates
Jiří Zárevúcky [Tue, 26 Jan 2010 19:52:45 +0000 (11:52 -0800)]
glib-2.0: fix MarkupParser callbacks.
Fixes bug 607195.
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>
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.
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.
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.
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.
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.