qtcontacts-tracker:qtcontacts-tracker.git
7 years agoFixes: QContactFetchRequest returns QContactOrganization detail for every contact 36
Adrien Bustany [Fri, 8 Oct 2010 17:02:59 +0000 (20:02 +0300)]
Fixes: QContactFetchRequest returns QContactOrganization detail for every contact

Bug: NB#192947
RevBy: TrustMe
RevBy: people-review
Details:
This commit adds a check on IRI presence when fetching a detail composed of
several fields (several columns in the query result). If the IRI of the detail
is empty, the detail will be skipped.
This commit also adds a test for this bug.

7 years agoFixes: QContactTrackerEngine copy constructor does not copy schemas
Adrien Bustany [Fri, 8 Oct 2010 17:03:56 +0000 (20:03 +0300)]
Fixes: QContactTrackerEngine copy constructor does not copy schemas

RevBy: TrustMe
RevBy: people-review

7 years agoChanges: Also copy the schema when copying an engine
Mathias Hasselmann [Mon, 11 Oct 2010 07:23:45 +0000 (09:23 +0200)]
Changes: Also copy the schema when copying an engine

RevBy: TrustMe

7 years agoChanges: Properly handle exlaimation marks in telepathy IRIs
Mathias Hasselmann [Fri, 8 Oct 2010 23:24:12 +0000 (01:24 +0200)]
Changes: Properly handle exlaimation marks in telepathy IRIs

RevBy: TrustMe

7 years agoChanges: Update testFetchRequestQuery
Mathias Hasselmann [Fri, 8 Oct 2010 16:16:37 +0000 (18:16 +0200)]
Changes: Update testFetchRequestQuery

RevBy: TrustMe

7 years agoChanges: Update reference queries for 20f42d3896295eb86d62e7083d636848a3b71959
Mathias Hasselmann [Fri, 8 Oct 2010 12:54:08 +0000 (14:54 +0200)]
Changes: Update reference queries for 20f42d3896295eb86d62e7083d636848a3b71959

RevBy: TrustMe

7 years agoChanges: Update reference queries for 0f6ae4549446096d5fe979dfdc5f933b9c178123
Mathias Hasselmann [Fri, 8 Oct 2010 12:53:29 +0000 (14:53 +0200)]
Changes: Update reference queries for 0f6ae4549446096d5fe979dfdc5f933b9c178123

RevBy: TrustMe

7 years agoChanges: Don't insert underscore in unique variable names
Mathias Hasselmann [Fri, 8 Oct 2010 12:52:31 +0000 (14:52 +0200)]
Changes: Don't insert underscore in unique variable names

RevBy: TrustMe
Details: This avoids conflicts with QtTracker variable filtering in reference query checks.

7 years agoChanges: Make reference query matching case-sensitive
Mathias Hasselmann [Fri, 8 Oct 2010 12:52:04 +0000 (14:52 +0200)]
Changes: Make reference query matching case-sensitive

RevBy: TrustMe

7 years agoChanges: Update reference queries for d63a8ee56fdd07a1137c84e9aa94d9c378545f2d
Mathias Hasselmann [Fri, 8 Oct 2010 12:51:22 +0000 (14:51 +0200)]
Changes: Update reference queries for d63a8ee56fdd07a1137c84e9aa94d9c378545f2d

RevBy: TrustMe

7 years agoChanges: Consistently named special IRI char constants.
Mathias Hasselmann [Fri, 8 Oct 2010 12:31:38 +0000 (14:31 +0200)]
Changes: Consistently named special IRI char constants.

RevBy: TrustMe

7 years agoChanges: Update reference queries for 4dbc3f229df65d83ccdcb9e927bfdc9ec731bbc8
Mathias Hasselmann [Fri, 8 Oct 2010 12:25:28 +0000 (14:25 +0200)]
Changes: Update reference queries for 4dbc3f229df65d83ccdcb9e927bfdc9ec731bbc8

RevBy: TrustMe

7 years agoNew: EXPECTFAIL file
Mathias Hasselmann [Fri, 8 Oct 2010 12:23:59 +0000 (14:23 +0200)]
New: EXPECTFAIL file

RevBy: TrustMe

7 years agoChanges : support excluding and including char's when doing PercentEncoding and use...
Siraj Razick [Fri, 8 Oct 2010 12:22:32 +0000 (17:52 +0530)]
Changes : support excluding and including char's when doing PercentEncoding and use it to exclude tp url's

Rev-By : Mathias Hasselmann <mathias@openismus.com>

7 years agoFixes: still special support for the unit tests needed (i.e. prevent fetching details...
Friedrich W. H. Kossebau [Fri, 8 Oct 2010 11:38:43 +0000 (13:38 +0200)]
Fixes: still special support for the unit tests needed (i.e. prevent fetching details not explicitely specified in hint)

RevBy: TrustMe

7 years agoChanges: Don't test query builder for entirly unsupported details
Mathias Hasselmann [Fri, 8 Oct 2010 11:14:35 +0000 (13:14 +0200)]
Changes: Don't test query builder for entirly unsupported details

RevBy: TrustMe

7 years agoNew: tests/ut_qtcontacts_trackerplugin_querybuilder/data/125-Contact-Thumbnail.rq
Mathias Hasselmann [Fri, 8 Oct 2010 11:14:08 +0000 (13:14 +0200)]
New: tests/ut_qtcontacts_trackerplugin_querybuilder/data/125-Contact-Thumbnail.rq

RevBy: TrustMe

7 years agoChanges: Consider Family detail in query builder tests
Mathias Hasselmann [Fri, 8 Oct 2010 10:29:26 +0000 (12:29 +0200)]
Changes: Consider Family detail in query builder tests

RevBy: TrustMe

7 years agoChanges: Remove QContactAbstractRequest::ContactFetchByIdRequest guard
Mathias Hasselmann [Fri, 8 Oct 2010 09:30:00 +0000 (11:30 +0200)]
Changes: Remove QContactAbstractRequest::ContactFetchByIdRequest guard

RevBy: TrustMe
Details: We now require QtMobility 1.1.

7 years agoChanges: Update detail schema for QtMobility 1.1
Mathias Hasselmann [Fri, 8 Oct 2010 09:29:26 +0000 (11:29 +0200)]
Changes: Update detail schema for QtMobility 1.1

RevBy: TrustMe

7 years agoNew: QTrackerContactDetailSchema::Version
Mathias Hasselmann [Fri, 8 Oct 2010 09:29:01 +0000 (11:29 +0200)]
New: QTrackerContactDetailSchema::Version

RevBy: TrustMe

7 years agoChanges: Preserve order of custom value lists.
Mathias Hasselmann [Fri, 8 Oct 2010 09:27:41 +0000 (11:27 +0200)]
Changes: Preserve order of custom value lists.

RevBy: TrustMe
Details: Depends on tracker:id() growing monotonic.

7 years agoChanges: avoid fragile insertion of lastNameFirstNameGenerator into generatorlist...
Friedrich W. H. Kossebau [Fri, 8 Oct 2010 10:06:51 +0000 (12:06 +0200)]
Changes: avoid fragile insertion of lastNameFirstNameGenerator into generatorlist by fixed index

RevBy: people-review

7 years agoChanges: rename qctcontactfetchrequestextension.h to qctrequestextensions.h
Friedrich W. H. Kossebau [Fri, 8 Oct 2010 10:03:01 +0000 (12:03 +0200)]
Changes: rename qctcontactfetchrequestextension.h to qctrequestextensions.h

RevBy: TrustMe

7 years agoChanges: fix code style
Friedrich W. H. Kossebau [Fri, 8 Oct 2010 09:25:47 +0000 (11:25 +0200)]
Changes: fix code style

RevBy: TrustMe

7 years agoChanges: use default nameorder from settings, not hardcoded to FirstNameLastName
Friedrich W. H. Kossebau [Thu, 7 Oct 2010 15:25:30 +0000 (17:25 +0200)]
Changes: use default nameorder from settings, not hardcoded to FirstNameLastName

RevBy: people-review

7 years agoChanges: add parameter "QString nameOrder" to settings
Friedrich W. H. Kossebau [Thu, 7 Oct 2010 15:20:31 +0000 (17:20 +0200)]
Changes: add parameter "QString nameOrder" to settings

RevBy: people-review

7 years agoChanges: moved all displayLabel generator code into separate files displaylabelgenera...
Friedrich W. H. Kossebau [Thu, 7 Oct 2010 15:02:40 +0000 (17:02 +0200)]
Changes: moved all displayLabel generator code into separate files displaylabelgenerator.{h,cpp}

RevBy: people-review

Details:
turned "typedef QExplicitlySharedDataPointer<AbstractDisplayNameGenerator> DisplayNameGenerator" into
extra wrapper class with QExplicitlySharedDataPointer<AbstractDisplayNameGenerator> as data member.
Hide different specialisations behind static factory methods.

engine still has two separate generator lists for both nameorders,
but actual generators are explicitely shared, only those using the person name are different.

7 years agoChanges: fix alphabetical sorting of headers
Friedrich W. H. Kossebau [Thu, 7 Oct 2010 12:38:51 +0000 (14:38 +0200)]
Changes: fix alphabetical sorting of headers

RevBy: TrustMe

7 years agoChanges: remove code for old hack to pass the wanted name order by adding QContactDis...
Friedrich W. H. Kossebau [Thu, 7 Oct 2010 12:24:08 +0000 (14:24 +0200)]
Changes: remove code for old hack to pass the wanted name order by adding QContactDisplayLabel+";nameOrderId" in the fetchhint

RevBy: people-review

7 years agoChanges: rename qcontactrequestextensions.h to qctcontactfetchrequestextension.h...
Friedrich W. H. Kossebau [Thu, 7 Oct 2010 08:48:56 +0000 (10:48 +0200)]
Changes: rename qcontactrequestextensions.h to qctcontactfetchrequestextension.h, offer inline methods instead of just defining id for QObject::property

RevBy: people-review

7 years agoChanges: use testDisplayLabelSynthesizedWithNameOrders_data() method to generate...
Friedrich W. H. Kossebau [Wed, 6 Oct 2010 13:49:39 +0000 (15:49 +0200)]
Changes: use testDisplayLabelSynthesizedWithNameOrders_data() method to generate data

RevBy: people-review

7 years agoChanges: add initial support to read parameter for name order from qproperty of QCont...
Friedrich W. H. Kossebau [Tue, 5 Oct 2010 13:48:22 +0000 (15:48 +0200)]
Changes: add initial support to read parameter for name order from qproperty of QContactFetchRequest

RevBy: people-review

Details:
qcontactrequestextensions.* need be moved to the upcoming qtcontacts-tracker extension client lib

7 years agoChanges: use defined symbols QContactDisplayLabel__{FirstNameLastName,FirstNameLastNa...
Friedrich W. H. Kossebau [Mon, 4 Oct 2010 15:45:42 +0000 (17:45 +0200)]
Changes: use defined symbols QContactDisplayLabel__{FirstNameLastName,FirstNameLastName}Order for the nameorder identifiers

RevBy: people-review

7 years agoChanges: added simple test for creating displayLabel with different name orders
Friedrich W. H. Kossebau [Mon, 4 Oct 2010 15:07:23 +0000 (17:07 +0200)]
Changes: added simple test for creating displayLabel with different name orders

RevBy: people-review

7 years agoChanges: add internal method to create display labels, taking nameOrder as parameter...
Friedrich W. H. Kossebau [Mon, 4 Oct 2010 13:20:55 +0000 (15:20 +0200)]
Changes: add internal method to create display labels, taking nameOrder as parameter, removing DisplayNameGeneratorListStack thingie

RevBy: people-review

Details:
the nameOrder is now set per fetch request. With the request using the new
separate method createDisplayLabel(...), which takes the nameOrder into account,
there is no longer the need to store the current nameOrder to be used
by QContactTrackerEngine::synthesizedDisplayLabel(...)
QContactTrackerEngine::synthesizedDisplayLabel(...) now always uses the
default nameOrder (first-last ATM).

7 years agoChanges: added AbstractDisplayNameGenerator and subclasses in place of DisplayNameDet...
Friedrich W. H. Kossebau [Mon, 4 Oct 2010 09:37:29 +0000 (11:37 +0200)]
Changes: added AbstractDisplayNameGenerator and subclasses in place of DisplayNameDetailList, also begin to explicitely pass nameOrder parameter

RevBy: people-review

7 years agoChanges: Drop QContactTrackerEngine::genericSchema()
Mathias Hasselmann [Fri, 8 Oct 2010 08:51:40 +0000 (10:51 +0200)]
Changes: Drop QContactTrackerEngine::genericSchema()

RevBy: TrustMe

7 years agoChanges: Make QtMobility 1.1.0~git20101005 mandatory
Mathias Hasselmann [Fri, 8 Oct 2010 08:49:55 +0000 (10:49 +0200)]
Changes: Make QtMobility 1.1.0~git20101005 mandatory

RevBy: TrustMe

7 years agoChanges: Improve error messages in testDetailSchema
Mathias Hasselmann [Fri, 8 Oct 2010 08:49:09 +0000 (10:49 +0200)]
Changes: Improve error messages in testDetailSchema

RevBy: TrustMe

7 years agoChanges: Pull stock definition for QContactFamily
Mathias Hasselmann [Fri, 8 Oct 2010 08:48:41 +0000 (10:48 +0200)]
Changes: Pull stock definition for QContactFamily

RevBy: TrustMe

7 years agoChanges: Update reference queries to match 43d99ab6792ba1430a64bbc1652b5637489d2232
Mathias Hasselmann [Fri, 8 Oct 2010 07:36:30 +0000 (09:36 +0200)]
Changes: Update reference queries to match 43d99ab6792ba1430a64bbc1652b5637489d2232

RevBy: TrustMe

7 years agoChanges: Show better error message on unsupported QVariant type in findSubTypeValue()
Mathias Hasselmann [Fri, 8 Oct 2010 06:48:43 +0000 (08:48 +0200)]
Changes: Show better error message on unsupported QVariant type in findSubTypeValue()

RevBy: TrustMe

7 years agoChanges: Skip fuzzing on Relevance detail
Mathias Hasselmann [Fri, 8 Oct 2010 06:47:58 +0000 (08:47 +0200)]
Changes: Skip fuzzing on Relevance detail

RevBy: TrustMe

7 years agoChanges: Support more data types in fuzzing
Mathias Hasselmann [Fri, 8 Oct 2010 06:47:22 +0000 (08:47 +0200)]
Changes: Support more data types in fuzzing

RevBy: TrustMe

7 years agoChanges: Realy remove custom subtypes for related objects with content IRI
Mathias Hasselmann [Thu, 7 Oct 2010 22:30:09 +0000 (00:30 +0200)]
Changes: Realy remove custom subtypes for related objects with content IRI

RevBy: TrustMe
Details: Fixes testRemoveSubType.

7 years agoChanges: Properly encode content IRIs to avoid SPARQL syntax errors.
Mathias Hasselmann [Thu, 7 Oct 2010 21:56:30 +0000 (23:56 +0200)]
Changes: Properly encode content IRIs to avoid SPARQL syntax errors.

RevBy: TrustMe

7 years agoChanges: Improve error messages from save request.
Mathias Hasselmann [Thu, 7 Oct 2010 21:56:03 +0000 (23:56 +0200)]
Changes: Improve error messages from save request.

RevBy: TrustMe

7 years agoChanges: Handle QContactAbstractRequest::ContactFetchByIdRequest when available.
Mathias Hasselmann [Thu, 7 Oct 2010 21:55:40 +0000 (23:55 +0200)]
Changes: Handle QContactAbstractRequest::ContactFetchByIdRequest when available.

RevBy: TrustMe

7 years agoChanges: Request proper version of default detail schema to avoid problems with Favor...
Mathias Hasselmann [Thu, 7 Oct 2010 21:54:57 +0000 (23:54 +0200)]
Changes: Request proper version of default detail schema to avoid problems with Favorite detail

RevBy: TrustMe

7 years agoChanges: Fix some tests for expected warnings.
Mathias Hasselmann [Thu, 7 Oct 2010 20:38:18 +0000 (22:38 +0200)]
Changes: Fix some tests for expected warnings.

RevBy: TrustMe

7 years agoChanges: Make error messages in testUnionFilterUniqueness more useful.
Mathias Hasselmann [Thu, 7 Oct 2010 20:28:44 +0000 (22:28 +0200)]
Changes: Make error messages in testUnionFilterUniqueness more useful.

RevBy: TrustMe

7 years agoChanges: Avoid syntax errors for case-insensitive detail filters.
Mathias Hasselmann [Thu, 7 Oct 2010 20:27:29 +0000 (22:27 +0200)]
Changes: Avoid syntax errors for case-insensitive detail filters.

RevBy: TrustMe
Details: Convert value to lower-case on client because of limitations in
fn:starts-with() and  fn:ends-with().

7 years agoFixes: NB#174291 - OTHER context not supported (was: Contact field synchronized from...
Mathias Hasselmann [Thu, 7 Oct 2010 20:26:03 +0000 (22:26 +0200)]
Fixes: NB#174291 - OTHER context not supported (was: Contact field synchronized from server are mapped to wrong fields in the device)

Bug: NB#174291
RevBy: TrustMe
Details: Add fetching of OTHER contexts.

7 years agoDon't hardcode plugin install path
Adrien Bustany [Fri, 1 Oct 2010 08:13:41 +0000 (11:13 +0300)]
Don't hardcode plugin install path

7 years agoFixes: Use proper aegis format for benchmarks
Jens Georg [Thu, 7 Oct 2010 09:16:48 +0000 (11:16 +0200)]
Fixes: Use proper aegis format for benchmarks

RevBy: TrustMe

7 years agochange: Set the AuthStatusFrom and AuthStatusTo optional because self contact does...
Xavier Claessens [Thu, 7 Oct 2010 08:51:20 +0000 (11:51 +0300)]
change: Set the AuthStatusFrom and AuthStatusTo optional because self contact does not have them obviously

RevBy: Mathias

7 years agoChanges: Update query builder tests for auth status changes.
Mathias Hasselmann [Wed, 6 Oct 2010 21:54:52 +0000 (23:54 +0200)]
Changes: Update query builder tests for auth status changes.

RevBy: TrustMe

7 years agoChanges: Declare schema for nco:IMAccount.
Mathias Hasselmann [Wed, 6 Oct 2010 21:33:22 +0000 (23:33 +0200)]
Changes: Declare schema for nco:IMAccount.

RevBy: TrustMe
Details: No idea why this is needed since nco:IMAccount is a nco:IMAddress
and we already declare a schema for it.

7 years agoChanges: Properly select schema for detail URI.
Mathias Hasselmann [Wed, 6 Oct 2010 21:31:58 +0000 (23:31 +0200)]
Changes: Properly select schema for detail URI.

RevBy: TrustMe

7 years agoNew: PropertyInfoBase::resourceTypeIri()
Mathias Hasselmann [Wed, 6 Oct 2010 21:05:50 +0000 (23:05 +0200)]
New: PropertyInfoBase::resourceTypeIri()

RevBy: TrustMe

7 years agoChanges: Declare subject scheme for nco:Affiliation
Mathias Hasselmann [Wed, 6 Oct 2010 20:41:54 +0000 (22:41 +0200)]
Changes: Declare subject scheme for nco:Affiliation

RevBy: TrustMe

7 years agoChanges: Consider predefined authentication status in testClassHierarchy()
Mathias Hasselmann [Wed, 6 Oct 2010 20:38:53 +0000 (22:38 +0200)]
Changes: Consider predefined authentication status in testClassHierarchy()

RevBy: TrustMe

7 years agoChanges: Rename DetailMapping::makeSubjectIri() for consistency
Mathias Hasselmann [Wed, 6 Oct 2010 20:38:06 +0000 (22:38 +0200)]
Changes: Rename DetailMapping::makeSubjectIri() for consistency

RevBy: TrustMe

7 years agoCorrectly add AuthStatusFrom and AuthStatusTo fields
Xavier Claessens [Wed, 6 Oct 2010 20:28:41 +0000 (23:28 +0300)]
Correctly add AuthStatusFrom and AuthStatusTo fields

7 years agoChanges: Apply as UriAsForeignKeyConversion to relevant fields.
Mathias Hasselmann [Wed, 6 Oct 2010 19:13:16 +0000 (21:13 +0200)]
Changes: Apply as UriAsForeignKeyConversion to relevant fields.

RevBy: TrustMe

7 years agoChanges: Consider field conversions when dealing with foreign keys in the save request.
Mathias Hasselmann [Wed, 6 Oct 2010 19:12:11 +0000 (21:12 +0200)]
Changes: Consider field conversions when dealing with foreign keys in the save request.

RevBy: TrustMe

7 years agoChanges: Stop at inverse properties when building DELETE statements for save request.
Mathias Hasselmann [Wed, 6 Oct 2010 18:51:31 +0000 (20:51 +0200)]
Changes: Stop at inverse properties when building DELETE statements for save request.

RevBy: TrustMe
Details:
Proper fix would be to operate on ProperyInfoList instead of PredicateChain
create proper SPARQL in such cases. Fortunately we don't seem to need this
right now.

7 years agoMove AuthStatus from QContactOnlineContact to QContactPresence
Xavier Claessens [Tue, 5 Oct 2010 11:32:04 +0000 (14:32 +0300)]
Move AuthStatus from QContactOnlineContact to QContactPresence

7 years agoChanges: Rename some IRI scheme related attributes and fields to actually make some...
Mathias Hasselmann [Wed, 6 Oct 2010 09:47:58 +0000 (11:47 +0200)]
Changes: Rename some IRI scheme related attributes and fields to actually make some sense.

RevBy: TrustMe

7 years agoChanges: Build fix.
Mathias Hasselmann [Wed, 6 Oct 2010 09:25:50 +0000 (11:25 +0200)]
Changes: Build fix.

RevBy: TrustMe

7 years agoChanges: Remove an obsolete FIXME comment
Jens Georg [Wed, 6 Oct 2010 08:58:26 +0000 (10:58 +0200)]
Changes: Remove an obsolete FIXME comment

RevBy: TrustMe

7 years agoFixes: Configure's --help option
Jens Georg [Mon, 4 Oct 2010 16:23:59 +0000 (18:23 +0200)]
Fixes: Configure's --help option

RevBy: TrustMe

7 years agoChanges: Properly map ringtones via nie:url
Mathias Hasselmann [Tue, 5 Oct 2010 23:34:15 +0000 (01:34 +0200)]
Changes: Properly map ringtones via nie:url

RevBy: TrustMe

7 years agoChanges: Update reference queries for testFetchRequestQuery
Mathias Hasselmann [Tue, 5 Oct 2010 23:25:57 +0000 (01:25 +0200)]
Changes: Update reference queries for testFetchRequestQuery

RevBy: TrustMe

7 years agoChanges: Add minimal support for Favorite detail
Mathias Hasselmann [Tue, 5 Oct 2010 22:34:56 +0000 (00:34 +0200)]
Changes: Add minimal support for Favorite detail

RevBy: TrustMe
Details: Right now only custom details are used. Instead of that nao:hasTag
must be used. Just don't know yet how to do this priority thing.

7 years agoChanges: Consider type of Birthday field is QDateTime in unit tests.
Mathias Hasselmann [Tue, 5 Oct 2010 22:42:19 +0000 (00:42 +0200)]
Changes: Consider type of Birthday field is QDateTime in unit tests.

RevBy: TrustMe

7 years agoChanges: Revert data type for image URL fields to QUrl
Mathias Hasselmann [Tue, 5 Oct 2010 22:41:47 +0000 (00:41 +0200)]
Changes: Revert data type for image URL fields to QUrl

RevBy: TrustMe

7 years agoChanges: Improve detail URI handling.
Mathias Hasselmann [Tue, 5 Oct 2010 22:18:08 +0000 (00:18 +0200)]
Changes: Improve detail URI handling.

Bug:
RevBy: TrustMe
RevBy: people-review
Details:

- Move from field to property info to be able to properly identify the
  relevant RDF property.
- Get organization detail's detail URI from nco:Affiliation instead of
  the nco:Organization.
- Remove quite some rough hacks.
- Update reference queries.

7 years agoChanges: Update reference queries for authentication status support.
Mathias Hasselmann [Tue, 5 Oct 2010 20:21:17 +0000 (22:21 +0200)]
Changes: Update reference queries for authentication status support.

RevBy: TrustMe

7 years agoChanges: Build fixes for upcomming QtMobility 1.2
Mathias Hasselmann [Tue, 5 Oct 2010 09:53:40 +0000 (11:53 +0200)]
Changes: Build fixes for upcomming QtMobility 1.2

RevBy: TrustMe

7 years agoFixes: NB#192949 - Incorrect number of contacts matched in Auto-completion dialog
Robin Burchell [Tue, 28 Sep 2010 14:42:36 +0000 (17:42 +0300)]
Fixes: NB#192949 - Incorrect number of contacts matched in Auto-completion dialog
Fixes: NB#188921 -  Auto completion dialog suggests multiple contacts even if single contact exists

Details: When doing a QContactUnionFilter, we must ensure we don't return the
same ID multiple times, even if it is returned by different parts of the union.

7 years agoPrepare harmattan/4.9.5-2
Mathias Hasselmann [Mon, 4 Oct 2010 09:59:52 +0000 (11:59 +0200)]
Prepare harmattan/4.9.5-2

7 years agoChanges: Use "libqtcontacts-tracker" for PACKAGE and .pro file.
Mathias Hasselmann [Mon, 4 Oct 2010 09:59:15 +0000 (11:59 +0200)]
Changes: Use "libqtcontacts-tracker" for PACKAGE and .pro file.

RevBy: TrustMe

7 years agoFix build error
Xavier Claessens [Mon, 4 Oct 2010 08:29:35 +0000 (11:29 +0300)]
Fix build error

7 years agoMerge branch 'authorization'
Xavier Claessens [Mon, 4 Oct 2010 08:25:06 +0000 (11:25 +0300)]
Merge branch 'authorization'

7 years agoAdd AuthStatusFrom/To support
Xavier Claessens [Fri, 1 Oct 2010 13:44:04 +0000 (15:44 +0200)]
Add AuthStatusFrom/To support

7 years agoChanges: Update GlobalPresence reference query for optional nickname field.
Mathias Hasselmann [Mon, 4 Oct 2010 07:04:33 +0000 (09:04 +0200)]
Changes: Update GlobalPresence reference query for optional nickname field.

RevBy: TrustMe

7 years agoChanges: Update GeoLocation reference query for usage of slo ontology instead of...
Mathias Hasselmann [Mon, 4 Oct 2010 07:02:58 +0000 (09:02 +0200)]
Changes: Update GeoLocation reference query for usage of slo ontology instead of mlo.

RevBy: TrustMe

7 years agoChanges: Update reference queries to foreign key usage for file URLs.
Mathias Hasselmann [Mon, 4 Oct 2010 07:01:48 +0000 (09:01 +0200)]
Changes: Update reference queries to foreign key usage for file URLs.

RevBy: TrustMe

7 years agoChanges: Remove obsolete unit tests.
Mathias Hasselmann [Mon, 4 Oct 2010 06:58:19 +0000 (08:58 +0200)]
Changes: Remove obsolete unit tests.

RevBy: TrustMe
Details: Long term plan is to get rid of QtTracker.

7 years agoChanges: Make QContactPresence::FieldNickname as optional.
Mathias Hasselmann [Fri, 1 Oct 2010 12:56:03 +0000 (14:56 +0200)]
Changes: Make QContactPresence::FieldNickname as optional.

RevBy: TrustMe

7 years agoChanges: Use SPARQL collate functions instead of regex for case-insensitive string...
Mathias Hasselmann [Fri, 1 Oct 2010 11:27:33 +0000 (13:27 +0200)]
Changes: Use SPARQL collate functions instead of regex for case-insensitive string matching.

RevBy: Phillip van Hoof

7 years agoChanges: Consider case-insensitive foreign keys when saving.
Mathias Hasselmann [Fri, 1 Oct 2010 08:57:31 +0000 (10:57 +0200)]
Changes: Consider case-insensitive foreign keys when saving.

RevBy: TrustMe

7 years agoChanges: Make QContactTag::FieldTag as case-insensitive foreign key.
Mathias Hasselmann [Fri, 1 Oct 2010 08:49:01 +0000 (10:49 +0200)]
Changes: Make QContactTag::FieldTag as case-insensitive foreign key.

RevBy: TrustMe

7 years agoChanges: Share the query builder's knowledge about some SPARQL functions.
Mathias Hasselmann [Fri, 1 Oct 2010 08:48:10 +0000 (10:48 +0200)]
Changes: Share the query builder's knowledge about some SPARQL functions.

RevBy: TrustMe

7 years agoChanges: Enable compiler error for unhandled enum values in switch statements.
Mathias Hasselmann [Fri, 1 Oct 2010 06:26:07 +0000 (08:26 +0200)]
Changes: Enable compiler error for unhandled enum values in switch statements.

RevBy: TrustMe

7 years agoChanges: Consider foreign keys when inserting/updating such shared objects.
Mathias Hasselmann [Fri, 1 Oct 2010 06:13:39 +0000 (08:13 +0200)]
Changes: Consider foreign keys when inserting/updating such shared objects.

RevBy: TrustMe

7 years agoChanges: Drop QTrackerContactSubject::LocalFile
Mathias Hasselmann [Fri, 1 Oct 2010 06:08:36 +0000 (08:08 +0200)]
Changes: Drop QTrackerContactSubject::LocalFile

RevBy: Philip van Hoof
Details: For consistency with tracker-miner which stores its nco:FileDataObjects with anonymous URI.

7 years agoChanges: Change datatype of avatar URL fields to QString.
Mathias Hasselmann [Fri, 1 Oct 2010 06:07:34 +0000 (08:07 +0200)]
Changes: Change datatype of avatar URL fields to QString.

RevBy: TrustMe
Details: Foreign keys must be literals, not URIs.