summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Keep thread alive until the end of the query, and cleanup the resultSet.Christian Mollekopf2015-04-24
|
* Moved Console to client.Christian Mollekopf2015-04-21
| | | | It's part of the demo application.
* Moved generic part of resource implementation to GenericResourceChristian Mollekopf2015-04-20
|
* Moved complete writing part to GenericFacadeChristian Mollekopf2015-04-19
|
* Moved client and dummyresource to examples/Christian Mollekopf2015-04-19
|
* Fixed build.Christian Mollekopf2015-04-19
|
* Stub for akonadi configuration.Christian Mollekopf2015-04-19
| | | | | | | | Instead of dealing with dedicated configuration facades, we'll integrate that directly into the domain interface. That way it should be rather natural for applications to i.e. query for available resources, and then configure them in the same way some other domain object would be modified.
* Avoid error message when initially starting resource.Christian Mollekopf2015-04-19
|
* Async refactoring in clientapi using each executorChristian Mollekopf2015-04-19
|
* Fixed void async each.Christian Mollekopf2015-04-19
|
* Async: Ensure the future passed by reference to the handler remains valid.Christian Mollekopf2015-04-19
| | | | | | | The reference used to become invalid during execution of the handler, leading to subtle errors (the job just never finished). Unfortunately I failed to write a test that catches this, as the test always seems to work anyways....
* cleanupChristian Mollekopf2015-04-18
|
* Avoid error while processing messagequeueChristian Mollekopf2015-04-18
| | | | Only process while we have messages available.
* Log messagesChristian Mollekopf2015-04-18
|
* Moved generic part of load to GenericFacadeChristian Mollekopf2015-04-18
|
* Renamed the Error log macro to ErrorMsg because of nameclashesChristian Mollekopf2015-04-18
| | | | With Storage::Error. Perhaps turn to akLog, akError, ...?
* Cleanup in DummyResourceFacade::loadChristian Mollekopf2015-04-16
| | | | We avoid capturing resultProvider or queryRunner so they don't live forever.
* Moved clientapitest to testsChristian Mollekopf2015-04-15
|
* Log storage errors during query.Christian Mollekopf2015-04-15
|
* Colorized debug output a bitChristian Mollekopf2015-04-15
|
* Use a queryrunner to execute queries.Christian Mollekopf2015-04-15
| | | | | | | | | | | | | | The queryrunner is responsible for running queries and keeping them up to date. This is required for self-updating queries. To get this to work properly the ResultProvider/emitter had to be fixed. The emitter now only lives as long as the client holds a reference to it, allowing the provider to detect when it is no longer necessary to keep the query alive (because noone is listening). In the process various lifetime issues have been fixed, that we're caused by lambdas capturing smartpointers, that then extended the lifetime of the associated objects unpredictably.
* Always queue commands in resourceaccess.Christian Mollekopf2015-04-12
| | | | | We want to keep the command until we know it arrived in the resource, so we can resend it otherwise.
* Further simplify writing of buffer adaptors.Christian Mollekopf2015-04-12
| | | | Still not quite there but we're avoiding the bulk of duplication by now.
* Compile with flatbuffers 1.1Christian Mollekopf2015-04-12
|
* Compile with QT_NO_DEBUGChristian Mollekopf2015-04-12
|
* Merge remote-tracking branch 'origin/develop' into developChristian Mollekopf2015-04-12
|\
| * Async: add runtime executor tracing for easier debuggingDan Vrátil2015-04-11
| |
| * Async: use baseclass instead of this-> to refer to parent class memberDan Vrátil2015-04-10
| |
| * Fix build (flatbuffers API changed)Dan Vrátil2015-04-10
| |
| * Async: fix build for real this timeDan Vrátil2015-04-10
| |
| * Async: fix buildDan Vrátil2015-04-10
| |
| * Async: const'ifyDan Vrátil2015-04-06
| |
| * Async: improve error handling and error propagationDan Vrátil2015-04-06
| | | | | | | | | | | | The error is now propagated to the top-most (user-owned) Future. When an error occurs, no further tasks are executed. The first error handler function in the chain is also called, if there's any.
| * Async: remove the silly all-tests benchmarkDan Vrátil2015-04-04
| |
| * Async: update components and lifetime documentationDan Vrátil2015-04-04
| |
| * Async: implement progress reporting through futureDan Vrátil2015-04-04
| | | | | | | | | | | | | | | | | | | | This is a simplified progress reporting, since it does not report progress of ther overcall Job chain, but only of individual tasks, which makes it only really useful on one-task Jobs. TODO: propagate subjob progress to the Future user gets copy of TODO: compound progress reporting (be able to report a progress of the overall Job chain)
| * Async: move as much Future code as possible from public header to .cppDan Vrátil2015-04-04
| |
| * Async: one TODO done, few more to goDan Vrátil2015-04-04
| |
| * Async: fix crash in Job::nestedJobWrapperDan Vrátil2015-04-04
| |
* | More generic domainadpator code.Christian Mollekopf2015-04-12
| | | | | | | | | | This should cover read and write for entites that have a 1:1 mapping to the resource buffers.
* | checkpointChristian Mollekopf2015-04-10
| |
* | Compile with debug symbols by default for nowChristian Mollekopf2015-04-09
| |
* | commentsChristian Mollekopf2015-04-09
| |
* | Automatic tests.Christian Mollekopf2015-04-09
| |
* | Only measure appending, not creating the buffer.Christian Mollekopf2015-04-09
| |
* | Moved generic parts of the domain adaptor to commonChristian Mollekopf2015-04-09
| |
* | Renamed Akonadi::Domain to Akonadi::ApplicationDomainChristian Mollekopf2015-04-09
| | | | | | | | Because it's really the application domain and not the akonadi domain.
* | Refactored buffer extraction from vector.Christian Mollekopf2015-04-09
| |
* | Started a facade base implementation.Christian Mollekopf2015-04-09
| |
* | Use QByteArray instead of QStringChristian Mollekopf2015-04-09
| | | | | | | | | | All identifiers should be latin1 and we make this explicit by using QByteArray. QString is reserved for strings that can be UTF-8 or alike.