summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAge
* Use the QByteArray implementation as main implementationChristian Mollekopf2015-08-18
|
* Batch dequeue in messagequeue.Christian Mollekopf2015-08-18
| | | | | The messagequeue removes all dequeued values once all values have been processed in a single transaction.
* Make transactions testable as booleanChristian Mollekopf2015-08-18
|
* Almost working batch dequeuesChristian Mollekopf2015-08-14
|
* Autocommit for the transactionChristian Mollekopf2015-08-13
|
* A way to set the debuglevel.Christian Mollekopf2015-08-13
| | | | | | Unittests can set the level themselves (so i.e. benchmarks don't print a shitload of messages), while in normal operation we can set it from the environment. There's no override currently, but first things first.
* Untangled the include dependencies a bit.Christian Mollekopf2015-08-13
| | | | We no longer depend on clientapi.h from everywhere.
* Use nested transactions in the messagequeueChristian Mollekopf2015-08-12
|
* Support for nested transactionsChristian Mollekopf2015-08-12
|
* Moved sendCommand implementations to ResourceAccessChristian Mollekopf2015-08-12
| | | | So we have commands in one place, and not in a header file.
* waitForDrained to avoid duplicationChristian Mollekopf2015-08-11
|
* Error on remove without transactionChristian Mollekopf2015-08-11
|
* Messagequeue fixupChristian Mollekopf2015-08-11
|
* Removed legacy APIChristian Mollekopf2015-08-11
|
* Default errorhandler like everywhere elseChristian Mollekopf2015-08-11
|
* Ported pipeline to new APIChristian Mollekopf2015-08-11
|
* Fixed messagequeueChristian Mollekopf2015-08-11
|
* Do a safe copy by passing in the sizeChristian Mollekopf2015-08-10
|
* Ported messagequeue to new APIChristian Mollekopf2015-08-10
|
* Use new api in index.Christian Mollekopf2015-08-10
|
* Ported entitystorage to new store APIChristian Mollekopf2015-08-10
|
* const scan and public default ctorChristian Mollekopf2015-08-10
|
* Transaction class for storageChristian Mollekopf2015-08-09
| | | | | | The beginning of a cleaner and less bare-bones API for the storage. The lifetime of transactions is now handled in (movable) transaction objects.
* Return jobs from clientapiChristian Mollekopf2015-08-07
|
* Debugmessage for received commands in resourceChristian Mollekopf2015-07-31
|
* Fixed possible race conditions.Christian Mollekopf2015-07-31
| | | | | | | | | | | * Ensure we always create the thread-local event loop before any objects in the thread are created, and guarantee the done handler is immediately registered before the query can execute. * Call the callback on emitter destruction in the worker thread, where the eventloop lives, instead of the main thread. With this I can no longer reproduce any deadlocks or memory corruptions that I used to get occasionally before.
* Tested command loop with Ping command.Christian Mollekopf2015-07-30
| | | | | | Ping is a command that by definition doesn't affect the resource, and thus can be used at all times to check if the resource is still alive.
* Moved lockfile into synchronizerChristian Mollekopf2015-07-30
| | | | For better testability of listener.
* Made the pipeline an implementation detail of the resource.Christian Mollekopf2015-07-30
| | | | | This removes one dependency from the Listener and will allow us to test the Listener better.
* Forward revision updates through resourceChristian Mollekopf2015-07-28
|
* Moved listener to commonChristian Mollekopf2015-07-28
| | | | So we can use it in tests as well.
* Allow to inject a fake ResourceInstanceChristian Mollekopf2015-07-28
|
* Abstracted the storage so the facade can be tested.Christian Mollekopf2015-07-27
|
* Moved storage access, adaptor conversion and index access to centralChristian Mollekopf2015-07-27
| | | | place
* Only query for new revisions.Christian Mollekopf2015-07-27
| | | | | Instead of clearing the result everytime we only query for the stuff that has changed.
* Removed hardcoded instance identifierChristian Mollekopf2015-07-27
|
* Fixed misleading function nameChristian Mollekopf2015-07-27
|
* Mode FacadeFactory to separate file, mutex protected it, and loadedChristian Mollekopf2015-07-27
| | | | | | | | resource The factory is potentially used from several queries simultaneously, so it's now mutex protected. Additionally we try to load the plugins directly in the factory.
* An easy way to switch between threaded and non-threaded query executionChristian Mollekopf2015-07-23
|
* More trace messagesChristian Mollekopf2015-07-23
|
* Warning on command failure, null debugstream to ignore messagesChristian Mollekopf2015-07-23
|
* DebuginfoChristian Mollekopf2015-07-23
|
* Copy the identifier as well.Christian Mollekopf2015-07-23
| | | | Otherwise the value could silently start to point to invalid memory.
* Copy constructor for domain-typeChristian Mollekopf2015-07-23
| | | | QByteArrays cannot be copied bytewise
* Call callbacks for already completed commands before abortingChristian Mollekopf2015-07-23
|
* Deal with non-existing indexChristian Mollekopf2015-07-23
|
* Avoid warning about running jobs.Christian Mollekopf2015-07-23
| | | | | | "Left jobs running while shutting down ResourceAccess", happens because the shutdown command destroys the instance before the method can clean up.
* Give up after trying to connect for a whileChristian Mollekopf2015-07-23
|
* Pass command around as QByteArrayChristian Mollekopf2015-07-23
| | | | | | | Simpler api, GenericResource didn't honor size anyways, and we copy the command for now to avoid sideeffects of data coming in in the meantime (although that should generally work since data is always appended).
* The callback is supposed to be always thereChristian Mollekopf2015-07-19
|