Adrien Béraud
bb96d2d80e
dhtchat: adapt for new API
2026-05-18 10:36:48 -04:00
Adrien Béraud
44f2aaa876
remove deprecated APIs
2026-05-11 09:27:56 -04:00
Adrien Béraud
99da0be2b7
misc: remove lock mutex template argument
2026-03-15 00:00:33 -04:00
Adrien Béraud
0eacd7fe6c
tools: move to dht::tools namespace
2026-03-13 00:04:49 -04:00
Adrien Béraud
71d14bb0fe
proxy stats: use localhost by default
2026-03-02 16:32:38 -05:00
Adrien Béraud
de4327c056
proxy stats: add storage stats
2026-02-27 16:52:07 -05:00
Adrien Béraud
348d6be920
proxy stats: add storage stats
2026-02-27 16:00:16 -05:00
Adrien Béraud
9ebe6e8bb6
tools: pretty print byte count
2026-02-24 00:15:47 -05:00
Adrien Béraud
166566dbf4
remove automake files
2026-02-22 23:34:16 -05:00
Adrien Béraud
85cbee0f1a
dht: add local storage stats in NodeInfo
2026-02-22 16:27:35 -05:00
copilot-swe-agent[bot] and aberaud
4b24f1da38
Replace deprecated systemd directives with current alternatives
...
Replace ReadOnlyDirectories with ReadOnlyPaths and ReadWriteDirectories with ReadWritePaths as per modern systemd.exec(5) documentation
Co-authored-by: aberaud <101827+aberaud@users.noreply.github.com >
2026-02-03 16:35:58 -05:00
Adrien Béraud
f9cba71d51
Switch project license from GPL-3.0-or-later to MIT
2026-01-17 22:25:43 -05:00
Adrien Béraud
4fd4745647
update copyright to 2026
2026-01-17 17:09:06 -05:00
Adrien Béraud
b3dfbf13d8
tools: header cleanup
2025-08-16 21:22:57 -04:00
Adrien Béraud
41282c99f9
build/cmake: dhtscanner, dhtchat are examples
2025-08-03 22:31:43 -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
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
9e9e364048
C tools CFLAGS workaround for STATIC builds
2025-06-19 11:59:50 +02:00
Andrey Vukolov
526b11f973
C binding fixes, libreadline support for MSVC
2025-06-18 15:30:51 +02:00
Andrey Vukolov
a22c84d013
MSVC static runtime fix
2025-06-18 11:41:52 +02:00
Andrey Vukolov
3707f6294e
libreadline fix for C tools
2025-06-18 11:29:26 +02:00
Andrey Vukolov
94cb17ef63
libreadline fix, WINVER typo fix
2025-06-18 11:22:55 +02:00
Andrey Vukolov
9bb08fa194
Merge branch 'master' into winbuild
2025-06-18 10:40:02 +02:00
Adrien Béraud
550721e233
build/cmake: use global MSVC_RUNTIME_LIBRARY
2025-06-17 20:22:22 -04:00
Andrey Vukolov
a05479e2dc
Merge branch 'master' into winbuild
...
- Built and tested on MSVC for static and dynamic builds, tested.
2025-06-17 18:59:51 +02:00
Adrien Béraud
f49dabaadc
build/cmake: add MSVC_RUNTIME_LIBRARY for dhtcnode
2025-06-14 14:03:21 -04:00
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
80d0648d6d
tools/dhtnode: use utf-8 for console output on Windows
2025-06-12 19:14:56 -04:00
Andrey Vukolov
e5cc48c068
Merge branch 'master' into msvc-runtime-static
2025-06-12 16:35:29 +02:00
Adrien Béraud
9a895d71d9
tools/dhtscanner: cleanup
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
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
Andrey Vukolov
8ab6b5b06e
Fixes for current MSVC build, presets deleted
2025-06-12 09:22:30 +02:00
Adrien Béraud
48254a6759
build/cmake: add opendht_EXPORTS as public definition
2025-06-07 16:23:59 -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
Adrien Béraud
c4e75ae66c
update copyright year
2025-05-22 19:07:32 -04:00
Adrien Beraud
b9e00c7a0f
tools/cnode: show value ID when put completes
2025-02-11 15:48:59 -05:00
Adrien Béraud
81bd05fe84
proxy node: remove jquery, update for new APIs
2024-11-20 11:40:12 -05:00
Adrien Béraud
cf135d18b4
c node: fix typo
2024-11-20 11:40:12 -05:00
Adrien Béraud
c7ba7f6703
utils: use fmt::format for time
2024-11-20 11:40:12 -05:00
Adrien Béraud
c8b5611386
dhtnode: fix small typo in put encrypted log
2024-03-24 15:45:55 -04:00
Adrien Béraud
23d07dae38
rng: drop custom random_device implementation for MinGW/Windows
...
MinGW now has std::random_device support on Windows:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85494
2023-12-10 15:18:59 -05:00
Adrien Béraud
b53af75a7f
meson, autotools: link with fmt
2023-08-30 17:58:45 -04:00
Adrien Béraud
21fd58a39c
tools: show log on PublicAddressChanged
2023-08-30 17:58:45 -04:00
Adrien Béraud
b034a823a9
dhtcnode: reduce exposed stack storage
2023-08-19 18:48:53 -04:00
Lanius-collaris
825cf98bf4
dhtnode.cpp: fix void print_usage()
...
Print pushserver parameter instead of openpush
2023-06-28 09:08:52 -04:00
Adrien Béraud
fafd2f0233
update copyright year
2023-06-02 23:16:04 -04:00