summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAge
* 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
|
* Skip commands we fail to process so we don't get stuckChristian Mollekopf2015-07-19
|
* Modify/Delete actionsChristian Mollekopf2015-07-19
|
* Don't require a smartpointer where not necessaryChristian Mollekopf2015-07-15
|
* Modify/Delete commandsChristian Mollekopf2015-07-14
|
* Allow passing in the metadataChristian Mollekopf2015-07-14
| | | | Perhaps this should also happen in the form of properties?
* Removed unnecessary template parameterChristian Mollekopf2015-07-14
|
* Moved SimpleResourceProcessorChristian Mollekopf2015-07-09
| | | | Not really where it belongs, but at least more generic
* Filter queries by available resources, and filter resources byChristian Mollekopf2015-07-08
| | | | resource-types
* Extracted resource configChristian Mollekopf2015-07-08
|
* We can add resources.Christian Mollekopf2015-07-08
|
* Use the resource instance nameChristian Mollekopf2015-07-07
|
* Pass instanceIdentifier to facadeChristian Mollekopf2015-07-07
|
* Remove externallyManaged hack now that we use std::shared_ptrChristian Mollekopf2015-07-07
|
* Fixed all warningsChristian Mollekopf2015-07-07
|
* Generalized facade code.Christian Mollekopf2015-07-02
| | | | A default implementation is now nothing but an empty shell.
* An almost generic query implementation.Christian Mollekopf2015-06-17
| | | | With equality filter on arbitrary properties as a bonus.
* Differentiate between resource name and instance identifierChristian Mollekopf2015-06-08
|
* Use type-specific index implementations.Christian Mollekopf2015-06-07
|
* Use template type parameterChristian Mollekopf2015-06-01
|
* Generalized creating the buffer.Christian Mollekopf2015-06-01
|
* Use type implementation to define default buffer and buffer-builderChristian Mollekopf2015-05-31
|
* Fixed return value.Christian Mollekopf2015-05-31
|
* Moved default read/write property mapper to TypeImplementationChristian Mollekopf2015-05-31
| | | | | There is always exactly one default buffer that we can centralize in TypeImplementation.
* Moved remaining parts of applicationdomaintypeChristian Mollekopf2015-05-25
|