Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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. | ||
* | ResourceCommunicationTest | Christian Mollekopf | 2015-07-30 |
| | |||
* | Moved lockfile into synchronizer | Christian Mollekopf | 2015-07-30 |
| | | | | For better testability of listener. | ||
* | Made storagetest quicker. | Christian Mollekopf | 2015-07-30 |
| | |||
* | 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. | ||
* | Test life queries in the generic facade | Christian Mollekopf | 2015-07-28 |
| | |||
* | 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 | ||
* | Don't set the current revision upon start. | Christian Mollekopf | 2015-07-27 |
| | | | | The client can simply read it from the database. | ||
* | 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 |
| | |||
* | Create numbered events | Christian Mollekopf | 2015-07-27 |
| | |||
* | Fixed client | Christian Mollekopf | 2015-07-27 |
| | |||
* | Less hardcoded names | 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. | ||
* | Test generic stuff separately from the dummyresource | Christian Mollekopf | 2015-07-27 |
| | |||
* | 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 |
| | |||
* | Fixed the client, only optionally delete the db, and avoid constant | Christian Mollekopf | 2015-07-23 |
| | | | | | | model resets. We can now even start multiple clients. | ||
* | Separate test debug output a little | Christian Mollekopf | 2015-07-23 |
| | |||
* | Warning on command failure, null debugstream to ignore messages | Christian Mollekopf | 2015-07-23 |
| | |||
* | Immediately close the socket after a shutdown notification. | Christian Mollekopf | 2015-07-23 |
| | | | | | | | | Otherwise it can happen that the synchronizer receives the shutdown command from a ResourceAccess instance, and while the synchronizer waits for quit to be called, a new ResourceAccess instance already connects to the synchronizer. That new connection will then of course be unexpectedly killed once quit is called in the synchronizer. | ||
* | 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 | ||
* | Fixed build | Christian Mollekopf | 2015-07-23 |
| | |||
* | Call callbacks for already completed commands before aborting | Christian Mollekopf | 2015-07-23 |
| | |||
* | Deal with non-existing index | Christian Mollekopf | 2015-07-23 |
| | |||
* | Avoid slots being called after the clients have been cleaned up already. | Christian Mollekopf | 2015-07-23 |
| | | | | | It is possible that the clientDropped slot is called when we close the socket, so better disconnect everythign first. | ||
* | 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). | ||
* | Removed one extra codepath | Christian Mollekopf | 2015-07-23 |
| | | | | That was an optimization anyways | ||
* | Immediately start reading if there is data available | Christian Mollekopf | 2015-07-20 |
| | |||
* | The callback is supposed to be always there | Christian Mollekopf | 2015-07-19 |
| | |||
* | Skip commands we fail to process so we don't get stuck | Christian Mollekopf | 2015-07-19 |
| | |||
* | Modify/Delete actions | Christian Mollekopf | 2015-07-19 |
| | |||
* | Don't require a smartpointer where not necessary | Christian Mollekopf | 2015-07-15 |
| | |||
* | Modify/Delete commands | Christian Mollekopf | 2015-07-14 |
| | |||
* | Allow passing in the metadata | Christian Mollekopf | 2015-07-14 |
| | | | | Perhaps this should also happen in the form of properties? | ||
* | Removed unnecessary template parameter | Christian Mollekopf | 2015-07-14 |
| | |||
* | cleanup | Christian Mollekopf | 2015-07-09 |
| | |||
* | Read-only transaction during sync. | Christian Mollekopf | 2015-07-09 |
| | |||
* | Use remoteId index instead of scan | Christian Mollekopf | 2015-07-09 |
| |