Alexandre Franke [Thu, 6 Sep 2012 14:48:50 +0000 (16:48 +0200)]
Update French translation
Arash Mousavi [Thu, 6 Sep 2012 11:38:19 +0000 (16:08 +0430)]
l10n: Added Persian translation
Andika Triwidada [Thu, 6 Sep 2012 08:49:55 +0000 (15:49 +0700)]
Updated Indonesian translation
Philip Withnall [Thu, 6 Sep 2012 06:40:27 +0000 (07:40 +0100)]
Bug 683452 — gnome-contacts starts up with an empty address book
Edsf.Persona.is_google_personal_group and .is_favourite can both be set by
the _update_groups() method. Groups must be lazily initialised when
accessing these properties, therefore.
Based on a patch by Giovanni Campagna <scampa.giovanni@gmail.com>.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=683452
Jeremy Whiting [Thu, 6 Sep 2012 00:01:03 +0000 (18:01 -0600)]
Bump vala required version.
Philip Withnall [Tue, 28 Aug 2012 20:48:10 +0000 (21:48 +0100)]
Bug 681726 — empathy crashed with SIGABRT in g_assertion_message()
Handle the case where calling a change_prop() method on an Individual
doesn’t find a suitable Persona to change the property on. Previously, the
code assumed that not successfully changing the property meant an error
must’ve been set. This was obviously wrong.
This patch changes it to only try and throw an error if an error has actually
been set. If no suitable Personas exist to write a property change to, the
property change will fail with PropertyError.NOT_WRITEABLE.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=681726
Piotr Drąg [Wed, 5 Sep 2012 23:37:56 +0000 (01:37 +0200)]
Updated Polish translation
Philip Withnall [Sun, 2 Sep 2012 20:20:31 +0000 (21:20 +0100)]
telepathy: Clarify nullability of Tpf.PersonaStore._conn
Philip Withnall [Sun, 2 Sep 2012 20:18:18 +0000 (21:18 +0100)]
telepathy: Correctly maintain strong refs on TpContacts in property accessors
While performing operations on a TpContact’s properties, folks should hold
a strong ref on the TpContact (even if it doesn’t normally hold one).
This expands on commit
b251bcb92a343b051e62d458b66de4a9d3011f82 to fix folks
to correctly hold a strong reference in such situations.
This also fixes a potential bug where changing a Tpf.Persona’s groups while
the persona was being served out of the cache would cause a crash (null
pointer dereference).
This adds the following new API:
• PropertyError.UNAVAILABLE
See: https://bugzilla.gnome.org/show_bug.cgi?id=680335
Philip Withnall [Sun, 2 Sep 2012 19:56:44 +0000 (20:56 +0100)]
telepathy: Fix a race condition in the handling of weak refs to TpContacts
Use a WeakRef to maintain the pointer to a TpContact in Tpf.Persona,
rather than g_object_weak_[un]ref() and manually nullifying the pointer.
See the comments in bug #680335 for a full explanation.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=680335
Jeremy Whiting [Wed, 5 Sep 2012 22:36:15 +0000 (16:36 -0600)]
Added bugfix to NEWS.
Jeremy Whiting [Wed, 5 Sep 2012 22:34:23 +0000 (16:34 -0600)]
Merge branch 'inspect-linking'
Reviewed-by: Philip Withnall
Philip Withnall [Tue, 4 Sep 2012 23:41:22 +0000 (00:41 +0100)]
Bug 683319 — Crash in individual-aggregator: _personas_changed_cb
Keep a reference to the Tpf.PersonaStore’s self persona when emitting
a ‘personas changed’ notification about it, so that it doesn’t get unset
in the store’s member variable in the mean time, resulting in a null persona
being emitted in the ‘personas changed’ signal.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=683319
Bruce Cowan [Wed, 5 Sep 2012 14:04:14 +0000 (15:04 +0100)]
Updated British English translation
Xavier Claessens [Wed, 5 Sep 2012 08:33:19 +0000 (10:33 +0200)]
Fix build error
Jeremy Whiting [Fri, 3 Aug 2012 21:23:11 +0000 (15:23 -0600)]
inspect: Make Command.run async.
inspect: Make linking folks-inspect command run not return until done.
Piotr Drąg [Sun, 2 Sep 2012 21:13:33 +0000 (23:13 +0200)]
Updated Polish translation
Philip Withnall [Tue, 28 Aug 2012 23:04:31 +0000 (00:04 +0100)]
Bug 682719 — eds test fails to compile
Don’t use deprecated EDS API in the EDS tests. The replacement API doesn’t
require a dependency version bump.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=682719
Philip Withnall [Tue, 28 Aug 2012 23:23:40 +0000 (00:23 +0100)]
core: Only emit notifications for multi-valued properties when necessary
Previously, notifications were emitted whenever a related Persona’s property
changed, even if it had no effect on the Individual’s property. This was
causing infinite loops of notifications-then-getters-being-called in some
of the EDS tests. Bad.
This is fixed by only emitting notifications on Individuals’ multi-valued
properties if the properties have actually changed. Of course, this
requires lots of copying and pasting the same code because Vala doesn’t
have a preprocessor and delegates aren’t up to the job. Sigh.
See: https://bugzilla.gnome.org/show_bug.cgi?id=682809
Philip Withnall [Mon, 27 Aug 2012 12:27:22 +0000 (13:27 +0100)]
core: Tidy up multi-valued property update functions
Create a new _update_multi_valued_property() helper function and
corresponding delegates, to mirror the existing
_update_single_valued_property() helper.
This new function is now used for most multi-valued property updaters in
Individual. It’s not used for groups, because they have weird signalling.
Philip Withnall [Mon, 27 Aug 2012 09:13:53 +0000 (10:13 +0100)]
telepathy: Support lazy initialisation of properties
See commit
303547fec56e416f57f73643e2afb7bb4e4a8a7f. This adds support for
lazy initialisation of multi-valued properties to the Telepathy backend.
Philip Withnall [Mon, 27 Aug 2012 09:13:19 +0000 (10:13 +0100)]
eds: Support lazy initialisation of properties
See commit
303547fec56e416f57f73643e2afb7bb4e4a8a7f. This adds support for
lazy initialisation of multi-valued properties to the EDS backend.
Philip Withnall [Mon, 27 Aug 2012 09:05:35 +0000 (10:05 +0100)]
core: Support lazy initialisation of properties
Creating several HashSets and HashMultiMaps for every Individual turns
out to be quite wasteful, especially when most of them will typically be
empty (as address books are generally quite sparse on properties) and never
accessed (since most clients don’t need local IDs or web service addresses).
This commit delays initialisation of various multi-valued Individual
properties to the first time they’re accessed, giving them a null value
before that time. It preserves the existing API for Individual, i.e. the
properties themselves remain non-nullable, and only the object members
backing them become nullable.
This does introduce a slight behaviour change, in that an Individual will
now emit change notifications for a non-initialised multi-valued property if
*any* of the Personas in the Individual emit a notification for that
property. This is because the Individual can’t compare the current value of
its property to the new one resulting from the change in the Persona’s
property value to determine if a change has really occurred. Therefore the
Individual makes a safe over-estimate and emits notifications which might
be false positives.
This shouldn’t be a problem: if a client is interested in the property,
they will have already queried it and caused it to be initialised.
Initialised properties have the same notification behaviour as before.
If a client isn’t interested in the property, it won’t be connected to the
property notifications anyway.
This change roughly quarters the number of GObjects being created when
opening folks-inspect with the Telepathy, key-file and EDS backends enabled
and ~115 personas in the system.
Philip Withnall [Mon, 27 Aug 2012 09:05:14 +0000 (10:05 +0100)]
core: Expanding a profiling message slightly
Philip Withnall [Mon, 27 Aug 2012 08:59:55 +0000 (09:59 +0100)]
eds: Batch up emissions of personas-changed while starting up
There’s no point in emitting personas-changed multiple times before the EDS
persona store has reached quiescence — it just means the individual
aggregator has to re-link more personas with each emission.
This patch batches up emissions of personas-changed from the EDS persona
store until is-quiescent is reached, then notifies about all personas in
a single emission.
Philip Withnall [Sun, 26 Aug 2012 22:43:26 +0000 (23:43 +0100)]
eds: Remove unnecessary locking
It didn’t achieve anything.
Nilamdyuti Goswami [Mon, 27 Aug 2012 19:19:08 +0000 (00:49 +0530)]
Implemented FUEL entries to Assamese translation
Philip Withnall [Mon, 27 Aug 2012 13:42:11 +0000 (14:42 +0100)]
docs: Add some more rules to the HACKING coding guidelines
Because rules are good.
Philip Withnall [Sat, 25 Aug 2012 10:44:23 +0000 (11:44 +0100)]
build: Switch to using AS_IF in configure.ac rather than shell script ‘if’
This is necessary because using certain autoconf macros inside a shell
script ‘if’ can cause problems if the macros perform a one-time
initialisation. The initialisation variables will be lost if the ‘if’ branch
isn’t taken.
See: https://bugzilla.gnome.org/show_bug.cgi?id=682346
See: https://bugzilla.gnome.org/show_bug.cgi?id=681413
Philip Withnall [Sat, 25 Aug 2012 10:42:47 +0000 (11:42 +0100)]
build: Add DIST_SUBDIRS in the top-level Makefile.am
Just in case DISTCHECK_CONFIGURE_FLAGS gets changed at some point to no
longer build all subdirectories, we should list them all in DIST_SUBDIRS
so they still get distributed. It would be a shame to release a folks
tarball with half of the source code missing.
See: https://bugzilla.gnome.org/show_bug.cgi?id=682346
Nguyễn Thái Ngọc Duy [Sat, 25 Aug 2012 10:17:14 +0000 (17:17 +0700)]
Updated Vietnamese translation
Nguyễn Thái Ngọc Duy [Sat, 25 Aug 2012 09:55:18 +0000 (16:55 +0700)]
po/vi: import from Damned Lies
Arun Raghavan [Sat, 25 Aug 2012 04:58:44 +0000 (10:28 +0530)]
Update NEWS with fix for bug 682346
Forgot to push this out with the original commit.
Arun Raghavan [Tue, 21 Aug 2012 11:13:14 +0000 (16:43 +0530)]
build: Make telepathy backend optional
This is handy for while developing for those who don't always have
bleeding edge telepathy-glib. As a side-effect, tests are also made
optional (but on by default).
https://bugzilla.gnome.org/show_bug.cgi?id=682346
Jeremy Whiting [Fri, 24 Aug 2012 21:54:04 +0000 (15:54 -0600)]
inspect: Fix crash when Utils.output_filestream is uninitialized.
Philip Withnall [Thu, 23 Aug 2012 21:40:45 +0000 (22:40 +0100)]
Bug 682572 — Build failures due to accessing static members
Fix some more build failures due to accessing static members using an instance
variable. Also fix an instance of calling an async function with an implicit
‘.begin()’.
Hopefully that’s the last of them.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=682572
Piotr Drąg [Thu, 23 Aug 2012 00:52:39 +0000 (02:52 +0200)]
Updated Polish translation
Dirgita [Tue, 21 Aug 2012 09:49:01 +0000 (16:49 +0700)]
Updated Indonesian translation
Philip Withnall [Mon, 30 Jul 2012 10:03:21 +0000 (12:03 +0200)]
Bug 664072 — Folks should only use assert*() for critical, program-terminating errors
Turn various assert()s into return[_val]_if_fail()s.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=664072
Fran Diéguez [Thu, 16 Aug 2012 22:31:42 +0000 (00:31 +0200)]
Updated Galician translations
Travis Reitter [Wed, 15 Aug 2012 00:40:16 +0000 (17:40 -0700)]
Note fixes for bgo#681420 in NEWS.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=681420
Travis Reitter [Wed, 15 Aug 2012 00:37:39 +0000 (17:37 -0700)]
Access static class members through class; use explicit .begin()
This covers the libsocialweb backend tests.
Helps: https://bugzilla.gnome.org/show_bug.cgi?id=681420
Travis Reitter [Mon, 13 Aug 2012 16:51:09 +0000 (09:51 -0700)]
Access static class members through class, not instance.
This covers the libsocialweb backend.
Helps: https://bugzilla.gnome.org/show_bug.cgi?id=681420
Philip Withnall [Tue, 14 Aug 2012 20:21:05 +0000 (21:21 +0100)]
docs: Use correct Valadoc syntax for monospaced content
The syntax is ‘``monospaced text``’ rather than ‘`monospaced text`’, which
we were consistently getting wrong. Valadoc now produces the correct markup
for monospaced text, but it doesn’t appear differently from other text at
the moment due to Valadoc not having any CSS for it. That will change soon.
Similarly, Valadoc currently produces the wrong markup for monospaced text
with the gtkdoc doclet, but that will soon be fixed.
See: https://bugzilla.gnome.org/show_bug.cgi?id=681721
Jeremy Whiting [Fri, 6 Jul 2012 20:21:02 +0000 (14:21 -0600)]
Add gir and .vapi files to DISTCLEANFILES if not building a release
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=643128
Erick Pérez Castellanos [Tue, 14 Aug 2012 17:22:10 +0000 (13:22 -0400)]
eds: Add create_source_registry to eds tests.
Erick Pérez Castellanos [Mon, 13 Aug 2012 19:18:58 +0000 (15:18 -0400)]
tracker tests fixed to match last vala release.
Vala change:
1. Warn when accessing static members with an instance reference.
2. Deprecate implicit .begin for async methods.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=681420
Erick Pérez Castellanos [Mon, 13 Aug 2012 19:17:55 +0000 (15:17 -0400)]
tracker backend fixed to match last vala release.
Vala change:
1. Warn when accessing static members with an instance reference.
2. Deprecate implicit .begin for async methods.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=681420
Philip Withnall [Mon, 13 Aug 2012 20:45:20 +0000 (21:45 +0100)]
docs: Add replacement symbols to ‘Deprecated’ annotations
This improves the documentation (and valac error messages) a little.
Sandeep Sheshrao Shedmake [Sun, 12 Aug 2012 11:03:08 +0000 (16:33 +0530)]
Added Marathi Translation
A S Alam [Sun, 12 Aug 2012 03:44:20 +0000 (09:14 +0530)]
Update Punjabi Translation
Jeremy Whiting [Fri, 10 Aug 2012 23:00:53 +0000 (17:00 -0600)]
eds: Add create_source_registry to eds-backend to fix build.
Jeremy Whiting [Tue, 7 Aug 2012 02:13:00 +0000 (20:13 -0600)]
Prefer earlier alphabetical uid persona when two personas from the same persona store.
Fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=681346
Sweta Kothari [Fri, 10 Aug 2012 11:27:07 +0000 (16:57 +0530)]
Updated gujarati file
Sweta Kothari [Fri, 10 Aug 2012 11:01:07 +0000 (16:31 +0530)]
Updated gujarati file
Sweta Kothari [Fri, 10 Aug 2012 09:41:08 +0000 (15:11 +0530)]
Updated gujarati file
Philip Withnall [Thu, 9 Aug 2012 23:15:40 +0000 (00:15 +0100)]
docs: Various small fixes and expansions of documentation
• Various links fixed to point to class documentation rather than its
constructor documentation (this is a quirk of Valadoc; if using
“{@link ClassName}” inside a method of ClassName, the link will point to
ClassName’s constructor because symbols are resolved relatively and the
class’ constructor is called “ClassName”).
• Various bits of documentation expanded (mostly trivially) to shut gtk-doc
up about missing long descriptions.
• Some Vala code attributes moved around so the documentation comments are
correctly associated with the code. (This shouldn’t change the behaviour
of the attributes themselves.)
• Some trivial constructors added to classes in order to give them
documentation.
• Constructor for Utils added and deprecated immediately. Utils should
become a nested namespace on the next API break, since it will only ever
contain static methods, and thus doesn’t need to be instantiable (which
folks will make it at the moment).
Philip Withnall [Thu, 9 Aug 2012 23:13:11 +0000 (00:13 +0100)]
docs: Remove protected symbols from the documentation
Folks isn’t really extensible outside its own source tree, so why clutter
up the documentation (and its build process/logs) with protected symbols?
Philip Withnall [Thu, 9 Aug 2012 23:11:20 +0000 (00:11 +0100)]
eds: Minor API fixes in the EDS backend
These APIs, introduced in folks 0.7.1 (so this is an unstable API break,
but that’s OK), weren’t quite right in C. The SourceRegistry constructor
shouldn’t be exposed publicly as part of folks, and the PersonaStore
constructor had a stray extra parameter.
Erick Pérez Castellanos [Thu, 9 Aug 2012 18:57:15 +0000 (14:57 -0400)]
tests fixed to match last vala release.
Vala change:
1. Warn when accessing static members with an instance reference.
2. Deprecate implicit .begin for async methods.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=681420
Erick Pérez Castellanos [Thu, 9 Aug 2012 18:55:38 +0000 (14:55 -0400)]
Fixes to build with last vala release.
Vala change:
1. Warn when accessing static members with an instance reference.
2. Deprecate implicit .begin for async methods.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=681420
Erick Pérez Castellanos [Thu, 9 Aug 2012 18:54:54 +0000 (14:54 -0400)]
telepathy backend fixed to match last vala release.
Vala change:
1. Warn when accessing static members with an instance reference.
2. Deprecate implicit .begin for async methods.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=681420
Erick Pérez Castellanos [Thu, 9 Aug 2012 18:54:04 +0000 (14:54 -0400)]
key-file backend fixed to match last vala release.
Vala change:
1. Warn when accessing static members with an instance reference.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=681420
Erick Pérez Castellanos [Thu, 9 Aug 2012 18:52:52 +0000 (14:52 -0400)]
eds backend fixed to match last vala release.
Vala change:
1. Warn when accessing static members with an instance reference.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=681420
Arvis Lacis [Tue, 7 Aug 2012 19:22:53 +0000 (22:22 +0300)]
Added Latvian translation
chandankumar [Tue, 7 Aug 2012 05:52:34 +0000 (11:22 +0530)]
LINGUAS updated and new hindi translation added
Nilamdyuti Goswami [Mon, 6 Aug 2012 08:16:18 +0000 (13:46 +0530)]
Assamese translation completed
Nilamdyuti Goswami [Mon, 6 Aug 2012 03:41:52 +0000 (09:11 +0530)]
Added Assamese to LINGUAS
Alban Browaeys [Wed, 1 Aug 2012 12:43:21 +0000 (14:43 +0200)]
configure: -Werror= make no sense for "no" and "extra"
gcc error out when -Werror=extra -Werror=no-*
are used. And it is the most sensible thing to do.
https://bugzilla.gnome.org/show_bug.cgi?id=680976
Philip Withnall [Tue, 31 Jul 2012 15:04:06 +0000 (17:04 +0200)]
Post-release version bump
Philip Withnall [Mon, 30 Jul 2012 10:50:08 +0000 (12:50 +0200)]
build: Add a missing file to MAINTAINERCLEANFILES
Philip Withnall [Mon, 30 Jul 2012 09:12:05 +0000 (11:12 +0200)]
build: Remove -Werror from CFLAGS
Replace it with a more targetted set of -Werror=[flag] flags, copied from
libsoup: http://git.gnome.org/browse/libsoup/tree/configure.ac?id=
f5902fce98ae0314f0d9ca6e544895548c94a456#n339
Fran Diéguez [Mon, 30 Jul 2012 00:50:19 +0000 (02:50 +0200)]
Updated Galician translations
Philip Withnall [Sun, 29 Jul 2012 18:06:02 +0000 (20:06 +0200)]
eds: Remove unnecessary valadoc taglet
The [Deprecated] code attribute serves the same purpose.
Philip Withnall [Sun, 29 Jul 2012 18:04:44 +0000 (20:04 +0200)]
docs: Add “wiki” pages to the documentation
These, aptly enough, contain information moved from the wiki on
freedesktop.org about folks concepts, debugging and a glossary.
Philip Withnall [Sun, 29 Jul 2012 15:26:07 +0000 (17:26 +0200)]
Release version 0.7.3
Philip Withnall [Sun, 29 Jul 2012 07:50:38 +0000 (09:50 +0200)]
build: Add a missing file to the tests Makefile
Stas Solovey [Sun, 29 Jul 2012 14:09:24 +0000 (18:09 +0400)]
Updated Russian translation
Christian Kirbach [Sat, 28 Jul 2012 22:16:34 +0000 (00:16 +0200)]
Updated German translation
Sweta Kothari [Fri, 27 Jul 2012 10:00:54 +0000 (15:30 +0530)]
Updated gujarati file & Added LINGUAS file for gujarati
Jeremy Whiting [Tue, 24 Jul 2012 18:46:06 +0000 (12:46 -0600)]
Revert "Change libgee dependency from 0.6 to 0.8."
This reverts commit
5b5360bff7a61ef17173cbe35cc32712ca0fc329.
Jeremy Whiting [Tue, 24 Jul 2012 18:44:25 +0000 (12:44 -0600)]
Revert "Port folks to libgee 0.8."
This reverts commit
e069bbe59dc54eb3595d8ee5c96aea4a36cff9aa.
Philip Withnall [Sat, 21 Jul 2012 00:25:01 +0000 (01:25 +0100)]
Bug 660236 — Paging for long text in folks-inspect
Use $PAGER to allow paging of the output of really long commands in
folks-inspect.
Based on work by Raúl Gutierrez Segales and Jeremy Whiting.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=660236
Jeremy Whiting [Mon, 23 Jul 2012 18:52:18 +0000 (12:52 -0600)]
Remove extra calls to set this._prepare_pending to false.
Jeremy Whiting [Fri, 20 Jul 2012 20:57:56 +0000 (14:57 -0600)]
Removed locks in trf-persona-store that are not needed.
Minor style fixes based on review of previous changes.
Jeremy Whiting [Fri, 20 Jul 2012 16:51:08 +0000 (10:51 -0600)]
Remove additional locks around this._is_prepared.
Travis Reitter [Thu, 7 Jul 2011 01:13:36 +0000 (18:13 -0700)]
Cut unnecessary locking in Tracker backend tests.
Closes: bgo#652637 - Don't hold locks across async calls
Travis Reitter [Thu, 7 Jul 2011 00:54:01 +0000 (17:54 -0700)]
Cut unnecessary Swf.PersonaStore._is_prepared locking.
Helps: bgo#652637 - Don't hold locks across async calls
Travis Reitter [Thu, 7 Jul 2011 00:51:07 +0000 (17:51 -0700)]
Cut unnecessary Kf.PersonaStore._is_prepared locking.
Helps: bgo#652637 - Don't hold locks across async calls
Travis Reitter [Thu, 7 Jul 2011 00:39:40 +0000 (17:39 -0700)]
Cut unnecessary Tpf.PersonaStore._is_prepared locking.
Helps: bgo#652637 - Don't hold locks across async calls
Travis Reitter [Thu, 7 Jul 2011 00:21:56 +0000 (17:21 -0700)]
Cut unnecessary Trf.PersonaStore._is_prepared locking.
Helps: bgo#652637 - Don't hold locks across async calls
Travis Reitter [Thu, 7 Jul 2011 00:58:05 +0000 (17:58 -0700)]
Prevent extra "concurrent" Aggregator prepare() calls from one thread.
Helps: bgo#652637 - Don't hold locks across async calls
Travis Reitter [Wed, 6 Jul 2011 21:48:43 +0000 (14:48 -0700)]
Prevent extra "concurrent" PersonaStore.prepare() calls from one thread.
The lock() calls which were in place only prevent concurrent calls from
different threads; however, the critical section could still be reached
from two async calls in the same thread a la:
backend.prepare.begin ((s,r) => {...});
backend.prepare.begin ((s,r) => {...});
The bodies of the handlers would not literally execute concurrently, but
would be interleaved if each were sufficiently long. Our fix simply
ignores any calls which happen while one is still working.
(yield backend.prepare(); yield backend.prepare(); was already safe, of
course)
Helps: bgo#652637 - Don't hold locks across async calls
Travis Reitter [Wed, 6 Jul 2011 18:09:26 +0000 (11:09 -0700)]
Add test cases for mutexing for async calls from the same thread.
The standard Vala lock() call is a recursive lock, so it only prevents
concurrent access between different threads. But we rarely run in
distinct threads, so this test uses a more-complete solution that we can
depend upon (since the test will fail if its assumptions ever change in
Vala).
Helps: bgo#652637 - Don't hold locks across async calls
Travis Reitter [Tue, 5 Jul 2011 21:36:49 +0000 (14:36 -0700)]
Fix Tracker structure locking for user-initiated Persona adds.
Helps: bgo#652637 - Don't hold locks across async calls
Kjartan Maraas [Mon, 23 Jul 2012 10:27:16 +0000 (12:27 +0200)]
Updated Norwegian bokmål translation
Philip Withnall [Sun, 22 Jul 2012 12:04:59 +0000 (13:04 +0100)]
eds: Make some PersonaStore methods synchronous
There was absolutely no point in them being asynchronous (they didn’t yield
at all, and didn’t run any blocking operations), so were just generating
excess C code and slowing everything down.
This cuts 1200 lines from edsf-persona-store.c.
Philip Withnall [Sun, 22 Jul 2012 08:10:29 +0000 (09:10 +0100)]
eds: Hide the “Starred in Android” group from the set of groups
For Google address books, it’s used to determine whether a contact is a
favourite, so needn’t be shown in the set of groups.
Note that this requires commit
161faab40fa65e813ac98042ef822298dc58cfde
from EDS in order to behave properly.
See: https://bugzilla.gnome.org/show_bug.cgi?id=661490
Ihar Hrachyshka [Thu, 19 Jul 2012 21:07:52 +0000 (00:07 +0300)]
Added Belarusian translation.
Philip Withnall [Thu, 19 Jul 2012 04:04:31 +0000 (05:04 +0100)]
core: Fix documentation on GroupDetails.groups
It was out of date and didn’t match the data type of GroupDetails.groups
any more.
See: https://bugzilla.gnome.org/show_bug.cgi?id=679743