qtcontacts-tracker:qtcontacts-tracker.git
7 years agoImplement changelog filter.
Mathias Hasselmann [Wed, 28 Apr 2010 11:59:54 +0000 (13:59 +0200)]
Implement changelog filter.

* src/dao/querybuilder.cpp:
* src/dao/querybuilder.h: tagLabel(), bindFilter():
  Add the filter function and also add a function of conveniently reusing
  the tag label property.

* tests/ut_qtcontacts_trackerplugin_querybuilder/ut_qtcontacts_trackerplugin_querybuilder.cpp:
* tests/ut_qtcontacts_trackerplugin_querybuilder/ut_qtcontacts_trackerplugin_querybuilder.h:
* tests/ut_qtcontacts_trackerplugin_querybuilder/ut_qtcontacts_trackerplugin_querybuilder.pro:
* tests/ut_qtcontacts_trackerplugin_querybuilder/data/305-testChangeLogFilter.rq:
  Add unit tests for the changelog filter.

7 years agoChanges : Make Display Lables work
Siraj Razick [Wed, 28 Apr 2010 17:25:43 +0000 (22:55 +0530)]
Changes : Make Display Lables work
RevBy : people-devel

7 years agoCorrecly interpret writeBackPresence property
Mathias Hasselmann [Wed, 28 Apr 2010 09:48:39 +0000 (11:48 +0200)]
Correcly interpret writeBackPresence property

7 years agoPermit writeback of presence details.
Mathias Hasselmann [Wed, 28 Apr 2010 09:39:15 +0000 (11:39 +0200)]
Permit writeback of presence details.

This commit enables writeback for presence properties. Pass "presence" for the
contact engine's "writeback" parameter to enable that feature.

* src/dao/contactdetailschema.h:
* src/dao/contactdetailschema.cpp: Introduce writeBackPresence property.
* src/engine/engine.cpp: parseParameters(): Introduce writeback parameter.

7 years agoStore detail schema in engine instead of using singleton pattern
Mathias Hasselmann [Tue, 27 Apr 2010 22:25:19 +0000 (00:25 +0200)]
Store detail schema in engine instead of using singleton pattern

7 years agoReference QContactTrackerEngine in new requests
Mathias Hasselmann [Tue, 27 Apr 2010 21:51:31 +0000 (23:51 +0200)]
Reference QContactTrackerEngine in new requests

7 years agoFix QtMobility include directives
Mathias Hasselmann [Tue, 27 Apr 2010 21:42:25 +0000 (23:42 +0200)]
Fix QtMobility include directives

7 years agoMerge requests and engine module again
Mathias Hasselmann [Tue, 27 Apr 2010 21:34:50 +0000 (23:34 +0200)]
Merge requests and engine module again

7 years agoMove plugin code into separate folder
Mathias Hasselmann [Tue, 27 Apr 2010 21:21:04 +0000 (23:21 +0200)]
Move plugin code into separate folder

7 years agoChanges: mergeContacts(): Add an assert, which is slightly better than crashing.
Murray Cumming [Tue, 20 Apr 2010 11:17:49 +0000 (13:17 +0200)]
Changes: mergeContacts(): Add an assert, which is slightly better than crashing.

* src/requests/relationshipsaverequest.cpp: mergeContacts(): Give an assert
clue instead of just crashing when dereferencing the null smartpointer.
I notice this after 2 merges of the same contact.

7 years agoActually bind filters on unique details
Mathias Hasselmann [Tue, 27 Apr 2010 12:58:26 +0000 (14:58 +0200)]
Actually bind filters on unique details

7 years agoMake localId filter more tolerant
Mathias Hasselmann [Tue, 27 Apr 2010 12:29:56 +0000 (14:29 +0200)]
Make localId filter more tolerant

7 years agoImplement range filter
Mathias Hasselmann [Tue, 27 Apr 2010 12:29:42 +0000 (14:29 +0200)]
Implement range filter

7 years agoPrint warning for unsupported match flags
Mathias Hasselmann [Tue, 27 Apr 2010 07:10:19 +0000 (09:10 +0200)]
Print warning for unsupported match flags

7 years agoMark detail filter as supported
Mathias Hasselmann [Tue, 27 Apr 2010 07:04:44 +0000 (09:04 +0200)]
Mark detail filter as supported

7 years agoRemove QTrackerContactQueryBuilder::bindFilter(filter, subject)
Mathias Hasselmann [Tue, 27 Apr 2010 07:03:16 +0000 (09:03 +0200)]
Remove QTrackerContactQueryBuilder::bindFilter(filter, subject)

7 years agoAdd initial implementation of the detail filter
Mathias Hasselmann [Mon, 26 Apr 2010 23:24:58 +0000 (01:24 +0200)]
Add initial implementation of the detail filter

7 years agoAppend query at proper place
Mathias Hasselmann [Mon, 26 Apr 2010 23:23:15 +0000 (01:23 +0200)]
Append query at proper place

7 years agoAdd fn: prefix
Mathias Hasselmann [Mon, 26 Apr 2010 23:20:59 +0000 (01:20 +0200)]
Add fn: prefix

7 years agoMove FilterFactory into QueryBuilder
Mathias Hasselmann [Mon, 26 Apr 2010 12:11:05 +0000 (14:11 +0200)]
Move FilterFactory into QueryBuilder

7 years agoRemove debug message
Mathias Hasselmann [Mon, 26 Apr 2010 12:01:24 +0000 (14:01 +0200)]
Remove debug message

7 years agoExtract the query builder
Mathias Hasselmann [Mon, 26 Apr 2010 11:22:42 +0000 (13:22 +0200)]
Extract the query builder

7 years agoAdd some assertions to the fetch request
Mathias Hasselmann [Mon, 26 Apr 2010 11:21:11 +0000 (13:21 +0200)]
Add some assertions to the fetch request

7 years agoUse first() instead of at(0)
Mathias Hasselmann [Mon, 26 Apr 2010 09:22:29 +0000 (11:22 +0200)]
Use first() instead of at(0)

7 years agoMake QTrackerContactFilterFactory a proper object
Mathias Hasselmann [Mon, 26 Apr 2010 08:56:42 +0000 (10:56 +0200)]
Make QTrackerContactFilterFactory a proper object

7 years agoPrefer RDFVariableList over QList<RDFVariable>
Mathias Hasselmann [Mon, 26 Apr 2010 07:47:26 +0000 (09:47 +0200)]
Prefer RDFVariableList over QList<RDFVariable>

7 years agoFix lastModified timestamp in reference data
Mathias Hasselmann [Fri, 23 Apr 2010 21:45:12 +0000 (23:45 +0200)]
Fix lastModified timestamp in reference data

7 years agoFix segfault in QTrackerContactEngine
Mathias Hasselmann [Fri, 23 Apr 2010 21:44:52 +0000 (23:44 +0200)]
Fix segfault in QTrackerContactEngine

7 years agoCreate one signal function to create the engine
Mathias Hasselmann [Fri, 23 Apr 2010 21:34:54 +0000 (23:34 +0200)]
Create one signal function to create the engine

7 years agoFix build error
Mathias Hasselmann [Fri, 23 Apr 2010 21:34:36 +0000 (23:34 +0200)]
Fix build error

7 years agoChanges : pass query_builder=all as param for the engine
Siraj Razick [Thu, 22 Apr 2010 10:41:33 +0000 (16:11 +0530)]
Changes : pass query_builder=all as param for the engine
revby : people

7 years agoChanges : remove mock engine from query builder test case
Siraj Razick [Thu, 22 Apr 2010 09:55:48 +0000 (15:25 +0530)]
Changes : remove mock engine from query builder test case
RevBy : people

7 years agoPut more effort into cleansing the Database before loading test data
Mathias Hasselmann [Fri, 23 Apr 2010 21:08:28 +0000 (23:08 +0200)]
Put more effort into cleansing the Database before loading test data

7 years agoDelete nie::contentLastModified before saving
Mathias Hasselmann [Fri, 23 Apr 2010 21:06:39 +0000 (23:06 +0200)]
Delete nie::contentLastModified before saving

7 years agoReally create detail URI
Mathias Hasselmann [Fri, 23 Apr 2010 21:06:08 +0000 (23:06 +0200)]
Really create detail URI

7 years agoUse proper path to reference libengine.a
Mathias Hasselmann [Fri, 23 Apr 2010 20:09:39 +0000 (22:09 +0200)]
Use proper path to reference libengine.a

7 years agoProcess trackerresources.xml when running qmake again
Mathias Hasselmann [Fri, 23 Apr 2010 20:09:16 +0000 (22:09 +0200)]
Process trackerresources.xml when running qmake again

7 years agoMake sure trackerresources.xml can be found out of tree
Mathias Hasselmann [Fri, 23 Apr 2010 18:58:38 +0000 (20:58 +0200)]
Make sure trackerresources.xml can be found out of tree

7 years agoDefine OnlineAccount and Presence detail mapping
Mathias Hasselmann [Fri, 23 Apr 2010 13:53:56 +0000 (15:53 +0200)]
Define OnlineAccount and Presence detail mapping

7 years agoRename detail schema test
Mathias Hasselmann [Fri, 23 Apr 2010 13:53:11 +0000 (15:53 +0200)]
Rename detail schema test

7 years agoAdd support for linkedDetailUris
Mathias Hasselmann [Fri, 23 Apr 2010 09:13:10 +0000 (11:13 +0200)]
Add support for linkedDetailUris

7 years agoRemove pointless transaction from QTrackerContactFetchRequest2
Mathias Hasselmann [Fri, 23 Apr 2010 09:13:37 +0000 (11:13 +0200)]
Remove pointless transaction from QTrackerContactFetchRequest2

7 years agoAdd support for telepathy: IRIs
Mathias Hasselmann [Fri, 23 Apr 2010 08:54:31 +0000 (10:54 +0200)]
Add support for telepathy: IRIs

7 years agoAdd support for inverse RDF properties
Mathias Hasselmann [Thu, 22 Apr 2010 14:36:33 +0000 (16:36 +0200)]
Add support for inverse RDF properties

7 years agoAdd support for optional RDF properties
Mathias Hasselmann [Thu, 22 Apr 2010 14:06:46 +0000 (16:06 +0200)]
Add support for optional RDF properties

7 years agoPermit numeric resource instances
Mathias Hasselmann [Thu, 22 Apr 2010 10:33:54 +0000 (12:33 +0200)]
Permit numeric resource instances

7 years agoUse makeContactIri() at more places
Mathias Hasselmann [Thu, 22 Apr 2010 10:31:48 +0000 (12:31 +0200)]
Use makeContactIri() at more places

7 years agoAdd support for telepathy: IRIs
Mathias Hasselmann [Thu, 22 Apr 2010 10:30:38 +0000 (12:30 +0200)]
Add support for telepathy: IRIs

7 years agoCreate libut_qtcontacts_common.a to reduce build time
Mathias Hasselmann [Thu, 22 Apr 2010 09:32:23 +0000 (11:32 +0200)]
Create libut_qtcontacts_common.a to reduce build time

7 years agoCleanup engine build system
Mathias Hasselmann [Thu, 22 Apr 2010 09:32:04 +0000 (11:32 +0200)]
Cleanup engine build system

7 years agoRemove tools/tools.pro
Mathias Hasselmann [Thu, 22 Apr 2010 09:12:30 +0000 (11:12 +0200)]
Remove tools/tools.pro

7 years agoCreate libengine.a to reduce build time
Mathias Hasselmann [Thu, 22 Apr 2010 09:07:51 +0000 (11:07 +0200)]
Create libengine.a to reduce build time

7 years agoAdd plugin keyword to CONFIG variable
Mathias Hasselmann [Thu, 22 Apr 2010 09:07:24 +0000 (11:07 +0200)]
Add plugin keyword to CONFIG variable

7 years agoAdd more sophisticated tests for union and intersection filters
Mathias Hasselmann [Wed, 21 Apr 2010 21:21:10 +0000 (23:21 +0200)]
Add more sophisticated tests for union and intersection filters

7 years agoFix qmake includes
Mathias Hasselmann [Wed, 21 Apr 2010 20:58:28 +0000 (22:58 +0200)]
Fix qmake includes

7 years agoImplement union and intersection filter
Mathias Hasselmann [Wed, 21 Apr 2010 20:58:08 +0000 (22:58 +0200)]
Implement union and intersection filter

7 years agoChanges : Use Engine directly instead of contact manager
Siraj Razick [Wed, 21 Apr 2010 16:52:41 +0000 (22:22 +0530)]
Changes : Use Engine directly instead of contact manager
RevBy :

7 years agoAlso test fetching with localContactId filter
Mathias Hasselmann [Wed, 21 Apr 2010 19:57:09 +0000 (21:57 +0200)]
Also test fetching with localContactId filter

7 years agoConsider detailDefinitionsHint()
Mathias Hasselmann [Wed, 21 Apr 2010 20:17:24 +0000 (22:17 +0200)]
Consider detailDefinitionsHint()

7 years agoTest query generated by localContactId filter
Mathias Hasselmann [Wed, 21 Apr 2010 19:57:03 +0000 (21:57 +0200)]
Test query generated by localContactId filter

7 years agoImplement localId filter
Mathias Hasselmann [Wed, 21 Apr 2010 19:54:27 +0000 (21:54 +0200)]
Implement localId filter

7 years agoMake QTrackerContactFetchRequest2 a QRunnable
Mathias Hasselmann [Wed, 21 Apr 2010 18:37:46 +0000 (20:37 +0200)]
Make QTrackerContactFetchRequest2 a QRunnable

7 years agoUse QThreadPool for managing request threads
Mathias Hasselmann [Wed, 21 Apr 2010 18:37:26 +0000 (20:37 +0200)]
Use QThreadPool for managing request threads

7 years agoIntroduce central settings facility
Mathias Hasselmann [Wed, 21 Apr 2010 11:35:36 +0000 (13:35 +0200)]
Introduce central settings facility

7 years agoRun qdbusxml2cpp on demand
Mathias Hasselmann [Wed, 21 Apr 2010 09:36:07 +0000 (11:36 +0200)]
Run qdbusxml2cpp on demand

7 years agoTest phone numbers with disjoint subtypes
Mathias Hasselmann [Tue, 20 Apr 2010 21:10:56 +0000 (23:10 +0200)]
Test phone numbers with disjoint subtypes

7 years agoPrepare save requests from XML file.
Mathias Hasselmann [Tue, 20 Apr 2010 21:09:52 +0000 (23:09 +0200)]
Prepare save requests from XML file.

7 years agoConsider multi-inheritance when storing sub-types.
Mathias Hasselmann [Tue, 20 Apr 2010 21:07:43 +0000 (23:07 +0200)]
Consider multi-inheritance when storing sub-types.

7 years agoAdd function to get single detail description from schema.
Mathias Hasselmann [Tue, 20 Apr 2010 21:06:45 +0000 (23:06 +0200)]
Add function to get single detail description from schema.

7 years agoAdd function to lookup QTrackerContactDetailFields by name.
Mathias Hasselmann [Tue, 20 Apr 2010 21:05:44 +0000 (23:05 +0200)]
Add function to lookup QTrackerContactDetailFields by name.

7 years agoChanges: update changelog for harmattan/4.5.6-1 harmattan/4.5.6-1
Nathan Letwory [Tue, 20 Apr 2010 12:43:48 +0000 (15:43 +0300)]
Changes: update changelog for harmattan/4.5.6-1
RevBy: TrustMe

7 years agoImplement QContactTrackerEngine::detailDefinition()
Mathias Hasselmann [Tue, 20 Apr 2010 12:37:30 +0000 (14:37 +0200)]
Implement QContactTrackerEngine::detailDefinition()

Also print warnings for yet unimplemented functions.

7 years agoCache the schema's QContactDetailDefinitionMap.
Mathias Hasselmann [Tue, 20 Apr 2010 12:36:41 +0000 (14:36 +0200)]
Cache the schema's QContactDetailDefinitionMap.

7 years agoResync 000-contacts.ini
Mathias Hasselmann [Tue, 20 Apr 2010 10:54:03 +0000 (12:54 +0200)]
Resync 000-contacts.ini

7 years agoSplit KeepOnModify flag into Shared and ReadOnly
Mathias Hasselmann [Tue, 20 Apr 2010 10:31:37 +0000 (12:31 +0200)]
Split KeepOnModify flag into Shared and ReadOnly

7 years agoExtract common content URI parsers.
Mathias Hasselmann [Tue, 20 Apr 2010 08:58:13 +0000 (10:58 +0200)]
Extract common content URI parsers.

7 years agoAlso use content URLs for affiliations in example file
Mathias Hasselmann [Tue, 20 Apr 2010 08:42:12 +0000 (10:42 +0200)]
Also use content URLs for affiliations in example file

7 years agoAdd initial avatar detail mapping.
Mathias Hasselmann [Tue, 20 Apr 2010 08:14:33 +0000 (10:14 +0200)]
Add initial avatar detail mapping.

7 years agoPrint warning about keeping the fetchHint empty when switching to new fetch request
Mathias Hasselmann [Tue, 20 Apr 2010 08:14:00 +0000 (10:14 +0200)]
Print warning about keeping the fetchHint empty when switching to new fetch request

7 years agoProperly verify fetched contacts
Mathias Hasselmann [Tue, 20 Apr 2010 00:08:12 +0000 (02:08 +0200)]
Properly verify fetched contacts

7 years agoUse more correct query for class based subtypes
Mathias Hasselmann [Tue, 20 Apr 2010 00:07:14 +0000 (02:07 +0200)]
Use more correct query for class based subtypes

7 years agoRetreive content URI.
Mathias Hasselmann [Tue, 20 Apr 2010 00:04:34 +0000 (02:04 +0200)]
Retreive content URI.

7 years agoIntroduce QTrackerContactDetail::hasContentUri().
Mathias Hasselmann [Tue, 20 Apr 2010 00:00:35 +0000 (02:00 +0200)]
Introduce QTrackerContactDetail::hasContentUri().

7 years agoApply generated detailUri when fetching contacts
Mathias Hasselmann [Mon, 19 Apr 2010 20:49:16 +0000 (22:49 +0200)]
Apply generated detailUri when fetching contacts

7 years agoUse QUuid::createUuid() for new contacts.
Mathias Hasselmann [Mon, 19 Apr 2010 20:48:26 +0000 (22:48 +0200)]
Use QUuid::createUuid() for new contacts.

7 years agoCheck that fetch requests have proper queries.
Mathias Hasselmann [Mon, 19 Apr 2010 13:53:58 +0000 (15:53 +0200)]
Check that fetch requests have proper queries.

7 years agoBuild base and detail queries in separate steps.
Mathias Hasselmann [Mon, 19 Apr 2010 13:53:19 +0000 (15:53 +0200)]
Build base and detail queries in separate steps.

This prevents that detail queries are accidentally mixed into the base query.

7 years agoMore widely use QContactDetailDefinitionMap
Mathias Hasselmann [Mon, 19 Apr 2010 13:22:48 +0000 (15:22 +0200)]
More widely use QContactDetailDefinitionMap

7 years agoRemove some qDebug() statements
Mathias Hasselmann [Mon, 19 Apr 2010 11:34:31 +0000 (13:34 +0200)]
Remove some qDebug() statements

7 years agoProperly bind edge variables.
Mathias Hasselmann [Mon, 19 Apr 2010 11:27:29 +0000 (13:27 +0200)]
Properly bind edge variables.

Create edge variable cache to make sure each edge variable is bound only once.

7 years agoReorder some function arguments: Input first, output last.
Mathias Hasselmann [Mon, 19 Apr 2010 11:26:45 +0000 (13:26 +0200)]
Reorder some function arguments: Input first, output last.

7 years agoAdd more reference queries
Mathias Hasselmann [Mon, 19 Apr 2010 10:02:23 +0000 (12:02 +0200)]
Add more reference queries

7 years agoRemove some qDebug() statements
Mathias Hasselmann [Mon, 19 Apr 2010 08:40:41 +0000 (10:40 +0200)]
Remove some qDebug() statements

7 years agoUse new maemo prefix for DBus interface
Mathias Hasselmann [Mon, 19 Apr 2010 07:57:50 +0000 (09:57 +0200)]
Use new maemo prefix for DBus interface

7 years agoChanges: bump version for development
Nathan Letwory [Mon, 19 Apr 2010 05:29:23 +0000 (08:29 +0300)]
Changes: bump version for development
RevBy: TrustMe

7 years agoCorrect the test data for contact saving
Mathias Hasselmann [Sat, 17 Apr 2010 20:57:54 +0000 (22:57 +0200)]
Correct the test data for contact saving

7 years agoProperly handle default subtype value when saving
Mathias Hasselmann [Sat, 17 Apr 2010 20:57:37 +0000 (22:57 +0200)]
Properly handle default subtype value when saving

7 years agoCreate objects with content URL when saving contacts
Mathias Hasselmann [Sat, 17 Apr 2010 20:41:51 +0000 (22:41 +0200)]
Create objects with content URL when saving contacts

7 years agoPermit setting of save request timestamp for better testing
Mathias Hasselmann [Sat, 17 Apr 2010 20:42:25 +0000 (22:42 +0200)]
Permit setting of save request timestamp for better testing

7 years agoMove ContactDetailField implementations out of class declaration
Mathias Hasselmann [Sat, 17 Apr 2010 20:37:04 +0000 (22:37 +0200)]
Move ContactDetailField implementations out of class declaration