4cabaf0c4b
Use Go modules for building libsyncthing
...
Requires Go 1.11 or later
2019-07-07 12:11:16 +02:00
2f081bd28b
Rebase libsyncthing against latest master
2019-07-03 20:42:18 +02:00
3c9ab47e2a
Fix compiling libsyncthing tests
2019-06-22 16:38:59 +02:00
56e1e98493
Apply cmake-format
2019-06-16 16:58:52 +02:00
dc7d9b815f
Adapt to changes in c++utilities
2019-06-14 19:15:26 +02:00
7dbe419d0a
Fix including c++utilities header in libsyncthing
...
if c++utilities is built as part of the same project
2019-06-12 20:59:58 +02:00
64473df5ba
Adapt to changes in c++utilities
2019-06-10 22:48:26 +02:00
a30853cfeb
Apply cmake-format and clang-format
2019-05-04 22:10:37 +02:00
d88df866d2
Adapt to c++utilities v5
2019-05-04 21:05:21 +02:00
2370fe1ef5
Let CMake generate code for test application
2019-01-13 22:16:23 +01:00
d138c6d9d1
Change address of dev in testconfig to something not reachable
...
in my local network - otherwise Syncthing panics for whatever
reason :-/
2018-10-14 23:31:19 +02:00
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