| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: Id6970fef4e7fca223bac7540da01907068fc64cc
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
|
|
|
|
|
| |
Change-Id: I858d663ff7ce516fed42bae722d155dd890c6c33
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
|
|
|
|
|
| |
Change-Id: I29c546fa441162165dd851d8ffe8893f1a0f4ec1
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
| |
Change-Id: I818eb4900cb6ac4de427e1b7db0c6fdab3f60d0f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
|
|
|
|
|
| |
Change-Id: Iee5324ac523e603a25983b8a2581f07e44a5cdef
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: Ic232f7fecdbfb246b1d580ba282c718157dd65d1
Reviewed-by: Kevin Simons <kevin.simons@nokia.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Change-Id: I291e808849dd8e85c382310aa69acde23942714b
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
|
|
|
|
|
|
| |
Change-Id: I9089b80fd611efaf4b193e8082b16213430fb5d7
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jamey Hicks <jamey.hicks@nokia.com>
|
|
|