qtcontacts-tracker:hasselmms-qtcontacts-tracker.git
6 years agoNew: Add fuzzing test for partial saving
Adrien Bustany [Fri, 5 Aug 2011 11:11:24 +0000 (14:11 +0300)]
New: Add fuzzing test for partial saving

RevBy: cocos (MR#281) (MR#289)

6 years agoFixes: Use proper invalid id for testPartialSave
Mathias Hasselmann [Mon, 10 Oct 2011 12:30:13 +0000 (14:30 +0200)]
Fixes: Use proper invalid id for testPartialSave

RevBy: cocos (MR#289)

6 years agoChanges: Skip tests with wrong implementation in QtContact's emulated partial save...
Mathias Hasselmann [Tue, 11 Oct 2011 13:48:27 +0000 (15:48 +0200)]
Changes: Skip tests with wrong implementation in QtContact's emulated partial save request

RevBy: cocos (MR#289)

6 years agoFixes: Reject contacts with non-exisitant, non-zero local id
Mathias Hasselmann [Tue, 11 Oct 2011 13:47:22 +0000 (15:47 +0200)]
Fixes: Reject contacts with non-exisitant, non-zero local id

RevBy: cocos (MR#289)

6 years agoFixes: Properly save affiliations.
Mathias Hasselmann [Tue, 11 Oct 2011 13:42:48 +0000 (15:42 +0200)]
Fixes: Properly save affiliations.

RevBy: cocos (MR#289)
Details: Broke this with c86db1aaa44bd97fe18904ccfbbea80cadfb05b5.

6 years agoFixes: Properly update sync targets for partial saving
Mathias Hasselmann [Tue, 11 Oct 2011 11:04:01 +0000 (13:04 +0200)]
Fixes: Properly update sync targets for partial saving

RevBy: cocos (MR#289)

6 years agoChanges: Use Cubi::ResourceValue for m_contactIri
Mathias Hasselmann [Tue, 11 Oct 2011 11:03:14 +0000 (13:03 +0200)]
Changes: Use Cubi::ResourceValue for m_contactIri

RevBy: cocos (MR#289)
Details: Should avoid some conversions.

6 years agoNew: Expose engine's weak sync target settings
Mathias Hasselmann [Tue, 11 Oct 2011 11:01:25 +0000 (13:01 +0200)]
New: Expose engine's weak sync target settings

RevBy: cocos (MR#289)

6 years agoChanges: Consider partial saving mode when preserving details
Mathias Hasselmann [Mon, 10 Oct 2011 11:44:12 +0000 (13:44 +0200)]
Changes: Consider partial saving mode when preserving details

RevBy: cocos (MR#289)

6 years agoNew: Add support for partial saving
Friedrich W. H. Kossebau [Sat, 6 Aug 2011 22:19:27 +0000 (00:19 +0200)]
New: Add support for partial saving

RevBy: coco-heads (MR#281) (MR#289)

6 years agoChanges: add unit test ut_qtcontacts_trackerplugin::testPartialSaveAndThumbnails()
Friedrich W. H. Kossebau [Sat, 3 Sep 2011 00:02:47 +0000 (02:02 +0200)]
Changes: add unit test ut_qtcontacts_trackerplugin::testPartialSaveAndThumbnails()

RevBy: coco-heads (MR#281) (MR#289)

6 years agoChanges: add unit test ut_qtcontacts_trackerplugin::testPartialSaveAndWeakSyncTargets()
Friedrich W. H. Kossebau [Fri, 2 Sep 2011 09:37:37 +0000 (11:37 +0200)]
Changes: add unit test ut_qtcontacts_trackerplugin::testPartialSaveAndWeakSyncTargets()

RevBy: coco-heads (MR#281) (MR#289)

6 years agoChanges: skip test with nonexistent contact in ut_qtcontacts_trackerplugin::testParti...
Friedrich W. H. Kossebau [Mon, 8 Aug 2011 20:06:01 +0000 (22:06 +0200)]
Changes: skip test with nonexistent contact in ut_qtcontacts_trackerplugin::testPartialSave()

RevBy: coco-heads (MR#281) (MR#289)

6 years agoChanges: add QTrackerContactDetail::implementations(QTrackerContactDetailSchema)
Friedrich W. H. Kossebau [Fri, 19 Aug 2011 16:23:23 +0000 (18:23 +0200)]
Changes: add QTrackerContactDetail::implementations(QTrackerContactDetailSchema)

RevBy: coco-heads (MR#281) (MR#289)

Details:
needed to get the two variants in how an avatar is stored

6 years agoChanges: Store detail mask for contact save request
MathiasĀ Hasselmann [Thu, 6 Oct 2011 14:03:03 +0000 (16:03 +0200)]
Changes: Store detail mask for contact save request

RevBy: cocos (MR#289)

6 years agoChanges: Remove unused variable in UpdateBuilder::deleteRelatedObjects
Friedrich W. H. Kossebau [Wed, 24 Aug 2011 12:18:56 +0000 (14:18 +0200)]
Changes: Remove unused variable in UpdateBuilder::deleteRelatedObjects

RevBy: coco-heads (MR#281) (MR#289)

Details:
var shortChains was only filled, but result never used, seems forgotten code

6 years agoFixes: Verify linked detail URIs
Mathias Hasselmann [Fri, 7 Oct 2011 14:39:31 +0000 (16:39 +0200)]
Fixes: Verify linked detail URIs

RevBy: cocos (MR#289)
Details: Report DetailError when saving a contact with details that link to
non-existant details.

6 years agoChanges: Collect details by URI outside of query builder
Mathias Hasselmann [Fri, 7 Oct 2011 14:26:00 +0000 (16:26 +0200)]
Changes: Collect details by URI outside of query builder

RevBy: cocos (MR#289)

6 years agoFixes: Propagate errors from compatibleContact()
Mathias Hasselmann [Fri, 7 Oct 2011 13:39:54 +0000 (15:39 +0200)]
Fixes: Propagate errors from compatibleContact()

RevBy: cocos (MR#289)

6 years agoChanges: Pass QHash instead of QMap to findImplementation()
Mathias Hasselmann [Fri, 7 Oct 2011 12:38:38 +0000 (14:38 +0200)]
Changes: Pass QHash instead of QMap to findImplementation()

RevBy: cocos (MR#289)
Details: Lookup is more efficient for QHash

6 years agoFixes: Report "proper" error when saving contacts with bad id
Mathias Hasselmann [Tue, 11 Oct 2011 13:47:52 +0000 (15:47 +0200)]
Fixes: Report "proper" error when saving contacts with bad id

RevBy: cocos (MR#289)

6 years agoFixes: Permit proper selection of engine interface
Mathias Hasselmann [Tue, 11 Oct 2011 10:57:41 +0000 (12:57 +0200)]
Fixes: Permit proper selection of engine interface

RevBy: cocos (MR#289)
Details: Enables proper emulation of partial save request for unit tests.

6 years agoFixes: Properly anounce QContactManagerEngineV2 interface
Mathias Hasselmann [Tue, 11 Oct 2011 13:44:01 +0000 (15:44 +0200)]
Fixes: Properly anounce QContactManagerEngineV2 interface

RevBy: cocos (MR#289)
Details: Well, "properly" until you notize that QContactManagerEngineV2 isn't
an interface at all - the way it is implemented.

6 years agoPrepare harmattan/4.16.3.3-1
Adrien Bustany [Wed, 12 Oct 2011 07:17:07 +0000 (10:17 +0300)]
Prepare harmattan/4.16.3.3-1

6 years agoChanges: Increase timeout to 5 secs in testFilterOnContext
Adrien Bustany [Wed, 12 Oct 2011 07:15:35 +0000 (10:15 +0300)]
Changes: Increase timeout to 5 secs in testFilterOnContext

RevBy: TrustMe

6 years agoFixes: QContactGender::GenderUnspecified was not saved to tracker (NB#262057)
Friedrich W. H. Kossebau [Thu, 13 Oct 2011 13:11:03 +0000 (15:11 +0200)]
Fixes: QContactGender::GenderUnspecified was not saved to tracker (NB#262057)

RevBy: coco-heads (MR#290)

6 years agoChanges: add unit test for extendedAddress and NB#248183
Friedrich W. H. Kossebau [Thu, 13 Oct 2011 16:06:15 +0000 (18:06 +0200)]
Changes: add unit test for extendedAddress and NB#248183

RevBy: coco-heads (MR#291)

6 years agoFixes: adapt schema and tests to new field QContactAddress::FieldExtendedAddress
Friedrich W. H. Kossebau [Thu, 13 Oct 2011 15:39:28 +0000 (17:39 +0200)]
Fixes: adapt schema and tests to new field QContactAddress::FieldExtendedAddress

RevBy: coco-heads (MR#291)

6 years agoPrepare harmattan/4.16.3.2-1
Adrien Bustany [Tue, 11 Oct 2011 08:54:20 +0000 (11:54 +0300)]
Prepare harmattan/4.16.3.2-1

6 years agoChanges: Drop UpdateBuilder::restrictAffiliation()
Mathias Hasselmann [Fri, 7 Oct 2011 10:01:45 +0000 (12:01 +0200)]
Changes: Drop UpdateBuilder::restrictAffiliation()

RevBy: cocos (MR#288)
Details: Inline it at its only place of invokation.

6 years agoChanges: Remove position argument from UpdateBuilder::insertValue()
Mathias Hasselmann [Fri, 7 Oct 2011 08:20:03 +0000 (10:20 +0200)]
Changes: Remove position argument from UpdateBuilder::insertValue()

RevBy: cocos (MR#288)
Details: That hack is no longer needed since cubi has grouping now.

6 years agoChanges: Use EXISTS filter for insertValue in preserve mode
Mathias Hasselmann [Thu, 6 Oct 2011 23:30:03 +0000 (01:30 +0200)]
Changes: Use EXISTS filter for insertValue in preserve mode

RevBy: cocos (MR#288)

6 years agoChanges: Make UpdateBuilder::insert() more understandable
Mathias Hasselmann [Thu, 6 Oct 2011 21:32:54 +0000 (23:32 +0200)]
Changes: Make UpdateBuilder::insert() more understandable

RevBy: cocos (MR#288)
Details: Rename to insertValue() and replace boolean argument by more
expressive enumeration.

6 years agoChanges: Give timestamps in save request more meaningful names
Mathias Hasselmann [Thu, 6 Oct 2011 14:08:15 +0000 (16:08 +0200)]
Changes: Give timestamps in save request more meaningful names

RevBy: cocos (MR#288)

6 years agoFixes: Avoid accidential detaching in QContactTrackerEngine::saveContacts()
Mathias Hasselmann [Thu, 29 Sep 2011 15:11:11 +0000 (17:11 +0200)]
Fixes: Avoid accidential detaching in QContactTrackerEngine::saveContacts()

RevBy: TrustMe (MR#281)

6 years agoChanges: Only filter on value, not rdf:type when inserting foreign keys
Adrien Bustany [Mon, 3 Oct 2011 13:58:03 +0000 (16:58 +0300)]
Changes: Only filter on value, not rdf:type when inserting foreign keys

RevBy: cocos (MR#286)
Details:
When inserting a foreign key for predicate foo:bar (say idenfitied by
its nie:url, the query generated looks like (where YYY is the union of
the range of foo:bar and the domain of nie:url):

INSERT {
  _:foo a YYY; nie:url "value"
} WHERE {
  OPTIONAL { ?foo a YYY; nie:url "value" }
  FILTER(!bound(?foo))
}
INSERT {
  <urn:xxx> a nco:PersonContact; foo:bar ?bar
} WHERE {
  ?bar nie:url "value"
}

This breaks if:
1. The foreign key predicate is an inverse functional property (like
   nie:url)
2. The value "value" is used for two different predicates with different
   domains (for example, nco:photo points to a nie:InformationElement
   while maemo:contactAudioRingtone points at a nfo:FileDataObject)
3. The two predicates are used successively (for example, inserting a
   ringtone, then an avatar with the same nie:url).

In that case, when running the query for the second query, the OPTIONAL
in the INSERT of the foreign key will not match, so the FILTER will
return true and the INSERT run, violating the inverse functional
property constraint.

The proposal to solve this is to filter only in the foreign key
predicate in the OPTIONAL, and not additionally on rdf:type. This is
consistent with what is done in the actual INSERT where the contact is
saved.

6 years agoFixes: Compiler warning for modifyFields()
Mathias Hasselmann [Wed, 5 Oct 2011 13:30:25 +0000 (15:30 +0200)]
Fixes: Compiler warning for modifyFields()

RevBy: TrustMe (MR#281)

6 years agoChanges: Adjust code style in make*PriorityGeneratorList()
Mathias Hasselmann [Wed, 5 Oct 2011 13:29:37 +0000 (15:29 +0200)]
Changes: Adjust code style in make*PriorityGeneratorList()

RevBy: TrustMe (MR#287)

6 years agoChanges: Reflect the display label rule changes in ut_qtcontacts_trackerplugin
Adrien Bustany [Tue, 4 Oct 2011 12:44:12 +0000 (15:44 +0300)]
Changes: Reflect the display label rule changes in ut_qtcontacts_trackerplugin

RevBy: cocos (MR#287)
Details:
Nickname now has priority over all the other details, so should be saved
last to not "mask" the others when testing.

6 years agoFixes: NB#283142 - Nickname should have top priority for DisplayLabel
Adrien Bustany [Tue, 4 Oct 2011 12:13:03 +0000 (15:13 +0300)]
Fixes: NB#283142 - Nickname should have top priority for DisplayLabel

RevBy: cocos (MR#287)

6 years agoChanges: Remove useless SET_TESTNICKNAME_TO_CONTACT call in testSaveNonLatin1Name
Adrien Bustany [Tue, 4 Oct 2011 12:43:43 +0000 (15:43 +0300)]
Changes: Remove useless SET_TESTNICKNAME_TO_CONTACT call in testSaveNonLatin1Name

RevBy: cocos (MR#287)

6 years agoChanges: Mark ut_qtcontacts_trackerplugin::testPartialSave insignificant
Mathias Hasselmann [Wed, 5 Oct 2011 13:19:55 +0000 (15:19 +0200)]
Changes: Mark ut_qtcontacts_trackerplugin::testPartialSave insignificant

RevBy: TrustMe (MR#281)
Details: Unit test fails because MR#281 not fully merged yet

6 years agoChanges: QB: Don't ditch property chain when applying a SPARQL transform
Adrien Bustany [Tue, 16 Aug 2011 09:59:23 +0000 (12:59 +0300)]
Changes: QB: Don't ditch property chain when applying a SPARQL transform

RevBy: cocos (MR#281)
Details:
bindUniqueFieldWithSubquery would only consider the first member of the
property chain when generating the SPARQL. Fields like
QContactGeoLocation::Timestamp have a property chain longer than one and still
need a transform.

6 years agoFixes: Restore saveContact() method
Mathias Hasselmann [Wed, 5 Oct 2011 12:48:55 +0000 (14:48 +0200)]
Fixes: Restore saveContact() method

RevBy: TrustMe (MR#281)
Details: Broke this in 0a59d75a810cbd57424a56cc7ee88757d7c02dd7

6 years agoChanges: ut_qtcontacts_trackerplugin: Preserve QDateTime UTC offset in modifyFields
Adrien Bustany [Mon, 15 Aug 2011 14:20:22 +0000 (17:20 +0300)]
Changes: ut_qtcontacts_trackerplugin: Preserve QDateTime UTC offset in modifyFields

RevBy: cocos (MR#281)

6 years agoChanges: Schema: Properly store/restore UTC offset for DateTime fields
Adrien Bustany [Mon, 15 Aug 2011 14:19:47 +0000 (17:19 +0300)]
Changes: Schema: Properly store/restore UTC offset for DateTime fields

RevBy: cocos (MR#281)
Details:
Many detail fields were storing QDateTime instances, but did not have the
special timezone handling.

6 years agoChanges: DateTimeOffsetConversion: fail with dates that can't be serialized in ISO8601
Adrien Bustany [Mon, 15 Aug 2011 14:19:03 +0000 (17:19 +0300)]
Changes: DateTimeOffsetConversion: fail with dates that can't be serialized in ISO8601

RevBy: cocos (MR#281)

6 years agoChanges: ut_qtcontacts_trackerplugin: Allow modifyFields to work on a QContact&
Adrien Bustany [Fri, 12 Aug 2011 07:18:56 +0000 (10:18 +0300)]
Changes: ut_qtcontacts_trackerplugin: Allow modifyFields to work on a QContact&

RevBy: cocos (MR#281)

6 years agoChanges: add macro TESTNICKNAME_NICKNAME to ut_qtcontacts_trackerplugin_common.h
Friedrich W. H. Kossebau [Thu, 1 Sep 2011 18:09:25 +0000 (20:09 +0200)]
Changes: add macro TESTNICKNAME_NICKNAME to ut_qtcontacts_trackerplugin_common.h

RevBy: coco-heads (MR#281)

6 years agoChanges: adapt ut_qtcontacts_trackerplugin::testPartialSave() to expect BadArgumentEr...
Friedrich W. H. Kossebau [Thu, 25 Aug 2011 10:03:53 +0000 (12:03 +0200)]
Changes: adapt ut_qtcontacts_trackerplugin::testPartialSave() to expect BadArgumentError instead of DoesNotExistError for bad manager uri

RevBy: coco-heads (MR#281)

Details:
follows behaviour of Symbian backend, see also discussion at QTMOBILITY-1816

6 years agoChanges: ut_qtcontacts_trackerplugin::testPartialSave() wrongly expected to save...
Friedrich W. H. Kossebau [Mon, 8 Aug 2011 19:53:27 +0000 (21:53 +0200)]
Changes: ut_qtcontacts_trackerplugin::testPartialSave() wrongly expected to save new contacts with detail mask

RevBy: coco-heads (MR#281)

6 years agoChanges: adapt ut_qtcontacts_trackerplugin::testPartialSave() to new contacts being...
Friedrich W. H. Kossebau [Sat, 6 Aug 2011 23:19:59 +0000 (01:19 +0200)]
Changes: adapt ut_qtcontacts_trackerplugin::testPartialSave() to new contacts being rejected with detailmask

RevBy: coco-heads (MR#281)

6 years agoFixes: Infinite recursion in QContactTrackerEngine::saveContacts()
Mathias Hasselmann [Thu, 29 Sep 2011 14:06:09 +0000 (16:06 +0200)]
Fixes: Infinite recursion in QContactTrackerEngine::saveContacts()

RevBy: TrustMe (MR#281)

6 years agoPrepare harmattan/4.16.3.1-2
Adrien Bustany [Tue, 4 Oct 2011 08:04:05 +0000 (11:04 +0300)]
Prepare harmattan/4.16.3.1-2

6 years agoChanges: Fix control file format
Adrien Bustany [Tue, 4 Oct 2011 08:02:38 +0000 (11:02 +0300)]
Changes: Fix control file format

RevBy: TrustMe

6 years agoPrepare harmattan/4.16.3.1-1
Adrien Bustany [Tue, 4 Oct 2011 07:24:49 +0000 (10:24 +0300)]
Prepare harmattan/4.16.3.1-1

6 years agoChanges: Refetch saved contacts before sorting in testSparqlSorting
Adrien Bustany [Mon, 3 Oct 2011 13:04:59 +0000 (16:04 +0300)]
Changes: Refetch saved contacts before sorting in testSparqlSorting

RevBy: TrustMe
Details:
This allows getting generated details that were not in the original
contact.

6 years agoChanges: Update the requirements of libqtcontacts-extensions-tracker-dev
Adrien Bustany [Mon, 3 Oct 2011 10:37:24 +0000 (13:37 +0300)]
Changes: Update the requirements of libqtcontacts-extensions-tracker-dev

RevBy: TrustMe
Details:
Now that the listener etc. are moved to the libs, programs using the lib
need to link to qtsparql (was already the case before but requirements
were not updated), and qtsparql-tracker-extensions (new with the
listener).

6 years agoChanges: Merge sync contact saving methods
Mathias Hasselmann [Thu, 29 Sep 2011 13:51:44 +0000 (15:51 +0200)]
Changes: Merge sync contact saving methods

RevBy: TrustMe (MR#281)

6 years agoChanges: add own implementation of QCME::saveContacts(QList<QContact>*,definitionMask...
Friedrich W. H. Kossebau [Thu, 28 Jul 2011 14:26:03 +0000 (16:26 +0200)]
Changes: add own implementation of QCME::saveContacts(QList<QContact>*,definitionMask,ErrorMap*,Error)

RevBy: coco-heads (MR#281)

6 years agoChanges: add own implementation of QCME::contacts(QList<QContactLocalId>,QContactFetc...
Friedrich W. H. Kossebau [Thu, 28 Jul 2011 14:24:26 +0000 (16:24 +0200)]
Changes: add own implementation of QCME::contacts(QList<QContactLocalId>,QContactFetchHint,ErrorMap*,Error)

RevBy: coco-heads (MR#281)

6 years agoChanges: catch bad contact ids in contactsave worker and set error for them
Friedrich W. H. Kossebau [Thu, 4 Aug 2011 17:20:20 +0000 (19:20 +0200)]
Changes: catch bad contact ids in contactsave worker and set error for them

RevBy: coco-heads (MR#281)

6 years agoBump package version
Adrien Bustany [Thu, 29 Sep 2011 13:11:40 +0000 (16:11 +0300)]
Bump package version

6 years agoPrepare harmattan/4.16.3-1
Adrien Bustany [Thu, 29 Sep 2011 13:00:26 +0000 (16:00 +0300)]
Prepare harmattan/4.16.3-1

6 years agoChanges: add ut_qtcontacts_trackerplugin::testFetchById()
Friedrich W. H. Kossebau [Thu, 28 Jul 2011 08:41:05 +0000 (10:41 +0200)]
Changes: add ut_qtcontacts_trackerplugin::testFetchById()

RevBy: coco-heads (MR#281)

6 years agoChanges: make ut_qtcontacts_trackerplugin_common::fetchContacts(QList<QContactLocalId...
Friedrich W. H. Kossebau [Thu, 28 Jul 2011 08:32:54 +0000 (10:32 +0200)]
Changes: make ut_qtcontacts_trackerplugin_common::fetchContacts(QList<QContactLocalId>, ...) use fetchbyid request

RevBy: coco-heads (MR#281)

6 years agoChanges: add worker to handle QContactFetchByIdRequest
Friedrich W. H. Kossebau [Fri, 26 Aug 2011 10:37:08 +0000 (12:37 +0200)]
Changes: add worker to handle QContactFetchByIdRequest

RevBy: coco-heads (MR#281)

6 years agoChanges: split abstract part from ContactFetch worker (to prepare sharing code with...
Friedrich W. H. Kossebau [Fri, 26 Aug 2011 10:33:48 +0000 (12:33 +0200)]
Changes: split abstract part from ContactFetch worker (to prepare sharing code with ContactFetchById)

RevBy: coco-heads (MR#281)

6 years agoChanges: rename files contactfetchrequest.* to abstractcontactfetchrequest.* (to...
Friedrich W. H. Kossebau [Thu, 25 Aug 2011 12:47:37 +0000 (14:47 +0200)]
Changes: rename files contactfetchrequest.* to abstractcontactfetchrequest.* (to prepare sharing code with ContactFetchById)

RevBy: coco-heads (MR#281)

6 years agoChanges: switch QContactTrackerEngine to be QContactManagerEngineV2
Friedrich W. H. Kossebau [Tue, 12 Jul 2011 09:19:06 +0000 (11:19 +0200)]
Changes: switch QContactTrackerEngine to be QContactManagerEngineV2

RevBy: coco-heads (MR#281)

6 years agoChanges: Ensure the default graph exists before resolving its tracker:id
Adrien Bustany [Wed, 28 Sep 2011 15:09:49 +0000 (18:09 +0300)]
Changes: Ensure the default graph exists before resolving its tracker:id

RevBy: cocos (MR#285)

6 years agoChanges: Remove useless m_graphIri from QctTrackerChangeListener
Adrien Bustany [Thu, 29 Sep 2011 06:42:12 +0000 (09:42 +0300)]
Changes: Remove useless m_graphIri from QctTrackerChangeListener

RevBy: cocos (MR#285)

6 years agoChanges: Update HACKING file about deleteLater()
Mathias Hasselmann [Thu, 29 Sep 2011 07:26:04 +0000 (09:26 +0200)]
Changes: Update HACKING file about deleteLater()

RevBy: TrustMe

6 years agoChanges: Remove graph-iri engine parameter
Adrien Bustany [Wed, 28 Sep 2011 14:15:30 +0000 (17:15 +0300)]
Changes: Remove graph-iri engine parameter

RevBy: cocos (MR#284)
Details:
It's not used by anything, and two engines with different graphs could not
share resources anyway.

6 years agoFixes: Make mktests.sh be runnable with shadow builds
Friedrich W. H. Kossebau [Wed, 28 Sep 2011 11:46:48 +0000 (13:46 +0200)]
Fixes: Make mktests.sh be runnable with shadow builds

RevBy: cocos
Details: Still has to be used like this:
../../../Code/qtcontacts-tracker/tests/testrunner.sh tests-local.xml
Could perhaps become a make target, "make run_local_tests".

6 years agoChanges: Remove Qt keywords from public headers in the lib
Adrien Bustany [Wed, 28 Sep 2011 11:39:38 +0000 (14:39 +0300)]
Changes: Remove Qt keywords from public headers in the lib

RevBy: cocos (MR#282)
Details:
Programs that use QT_NO_KEYWORDS can't use those headers else.

6 years agoChanges: Check for Qt keyword usage in check_public_headers.py
Adrien Bustany [Wed, 28 Sep 2011 11:36:51 +0000 (14:36 +0300)]
Changes: Check for Qt keyword usage in check_public_headers.py

RevBy: cocos (MR#282)

6 years agoChanges: Pull QtGui in qtcontacts_extensions_tracker.prf
Adrien Bustany [Wed, 28 Sep 2011 10:59:26 +0000 (13:59 +0300)]
Changes: Pull QtGui in qtcontacts_extensions_tracker.prf

RevBy: cocos (MR#282)
Details:
The lib uses classes from QtGui (QImage), and mobility forgets to pull it in
anyway (required for QContactThumbnail).

6 years agoBump package version
Mathias Hasselmann [Wed, 28 Sep 2011 12:21:55 +0000 (14:21 +0200)]
Bump package version

6 years agoPrepare harmattanfb/4.16.2-3
Mathias Hasselmann [Wed, 28 Sep 2011 12:21:46 +0000 (14:21 +0200)]
Prepare harmattanfb/4.16.2-3

6 years agoFixes: List Python as build dependency
Mathias Hasselmann [Wed, 28 Sep 2011 12:20:24 +0000 (14:20 +0200)]
Fixes: List Python as build dependency

RevBy: cocos

6 years agoBump package version
Mathias Hasselmann [Wed, 28 Sep 2011 09:08:08 +0000 (11:08 +0200)]
Bump package version

6 years agoPrepare harmattanfb/4.16.2-2
Mathias Hasselmann [Wed, 28 Sep 2011 09:08:00 +0000 (11:08 +0200)]
Prepare harmattanfb/4.16.2-2

6 years agoFixes: Mark ut_qtcontacts_trackerplugin::testSparqlSorting as expected to fail
Mathias Hasselmann [Wed, 28 Sep 2011 09:06:46 +0000 (11:06 +0200)]
Fixes: Mark ut_qtcontacts_trackerplugin::testSparqlSorting as expected to fail

RevBy: TrustMe

6 years agoBump package version
Mathias Hasselmann [Wed, 28 Sep 2011 08:30:07 +0000 (10:30 +0200)]
Bump package version

6 years agoPrepare harmattanfb/4.16.2-1
Mathias Hasselmann [Wed, 28 Sep 2011 08:30:00 +0000 (10:30 +0200)]
Prepare harmattanfb/4.16.2-1

6 years agoChanges: Update .gitignore
Mathias Hasselmann [Wed, 28 Sep 2011 08:28:46 +0000 (10:28 +0200)]
Changes: Update .gitignore

RevBy: TrustMe

6 years agoChanges: Update required contactsd version
Mathias Hasselmann [Wed, 28 Sep 2011 08:23:51 +0000 (10:23 +0200)]
Changes: Update required contactsd version

RevBy: TrustMe

6 years agoChanges: Propagate the "omit-presence-changes" parameter to the listener
Adrien Bustany [Wed, 28 Sep 2011 07:51:25 +0000 (10:51 +0300)]
Changes: Propagate the "omit-presence-changes" parameter to the listener

RevBy: cocos

6 years agoFixes: Make header file checks work with shadow builds
Mathias Hasselmann [Tue, 27 Sep 2011 14:09:06 +0000 (16:09 +0200)]
Fixes: Make header file checks work with shadow builds

RevBy: cocos (MR#279)

6 years agoFixes: Compute proper URI for sharing tracker listeners
Mathias Hasselmann [Tue, 27 Sep 2011 22:04:51 +0000 (00:04 +0200)]
Fixes: Compute proper URI for sharing tracker listeners

RevBy: cocos (MR#278)

6 years agoFixes: Segfault in ut_qtcontacts_trackerplugin_signals::testOmitPresenceChanges
Mathias Hasselmann [Tue, 27 Sep 2011 12:07:29 +0000 (14:07 +0200)]
Fixes: Segfault in ut_qtcontacts_trackerplugin_signals::testOmitPresenceChanges

RevBy: cocos (MR#278)
Details: Properly bind changelistener life time to its thread.

6 years agoChanges: Reduce timeout before QctQueue warns about stalled background thread
Mathias Hasselmann [Tue, 27 Sep 2011 12:06:51 +0000 (14:06 +0200)]
Changes: Reduce timeout before QctQueue warns about stalled background thread

RevBy: cocos (MR#278)

6 years agoNew: QctThreadLocalData class
Mathias Hasselmann [Tue, 27 Sep 2011 12:05:27 +0000 (14:05 +0200)]
New: QctThreadLocalData class

RevBy: cocos (MR#278)
Details: Put all thread local data into one single object so that destruction
order of dependent thread local objects can be managed.

6 years agoFixes: Minor typo in src/lib/queue.h
Mathias Hasselmann [Tue, 27 Sep 2011 12:08:25 +0000 (14:08 +0200)]
Fixes: Minor typo in src/lib/queue.h

RevBy: TrustMe

6 years agoNew: Add OnlyPresenceChanges mode to QctTrackerChangeListener
Adrien Bustany [Mon, 26 Sep 2011 07:19:09 +0000 (10:19 +0300)]
New: Add OnlyPresenceChanges mode to QctTrackerChangeListener

RevBy: cocos (MR#276)
Details:
In this mode, signals are only emitted when the QContactPresence detail
changes.

6 years agoChanges: Move the change listener to the library
Adrien Bustany [Thu, 22 Sep 2011 14:25:47 +0000 (17:25 +0300)]
Changes: Move the change listener to the library

RevBy: cocos (MR#276)
Details:
Now programs can instantiate a listener without creating a complete engine.

6 years agoChanges: Remove dependency of QctTrackerChangeListener on QContactTrackerEngineParameters
Adrien Bustany [Thu, 22 Sep 2011 10:42:54 +0000 (13:42 +0300)]
Changes: Remove dependency of QctTrackerChangeListener on QContactTrackerEngineParameters

RevBy: cocos (MR#276)
Details: This is needed to move the listener to the shared library.

6 years agoChanges: Move QctResolverTask to the lib
Adrien Bustany [Mon, 26 Sep 2011 07:07:46 +0000 (10:07 +0300)]
Changes: Move QctResolverTask to the lib

RevBy: cocos (MR#276)

6 years agoChanges: Move the queue to the lib
Adrien Bustany [Mon, 26 Sep 2011 07:04:04 +0000 (10:04 +0300)]
Changes: Move the queue to the lib

RevBy: cocos (MR#276)