summaryrefslogtreecommitdiffstats
path: root/common/resourceaccess.cpp
Commit message (Collapse)AuthorAge
* Don't hardcode the type property.Christian Mollekopf2016-09-27
|
* Ported to the kasync revampChristian Mollekopf2016-09-15
|
* Update the status if the resource crashedChristian Mollekopf2016-07-11
|
* A new debug system.Christian Mollekopf2016-07-07
| | | | | | | | | | | | | | | Instead of a single #define as debug area the new system allows for an identifier for each debug message with the structure component.area. The component is a dot separated identifier of the runtime component, such as the process or the plugin. The area is the code component, and can be as such defined at compiletime. The idea of this system is that it becomes possible to i.e. look at the output of all messages in the query subsystem of a specific resource (something that happens in the client process, but in the resource-specific subcomponent). The new macros are supposed to be less likely to clash with other names, hence the new names.
* Fixed a bunch of memory leaks.Christian Mollekopf2016-07-06
| | | | Found with valgrind
* Trace notificationsChristian Mollekopf2016-07-06
|
* Skip superfluous notificationsChristian Mollekopf2016-07-06
|
* Prepare for making the resource status availableChristian Mollekopf2016-07-05
|
* Made the log-level output a lot less noisyChristian Mollekopf2016-06-20
|
* Track modified properties to detect necessary replay changesChristian Mollekopf2016-06-03
|
* Pass in the inspection typeChristian Mollekopf2016-05-24
|
* Propagate test-mode to resources.Christian Mollekopf2016-05-23
| | | | This way we can run tests in completely separate data-directories.
* Propagate the synchronization error.Christian Mollekopf2016-05-22
|
* A better crashhandler that notifies the client of the crash.Christian Mollekopf2016-05-22
|
* Support assigining the uid in the clientChristian Mollekopf2016-05-06
|
* Don't encode the resource type into the identifierChristian Mollekopf2016-04-17
|
* Fromatted the whole codebase with clang-format.Christian Mollekopf2016-03-03
| | | | clang-format -i */**{.cpp,.h}
* Fixed condition with reusing sockets in resourceaccessChristian Mollekopf2016-02-13
|
* moved ResourceAccessFactoryChristian Mollekopf2016-02-12
|
* Process a command in less than 0.1sChristian Mollekopf2016-02-08
|
* Emit a notification for revision changes.Christian Mollekopf2016-02-08
| | | | The notification should replace the revision update command completely.
* Trace some timings.Christian Mollekopf2016-02-08
|
* Introduced debug areas and prettified output.Christian Mollekopf2016-02-04
|
* Build without warningsChristian Mollekopf2016-01-31
|
* Enabled and fixed a bunch of warningsChristian Mollekopf2016-01-31
|
* Renamed Akonadi2 to SinkChristian Mollekopf2016-01-20
| | | | (except for documentation).
* ResourceNotification -> NotificationChristian Mollekopf2016-01-19
|
* Moved all commands in to the Commands namespaceChristian Mollekopf2016-01-19
|
* Added bufferutils.hChristian Mollekopf2016-01-19
|
* we have to copy the memory hereChristian Mollekopf2016-01-19
|
* Only ever invoke the method onceChristian Mollekopf2016-01-19
|
* Properly deal with delayed invocation in case the object is already goneChristian Mollekopf2016-01-19
|
* Reuse the queuedInvoke method for less boilerplateChristian Mollekopf2016-01-18
|
* Working resource inspectionChristian Mollekopf2016-01-18
|
* Draft of inspection APIChristian Mollekopf2016-01-18
|
* Improved resource access cachingChristian Mollekopf2015-12-03
| | | | | | | | * Smarter caching. ResourceAccess instances close after a timeout, if not reused. * Introduced a start command to avoid race condition when sending commands to a resource that is currently shutting down. * We resend pending commands after we lost access to the resource * unexpectedly.
* Resolve remoteIds during syncChristian Mollekopf2015-12-01
| | | | | | | Remote id's need to be resolved while syncing any references. This is done by the synchronizer by consulting the rid to entity id mapping. If the referenced entity doesn't exist yet we create a local id anyways, that we then need to pick up once the actual entity arrives.
* Debug outputChristian Mollekopf2015-11-30
|
* Less noiseChristian Mollekopf2015-11-25
|
* CleanupChristian Mollekopf2015-11-15
|
* Avoid trying to open ResourceAccess twiceChristian Mollekopf2015-10-20
|
* More descriptive debug messagesChristian Mollekopf2015-10-20
|
* Let clients tell the resource when they no longer require a revision.Christian Mollekopf2015-10-19
|
* 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.
* Moved sendCommand implementations to ResourceAccessChristian Mollekopf2015-08-12
| | | | So we have commands in one place, and not in a header file.
* Allow to inject a fake ResourceInstanceChristian Mollekopf2015-07-28
|
* Call callbacks for already completed commands before abortingChristian 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
|
* The callback is supposed to be always thereChristian Mollekopf2015-07-19
|