qtcontacts-tracker:contactsd.git
6 years agoPrepare to release 1.0.5-1 harmattan/1.0.5-1
Adrien Bustany [Thu, 25 Aug 2011 12:28:14 +0000 (15:28 +0300)]
Prepare to release 1.0.5-1

6 years agoTests: use SIGTERM to kill contactsd, not SIGINT
Adrien Bustany [Thu, 25 Aug 2011 12:23:42 +0000 (15:23 +0300)]
Tests: use SIGTERM to kill contactsd, not SIGINT

6 years agoPrepare to release 1.0.4-1 harmattan/1.0.4-1
Adrien Bustany [Sat, 20 Aug 2011 17:05:56 +0000 (20:05 +0300)]
Prepare to release 1.0.4-1

6 years agoProperly delete avatars in GC query
Adrien Bustany [Sat, 20 Aug 2011 14:10:38 +0000 (17:10 +0300)]
Properly delete avatars in GC query

The DELETE would delete the <avatar> a nfo:FileDataObject statement
instead of rdfs:Resource.

6 years agoPrepare to release 1.0.3-1 harmattan/1.0.3-1
Adrien Bustany [Fri, 19 Aug 2011 13:17:20 +0000 (16:17 +0300)]
Prepare to release 1.0.3-1

6 years agout_telepathyplugin: Only load required plugins when running contactsd
Adrien Bustany [Fri, 19 Aug 2011 13:05:36 +0000 (16:05 +0300)]
ut_telepathyplugin: Only load required plugins when running contactsd

6 years agoSet tests timeout to 10 minutes
Adrien Bustany [Fri, 19 Aug 2011 12:25:34 +0000 (15:25 +0300)]
Set tests timeout to 10 minutes

6 years agoDon't start the FS miner when running the tests
Adrien Bustany [Fri, 19 Aug 2011 07:34:36 +0000 (10:34 +0300)]
Don't start the FS miner when running the tests

7 years agoPrepare to release 1.0.2-2 harmattan/1.0.2-2
Adrien Bustany [Fri, 12 Aug 2011 09:04:53 +0000 (12:04 +0300)]
Prepare to release 1.0.2-2

7 years agoPrepare to release 1.0.2-1 harmattan/1.0.2-1
Adrien Bustany [Fri, 12 Aug 2011 06:58:28 +0000 (09:58 +0300)]
Prepare to release 1.0.2-1

7 years agoFixes: NB#273095 - Import signals are not emitted if account has 0 contacts
Adrien Bustany [Thu, 4 Aug 2011 09:01:44 +0000 (12:01 +0300)]
Fixes: NB#273095 - Import signals are not emitted if account has 0 contacts

7 years agoFixes: Bogous invalid sender warning for GC plugin 25
Mathias Hasselmann [Thu, 4 Aug 2011 07:31:57 +0000 (09:31 +0200)]
Fixes: Bogous invalid sender warning for GC plugin

RevBy: cocos
Details: Store QSparqlResult instead of using unreliable sender() method.

7 years agoFixes: Bogous invalid sender warning for telepathy plugin
Mathias Hasselmann [Thu, 4 Aug 2011 07:33:01 +0000 (09:33 +0200)]
Fixes: Bogous invalid sender warning for telepathy plugin

RevBy: cocos
Details: Store QSparqlResult instead of using unreliable sender() method.

7 years agoPrepare to release 1.0.1-1 harmattan/1.0.1-1
Adrien Bustany [Wed, 3 Aug 2011 07:59:35 +0000 (10:59 +0300)]
Prepare to release 1.0.1-1

7 years agoFixes: NB#266778 - UI performance lag when changing network connection
Mathias Hasselmann [Fri, 22 Jul 2011 21:46:34 +0000 (23:46 +0200)]
Fixes: NB#266778 - UI performance lag when changing network connection

RevBy: cocos
Details: Only update IM contacts in tracker after queuing 50 contacts or after
not receiving an update notifiction for 150 ms. This dramatically reduces
system but also keeps update latency within acceptable bounds.

7 years agoFixes: Avoid infinite delay of update timers
Mathias Hasselmann [Fri, 22 Jul 2011 21:43:18 +0000 (23:43 +0200)]
Fixes: Avoid infinite delay of update timers

RevBy: cocos
Details: Only start inactive timers, since otherwise the timer is reset with
each invokation of start(). This causes unintended long delays of timeout
signal emission.

7 years agoFixes: Make contactsd silent again
Mathias Hasselmann [Fri, 22 Jul 2011 13:51:24 +0000 (15:51 +0200)]
Fixes: Make contactsd silent again

RevBy: cocos
Details: The fix from commit f1c8bf7ea22499eed5f7386e8aca977437e28fa4 caused
contactsd to print quite some spam from libtelepathy-qt4. This patch fixes that
regression.

7 years agoFixes: NB#269430 - mfe contactsd plugin stops debug messages
Mathias Hasselmann [Fri, 22 Jul 2011 13:43:44 +0000 (15:43 +0200)]
Fixes: NB#269430 - mfe contactsd plugin stops debug messages

RevBy: cocos
Details: Guard against plugins calling qInstallMsgHandler()

7 years agoChanges: Add a few empty lines
Mathias Hasselmann [Fri, 22 Jul 2011 09:37:06 +0000 (11:37 +0200)]
Changes: Add a few empty lines

RevBy: TrustMe
Details: Should make the thing more readable.

7 years agoTests: Set Tracker verbosity to 3 always
Adrien Bustany [Fri, 29 Jul 2011 08:56:12 +0000 (11:56 +0300)]
Tests: Set Tracker verbosity to 3 always

7 years agotests: Properly quit mainloop when a leaked resource is found
Adrien Bustany [Thu, 28 Jul 2011 12:30:30 +0000 (15:30 +0300)]
tests: Properly quit mainloop when a leaked resource is found

7 years agoFixes NB#270997 - contactsd is leaking resources in tracker
Xavier Claessens [Fri, 8 Jul 2011 16:39:45 +0000 (18:39 +0200)]
Fixes NB#270997 - contactsd is leaking resources in tracker

Register a GC query, and assert in unit tests there there are no resources leaked
at cleanup.

Notice the FIXME in 2 unit tests that cannot verify for leaked resournces because
some are to the responsability of qct's GC query.

7 years agoMake sure to initialize bool object member
Xavier Claessens [Wed, 6 Jul 2011 10:17:04 +0000 (12:17 +0200)]
Make sure to initialize bool object member

7 years agoFixes: NB#265941 - Import progress banner gets displayed almost after a minute if...
Xavier Claessens [Mon, 4 Jul 2011 12:49:35 +0000 (14:49 +0200)]
Fixes: NB#265941 - Import progress banner gets displayed almost after a minute if the Skype account contains more number of contacts

Emit syncStarted() signal as soon as account gets a Connection instead of waiting for its
roster. This makes UI display progress sooner in case its takes long on CONNECTING state or
fetching roster from server.

7 years agoFixes: NB#256758 - Change in avatar from assigned to default from Desktop PC does...
Xavier Claessens [Thu, 23 Jun 2011 11:17:19 +0000 (13:17 +0200)]
Fixes: NB#256758 - Change in avatar from assigned to default from Desktop PC does not get reflected for an imported gtalk / Skype contact

7 years agoPrepare to release 1.0.0 pr1.0 harmattan/1.0.0-1
Xavier Claessens [Tue, 28 Jun 2011 10:59:10 +0000 (12:59 +0200)]
Prepare to release 1.0.0

7 years agoprepare for release harmattan/0.5.77-1
Xavier Claessens [Thu, 16 Jun 2011 14:43:37 +0000 (16:43 +0200)]
prepare for release

7 years agoAdd inviteBuddiesOnContact method
Adrien Bustany [Tue, 14 Jun 2011 14:08:27 +0000 (17:08 +0300)]
Add inviteBuddiesOnContact method

This method invites the given buddies as inviteBuddies, but also
creates the needed IMAddress resources and attaches them to the contact
passed in the parameters.

7 years agoCDTPStorage: only purge IMAddresses that were handled by contactsd
Adrien Bustany [Tue, 14 Jun 2011 13:35:19 +0000 (16:35 +0300)]
CDTPStorage: only purge IMAddresses that were handled by contactsd

For the initial purge, only delete IMAddress objects that are not
connected anymore to an IMAccount, and that have their AuthStatus*
properties set. Those that are missing the AuthStatus* properties are
IMAddresses resulting from a failed buddy invitation and should not be
deleted.

7 years agoAdd back debian rules overrides
Xavier Claessens [Thu, 16 Jun 2011 14:26:40 +0000 (16:26 +0200)]
Add back debian rules overrides

7 years agoprepare for release 0.5.76 harmattan/0.5.76-1
Xavier Claessens [Mon, 13 Jun 2011 09:05:56 +0000 (11:05 +0200)]
prepare for release 0.5.76

7 years agoFixes: NB#257462 - Crash in literalIMAddress 21
Adrien Bustany [Sat, 11 Jun 2011 13:37:38 +0000 (16:37 +0300)]
Fixes: NB#257462 - Crash in literalIMAddress

Details:
For some unknown reason this bug is still happening, this commit adds a
QPointer on the account so that we avoid dereferencing freed memory in
onUpdateQueueTimeout.

7 years agoPrepare 0.5.75-1 harmattan/0.5.75-1
Adrien Bustany [Sat, 11 Jun 2011 07:22:52 +0000 (10:22 +0300)]
Prepare 0.5.75-1

7 years agoEnable parallel build for contactsd
Adrien Bustany [Sat, 11 Jun 2011 07:16:43 +0000 (10:16 +0300)]
Enable parallel build for contactsd

7 years agoFixes: NB#261351 - Presence status of merged contact card is shown after disabling... 20
Jens Georg [Fri, 10 Jun 2011 17:08:45 +0000 (19:08 +0200)]
Fixes: NB#261351 - Presence status of merged contact card is shown after disabling the contact account

Non-optional restrictions should come before optional restrictions otherwise
matching might be different than expected

7 years agoprepare for release harmattan/0.5.74-1
Xavier Claessens [Tue, 7 Jun 2011 12:34:42 +0000 (14:34 +0200)]
prepare for release

7 years agoAdd extra capabilities for which we have ontologies
Xavier Claessens [Tue, 7 Jun 2011 09:32:03 +0000 (11:32 +0200)]
Add extra capabilities for which we have ontologies

7 years agoprepare for release harmattan/0.5.73-1
Xavier Claessens [Wed, 1 Jun 2011 11:29:48 +0000 (13:29 +0200)]
prepare for release

7 years agoFixes: NB#259472 - Facebook: Contact thumbnails missing after restoring backup
Xavier Claessens [Wed, 1 Jun 2011 11:23:26 +0000 (13:23 +0200)]
Fixes: NB#259472 - Facebook: Contact thumbnails missing after restoring backup

Include avatar cache into backups

7 years agoprepare for release harmattan/0.5.72-1
Xavier Claessens [Wed, 1 Jun 2011 08:43:29 +0000 (10:43 +0200)]
prepare for release

7 years agoChanges: garbage-colletor: Use QScopedPointer in Collector::onTimeout
Adrien Bustany [Mon, 30 May 2011 14:03:39 +0000 (17:03 +0300)]
Changes: garbage-colletor: Use QScopedPointer in Collector::onTimeout

7 years agoChanges: garbage-collector: Don't restart timer in trigger()
Adrien Bustany [Mon, 30 May 2011 13:42:00 +0000 (16:42 +0300)]
Changes: garbage-collector: Don't restart timer in trigger()

Not restarting the timer still allows batching (we don't run the GC
more than once every TriggerTimeout seconds), but still ensures you
can't postpone it forever.

7 years agoChanges: garbage-collector: Use iterator in Register
Adrien Bustany [Mon, 30 May 2011 13:29:49 +0000 (16:29 +0300)]
Changes: garbage-collector: Use iterator in Register

This saves on qHash call :)

7 years agoChanges: garbage-collector: Remove Unregister method
Adrien Bustany [Mon, 30 May 2011 13:21:19 +0000 (16:21 +0300)]
Changes: garbage-collector: Remove Unregister method

7 years agoChanges: garbage-collector: Fix error reporting for POSIX calls
Adrien Bustany [Mon, 30 May 2011 13:15:52 +0000 (16:15 +0300)]
Changes: garbage-collector: Fix error reporting for POSIX calls

Details:
The actual error code is stored in errno.

7 years agoDo not remove generated adaptator at "make clean" because they are not generated...
Xavier Claessens [Fri, 27 May 2011 12:51:01 +0000 (14:51 +0200)]
Do not remove generated adaptator at "make clean" because they are not generated by "make"

7 years agoChanges: Add garbage collector plugin 18
Adrien Bustany [Fri, 27 May 2011 12:03:42 +0000 (15:03 +0300)]
Changes: Add garbage collector plugin

7 years agoprepare for release harmattan/0.5.71-1
Xavier Claessens [Mon, 23 May 2011 07:37:29 +0000 (09:37 +0200)]
prepare for release

7 years agoNB#247133 - Really removel all information coming from a disabled IMAddress
Xavier Claessens [Mon, 23 May 2011 07:33:01 +0000 (09:33 +0200)]
NB#247133 - Really removel all information coming from a disabled IMAddress

7 years agoprepare for release harmattan/0.5.70-1
Xavier Claessens [Fri, 20 May 2011 14:33:05 +0000 (16:33 +0200)]
prepare for release

7 years agoFixes: NB#247133 - Skype contacts should not get displayed in contact list when the...
Xavier Claessens [Fri, 20 May 2011 14:24:45 +0000 (16:24 +0200)]
Fixes: NB#247133 - Skype contacts should not get displayed in contact list when the skype account is disabled

When an account is disabled, remove all pureIM contacts, and make merged/edited as local
service id, with no caps/presence.

7 years agoUT: Refactor code to use createContact() that will request subscription and wait...
Xavier Claessens [Thu, 19 May 2011 13:55:27 +0000 (15:55 +0200)]
UT: Refactor code to use createContact() that will request subscription and wait for the contact to appear in tracker

7 years agoFixes: NB#257462 - Crash in literalIMAddress
Xavier Claessens [Thu, 19 May 2011 11:04:41 +0000 (13:04 +0200)]
Fixes: NB#257462 - Crash in literalIMAddress

When a contact or account is removed, cancel queued contact update if there were one.
The crash occurs because CDTpContact does not keep a ref to its CDTpAccount to avoid
a ref cycle, so if the queued contact update happens after the account is deleted,
we get a crash trying to access contact's account.

7 years agoprepare for release harmattan/0.5.69-1
Xavier Claessens [Thu, 12 May 2011 11:35:32 +0000 (13:35 +0200)]
prepare for release

7 years agoMake contactsd-dev depends on qtsparql, and its .pc require it
Xavier Claessens [Thu, 12 May 2011 11:33:40 +0000 (13:33 +0200)]
Make contactsd-dev depends on qtsparql, and its .pc require it

7 years agoprepare for release harmattan/0.5.68-1
Xavier Claessens [Wed, 11 May 2011 11:47:51 +0000 (13:47 +0200)]
prepare for release

7 years agoFixes: NB#254636 - contactds is missing capabilities
Xavier Claessens [Wed, 11 May 2011 11:40:56 +0000 (13:40 +0200)]
Fixes: NB#254636 - contactds is missing capabilities

7 years agoChanges: Share a QSparqlConnection across contactsd plugins
Xavier Claessens [Mon, 9 May 2011 14:12:51 +0000 (16:12 +0200)]
Changes: Share a QSparqlConnection across contactsd plugins

7 years agoWrite unit test for NB#253679
Xavier Claessens [Mon, 9 May 2011 12:21:37 +0000 (14:21 +0200)]
Write unit test for NB#253679

7 years agoUpdate copyright/licence headers
Xavier Claessens [Mon, 9 May 2011 13:09:50 +0000 (15:09 +0200)]
Update copyright/licence headers

7 years agoUpdate test.cpp/h copy
Xavier Claessens [Mon, 9 May 2011 13:09:29 +0000 (15:09 +0200)]
Update test.cpp/h copy

7 years agoUpdate git-send-review copy
Xavier Claessens [Mon, 9 May 2011 13:06:24 +0000 (15:06 +0200)]
Update git-send-review copy

7 years agoUpdate with-session-bus.sh copy
Xavier Claessens [Mon, 9 May 2011 13:05:58 +0000 (15:05 +0200)]
Update with-session-bus.sh copy

7 years agoChanges: Ignore unknown and duplicate "type=x" params
Xavier Claessens [Fri, 29 Apr 2011 12:57:51 +0000 (14:57 +0200)]
Changes: Ignore unknown and duplicate "type=x" params

Add unit test for this and for tel subtypes

7 years agoFix changelog typo harmattan/0.5.67-2
Xavier Claessens [Thu, 28 Apr 2011 13:58:23 +0000 (15:58 +0200)]
Fix changelog typo

7 years agoprepare for release harmattan/0.5.67-1
Xavier Claessens [Thu, 28 Apr 2011 06:21:34 +0000 (08:21 +0200)]
prepare for release

7 years agotrivial cleanup
Xavier Claessens [Thu, 21 Apr 2011 13:54:29 +0000 (15:54 +0200)]
trivial cleanup

7 years agoChanges: Add support for ORG ContactInfo
Xavier Claessens [Thu, 21 Apr 2011 13:10:40 +0000 (15:10 +0200)]
Changes: Add support for ORG ContactInfo

7 years agoChanges: Won't work with tracker < 0.10.10
Xavier Claessens [Thu, 21 Apr 2011 09:22:44 +0000 (11:22 +0200)]
Changes: Won't work with tracker < 0.10.10

7 years agoChanges: Add support for maemo:PostalAddress
Xavier Claessens [Thu, 21 Apr 2011 08:22:41 +0000 (10:22 +0200)]
Changes: Add support for maemo:PostalAddress

7 years agoFix ontoligies.h include
Xavier Claessens [Wed, 20 Apr 2011 14:20:41 +0000 (16:20 +0200)]
Fix ontoligies.h include

7 years agoChanges: Do not add explicitely Options::GroupPatterns, it is set by default now
Xavier Claessens [Wed, 20 Apr 2011 13:53:36 +0000 (15:53 +0200)]
Changes: Do not add explicitely Options::GroupPatterns, it is set by default now

7 years agoChanges: Add "error" signal on contactsd plugin and dbus iface
Xavier Claessens [Wed, 20 Apr 2011 13:02:29 +0000 (15:02 +0200)]
Changes: Add "error" signal on contactsd plugin and dbus iface

This is used to let plugins raise error to UI, like no disk space left.
See NB#245102.

7 years agoChanges: Use Cubi to generate all queries
Xavier Claessens [Tue, 12 Apr 2011 08:10:06 +0000 (10:10 +0200)]
Changes: Use Cubi to generate all queries

7 years agoFix indentation
Xavier Claessens [Wed, 20 Apr 2011 08:35:22 +0000 (10:35 +0200)]
Fix indentation

7 years agoTrivial build fix (debian/control includes libcubi)
Aleksandar Stojiljkovic [Wed, 20 Apr 2011 05:35:47 +0000 (08:35 +0300)]
Trivial build fix (debian/control includes libcubi)

7 years agoChanges: Support offline invitation
Xavier Claessens [Tue, 19 Apr 2011 15:09:08 +0000 (17:09 +0200)]
Changes: Support offline invitation

7 years agoChanges: Add MfeSync string to importstateconst.h
Xavier Claessens [Tue, 19 Apr 2011 12:34:32 +0000 (14:34 +0200)]
Changes: Add MfeSync string to importstateconst.h

7 years agoFix mktests.sh test generation
Adrien Bustany [Tue, 19 Apr 2011 06:40:10 +0000 (09:40 +0300)]
Fix mktests.sh test generation

At build time, mktests.sh is not executable, therefore we have to
explicitely run "sh" on it.

7 years agoFix build in tests/ut_telepathyplugin
Adrien Bustany [Tue, 19 Apr 2011 06:36:24 +0000 (09:36 +0300)]
Fix build in tests/ut_telepathyplugin

The .pro file of ut_telepathyplugin was not adding DBus to the Qt
configuration, leading to some DBus headers not being found in tp-qt4 at
compilation time.

7 years agoMerge branch 'phone'
Xavier Claessens [Wed, 13 Apr 2011 14:52:42 +0000 (16:52 +0200)]
Merge branch 'phone'

7 years agoChanges: Support PostalAddress subtypes
Xavier Claessens [Fri, 8 Apr 2011 13:16:37 +0000 (15:16 +0200)]
Changes: Support PostalAddress subtypes

7 years agoFixes NB#244617 - Contactsd should generate normalized phone number IRIs
Xavier Claessens [Thu, 7 Apr 2011 15:10:02 +0000 (17:10 +0200)]
Fixes NB#244617 - Contactsd should generate normalized phone number IRIs

7 years agoFixes NB#245328 - Legal Bug
Xavier Claessens [Wed, 13 Apr 2011 07:32:33 +0000 (09:32 +0200)]
Fixes NB#245328 - Legal Bug

7 years agoUse Cubi::Value
Xavier Claessens [Sun, 10 Apr 2011 20:34:56 +0000 (22:34 +0200)]
Use Cubi::Value

7 years agoFixes NB#245328 - Legal Bug
Xavier Claessens [Mon, 11 Apr 2011 08:15:36 +0000 (10:15 +0200)]
Fixes NB#245328 - Legal Bug

debian/changelog was wrong

7 years agoChanges: Remove gender if it is imported from an IM contact when deleting that IM...
Xavier Claessens [Thu, 7 Apr 2011 11:56:56 +0000 (13:56 +0200)]
Changes: Remove gender if it is imported from an IM contact when deleting that IM contact

7 years agoprepare for release harmattan/0.5.66-1
Xavier Claessens [Wed, 6 Apr 2011 12:15:31 +0000 (14:15 +0200)]
prepare for release

7 years agoChanges: exclude ring and mms accounts
Xavier Claessens [Wed, 6 Apr 2011 12:10:57 +0000 (14:10 +0200)]
Changes: exclude ring and mms accounts

7 years agoFixes: NB#242951 - IM address of invided buddies stay after deleting the account
Xavier Claessens [Mon, 4 Apr 2011 11:47:15 +0000 (13:47 +0200)]
Fixes: NB#242951 - IM address of invided buddies stay after deleting the account

7 years agoFixes: NB#239973 - Phone number removed when IM contact is deleted
Xavier Claessens [Mon, 4 Apr 2011 11:50:19 +0000 (13:50 +0200)]
Fixes: NB#239973 - Phone number removed when IM contact is deleted

7 years agoChanges: Use INSERT OR REPLACE
Xavier Claessens [Tue, 29 Mar 2011 15:41:04 +0000 (17:41 +0200)]
Changes: Use INSERT OR REPLACE

7 years agoChanges: Import x-gender from ContactInfo
Xavier Claessens [Mon, 4 Apr 2011 14:48:54 +0000 (16:48 +0200)]
Changes: Import x-gender from ContactInfo

7 years agoChanges: Account is not new anymore after having emitted its roster
Xavier Claessens [Wed, 30 Mar 2011 13:12:53 +0000 (15:12 +0200)]
Changes: Account is not new anymore after having emitted its roster

7 years agoprepare for release harmattan/0.5.65-1
Xavier Claessens [Wed, 30 Mar 2011 07:27:22 +0000 (09:27 +0200)]
prepare for release

7 years agoChanges: Add direct access token to aegis file
Adrien Bustany [Tue, 29 Mar 2011 10:44:06 +0000 (13:44 +0300)]
Changes: Add direct access token to aegis file

RevBy: TrustMe

7 years agoChanges: set versioned dependency on libqtcontacts-extensions-tracker-dev
Xavier Claessens [Mon, 28 Mar 2011 13:43:54 +0000 (15:43 +0200)]
Changes: set versioned dependency on libqtcontacts-extensions-tracker-dev

7 years agoFixes: NB#240642 - Contactsd need to trim white spaces in names of IM contacts
Xavier Claessens [Mon, 28 Mar 2011 11:27:45 +0000 (13:27 +0200)]
Fixes: NB#240642 - Contactsd need to trim white spaces in names of IM contacts

7 years agoFixes: NB#240743 - Crash if Tp::ContactManager emits signal after connection is removed
Xavier Claessens [Mon, 28 Mar 2011 10:49:22 +0000 (12:49 +0200)]
Fixes: NB#240743 - Crash if Tp::ContactManager emits signal after connection is removed

7 years agoprepare for release harmattan/0.5.64-2
Xavier Claessens [Fri, 25 Mar 2011 09:30:52 +0000 (10:30 +0100)]
prepare for release