summaryrefslogtreecommitdiffstats
path: root/src/client/client.pro
Commit message (Collapse)AuthorAgeFilesLines
* centralize load(qt_build_config)s in .qmake.confOswald Buddenhagen2012-09-111-2/+0
| | | | | Change-Id: Id6970fef4e7fca223bac7540da01907068fc64cc Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* follow rename of qt_module_config.prf to qt_module.prfOswald Buddenhagen2012-08-111-1/+1
| | | | | Change-Id: I858d663ff7ce516fed42bae722d155dd890c6c33 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* follow s/QT_PRIVATE/QT_FOR_PRIVATE/ in qtbaseOswald Buddenhagen2012-08-061-1/+1
| | | | | Change-Id: I29c546fa441162165dd851d8ffe8893f1a0f4ec1 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Set the Qt API level to compatibility mode in all tests and in one lib.Thiago Macieira2012-08-011-0/+2
| | | | | | | | | | | | | Qt 5.0 beta requires changing the default to the 5.0 API, disabling the deprecated code. However, tests should test (and often do) the compatibility API too, so turn it back on. In QtJson's case, it's using old itemviews API in one library and those cases haven't been ported yet. Task-number: QTBUG-25053 Change-Id: If732cdc29097fe3a3117b8ed2b392f6f154360ef Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* build system cleanupsOswald Buddenhagen2012-06-271-6/+1
| | | | | | | | | | | | | | - load(qt_module) => load(qt_build_config) - remove: - CONFIG+=module (obsolete) - pointless CONFIG+=create_prl - pointless setting of QMAKE_FRAMEWORK_BUNDLE_NAME - code relating to module version headers (automated now) - %mastercontent assignment (automated now) - qmake -project boilerplate Change-Id: I036d7e737b4458309067c383642cddfb90599f62 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* auto-generate module prisOswald Buddenhagen2012-06-271-9/+6
| | | | | | Change-Id: I818eb4900cb6ac4de427e1b7db0c6fdab3f60d0f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* use auto-defined QT_BUILD_*_LIB variablesOswald Buddenhagen2012-06-271-1/+0
| | | | | Change-Id: Iee5324ac523e603a25983b8a2581f07e44a5cdef Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* .pro file clean upsTapani Mikola2012-06-121-1/+1
| | | | | | | | Daemon does not directly depend on qml. Jsondb-client does not directly depend on qml or gui. Change-Id: Ie7ce3c2564825b060f9ee481e8eb76f1c3b227ff Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* Add new private QJsonDbQueryModel class to client.Cristiano di Flora2012-06-041-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change separates the cachinglistmodel logic from the implementation of qml-specific aspects of the jsondbcachinglistmodel. The code is migrated into new private classes in client and reused by the imports/jsondb models. The new classes include functionality of the following components previously embedded in the qml jsondb plugin: - JsonDbCachingListModel - modelutils - modelcache In the new setup, the QJsonDbQueryModel class implements the functionality previously provided by the src/imports/jsondb JsonDbCachingListModel and JsonDbCachingListModelPrivate classes. Modelutils and modelcache helpers are now also part of the private API in client. No functional / performance regression is observed after running models tests and benchmarks on top of this. The idea is to make QJsonDbQueryModel part of the public C++ api after a few rounds of reviewes & iterations. Change-Id: Ia6e2368a4cb7c7485087e714642e00ff686945b7 Reviewed-by: Tapani Mikola <tapani.mikola@nokia.com>
* Added a test that reads from multiple private partitions.Denis Dzyubenko2012-05-251-0/+2
| | | | | | | | | For that to work I've added QJsonDbStandardPaths that has convenience functions for retrieving home directories for different users and a switch for using a prefix instead of real users, which can be used in autotests. Change-Id: Ibcbba2fe17498b722f5cbe33fc3a1c16f75f3283 Reviewed-by: Tapani Mikola <tapani.mikola@nokia.com>
* Enable compile-time specification of jsondb socket name.Jamey Hicks2012-05-091-0/+1
| | | | | | | | | | To change the default jsondb socket name: qmake DEFINES+=JSONDB_SOCKET_NAME=/var/run/jsondb Fixes Bug #14089 Change-Id: Id628d1abce9a53e88008f3c6467c8271d90a65fd Reviewed-by: Jeremy Katz <jeremy.katz@nokia.com>
* Add QJsonDbLogRequestKevin Simons2012-05-061-2/+5
| | | | | | | | | This is an internal request type used for logging messages to the JSON DB log. It's useful for our client benchmarks, where we can use some additional logging to make the logs more easily parsable. Change-Id: Ieecbdd5e799fa8e74eabfbd7a058692226a58438 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* Support private partitionsKevin Simons2012-04-181-3/+5
| | | | | | | | | | | | | | | | Enables support for private partitions on a per-user basis. The private partition is stored in a user's home directory. The database client directly accesses these private partitions without needing the daemon to act as an intermediary. Private partitions are addressed using the scheme: username.Private Private partitions do not currently support notifications. Fixes bug #3519. Change-Id: Ibd31087b6c3efdfc837c316487fa5fe05b23212e Reviewed-by: Jamey Hicks <jamey.hicks@nokia.com>
* remove token authentication code.Jamey Hicks2012-02-291-2/+0
| | | | | Change-Id: Ic232f7fecdbfb246b1d580ba282c718157dd65d1 Reviewed-by: Kevin Simons <kevin.simons@nokia.com>
* Added internal QJsonDbFlushRequestDenis Dzyubenko2012-02-281-0/+3
| | | | | | | | This request forces fsync() of the main object table to disk, ensuring the data is saved on disk. Change-Id: I585a02839ecbd5b7b572253b2db91be2f3369d71 Reviewed-by: Jamey Hicks <jamey.hicks@nokia.com>
* Implemented new c++ api for qtjsondb.Denis Dzyubenko2012-02-081-20/+24
| | | | | | | | The old api was not removed yet, but was moved to a separate qt5 module. It will be removed as soon as the rest of jsondb code doesn't depend on it. Change-Id: Icf190f378df476c33c40142503518ca043001d17 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* Removed Qson binary format from qtjsondbJamey Hicks2012-01-271-1/+1
| | | | | | | | Instead we will rely on QtJson (QJsonObject et al) classes that recently became part of QtCore. Change-Id: I139d6fc69bc4cadc080bb3fa5698501db163bd12 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* Renamed public macros.Denis Dzyubenko2012-01-041-0/+1
| | | | | | | | | | | | | | | | Renamed QT_ADDON_JSONDB_BEGIN_NAMESPACE to QT_BEGIN_NAMESPACE_JSONDB to ensure there is the same prefix for all those macros. "syncqt" app has some logic when it parses headers and it is easier to parse headers if the prefix matches. This is the first change that enables us to instruct syncqt to generate forward includes like "#include <JsonDbClient>" in addition to existing "#include <jsondb-client.h>" This change depends on http://codereview.qt-project.org/12127 Change-Id: I0700f58d53aa5c28193fc7ab93e36bdccd6983ed Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* Added api for generating uuid.Denis Dzyubenko2011-12-301-0/+2
| | | | | | | | | JsonDbObject is a convenience wrapper for QVariantMap allowing to generate both random uuid (v4) and uuid based on a uri (v3). Change-Id: Ife53056a34844ed6dacc4b45defb4b0e561a56cc Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* Changed JsonDbClient::notified signalDenis Dzyubenko2011-12-161-2/+4
| | | | | | | | | | The new signal emits an object that contains extended information about the notification - the object that was changed, the action and stateNumber (for future use). Change-Id: Ibf7eeeb9c122c20c79cd4bd942b3f524c1787a3d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* Added new JsonDbClient api for query and changesSinceDenis Dzyubenko2011-12-081-0/+2
| | | | | | | | | | | This new api provides signal-based interface for retrieving data and enables fetching data in chunks which will be extremely useful when we implement client-side reads. Change-Id: Ifbae9f02e95257b7c9b966889b4c3b7cfa4b02d2 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Hagen Rother <hagen.rother@nokia.com> Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com>
* Added state property to JsonDbConnection.Denis Dzyubenko2011-11-301-0/+1
| | | | | | Change-Id: I291e808849dd8e85c382310aa69acde23942714b Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
* Added missing files to client.proDenis Dzyubenko2011-11-231-0/+2
| | | | | | Change-Id: I9089b80fd611efaf4b193e8082b16213430fb5d7 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jamey Hicks <jamey.hicks@nokia.com>
* Long live QtJsonDb!Denis Dzyubenko2011-10-251-0/+32