Adrien Béraud
|
2e38ec093d
|
tools/dhtscanner: use client mode
|
2025-06-14 14:03:21 -04:00 |
|
Adrien Béraud
|
7995c2283d
|
Workaround for MSVC runtime mismatch on STATIC builds
|
2025-06-12 20:04:13 -04:00 |
|
Adrien Béraud
|
7bb457d851
|
Pull Request #762: Workaround for MSVC runtime mismatch on STATIC builds
|
2025-06-12 20:00:59 -04:00 |
|
Adrien Béraud
|
80d0648d6d
|
tools/dhtnode: use utf-8 for console output on Windows
|
2025-06-12 19:14:56 -04:00 |
|
Adrien Béraud
|
44508cd040
|
build/cmake: use relative install directories
|
2025-06-12 10:37:16 -04:00 |
|
Andrey Vukolov
|
e5cc48c068
|
Merge branch 'master' into msvc-runtime-static
|
2025-06-12 16:35:29 +02:00 |
|
Adrien Beraud
|
520a15118c
|
ci: add release job for Windows
|
2025-06-12 10:32:20 -04:00 |
|
Adrien Béraud
|
81931a211f
|
ci: add github workflow for windows
|
2025-06-12 10:32:20 -04:00 |
|
Adrien Béraud
|
9a895d71d9
|
tools/dhtscanner: cleanup
|
2025-06-12 10:32:20 -04:00 |
|
Adrien Béraud
|
9d2b3e0b35
|
build/dev: use build directory
|
2025-06-12 10:32:20 -04:00 |
|
Adrien Béraud
|
14dbd3341c
|
build/cmake: enable test feature for vcpkg
|
2025-06-12 10:32:20 -04:00 |
|
Adrien Béraud
|
f032c7a52b
|
build/vcpkg: add host tools
|
2025-06-12 10:32:20 -04:00 |
|
Adrien Béraud
|
cee24974d6
|
build/vcpkg: add support for tests
|
2025-06-12 10:32:20 -04:00 |
|
Adrien Béraud
|
d3e2fd1099
|
fixes for msvc
|
2025-06-12 10:32:20 -04:00 |
|
Adrien Béraud
|
dd9d74e227
|
fixes for mingw
|
2025-06-12 10:32:20 -04:00 |
|
Adrien Béraud
|
e1744ef950
|
build/cmake: add preset for Unix Makefiles
|
2025-06-12 10:32:20 -04:00 |
|
Adrien Béraud
|
3f64c32b7a
|
build/cmake: define WINVER and _WIN32_WINNT on Windows
|
2025-06-12 10:32:20 -04:00 |
|
Adrien Béraud
|
6b0e154bd5
|
build/cmake: add vcpkg support for msvc
|
2025-06-12 10:32:20 -04:00 |
|
Andrey Vukolov
|
11bca9e307
|
Workaround for MSVC runtime mismatch on STATIC builds
- Added CMP0091 policy handler
- Added generator expression for MSVC_RUNTIME_LIBRARY property
to avoid "Runtime Mismatch" linker error on MSVC STATIC builds
|
2025-06-12 09:36:53 +02:00 |
|
Adrien Beraud
|
28ea18671f
|
http: use appropriate log level for DNS result
|
2025-06-11 16:08:36 -04:00 |
|
Adrien Béraud
|
01e9c341df
|
tests: use loopback address if peer bound any
fixes some tests on Windows
|
2025-06-10 18:37:19 -04:00 |
|
Adrien Béraud
|
94006f2fe1
|
sockaddr: add setLoopback()
|
2025-06-10 18:35:48 -04:00 |
|
Andrey Vukolov
|
cc7c48a07e
|
.gitignore for vcpkg in MANIFEST mode
|
2025-06-09 11:29:00 -04:00 |
|
Adrien Béraud
|
e6fc8b7586
|
dhtrunner: add putEncrypted with PkId 'to' argument
|
2025-06-09 00:52:05 -04:00 |
|
Adrien Béraud
|
09da6db5e7
|
securedht: add putEncrypted with PkId 'to' argument
|
2025-06-09 00:52:05 -04:00 |
|
Adrien Béraud
|
e870c3b486
|
dhtrunner: allow to find certificates by PkId
|
2025-06-09 00:52:05 -04:00 |
|
Adrien Béraud
|
dcf31b2c5f
|
securedht: allow to find certificates by PkId
|
2025-06-09 00:52:05 -04:00 |
|
Adrien Béraud
|
f2eb234fd9
|
securedht: put certificate at PkId
|
2025-06-09 00:52:05 -04:00 |
|
Adrien Béraud
|
c3f120f8f1
|
build/cmake: build C binding with vcpkg preset
|
2025-06-08 18:51:14 -04:00 |
|
Adrien Béraud
|
305f437f74
|
c: use appropriate includes for Windows
|
2025-06-08 18:51:14 -04:00 |
|
Adrien Béraud
|
701e8c89fb
|
vcpkg: add support for tools
|
2025-06-07 16:23:59 -04:00 |
|
Adrien Béraud
|
aa212c4b2d
|
c/tools: use memset instead of bzero
|
2025-06-07 16:23:59 -04:00 |
|
Adrien Béraud
|
48254a6759
|
build/cmake: add opendht_EXPORTS as public definition
|
2025-06-07 16:23:59 -04:00 |
|
Adrien Béraud
|
37ccc2f3a2
|
build/meson: fix typo
|
2025-06-07 16:23:59 -04:00 |
|
Adrien Béraud
|
2819047649
|
build/cmake: define C standard used
|
2025-06-07 16:23:59 -04:00 |
|
Adrien Béraud
|
03e4be3974
|
build/cmake: add presets for vcpkg and unix
|
2025-06-03 11:46:36 -04:00 |
|
Adrien Beraud
|
91b241599d
|
build: add vcpkg file
|
2025-06-03 11:46:36 -04:00 |
|
Adrien Beraud
|
fcf2e7f94e
|
Create codeql.yml
|
2025-06-03 11:33:04 -04:00 |
|
Adrien Béraud
|
f1ff618dc8
|
Create codeql.yml
|
2025-06-03 11:30:01 -04:00 |
|
Adrien Beraud
|
5dcb342308
|
ci/github: use autobuild mode
|
2025-06-03 11:29:07 -04:00 |
|
Adrien Beraud
|
2d9d0761c9
|
ci/github: use autobuild mode
|
2025-06-03 11:23:25 -04:00 |
|
Adrien Beraud
|
4df297df6c
|
ci/github: use autobuild mode
|
2025-06-03 11:16:48 -04:00 |
|
Adrien Beraud
|
70e8f7efb5
|
ci/github: udpate CodeQL workflow
|
2025-06-03 10:58:33 -04:00 |
|
Andrey Vukolov
|
9b33ff8a15
|
Fix meson.build
|
2025-06-01 10:26:18 -04:00 |
|
Andrey Vukolov
|
5c21401728
|
constexpr fixes for preparation of MSVC build
- Addresses https://github.com/savoirfairelinux/opendht/pull/750/files#r2089281221 in #750
- Adds infohash.cpp file for correct build of the DLL nametables in SHARED mode with MSVC
- Reverted commits 352e36500c and 6a264d6f73
- Fixes DLL build issues on Windows due to OPENDHT_PUBLIC definitions described in #750
- Prepares the build system for merging changes from #750 (@aberaud)
|
2025-06-01 10:26:18 -04:00 |
|
Adrien Béraud
|
acae4bc4ff
|
peer_discovery: use string_view for service type
|
2025-05-31 19:28:30 -04:00 |
|
Andrey Vukolov
|
68dc6a64be
|
Definitions fix for #756
|
2025-05-30 23:05:59 -04:00 |
|
Andrey Vukolov
|
54a8fef0ee
|
Windows build fixed for tools (wingetopt, signals)
- Addresses https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2089286643
- Structures wingetopt and win32 compatibility files for builds on Windows with MSVC
- Adjusts opendht_EXPORTS definition when building tools on MSVC
|
2025-05-30 23:05:59 -04:00 |
|
Andrey Vukolov
|
a722726196
|
GNUTLS_INTERNAL_BUILD fix
- Removed GNUTLS_INTERNAL_BUILD definition to avoid problems with gnutls_free()
function (https://github.com/savoirfairelinux/opendht/pull/750#issuecomment-2832005765)
https://github.com/ShiftMediaProject/gnutls/blob/f78e2e673e84601283fb5ec353bfdd53204becd2/SMP/gnutls/gnutls.h#L2286
|
2025-05-23 18:24:35 -04:00 |
|
Andrey Vukolov
|
b9bd954dfd
|
GnuTLS version handler routine for versions 3.8.7 and later
- Added GnuTLS version handler directives for versions 3.8.7 and later
https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2089284896
|
2025-05-23 18:24:35 -04:00 |
|