qtcontacts-tracker:qtcontacts-tracker.git
7 years agoNew: Add test for the omit-presence-changes parameter
Adrien Bustany [Thu, 22 Sep 2011 15:25:10 +0000 (18:25 +0300)]
New: Add test for the omit-presence-changes parameter

RevBy: cocos (MR#273)

7 years agoNew: Add omit-presence-changes parameter
Adrien Bustany [Tue, 6 Sep 2011 12:32:02 +0000 (15:32 +0300)]
New: Add omit-presence-changes parameter

RevBy: cocos (MR#273)
Details:
If this parameter is set to true, then no contact change signals will be
emitted if only the QContactPresence detail changed.

7 years agoFixes: Crash when app quits before the change listener resolves its tracker ids
Mathias Hasselmann [Fri, 23 Sep 2011 08:13:46 +0000 (10:13 +0200)]
Fixes: Crash when app quits before the change listener resolves its tracker ids

RevBy: cocos (MR#275)

7 years agoFixes: Make the engine own its listener
Mathias Hasselmann [Fri, 23 Sep 2011 08:12:30 +0000 (10:12 +0200)]
Fixes: Make the engine own its listener

RevBy: cocos (MR#275)
Details: No need to let qApp own it since engine data sharing got disabled.

7 years agoFixes: broken ENABLE_DOCS value evaluation in libqtcontacts-tracker.pro
Friedrich W. H. Kossebau [Tue, 20 Sep 2011 10:18:15 +0000 (12:18 +0200)]
Fixes: broken ENABLE_DOCS value evaluation in libqtcontacts-tracker.pro

RevBy: TrustMe

7 years agoFixes: the display label was not updated on saved contact objects if there was any...
Friedrich W. H. Kossebau [Fri, 16 Sep 2011 12:12:25 +0000 (14:12 +0200)]
Fixes: the display label was not updated on saved contact objects if there was any present already

RevBy: coco-heads (MR#274)

Details:
the removed check for any existing label seems old and now bogus code, for whatever purpose.
QContactTrackerEngine::updateDisplayLabel(...) is currently called in
contactsave worker and contactfetch worker, and only once for each
contact, and one would expect it to update the contact to the latest details.

7 years agoChanges: add ut_qtcontacts_trackerplugin::testDisplayLabelSaved()
Friedrich W. H. Kossebau [Fri, 16 Sep 2011 11:58:42 +0000 (13:58 +0200)]
Changes: add ut_qtcontacts_trackerplugin::testDisplayLabelSaved()

RevBy: coco-heads (MR#274)

7 years agoChanges: Fix previous commit
Adrien Bustany [Fri, 16 Sep 2011 12:27:47 +0000 (15:27 +0300)]
Changes: Fix previous commit

RevBy: cocos

7 years agoChanges: Remove a use of the deprecated Cubi::Insert(graph) API in save request
Adrien Bustany [Fri, 16 Sep 2011 11:00:11 +0000 (14:00 +0300)]
Changes: Remove a use of the deprecated Cubi::Insert(graph) API in save request

RevBy: cocos

7 years agoChanges: Put testSignallingOfSettingsChangeInOtherProcess in EXPECTFAIL
Adrien Bustany [Fri, 9 Sep 2011 12:37:05 +0000 (15:37 +0300)]
Changes: Put testSignallingOfSettingsChangeInOtherProcess in EXPECTFAIL

RevBy: TrustMe

7 years agoNew: Permit filtering of test reports by success
Mathias Hasselmann [Fri, 16 Sep 2011 06:54:05 +0000 (08:54 +0200)]
New: Permit filtering of test reports by success

RevBy: TrustMe

7 years agoFixes: Broken IRI parsing tests
Mathias Hasselmann [Thu, 15 Sep 2011 07:29:52 +0000 (09:29 +0200)]
Fixes: Broken IRI parsing tests

RevBy: TrustMe (MR#241)

7 years agoChanges: Add more sorting tests
Adrien Bustany [Thu, 14 Jul 2011 12:40:02 +0000 (15:40 +0300)]
Changes: Add more sorting tests

RevBy: cocos (MR#258)

7 years agoChanges: UT: move getFuzzableDetailDefinitionNamesForType up
Adrien Bustany [Thu, 14 Jul 2011 13:52:43 +0000 (16:52 +0300)]
Changes: UT: move getFuzzableDetailDefinitionNamesForType up

RevBy: cocos (MR#258)

7 years agoChanges: Scalar QB: Factor out custom detail/field query building
Adrien Bustany [Thu, 14 Jul 2011 11:51:57 +0000 (14:51 +0300)]
Changes: Scalar QB: Factor out custom detail/field query building

RevBy: cocos (MR#258)

7 years agoChanges: ID fetch request: Forward error code in emulated mode
Adrien Bustany [Thu, 21 Jul 2011 15:57:12 +0000 (18:57 +0300)]
Changes: ID fetch request: Forward error code in emulated mode

RevBy: cocos (MR#258)

7 years agoChanges: Bump required cubi version
Mathias Hasselmann [Wed, 14 Sep 2011 17:49:41 +0000 (19:49 +0200)]
Changes: Bump required cubi version

RevBy: TrustMe (MR#241)

7 years agoAdd test for IRI escaping
Adrien Bustany [Mon, 27 Jun 2011 10:45:11 +0000 (13:45 +0300)]
Add test for IRI escaping

7 years agoChanges: Use qStringArg in insertIMContact in common UT
Adrien Bustany [Mon, 11 Jul 2011 13:38:47 +0000 (16:38 +0300)]
Changes: Use qStringArg in insertIMContact in common UT

RevBy: cocos (MR#241)
Details:
This function previously used various calls to QString::arg, meaning that
%XX tokens produced by the first arg() could get interpreted by the following
calls (particularly annoying for escape sequences in IRIs).

7 years agoNew: Add qStringArg to common UT methods
Adrien Bustany [Mon, 11 Jul 2011 13:37:21 +0000 (16:37 +0300)]
New: Add qStringArg to common UT methods

RevBy: cocos (MR#241)
Details:
qStringArg behaves like QString::arg(QString 1, QString 2, ..., QString 9)
except that it takes a QStringList as a parameter, so you can pass as many
parameters as you like.

7 years agoChanges: Remove a few temporary variables.
Mathias Hasselmann [Wed, 14 Sep 2011 17:04:33 +0000 (19:04 +0200)]
Changes: Remove a few temporary variables.

RevBy: TrustMe (MR#241)
Details: __IMHO__ those __very__ instances just hurt code readability. Maybe
because the line initializing the temporary variable actually is longer than
the condensed statement without temporary variable. Dunno.

7 years agoFixes: String initializations in subject.cpp
Mathias Hasselmann [Wed, 14 Sep 2011 16:53:09 +0000 (18:53 +0200)]
Fixes: String initializations in subject.cpp

RevBy: TrustMe (MR#241)
Details: We prefer assignment syntax over constructor syntax to not
accidentally overlook hints given by the explicit keyword.

7 years agoFixes: NB#257949 - fetchrequest does not correctly decode IRIs
Adrien Bustany [Thu, 23 Jun 2011 14:14:59 +0000 (17:14 +0300)]
Fixes: NB#257949 - fetchrequest does not correctly decode IRIs

RevBy: cocos (MR#241)

7 years agoBump package version
Mathias Hasselmann [Mon, 12 Sep 2011 12:34:20 +0000 (14:34 +0200)]
Bump package version

7 years agoPrepare harmattanfp/4.16.1-1 harmattanfb/4.16.1-1
Mathias Hasselmann [Mon, 12 Sep 2011 12:34:06 +0000 (14:34 +0200)]
Prepare harmattanfp/4.16.1-1

7 years agoChanges: remove unneeded "not result->hasError()" checks in ut_qtcontacts_trackerplugin
Friedrich W. H. Kossebau [Tue, 6 Sep 2011 16:12:13 +0000 (18:12 +0200)]
Changes: remove unneeded "not result->hasError()" checks in ut_qtcontacts_trackerplugin

RevBy: TrustMe

Details:
executeQuery(...) returns a 0-pointer on result->hasError() already, so the
test QVERIFY(not result.isNull()); already catches that

7 years agoFixes: ut_qtcontacts_trackerplugin_common::executeQuery() had one bad return value...
Friedrich W. H. Kossebau [Tue, 6 Sep 2011 12:56:54 +0000 (14:56 +0200)]
Fixes: ut_qtcontacts_trackerplugin_common::executeQuery() had one bad return value ("false" where 0-pointer needed)

RevBy: TrustMe

7 years agoUpdate changelog for f56b05a7f9af371d8b67402c42419d557d30c22d
Adrien Bustany [Fri, 2 Sep 2011 12:09:05 +0000 (15:09 +0300)]
Update changelog for f56b05a7f9af371d8b67402c42419d557d30c22d

7 years agoChanges: Check data more carefully in QTrackerContactCopyAndRemoveRequest::fetchConta...
Adrien Bustany [Fri, 2 Sep 2011 10:56:59 +0000 (13:56 +0300)]
Changes: Check data more carefully in QTrackerContactCopyAndRemoveRequest::fetchContactDetails

RevBy: cocos

7 years agoChanges: replace(x, QString()) -> remove(x)
Friedrich W. H. Kossebau [Thu, 1 Sep 2011 15:06:48 +0000 (17:06 +0200)]
Changes: replace(x, QString()) -> remove(x)

RevBy: David

7 years agoChanges: remove unused declaration of ut_qtcontacts_trackerplugin::testDisplayLabelFe...
Friedrich W. H. Kossebau [Thu, 1 Sep 2011 12:54:12 +0000 (14:54 +0200)]
Changes: remove unused declaration of ut_qtcontacts_trackerplugin::testDisplayLabelFetch(QStringList)

RevBy: TrustMe

Details:
was forgotton to be removed in 322f794dc9ac27b3f30a6174402a9993e7299593

7 years agoBump changelog
Adrien Bustany [Mon, 29 Aug 2011 08:05:53 +0000 (11:05 +0300)]
Bump changelog

7 years agoPrepare harmattan/4.15.4-1 harmattan/4.15.4-1 harmattanfb/4.15.4-1
Adrien Bustany [Mon, 29 Aug 2011 07:55:14 +0000 (10:55 +0300)]
Prepare harmattan/4.15.4-1

7 years agoFixes: NB#279711 - qtcontacts-tracker does not backup avatars
Adrien Bustany [Mon, 29 Aug 2011 07:09:11 +0000 (10:09 +0300)]
Fixes: NB#279711 - qtcontacts-tracker does not backup avatars

RevBy: TrustMe

7 years agoChanges: "weak-sync-targets" in QContactTrackerEngineParameters API dox missed the...
Friedrich W. H. Kossebau [Wed, 24 Aug 2011 16:53:13 +0000 (18:53 +0200)]
Changes: "weak-sync-targets" in QContactTrackerEngineParameters API dox missed the trailing s

RevBy: TrustMe

7 years agoChanges: fix modifyFields(...) in UTs to use proper type on setting an allowed value
Friedrich W. H. Kossebau [Mon, 22 Aug 2011 16:21:49 +0000 (18:21 +0200)]
Changes: fix modifyFields(...) in UTs to use proper type on setting an allowed value

RevBy: coco-heads (MR#271)

7 years agoChanges: do not use QString::fromLatin1("%1%2") for string concatenation
Friedrich W. H. Kossebau [Fri, 29 Jul 2011 09:56:07 +0000 (11:56 +0200)]
Changes: do not use QString::fromLatin1("%1%2") for string concatenation

RevBy: TrustMe

7 years agoChanges: Abort run() in fetch request if query building fails
Adrien Bustany [Sat, 20 Aug 2011 08:45:39 +0000 (11:45 +0300)]
Changes: Abort run() in fetch request if query building fails

RevBy: TrustMe

7 years agoBump package version
Mathias Hasselmann [Wed, 17 Aug 2011 12:13:19 +0000 (15:13 +0300)]
Bump package version

7 years agoPrepare harmattan/4.15.3-1 harmattan/4.15.3-1
Mathias Hasselmann [Wed, 17 Aug 2011 12:13:18 +0000 (15:13 +0300)]
Prepare harmattan/4.15.3-1

7 years agoChanges: extend bm_qtcontacts_trackerplugin_batchsaving with optional detail mask...
Friedrich W. H. Kossebau [Mon, 8 Aug 2011 21:26:27 +0000 (23:26 +0200)]
Changes: extend bm_qtcontacts_trackerplugin_batchsaving with optional detail mask on overwrite

RevBy: coco-heads (MR#267)

7 years agoFixes: Avoid "Cannot set parent, new parent is in a different thread" warning
Mathias Hasselmann [Tue, 16 Aug 2011 13:14:23 +0000 (16:14 +0300)]
Fixes: Avoid "Cannot set parent, new parent is in a different thread" warning

RevBy: cocos (MR#268)
Details: Make sure request worker shares its task thread affinity

7 years agoChanges: Remove obsolete engine argument from QctRequestTask ctor
Mathias Hasselmann [Tue, 16 Aug 2011 13:13:57 +0000 (16:13 +0300)]
Changes: Remove obsolete engine argument from QctRequestTask ctor

RevBy: cocos (MR#268)

7 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

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

7 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

7 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.

7 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

7 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

7 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

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

7 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

7 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.

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

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

7 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

7 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.

7 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.

7 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.

7 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.

7 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.

7 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

7 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

7 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)

7 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.

7 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)