Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Don't store the lockfile inside the main resource folder. | Christian Mollekopf | 2017-03-26 |
| | | | | | | | | | We currently use the folder as the main db folder, meaning we remove the folder when removing the db. This results in the lockfile vanishing with the db, which then confuses QLockFile (resulting in a lot of warnings). We may want to start moving everything into a resource-instance folder, but then we have to do it properly across the board. | ||
* | Adapt to KAsync changes | Christian Mollekopf | 2017-03-01 |
| | |||
* | Make sure we print the message. | Christian Mollekopf | 2017-02-23 |
| | | | | std::cout doesn't seem to work reliably at this point... | ||
* | Print more info why acquiring the lock fails. | Christian Mollekopf | 2017-02-23 |
| | |||
* | Feed qt debug messages into the same stream as the rest. | Christian Mollekopf | 2017-01-23 |
| | |||
* | Directly linking against dl doesn't work on freebsd. | Christian Mollekopf | 2017-01-23 |
| | | | | Patch by Tobias Berner. | ||
* | gdb mode that can be used to attach a debugger | Christian Mollekopf | 2017-01-18 |
| | |||
* | Make sure the path is existing, otherwise the lockfile will not be | Christian Mollekopf | 2017-01-10 |
| | | | | created. | ||
* | Create the lockfiles in the data directory. | Christian Mollekopf | 2017-01-09 |
| | | | | The ended up in the home directory. | ||
* | We don't require qt widgets. | Christian Mollekopf | 2016-12-13 |
| | |||
* | Debug output | Christian Mollekopf | 2016-12-06 |
| | |||
* | Sleep on crash so we have time to attach a debugger. | Christian Mollekopf | 2016-09-15 |
| | |||
* | Cleanup | Christian Mollekopf | 2016-09-15 |
| | |||
* | A new debug system. | Christian Mollekopf | 2016-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. | ||
* | Prepared sinksh trace | Christian Mollekopf | 2016-07-07 |
| | |||
* | Catch errors | Christian Mollekopf | 2016-06-21 |
| | |||
* | Disable the quitlock | Christian Mollekopf | 2016-06-05 |
| | | | | | Without this the synchronizer process regularly closes prematurely, not sure why. | ||
* | Print a demangled stacktrace | Christian Mollekopf | 2016-06-03 |
| | |||
* | Log the resource start. | Christian Mollekopf | 2016-05-30 |
| | |||
* | Propagate test-mode to resources. | Christian Mollekopf | 2016-05-23 |
| | | | | This way we can run tests in completely separate data-directories. | ||
* | A better crashhandler that notifies the client of the crash. | Christian Mollekopf | 2016-05-22 |
| | |||
* | 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} | ||
* | Use Sink instead of SinkCommon | Christian Mollekopf | 2016-02-09 |
| | |||
* | Introduced debug areas and prettified output. | Christian Mollekopf | 2016-02-04 |
| | |||
* | Renamed Akonadi2 to Sink | Christian Mollekopf | 2016-01-20 |
| | | | | (except for documentation). | ||
* | Stacktrace printing on crash | Christian Mollekopf | 2015-09-10 |
| | |||
* | Set stale lock time. | Christian Mollekopf | 2015-08-10 |
| | | | | | | We're trying to protect against race conditions, a lock time off 500ms should suffice and means we can recover automatically after a crash. | ||
* | Moved lockfile into synchronizer | Christian Mollekopf | 2015-07-30 |
| | | | | For better testability of listener. | ||
* | Moved listener to common | Christian Mollekopf | 2015-07-28 |
| | | | | So we can use it in tests as well. | ||
* | Don't set the current revision upon start. | Christian Mollekopf | 2015-07-27 |
| | | | | The client can simply read it from the database. | ||
* | 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. | ||
* | Fixed build | 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. | ||
* | 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 |
| | |||
* | Use the resource instance name | Christian Mollekopf | 2015-07-07 |
| | |||
* | The resource doesn't require a gui. | Christian Mollekopf | 2015-07-07 |
| | | | | And otherwise we can't run tests. | ||
* | Differentiate between resource name and instance identifier | Christian Mollekopf | 2015-06-08 |
| | |||
* | KAsync has moved to it's own kasync.git repository | Dan Vrátil | 2015-05-18 |
| | |||
* | Adapt to KAsync namespace change | Dan Vrátil | 2015-05-15 |
| | |||
* | Don't load facades for no reason. | Christian Mollekopf | 2015-04-30 |
| | | | | (It currently starts a ResourceAccess instance on the resource side) | ||
* | Listener: Use a lockfile to enforce that only a single instance is running. | Christian Mollekopf | 2015-04-28 |
| | | | | I tried using flock on a socket, but without success. | ||
* | Moved Console to client. | Christian Mollekopf | 2015-04-21 |
| | | | | It's part of the demo application. | ||
* | Log messages | Christian Mollekopf | 2015-04-18 |
| | |||
* | Renamed the Error log macro to ErrorMsg because of nameclashes | Christian Mollekopf | 2015-04-18 |
| | | | | With Storage::Error. Perhaps turn to akLog, akError, ...? | ||
* | Renamed Akonadi::Domain to Akonadi::ApplicationDomain | Christian Mollekopf | 2015-04-09 |
| | | | | Because it's really the application domain and not the akonadi domain. | ||
* | 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. | ||
* | async simplifications | Christian Mollekopf | 2015-04-08 |
| |