summaryrefslogtreecommitdiffstats
path: root/common/resourceaccess.cpp
Commit message (Collapse)AuthorAge
* Read all remaining data before closing down the socket.Christian Mollekopf2018-05-20
| | | | We run into this on windows with the resourceconfigtest.
* Debug message for how we start the resource process.Christian Mollekopf2018-05-18
|
* Better debug messages if the command is too smallChristian Mollekopf2018-05-16
|
* Fixed more warnings and then disabled themChristian Mollekopf2018-03-25
| | | | ..because there is a boatload more to fix.
* ConnectionRefused happens to be 0Christian Mollekopf2018-03-21
| | | | Which is interpreted as no error.
* The fallback on PATH was not implicit.Christian Mollekopf2018-03-20
|
* Improved debug outputChristian Mollekopf2018-03-18
|
* Improved debug outputChristian Mollekopf2018-03-18
|
* Improved debugging outputChristian Mollekopf2018-03-18
|
* Use connectToServer instead of setServerName + openChristian Mollekopf2018-03-18
|
* QStandardPaths has a function to find executables.Christian Mollekopf2018-03-17
|
* Try starting the synchronizer with an absolute path, and fallback toChristian Mollekopf2018-03-17
| | | | | | PATH Otherwise we don't find the binary in a MacOS bundle.
* Removed ResourceAccess::Private leak and resolved resulting memoryChristian Mollekopf2017-11-16
| | | | | | | | | corruption. It looks like the memory corruption (malloc started to crash) was coming QLocalSocket related signals. According to the docs it's not safe (whatever that means), to delete a QObject with pending signals, so we use deleteLater to schedule it's deletion. This resolved the crashes.
* Remove complete commands from the completeCommands hash againChristian Mollekopf2017-11-12
|
* Revert "Fixed memoryleak"Christian Mollekopf2017-11-10
| | | | | | Fixing this introduces some crashes. I'll have to revisit this. This reverts commit 679f2d5d7d46b2f098e939883520b707f01b2a36.
* Fixed use after freeChristian Mollekopf2017-11-09
|
* Fixed memoryleakChristian Mollekopf2017-11-09
|
* Ensure we get an appropriate exit code when a resource crashes.Christian Mollekopf2017-10-31
|
* Only processPendingCommandQueue once and send secret command after that.Christian Mollekopf2017-09-18
| | | | We run into a crash otherwise when creating the first account..
* Avoid storing the password in the configurationChristian Mollekopf2017-09-18
| | | | | | | The password (or any other secret), is now cached in the client process (in-memory only), and delivered to the resource via command. The resource avoids doing any operations against the source until the secret is available.
* Default to NoStatus for resources until we know more.Christian Mollekopf2017-08-25
| | | | | | This allows the aggregation to ignore resources where we don't have any status information yet, so the account doesn't always end up being offline.
* Build with flatbuffers 1.7Christian Mollekopf2017-06-23
| | | | | | There's a new template version that expects methods that QByteArray doesn't have but breaks the implicit conversion to const char *, std::string is safer anyways (doesn't require a null terminated string).
* Added progress notificationChristian Mollekopf2017-05-04
|
* Don't filter notifications too early.Christian Mollekopf2017-03-26
| | | | | | With this it becomes difficult to test notifications, and notifications may contain more interesting information, so we don't want to drop them too early.
* Implemented notification support in the model.Christian Mollekopf2017-03-24
| | | | | | | | This will allow us to fold things like progress and sync status directly into the model. Usecases are mail download progress and folder sync progress. Ideally we would also solve the resource/account state through this.
* Better debugoutputChristian Mollekopf2017-03-21
|
* Added notification code for mailtransportChristian Mollekopf2017-03-17
|
* Debug outputChristian Mollekopf2017-03-14
|
* Longer timeout so we have time to attach a debuggerChristian Mollekopf2017-01-18
|
* Fixed build issues with pedantic enabledChristian Mollekopf2017-01-12
|
* Kill all commands on failing to connect to a resource.Christian Mollekopf2016-12-12
| | | | | | We have to kill pending commands as well, and we have to make sure that we call open only once the commands are actually enqueued, so we can kill them in case of failure.
* Adapt to kasync changesChristian Mollekopf2016-12-12
|
* interresource moveChristian Mollekopf2016-12-02
|
* Added the flush command.Christian Mollekopf2016-11-25
| | | | | | | Instead of trying to actually flush queues, we send a special command through the same queues as the other commands and can thus guarantee that the respective commands have been processed without blocking anything.
* Abort operations if we failed to connect to the resource.Christian Mollekopf2016-11-24
|
* Implement debug stream operators for query.Christian Mollekopf2016-11-07
|
* 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
|