Commit Graph

10 Commits

Author SHA1 Message Date
Martchus 28a8391f2b Update libsyncthing to v1.5.0, support setting data directory 2020-05-05 19:01:05 +02:00
Martchus 133dbacb5d Use consistent order for visibility attribute 2020-01-29 18:51:10 +01:00
Martchus 19ee6cb691 libsyncthing: Create config dir if it does not exist 2019-10-13 19:37:32 +02:00
Martchus 0a2eae6542 Improve libsyncthing
* Update Syncthing version
* Use utilities from https://github.com/syncthing/syncthing/pull/5871
* Remove useless use_standard_filesystem()
2019-08-03 16:31:23 +02:00
Martchus 61958c5046 Polish libsyncthing
* Adapt tests
* Remove duplicated code
* Stop Syncthing from a different thread since
  it blocks until Syncthing has stopped
2019-07-18 17:21:53 +02:00
Martchus 038225936e Base libsyncthing on official library refactoring 2019-07-17 17:53:36 +02:00
Martchus fbbf533a37 Allow passing raw CLI arguments in libsyncthing interface 2018-04-17 23:54:43 +02:00
Martchus 6c1c95c4c5 Improve libsyncthing
* Add documentaton
* Add isSyncthingRunning()
2018-04-15 20:19:14 +02:00
Martchus aedf7fe1fd Improve libsyncthing interface
* Allow to stop
* Provide callback for logging
* Add basic tests
2018-04-14 23:07:35 +02:00
Martchus 6ab7662a64 Add experimental 'libsyncthing'
* This allows running C++ GUI code (as provided by this
  repository) and Syncthing itself in the same process.
* It basically seems to work. I can now run a Syncthing
  instance within the interactive C++ shell 'cling' :-)
* Syncthing and its assets are built within the usual
  CMake build process but disabled by default because still
  experimental. To enable the build, add '-DNO_LIBSYNCTHING=OFF'
  to CMake arguments.
* The Syncthing checkout with customized exports lives
  in the Git submodule under
  'libsyncthing/go/src/github.com/syncthing/syncthing'.
2018-04-08 21:36:08 +02:00