summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2013-11-06 16:35:08 +0000
committerPhilip Withnall <philip.withnall@collabora.co.uk>2013-11-06 16:35:50 +0000
commit939a104853bc5a3cf05afe2446104647c4d81406 (patch)
treef43ade5c8bf19b32fa658292aaa2977b126a9c0a
parent8fbfa165fe1f97b0dc4c9cb3145e5344229cb249 (diff)
Release version 0.9.6FOLKS_0_9_6
-rw-r--r--NEWS4
-rw-r--r--backends/bluez/bluez-backend-factory.vala8
-rw-r--r--backends/bluez/bluez-backend.vala32
-rw-r--r--backends/bluez/bluez-persona-store.vala48
-rw-r--r--backends/bluez/bluez-persona.vala24
-rw-r--r--configure.ac8
6 files changed, 62 insertions, 62 deletions
diff --git a/NEWS b/NEWS
index abe8de2d..7c3dd89c 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,8 @@ Dependencies:
Major changes:
• Add a BlueZ backend
+• Use Vala to generate GIR files, fixing a number of bugs
+• Various build system and testing improvements
Bugs fixed:
• Bug 706683 — fails to build with Vala 0.20
@@ -32,8 +34,6 @@ Bugs fixed:
• Bug 711403 — Tidy up error handling in oFono backend
• Bug 711406 — Don’t expose blocked BlueZ devices as persona stores
-API changes:
-
Overview of changes from libfolks 0.9.4 to libfolks 0.9.5
=========================================================
diff --git a/backends/bluez/bluez-backend-factory.vala b/backends/bluez/bluez-backend-factory.vala
index 5e139683..061db6fa 100644
--- a/backends/bluez/bluez-backend-factory.vala
+++ b/backends/bluez/bluez-backend-factory.vala
@@ -35,7 +35,7 @@ private BackendFactory _backend_factory = null;
*
* @param backend_store the {@link BackendStore} to use in this factory.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public void module_init (BackendStore backend_store)
{
@@ -47,7 +47,7 @@ public void module_init (BackendStore backend_store)
*
* @param backend_store the {@link BackendStore} to use in this factory.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public void module_finalize (BackendStore backend_store)
{
@@ -57,14 +57,14 @@ public void module_finalize (BackendStore backend_store)
/**
* A backend factory to create a single {@link Backend}.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public class Folks.Backends.BlueZ.BackendFactory : Object
{
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public BackendFactory (BackendStore backend_store)
{
diff --git a/backends/bluez/bluez-backend.vala b/backends/bluez/bluez-backend.vala
index 96620d41..1c89304c 100644
--- a/backends/bluez/bluez-backend.vala
+++ b/backends/bluez/bluez-backend.vala
@@ -82,7 +82,7 @@ extern const string BACKEND_NAME;
* Blocked devices are not made available as persona stores, even if they are
* paired with the laptop.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public class Folks.Backends.BlueZ.Backend : Folks.Backend
{
@@ -105,7 +105,7 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
*
* See {@link Folks.Backend.is_prepared}.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override bool is_prepared
{
@@ -117,7 +117,7 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
*
* See {@link Folks.Backend.is_quiescent}.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override bool is_quiescent
{
@@ -127,14 +127,14 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override string name { get { return BACKEND_NAME; } }
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override Map<string, PersonaStore> persona_stores
{
@@ -149,7 +149,7 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
* be disabled if the corresponding device is unpaired by the
* user.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override void disable_persona_store (Folks.PersonaStore store)
{
@@ -162,7 +162,7 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
* programmatically add a new persona store since it depends
* on new paired devices.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override void enable_persona_store (Folks.PersonaStore store)
{
@@ -175,7 +175,7 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
* programmatically add or remove persona stores since it depends
* on paired/unpaired devices.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override void set_persona_stores (Set<string>? storeids)
{
@@ -184,7 +184,7 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public Backend ()
{
@@ -212,7 +212,7 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
* @param changed the list of properties that have changed
* @param invalidated the list of properties that have been invalidated
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
private void _device_properties_changed_cb (DBusObjectProxy obj_proxy,
DBusProxy iface_proxy, Variant changed, string[] invalidated)
@@ -311,7 +311,7 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
* @param device the D-Bus object for the Bluetooth device
* @param path the path of the D-Bus device object.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
private async void _add_persona_store (Device device, string path)
{
@@ -347,7 +347,7 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
* @param device the D-Bus device object
* @return ``true`` if the device supports PSE, ``false`` otherwise.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
private bool _device_supports_pbap_pse (Device device)
{
@@ -373,7 +373,7 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
*
* @param _obj the device's D-Bus object
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
private async void _add_device (DBusObject obj)
{
@@ -422,7 +422,7 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
*
* @param obj the device's D-Bus object
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
private async void _remove_device (DBusObject obj)
{
@@ -443,7 +443,7 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override async void prepare () throws DBusError
{
@@ -578,7 +578,7 @@ public class Folks.Backends.BlueZ.Backend : Folks.Backend
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override async void unprepare () throws GLib.Error
{
diff --git a/backends/bluez/bluez-persona-store.vala b/backends/bluez/bluez-persona-store.vala
index b0b0b226..a9351c93 100644
--- a/backends/bluez/bluez-persona-store.vala
+++ b/backends/bluez/bluez-persona-store.vala
@@ -38,7 +38,7 @@ using org.bluez;
* one {@link PersonaStore} per device). It will create a {@link Persona} for
* each contact on the device.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
{
@@ -62,7 +62,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override string type_id { get { return BACKEND_NAME; } }
@@ -71,7 +71,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.can_add_personas}.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override MaybeBool can_add_personas
{
@@ -83,7 +83,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.can_alias_personas}.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override MaybeBool can_alias_personas
{
@@ -95,7 +95,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.can_group_personas}.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override MaybeBool can_group_personas
{
@@ -107,7 +107,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.can_remove_personas}.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override MaybeBool can_remove_personas
{
@@ -119,7 +119,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.is_prepared}.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override bool is_prepared
{
@@ -131,7 +131,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.is_quiescent}.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override bool is_quiescent
{
@@ -141,7 +141,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
/**
* {@inheritDoc}
*
- * @since unreleased
+ * @since 0.9.6
*/
public override string[] always_writeable_properties
{
@@ -151,7 +151,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override Map<string, Persona> personas
{
@@ -161,7 +161,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public new string display_name
{
@@ -175,7 +175,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
* This is the path of the BlueZ device object on D-Bus which provides the
* contacts in this store.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public string object_path
{
@@ -193,7 +193,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
* @param object_path the D-Bus path of the object for the Bluetooth device
* @param obex_client the D-Bus obex client object.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public PersonaStore (Device device, string object_path,
org.bluez.obex.Client obex_client)
@@ -236,7 +236,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
* @throws DBusError if an error was returned over the bus
* @throws Error if the given file couldn’t be read
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
private async void _update_contacts_from_file (File file,
org.bluez.obex.PhonebookAccess obex_pbap)
@@ -311,7 +311,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
*
* @param alias the device’s new alias
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
internal void set_alias (string alias)
{
@@ -336,7 +336,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
*
* @param trusted ``true`` if the user trusts the device, ``false`` otherwise
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
internal void set_is_trusted (bool trusted)
{
@@ -363,7 +363,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
* @throws PersonaStoreError if the contacts couldn’t be updated
* (see {@link _update_contacts})
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
internal async void set_connection_state (bool connected)
throws IOError, PersonaStoreError
@@ -397,7 +397,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
* @throws IOError if it can't connect to D-Bus
* @throws DBusError if it can't create a new OBEX session
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
private async dynamic ObjectPath _new_obex_session (
out org.bluez.obex.PhonebookAccess obex_pbap)
@@ -428,7 +428,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
*
* @param session_path the path of the OBEX session D-Bus object to remove
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
private async void _remove_obex_session (dynamic ObjectPath session_path)
{
@@ -467,7 +467,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
* IOError internally here)
* @throws PersonaStoreError if the transfer failed
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
private async void _perform_obex_transfer (string path,
org.bluez.obex.PhonebookAccess obex_pbap,
@@ -623,7 +623,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
* @throws PersonaStoreError if the contacts couldn’t be downloaded from the
* device
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
private async void _update_contacts () throws IOError, PersonaStoreError
{
@@ -734,7 +734,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override async void prepare () throws PersonaStoreError
{
@@ -814,7 +814,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
* @throws Folks.PersonaStoreError.READ_ONLY every time since the
* BlueZ backend is read-only.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override async void remove_persona (Folks.Persona persona)
throws Folks.PersonaStoreError
@@ -832,7 +832,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
* @throws Folks.PersonaStoreError.READ_ONLY every time since the
* BlueZ backend is read-only.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override async Folks.Persona? add_persona_from_details (
HashTable<string, Value?> details) throws Folks.PersonaStoreError
diff --git a/backends/bluez/bluez-persona.vala b/backends/bluez/bluez-persona.vala
index a96b0fae..f75acc63 100644
--- a/backends/bluez/bluez-persona.vala
+++ b/backends/bluez/bluez-persona.vala
@@ -32,7 +32,7 @@ using Folks.Backends.BlueZ;
/**
* A persona subclass which represents a single persona from a simple key file.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public class Folks.Backends.BlueZ.Persona : Folks.Persona,
AvatarDetails,
@@ -62,7 +62,7 @@ public class Folks.Backends.BlueZ.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override string[] linkable_properties
{
@@ -72,7 +72,7 @@ public class Folks.Backends.BlueZ.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
[CCode (notify = false)]
public Set<UrlFieldDetails> urls
@@ -84,7 +84,7 @@ public class Folks.Backends.BlueZ.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
[CCode (notify = false)]
public LoadableIcon? avatar
@@ -96,7 +96,7 @@ public class Folks.Backends.BlueZ.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override string[] writeable_properties
{
@@ -106,7 +106,7 @@ public class Folks.Backends.BlueZ.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
[CCode (notify = false)]
public Set<PhoneFieldDetails> phone_numbers
@@ -118,7 +118,7 @@ public class Folks.Backends.BlueZ.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
[CCode (notify = false)]
public StructuredName? structured_name
@@ -130,7 +130,7 @@ public class Folks.Backends.BlueZ.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
[CCode (notify = false)]
public string full_name
@@ -142,7 +142,7 @@ public class Folks.Backends.BlueZ.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
[CCode (notify = false)]
public string nickname
@@ -154,7 +154,7 @@ public class Folks.Backends.BlueZ.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
[CCode (notify = false)]
public Set<EmailFieldDetails> email_addresses
@@ -175,7 +175,7 @@ public class Folks.Backends.BlueZ.Persona : Folks.Persona,
* @param store the store to which the Persona belongs.
* @param is_user whether the Persona is the user itself or not.
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public Persona (string vcf, string name, string vcard,
Folks.PersonaStore store, bool is_user)
@@ -282,7 +282,7 @@ public class Folks.Backends.BlueZ.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
- * @since UNRELEASED
+ * @since 0.9.6
*/
public override void linkable_property_to_links (string prop_name,
Folks.Persona.LinkablePropertyCallback callback)
diff --git a/configure.ac b/configure.ac
index 2e73ce4a..cfadede0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,10 +1,10 @@
# If not 1, append datestamp to the version number
-m4_define([folks_released], [0])
+m4_define([folks_released], [1])
m4_define([folks_major_version], [0])
m4_define([folks_minor_version], [9])
-m4_define([folks_micro_version], [5])
-m4_define([folks_nano_version], [1])
+m4_define([folks_micro_version], [6])
+m4_define([folks_nano_version], [0])
# If library source has changed since last release, increment revision
# If public symbols have been added, removed or changed since last release,
@@ -12,7 +12,7 @@ m4_define([folks_nano_version], [1])
# If public symbols have been added since last release, increment age
# If public symbols have been removed since last release, set age to 0
m4_define([folks_lt_current], [41])
-m4_define([folks_lt_revision], [0])
+m4_define([folks_lt_revision], [1])
m4_define([folks_lt_age], [16])
# Display the nano_version only if it's not '0'