qtcontacts-tracker:qtcontacts-tracker.git
6 years agoChanges: use global NoSortOrders and NoFetchHint in ut_qtcontacts_trackerplugin_fetch...
Friedrich W. H. Kossebau [Tue, 16 Aug 2011 09:25:03 +0000 (11:25 +0200)]
Changes: use global NoSortOrders and NoFetchHint in ut_qtcontacts_trackerplugin_fetch::checkDatabaseEmpty()

RevBy: TrustMe

6 years agoBump package version
Mathias Hasselmann [Mon, 15 Aug 2011 20:18:35 +0000 (23:18 +0300)]
Bump package version

6 years agoPrepare harmattan/4.15.2-1 harmattan/4.15.2-1
Mathias Hasselmann [Mon, 15 Aug 2011 20:18:22 +0000 (23:18 +0300)]
Prepare harmattan/4.15.2-1

6 years agoChanges: Don't parent tasks to engine in Engine::startRequestImpl
Adrien Bustany [Mon, 1 Aug 2011 13:00:12 +0000 (16:00 +0300)]
Changes: Don't parent tasks to engine in Engine::startRequestImpl

RevBy: cocos (MR#264)
Details:
Tasks will be reparented to the queue anyway, and maybe startRequestImpl
is called from a different thread from where the Engine was created.

6 years agoChanges: Fix a crasher in startRequestImpl when AEGIS credentials are wrong
Adrien Bustany [Mon, 1 Aug 2011 11:51:43 +0000 (14:51 +0300)]
Changes: Fix a crasher in startRequestImpl when AEGIS credentials are wrong

RevBy: cocos (MR#264)
Details:
This commit removes a potential null pointer dereference in
QctRequestTask::onRequestStateChanged that would happen if
Engine::createRequestWorker returned 0 in startRequestImpl. The worker creation
is now done in startRequestImpl, and no QctRequestTask is created if
createRequestWorker returns 0.

fix fix

6 years agoChanges: Make updateGlobalPresence available in the library 265
Adrien Bustany [Fri, 5 Aug 2011 11:30:47 +0000 (14:30 +0300)]
Changes: Make updateGlobalPresence available in the library

RevBy: cocos

6 years agoFixes: Typo in security token banner
Mathias Hasselmann [Thu, 4 Aug 2011 10:13:32 +0000 (12:13 +0200)]
Fixes: Typo in security token banner

RevBy: TrustMe

6 years agoBump package version
Mathias Hasselmann [Wed, 3 Aug 2011 13:07:58 +0000 (15:07 +0200)]
Bump package version

6 years agoPrepare harmattan/4.15.1.1-1 harmattan/4.15.1.1-1
Mathias Hasselmann [Wed, 3 Aug 2011 13:07:55 +0000 (15:07 +0200)]
Prepare harmattan/4.15.1.1-1

6 years agoFixes: Make master build again
Mathias Hasselmann [Wed, 3 Aug 2011 13:01:01 +0000 (15:01 +0200)]
Fixes: Make master build again

RevBy: TrustMe
Changes: Remove that weird Q_MOC_RUN hacks. There is no point in telling QML
about Qct::NumberNormalizationOptions anyway, so let's keep the code proper
C++, instead of bloating it with weird, broken hacks.

6 years agoProperly update configure script
Mathias Hasselmann [Wed, 3 Aug 2011 12:28:26 +0000 (14:28 +0200)]
Properly update configure script

6 years agoBump package version
Mathias Hasselmann [Wed, 3 Aug 2011 12:20:21 +0000 (14:20 +0200)]
Bump package version

6 years agoPrepare harmattan/4.15.1-1 harmattan/4.15.1-1
Mathias Hasselmann [Wed, 3 Aug 2011 12:20:09 +0000 (14:20 +0200)]
Prepare harmattan/4.15.1-1

6 years agoFixes: NB#273891 - Phone numbers should be stored in latin script
Adrien Bustany [Tue, 26 Jul 2011 10:23:55 +0000 (13:23 +0300)]
Fixes: NB#273891 - Phone numbers should be stored in latin script

RevBy: cocos (MR#262)
Details:
This makes the save request convert phone numbers from non-latin scripts to
latin script. This behaviour can be reverted by setting the "native-numbers"
engine parameter to true.

6 years agoNew: Add LatinPhoneNumberConversion
Adrien Bustany [Tue, 26 Jul 2011 09:32:08 +0000 (12:32 +0300)]
New: Add LatinPhoneNumberConversion

RevBy: cocos (MR#262)
Details:
This conversion converts numbers from non-latin scripts to latin script.

6 years agoNew: Add IdentityConversion conversion
Adrien Bustany [Tue, 26 Jul 2011 09:31:17 +0000 (12:31 +0300)]
New: Add IdentityConversion conversion

RevBy: cocos (MR#262)
Details:
This conversion does nothing, as its name implies.

6 years agoChanges: Move Eastern Arabic number translation in qctNormalizePhoneNumber
Adrien Bustany [Tue, 26 Jul 2011 07:24:14 +0000 (10:24 +0300)]
Changes: Move Eastern Arabic number translation in qctNormalizePhoneNumber

RevBy: cocos (MR#262)
Details:
The Eastern Arabic to Latin number transformation is not only needed when
generating a phone number IRI, it's also needed by applications doing number
matching in memory, or when normalizing the contents of nco:phoneNumber.

6 years agoChanges: Make testFilterDTMFNumber more robust to DB pollution
Adrien Bustany [Tue, 26 Jul 2011 10:43:25 +0000 (13:43 +0300)]
Changes: Make testFilterDTMFNumber more robust to DB pollution

RevBy: cocos (MR#262)
Details:
This patch adds a local ID filter in the test, so that we don't fetch contacts
inserted by other tests.

6 years agoChanges: remove QContact::tags()/relationships() from TODO list 263
Friedrich W. H. Kossebau [Fri, 29 Jul 2011 13:42:21 +0000 (15:42 +0200)]
Changes: remove QContact::tags()/relationships() from TODO list

RevBy: TrustMe

6 years agoChamges: add unit test for storing and fetching tags, rename old ut_qtcontacts_tracke...
Friedrich W. H. Kossebau [Fri, 29 Jul 2011 13:40:59 +0000 (15:40 +0200)]
Chamges: add unit test for storing and fetching tags, rename old ut_qtcontacts_trackerplugin::testTags() to testFavouriteTag()

RevBy: coco-heads

6 years agoChanges: Permit selection of details for fetch benchmark
Mathias Hasselmann [Mon, 25 Jul 2011 12:50:40 +0000 (14:50 +0200)]
Changes: Permit selection of details for fetch benchmark

RevBy: cocos (MR#261)

6 years agoFixes: Update comments for QctTrackerChangeListener and fix some typos
David King [Mon, 25 Jul 2011 12:30:55 +0000 (14:30 +0200)]
Fixes: Update comments for QctTrackerChangeListener and fix some typos

RevBy: fkossebau (MR#260)
Details: Clarify that when using a TrackerChangeNotifier, only classes
with the tracker:notify property set to true will receive signals when
there are changes.
http://live.gnome.org/Tracker/Documentation/SignalsOnChanges
Additonally, fix a few typos in comments.

6 years agoChanges: add comment about where spec says the displaylabel should be updated on...
Friedrich W. H. Kossebau [Fri, 22 Jul 2011 10:06:33 +0000 (12:06 +0200)]
Changes: add comment about where spec says the displaylabel should be updated on saving

RevBy: coco-heads

7 years agoNew: Add test for filtering on Context field
Adrien Bustany [Thu, 7 Jul 2011 14:39:23 +0000 (17:39 +0300)]
New: Add test for filtering on Context field

RevBy: cocos (MR#248)

7 years agoChanges: UT: factor out fuzzable detail creation
Adrien Bustany [Thu, 14 Jul 2011 12:40:46 +0000 (15:40 +0300)]
Changes: UT: factor out fuzzable detail creation

RevBy: cocos (MR#248)

7 years agoFixes: NB#238440 - Is is not possible to filter on Context field
Adrien Bustany [Thu, 7 Jul 2011 14:38:32 +0000 (17:38 +0300)]
Fixes: NB#238440 - Is is not possible to filter on Context field

RevBy: cocos (MR#248)

7 years agoFixes: Document filter parsers
Mathias Hasselmann [Tue, 19 Jul 2011 13:00:58 +0000 (15:00 +0200)]
Fixes: Document filter parsers

RevBy: TrustMe (MR#257)

7 years agoNew: Support filters in contact fetching benchmark
Mathias Hasselmann [Mon, 18 Jul 2011 14:03:09 +0000 (16:03 +0200)]
New: Support filters in contact fetching benchmark

RevBy: cocos (MR#257)

7 years agoFixes: Also bump configure script version
Mathias Hasselmann [Tue, 19 Jul 2011 11:01:04 +0000 (13:01 +0200)]
Fixes: Also bump configure script version

RevBy: cocos

7 years agoBump package version
Mathias Hasselmann [Tue, 19 Jul 2011 10:00:32 +0000 (12:00 +0200)]
Bump package version

7 years agoPrepare harmattan/4.15.0-1 harmattan/pr1.1 harmattan/4.15.0-1
Mathias Hasselmann [Mon, 18 Jul 2011 14:55:27 +0000 (16:55 +0200)]
Prepare harmattan/4.15.0-1

7 years agoFixes: NB#270353 - Wrong ownership fetching for QContactOnlineAccount
Adrien Bustany [Fri, 8 Jul 2011 06:52:29 +0000 (09:52 +0300)]
Fixes: NB#270353 - Wrong ownership fetching for QContactOnlineAccount

RevBy: cocos (MR#254)
Details:
nco:imID is the relevant property for QContactOnlineAccount ownership

7 years agoChanges: Query builder: use predicate functions to get ownership when possible
Adrien Bustany [Fri, 8 Jul 2011 08:51:58 +0000 (11:51 +0300)]
Changes: Query builder: use predicate functions to get ownership when possible

RevBy: cocos (MR#254)
Details:
On multi details, the query builder would use a subselect to fetch the graph of
the statement defining ownership in every case. This commit checks if ownership
is defined by the last statement in the property chain, in this case we can use
extended predicate function syntax to fetch the graph of the statement.

7 years agoChanges: extend ut_qtcontacts_trackerplugin_groups::testRemoveSavedHasMemberRelations...
Friedrich W. H. Kossebau [Mon, 11 Jul 2011 15:05:22 +0000 (17:05 +0200)]
Changes: extend ut_qtcontacts_trackerplugin_groups::testRemoveSavedHasMemberRelationship() with group contacts as members

RevBy: coco-heads (MR#253)

7 years agoChanges: extend ut_qtcontacts_trackerplugin_groups::testSaveHasMemberRelationship...
Friedrich W. H. Kossebau [Mon, 11 Jul 2011 14:37:31 +0000 (16:37 +0200)]
Changes: extend ut_qtcontacts_trackerplugin_groups::testSaveHasMemberRelationship() with group contacts as members (and merge with sync version of test)

RevBy: coco-heads (MR#253)

7 years agoChanges: extend ut_qtcontacts_trackerplugin_groups::testFetch*sOfGiven*() with group...
Friedrich W. H. Kossebau [Mon, 11 Jul 2011 14:03:31 +0000 (16:03 +0200)]
Changes: extend ut_qtcontacts_trackerplugin_groups::testFetch*sOfGiven*() with group contacts as members

RevBy: coco-heads (MR#253)

7 years agoFixes: CID 47461 - Variable "subTypeField" tracked as NULL ... dereferenced
David King [Fri, 15 Jul 2011 08:10:40 +0000 (10:10 +0200)]
Fixes: CID 47461 - Variable "subTypeField" tracked as NULL ... dereferenced

RevBy: cocos (MR#255)
Details: Handle the case that subTypeField is NULL in
findSubTypePredicate().

7 years agoFixes: CID 47494 - Member variable not initialized in initializer list
David King [Thu, 14 Jul 2011 07:37:32 +0000 (09:37 +0200)]
Fixes: CID 47494 - Member variable not initialized in initializer list

RevBy: cocos (MR#255)
Details: Initialize a pointer member to zero.

7 years agoChanges: Tidy MR#256 a bit
Mathias Hasselmann [Fri, 15 Jul 2011 10:22:54 +0000 (12:22 +0200)]
Changes: Tidy MR#256 a bit

RevBy: TrustMe (MR#256)

7 years agoChanges: readd "overwrite" option to bm_qtcontacts_trackerplugin_batchsaving
Friedrich W. H. Kossebau [Fri, 15 Jul 2011 09:54:05 +0000 (11:54 +0200)]
Changes: readd "overwrite" option to bm_qtcontacts_trackerplugin_batchsaving

RevBy: coco-heads (MR#256)

7 years agoChanges: extend bm_qtcontacts_trackerplugin_batchsaving with saving groups and relati...
Friedrich W. H. Kossebau [Thu, 14 Jul 2011 15:34:54 +0000 (17:34 +0200)]
Changes: extend bm_qtcontacts_trackerplugin_batchsaving with saving groups and relationships

RevBy: coco-heads (MR#256)

7 years agoChanged: removed bogus "overwrite" feature from bm_qtcontacts_trackerplugin_batchsaving
Friedrich W. H. Kossebau [Thu, 14 Jul 2011 13:18:52 +0000 (15:18 +0200)]
Changed: removed bogus "overwrite" feature from bm_qtcontacts_trackerplugin_batchsaving

RevBy: coco-heads (MR#256)

7 years agoNew: Benchmark separate relatationship fetching
Mathias Hasselmann [Fri, 15 Jul 2011 08:30:12 +0000 (10:30 +0200)]
New: Benchmark separate relatationship fetching

RevBy: TrustMe

7 years agoChanges: Parse command line in Test::run()
Mathias Hasselmann [Thu, 14 Jul 2011 19:44:37 +0000 (21:44 +0200)]
Changes: Parse command line in Test::run()

RevBy: cocos

7 years agoChanges: add check for wrong arguments to bm_qtcontacts_trackerplugin_fetch
Friedrich W. H. Kossebau [Thu, 14 Jul 2011 14:07:24 +0000 (16:07 +0200)]
Changes: add check for wrong arguments to bm_qtcontacts_trackerplugin_fetch

RevBy: coco-heads (MR#256)

7 years agoChanges: report separate numbers for fetched contacts, groups and relationships in...
Friedrich W. H. Kossebau [Thu, 14 Jul 2011 14:57:06 +0000 (16:57 +0200)]
Changes: report separate numbers for fetched contacts, groups and relationships in bm_qtcontacts_trackerplugin_fetch

RevBy: coco-heads (MR#256)

7 years agoChanges: Remove two local alias variables
Mathias Hasselmann [Wed, 13 Jul 2011 15:57:37 +0000 (17:57 +0200)]
Changes: Remove two local alias variables

RevBy: TrustMe (MR#250)
Details: It's counter intuitive to use pure aliases of almost same name
length as the original expression.

7 years agoFixes: Use at() instead of index operator
Mathias Hasselmann [Wed, 13 Jul 2011 15:56:42 +0000 (17:56 +0200)]
Fixes: Use at() instead of index operator

RevBy: TrustMe (MR#250)
Details: More reliably avoids accidental dettaching.

7 years agoFixes: on removing relationships only skip those with invalid values
Friedrich W. H. Kossebau [Fri, 8 Jul 2011 10:45:25 +0000 (12:45 +0200)]
Fixes: on removing relationships only skip those with invalid values

RevBy: coco-heads (MR#250)

7 years agoFixes: in QTrackerRelationshipRemoveRequest check values of relationships for errors
Friedrich W. H. Kossebau [Fri, 8 Jul 2011 10:05:52 +0000 (12:05 +0200)]
Fixes: in QTrackerRelationshipRemoveRequest check values of relationships for errors

RevBy: coco-heads (MR#250)

7 years agoFixes: in QTrackerRelationshipSaveRequest set error to last in m_errorMap if existing
Friedrich W. H. Kossebau [Fri, 8 Jul 2011 09:58:52 +0000 (11:58 +0200)]
Fixes: in QTrackerRelationshipSaveRequest set error to last in m_errorMap if existing

RevBy: coco-heads (MR#250)

7 years agoFixes: on relationship saving also check if first and second contact are not identic
Friedrich W. H. Kossebau [Fri, 8 Jul 2011 09:43:01 +0000 (11:43 +0200)]
Fixes: on relationship saving also check if first and second contact are not identic

RevBy: coco-heads (MR#250)

7 years agoChanges: Extract checkRelationshipTypesHint() again
Mathias Hasselmann [Wed, 13 Jul 2011 15:40:16 +0000 (17:40 +0200)]
Changes: Extract checkRelationshipTypesHint() again

RevBy: TrustMe (MR#249)

7 years agoChanges: do not treat unsupported relationship types in fetch hint as error, only...
Friedrich W. H. Kossebau [Tue, 12 Jul 2011 15:13:25 +0000 (17:13 +0200)]
Changes: do not treat unsupported relationship types in fetch hint as error, only warn

RevBy: coco-heads (MR#249)

7 years agoChanges: also check QContact::relationships() in ut_qtcontacts_trackerplugin_groups...
Friedrich W. H. Kossebau [Thu, 7 Jul 2011 16:58:09 +0000 (18:58 +0200)]
Changes: also check QContact::relationships() in ut_qtcontacts_trackerplugin_groups::testFetch*sOfGiven*()

RevBy: coco-heads (MR#249)

7 years agoChanges: Update tests for fetching of their relationships on fetching contacts
Friedrich W. H. Kossebau [Thu, 7 Jul 2011 13:17:10 +0000 (15:17 +0200)]
Changes: Update tests for fetching of their relationships on fetching contacts

RevBy: coco-heads (MR#249)

7 years agoChanges: Add fetching of their relationships on fetching contacts
Friedrich W. H. Kossebau [Thu, 7 Jul 2011 10:42:51 +0000 (12:42 +0200)]
Changes: Add fetching of their relationships on fetching contacts

RevBy: coco-heads (MR#249)

7 years agoFixes: And another build fix
Mathias Hasselmann [Wed, 13 Jul 2011 13:25:11 +0000 (15:25 +0200)]
Fixes: And another build fix

RevBy: cocos
Details: Lesson learned: Never test your patches before commiting!
Or http://dilbert.com/2011-02-09/.

7 years agoFixes: Abort when tracker plugin cannot be loaded
Mathias Hasselmann [Wed, 13 Jul 2011 12:54:02 +0000 (14:54 +0200)]
Fixes: Abort when tracker plugin cannot be loaded

RevBy: TrustMe

7 years agoFixes: Make bm_qtcontacts_trackerplugin_wordcompletion build again
Mathias Hasselmann [Wed, 13 Jul 2011 12:53:47 +0000 (14:53 +0200)]
Fixes: Make bm_qtcontacts_trackerplugin_wordcompletion build again

RevBy: TrustMe

7 years agoFixes: Properly setup plugin search path for benchmarks
Mathias Hasselmann [Wed, 13 Jul 2011 12:48:50 +0000 (14:48 +0200)]
Fixes: Properly setup plugin search path for benchmarks

RevBy: TrustMe
Details: Before you had to run the benchmarks from their folder.

7 years agoFixes: CID 47522 - Variable "mostRecent" tracked as NULL ... dereferenced
Mathias Hasselmann [Wed, 13 Jul 2011 12:03:36 +0000 (14:03 +0200)]
Fixes: CID 47522 - Variable "mostRecent" tracked as NULL ... dereferenced

RevBy: cocos
Details: Move foreach() block into the "if (presenceDetails.isEmpty())" block
to the invariant more explicit and hopefully visible for Coverity.

7 years agoChanges: Use assignment instead of ctor syntax in updateGlobalPresence()
Mathias Hasselmann [Wed, 13 Jul 2011 11:56:30 +0000 (13:56 +0200)]
Changes: Use assignment instead of ctor syntax in updateGlobalPresence()

RevBy: TrustMe
Details: Saves a few kittens.

7 years agoChanges: Include DTMF codes in normalized phone numbers again
Adrien Bustany [Tue, 12 Jul 2011 14:43:02 +0000 (17:43 +0300)]
Changes: Include DTMF codes in normalized phone numbers again

RevBy: cocos
Details:
339afcb4a586d6516da10da6c5b051f651cce109 slightly altered the behaviour of
qctMakeLocalPhoneNumber and DTMF codes would not be included anymore.

7 years agoChanges: do not advertize SelfContact feature (because not completely supported)
Friedrich W. H. Kossebau [Fri, 8 Jul 2011 13:01:06 +0000 (15:01 +0200)]
Changes: do not advertize SelfContact feature (because not completely supported)

RevBy: coco-heads (MR#251)

7 years agoFixes: Avoid qctNormalizePhoneNumber() for phoneNumberHasDTMFCodes()
Mathias Hasselmann [Tue, 12 Jul 2011 12:57:13 +0000 (14:57 +0200)]
Fixes: Avoid qctNormalizePhoneNumber() for phoneNumberHasDTMFCodes()

RevBy: cocos

7 years agoFixes: Really reset suffix length after testLocalPhoneNumberConversion()
Mathias Hasselmann [Tue, 12 Jul 2011 12:56:49 +0000 (14:56 +0200)]
Fixes: Really reset suffix length after testLocalPhoneNumberConversion()

RevBy: TrustMe

7 years agoNew: testEasternArabicPhoneNumber()
Mathias Hasselmann [Tue, 12 Jul 2011 12:56:03 +0000 (14:56 +0200)]
New: testEasternArabicPhoneNumber()

RevBy: TrustMe

7 years agoNew: VCard with Arabic phone number for testing
Mathias Hasselmann [Tue, 12 Jul 2011 12:54:45 +0000 (14:54 +0200)]
New: VCard with Arabic phone number for testing

RevBy: TrustMe

7 years agoChanges: Test conversion of eastern arabic numerals
Mathias Hasselmann [Mon, 11 Jul 2011 13:52:04 +0000 (15:52 +0200)]
Changes: Test conversion of eastern arabic numerals

RevBy: cocos (MR#252)

7 years agoNew: Consider eastern arabic numerals when computing local phone number
Mathias Hasselmann [Mon, 11 Jul 2011 13:49:39 +0000 (15:49 +0200)]
New: Consider eastern arabic numerals when computing local phone number

RevBy: cocos (MR#252)
Details: http://en.wikipedia.org/wiki/Eastern_Arabic_numerals

7 years agoChanges: add --norelationships parameter to bm_qtcontacts_trackerplugin_fetch
Friedrich W. H. Kossebau [Fri, 8 Jul 2011 14:51:33 +0000 (16:51 +0200)]
Changes: add --norelationships parameter to bm_qtcontacts_trackerplugin_fetch

RevBy: TrustMe

7 years agoFixes: Cleanup ContactCopyAndRemoveRequest::run()
Mathias Hasselmann [Fri, 8 Jul 2011 11:50:25 +0000 (13:50 +0200)]
Fixes: Cleanup ContactCopyAndRemoveRequest::run()

RevBy: Adrien
Details: Follow proper intention of e33dc29d72161365a8f925b576df8f1b45d7d2f2,
but keep logic intact.

7 years agoRevert "Changes: Clean code in ContactCopyAndRemoveRequest"
Mathias Hasselmann [Fri, 8 Jul 2011 11:43:01 +0000 (13:43 +0200)]
Revert "Changes: Clean code in ContactCopyAndRemoveRequest"

This reverts commit e33dc29d72161365a8f925b576df8f1b45d7d2f2.

Details: http://en.wikipedia.org/wiki/Lazy_evaluation

7 years agoFixes: Declare a few missing prefixes in 000-contacts.ttl
Mathias Hasselmann [Fri, 8 Jul 2011 11:39:04 +0000 (13:39 +0200)]
Fixes: Declare a few missing prefixes in 000-contacts.ttl

RevBy: TrustMe

7 years agoChanges: make ut_qtcontacts_trackerplugin_groups::testFetchSavedGroupContactId*(...
Friedrich W. H. Kossebau [Thu, 7 Jul 2011 13:42:58 +0000 (15:42 +0200)]
Changes: make ut_qtcontacts_trackerplugin_groups::testFetchSavedGroupContactId*() also check sorting

RevBy: Adrien

7 years agoChanges: Clean code in ContactCopyAndRemoveRequest
Adrien Bustany [Thu, 7 Jul 2011 06:00:38 +0000 (09:00 +0300)]
Changes: Clean code in ContactCopyAndRemoveRequest

RevBy: TrustMe
Details:
The code ended up looking weird after the "emitResult" cleanup in
541d4dc4f74962674a9ec3c2de7820a45f76ee89

7 years agoNew: testFilterContactsWithBirthday()
Mathias Hasselmann [Wed, 6 Jul 2011 12:20:49 +0000 (14:20 +0200)]
New: testFilterContactsWithBirthday()

RevBy: TrustMe

7 years agoChanges: merge sync and async version of ut_qtcontacts_trackerplugin_groups::testFetc...
Friedrich W. H. Kossebau [Thu, 30 Jun 2011 20:51:40 +0000 (22:51 +0200)]
Changes: merge sync and async version of ut_qtcontacts_trackerplugin_groups::testFetchSavedHasMemberRelationship()

RevBy: coco-heads (MR#247)

7 years agoChanges: add ut_qtcontacts_trackerplugin_groups::testFetchSavedHasMemberRelationshipS...
Friedrich W. H. Kossebau [Thu, 30 Jun 2011 15:18:26 +0000 (17:18 +0200)]
Changes: add ut_qtcontacts_trackerplugin_groups::testFetchSavedHasMemberRelationshipSyncCall()

RevBy: coco-heads (MR#247)

7 years agoChanges: also test fetching only by relationship type in ut_qtcontacts_trackerplugin_...
Friedrich W. H. Kossebau [Thu, 30 Jun 2011 15:15:45 +0000 (17:15 +0200)]
Changes: also test fetching only by relationship type in ut_qtcontacts_trackerplugin_groups::testFetchSavedHasMemberRelationship

RevBy: coco-heads (MR#247)

7 years agoChanges: extract compareRelationshipsWithContacts(...) from ut_qtcontacts_trackerplug...
Friedrich W. H. Kossebau [Thu, 30 Jun 2011 13:54:01 +0000 (15:54 +0200)]
Changes: extract compareRelationshipsWithContacts(...) from ut_qtcontacts_trackerplugin_groups::testFetchSavedHasMemberRelationship()

RevBy: coco-heads (MR#247)

7 years agoChanges: turn POD arrays into QLists in ut_qtcontacts_trackerplugin_groups::testFetch...
Friedrich W. H. Kossebau [Thu, 30 Jun 2011 13:28:07 +0000 (15:28 +0200)]
Changes: turn POD arrays into QLists in ut_qtcontacts_trackerplugin_groups::testFetchSavedHasMemberRelationship()

RevBy: coco-heads (MR#247)

7 years agoFixes: make ut_qtcontacts_trackerplugin_common::fetchRelationships(...) comply to...
Friedrich W. H. Kossebau [Thu, 30 Jun 2011 13:26:35 +0000 (15:26 +0200)]
Fixes: make ut_qtcontacts_trackerplugin_common::fetchRelationships(...) comply to API dox

RevBy: coco-heads (MR#247)

7 years agoNew: Query builder tests for DTMF filters
Mathias Hasselmann [Thu, 30 Jun 2011 21:22:48 +0000 (23:22 +0200)]
New: Query builder tests for DTMF filters

RevBy: TrustMe (MR#246)

7 years agoFixes: Too greedy regexp in normalizeQuery()
Mathias Hasselmann [Thu, 30 Jun 2011 21:21:05 +0000 (23:21 +0200)]
Fixes: Too greedy regexp in normalizeQuery()

RevBy: TrustMe (MR#246)

7 years agoChanges: Add test for NB#269920
Adrien Bustany [Thu, 30 Jun 2011 11:46:54 +0000 (14:46 +0300)]
Changes: Add test for NB#269920

RevBy: cocos (MR#246)

7 years agoFixes: NB#269920 - Check that number is attached to a PersonContact in DTMF lookup
Adrien Bustany [Thu, 30 Jun 2011 11:43:19 +0000 (14:43 +0300)]
Fixes: NB#269920 - Check that number is attached to a PersonContact in DTMF lookup

RevBy: cocos (MR#246)

7 years agoChanges: Simplify QContactTrackerEngine::relationships()
Mathias Hasselmann [Thu, 30 Jun 2011 10:40:20 +0000 (12:40 +0200)]
Changes: Simplify QContactTrackerEngine::relationships()

RevBy: cocos (MR#242)

7 years agoFixes: properly return all relationships of a type if asked for it
Friedrich W. H. Kossebau [Mon, 27 Jun 2011 14:00:45 +0000 (16:00 +0200)]
Fixes: properly return all relationships of a type if asked for it

RevBy: coco-heads (MR#242)

7 years agoFixes: Update ut_qtcontacts_trackerplugin::testOnlineAvatar
Mathias Hasselmann [Wed, 29 Jun 2011 13:31:37 +0000 (15:31 +0200)]
Fixes: Update ut_qtcontacts_trackerplugin::testOnlineAvatar

RevBy: cocos (MR#244)
Details: Don't assume empty context list must be turned into ["Other"].

7 years agoFixes: do not reset an empty context to QContactDetail::ContextOther on contact fetching
Friedrich W. H. Kossebau [Wed, 29 Jun 2011 10:55:56 +0000 (12:55 +0200)]
Fixes: do not reset an empty context to QContactDetail::ContextOther on contact fetching

RevBy: coco-heads (MR#244)

7 years agoFixes: graph iri was not read for QContactOrganization::FieldLocation
Friedrich W. H. Kossebau [Tue, 28 Jun 2011 15:32:23 +0000 (17:32 +0200)]
Fixes: graph iri was not read for QContactOrganization::FieldLocation

RevBy: coco-heads (MR#245)

7 years agoFixes: Bad line break in contactfetchrequest.cpp
Mathias Hasselmann [Wed, 29 Jun 2011 12:21:52 +0000 (14:21 +0200)]
Fixes: Bad line break in contactfetchrequest.cpp

RevBy: TrustMe

7 years agoChanges: disable also nagging on contact() call for unit tests
Friedrich W. H. Kossebau [Tue, 28 Jun 2011 14:06:24 +0000 (16:06 +0200)]
Changes: disable also nagging on contact() call for unit tests

RevBy: Mathias

7 years agoPrepare harmattan/4.14.19-1 harmattan/4.14.19-1
Mathias Hasselmann [Fri, 24 Jun 2011 23:14:24 +0000 (01:14 +0200)]
Prepare harmattan/4.14.19-1

7 years agoFixes: Warn for global functions without declaration.
Mathias Hasselmann [Fri, 24 Jun 2011 22:50:04 +0000 (00:50 +0200)]
Fixes: Warn for global functions without declaration.

RevBy: cocos (MR#240)
Details: Detects global functions that are not declared in header files.

7 years agoChanges: Use package name for backup config file
Mathias Hasselmann [Fri, 24 Jun 2011 22:21:04 +0000 (00:21 +0200)]
Changes: Use package name for backup config file

RevBy: cocos (MR#240)

7 years agoChanges: Keep ~/.cache/contacts/photos as fallback
Mathias Hasselmann [Fri, 24 Jun 2011 11:02:57 +0000 (13:02 +0200)]
Changes: Keep ~/.cache/contacts/photos as fallback

RevBy: cocos (MR#240)
Details: Should ensure backup also works for old data.

7 years agoChanges: Use PACKAGE for local app data dir
Mathias Hasselmann [Fri, 24 Jun 2011 11:00:46 +0000 (13:00 +0200)]
Changes: Use PACKAGE for local app data dir

RevBy: cocos (MR#240)