rakshasa
b825906034
Store copies of command names added to xmlrpc-c.
2025-11-17 20:30:13 +01:00
Jari Sundell
900be334dc
Cleaned up xmlrpc-c string sanitization.
2025-11-17 02:48:32 +09:00
Auska
2d2a756a3c
fix: replace VLA
...
Avoids -Wvla-cxx-extension warning by using standard C++ container.
VLA is not part of standard C++ and causes portability issues.
2025-10-14 11:16:35 +02:00
Jari Sundell
48f82c17c2
Remove deprecated no-target flags for commands.
2025-09-20 17:27:26 +09:00
rakshasa
675625255d
Check if target is null in xmlrpc_to_object().
2025-09-20 09:22:56 +02:00
Jari Sundell
658e9f7578
Use simplified fd_accept().
2025-09-18 17:40:56 +09:00
Jari Sundell
e7a80c7b18
Remove deprecated rak::socket_address.
2025-09-17 21:44:54 +09:00
Bryant Eadon
00ef7d4be2
cleanup of personal information
...
Given the change to the README I thought it might be a good idea to also update the copyright notices which had an address too.
2025-09-02 20:10:38 +02:00
Jari Sundell
d35a8d68e6
Fixed uninitialized rpc slots when SCGI is not used.
2025-08-25 15:56:15 +09:00
PRESFIL
1492d39a3a
feat(lua): Make LUA_DATADIR option
2025-08-07 11:03:58 +02:00
PRESFIL
8dcf2bc609
chore(lua): Use PACKAGE_DATADIR and AM_CPPFLAGS
2025-08-07 11:03:58 +02:00
PRESFIL
7022722c64
chore(lua): Make LUA_DATADIR instead of PACKAGE_DATADIR
2025-08-07 11:03:58 +02:00
PRESFIL
43c36db5fc
chore(lua): Add empty newlines for code readability
2025-08-07 11:03:58 +02:00
PRESFIL
f8ec1ca95e
fix(lua): Make rtorrent.lua accessible at start
2025-08-07 11:03:58 +02:00
PRESFIL
d9976af767
chore(rpc/parse.cc): Fix typo
2025-08-07 11:03:58 +02:00
PRESFIL
c649e49a42
fix(lua): Treat VALUE always as integer
...
rtorrent doesn't have floating point data type
2025-08-07 11:03:58 +02:00
PRESFIL
9b0d74bd68
fix(lua): Execution of commands with empty target
2025-08-07 11:03:58 +02:00
PRESFIL
09dd1ce9c8
fix(lua): Handling of LUA_TNIL
2025-08-07 11:03:58 +02:00
PRESFIL
eb45508ab9
chore(lua): Remove unused lua_rtorrent_call() local function
2025-08-07 11:03:58 +02:00
PRESFIL
a1ff6f5710
fix(lua): require(rtorrent) cause infinite loop
...
- missing `pos = end + 1` pos caused infinite loop
- there was no processing of the last element after the last ';', i.e. it was
assumed that `lua_path` always has ';' in the last character
2025-08-07 11:03:58 +02:00
Rosen Penev
5175414333
add chrono header
...
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-22 17:26:22 +02:00
Rosen Penev
84c0d516ef
replace for_each with range loops
...
No advantage over the latter, which is simpler.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-21 11:23:11 +02:00
Rosen Penev
0948b5f86a
clang-tidy: convert loops to range based
...
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-19 09:57:21 +02:00
Rosen Penev
f0517e2748
replace various find_if calls
...
C++11 has shorter equivalents.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-18 14:39:42 +02:00
Rosen Penev
47089bce70
remove some transform calls
...
for range loop is more readable.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-17 17:13:05 +02:00
rakshasa
231606afc1
Fix ExecFile waitpid error handling.
2025-06-01 18:41:22 +02:00
Rosen Penev
897a6face2
clang-tidy: use default member init
...
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-01 08:16:02 +02:00
Rosen Penev
3ab38583b8
remove __UNUSED
...
No need since we have C++17.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-01 08:07:37 +02:00
Rosen Penev
1003013f10
remove allocators.h
...
Unused.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-01 08:07:37 +02:00
Jari Sundell
f0809ec29d
Various pool_event_* and thread API cleanups.
2025-06-01 01:22:14 +09:00
Jari Sundell
e8c1f3ed2c
Update to use new this_thread::Poll().
2025-05-31 22:22:31 +09:00
Jari Sundell
9d5b769d78
Removed/replaced deprecated commands (execute/schedule/schedule_remove) and removed global lock in ExecFile.
2025-05-05 16:55:38 +09:00
rakshasa
55615abe9e
Use poll interrupting callbacks for SCGI requests.
2025-05-04 11:57:04 +02:00
rakshasa
303edab9ec
Detect content type when there's multiple elements.
2025-05-04 11:28:18 +02:00
Jorge Israel Peña
58a74cee48
Wrap fault struct in value
2025-05-02 12:13:49 +02:00
Jari Sundell
85e74b5542
Removed priority_queue and rak/timer.
2025-05-02 18:03:51 +09:00
Jari Sundell
97415c656b
Various scheduler and therad cleanups.
2025-05-01 16:38:49 +09:00
Jari Sundell
dd221ac66a
Replaced Thread::next_timeout_usec().
2025-04-16 02:39:40 +09:00
rakshasa
a8622e5c80
Cleaned up thread-related code.
2025-04-12 23:03:08 +02:00
Jari Sundell
2ab7460cbc
Fix SCGI threading and added missing header.
2025-04-01 01:26:07 +09:00
rakshasa
2a998df4f1
Fixed LUA compilaition issue.
2025-03-31 06:19:02 +02:00
rakshasa
d5b28c30a9
Added default switch cases to RpcManager.
2025-03-30 15:38:07 +02:00
rakshasa
8ac31afd06
Fixed tinyxml2 compile error.
2025-03-28 16:07:55 +01:00
Jari Sundell
f33fc331ce
Thread-safe improvements to dht/tracker code and reorganized thread objects.
2025-03-13 22:15:12 +09:00
Jari Sundell
0adfc17335
Compatibility fixes with thread-safe list tracker changes.
2025-03-11 20:38:04 +09:00
rakshasa
37a5b7bccb
Moved torrent::Tracker to torrent::tracker::Tracker.
2025-02-27 19:24:35 +01:00
Auska
851ac469c3
Fix xmlrpc namespace
2025-02-03 17:37:01 +01:00
Peter Woodman
787e23a25d
clang-tidy: ignore third-party code nlohmann/json.h
2025-01-20 12:31:04 +01:00
kannibalox
9f48226663
Add JSON-RPC capability
...
Inline nlohmann/json for the JSON parsing itself, and handle requests
with the same SCGI interface as XML-RPC.
Based off the work in https://github.com/jesec/rtorrent
2025-01-20 12:31:04 +01:00
stickz
e7fc891f11
cleanup: Changes for c++17
...
This cleanup adjusts the rTorrent code to comply with c++17 standard. It also simplifies various parts of the code.
2025-01-18 20:15:20 +01:00