Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Avoid the socket probing and move the shutdown logic into | Christian Mollekopf | 2018-07-25 |
| | | | | | | | | | | | | | | | resourceaccess. The problem was (as excercised by the last test in resourcecontroltest), that in this scenario we would: * trigger a synchronization that starts the resource, and then goes into a loop trying to connecting (KAsync::wait -> singleshot timer) * trigger a shutdown that would probe for the socket, not find it, and thus do nothing. * exit the testfunction, which somehow stops qtimer processing, meaning we are stuck in KAsync::wait. For now this is fixed by simply not probing for the socket. | ||
* | Read all remaining data before closing down the socket. | Christian Mollekopf | 2018-05-20 |
| | | | | We run into this on windows with the resourceconfigtest. | ||
* | Debug message for how we start the resource process. | Christian Mollekopf | 2018-05-18 |
| | |||
* | Better debug messages if the command is too small | Christian Mollekopf | 2018-05-16 |
| | |||
* | Fixed more warnings and then disabled them | Christian Mollekopf | 2018-03-25 |
| | | | | ..because there is a boatload more to fix. | ||
* | ConnectionRefused happens to be 0 | Christian Mollekopf | 2018-03-21 |
| | | | | Which is interpreted as no error. | ||
* | The fallback on PATH was not implicit. | Christian Mollekopf | 2018-03-20 |
| | |||
* | Improved debug output | Christian Mollekopf | 2018-03-18 |
| | |||
* | Improved debug output | Christian Mollekopf | 2018-03-18 |
| | |||
* | Improved debugging output | Christian Mollekopf | 2018-03-18 |
| | |||
* | Use connectToServer instead of setServerName + open | Christian Mollekopf | 2018-03-18 |
| | |||
* | QStandardPaths has a function to find executables. | Christian Mollekopf | 2018-03-17 |
| | |||
* | Try starting the synchronizer with an absolute path, and fallback to | Christian Mollekopf | 2018-03-17 |
| | | | | | | PATH Otherwise we don't find the binary in a MacOS bundle. | ||
* | Removed ResourceAccess::Private leak and resolved resulting memory | Christian Mollekopf | 2017-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 again | Christian Mollekopf | 2017-11-12 |
| | |||
* | Revert "Fixed memoryleak" | Christian Mollekopf | 2017-11-10 |
| | | | | | | Fixing this introduces some crashes. I'll have to revisit this. This reverts commit 679f2d5d7d46b2f098e939883520b707f01b2a36. | ||
* | Fixed use after free | Christian Mollekopf | 2017-11-09 |
| | |||
* | Fixed memoryleak | Christian Mollekopf | 2017-11-09 |
| | |||
* | Ensure we get an appropriate exit code when a resource crashes. | Christian Mollekopf | 2017-10-31 |
| | |||
* | Only processPendingCommandQueue once and send secret command after that. | Christian Mollekopf | 2017-09-18 |
| | | | | We run into a crash otherwise when creating the first account.. | ||
* | Avoid storing the password in the configuration | Christian Mollekopf | 2017-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 Mollekopf | 2017-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.7 | Christian Mollekopf | 2017-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 notification | Christian Mollekopf | 2017-05-04 |
| | |||
* | Don't filter notifications too early. | Christian Mollekopf | 2017-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 Mollekopf | 2017-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 debugoutput | Christian Mollekopf | 2017-03-21 |
| | |||
* | Added notification code for mailtransport | Christian Mollekopf | 2017-03-17 |
| | |||
* | Debug output | Christian Mollekopf | 2017-03-14 |
| | |||
* | Longer timeout so we have time to attach a debugger | Christian Mollekopf | 2017-01-18 |
| | |||
* | Fixed build issues with pedantic enabled | Christian Mollekopf | 2017-01-12 |
| | |||
* | Kill all commands on failing to connect to a resource. | Christian Mollekopf | 2016-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 changes | Christian Mollekopf | 2016-12-12 |
| | |||
* | interresource move | Christian Mollekopf | 2016-12-02 |
| | |||
* | Added the flush command. | Christian Mollekopf | 2016-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 Mollekopf | 2016-11-24 |
| | |||
* | Implement debug stream operators for query. | Christian Mollekopf | 2016-11-07 |
| | |||
* | Don't hardcode the type property. | Christian Mollekopf | 2016-09-27 |
| | |||
* | Ported to the kasync revamp | Christian Mollekopf | 2016-09-15 |
| | |||
* | Update the status if the resource crashed | Christian Mollekopf | 2016-07-11 |
| | |||
* | 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. | ||
* | Fixed a bunch of memory leaks. | Christian Mollekopf | 2016-07-06 |
| | | | | Found with valgrind | ||
* | Trace notifications | Christian Mollekopf | 2016-07-06 |
| | |||
* | Skip superfluous notifications | Christian Mollekopf | 2016-07-06 |
| | |||
* | Prepare for making the resource status available | Christian Mollekopf | 2016-07-05 |
| | |||
* | Made the log-level output a lot less noisy | Christian Mollekopf | 2016-06-20 |
| | |||
* | Track modified properties to detect necessary replay changes | Christian Mollekopf | 2016-06-03 |
| | |||
* | Pass in the inspection type | Christian Mollekopf | 2016-05-24 |
| | |||
* | Propagate test-mode to resources. | Christian Mollekopf | 2016-05-23 |
| | | | | This way we can run tests in completely separate data-directories. | ||
* | Propagate the synchronization error. | Christian Mollekopf | 2016-05-22 |
| |