Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | A better crashhandler that notifies the client of the crash. | Christian Mollekopf | 2016-05-22 | |
| | ||||
* | Support assigining the uid in the client | Christian Mollekopf | 2016-05-06 | |
| | ||||
* | Don't encode the resource type into the identifier | Christian Mollekopf | 2016-04-17 | |
| | ||||
* | Fromatted the whole codebase with clang-format. | Christian Mollekopf | 2016-03-03 | |
| | | | | clang-format -i */**{.cpp,.h} | |||
* | Fixed condition with reusing sockets in resourceaccess | Christian Mollekopf | 2016-02-13 | |
| | ||||
* | moved ResourceAccessFactory | Christian Mollekopf | 2016-02-12 | |
| | ||||
* | Process a command in less than 0.1s | Christian Mollekopf | 2016-02-08 | |
| | ||||
* | Emit a notification for revision changes. | Christian Mollekopf | 2016-02-08 | |
| | | | | The notification should replace the revision update command completely. | |||
* | Trace some timings. | Christian Mollekopf | 2016-02-08 | |
| | ||||
* | Introduced debug areas and prettified output. | Christian Mollekopf | 2016-02-04 | |
| | ||||
* | Build without warnings | Christian Mollekopf | 2016-01-31 | |
| | ||||
* | Enabled and fixed a bunch of warnings | Christian Mollekopf | 2016-01-31 | |
| | ||||
* | Renamed Akonadi2 to Sink | Christian Mollekopf | 2016-01-20 | |
| | | | | (except for documentation). | |||
* | ResourceNotification -> Notification | Christian Mollekopf | 2016-01-19 | |
| | ||||
* | Moved all commands in to the Commands namespace | Christian Mollekopf | 2016-01-19 | |
| | ||||
* | Added bufferutils.h | Christian Mollekopf | 2016-01-19 | |
| | ||||
* | we have to copy the memory here | Christian Mollekopf | 2016-01-19 | |
| | ||||
* | Only ever invoke the method once | Christian Mollekopf | 2016-01-19 | |
| | ||||
* | Properly deal with delayed invocation in case the object is already gone | Christian Mollekopf | 2016-01-19 | |
| | ||||
* | Reuse the queuedInvoke method for less boilerplate | Christian Mollekopf | 2016-01-18 | |
| | ||||
* | Working resource inspection | Christian Mollekopf | 2016-01-18 | |
| | ||||
* | Draft of inspection API | Christian Mollekopf | 2016-01-18 | |
| | ||||
* | Improved resource access caching | Christian Mollekopf | 2015-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 sync | Christian Mollekopf | 2015-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 output | Christian Mollekopf | 2015-11-30 | |
| | ||||
* | Less noise | Christian Mollekopf | 2015-11-25 | |
| | ||||
* | Cleanup | Christian Mollekopf | 2015-11-15 | |
| | ||||
* | Avoid trying to open ResourceAccess twice | Christian Mollekopf | 2015-10-20 | |
| | ||||
* | More descriptive debug messages | Christian Mollekopf | 2015-10-20 | |
| | ||||
* | Let clients tell the resource when they no longer require a revision. | Christian Mollekopf | 2015-10-19 | |
| | ||||
* | 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. | |||
* | Moved sendCommand implementations to ResourceAccess | Christian Mollekopf | 2015-08-12 | |
| | | | | So we have commands in one place, and not in a header file. | |||
* | Allow to inject a fake ResourceInstance | Christian Mollekopf | 2015-07-28 | |
| | ||||
* | Call callbacks for already completed commands before aborting | 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 | |
| | ||||
* | The callback is supposed to be always there | Christian Mollekopf | 2015-07-19 | |
| | ||||
* | Fixed all warnings | Christian Mollekopf | 2015-07-07 | |
| | ||||
* | Differentiate between resource name and instance identifier | Christian Mollekopf | 2015-06-08 | |
| | ||||
* | Adapt to KAsync namespace change | Dan Vrátil | 2015-05-15 | |
| | ||||
* | Logging | Christian Mollekopf | 2015-05-01 | |
| | ||||
* | Cleanup | Christian Mollekopf | 2015-04-29 | |
| | ||||
* | Avoid starting the resource for shutdown. | Christian Mollekopf | 2015-04-29 | |
| | ||||
* | ResourceAccess: rewrite connection code using jobs | Christian Mollekopf | 2015-04-28 | |
| | | | | | Another nice showcase implementation how things get easier, testable and composable using async. | |||
* | Avoid error message when initially starting resource. | Christian Mollekopf | 2015-04-19 | |
| | ||||
* | Log messages | Christian Mollekopf | 2015-04-18 | |
| | ||||
* | Always queue commands in resourceaccess. | Christian Mollekopf | 2015-04-12 | |
| | | | | | We want to keep the command until we know it arrived in the resource, so we can resend it otherwise. | |||
* | Use QByteArray instead of QString | Christian Mollekopf | 2015-04-09 | |
| | | | | | All identifiers should be latin1 and we make this explicit by using QByteArray. QString is reserved for strings that can be UTF-8 or alike. | |||
* | ResourceAccess: copy the buffer before capturing it in the lambda. | Christian Mollekopf | 2015-04-02 | |
| | | | | | | | | | | | It's lifetime is limited to the end of the function, so we have to copy it before. I switched to QByteArray because it simplifies the code and shouldn't really cost anything, additionally the implicit sharing makes copies cheap. This patch incurs the cost of always copying the buffer instead of writing straight to the socket, but we probably anyways want to keep a copy around, and if it would indeed be a performance issues (I doubt it), we could still optimize that copy away. | |||
* | Don't try to restart the resource on every disconnect. | Christian Mollekopf | 2015-03-31 | |
| | | | | | There's a chance that the resource actually wanted to shut-down. Instead ResourceAccess should only reopen the connection if it still has work to do. |