Commit Graph

69 Commits

Author SHA1 Message Date
Martchus 0d635e5ad5 Refactor launcher
* Pass program and arguments directly
    * Prevent failure on white space in executable path
    * Use own parser for arguments
* Make libsyncthing accessible from launcher
2018-04-18 23:27:45 +02:00
Martchus 0ceb8d5e79 Add high-level abstraction for launching Syncthing
Add new SyncthingLauncher class which lauches Syncthing
under the hood via external SyncthingProcess or using
libsyncthing.

Note: Launching via libsyncthing is still experimental.
2018-04-11 23:16:00 +02:00
Martchus 6d155d3d63 Make considering launcher for reconnects configurable
Similar to the systemd configuration
2018-04-03 00:11:55 +02:00
Martchus 0c104f60b8 Wait till all processes finished, ask for killing
See https://github.com/Martchus/syncthingtray/issues/15
2018-04-02 23:32:52 +02:00
Martchus d2eb4addd9 Distinguish between local an remote sync in settings 2018-03-31 22:31:28 +02:00
Martchus 4a28ea31a5 Quote application path in desktop file correctly 2018-02-22 03:24:32 +01:00
Martchus 81b8a42ae4 Provide fallback for qEnvironmentVariable() when using old Qt 2018-02-21 23:37:34 +01:00
Martchus 620426fc2e Improve coding style in settings dialog 2018-02-19 19:46:26 +01:00
Martchus fb654b7bfe Make autostart for AppImage work 2018-02-19 19:01:07 +01:00
Martchus 9ec834917f Fix condition to allow removing last connection config 2017-10-08 16:34:02 +02:00
Martchus 60a322cb4e Get rid of no longer necessary hasBeenShown() checks 2017-09-27 00:21:53 +02:00
Martchus 2ee7b9af64 plasmoid: Improve settings
* Configure appearance options via Plasmoid specific
  settings
* Allow to configure the size
* Remember last connection config
2017-09-18 20:29:36 +02:00
Martchus 69ffaeb1f3 Apply tidy after updating to clang-format 5.0.0
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:48:15 +02:00
Martchus ee5c38dd7d Make option pages configurable for different GUI types 2017-09-11 23:47:46 +02:00
Martchus b254905b5a Make categories of settings dialog customizable 2017-09-09 21:38:43 +02:00
Martchus 07a47f1b06 Allow hiding API settings in notifications option page 2017-09-08 17:01:52 +02:00
Martchus 408f77f844 Allow moving connection configurations up and down 2017-09-07 16:42:24 +02:00
Martchus 732a5fdd8d Apply clang-format 2017-05-01 03:34:43 +02:00
Martchus 49ff5a7b65 Move widgets from tray app to separate lib
So settings pages, web view and other widgets
can be used in other components such as the
Dolphin plugin and Plasmoid, too.
2017-04-23 18:31:18 +02:00