Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use the QByteArray implementation as main implementation | Christian Mollekopf | 2015-08-18 |
| | |||
* | Batch dequeue in messagequeue. | Christian Mollekopf | 2015-08-18 |
| | | | | | The messagequeue removes all dequeued values once all values have been processed in a single transaction. | ||
* | Make transactions testable as boolean | Christian Mollekopf | 2015-08-18 |
| | |||
* | Almost working batch dequeues | Christian Mollekopf | 2015-08-14 |
| | |||
* | Autocommit for the transaction | Christian Mollekopf | 2015-08-13 |
| | |||
* | A way to set the debuglevel. | Christian Mollekopf | 2015-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 Mollekopf | 2015-08-13 |
| | | | | We no longer depend on clientapi.h from everywhere. | ||
* | Use nested transactions in the messagequeue | Christian Mollekopf | 2015-08-12 |
| | |||
* | Support for nested transactions | Christian Mollekopf | 2015-08-12 |
| | |||
* | Moved sendCommand implementations to ResourceAccess | Christian Mollekopf | 2015-08-12 |
| | | | | So we have commands in one place, and not in a header file. | ||
* | waitForDrained to avoid duplication | Christian Mollekopf | 2015-08-11 |
| | |||
* | Error on remove without transaction | Christian Mollekopf | 2015-08-11 |
| | |||
* | Messagequeue fixup | Christian Mollekopf | 2015-08-11 |
| | |||
* | Removed legacy API | Christian Mollekopf | 2015-08-11 |
| | |||
* | Default errorhandler like everywhere else | Christian Mollekopf | 2015-08-11 |
| | |||
* | Ported pipeline to new API | Christian Mollekopf | 2015-08-11 |
| | |||
* | Fixed messagequeue | Christian Mollekopf | 2015-08-11 |
| | |||
* | Do a safe copy by passing in the size | Christian Mollekopf | 2015-08-10 |
| | |||
* | Ported messagequeue to new API | Christian Mollekopf | 2015-08-10 |
| | |||
* | Use new api in index. | Christian Mollekopf | 2015-08-10 |
| | |||
* | Ported entitystorage to new store API | Christian Mollekopf | 2015-08-10 |
| | |||
* | const scan and public default ctor | Christian Mollekopf | 2015-08-10 |
| | |||
* | Transaction class for storage | Christian Mollekopf | 2015-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 clientapi | Christian Mollekopf | 2015-08-07 |
| | |||
* | Debugmessage for received commands in resource | Christian Mollekopf | 2015-07-31 |
| | |||
* | Fixed possible race conditions. | Christian Mollekopf | 2015-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 Mollekopf | 2015-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 synchronizer | Christian Mollekopf | 2015-07-30 |
| | | | | For better testability of listener. | ||
* | Made the pipeline an implementation detail of the resource. | Christian Mollekopf | 2015-07-30 |
| | | | | | This removes one dependency from the Listener and will allow us to test the Listener better. | ||
* | Forward revision updates through resource | Christian Mollekopf | 2015-07-28 |
| | |||
* | Moved listener to common | Christian Mollekopf | 2015-07-28 |
| | | | | So we can use it in tests as well. | ||
* | Allow to inject a fake ResourceInstance | Christian Mollekopf | 2015-07-28 |
| | |||
* | Abstracted the storage so the facade can be tested. | Christian Mollekopf | 2015-07-27 |
| | |||
* | Moved storage access, adaptor conversion and index access to central | Christian Mollekopf | 2015-07-27 |
| | | | | place | ||
* | Only query for new revisions. | Christian Mollekopf | 2015-07-27 |
| | | | | | Instead of clearing the result everytime we only query for the stuff that has changed. | ||
* | Removed hardcoded instance identifier | Christian Mollekopf | 2015-07-27 |
| | |||
* | Fixed misleading function name | Christian Mollekopf | 2015-07-27 |
| | |||
* | Mode FacadeFactory to separate file, mutex protected it, and loaded | Christian Mollekopf | 2015-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 execution | Christian Mollekopf | 2015-07-23 |
| | |||
* | More trace messages | Christian Mollekopf | 2015-07-23 |
| | |||
* | Warning on command failure, null debugstream to ignore messages | Christian Mollekopf | 2015-07-23 |
| | |||
* | Debuginfo | Christian Mollekopf | 2015-07-23 |
| | |||
* | Copy the identifier as well. | Christian Mollekopf | 2015-07-23 |
| | | | | Otherwise the value could silently start to point to invalid memory. | ||
* | Copy constructor for domain-type | Christian Mollekopf | 2015-07-23 |
| | | | | QByteArrays cannot be copied bytewise | ||
* | Call callbacks for already completed commands before aborting | Christian Mollekopf | 2015-07-23 |
| | |||
* | Deal with non-existing index | Christian Mollekopf | 2015-07-23 |
| | |||
* | Avoid warning about running jobs. | Christian Mollekopf | 2015-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 while | Christian Mollekopf | 2015-07-23 |
| | |||
* | Pass command around as QByteArray | Christian Mollekopf | 2015-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 there | Christian Mollekopf | 2015-07-19 |
| |