Martchus
d9cf64fd91
Add script to rebase libsyncthing against latest Syncthing release
2019-09-20 18:12:44 +02:00
Martchus
3b607f467a
Update libsyncthing to Syncthing v1.2.2
2019-09-08 18:08:13 +02:00
Martchus
bd345dfe12
Apply cmake-format
2019-08-08 21:34:24 +02:00
Martchus
584afb52d9
Update libsyncthing
2019-08-07 18:42:41 +02:00
Martchus
971e2dca6a
Fix including BasicConfig in libsyncthing
2019-08-06 10:57:42 +02:00
Martchus
be0be08997
Apply cmake-format
2019-08-06 00:13:15 +02:00
Martchus
e2037aebc1
Fix further configuration issues with libsyncthing
...
* Can not use BUNDLED_TARGETS because syncthinginternal is only an
imported target
* Use INSTALL_INTERFACE generator expression to specify path of
libsyncthinginternal.a for installation (imported target can not
be exported apparently)
2019-08-06 00:12:58 +02:00
Martchus
495140cdf9
Use imported target for libsyncthinginternal
...
This way the pkg-config file can be generated correctly.
2019-08-05 19:10:57 +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
13cc4b8775
Set Go linker flags for libsyncthing
2019-07-29 18:00:42 +02:00
Martchus
fbd0174086
Update libsyncthing
2019-07-29 17:59:58 +02:00
Martchus
6fcc2e2208
Apply clang-format
2019-07-20 20:32:34 +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
4cabaf0c4b
Use Go modules for building libsyncthing
...
Requires Go 1.11 or later
2019-07-07 12:11:16 +02:00
Martchus
2f081bd28b
Rebase libsyncthing against latest master
2019-07-03 20:42:18 +02:00
Martchus
3c9ab47e2a
Fix compiling libsyncthing tests
2019-06-22 16:38:59 +02:00
Martchus
56e1e98493
Apply cmake-format
2019-06-16 16:58:52 +02:00
Martchus
dc7d9b815f
Adapt to changes in c++utilities
2019-06-14 19:15:26 +02:00
Martchus
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
Martchus
64473df5ba
Adapt to changes in c++utilities
2019-06-10 22:48:26 +02:00
Martchus
a30853cfeb
Apply cmake-format and clang-format
2019-05-04 22:10:37 +02:00
Martchus
d88df866d2
Adapt to c++utilities v5
2019-05-04 21:05:21 +02:00
Martchus
2370fe1ef5
Let CMake generate code for test application
2019-01-13 22:16:23 +01:00
Martchus
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
Martchus
2d6ca44aa5
Document issues in LibSyncthing::{stop,restart}Syncthing()
2018-04-18 23:28:45 +02:00
Martchus
a36bc4524b
Fix running and stopping libsyncthing multiple times
2018-04-18 00:40:07 +02:00
Martchus
6d7c876553
Clean database before restarting in libsyncthing tests
2018-04-18 00:15:31 +02:00
Martchus
fbbf533a37
Allow passing raw CLI arguments in libsyncthing interface
2018-04-17 23:54:43 +02:00
Martchus
f7dc8c93bd
Ensure Syncthing doesn't try to upgrade during tests
2018-04-17 23:52:20 +02:00
Martchus
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
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
e2d3bdfa0d
Ensure index for libsyncthinginternal.a is created
2018-04-10 23:00:05 +02:00
Martchus
4e112547e1
Handle cross-compilation when building libsyncthing
2018-04-10 22:55:17 +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