3201 Commits
Author SHA1 Message Date
Adrien Béraud b167887d51 build/cmake: move WIN32_WINNT version detection to dedicated script v3.5.0 2025-08-05 20:25:12 -04:00
Adrien Béraud 77769898ea ci/release: install wix v3.5.0rc4 2025-08-04 09:45:43 -04:00
Adrien Béraud 42189e3cf7 build/cmake: cleanup 2025-08-04 09:45:29 -04:00
Adrien Béraud 73f8000e49 ci/release: build with cpack v3.5.0rc3 2025-08-04 09:25:46 -04:00
Adrien Béraud 298e334482 build/cmake: always find asio by header 2025-08-04 09:25:32 -04:00
Adrien Béraud bb982b8cf9 build/cmake: always find asio by header v3.5.0rc2 2025-08-04 09:15:40 -04:00
Adrien Béraud 80145c37bb build/cmake: enable OPENDHT_DOWNLOAD_DEPS by default 2025-08-04 09:15:19 -04:00
Adrien Béraud bc8503a21e ci/release: create vcpkg directories before install 2025-08-03 23:31:50 -04:00
Adrien Béraud 2947dbfe5f update version to 3.5.0 v3.5.0rc1 2025-08-03 23:25:57 -04:00
Adrien Béraud bf9ddfc72f build/cmake: add build presets 2025-08-03 23:25:43 -04:00
Adrien Béraud c848a7e70b ci/release: build static dhtnode 2025-08-03 22:53:00 -04:00
Adrien Béraud e7c5b0e36f ci/windows: use dependency cache 2025-08-03 22:48:48 -04:00
Adrien Béraud 41282c99f9 build/cmake: dhtscanner, dhtchat are examples 2025-08-03 22:31:43 -04:00
Adrien Béraud e25f6f131a build/vcpkg: update to 2025.07.25 2025-08-03 21:37:39 -04:00
Adrien Béraud e69f0fd01e ci/vcpkg: cache vcpkg binary output 2025-08-02 10:19:04 -04:00
Adrien Béraud 30c9534bc5 build/vcpkg: link to appropriate target for jsoncpp 2025-08-02 10:19:04 -04:00
Adrien Béraud 6d56fb7510 build/cmake: add vcpkg_manifest_static 2025-08-02 10:19:04 -04:00
Adrien Beraud e46d03b440 ci: enable back OPENDHT_DOWNLOAD_DEPS in CI 2025-07-21 16:30:57 -04:00
Adrien Beraud 8255596171 cmake: various fixes on Linux 2025-07-21 15:49:34 -04:00
Adrien Beraud baae3ba701 cmake/presets: build ninja with proxy 2025-07-21 13:28:36 -04:00
Maxim Cournoyer 6c43be2a03 configure.ac: Improve the error message when readline is missing.
* configure.ac[tools]: Mention that the requirement is due to the
tools.
2025-07-21 08:24:03 -04:00
Maxim Cournoyer ee4c8a19d6 configure.ac: Error out when doc is requested but Doxygen is missing.
Previously, documentation would be automatically disabled when Doxygen
was found missing.

* configure.ac: Change AC_MSG_WARN into AC_MSG_ERROR and adjust error
message.
2025-07-21 08:24:03 -04:00
Maxim Cournoyer e8cf9dd25f configure.ac: Make the Python option depend on the indexation option.
Mimic what is done already in the CMakeLists.txt file, with one
distinction: do not automagically turn on indexation when Python is
selected; rather, stop and tell the user that it is required for
Python support.  Remove the automatic downgrade to --disable-python
when Cython is not found.

* configure.ac: Enforce dependencies on indexation and Cython when
Python support is requested.
2025-07-21 08:24:03 -04:00
Maxim Cournoyer df21c4524c configure.ac: Fix the description of the '--without-openssl' option. 2025-07-21 08:24:03 -04:00
Maxim Cournoyer ccec6c2f67 replace usleep with nanosleep
* src/compat/msvc/unistd.h (usleep): Delete.
* tools/dhtcnode.c (main) <usleep>: Replace with nanosleep on non
Windows platform, or Sleep on Windows.

Fixes: #607
2025-07-20 22:25:28 -04:00
Adrien Béraud 5ab450491c Merge remote-tracking branch 'origin/master' into pulls/1772757862/750 2025-07-20 11:59:30 -04:00
Adrien Béraud 3b0cce8c25 Added and tested build scenarios for Windows (MSYS2, MSVC) 2025-07-20 11:55:40 -04:00
copilot-swe-agent[bot]andaberaud d6b6f30275 Replace hardcoded documentation path with CMAKE_INSTALL_DOCDIR
Co-authored-by: aberaud <101827+aberaud@users.noreply.github.com>
2025-07-19 23:08:08 -04:00
Adrien Béraud c9f18c8349 Pull Request #750: Added and tested build scenarios for Windows (MSYS2, MSVC) 2025-07-19 14:36:26 -04:00
Adrien Beraud df3186ad95 proxy server: export ServerStats 2025-07-16 11:29:18 -04:00
Andrey Vukolov 58956549b8 Merge branch 'savoirfairelinux:master' into winbuild 2025-07-15 16:47:24 +02:00
Adrien Beraud 74ed041791 tests/dhtrunner: create value as shared_ptr 2025-07-10 13:50:42 -04:00
Adrien Beraud 312f883387 proxy server: move ServerStats impl to cpp 2025-07-10 13:46:17 -04:00
Andrey Vukolov fad4093183 CI fix (squashed 17 commits) 2025-06-27 14:27:48 +02:00
Andrey Vukolov 5c005e097e Harmonizing CMakeLists 2025-06-26 16:20:27 +02:00
Andrey Vukolov 69f23e49c4 Preparing for rebase and merge #750
Addresses:
        - https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2157723135
        - https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2157794234
        - https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2157795386
        - https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2161542551
        - https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2161546768
2025-06-24 18:06:52 +02:00
Andrey Vukolov f53976dc2f Merge branch 'savoirfairelinux:master' into winbuild 2025-06-23 10:34:11 +02:00
Adrien Béraud 1d80a77e55 build/cmake: avoid overriding "" for CMAKE_MSVC_RUNTIME_LIBRARY 2025-06-20 19:06:08 -04:00
Adrien Béraud fb8734c448 c: use c++ linkage for some non-exported functions 2025-06-20 19:04:59 -04:00
Andrey Vukolov 090fe75b7f OpenSSL link MSVC workflow workaround 2025-06-19 12:56:44 +02:00
Andrey Vukolov 173ca3d923 OpenSSL link Clang workflow workaround 2025-06-19 12:52:30 +02:00
Andrey Vukolov f5c875a19d OpenSSL link CMake workflow check 2025-06-19 12:46:20 +02:00
Andrey Vukolov 6780013f50 Unit tests workaround for possible issue with OpenSSL link 2025-06-19 12:17:10 +02:00
Andrey Vukolov 2f21a6e35a Unit tests workaround for possible issue with OpenSSL link 2025-06-19 12:07:36 +02:00
Andrey Vukolov 9e9e364048 C tools CFLAGS workaround for STATIC builds 2025-06-19 11:59:50 +02:00
Andrey Vukolov 2c3296542b Crypt32.dll fix 2025-06-18 17:14:05 +02:00
Andrey Vukolov 72988cca28 Regression fix 2025-06-18 16:53:54 +02:00
Andrey Vukolov a105513750 Attempt to fix OpenSSL for MSYS2 builds on CI 2025-06-18 16:48:05 +02:00
Andrey Vukolov bece03eab8 Attempt to fix llhttp for MSYS2 builds on CI 2025-06-18 16:32:28 +02:00
Andrey Vukolov 0fdb6979dd Attempt to fix OpenSSL for MSYS2 builds on CI 2025-06-18 16:21:57 +02:00