summaryrefslogtreecommitdiffstats
path: root/synchronizer
Commit message (Collapse)AuthorAge
* Adapt to KAsync changesChristian Mollekopf2017-03-01
|
* Make sure we print the message.Christian Mollekopf2017-02-23
| | | | std::cout doesn't seem to work reliably at this point...
* Print more info why acquiring the lock fails.Christian Mollekopf2017-02-23
|
* Feed qt debug messages into the same stream as the rest.Christian Mollekopf2017-01-23
|
* Directly linking against dl doesn't work on freebsd.Christian Mollekopf2017-01-23
| | | | Patch by Tobias Berner.
* gdb mode that can be used to attach a debuggerChristian Mollekopf2017-01-18
|
* Make sure the path is existing, otherwise the lockfile will not beChristian Mollekopf2017-01-10
| | | | created.
* Create the lockfiles in the data directory.Christian Mollekopf2017-01-09
| | | | The ended up in the home directory.
* We don't require qt widgets.Christian Mollekopf2016-12-13
|
* Debug outputChristian Mollekopf2016-12-06
|
* Sleep on crash so we have time to attach a debugger.Christian Mollekopf2016-09-15
|
* CleanupChristian Mollekopf2016-09-15
|
* 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.
* Prepared sinksh traceChristian Mollekopf2016-07-07
|
* Catch errorsChristian Mollekopf2016-06-21
|
* Disable the quitlockChristian Mollekopf2016-06-05
| | | | | Without this the synchronizer process regularly closes prematurely, not sure why.
* Print a demangled stacktraceChristian Mollekopf2016-06-03
|
* Log the resource start.Christian Mollekopf2016-05-30
|
* Propagate test-mode to resources.Christian Mollekopf2016-05-23
| | | | This way we can run tests in completely separate data-directories.
* A better crashhandler that notifies the client of the crash.Christian Mollekopf2016-05-22
|
* 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}
* Use Sink instead of SinkCommonChristian Mollekopf2016-02-09
|
* Introduced debug areas and prettified output.Christian Mollekopf2016-02-04
|
* Renamed Akonadi2 to SinkChristian Mollekopf2016-01-20
| | | | (except for documentation).
* Stacktrace printing on crashChristian Mollekopf2015-09-10
|
* Set stale lock time.Christian Mollekopf2015-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 synchronizerChristian Mollekopf2015-07-30
| | | | For better testability of listener.
* Moved listener to commonChristian Mollekopf2015-07-28
| | | | So we can use it in tests as well.
* Don't set the current revision upon start.Christian Mollekopf2015-07-27
| | | | The client can simply read it from the database.
* Immediately close the socket after a shutdown notification.Christian Mollekopf2015-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 buildChristian Mollekopf2015-07-23
|
* Avoid slots being called after the clients have been cleaned up already.Christian Mollekopf2015-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 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).
* Removed one extra codepathChristian Mollekopf2015-07-23
| | | | That was an optimization anyways
* Immediately start reading if there is data availableChristian Mollekopf2015-07-20
|
* Use the resource instance nameChristian Mollekopf2015-07-07
|
* The resource doesn't require a gui.Christian Mollekopf2015-07-07
| | | | And otherwise we can't run tests.
* Differentiate between resource name and instance identifierChristian Mollekopf2015-06-08
|
* KAsync has moved to it's own kasync.git repositoryDan Vrátil2015-05-18
|
* Adapt to KAsync namespace changeDan Vrátil2015-05-15
|
* Don't load facades for no reason.Christian Mollekopf2015-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 Mollekopf2015-04-28
| | | | I tried using flock on a socket, but without success.
* Moved Console to client.Christian Mollekopf2015-04-21
| | | | It's part of the demo application.
* Log messagesChristian Mollekopf2015-04-18
|
* Renamed the Error log macro to ErrorMsg because of nameclashesChristian Mollekopf2015-04-18
| | | | With Storage::Error. Perhaps turn to akLog, akError, ...?
* Renamed Akonadi::Domain to Akonadi::ApplicationDomainChristian Mollekopf2015-04-09
| | | | Because it's really the application domain and not the akonadi domain.
* Use QByteArray instead of QStringChristian Mollekopf2015-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 simplificationsChristian Mollekopf2015-04-08
|
* debug messagesChristian Mollekopf2015-04-03
|