Commit Graph

29 Commits

Author SHA1 Message Date
Martchus 0f1bcae534 Fix build with c++utilities change to add header for compile definitions
* Add include directory for testhelper library manually as using the
  imported target was not possibly
* Fix visibility when using libsyncthing in syncthingwidgets
* Update changed global headers along the way
2024-01-30 22:35:47 +01:00
Martchus 577b814b71 Use CMAKE_INSTALL_LIBDIR correctly when installing libsyncthinginternal 2024-01-30 00:45:28 +01:00
Martchus 5667aad412 Support Syncthing's shell completion
Syncthing added shell completion in v1.27.3-rc.1 (commit
78db3af8c5e8bd08a9773b0c4da233a52ed4cfe6). This change integrates
that shell completion with Syncthing Tray's long existing completion (which
only supports Bash so far).
2024-01-26 01:48:47 +01:00
Martchus 4db88620f6 Apply cmake-format 2024-01-23 12:22:16 +01:00
Martchus 28d323db14 Update libsyncthing to v1.27.3-rc2
Rebase against changes for shell completion; invoking Syncthing's shell
completion hasn't been implemented, though
2024-01-23 12:21:45 +01:00
Martchus e738555224 Update libsyncthing to v1.27.2 2024-01-02 15:22:15 +01:00
Martchus ddd4f6b411 Fix compilation of libsyncthing interface tests on Windows 2023-12-30 19:24:28 +01:00
Martchus 8aefad41ab Allow compiling the Syncthing library interface with MSVC
I haven't tested linking and execution yet; it would probably require to
use e.g. `mingw-w64-ucrt-x86_64-go` from MSYS2 (instead of
`mingw-w64-x86_64-go` where the stdlib clashes).
2023-12-30 19:23:56 +01:00
Martchus bf884ba4cb Make commands for compiling Syncthing itself more portable
* Use CMake's command mode to set environment variables
* Only make use of `CMAKE_RANLIB` if set
* Avoid using the compiler/tools/flags from CMake via cgo when building
  with MSVC as this doesn't work; this is problematic because stdlibs will
  not necassarily match but this way we can at least compile the static
  library
2023-12-30 19:19:53 +01:00
Martchus bb4d3847be Update libsyncthing to 1.27.1 2023-12-11 10:51:27 +01:00
Martchus 53bc7de0c7 Update libsyncthing to v1.27.0 2023-12-05 11:21:56 +01:00
Martchus e697c4e2a7 Update libsyncthing to v1.26.1 2023-11-15 14:21:22 +01:00
Martchus 2985bef56f Update libsyncthing to v1.26.0 2023-11-07 11:49:35 +01:00
Martchus d1a963013a Fix paths in error messages of libsyncthing configuration 2023-11-06 16:00:20 +01:00
Martchus e0fe3d5eeb Update libsyncthing to v1.25.0 2023-10-03 14:20:11 +02:00
Martchus e9bb64f893 Update libsyncthing to v1.24.0 2023-09-05 10:33:07 +02:00
Martchus c168231172 Allow building libsyncthing with Go 1.21 by cherry-picking cbf0e31f69bf44bb 2023-09-01 16:51:00 +02:00
Martchus 7cc541d542 Set build timestamp when building libsyncthing to avoid default `1970-01-…` 2023-09-01 16:51:00 +02:00
Martchus 5374b8ee52 Update libsyncthing to v1.23.7 2023-08-09 11:46:54 +02:00
Martchus e4bbe852bd Avoid CMake deprecation warning by bumping version 2023-07-23 21:05:22 +02:00
Martchus 7c3204526e Update libsyncthing to v1.23.6 2023-07-04 10:45:38 +02:00
Martchus f9d5e08a0d Update libsyncthing to v1.23.5 2023-06-06 10:52:43 +02:00
Martchus 90a790d584 Improve CLI for running Syncthing itself
* Fix abbreviation
* Streamline with Syncthing itself so no arguments mean `serve` (and not
  `--help`)
2023-05-29 18:12:07 +02:00
Martchus b9853043fb Improve libsyncthing
* Do *not* build Syncthing in addition as standalone executalbe
* Explose instead all of Syncthing's commands via the library
  interface
* Make all of Syncthing's commands (including `serve`) accessible
  via Syncthing Tray's executable
* Remove copied code for directory creation and instead use
  upstream's code directly
2023-05-29 17:30:33 +02:00
Martchus 69ac6cb387 Update libsyncthing to v1.23.4 2023-04-05 18:04:21 +02:00
Martchus 45d75ac7ae Update libsyncthing to v1.23.3 2023-04-04 10:38:53 +02:00
Martchus 7a5bd78eda Update libsyncthing to v1.23.2 2023-03-07 20:26:48 +01:00
Martchus b5d81eefc6 Avoid remaining symlinks for testfiles 2023-02-27 22:14:35 +01:00
Martchus 96e92f13a3 Avoid relying on symlink for include directories
Symlinks aren't working very well with Git under Windows so better avoid
them.
2023-02-27 18:27:33 +01:00