qtcontacts-tracker:qtcontacts-tracker.git
7 years agoChanges: Don't blindly trust the user-supplied guid to be a good filename
Jens Georg [Sun, 12 Sep 2010 09:06:12 +0000 (11:06 +0200)]
Changes: Don't blindly trust the user-supplied guid to be a good filename

RevBy: people-review

7 years agoChanges: Remove unneeded include
Jens Georg [Sun, 12 Sep 2010 08:53:37 +0000 (10:53 +0200)]
Changes: Remove unneeded include

RevBy: people-review

7 years agoChanges: Add Unittests for NB#17338
Jens Georg [Fri, 10 Sep 2010 19:59:44 +0000 (21:59 +0200)]
Changes: Add Unittests for NB#17338

RevBy: people-review

7 years agoFixes: NB#173388 - Contacts are not displayed with avatar when they are synchronized
Jens Georg [Fri, 10 Sep 2010 18:38:42 +0000 (20:38 +0200)]
Fixes: NB#173388 - Contacts are not displayed with avatar when they are synchronized

Bug: NB#173388,BMC#5879
RevBy: people-review
Details: Translate the QContactThumbnail that QtVersit creates of the
vCard::PHOTO entry to a QContactAvatar by saving contained image to local
cache dir.

7 years agoChanges: Fix unit tests which fail because detail definitions are not finished yet.
Mathias Hasselmann [Sat, 11 Sep 2010 23:24:32 +0000 (01:24 +0200)]
Changes: Fix unit tests which fail because detail definitions are not finished yet.

RevBy: TrustMe

7 years agoChanges: Fix tests which fail because of modified warnings
Mathias Hasselmann [Sat, 11 Sep 2010 23:15:14 +0000 (01:15 +0200)]
Changes: Fix tests which fail because of modified warnings

RevBy: TrustMe

7 years agoNew: qctLogger::showLocation
Mathias Hasselmann [Sat, 11 Sep 2010 23:14:46 +0000 (01:14 +0200)]
New: qctLogger::showLocation

RevBy: TrustMe

7 years agoChanges: Cleanup header usage a bit
Mathias Hasselmann [Sat, 11 Sep 2010 22:15:26 +0000 (00:15 +0200)]
Changes: Cleanup header usage a bit

RevBy: TrustMe

7 years agoChanges: Move implementation of QTrackerAbstractRequest to cpp file
Mathias Hasselmann [Sat, 11 Sep 2010 21:27:33 +0000 (23:27 +0200)]
Changes: Move implementation of QTrackerAbstractRequest to cpp file

RevBy: TrustMe

7 years agoRevert "Changes: Disable schema generation for now"
Mathias Hasselmann [Sat, 11 Sep 2010 21:24:32 +0000 (23:24 +0200)]
Revert "Changes: Disable schema generation for now"

This reverts commit c377010703d912d22d5b2f7be846bc2815cc565e.
Schema lister should work without DBus now.

7 years agoChanges: Only finish detail schema when starting a request.
Mathias Hasselmann [Sat, 11 Sep 2010 21:23:11 +0000 (23:23 +0200)]
Changes: Only finish detail schema when starting a request.

RevBy: TrustMe
Details: This is to permit the schema lister to work without DBus available.

7 years agoChanges: Let class cache make use of global mutex timeout
Mathias Hasselmann [Sat, 11 Sep 2010 21:08:50 +0000 (23:08 +0200)]
Changes: Let class cache make use of global mutex timeout

RevBy: TrustMe
Details: This shall prevent infinite loops if DBus is not available.

7 years agoChanges: Disable schema generation for now harmattan/4.9.2-2
Jens Georg [Sat, 11 Sep 2010 18:05:49 +0000 (20:05 +0200)]
Changes: Disable schema generation for now

RevBy: TrustMe

7 years agoPrepare harmattan/4.9.2-1 harmattan/4.9.2-1
Mathias Hasselmann [Sat, 11 Sep 2010 15:12:03 +0000 (17:12 +0200)]
Prepare harmattan/4.9.2-1

7 years agoFixes: NB#190770 - Segfault when adding QContact with QContactOnlineAccount that...
Mathias Hasselmann [Sat, 11 Sep 2010 15:02:46 +0000 (17:02 +0200)]
Fixes: NB#190770 - Segfault when adding QContact with QContactOnlineAccount that has a subtype

Bug: NB#190770
RevBy: TrustMe
Details: Mark fields as synthesized to avoid failing exceptions

7 years agoChanges: Replace (almost) all Q_ASSERT() statements with graceful qWarning() or rude...
Mathias Hasselmann [Sat, 11 Sep 2010 14:05:28 +0000 (16:05 +0200)]
Changes: Replace (almost) all Q_ASSERT() statements with graceful qWarning() or rude qFatal() calls.

RevBy: TrustMe
Details: Q_ASSERT() is disabled in official builds, also it was too rude quite
often. Those five asserts which are left really deserve to be that.

7 years agoChanges: Introduce central logging facility
Mathias Hasselmann [Sat, 11 Sep 2010 11:33:19 +0000 (13:33 +0200)]
Changes: Introduce central logging facility

RevBy: TrustMe

7 years agoChanges: Extract parseParameter()
Mathias Hasselmann [Sat, 11 Sep 2010 04:53:56 +0000 (06:53 +0200)]
Changes: Extract parseParameter()

RevBy: TrustMe

7 years agoChanges: use QDesktopServices::storageLocation() to get cache dir
Friedrich W. H. Kossebau [Fri, 10 Sep 2010 15:22:24 +0000 (18:22 +0300)]
Changes: use QDesktopServices::storageLocation() to get cache dir

RevBy: TrustMe

7 years agoChanges: rename QTrackerContactDetailField's property "properties" to "propertyChain"
Friedrich W. H. Kossebau [Fri, 10 Sep 2010 14:49:07 +0000 (17:49 +0300)]
Changes: rename QTrackerContactDetailField's property "properties" to "propertyChain"

RevBy: TrustMe

Details:
less confusing for old men like me

7 years agoChanges: Reduce indent level in UpdateBuilder::collectInsertions()
Mathias Hasselmann [Thu, 9 Sep 2010 12:43:29 +0000 (14:43 +0200)]
Changes: Reduce indent level in UpdateBuilder::collectInsertions()

RevBy: TrustMe

7 years agoChanges: Also save modified contacts when fuzzing
Mathias Hasselmann [Thu, 9 Sep 2010 11:23:46 +0000 (13:23 +0200)]
Changes: Also save modified contacts when fuzzing

RevBy: TrustMe

7 years agoChanges: Extract compareFuzzedContacts()
Mathias Hasselmann [Thu, 9 Sep 2010 08:18:57 +0000 (10:18 +0200)]
Changes: Extract compareFuzzedContacts()

RevBy: TrustMe

7 years agoChanges: Delete affiliation and organization at rdf:Resource level instead of nco...
Mathias Hasselmann [Thu, 9 Sep 2010 11:22:31 +0000 (13:22 +0200)]
Changes: Delete affiliation and organization at rdf:Resource level instead of nco:Role

RevBy: TrustMe
Details: Initially we limited to nco:Role instead of rdf:Resource to only hit
"owned" properties, but this causes trouble with properties like nco:fullname
which for instance also implements dc:title.

7 years agoChanges: Remove nie:contentAccessed property when needed
Mathias Hasselmann [Thu, 9 Sep 2010 11:21:32 +0000 (13:21 +0200)]
Changes: Remove nie:contentAccessed property when needed

RevBy: TrustMe

7 years agoChanges: Add more constants to <dao/customdetails.h>
Mathias Hasselmann [Thu, 9 Sep 2010 11:12:22 +0000 (13:12 +0200)]
Changes: Add more constants to <dao/customdetails.h>

RevBy: TrustMe
Details: For better code and to help the QtContacts team to pick them up.

7 years agoChanges: do not start a new signal coalescing timer, if there is already one running
Friedrich W. H. Kossebau [Thu, 9 Sep 2010 08:26:46 +0000 (11:26 +0300)]
Changes: do not start a new signal coalescing timer, if there is already one running

RevBy: people-review
(cherry picked from commit 21d1936e9a59c42d3d4849615ae75dda1e10b8e6)

7 years agoChanges: Actually check Organization detail of fetched contact in testSaveOrganization()
Mathias Hasselmann [Thu, 9 Sep 2010 07:49:26 +0000 (09:49 +0200)]
Changes: Actually check Organization detail of fetched contact in testSaveOrganization()

RevBy: TrustMe

7 years agoChanges: Mention reference filename in testRemoveRequestQuery() checks
Mathias Hasselmann [Thu, 9 Sep 2010 07:48:50 +0000 (09:48 +0200)]
Changes: Mention reference filename in testRemoveRequestQuery() checks

RevBy: TrustMe

7 years agoNew: ut_qtcontacts_trackerplugin::testFetchAll()
Mathias Hasselmann [Wed, 8 Sep 2010 19:25:44 +0000 (21:25 +0200)]
New: ut_qtcontacts_trackerplugin::testFetchAll()

RevBy: TrustMe

7 years agoChanges: Prevent name class between SopranoLive::BackEnds::Tracker::tracker() and...
Mathias Hasselmann [Wed, 8 Sep 2010 19:22:55 +0000 (21:22 +0200)]
Changes: Prevent name class between SopranoLive::BackEnds::Tracker::tracker() and SopranoLive::Ontologies::tracker.

RevBy: TrustMe
Details: Don't include <QtTracker/Tracker> to prevent
SopranoLive::BackEnds::Tracker::tracker() from being imported into the global
namespace, which will cause name clashes with SopranoLive::Ontologies::tracker.

7 years agoChanges: Let schemelister print currently written file.
Mathias Hasselmann [Wed, 8 Sep 2010 12:44:36 +0000 (14:44 +0200)]
Changes: Let schemelister print currently written file.

RevBy: TrustMe

7 years agoChanges: Improve testSignals
Mathias Hasselmann [Wed, 8 Sep 2010 11:14:40 +0000 (13:14 +0200)]
Changes: Improve testSignals

RevBy: TrustMe

7 years agoNew: Coalesce contacts added/changed/removed signals.
Mathias Hasselmann [Wed, 8 Sep 2010 11:13:36 +0000 (13:13 +0200)]
New: Coalesce contacts added/changed/removed signals.

RevBy: TrustMe
Details: This dramatically reduces signal noise.

7 years agoNew: Add generated schema listings to debian package
Mathias Hasselmann [Wed, 8 Sep 2010 09:53:43 +0000 (11:53 +0200)]
New: Add generated schema listings to debian package

RevBy: TrustMe

7 years agoNew: Add unit test to check if UIDs are preserved.
Mathias Hasselmann [Wed, 8 Sep 2010 09:16:03 +0000 (11:16 +0200)]
New: Add unit test to check if UIDs are preserved.

RevBy: TrustMe

7 years agoChanges: Properly check QContactManager::Error in unit tests
Mathias Hasselmann [Wed, 8 Sep 2010 09:15:29 +0000 (11:15 +0200)]
Changes: Properly check QContactManager::Error in unit tests

RevBy: TrustMe

7 years agoPrepare harmattan/4.9.1-1 harmattan/4.9.1-1
Mathias Hasselmann [Tue, 7 Sep 2010 11:15:35 +0000 (13:15 +0200)]
Prepare harmattan/4.9.1-1

7 years agoChanges: Also note the current version of qtcontacts-tracker in the master toc.
Mathias Hasselmann [Tue, 7 Sep 2010 11:07:47 +0000 (13:07 +0200)]
Changes: Also note the current version of qtcontacts-tracker in the master toc.

RevBy: TrustMe

7 years agoChanges: Sanitize save request warnings
Mathias Hasselmann [Tue, 7 Sep 2010 10:56:08 +0000 (12:56 +0200)]
Changes: Sanitize save request warnings

RevBy: TrustMe

7 years agoFixes: NB#189735 - Contact Sync never ends
Mathias Hasselmann [Tue, 7 Sep 2010 10:55:10 +0000 (12:55 +0200)]
Fixes: NB#189735 - Contact Sync never ends

Bug: NB#189735
RevBy: TrustMe
Details: Introduce separate timeout for tracker calls.

7 years agoNew: Implement QContactTrackerEngine::cancelRequest()
Mathias Hasselmann [Tue, 7 Sep 2010 09:51:57 +0000 (11:51 +0200)]
New: Implement QContactTrackerEngine::cancelRequest()

RevBy: TrustMe

7 years agoNew: Add QTrackerAbstractRequest::request() attribute
Mathias Hasselmann [Tue, 7 Sep 2010 08:43:06 +0000 (10:43 +0200)]
New: Add QTrackerAbstractRequest::request() attribute

RevBy: TrustMe

7 years agoChanges: note the current version of qtcontacts-tracker in the created schema description
Friedrich W. H. Kossebau [Tue, 7 Sep 2010 10:46:34 +0000 (13:46 +0300)]
Changes: note the current version of qtcontacts-tracker in the created schema description

RevBy: TrustMe

7 years agoChanges: Update .gitignore file
Mathias Hasselmann [Mon, 6 Sep 2010 21:15:14 +0000 (23:15 +0200)]
Changes: Update .gitignore file

RevBy: TrustMe

7 years agoChanges: Let scheme lister write toc for contact types
Mathias Hasselmann [Mon, 6 Sep 2010 21:14:21 +0000 (23:14 +0200)]
Changes: Let scheme lister write toc for contact types

RevBy: TrustMe

7 years agoChanges: Always request group support in scheme lister
Mathias Hasselmann [Mon, 6 Sep 2010 20:23:24 +0000 (22:23 +0200)]
Changes: Always request group support in scheme lister

RevBy: TrustMe

7 years agoChanges: temporary fix for arrow used in property chain output, just use '---' (...
Friedrich W. H. Kossebau [Mon, 6 Sep 2010 14:07:24 +0000 (17:07 +0300)]
Changes: temporary fix for arrow used in property chain output, just use '---' ('>' gets inserted unchanged to html output)

RevBy: TrustMe

7 years agoChanges: remove contact type from detail anchor name, now that details are in separat...
Friedrich W. H. Kossebau [Mon, 6 Sep 2010 13:45:30 +0000 (16:45 +0300)]
Changes: remove contact type from detail anchor name, now that details are in separate files per type

RevBy: TrustMe

7 years agoChanges: use single version of contact type for title
Friedrich W. H. Kossebau [Mon, 6 Sep 2010 13:41:39 +0000 (16:41 +0300)]
Changes: use single version of contact type for title

RevBy: TrustMe

7 years agoChanges: write each schema of a contact type into a separate file
Friedrich W. H. Kossebau [Mon, 6 Sep 2010 13:40:34 +0000 (16:40 +0300)]
Changes: write each schema of a contact type into a separate file

RevBy: TrustMe

7 years agoFixes: NB#187153 - COREWEB: "libqtcontacts-tracker: cannot rebuild RDF class cache...
Mathias Hasselmann [Mon, 6 Sep 2010 12:25:06 +0000 (14:25 +0200)]
Fixes: NB#187153 - COREWEB: "libqtcontacts-tracker: cannot rebuild RDF class cache. aborting."

Bug: NB#187153
RevBy: TrustMe
Details: Wait few seconds when rebuilding of the class cache fails to give the
system a chance to recover. Also only reject requests instead of aborting if
the class cache doesn't come up.

7 years agoChanged: added method SchemaLister::createTOC()
Friedrich W. H. Kossebau [Mon, 6 Sep 2010 12:01:30 +0000 (15:01 +0300)]
Changed: added method SchemaLister::createTOC()

RevBy: TrustMe

7 years agoChanges: added descriptiveNameForContactType() and classNameOfDetail() helper functio...
Friedrich W. H. Kossebau [Mon, 6 Sep 2010 11:59:57 +0000 (14:59 +0300)]
Changes: added descriptiveNameForContactType() and classNameOfDetail() helper functions for better overview

RevBy: TrustMe

7 years agoChanges: implemented simplyfing of iris to the short alias
Friedrich W. H. Kossebau [Mon, 6 Sep 2010 10:41:15 +0000 (13:41 +0300)]
Changes: implemented simplyfing of iris to the short alias

RevBy: TrustMe

7 years agoChanges: Formatting issue in QContactTrackerEngineData::QContactTrackerEngineData()
Mathias Hasselmann [Mon, 6 Sep 2010 09:48:54 +0000 (11:48 +0200)]
Changes: Formatting issue in QContactTrackerEngineData::QContactTrackerEngineData()

RevBy: TrustMe

7 years agoChanges: Use hasDebugFlag() within engine itself
Mathias Hasselmann [Mon, 6 Sep 2010 09:48:14 +0000 (11:48 +0200)]
Changes: Use hasDebugFlag() within engine itself

RevBy: TrustMe

7 years agoChanges: Apply field naming convention to all other requests
Mathias Hasselmann [Mon, 6 Sep 2010 09:47:28 +0000 (11:47 +0200)]
Changes: Apply field naming convention to all other requests

RevBy: TrustMe

7 years agoChanges: Follow field naming convention in QTrackerAbstractRequest
Mathias Hasselmann [Mon, 6 Sep 2010 09:24:47 +0000 (11:24 +0200)]
Changes: Follow field naming convention in QTrackerAbstractRequest

RevBy: TrustMe

7 years agoChanges: avoid creation of <ul/> on empty field properties
Friedrich W. H. Kossebau [Mon, 6 Sep 2010 09:03:19 +0000 (12:03 +0300)]
Changes: avoid creation of <ul/> on empty field properties

RevBy: TrustMe

7 years agoChanges: add option to set output filename, add --help output
Friedrich W. H. Kossebau [Mon, 6 Sep 2010 08:49:40 +0000 (11:49 +0300)]
Changes: add option to set output filename, add --help output

RevBy: TrustMe

7 years agoChanges: Use concurrency configuration
Jens Georg [Thu, 2 Sep 2010 09:50:21 +0000 (11:50 +0200)]
Changes: Use concurrency configuration

RevBy: people-review
Details: Keep environment variable for override

7 years agoChanges: Add concurrency level to configuration
Jens Georg [Wed, 1 Sep 2010 12:47:21 +0000 (14:47 +0200)]
Changes: Add concurrency level to configuration

RevBy: TrustMe
Details: Make concurrency level configurable and use
QThread::idealThreadCount() as default value

7 years agoFixes: concurrency == 1 did not work
Jens Georg [Wed, 1 Sep 2010 12:05:53 +0000 (14:05 +0200)]
Fixes: concurrency == 1 did not work

7 years agoChanges: Cleanup a bit
Mathias Hasselmann [Fri, 3 Sep 2010 21:47:54 +0000 (23:47 +0200)]
Changes: Cleanup a bit

RevBy: TrustMe

7 years agoNew: ut_qtcontacts_trackerplugin::testSaveNothing()
Mathias Hasselmann [Fri, 3 Sep 2010 21:46:14 +0000 (23:46 +0200)]
New: ut_qtcontacts_trackerplugin::testSaveNothing()

RevBy: TrustMe

7 years agoChanges: also note if detail unique 23
Friedrich W. H. Kossebau [Fri, 3 Sep 2010 15:45:16 +0000 (18:45 +0300)]
Changes: also note if detail unique

RevBy: TrustMe

7 years agoChanges: list also subTypes mapped via property, note computed properties, note depen...
Friedrich W. H. Kossebau [Fri, 3 Sep 2010 15:25:05 +0000 (18:25 +0300)]
Changes: list also subTypes mapped via property, note computed properties, note dependencies

RevBy: TrustMe

7 years agoChanges: a lot of stuff (moving helper functions to top, show code type behind field...
Friedrich W. H. Kossebau [Fri, 3 Sep 2010 13:54:56 +0000 (16:54 +0300)]
Changes: a lot of stuff (moving helper functions to top, show code type behind field name, experiments to show subtypes)

RevBy: TrustMe

7 years agoChanges: added listing of subTypes, also now shows actual rdf mapping data of detail...
Friedrich W. H. Kossebau [Fri, 3 Sep 2010 11:17:43 +0000 (14:17 +0300)]
Changes: added listing of subTypes, also now shows actual rdf mapping data of detail field

RevBy: people-review

7 years agoChanges: more data about detail field (but RDF info not yet given)
Friedrich W. H. Kossebau [Thu, 2 Sep 2010 15:39:37 +0000 (18:39 +0300)]
Changes: more data about detail field (but RDF info not yet given)

RevBy: TrustMe

7 years agoChanges: simplify code for text nodes with new method createTextElement(...)
Friedrich W. H. Kossebau [Thu, 2 Sep 2010 14:25:09 +0000 (17:25 +0300)]
Changes: simplify code for text nodes with new method createTextElement(...)

RevBy: TrustMe

7 years agoChanges: show context info for detail, guess QTM detail class name by detail name...
Friedrich W. H. Kossebau [Thu, 2 Sep 2010 13:57:35 +0000 (16:57 +0300)]
Changes: show context info for detail, guess QTM detail class name by detail name given

RevBy: TrustMe

7 years agoChanges: add initial version of tool to create a listing of the schemas used in html
Friedrich W. H. Kossebau [Thu, 2 Sep 2010 13:38:32 +0000 (16:38 +0300)]
Changes: add initial version of tool to create a listing of the schemas used in html

RevBy: TrustMe

7 years agoBump package version
Mathias Hasselmann [Fri, 3 Sep 2010 08:42:24 +0000 (10:42 +0200)]
Bump package version

7 years agoPrepare harmattan/4.9.0-1 harmattan/4.9.0-1
Mathias Hasselmann [Fri, 3 Sep 2010 08:12:54 +0000 (10:12 +0200)]
Prepare harmattan/4.9.0-1

7 years agoChanges: Enable group support via "features" instead of "debug" parameter.
Mathias Hasselmann [Fri, 3 Sep 2010 07:17:42 +0000 (09:17 +0200)]
Changes: Enable group support via "features" instead of "debug" parameter.

RevBy: TrustMe

7 years agoChanges: Fix several issues in testFetchSavedGroupContact() and testFetchSavedGroupCo...
Mathias Hasselmann [Thu, 2 Sep 2010 21:59:47 +0000 (23:59 +0200)]
Changes: Fix several issues in testFetchSavedGroupContact() and testFetchSavedGroupContactSyncCall().

RevBy: TrustMe
Details: It's really embarrasing to have to such almost identical tests.

7 years agoChanges: Don't try to save QContactName for contact groups.
Mathias Hasselmann [Thu, 2 Sep 2010 22:12:22 +0000 (00:12 +0200)]
Changes: Don't try to save QContactName for contact groups.

RevBy: TrustMe

7 years agoChanges: Add ut_qtcontacts_trackerplugin_groups to .gitignore file.
Mathias Hasselmann [Thu, 2 Sep 2010 21:59:12 +0000 (23:59 +0200)]
Changes: Add ut_qtcontacts_trackerplugin_groups to .gitignore file.

RevBy: TrustMe

7 years agoChanges: Temporarly disable validateContact.
Mathias Hasselmann [Thu, 2 Sep 2010 21:58:24 +0000 (23:58 +0200)]
Changes: Temporarly disable validateContact.

RevBy: TrustMe
Details: It is borken somehow.

7 years agoChanges: Temporary hack to catch all possible subjects for this local id.
Mathias Hasselmann [Thu, 2 Sep 2010 21:57:59 +0000 (23:57 +0200)]
Changes: Temporary hack to catch all possible subjects for this local id.

RevBy: TrustMe
Details: Instead of doing this trick it should be tracked what contact type was stored.

7 years agoChanges: Request group support within tracker engine for ut_qtcontacts_trackerplugin_...
Mathias Hasselmann [Thu, 2 Sep 2010 21:54:50 +0000 (23:54 +0200)]
Changes: Request group support within tracker engine for ut_qtcontacts_trackerplugin_groups.

RevBy: TrustMe

7 years agoChanges: Consider Group type in schema tests
Mathias Hasselmann [Thu, 2 Sep 2010 21:02:29 +0000 (23:02 +0200)]
Changes: Consider Group type in schema tests

RevBy: TrustMe

7 years agoChanges: Prevent ut_qtcontacts_trackerplugin_add_async crashing
Mathias Hasselmann [Thu, 2 Sep 2010 21:01:22 +0000 (23:01 +0200)]
Changes: Prevent ut_qtcontacts_trackerplugin_add_async crashing

RevBy: TrustMe

7 years agoChanges: Drop details that don't make any sense for groups
Mathias Hasselmann [Thu, 2 Sep 2010 21:00:45 +0000 (23:00 +0200)]
Changes: Drop details that don't make any sense for groups

RevBy: TrustMe

7 years agoChanges: Remove unicode chars
Mathias Hasselmann [Thu, 2 Sep 2010 21:00:17 +0000 (23:00 +0200)]
Changes: Remove unicode chars

RevBy: TrustMe

7 years agoChanges: Update reference queries for group fetching support.
Mathias Hasselmann [Thu, 2 Sep 2010 14:00:33 +0000 (16:00 +0200)]
Changes: Update reference queries for group fetching support.

RevBy: TrustMe

7 years agoNew: Provide fetching of contact groups and update few unit tests.
Mathias Hasselmann [Thu, 2 Sep 2010 14:03:58 +0000 (16:03 +0200)]
New: Provide fetching of contact groups and update few unit tests.

RevBy: TrustMe
Details: Generating more queries actually isn't the most performant approach,
but right now it is the most robust one.

7 years agoNew: Add QContactTrackerEngine::schemas() attribute.
Mathias Hasselmann [Thu, 2 Sep 2010 14:03:36 +0000 (16:03 +0200)]
New: Add QContactTrackerEngine::schemas() attribute.

RevBy: TrustMe

7 years agoNew: Add declaration for custom hobby detail.
Mathias Hasselmann [Thu, 2 Sep 2010 14:01:49 +0000 (16:01 +0200)]
New: Add declaration for custom hobby detail.

RevBy: TrustMe

7 years agoNew: Add QTrackerContactDetailSchema::contactType() attribute.
Mathias Hasselmann [Thu, 2 Sep 2010 14:01:15 +0000 (16:01 +0200)]
New: Add QTrackerContactDetailSchema::contactType() attribute.

RevBy: TrustMe

7 years agoChanges: remove #if 0-ed code, not used
Friedrich W. H. Kossebau [Wed, 1 Sep 2010 13:57:34 +0000 (16:57 +0300)]
Changes: remove #if 0-ed code, not used

RevBy: TrustMe

7 years agoChanges: add empty method validateRelationship(...), to be implemented sometime
Friedrich W. H. Kossebau [Wed, 1 Sep 2010 13:55:07 +0000 (16:55 +0300)]
Changes: add empty method  validateRelationship(...), to be implemented sometime

RevBy: people-review

7 years agoChanges: no need to cast enums to int for QCOMPARE, given Mathias' helper to it
Friedrich W. H. Kossebau [Wed, 1 Sep 2010 13:17:03 +0000 (16:17 +0300)]
Changes: no need to cast enums to int for QCOMPARE, given Mathias' helper to it

RevBy: TrustMe

7 years agoChanges: add sync call variants for most tests, which use the sync API of the engine
Friedrich W. H. Kossebau [Tue, 31 Aug 2010 21:42:07 +0000 (00:42 +0300)]
Changes: add sync call variants for most tests, which use the sync API of the engine

RevBy: people-review

7 years agoChanges: add overloads of fetchContacts(...)/fetchContactLocalIds(...) with additiona...
Friedrich W. H. Kossebau [Tue, 31 Aug 2010 21:35:09 +0000 (00:35 +0300)]
Changes: add overloads of fetchContacts(...)/fetchContactLocalIds(...) with additional QList<QContactSortOrder> as parameter

RevBy: people-review

7 years agoChanges: add registerForCleanup(QContact)
Friedrich W. H. Kossebau [Tue, 31 Aug 2010 21:33:46 +0000 (00:33 +0300)]
Changes: add registerForCleanup(QContact)

RevBy: TrustMe

7 years agoChanges: added testRemoveSavedHasMemberRelationship()
Friedrich W. H. Kossebau [Tue, 31 Aug 2010 15:54:39 +0000 (18:54 +0300)]
Changes: added testRemoveSavedHasMemberRelationship()

RevBy: people-review

7 years agoChanges: added unit test for group support
Friedrich W. H. Kossebau [Tue, 31 Aug 2010 14:58:53 +0000 (17:58 +0300)]
Changes: added unit test for group support

RevBy: people-review

Details:
based on code from Eugeny Sychev