Andrey Vukolov
798adefcde
Fixes for MSYS2
...
- Set populated only for msgpack-cxx that does not exist for
MinGW GCC x86_64
https://packages.msys2.org/base/mingw-w64-msgpack-cxx
- .gitignore fix for vcpkg (incorporated #760 )
- GnuTLS version handler fix (#755 , #758 )
2025-06-09 15:31:38 +02:00
Andrey Vukolov
72afb61079
Merge branch 'savoirfairelinux:master' into winbuild
2025-06-09 09:40:26 +02: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
Andrey Vukolov
c27f0f8fdc
Merge branch 'master' into winbuild
2025-06-07 22:32:26 +02: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
Andrey Vukolov
8d8b082ae2
Temporary fix https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2129833074
2025-06-06 11:09:43 +02:00
Andrey Vukolov
5377a48074
Rebase regression fix in tools_common.h
2025-06-06 11:00:35 +02:00
Andrey Vukolov
ca8998e62b
Merge branch 'winbuild' of github.com:twdragon/opendht into winbuild
2025-06-05 18:38:49 +02:00
Andrey Vukolov
62359d9011
Edited CMakeLists.txt file for building over vcpkg only
2025-06-05 18:38:21 +02:00
Andrey Vukolov
3022c4b378
Merge branch 'savoirfairelinux:master' into winbuild
2025-06-05 17:52:47 +02: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
de8b441dae
Merge branch 'master' into winbuild
2025-06-02 16:37:57 +02:00
Andrey Vukolov
5c4997d07e
Merge master branch changes
...
- Applies master branch changes from #753 #754 #755 #756
and commits for version 3.4.0 by @aberaud to winbuild branch
for #750
- CMake version handler for MINIMUM requirement setup to 3.5
2025-06-02 16:26:45 +02: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
Andrey Vukolov
49b1daec38
Indentation fix
2025-05-23 15:43:08 +02:00
Andrey Vukolov
aeb0b163cf
MS Visual Studio .gitignore fix for CMake implicit builds
...
- Addresses review https://github.com/savoirfairelinux/opendht/pull/750#discussion_r2089277264 in #750
- Allows clean clone and build in MS Visual Studio with different settings
2025-05-23 08:59:14 -04:00
Andrey Vukolov
1eba919dbd
Trailing newline fix
2025-05-23 14:42:43 +02:00
Adrien Béraud
c4e75ae66c
update copyright year
2025-05-22 19:07:32 -04:00
Adrien Beraud
d9afd2631b
update version to 3.4.0
v3.4.0
2025-05-22 12:05:31 -04:00
Adrien Beraud
405220795b
http: check for cb in async_read_until
2025-05-22 11:53:05 -04:00
Adrien Beraud
3e407e65fa
storage: remove previous value size from quota when appropriate
2025-05-22 11:53:05 -04:00
Adrien Béraud
a2dff6a123
dhtrunner: registerCertificate: take certificate by const ref
2025-05-20 21:55:04 -04:00
Adrien Béraud
8d030f75f6
valuetype: compare certificate using longId
2025-05-19 23:57:09 -04:00
Adrien Béraud
13af7a6002
dhtrunner: registerCertificate: take certificate by const ref
2025-05-19 23:57:09 -04:00
Adrien Béraud
2bc46e9657
build/cmake: search llhttp with pkg_search_module
2025-05-19 23:55:49 -04:00
Adrien Béraud
b3b050ca26
build/cmake: declare support for cmake up to 3.31
2025-05-19 23:55:46 -04:00
Adrien Béraud
38b0b2248f
crypto: add Certificate::getDN() to read RFC4514 distinguished name
2025-05-19 23:55:42 -04:00