Commit Graph
9545 Commits
Author SHA1 Message Date
PobreGato 0850b0fc56 recreate addressbook timers when shared destination is replaced 2026-08-20 02:18:20 +03:00
orignal 561958ee32 Merge pull request #2497 from pobregat0/stop-destination-in-its-thread
stop runnable destination in its own thread
2026-08-19 17:54:11 -04:00
orignal 7b1a9d5411 handle pieces field from torrent-get 2026-08-19 17:22:37 -04:00
orignal e7009e561f handle fields list from torrent-get RPC 2026-08-19 16:14:21 -04:00
PobreGato 85b6104080 stop runnable destination in its own thread 2026-08-19 19:12:20 +03:00
orignal 3740e8dc6f count and report num dowloading from/uploading to peers 2026-08-19 09:20:29 -04:00
orignal 77c6dc3ecc Merge pull request #2496 from pobregat0/stop-console-first
stop the web console and I2PControl before what they read
2026-08-18 21:31:56 -04:00
orignal 659a894115 smoother upload rate calculation 2026-08-18 21:28:47 -04:00
PobreGato 4135f9ab9b stop the web console and I2PControl before what they read 2026-08-19 04:21:20 +03:00
orignal 4f138ac630 collect and return unload/download rate stats 2026-08-18 20:53:38 -04:00
orignal 2b37acc525 Merge pull request #2495 from pobregat0/mapping-contains-find
use find in Mapping::Contains
2026-08-18 19:04:25 -04:00
PobreGato bc346f0a88 use find in Mapping::Contains 2026-08-19 02:02:05 +03:00
orignal 6d80583cb5 Merge pull request #2493 from jpk68/memory-bugs-4
chore: fix memory safety issues
2026-08-18 17:00:33 -04:00
jpk68 67404cd82f chore: fix memory safety issues 2026-08-18 15:43:44 -04:00
orignal 0514efcdeb read tag only if presented 2026-08-18 15:11:04 -04:00
orignal 6e09dc0710 Merge pull request #2494 from parsebulb/cmake-cxx
Fix setting C++ standard
2026-08-18 13:30:06 -04:00
parsebulb cddf8899da Fix setting C++ standard
The -std=c++X flag was set in three different places, (1) at the
beginning of the CMakeLists.txt with `set(CMAKE_CXX_STANDARD)`, later
(2) with `CMAKE_CXX_FLAGS` and finally (3) by the combination cmake's
CMP0128=NEW policy, some versions of g++ and the settings of
CMAKE_CXX_STANDARD_REQUIRED=ON and CMAKE_CXX_EXTENSIONS=OFF.

Because of (1) _or_ (2) the MinGW compiler (and possibly others) would
add -std=c++17 to the build arguments _after_ the -std=c++X defined in
`CMAKE_CXX_FLAGS` resulting in the c++17 standard being used regardless
of what `CMAKE_CXX_FLAGS` has to say.

This patch also applies the c++ standard per target to avoid the
`CMAKE_CXX_STANDARD` setting leaking into projects which include this
i2pd's CMakeLists.txt.
2026-08-18 17:40:53 +02:00
orignal 8887afe260 implemented remove torrent and torrent-remove RPC 2026-08-18 09:29:01 -04:00
orignal 04b9cdcd99 Revert "openbsd: fix a issue from IRC chat"
This reverts commit 55ecab7c8d.
2026-08-18 06:56:58 -04:00
orignal 4fa515b4fe Merge pull request #2492 from pobregat0/server-tunnel-acceptor
keep the acceptor of a server tunnel through a reload
2026-08-17 22:40:34 -04:00
PobreGato bde02543b0 take the acceptor off only if this tunnel set it 2026-08-18 05:14:42 +03:00
PobreGato a30e6ae50f keep the acceptor of a server tunnel through a reload 2026-08-18 04:34:47 +03:00
orignal c6a19a594d require higher version for boost for compatibility with std::string_view 2026-08-17 21:27:37 -04:00
orignal 6c9ded8926 Merge pull request #2490 from jpk68/size-checks
libi2pd: add missing size checks
2026-08-17 20:11:27 -04:00
orignal 16c74918c4 Merge pull request #2491 from pobregat0/tag-three-way
compare tags by value in ordered containers
2026-08-17 20:07:37 -04:00
PobreGato 03daaf85be compare tags by value in ordered containers 2026-08-18 03:06:31 +03:00
orignal 71177d649c send some stats and status in torrent-get response 2026-08-17 18:47:48 -04:00
orignal 9b7cda3775 send torrents in result for torrent-get RPC 2026-08-17 17:48:54 -04:00
orignal fad3294ed3 handle torrent-get RPC 2026-08-17 16:34:52 -04:00
jpk68 575acd6f13 libi2pd: add missing size checks 2026-08-17 13:27:12 -04:00
orignal d9cd383b08 Merge pull request #2489 from pobregat0/tunnel-reload-params
apply tunnel parameters on reload
2026-08-16 22:09:55 -04:00
PobreGato 98c0035620 apply tunnel parameters on reload 2026-08-17 05:01:00 +03:00
orignal c3541c3966 implemented rpcaddress param 2026-08-16 21:33:50 -04:00
orignal 996a467513 Merge pull request #2488 from pobregat0/streaming-lock-guard
use lock_guard for streams mutex
2026-08-16 20:46:52 -04:00
PobreGato d2a6ed9100 use lock_guard for streams mutex 2026-08-17 03:45:16 +03:00
orignal a5d5eab81d Merge pull request #2486 from pobregat0/local-destination-info
added LocalDestinationInfo I2PControl request
2026-08-16 20:39:54 -04:00
PobreGato 37acd98bdd move GetStreamsList body to Streaming.cpp 2026-08-17 03:35:32 +03:00
orignal ff5f8d1be6 Merge pull request #2487 from pobregat0/i2pcontrol-cert-subject
set subject name in I2PControl certificate
2026-08-16 20:28:57 -04:00
orignal 1d0162078c use std::mt19937 instead RANG_bytes 2026-08-16 20:26:52 -04:00
PobreGato 08ec42909a return the stream list instead of filling a reference 2026-08-17 03:21:18 +03:00
PobreGato 2cf65a289b set subject name in I2PControl certificate 2026-08-17 03:16:51 +03:00
orignal 73ee29a38c Merge pull request #2485 from pobregat0/i2pcontrol-services-comma
don't put leading comma in ClientServicesInfo reply
2026-08-16 20:08:57 -04:00
orignal eef01aa496 Merge pull request #2483 from wipedlifepotato/openssl
openbsd: fix a issue from IRC chat
2026-08-16 20:07:04 -04:00
user 55ecab7c8d openbsd: fix a issue from IRC chat 2026-08-16 23:24:02 +00:00
orignal a5ded7f5a3 send JSON error response 2026-08-16 16:38:01 -04:00
PobreGato 52bde6a907 added LocalDestinationInfo I2PControl request 2026-08-16 22:50:47 +03:00
PobreGato 99d099a426 don't put leading comma in ClientServicesInfo reply 2026-08-16 22:50:31 +03:00
orignal 4dd8577731 implemented torrent-add RPC 2026-08-16 14:48:11 -04:00
orignal 680f781b8c create .torrent fiel and torrent data files if added from RPC 2026-08-16 09:06:11 -04:00
orignal 7dae8cfcc4 detect clnag compiler properly 2026-08-16 08:12:19 -04:00