qtcontacts-tracker:qtcontacts-tracker.git
6 years agoChanges: Drop usage of emitResultLater
Adrien Bustany [Mon, 23 May 2011 07:42:10 +0000 (10:42 +0300)]
Changes: Drop usage of emitResultLater

RevBy: cocos (MR#214)
Details:
As the queue already forces a pass through the mainloop, there's no
need to ensure that in emitResultLater anymore.

6 years agoChanges: Rename QTrackerAbstractRequest::emitResult to updateRequest
Adrien Bustany [Mon, 23 May 2011 07:39:13 +0000 (10:39 +0300)]
Changes: Rename QTrackerAbstractRequest::emitResult to updateRequest

RevBy: cocos (MR#214)

6 years agoFixes: Possible memory leak in SPARQL resolver
Mathias Hasselmann [Mon, 23 May 2011 11:56:07 +0000 (14:56 +0300)]
Fixes: Possible memory leak in SPARQL resolver

RevBy: cocos
Details: Seems it would leak when destroyed early.

6 years agoChanges: Permit running the benchmarks with latest build without having to install...
Mathias Hasselmann [Mon, 23 May 2011 11:08:24 +0000 (14:08 +0300)]
Changes: Permit running the benchmarks with latest build without having to install anything

RevBy: cocos

6 years agoChanges: Shuffle around some fields of the abstract fetch request
Mathias Hasselmann [Mon, 23 May 2011 07:35:50 +0000 (10:35 +0300)]
Changes: Shuffle around some fields of the abstract fetch request

RevBy: TrustMe

6 years agoChanges: Remove engine field from request task again
Mathias Hasselmann [Mon, 23 May 2011 07:31:59 +0000 (10:31 +0300)]
Changes: Remove engine field from request task again

RevBy: cocos (MR#213)

6 years agoFixes: NB#256863 - Race when starting and deleting requests at the same time
Adrien Bustany [Fri, 20 May 2011 13:28:23 +0000 (16:28 +0300)]
Fixes: NB#256863 - Race when starting and deleting requests at the same time

RevBy: cocos (MR#213)
Details:
This race can happen if the new operator returns twice the same address
when creating the workers. Because we would free the workers when the
request was finished but only remove the requests from the
requestsByWorker map when they were deleted (not when they were
finished), you could remove the worker->request entry in the map when
deleting a request, while having another running request using a worker
with the same address. When the second worker would finish, it would not
find the associated request, and therefore updateContactFetchRequest
would be a no-op.

6 years agoChanges: Use thread-safe initialization for query option constants
Mathias Hasselmann [Fri, 20 May 2011 20:40:01 +0000 (22:40 +0200)]
Changes: Use thread-safe initialization for query option constants

RevBy: TrustMe (MR#212)

6 years agoFixes: NB#250330 - Batch save should result with batch signaling
Adrien Bustany [Fri, 20 May 2011 11:08:53 +0000 (14:08 +0300)]
Fixes: NB#250330 - Batch save should result with batch signaling

RevBy: cocos (MR#212)

6 years agoChanges: Use QSparqlQueryOptions in runQuery
Adrien Bustany [Wed, 18 May 2011 07:55:44 +0000 (10:55 +0300)]
Changes: Use QSparqlQueryOptions in runQuery

RevBy: cocos (MR#212)

6 years agoPrepare harmattan/4.14.9.1-1 harmattan/4.14.9.1-1
Adrien Bustany [Fri, 20 May 2011 08:05:28 +0000 (11:05 +0300)]
Prepare harmattan/4.14.9.1-1

6 years agoChanges: Bump timeout to 1800 seconds in tests.xml
Adrien Bustany [Thu, 19 May 2011 11:20:24 +0000 (14:20 +0300)]
Changes: Bump timeout to 1800 seconds in tests.xml

RevBy: TrustMe

6 years agoPrepare harmattan/4.14.9-1 harmattan/4.14.9-1
Mathias Hasselmann [Thu, 19 May 2011 20:42:46 +0000 (22:42 +0200)]
Prepare harmattan/4.14.9-1

6 years agoFixes: Bump correct time-outs in test-signals
Jens Georg [Thu, 19 May 2011 17:45:33 +0000 (19:45 +0200)]
Fixes: Bump correct time-outs in test-signals

RevBy: TrustMe

6 years agoChanges: Bump timeout in testSignals
Adrien Bustany [Thu, 19 May 2011 11:22:02 +0000 (14:22 +0300)]
Changes: Bump timeout in testSignals

RevBy: TrustMe

6 years agoChanges: Extract singleton template class from Transform and share with Conversation
Mathias Hasselmann [Thu, 19 May 2011 13:26:12 +0000 (15:26 +0200)]
Changes: Extract singleton template class from Transform and share with Conversation

RevBy: TrustMe (MR#208)

6 years agoFixes: Code style
Mathias Hasselmann [Thu, 19 May 2011 12:35:56 +0000 (14:35 +0200)]
Fixes: Code style

RevBy: TrustMe (MR#208)

6 years agoChanges: Define a separator in Transform and don't use a magic value
Jens Georg [Thu, 12 May 2011 07:19:41 +0000 (09:19 +0200)]
Changes: Define a separator in Transform and don't use a magic value

RevBy: coco heads (MR#208)

6 years agoChanges: Mark testDateDetail as expected to fail
Jens Georg [Tue, 10 May 2011 15:50:03 +0000 (18:50 +0300)]
Changes: Mark testDateDetail as expected to fail

RevBy: coco heads (MR#208)

6 years agoChanges: Update reference files for testDetailFilterQuery
Jens Georg [Tue, 10 May 2011 15:36:41 +0000 (18:36 +0300)]
Changes: Update reference files for testDetailFilterQuery

RevBy: coco heads (MR#208)

6 years agoChanges: Update reference files for testFetchRequestQuery
Jens Georg [Tue, 10 May 2011 13:10:02 +0000 (16:10 +0300)]
Changes: Update reference files for testFetchRequestQuery

RevBy: coco heads (MR#208)

6 years agoChanges: Update reference queries for QContactAnniversary
Jens Georg [Tue, 10 May 2011 12:54:39 +0000 (15:54 +0300)]
Changes: Update reference queries for QContactAnniversary

RevBy: coco heads (MR#208)
Details:

6 years agoChanges: Update reference file for QContactBirthday
Jens Georg [Tue, 10 May 2011 12:45:13 +0000 (15:45 +0300)]
Changes: Update reference file for QContactBirthday

RevBy: coco heads (MR#208)

6 years agoFixes: NB#225606 - Birthday field in contact synced to DUT is shown one day less
Jens Georg [Thu, 5 May 2011 08:46:33 +0000 (10:46 +0200)]
Fixes: NB#225606 - Birthday field in contact synced to DUT is shown one day less

RevBy: coco heads (MR#208)
Details:

6 years agoChanges: Don't reuse fields from QContactSaveRequest in UnmergeRequest
Adrien Bustany [Wed, 18 May 2011 13:47:37 +0000 (16:47 +0300)]
Changes: Don't reuse fields from QContactSaveRequest in UnmergeRequest

RevBy: cocos
Details:
The fields from QContactSaveRequest can be modified by mobility itself,
whereas we have total control over the ones that are stored in
userData. In that case, the contacts() methods from QContactSaveRequest
would return an empty list sometimes, so sourceContact() would not
return a reliable result.

6 years agoPrepare harmattan/4.14.8-1 harmattan/4.14.8-1
Adrien Bustany [Tue, 17 May 2011 14:32:01 +0000 (17:32 +0300)]
Prepare harmattan/4.14.8-1

6 years agoFixes: NB#255795 - Crash when unmerging invalid contact
Adrien Bustany [Tue, 17 May 2011 06:27:42 +0000 (09:27 +0300)]
Fixes: NB#255795 - Crash when unmerging invalid contact

RevBy: cocos
Details:
The unmerge request did not check for QContactId validity.

6 years agoQTrackerContactSaveRequest: store correct error code into the error map.
Paolo Capriotti [Thu, 12 May 2011 11:30:05 +0000 (12:30 +0100)]
QTrackerContactSaveRequest: store correct error code into the error map.

When runQuerySync fails, a null result is returned, but the
correct error object can be retrieved with lastError(), so
there's no need to default to UnspecifiedError.

6 years agoChanges: Check for QSparqlResult nullity in relationshipfetchrequest
Adrien Bustany [Tue, 17 May 2011 12:28:16 +0000 (15:28 +0300)]
Changes: Check for QSparqlResult nullity in relationshipfetchrequest

RevBy: cocos

6 years agoPrepare harmattan/4.14.7-1 harmattan/4.14.7-1
Jens Georg [Mon, 16 May 2011 14:38:38 +0000 (16:38 +0200)]
Prepare harmattan/4.14.7-1

6 years agoNew: vCard from NB193261
Jens Georg [Mon, 16 May 2011 14:35:47 +0000 (16:35 +0200)]
New: vCard from NB193261

RevBy: TrustMe

6 years agoChanges: Use other detail for testUniqueDetails mr200
Mathias Hasselmann [Wed, 11 May 2011 20:52:42 +0000 (22:52 +0200)]
Changes: Use other detail for testUniqueDetails

RevBy: cocos (MR#200)

6 years agoChanges: Reformat method signatures in ut_qtcontacts_trackerplugin
Mathias Hasselmann [Wed, 11 May 2011 20:24:40 +0000 (22:24 +0200)]
Changes: Reformat method signatures in ut_qtcontacts_trackerplugin

RevBy: cocos (MR#200)

6 years agoChanges: Maybe improve prefix field warning
Mathias Hasselmann [Wed, 11 May 2011 20:23:24 +0000 (22:23 +0200)]
Changes: Maybe improve prefix field warning

RevBy: cocos (MR#200)

6 years agoChanges: Move piHasProperty to resourceinfo.h
Mathias Hasselmann [Wed, 11 May 2011 20:22:33 +0000 (22:22 +0200)]
Changes: Move piHasProperty to resourceinfo.h

RevBy: cocos (MR#200)

6 years agoChanges: Move restrictionChain
Mathias Hasselmann [Wed, 11 May 2011 20:20:59 +0000 (22:20 +0200)]
Changes: Move restrictionChain

RevBy: cocos (MR#200)

6 years agoChanges: Rename createPredicateChain() to createPatternForPredicateChain
Mathias Hasselmann [Wed, 11 May 2011 20:19:02 +0000 (22:19 +0200)]
Changes: Rename createPredicateChain() to createPatternForPredicateChain

RevBy: cocos (MR#200)

6 years agoChanges: Update querybuilder tests for multiple Organizations
Adrien Bustany [Wed, 4 May 2011 15:12:34 +0000 (18:12 +0300)]
Changes: Update querybuilder tests for multiple Organizations

RevBy: cocos (MR#200)

6 years agoChanges: Adapt testOrganization for multiple organization support
Adrien Bustany [Tue, 3 May 2011 07:33:45 +0000 (10:33 +0300)]
Changes: Adapt testOrganization for multiple organization support

RevBy: cocos (MR#200)

6 years agoChanges: Factor out fuzzy detail comparation from compareFuzzedContacts
Adrien Bustany [Wed, 4 May 2011 12:17:17 +0000 (15:17 +0300)]
Changes: Factor out fuzzy detail comparation from compareFuzzedContacts

RevBy: cocos (MR#200)

6 years agoChanges: Make QContactOrganization a multi detail (Fixes: NB#193261)
Adrien Bustany [Tue, 3 May 2011 08:45:34 +0000 (11:45 +0300)]
Changes: Make QContactOrganization a multi detail (Fixes: NB#193261)

RevBy: cocos (MR#200)

6 years agoChanges: Don't reuse affiliations for QContactOrganization
Adrien Bustany [Tue, 3 May 2011 08:44:48 +0000 (11:44 +0300)]
Changes: Don't reuse affiliations for QContactOrganization

RevBy: cocos (MR#200)

6 years agoChanges: Properly handle context-less details with hasAffiliation in the chain
Adrien Bustany [Wed, 4 May 2011 17:47:40 +0000 (20:47 +0300)]
Changes: Properly handle context-less details with hasAffiliation in the chain

RevBy: cocos (MR#200)

6 years agoChanges: Scalar QB: Add support for custom fields not on prefix
Adrien Bustany [Wed, 4 May 2011 14:09:07 +0000 (17:09 +0300)]
Changes: Scalar QB: Add support for custom fields not on prefix

RevBy: cocos (MR#200)

6 years agoChanges: Scalar QB: Move predicateFunctionChain up
Adrien Bustany [Wed, 4 May 2011 14:07:55 +0000 (17:07 +0300)]
Changes: Scalar QB: Move predicateFunctionChain up

RevBy: cocos (MR#200)

6 years agoChanges: Add support for multi valued chains in multi details
Adrien Bustany [Tue, 3 May 2011 08:44:13 +0000 (11:44 +0300)]
Changes: Add support for multi valued chains in multi details

RevBy: cocos (MR#200)

6 years agoChanges: Fix saving of mapping-less fields on multi details
Adrien Bustany [Wed, 4 May 2011 12:50:09 +0000 (15:50 +0300)]
Changes: Fix saving of mapping-less fields on multi details

RevBy: cocos (MR#200)
Details:
The save request would previously not consider whether the field had a
mapping or not, and in the case where there was no mapping it would
save the field value instead of the nao:Property IRI.

6 years agoChanges: Make splitPropertiesIntoProjectionsAndRestrictions return a PropertyInfoList
Adrien Bustany [Tue, 3 May 2011 08:43:38 +0000 (11:43 +0300)]
Changes: Make splitPropertiesIntoProjectionsAndRestrictions return a PropertyInfoList

RevBy: cocos (MR#200)

6 years agoPrepare harmattan/4.14.6-1 harmattan/4.14.6-1
Mathias Hasselmann [Wed, 11 May 2011 13:43:40 +0000 (15:43 +0200)]
Prepare harmattan/4.14.6-1

6 years agoChanges: use emitResultLater() in QTrackerAbstractRequest::onSparqlQueryFinished()
Friedrich W. H. Kossebau [Fri, 6 May 2011 09:37:59 +0000 (11:37 +0200)]
Changes: use emitResultLater() in QTrackerAbstractRequest::onSparqlQueryFinished()

RevBy: coco-heads (MR#204)

Details:
the method also uses reportError(->emitResultLater) in another branch,
so behaviour would be aligned

6 years agoFixes: QContactTrackerEngine::waitForRequestFinished() should return true also if...
Friedrich W. H. Kossebau [Thu, 5 May 2011 15:47:51 +0000 (17:47 +0200)]
Fixes: QContactTrackerEngine::waitForRequestFinished() should return true also if Canceled

RevBy: coco-heads (MR#204)

6 years agoChanges: also make writing requests cancelable until they actually started
Friedrich W. H. Kossebau [Thu, 5 May 2011 15:01:34 +0000 (17:01 +0200)]
Changes: also make writing requests cancelable until they actually started

RevBy: coco-heads (MR#204)

6 years agoFixes: report failed canceling of request which do not support this
Friedrich W. H. Kossebau [Thu, 5 May 2011 13:59:14 +0000 (15:59 +0200)]
Fixes: report failed canceling of request which do not support this

RevBy: coco-heads (MR#204)

6 years agoFixes: on QContactTrackerEngine::cancelRequest(request) really cancel request action
Friedrich W. H. Kossebau [Thu, 5 May 2011 13:55:04 +0000 (15:55 +0200)]
Fixes: on QContactTrackerEngine::cancelRequest(request) really cancel request action

RevBy: coco-heads (MR#204)

Details:
do so by forwarding the cancel action to the worker itself
also set CanceledState basically in the same code path
where FinishedState is set, in emitResult

6 years agoPrepare harmattan/4.14.5-1 harmattan/4.14.5-1
Mathias Hasselmann [Wed, 11 May 2011 00:21:58 +0000 (02:21 +0200)]
Prepare harmattan/4.14.5-1

6 years agoPrepare harmattan/4.14.4-1
Mathias Hasselmann [Wed, 11 May 2011 00:19:43 +0000 (02:19 +0200)]
Prepare harmattan/4.14.4-1

6 years agoPrepare harmattan/4.14.3-1
Mathias Hasselmann [Wed, 11 May 2011 00:12:08 +0000 (02:12 +0200)]
Prepare harmattan/4.14.3-1

6 years agoPrepare harmattan/4.14.2-1
Mathias Hasselmann [Wed, 11 May 2011 00:07:54 +0000 (02:07 +0200)]
Prepare harmattan/4.14.2-1

6 years agoChanges: Preserve named/default graph of statements during merge
Jens Georg [Tue, 3 May 2011 15:25:33 +0000 (17:25 +0200)]
Changes: Preserve named/default graph of statements during merge

RevBy: coco heads (MR#205)

6 years agoNew: Add unittest to check that the phone number is preserved when merging two contac...
Jens Georg [Wed, 27 Apr 2011 11:56:40 +0000 (14:56 +0300)]
New: Add unittest to check that the phone number is preserved when merging two contacts in a group

RevBy: coco heads (MR#205)

6 years agoNew: bm_qtcontacts_trackerlugin_merge - Simple merge benchmark
Jens Georg [Tue, 26 Apr 2011 16:11:30 +0000 (19:11 +0300)]
New: bm_qtcontacts_trackerlugin_merge - Simple merge benchmark

RevBy: coco heads (MR#205)
Details: Fetch all contacts from tracker and merge the second half into the
first half.

6 years agoChanges: Test merging and unmerging in testSignals
Adrien Bustany [Mon, 9 May 2011 17:42:59 +0000 (20:42 +0300)]
Changes: Test merging and unmerging in testSignals

RevBy: cocos (MR#207)

6 years agoFixes: Wrong \class name in unmergeimcontactsrequest.h
Adrien Bustany [Mon, 9 May 2011 18:24:35 +0000 (21:24 +0300)]
Fixes: Wrong \class name in unmergeimcontactsrequest.h

RevBy: cocos (MR#207)

6 years agoChanges: Move insertIMContact to ut_qtcontacts_trackerplugin_common
Adrien Bustany [Mon, 9 May 2011 18:03:55 +0000 (21:03 +0300)]
Changes: Move insertIMContact to ut_qtcontacts_trackerplugin_common

RevBy: cocos (MR#207)

6 years agoChanges: Move onlineAvatarPath to ut_qtcontacts_trackerplugin_common
Adrien Bustany [Mon, 9 May 2011 18:03:19 +0000 (21:03 +0300)]
Changes: Move onlineAvatarPath to ut_qtcontacts_trackerplugin_common

RevBy: cocos (MR#207)

6 years agoChanges: Rename insertContact to inserIMContact in unit tests
Adrien Bustany [Mon, 9 May 2011 17:56:29 +0000 (20:56 +0300)]
Changes: Rename insertContact to inserIMContact in unit tests

RevBy: cocos (MR#207)

6 years agoChanges: Move resolveTrackerId to ut_qtcontacts_trackerplugin_common
Adrien Bustany [Mon, 9 May 2011 17:52:16 +0000 (20:52 +0300)]
Changes: Move resolveTrackerId to ut_qtcontacts_trackerplugin_common

RevBy: cocos (MR#207)
Details:
It'll be used by ut_qtcontacts_trackerplugin_signals

6 years agoChanges: Don't copy rdf:type in merge request
Adrien Bustany [Mon, 9 May 2011 17:42:04 +0000 (20:42 +0300)]
Changes: Don't copy rdf:type in merge request

RevBy: cocos (MR#207)
Details:
Copying rdf:type triggers a "ContactsAdded" signal, which is a lie,
since we did not really create one.

6 years agoFixes: Also check accountUri in ut_qtcontacts_trackerplugin::testOnlineAccount()
Mathias Hasselmann [Tue, 10 May 2011 11:45:24 +0000 (13:45 +0200)]
Fixes: Also check accountUri in ut_qtcontacts_trackerplugin::testOnlineAccount()

RevBy: TrustMe

6 years agoFixes: Use QLatin1String() in ut_qtcontacts_trackerplugin::testOnlineAccount()
Mathias Hasselmann [Tue, 10 May 2011 11:45:04 +0000 (13:45 +0200)]
Fixes: Use QLatin1String() in ut_qtcontacts_trackerplugin::testOnlineAccount()

RevBy: TrustMe

6 years agoNew: Add test for QContactOnlineAccount IRI generation
Adrien Bustany [Mon, 9 May 2011 13:56:51 +0000 (16:56 +0300)]
New: Add test for QContactOnlineAccount IRI generation

RevBy: cocos (MR#206)

6 years agoFixes: NB#253679 - Duplicate contact when adding a new buddy
Adrien Bustany [Mon, 9 May 2011 13:52:46 +0000 (16:52 +0300)]
Fixes: NB#253679 - Duplicate contact when adding a new buddy

RevBy: cocos (MR#206)

6 years agoFixes: Remove obsolete LICENSE.PREVIEW.COMMERCIAL
Mathias Hasselmann [Mon, 9 May 2011 11:08:41 +0000 (13:08 +0200)]
Fixes: Remove obsolete LICENSE.PREVIEW.COMMERCIAL

RevBy: cocos

6 years agoFixes: NB#245534 - Legal Bug
Mathias Hasselmann [Thu, 5 May 2011 20:37:05 +0000 (22:37 +0200)]
Fixes: NB#245534 - Legal Bug

RevBy: Arttu Ruukki (MR#203)

6 years agoFixes: Add forgotten tools
Mathias Hasselmann [Thu, 5 May 2011 20:55:36 +0000 (22:55 +0200)]
Fixes: Add forgotten tools

RevBy: cocos (MR#203)

6 years agoNew: Legalize tool
Mathias Hasselmann [Thu, 5 May 2011 20:31:55 +0000 (22:31 +0200)]
New: Legalize tool

RevBy: cocos (MR#203)

6 years agoFixes: Spelling error in package description
Mathias Hasselmann [Thu, 5 May 2011 20:31:14 +0000 (22:31 +0200)]
Fixes: Spelling error in package description

RevBy: cocos (MR#203)

6 years agoChanges: Remove unused StaticAssert in query builder
Adrien Bustany [Mon, 9 May 2011 06:13:21 +0000 (09:13 +0300)]
Changes: Remove unused StaticAssert in query builder

RevBy: TrustMe

6 years agoFixes: Behave more sanely when passing no slot to QTrackerAbstractRequest::runQuery()
Mathias Hasselmann [Fri, 6 May 2011 08:42:04 +0000 (10:42 +0200)]
Fixes: Behave more sanely when passing no slot to QTrackerAbstractRequest::runQuery()

RevBy: TrustMe

6 years agoPrepare harmattan/4.14.1-1 harmattan/4.14.1-1
Mathias Hasselmann [Thu, 5 May 2011 13:20:34 +0000 (15:20 +0200)]
Prepare harmattan/4.14.1-1

6 years agoChanges: Bump required contactsd version
Mathias Hasselmann [Thu, 5 May 2011 13:17:08 +0000 (15:17 +0200)]
Changes: Bump required contactsd version

RevBy: cocos

6 years agoFixes: Properly calculate local plugin path
Mathias Hasselmann [Thu, 5 May 2011 12:42:04 +0000 (14:42 +0200)]
Fixes: Properly calculate local plugin path

RevBy: cocos (MR#202)
Details: Use app binary path instead of current directory as starting point.

6 years agoFixes: Saving a contact deletes group membership
Mathias Hasselmann [Thu, 5 May 2011 11:01:19 +0000 (13:01 +0200)]
Fixes: Saving a contact deletes group membership

RevBy: cocos (MR#202)

6 years agoNew: Check that group membership is preserved during partial saving
Mathias Hasselmann [Thu, 5 May 2011 10:33:27 +0000 (12:33 +0200)]
New: Check that group membership is preserved during partial saving

RevBy: cocos (MR#202)

6 years agoPrepare harmattan/4.14.0-1 harmattan/4.14.0-1
Mathias Hasselmann [Wed, 4 May 2011 09:16:31 +0000 (11:16 +0200)]
Prepare harmattan/4.14.0-1

6 years agoPrepare harmattan/4.13.11.1-1
Mathias Hasselmann [Wed, 4 May 2011 08:45:16 +0000 (10:45 +0200)]
Prepare harmattan/4.13.11.1-1

6 years agoNew: Introduce runQuery variants that accept a custom QSparqlConnection
Mathias Hasselmann [Wed, 4 May 2011 07:34:01 +0000 (09:34 +0200)]
New: Introduce runQuery variants that accept a custom QSparqlConnection

RevBy: cocos (MR#201)
Details: This restores save request debugging.

6 years agoRevert "Changes: Drop async QTrackerAbstractRequest::runQuery()"
Mathias Hasselmann [Wed, 4 May 2011 07:11:01 +0000 (09:11 +0200)]
Revert "Changes: Drop async QTrackerAbstractRequest::runQuery()"

RevBy: cocos (MR#201)
Details:
This reverts commit be91c114e5deeeee26f4e49cb19918403900686f.
We still need it for a moment.

6 years agoChanges: Avoid async API when cleaning up behind unit tests
Mathias Hasselmann [Tue, 3 May 2011 20:06:55 +0000 (22:06 +0200)]
Changes: Avoid async API when cleaning up behind unit tests

RevBy: cocos (MR#199)

6 years agoChanges: Turn QctResolverTask into QctResourceCacheTask
Mathias Hasselmann [Tue, 3 May 2011 20:06:29 +0000 (22:06 +0200)]
Changes: Turn QctResolverTask into QctResourceCacheTask

RevBy: cocos (MR#199)
Details: Also avoid async API.

6 years agoNew: QctResourceCache::prefill()
Mathias Hasselmann [Tue, 3 May 2011 19:46:45 +0000 (21:46 +0200)]
New: QctResourceCache::prefill()

RevBy: cocos (MR#199)
Details: Provide more explicit API for filling the resource cache than running
a SPARQL resolver.

6 years agoChanges: Fix coalesce behaviour for NB#252232
Adrien Bustany [Tue, 3 May 2011 14:20:04 +0000 (17:20 +0300)]
Changes: Fix coalesce behaviour for NB#252232

RevBy: cocos (MR#197)
Details:
When using property functions, if there is no result you were supposed to
get null if the property is single valued, and "" (empty string) if the
property is multi valued. As shown in NB#252232, we get null for multi
valued properties, and therefore have to use coalesce in all cases (bug
is WONTFIX since it's anyway more consistent to have the same behavior for
both single and multi valued properties).

6 years agoFixes: Bogous unit tests which broke with commit 51b2baaaa45506dd60bd9e0f21bf5472f347005a
Mathias Hasselmann [Tue, 3 May 2011 18:29:56 +0000 (20:29 +0200)]
Fixes: Bogous unit tests which broke with commit 51b2baaaa45506dd60bd9e0f21bf5472f347005a

RevBy: TrustMe

6 years agoChanges: Add dependency on cubi for libqtcontacts-extensions-tracker
Adrien Bustany [Tue, 3 May 2011 13:48:43 +0000 (16:48 +0300)]
Changes: Add dependency on cubi for libqtcontacts-extensions-tracker

RevBy: cocos

6 years agoFixes: Broken assertion in testTrackerIdResolver()
Mathias Hasselmann [Tue, 3 May 2011 13:39:09 +0000 (15:39 +0200)]
Fixes: Broken assertion in testTrackerIdResolver()

RevBy: cocos

6 years agoFixes: Use QSparqlConnection::syncExec() instead of racy waitForFinished()
Mathias Hasselmann [Tue, 3 May 2011 12:53:33 +0000 (14:53 +0200)]
Fixes: Use QSparqlConnection::syncExec() instead of racy waitForFinished()

RevBy: TrustMe

6 years agoFixes: Remove redundant QctSparqlResolver::waitForFinished()
Mathias Hasselmann [Tue, 3 May 2011 12:52:28 +0000 (14:52 +0200)]
Fixes: Remove redundant QctSparqlResolver::waitForFinished()

RevBy: TrustMe
Details: It depends on racy QSparqlResult::waitForFinished()

6 years agoChanges: Bump required tracker version
Mathias Hasselmann [Tue, 3 May 2011 12:44:17 +0000 (14:44 +0200)]
Changes: Bump required tracker version

RevBy: cocos
Details: 0.10.11 fixes a massive memory leak

6 years agoChanges: Check if request got canceled in emitResultLater()
Mathias Hasselmann [Mon, 2 May 2011 21:44:23 +0000 (23:44 +0200)]
Changes: Check if request got canceled in emitResultLater()

RevBy: cocos (MR#190)

6 years agoChanges: Reduce potential QScopedPointer WTF a bit.
Mathias Hasselmann [Mon, 2 May 2011 21:11:59 +0000 (23:11 +0200)]
Changes: Reduce potential QScopedPointer WTF a bit.

RevBy: cocos (MR#190)
Details: In its previous shape the expression could be considered accidential
for a moment.