platform/upstream/folks.git
13 years agobuild: Distribute test-dependent makefiles.
Travis Reitter [Tue, 18 Oct 2011 00:24:47 +0000 (17:24 -0700)]
build: Distribute test-dependent makefiles.

This is mainly to enable running "make foo.gdb" from the source
distribution.

13 years agobuild: Include internal folks library for valadoc parsing issues
Travis Reitter [Mon, 17 Oct 2011 23:45:34 +0000 (16:45 -0700)]
build: Include internal folks library for valadoc parsing issues

Obviously, these symbols shouldn't be documented externally, but since
valadoc uses libvala internal, it requires the ability to resolve them
(even if they won't be exposed in the finals docs).

13 years agobuild: Require valac if libfolks-internal files are missing.
Travis Reitter [Mon, 17 Oct 2011 23:35:51 +0000 (16:35 -0700)]
build: Require valac if libfolks-internal files are missing.

13 years agobuild: Fix the libfolks path to libfolks-internal.la
Travis Reitter [Mon, 17 Oct 2011 23:15:49 +0000 (16:15 -0700)]
build: Fix the libfolks path to libfolks-internal.la

13 years agobuild: Fix test ObjectCache for internal API breaks.
Travis Reitter [Mon, 17 Oct 2011 19:24:07 +0000 (12:24 -0700)]
build: Fix test ObjectCache for internal API breaks.

13 years agotelepathy: Add support for caching vCard parameters for contacts
Philip Withnall [Sun, 16 Oct 2011 08:24:57 +0000 (09:24 +0100)]
telepathy: Add support for caching vCard parameters for contacts

Add birthday, full name, e-mail address, phone number and URL support to the
Telepathy object cache so that contacts’ vCards are correctly stored when
the cache is updated.

Closes: bgo#661475

13 years agocore: Add support for object version migration in object cache files
Philip Withnall [Sun, 16 Oct 2011 08:23:29 +0000 (09:23 +0100)]
core: Add support for object version migration in object cache files

Add the ability for the variant type used in object cache files to vary with
the cache file version, and for object cache implementations to claim they
don't support given versions.

Helps: bgo#661475

13 years agotelepathy: Fix mixed-assignments-and-declarations warning in test library
Philip Withnall [Sun, 16 Oct 2011 08:19:29 +0000 (09:19 +0100)]
telepathy: Fix mixed-assignments-and-declarations warning in test library

13 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 17 Oct 2011 13:14:48 +0000 (15:14 +0200)]
Updated Slovenian translation

13 years agoUpdated Polish translation
Piotr Drąg [Fri, 14 Oct 2011 13:27:13 +0000 (15:27 +0200)]
Updated Polish translation

13 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 14 Oct 2011 11:59:36 +0000 (13:59 +0200)]
Updated Spanish translation

13 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 14 Oct 2011 11:58:44 +0000 (13:58 +0200)]
Updated Spanish translation

13 years agoClarify in configure output that we require 0.6 <= gee <= 0.8.
Travis Reitter [Thu, 13 Oct 2011 17:48:51 +0000 (10:48 -0700)]
Clarify in configure output that we require 0.6 <= gee <= 0.8.

Closes: bgo#660937 - [regression] build failure: No package 'gee-1.0' found

13 years agoFix our birthday string parsing for Telepathy backend.
Travis Reitter [Tue, 11 Oct 2011 21:46:34 +0000 (14:46 -0700)]
Fix our birthday string parsing for Telepathy backend.

13 years agoDon't prepare the Telepathy Connection until it's guaranteed to exist.
Travis Reitter [Mon, 10 Oct 2011 17:54:58 +0000 (10:54 -0700)]
Don't prepare the Telepathy Connection until it's guaranteed to exist.

13 years agoDistinguish Telepathy errors with new UNSUPPORTED_ON_NON_USER
Travis Reitter [Mon, 10 Oct 2011 18:07:01 +0000 (11:07 -0700)]
Distinguish Telepathy errors with new UNSUPPORTED_ON_NON_USER

13 years agoSupport Birthdays for the Telepathy backend.
Travis Reitter [Mon, 10 Oct 2011 02:11:07 +0000 (19:11 -0700)]
Support Birthdays for the Telepathy backend.

13 years agoSupport UrlDetails for the Telepathy backend.
Travis Reitter [Sun, 9 Oct 2011 23:39:52 +0000 (16:39 -0700)]
Support UrlDetails for the Telepathy backend.

13 years agoSupport EmailDetails for the Telepathy backend.
Travis Reitter [Fri, 7 Oct 2011 20:39:03 +0000 (13:39 -0700)]
Support EmailDetails for the Telepathy backend.

13 years agoSplit utility functions into an internal library.
Travis Reitter [Fri, 7 Oct 2011 18:26:30 +0000 (11:26 -0700)]
Split utility functions into an internal library.

This lets us avoid stuffing them into unrelated public libraries.

13 years agoMemoize the ContactInfo SupportedFields values.
Travis Reitter [Thu, 6 Oct 2011 22:46:22 +0000 (15:46 -0700)]
Memoize the ContactInfo SupportedFields values.

13 years agoFactor in server-side writeability of ContactInfo fields.
Travis Reitter [Thu, 6 Oct 2011 18:37:59 +0000 (11:37 -0700)]
Factor in server-side writeability of ContactInfo fields.

13 years agoInclude required Telepathy Connection ContactInfo features.
Travis Reitter [Thu, 6 Oct 2011 22:00:46 +0000 (15:00 -0700)]
Include required Telepathy Connection ContactInfo features.

These are required to look up the connection's ContactInfoFlags.Can_Set
and SupportedFields. We need both to determine which ContactInfo fields
are writeable (for Tpf.Persona.writeable_properties).

13 years agoReorganize tp/individual-properties test.
Travis Reitter [Thu, 6 Oct 2011 16:57:57 +0000 (09:57 -0700)]
Reorganize tp/individual-properties test.

13 years agoAdd assertions about Telepathy writeable properties to our tests.
Travis Reitter [Thu, 6 Oct 2011 16:54:54 +0000 (09:54 -0700)]
Add assertions about Telepathy writeable properties to our tests.

13 years agoEnsure that our test self contact has an identifier.
Travis Reitter [Wed, 5 Oct 2011 22:08:15 +0000 (15:08 -0700)]
Ensure that our test self contact has an identifier.

13 years agoPrint contact info for Telepathy contacts in tests.
Travis Reitter [Wed, 5 Oct 2011 21:40:58 +0000 (14:40 -0700)]
Print contact info for Telepathy contacts in tests.

13 years agoSupport writing extended info for Telepathy user contacts
Travis Reitter [Fri, 30 Sep 2011 17:54:15 +0000 (10:54 -0700)]
Support writing extended info for Telepathy user contacts

Helps: bgo#657602 - Telepathy backend fails to set Personas' phone
numbers from ContactInfo

13 years agoImplement ContactInfo in the Telepathy test backend.
Travis Reitter [Thu, 29 Sep 2011 21:44:35 +0000 (14:44 -0700)]
Implement ContactInfo in the Telepathy test backend.

Helps: bgo#657602 - Telepathy backend fails to set Personas' phone
numbers from ContactInfo

13 years agoTelepathy: implement PhoneDetails for Tpf.Persona
Raul Gutierrez Segales [Mon, 19 Sep 2011 17:24:34 +0000 (18:24 +0100)]
Telepathy: implement PhoneDetails for Tpf.Persona

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=657602

13 years agoMove SetComparator into folks/utils so it can be used by other backends
Raul Gutierrez Segales [Mon, 19 Sep 2011 17:11:56 +0000 (18:11 +0100)]
Move SetComparator into folks/utils so it can be used by other backends

Helps: https://bugzilla.gnome.org/show_bug.cgi?id=657602

13 years agoAdd Esperanto translation
Kristjan SCHMIDT [Sun, 2 Oct 2011 08:26:37 +0000 (10:26 +0200)]
Add Esperanto translation

13 years agoUpdated Spanish translation
Jorge González [Sat, 1 Oct 2011 14:11:32 +0000 (16:11 +0200)]
Updated Spanish translation

13 years agoAlso update tracker-sparql versions for Tracker backend.
Travis Reitter [Tue, 27 Sep 2011 20:47:50 +0000 (13:47 -0700)]
Also update tracker-sparql versions for Tracker backend.

Closes: bgo#660217 - folks-0.6.3.2 requires tracker-0.12, but
configure.ac calls VALA_CHECK_PACKAGES([tracker-sparql-0.10])

13 years agoUse consistent version checking for tracker-sparql-0.12
Travis Reitter [Tue, 27 Sep 2011 15:12:17 +0000 (08:12 -0700)]
Use consistent version checking for tracker-sparql-0.12

Closes: bgo#660217 - folks-0.6.3.2 requires tracker-0.12, but
configure.ac calls VALA_CHECK_PACKAGES([tracker-sparql-0.10])

13 years agocore: add debug info about configured primary store
Raul Gutierrez Segales [Tue, 27 Sep 2011 12:47:16 +0000 (13:47 +0100)]
core: add debug info about configured primary store

13 years agoPost-release version bump.
Travis Reitter [Tue, 27 Sep 2011 00:57:32 +0000 (17:57 -0700)]
Post-release version bump.

13 years agoRelease version 0.6.3.2 FOLKS_0_6_3_2
Travis Reitter [Tue, 27 Sep 2011 00:16:50 +0000 (17:16 -0700)]
Release version 0.6.3.2

13 years agoRequire Tracker 0.12
Travis Reitter [Mon, 26 Sep 2011 23:23:51 +0000 (16:23 -0700)]
Require Tracker 0.12

Closes: bgo#660051 - require tracker 0.12

13 years agoDon't assume that "CONNECTED" Tp.Accounts have valid Tp.Connections
Travis Reitter [Mon, 26 Sep 2011 22:07:05 +0000 (15:07 -0700)]
Don't assume that "CONNECTED" Tp.Accounts have valid Tp.Connections

There's an in-between state where the Tp.Account is "CONNECTED" but hasn't
finished preparing its Tp.Connection (and thus, it's null).

Closes: bgo#659041 — tpf-persona-store.vala: try to connect to a NULL object

13 years agoEnsure we prepare all TpAccounts before trying to use them.
Philip Withnall [Mon, 26 Sep 2011 22:36:39 +0000 (15:36 -0700)]
Ensure we prepare all TpAccounts before trying to use them.

Helps: bgo#659041 - tpf-persona-store.vala: try to connect to a NULL object

13 years agoMore-tightly scope variable in EDS backend.
Travis Reitter [Mon, 26 Sep 2011 22:44:47 +0000 (15:44 -0700)]
More-tightly scope variable in EDS backend.

13 years agoActually fall back to eds:system in case there's no default address book.
Travis Reitter [Mon, 26 Sep 2011 16:44:39 +0000 (09:44 -0700)]
Actually fall back to eds:system in case there's no default address book.

Closes: bgo#660140 - contacts_contact_find_persona_from_store: assertion `store
!= NULL' failed

13 years ago[l10n] Updated German translation
Christian Kirbach [Sat, 24 Sep 2011 09:03:36 +0000 (11:03 +0200)]
[l10n] Updated German translation

13 years agoTrivial NEWS fix.
Travis Reitter [Fri, 23 Sep 2011 22:55:39 +0000 (15:55 -0700)]
Trivial NEWS fix.

13 years agoNote in the NEWS that we fixed bgo#659732 before the 0.6.3.1 release.
Travis Reitter [Fri, 23 Sep 2011 22:54:52 +0000 (15:54 -0700)]
Note in the NEWS that we fixed bgo#659732 before the 0.6.3.1 release.

13 years agoPost-release version bump.
Travis Reitter [Fri, 23 Sep 2011 20:19:14 +0000 (13:19 -0700)]
Post-release version bump.

13 years agoRelease version 0.6.3.1 FOLKS_0_6_3_1
Travis Reitter [Thu, 22 Sep 2011 16:45:05 +0000 (09:45 -0700)]
Release version 0.6.3.1

13 years agoMake sure we source GConf files installed next to us.
Travis Reitter [Fri, 23 Sep 2011 01:26:06 +0000 (18:26 -0700)]
Make sure we source GConf files installed next to us.

13 years agoDeal with lingering callbacks in the eds/set-avatar test.
Travis Reitter [Fri, 23 Sep 2011 00:00:41 +0000 (17:00 -0700)]
Deal with lingering callbacks in the eds/set-avatar test.

These can be called after we've set this._main_loop = null,
so if we don't check it first, we'll hit warnings (which get
treated as errors).

This isn't an ideal solution, but there doesn't seem to be a
great way to avoid the handlers from firing after we no
longer care (we need something like thaw/freeze_notify(),
except for general signals, not just notify).

13 years agoSerialize checks for completion in EDS test.
Travis Reitter [Thu, 22 Sep 2011 17:37:37 +0000 (10:37 -0700)]
Serialize checks for completion in EDS test.

We were interleaving checks which resulted in inconsistent behavior.

13 years agoExit EDS test early in case multiple signal emissions are in-flight.
Travis Reitter [Thu, 22 Sep 2011 17:30:15 +0000 (10:30 -0700)]
Exit EDS test early in case multiple signal emissions are in-flight.

This fixes a race between the mainloop being nullified and a dependent
signal handler calling quit() again (no idea how the signals were
getting issued and handled after the initial quit() though).

13 years agoeds: split up link-personas test and cut relative URI dependency
Raul Gutierrez Segales [Wed, 21 Sep 2011 22:05:42 +0000 (23:05 +0100)]
eds: split up link-personas test and cut relative URI dependency

Though some code might be duplicated, it's healthy to split tests
into different executables to assure our clean-up code (wiping out
GConf entries, shutting down our own session Bus, etc) runs between
tests.

Helps: https://bugzilla.gnome.org/show_bug.cgi?id=659732

13 years agoeds: rework tests so that they don't depend on relative URIs
Raul Gutierrez Segales [Wed, 21 Sep 2011 21:07:27 +0000 (22:07 +0100)]
eds: rework tests so that they don't depend on relative URIs

Previously, tests were build around the assumption that each
Edsf.PersonaStore had an id == ESource.relative_uri. That
stopped being true (because you'll get swallowed by a black
hole in pwithnall's garden if you use relative URIs).

Helps: https://bugzilla.gnome.org/show_bug.cgi?id=659732

13 years agoe-d-s: use UID instead of relative URI to track ESources
Raul Gutierrez Segales [Wed, 21 Sep 2011 15:24:30 +0000 (16:24 +0100)]
e-d-s: use UID instead of relative URI to track ESources

Some e-d-s backends (i.e.: the Exchange one) might not have
a relative URI so we can't rely on it as an address book
identifier. So from now on we use the ESource's UID.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=659732

13 years agotpf: no need to use a lambda since callback exists
Raul Gutierrez Segales [Wed, 21 Sep 2011 20:35:20 +0000 (21:35 +0100)]
tpf: no need to use a lambda since callback exists

13 years agotpf: don't unprepare the backend if it isn't prepared
Raul Gutierrez Segales [Wed, 21 Sep 2011 19:25:54 +0000 (20:25 +0100)]
tpf: don't unprepare the backend if it isn't prepared

13 years agoClean up variables in Tpf test to match Edsf test.
Travis Reitter [Wed, 21 Sep 2011 18:09:21 +0000 (11:09 -0700)]
Clean up variables in Tpf test to match Edsf test.

13 years agoCheck for expected-missing capabilities in PersonaStore tests.
Travis Reitter [Wed, 21 Sep 2011 18:07:37 +0000 (11:07 -0700)]
Check for expected-missing capabilities in PersonaStore tests.

13 years agoUse PersonaStore.always_writeable_properties.
Travis Reitter [Wed, 21 Sep 2011 16:49:02 +0000 (09:49 -0700)]
Use PersonaStore.always_writeable_properties.

This removes references to the deprecated
PersonaStore.can_alias_personas and PersonaStore.can_group_personas

Closes: bgo#659737 - tests fail due to usage of deprecated methods

13 years agobuild: Fix regular expression to extract dlname
Colin Walters [Wed, 21 Sep 2011 16:13:31 +0000 (12:13 -0400)]
build: Fix regular expression to extract dlname

The regex writer unintentially made a character range in ".-+".
This was always wrong, but it actively fails when LANG=C.

Closes: bgo#658002 - defective typelib

13 years agoDeprecate PersonaStore.can-[alias|group]-personas
Raul Gutierrez Segales [Mon, 19 Sep 2011 11:38:08 +0000 (12:38 +0100)]
Deprecate PersonaStore.can-[alias|group]-personas

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=658332

13 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 20 Sep 2011 11:17:07 +0000 (13:17 +0200)]
Updated Slovenian translation

13 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 20 Sep 2011 11:07:06 +0000 (13:07 +0200)]
Updated Slovenian translation

13 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 19 Sep 2011 14:14:53 +0000 (16:14 +0200)]
Updated Slovenian translation

13 years agoUpdate NEWS file for next release
Raul Gutierrez Segales [Mon, 19 Sep 2011 11:09:24 +0000 (12:09 +0100)]
Update NEWS file for next release

13 years agobuild: Post-release version bump
Philip Withnall [Sun, 18 Sep 2011 18:32:44 +0000 (19:32 +0100)]
build: Post-release version bump

13 years agobuild: Release version 0.6.3 FOLKS_0_6_3
Philip Withnall [Sun, 18 Sep 2011 18:30:23 +0000 (19:30 +0100)]
build: Release version 0.6.3

13 years agourl-details: s/HOMEPAGE/HOME_PAGE/
Philip Withnall [Sun, 18 Sep 2011 18:01:31 +0000 (19:01 +0100)]
url-details: s/HOMEPAGE/HOME_PAGE/

Quick, before this gets released and frozen!

13 years agoeds: Fix potential false matches in _is_in_source_list()
Philip Withnall [Sun, 18 Sep 2011 17:24:50 +0000 (18:24 +0100)]
eds: Fix potential false matches in _is_in_source_list()

It's possible for the relative URIs of two ESources to be equal (though it's
unlikely). Consequently, we need to compare by UID as well.

13 years agoBug 653623 — Would like a set of standard "type" parameters for UrlDetails
Philip Withnall [Fri, 16 Sep 2011 22:34:39 +0000 (23:34 +0100)]
Bug 653623 — Would like a set of standard "type" parameters for UrlDetails

Add some consts for TYPE and some common values for it for UrlFieldDetails.

Closes: bgo#653623

13 years agoindividual: Prefer set properties over unset ones
Philip Withnall [Sun, 18 Sep 2011 15:56:23 +0000 (16:56 +0100)]
individual: Prefer set properties over unset ones

I can't believe I didn't notice/think of this when I first wrote this code.
I think my licence to write software should be revoked.

13 years agoUpdate British English translation
Philip Withnall [Sun, 18 Sep 2011 13:09:12 +0000 (14:09 +0100)]
Update British English translation

13 years agoBug 657738 — Favorite people are not always displayed
Philip Withnall [Sat, 17 Sep 2011 21:16:07 +0000 (22:16 +0100)]
Bug 657738 — Favorite people are not always displayed

Ensure the TpLogger connection in Tpf.PersonaStore is always prepared before
we first attempt to use favourite contact data.

This should fix the situation where IM connections are already prepared before
folks is prepared (i.e. _connection_ready_cb() is called as soon as the
Tpf.PersonaStore is prepared).

Closes: bgo#657738

13 years agoUpdated Czech translation
Marek Černocký [Sat, 17 Sep 2011 20:20:58 +0000 (22:20 +0200)]
Updated Czech translation

13 years agoUpdated Polish translation
Piotr Drąg [Sat, 17 Sep 2011 19:58:43 +0000 (21:58 +0200)]
Updated Polish translation

13 years agoi18n: Remove untranslatable identifiers from translatable strings
Philip Withnall [Sat, 17 Sep 2011 11:40:22 +0000 (12:40 +0100)]
i18n: Remove untranslatable identifiers from translatable strings

Also remove some trailing newline characters which don't need translating.

13 years agoi18n: Fix a few en_GB-isms in C locale strings
Philip Withnall [Sat, 17 Sep 2011 11:31:40 +0000 (12:31 +0100)]
i18n: Fix a few en_GB-isms in C locale strings

13 years agoBug 658161 — Consistently use “contact” in translatable strings
Philip Withnall [Sat, 17 Sep 2011 11:27:10 +0000 (12:27 +0100)]
Bug 658161 — Consistently use “contact” in translatable strings

Use “contact” and “Telepathy contact” where appropriate instead of “persona”,
to try and reduce the amount of technical vocabulary in the translatable
strings.

Closes: bgo#658161

13 years agoBug 646847 — Rename _update () in Trf.Persona
Philip Withnall [Sat, 17 Sep 2011 19:36:43 +0000 (20:36 +0100)]
Bug 646847 — Rename _update () in Trf.Persona

…or just remove it entirely, since it was only called from one place.

Closes: bgo#646847

13 years agoeds: Add gender as an always-writeable property
Philip Withnall [Sat, 17 Sep 2011 18:19:43 +0000 (19:19 +0100)]
eds: Add gender as an always-writeable property

This is because it uses a custom vCard attribute, so no EDS backend actually
says it's supported. We assume that the backends will save these custom
vCard attributes safely.

13 years agoBug 658328 — Return PropertyError.NOT_WRITEABLE from Persona property setters
Philip Withnall [Sat, 17 Sep 2011 17:58:40 +0000 (18:58 +0100)]
Bug 658328 — Return PropertyError.NOT_WRITEABLE from Persona property setters

Only the EDS backend was affected, and it's not been changed to check whether
properties are writeable before attempting to set them.

Closes: bgo#658328

13 years agoeds: Remove duplicate change checks from Edsf.Persona.change_avatar()
Philip Withnall [Sat, 17 Sep 2011 17:37:22 +0000 (18:37 +0100)]
eds: Remove duplicate change checks from Edsf.Persona.change_avatar()

Helps: bgo#658328

13 years agoBug 658531 — Sometimes avatar caching doesn't work
Philip Withnall [Sat, 17 Sep 2011 16:24:30 +0000 (17:24 +0100)]
Bug 658531 — Sometimes avatar caching doesn't work

Work around bug #659324 (in GIO) to ensure that we never close the same FD
more than once when storing avatars to the cache.

Closes: bgo#658531

13 years agoeds: Re-use a GTimeZone instance for converting birthday timezones
Philip Withnall [Sat, 17 Sep 2011 16:23:19 +0000 (17:23 +0100)]
eds: Re-use a GTimeZone instance for converting birthday timezones

Every time a GTimeZone is created, /etc/localtime is opened. Reduce this
overhead by sharing a single GTimeZone instance between all Edsf.Personas
for all time.

This makes our strace a little tidier.

13 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 17 Sep 2011 15:29:32 +0000 (17:29 +0200)]
Updated Slovenian translation

13 years agoUpdate British English translation
Philip Withnall [Sat, 17 Sep 2011 11:06:15 +0000 (12:06 +0100)]
Update British English translation

13 years agoUpdated Czech translation
Marek Černocký [Fri, 16 Sep 2011 22:07:53 +0000 (00:07 +0200)]
Updated Czech translation

13 years agoabstract-field-details: Minor documentation fix
Philip Withnall [Fri, 16 Sep 2011 20:56:07 +0000 (21:56 +0100)]
abstract-field-details: Minor documentation fix

13 years agoe-d-s: test case for changing primary store
Raul Gutierrez Segales [Thu, 1 Sep 2011 18:29:06 +0000 (19:29 +0100)]
e-d-s: test case for changing primary store

13 years agoe-d-s: allow setting default address books in tests
Raul Gutierrez Segales [Thu, 1 Sep 2011 18:31:28 +0000 (19:31 +0100)]
e-d-s: allow setting default address books in tests

13 years agoe-d-s: notify when an address book is configured as default
Raul Gutierrez Segales [Thu, 15 Sep 2011 14:38:11 +0000 (15:38 +0100)]
e-d-s: notify when an address book is configured as default

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=657141

13 years agocore: add Folks.PersonaStore.user-set-default property
Raul Gutierrez Segales [Thu, 15 Sep 2011 14:33:58 +0000 (15:33 +0100)]
core: add Folks.PersonaStore.user-set-default property

With this property we can tell if a Store (i.e.: an e-d-s address
book) has been marked by the user as his default store (either from
Evo or from GOA, etc).

Helps: https://bugzilla.gnome.org/show_bug.cgi?id=657141

13 years agoIndividualAggregator: improve naming for primary store related methods
Raul Gutierrez Segales [Thu, 15 Sep 2011 13:43:36 +0000 (14:43 +0100)]
IndividualAggregator: improve naming for primary store related methods

Renamed _set_primary_store () to _configure_primary_store () and refactor
the code that actually sets the primary store into _set_primary_store ().

Helps: https://bugzilla.gnome.org/show_bug.cgi?id=657141

13 years agoLet each PersonaStore manage its trust-level
Raul Gutierrez Segales [Wed, 14 Sep 2011 19:48:47 +0000 (20:48 +0100)]
Let each PersonaStore manage its trust-level

Previously, the IndividualAggregator was in charge of
downgrading and upgrading the trust-level of each
PersonaStore. From now on, we let each Store manage its
trust-level since it's the natural way to do it.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=659075

13 years agoBug 659128 — If a persona store goes away we don't remove its personas
Philip Withnall [Thu, 15 Sep 2011 21:09:36 +0000 (22:09 +0100)]
Bug 659128 — If a persona store goes away we don't remove its personas

Handle removal of the address books backing Edsf.PersonaStores by notifying
of the removal of all the personas in the store, then emitting
PersonaStore.removed.

Test included.

Closes: bgo#659128

13 years agoindividual: Prefer data from personas with writeable properties
Philip Withnall [Wed, 14 Sep 2011 21:26:04 +0000 (22:26 +0100)]
individual: Prefer data from personas with writeable properties

As an addition to the fix for bgo#657783, if two personas come from stores
which have equal is-primary-store values, we now prefer the persona which
lists the given property as writeable. If both personas list (or don't list)
the property as writeable, we fall back to the given ordering function as
before.

Closes: bgo#657783

13 years agotracker: configure primary store for tests via env var
Raul Gutierrez Segales [Fri, 16 Sep 2011 13:59:09 +0000 (14:59 +0100)]
tracker: configure primary store for tests via env var

No need for GConf to set up primary store for tests, doing it
via en env var is good enough.

Helps: https://bugzilla.gnome.org/show_bug.cgi?id=647909

13 years agoe-d-s: configure primary store for link-personas test via env var
Raul Gutierrez Segales [Fri, 16 Sep 2011 13:30:12 +0000 (14:30 +0100)]
e-d-s: configure primary store for link-personas test via env var

For tests, it's much simpler to do it via an env variable than via
GConf and we avoid ourselves a dependency.

Helps: https://bugzilla.gnome.org/show_bug.cgi?id=647909

13 years agoUpdated Polish translation
Piotr Drąg [Thu, 15 Sep 2011 18:13:51 +0000 (20:13 +0200)]
Updated Polish translation