]>
git.ipfire.org Git - thirdparty/vala.git/log
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.
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.
Jürg Billeter [Mon, 25 Jan 2010 09:37:56 +0000 (10:37 +0100)]
vapigen: Support base_class attribute for boxed types
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.
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.
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.
Eric Alber [Mon, 25 Jan 2010 07:45:55 +0000 (23:45 -0800)]
goocanvas: update to version 0.15
Fixes bug 607236.
Ali Sabil [Sun, 24 Jan 2010 14:51:20 +0000 (15:51 +0100)]
clutter-1.0: Fix clutter_container_raise/lower_child bindings
Ali Sabil [Thu, 21 Jan 2010 08:51:41 +0000 (09:51 +0100)]
clutter-1.0: Fix clutter_actor_get_stage binding
Ali Sabil [Thu, 21 Jan 2010 08:42:12 +0000 (09:42 +0100)]
clutter-1.0: Fix clutter_actor_transform_stage_point binding
Jürg Billeter [Wed, 20 Jan 2010 08:49:02 +0000 (09:49 +0100)]
Fix return without value for preconditions in constructors
Marc-André Lureau [Sun, 17 Jan 2010 15:35:46 +0000 (16:35 +0100)]
Accept pre- and postconditions for constructors
Fixes bug 607110.
Marc-André Lureau [Mon, 18 Jan 2010 00:26:20 +0000 (01:26 +0100)]
GValue: Fix boxing and unboxing structs
Fixes bug 590987.
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.
Luca Bruno [Sun, 17 Jan 2010 22:07:49 +0000 (23:07 +0100)]
Support casting nullable structs to non-nullable structs
Fixes bug 588832.
Jordan Yelloz [Sun, 3 Jan 2010 08:47:06 +0000 (00:47 -0800)]
GIR parser: Add support for parsing callback types
Jürg Billeter [Sun, 17 Jan 2010 12:56:56 +0000 (13:56 +0100)]
Fix constructor of markup reader
Abderrahim Kitouni [Thu, 3 Dec 2009 20:10:28 +0000 (21:10 +0100)]
GIR writer: Write user_data parameter for delegates
Abderrahim Kitouni [Thu, 3 Dec 2009 19:45:23 +0000 (20:45 +0100)]
GIR writer: Write parent_instace and priv fields
Abderrahim Kitouni [Thu, 3 Dec 2009 19:02:39 +0000 (20:02 +0100)]
GIR writer: Write virtual signal handlers
Abderrahim Kitouni [Thu, 3 Dec 2009 19:00:54 +0000 (20:00 +0100)]
GIR writer: Fix cname for vfunc <callback> element
Abderrahim Kitouni [Thu, 3 Dec 2009 17:51:46 +0000 (18:51 +0100)]
GIR writer: Embed <callback> inside <field> for virtual methods
See gobject-introspection commit
f8693bda .
Abderrahim Kitouni [Thu, 3 Dec 2009 17:40:53 +0000 (18:40 +0100)]
GIR writer: Add parent_class to the class struct
Abderrahim Kitouni [Fri, 4 Sep 2009 15:18:38 +0000 (16:18 +0100)]
GIR writer: Always include GLib and GObject
Jürg Billeter [Sat, 16 Jan 2010 19:47:24 +0000 (20:47 +0100)]
Fix has_type_id attribute writing in VAPI files
Jürg Billeter [Sun, 10 Jan 2010 19:49:06 +0000 (20:49 +0100)]
Write has_type_id attribute for structs in VAPI files
Make sure we don't lose has_type_id if it's false.
Based on patch by Marc-André Lureau, fixes bug 606580.
Jürg Billeter [Sat, 16 Jan 2010 19:24:27 +0000 (20:24 +0100)]
Fix freeing ThreadPool
Adds special case for g_thread_pool_free, which takes 3 arguments.
Based on patch by Evan Nemerson, fixes bug 542725.
Luca Bruno [Sat, 16 Jan 2010 19:09:13 +0000 (20:09 +0100)]
Return handler id when connecting signal handlers
Fixes bug 537146.
Luca Bruno [Tue, 12 Jan 2010 21:28:12 +0000 (22:28 +0100)]
GAsync: Fix .end instance argument
Fixes bug 606780.
Jürg Billeter [Sat, 16 Jan 2010 14:44:41 +0000 (15:44 +0100)]
libsoup-2.4: Fix soup_message_headers_get_content_disposition binding
Jürg Billeter [Sat, 16 Jan 2010 12:41:38 +0000 (13:41 +0100)]
libsoup-2.4: Fix SoupBuffer binding
Jürg Billeter [Sat, 16 Jan 2010 12:41:07 +0000 (13:41 +0100)]
vapigen: Support ref_function attribute for boxed types
Jürg Billeter [Thu, 14 Jan 2010 11:51:00 +0000 (12:51 +0100)]
Fix order dependency in type resolution with derived integer types
Evan Nemerson [Thu, 14 Jan 2010 01:47:18 +0000 (17:47 -0800)]
dbus-glib-1: Add bindings for DBusGProxy::destroy signal.
Evan Nemerson [Wed, 13 Jan 2010 17:55:04 +0000 (09:55 -0800)]
mysql: Fix mysql_init binding.
Fixes bug 603085.
Make Massonnet [Wed, 13 Jan 2010 17:36:46 +0000 (09:36 -0800)]
gtk+-2.0: parent argument to Gtk.show_about_dialog is nullable.
Fixes bug 605051.
Michael B. Trausch [Wed, 13 Jan 2010 10:18:52 +0000 (02:18 -0800)]
glib-2.0: Add GLib.Log.set_always_fatal and GLib.Log.set_fatal_mask.
Fixes bug 605179.
Eric Alber [Wed, 13 Jan 2010 10:12:34 +0000 (02:12 -0800)]
gobject-2.0: add many missing GParamSpec related bindings
Fixes bug 605969.
Evan Nemerson [Wed, 13 Jan 2010 09:59:26 +0000 (01:59 -0800)]
gio-2.0: argument to BufferedInputStream.peek_buffer should be out
Fixes bug 606627.
Simon Wenner [Wed, 13 Jan 2010 09:52:08 +0000 (01:52 -0800)]
libsoup-2.4: SessionSync and Async.with_options require ellipsis
Fixes bug 605383.