Commit fb0afc67 authored by Travis Reitter's avatar Travis Reitter
Browse files

Release version 0.6.0

parent 82e42081
......@@ -32,7 +32,7 @@ private BackendFactory _backend_factory = null;
/**
* The eds backend module entry point.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public void module_init (BackendStore backend_store)
{
......@@ -42,7 +42,7 @@ public void module_init (BackendStore backend_store)
/**
* The eds backend module exit point.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public void module_finalize (BackendStore backend_store)
{
......
......@@ -68,7 +68,7 @@ public class Folks.Backends.Eds.Backend : Folks.Backend
*
* See {@link Folks.Backend.is_prepared}.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public override bool is_prepared
{
......
......@@ -49,7 +49,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.type_id}.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public override string type_id { get { return BACKEND_NAME; } }
......@@ -65,7 +65,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.can_add_personas}.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public override MaybeBool can_add_personas
{
......@@ -85,7 +85,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.can_alias_personas}.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public override MaybeBool can_alias_personas
{
......@@ -97,7 +97,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.can_group_personas}.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public override MaybeBool can_group_personas
{
......@@ -109,7 +109,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.can_remove_personas}.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public override MaybeBool can_remove_personas
{
......@@ -129,7 +129,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.is_prepared}.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public override bool is_prepared
{
......@@ -141,7 +141,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.personas}.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public override Map<string, Persona> personas
{
......@@ -155,7 +155,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
*
* @param s the e-d-s source being represented by the persona store
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public PersonaStore (E.Source s)
{
......@@ -218,7 +218,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.add_persona_from_details}.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public override async Folks.Persona? add_persona_from_details (
HashTable<string, Value?> details) throws Folks.PersonaStoreError
......@@ -355,7 +355,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
*
* @param persona the persona that should be removed
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public override async void remove_persona (Folks.Persona persona)
throws Folks.PersonaStoreError
......@@ -441,7 +441,7 @@ public class Edsf.PersonaStore : Folks.PersonaStore
*
* See {@link Folks.PersonaStore.prepare}.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public override async void prepare () throws PersonaStoreError
{
......
......@@ -69,7 +69,7 @@ public class Edsf.Persona : Folks.Persona,
* is still considered experimental, hence the "X-" prefix in the
* attribute name. So this might change.
*
* @since UNRELEASED
* @since 0.6.0
*/
public static const string gender_attribute_name = "X-GENDER";
......@@ -80,7 +80,7 @@ public class Edsf.Persona : Folks.Persona,
* Based on:
* [[http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-22]]
*
* @since UNRELEASED
* @since 0.6.0
*/
public static const string gender_male = "M";
......@@ -91,7 +91,7 @@ public class Edsf.Persona : Folks.Persona,
* Based on:
* [[http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-22]]
*
* @since UNRELEASED
* @since 0.6.0
*/
public static const string gender_female = "F";
......@@ -175,7 +175,7 @@ public class Edsf.Persona : Folks.Persona,
*
* A list of postal addresses associated to the contact.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public Set<PostalAddressFieldDetails> postal_addresses
{
......@@ -189,7 +189,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public Set<PhoneFieldDetails> phone_numbers
{
......@@ -203,7 +203,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public Set<EmailFieldDetails> email_addresses
{
......@@ -217,7 +217,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public Set<NoteFieldDetails> notes
{
......@@ -231,7 +231,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public override string[] linkable_properties
{
......@@ -241,7 +241,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since UNRELEASED
* @since 0.6.0
*/
public override string[] writeable_properties
{
......@@ -254,7 +254,7 @@ public class Edsf.Persona : Folks.Persona,
*
* See {@link Folks.AvatarDetails.avatar}.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public LoadableIcon? avatar
{
......@@ -273,7 +273,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public StructuredName structured_name
{
......@@ -287,7 +287,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* The e-d-s contact uid
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public string contact_id { get; private set; }
......@@ -295,7 +295,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public string full_name
{
......@@ -310,7 +310,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public string nickname
{
......@@ -326,7 +326,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since UNRELEASED
* @since 0.6.0
*/
public Gender gender
{
......@@ -342,7 +342,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public Set<UrlFieldDetails> urls
{
......@@ -361,7 +361,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public MultiMap<string, ImFieldDetails> im_addresses
{
......@@ -378,7 +378,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public Set<string> groups
{
......@@ -392,7 +392,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public async void change_group (string group, bool is_member)
throws GLib.Error
......@@ -430,7 +430,7 @@ public class Edsf.Persona : Folks.Persona,
* @param contact the Contact
* @return a valid IID
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
internal static string build_iid_from_contact (string store_id,
E.Contact contact)
......@@ -447,7 +447,7 @@ public class Edsf.Persona : Folks.Persona,
* @param contact_id the id belonging to the Contact
* @return a valid IID
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
internal static string build_iid (string store_id, string contact_id)
{
......@@ -461,7 +461,7 @@ public class Edsf.Persona : Folks.Persona,
* Create a new persona for the {@link PersonaStore} `store`, representing
* the EDS contact given by `contact`.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public Persona (PersonaStore store, E.Contact contact)
{
......@@ -520,7 +520,7 @@ public class Edsf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public override void linkable_property_to_links (string prop_name,
Folks.Persona.LinkablePropertyCallback callback)
......
......@@ -25,7 +25,7 @@ using GLib;
* presents it as a {@link GLib.LoadableIcon}. This allows inlined avatars to be
* returned as {@link GLib.LoadableIcon}s.
*
* @since UNRELEASED
* @since 0.6.0
*/
internal class Edsf.MemoryIcon : Object, Icon, LoadableIcon
{
......@@ -37,7 +37,7 @@ internal class Edsf.MemoryIcon : Object, Icon, LoadableIcon
*
* @param image_type the content type of the image
* @param image_data the binary data of the image
* @since UNRELEASED
* @since 0.6.0
*/
public MemoryIcon (string image_type, uint8[] image_data)
{
......@@ -52,7 +52,7 @@ internal class Edsf.MemoryIcon : Object, Icon, LoadableIcon
*
* @param icon2 the {@link MemoryIcon} instance to compare against
* @return `true` if the instances are equal, `false` otherwise
* @since UNRELEASED
* @since 0.6.0
*/
public bool equal (Icon icon2)
{
......@@ -71,7 +71,7 @@ internal class Edsf.MemoryIcon : Object, Icon, LoadableIcon
* hash table key. This is not a cryptographic hash.
*
* @return hash value over the image type and data
* @since UNRELEASED
* @since 0.6.0
*/
public uint hash ()
{
......@@ -103,7 +103,7 @@ internal class Edsf.MemoryIcon : Object, Icon, LoadableIcon
* @param type return location for the content type of the image, or `null`
* @param cancellable optional {@link GLib.Cancellable}, or `null`
* @return an input stream providing access to the image data
* @since UNRELEASED
* @since 0.6.0
*/
public InputStream load (int size, out string? type,
Cancellable? cancellable = null)
......@@ -120,7 +120,7 @@ internal class Edsf.MemoryIcon : Object, Icon, LoadableIcon
* @param cancellable optional {@link GLib.Cancellable}, or `null`
* @param type return location for the content type of the image, or `null`
* @return an input stream providing access to the image data
* @since UNRELEASED
* @since 0.6.0
*/
public async InputStream load_async (int size,
GLib.Cancellable? cancellable, out string? type)
......
......@@ -60,7 +60,7 @@ public class Folks.Backends.Kf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since UNRELEASED
* @since 0.6.0
*/
public override string[] writeable_properties
{
......
......@@ -55,7 +55,7 @@ public class Swf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since UNRELEASED
* @since 0.6.0
*/
public override string[] writeable_properties
{
......@@ -67,7 +67,7 @@ public class Swf.Persona : Folks.Persona,
*
* See {@link Folks.AvatarDetails.avatar}.
*
* @since UNRELEASED
* @since 0.6.0
*/
public LoadableIcon? avatar { get; private set; }
......
......@@ -38,7 +38,7 @@ using Folks;
* # In contact list? (`b`)
* # Avatar file URI (`s`)
*
* @since UNRELEASED
* @since 0.6.0
*/
internal class Tpf.PersonaStoreCache : Folks.ObjectCache<Tpf.Persona>
{
......
......@@ -71,7 +71,7 @@ public class Tpf.Persona : Folks.Persona,
*
* See {@link Folks.AvatarDetails.avatar}.
*
* @since UNRELEASED
* @since 0.6.0
*/
public LoadableIcon? avatar { get; private set; }
......@@ -87,7 +87,7 @@ public class Tpf.Persona : Folks.Persona,
*
* See {@link Folks.PresenceDetails.presence_status}.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
public string presence_status { get; private set; }
......@@ -111,7 +111,7 @@ public class Tpf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since UNRELEASED
* @since 0.6.0
*/
public override string[] writeable_properties
{
......@@ -377,7 +377,7 @@ public class Tpf.Persona : Folks.Persona,
* have no avatar.
* @return A new {@link Tpf.Persona} representing the cached persona.
*
* @since 0.5.UNRELEASED
* @since 0.6.0
*/
internal Persona.from_cache (PersonaStore store, string uid, string iid,
string im_address, string protocol, HashSet<string> groups,
......
......@@ -128,7 +128,7 @@ public class Trf.Persona : Folks.Persona,
/**
* {@inheritDoc}
*
* @since UNRELEASED
* @since 0.6.0
*/
public override string[] writeable_properties
{
......@@ -141,7 +141,7 @@ public class Trf.Persona : Folks.Persona,
*
* See {@link Folks.AvatarDetails.avatar}.
*
* @since UNRELEASED
* @since 0.6.0
*/
public LoadableIcon? avatar
{
......
# 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], [5])
m4_define([folks_micro_version], [2])
m4_define([folks_nano_version], [1])
m4_define([folks_minor_version], [6])
m4_define([folks_micro_version], [0])
m4_define([folks_nano_version], [0])
# If library source has changed since last release, increment revision
# If interfaces have been added, removed or changed since last release,
# increment current and set revision to 0
# If interfaces have been added since last release, increment age
# If interfaces have been removed since last release, set age to 0
m4_define([folks_lt_current], [24])
m4_define([folks_lt_revision], [1])
m4_define([folks_lt_current], [25])
m4_define([folks_lt_revision], [0])
m4_define([folks_lt_age], [0])
# Display the nano_version only if it's not '0'
......
......@@ -42,7 +42,7 @@ using Gee;
* See [[http://www.ietf.org/rfc/rfc2426.txt|RFC2426]] for more details on
* pre-defined parameter names and values.
*
* @since UNRELEASED
* @since 0.6.0
*/
public abstract class Folks.AbstractFieldDetails<T> : Object
{
......@@ -53,7 +53,7 @@ public abstract class Folks.AbstractFieldDetails<T> : Object
* The value of the field, the exact type and content of which depends on what
* the structure is used for.
*
* @since UNRELEASED
* @since 0.6.0
*/
public virtual T @value
{
......@@ -70,7 +70,7 @@ public abstract class Folks.AbstractFieldDetails<T> : Object
* {@link Folks.AbstractFieldDetails.value}. The keys are the names of
* the parameters, while the values are a list of strings.
*
* @since UNRELEASED
* @since 0.6.0
*/
public virtual MultiMap<string, string> parameters
{
......@@ -91,7 +91,7 @@ public abstract class Folks.AbstractFieldDetails<T> : Object
* @return a collection of values for `parameter_name` or `null` (i.e. no
* collection) if there are no such parameters.
*
* @since UNRELEASED
* @since 0.6.0
*/
public Collection<string>? get_parameter_values (string parameter_name)
{
......@@ -112,7 +112,7 @@ public abstract class Folks.AbstractFieldDetails<T> : Object
* @param parameter_name the name of the parameter
* @param parameter_value the value to add
*
* @since UNRELEASED
* @since 0.6.0
*/
public void add_parameter (string parameter_name, string parameter_value)
{
......@@ -128,7 +128,7 @@ public abstract class Folks.AbstractFieldDetails<T> : Object
* @param parameter_name the name of the parameter
* @param parameter_value the value to add
*
* @since UNRELEASED
* @since 0.6.0
*/
public void set_parameter (string parameter_name, string parameter_value)
{
......@@ -143,7 +143,7 @@ public abstract class Folks.AbstractFieldDetails<T> : Object
*
* @param additional the parameters to add
*
* @since UNRELEASED
* @since 0.6.0
*/
public void extend_parameters (MultiMap<string, string> additional)
{
......@@ -162,7 +162,7 @@ public abstract class Folks.AbstractFieldDetails<T> : Object
*
* @param parameter_name the name of the parameter
*
* @since UNRELEASED
* @since 0.6.0
*/
public void remove_parameter_all (string parameter_name)
{
......@@ -181,7 +181,7 @@ public abstract class Folks.AbstractFieldDetails<T> : Object
*
* @return whether the elements are equal
*
* @since UNRELEASED
* @since 0.6.0
*/
public virtual bool equal (AbstractFieldDetails<T> that)
{
......@@ -245,7 +245,7 @@ public abstract class Folks.AbstractFieldDetails<T> : Object
*
* @return the hash value
*
* @since UNRELEASED
* @since 0.6.0
*/
public virtual uint hash ()
{
......
......@@ -25,7 +25,7 @@ using GLib;
* folks. Avatars may be added to the cache, and referred to by a persistent
* URI from that point onwards.
*
* @since UNRELEASED
* @since 0.6.0
*/
public class Folks.AvatarCache : Object
{
......@@ -36,7 +36,7 @@ public class Folks.AvatarCache : Object
* Private constructor for an instance of the avatar cache. The singleton
* instance should be retrieved by calling {@link AvatarCache.dup()} instead.
*
* @since UNRELEASED
* @since 0.6.0
*/
private AvatarCache ()
{
......@@ -53,7 +53,7 @@ public class Folks.AvatarCache : Object
* This function is thread-safe.
*
* @return Singleton {@link AvatarCache} instance
* @since UNRELEASED
* @since 0.6.0
*/
public static AvatarCache dup ()
{
......@@ -87,7 +87,7 @@ public class Folks.AvatarCache : Object
* @param id the globally unique ID for the avatar
* @return Avatar from the cache, or `null` if it doesn't exist in the cache
* @throws GLib.Error if checking for existence of the cache file failed
* @since UNRELEASED
* @since 0.6.0
*/
public async LoadableIcon? load_avatar (string id) throws GLib.Error
{
......@@ -113,7 +113,7 @@ public class Folks.AvatarCache : Object
* @return a URI for the file storing the cached avatar
* @throws GLib.Error if the avatar data couldn't be loaded, or if creating
* the avatar directory or cache file failed
* @since UNRELEASED
* @since 0.6.0
*/
public async string store_avatar (string id, LoadableIcon avatar)
throws GLib.Error
......@@ -162,7 +162,7 @@ public class Folks.AvatarCache : Object
*
* @param id the globally unique ID for the avatar
* @throws GLib.Error if deleting the cache file failed
* @since UNRELEASED
* @since 0.6.0
*/
public async void remove_avatar (string id) throws GLib.Error
{
......@@ -187,7 +187,7 @@ public class Folks.AvatarCache : Object
*
* @param id the globally unique ID for the avatar
* @return URI of the avatar file with the given globally unique ID
* @since UNRELEASED
* @since 0.6.0
*/
public string build_uri_for_avatar (string id)
{
......
......@@ -33,7 +33,7 @@ public interface Folks.AvatarDetails : Object
* `null` if unset. Otherwise, the image data may be asynchronously loaded
* using the methods of the {@link GLib.LoadableIcon} implementation.
*
* @since UNRELEASED
* @since 0.6.0
*/
public abstract LoadableIcon