Commit Graph

11 Commits

Author SHA1 Message Date
2d6ca44aa5 Document issues in LibSyncthing::{stop,restart}Syncthing() 2018-04-18 23:28:45 +02:00
a36bc4524b Fix running and stopping libsyncthing multiple times 2018-04-18 00:40:07 +02:00
6d7c876553 Clean database before restarting in libsyncthing tests 2018-04-18 00:15:31 +02:00
fbbf533a37 Allow passing raw CLI arguments in libsyncthing interface 2018-04-17 23:54:43 +02:00
f7dc8c93bd Ensure Syncthing doesn't try to upgrade during tests 2018-04-17 23:52:20 +02:00
28eacb61a4 Verify whether Syncthing started via libsyncthing is stopped correctly
This is currently not the case so the tests fail now.
Need to investigate how to stop Syncthing correctly.
2018-04-17 23:50:45 +02:00
6c1c95c4c5 Improve libsyncthing
* Add documentaton
* Add isSyncthingRunning()
2018-04-15 20:19:14 +02:00
aedf7fe1fd Improve libsyncthing interface
* Allow to stop
* Provide callback for logging
* Add basic tests
2018-04-14 23:07:35 +02:00
e2d3bdfa0d Ensure index for libsyncthinginternal.a is created 2018-04-10 23:00:05 +02:00
4e112547e1 Handle cross-compilation when building libsyncthing 2018-04-10 22:55:17 +02:00
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