Jari Sundell
2e0a417367
Add optional Lua scripting capabilties - kannibalox@gmail.com
2025-01-19 04:02:06 +09:00
Jari Sundell
b5a6ee33a1
Merge pull request #1375 from rakshasa/fix/github-workflows
...
Added separate workflow for clang-tidy static analysis.
2025-01-15 08:45:06 +01:00
rakshasa
3378355b64
Added separate workflow for clang-tidy static analysis.
2025-01-15 07:38:30 +00:00
Jari Sundell
6f5d06907b
Merge pull request #1374 from stickz/remove-rak-functional
...
cleanup: Remove rak/functional.h
2025-01-13 10:06:07 +01:00
stickz
712e7e5db0
cleanup: Remove rak/functional.h
...
This commit replaces the `rak/functional.h` features with lambdas and std functions.
There was one instance with `std::sort` where the comparison operator was always evaluating to false and it wasn't sorting anything. This is removed in favour of the default comparison operator.
`std::sort(transferChunks.begin(), transferChunks.end());`
2025-01-12 14:30:01 -05:00
Jari Sundell
2b73c92a3e
Merge pull request #1372 from stickz/remove-rak-mem-fun
...
cleanup: Remove rak mem_fun
2025-01-12 18:43:15 +01:00
stickz
c5563d65c5
cleanup: Remove rak mem_fun
...
This commit removes rak:mem_fun and replaces it with std::function and lambdas.
2025-01-12 10:18:50 -05:00
Jari Sundell
d412caea66
Merge pull request #1370 from stickz/remove-rak-call-delete
...
cleanup: Replace rak::call_delete with lambdas
2025-01-12 11:40:10 +01:00
stickz
9c92bfc7e2
cleanup: Remove rak::call_delete
2025-01-11 21:22:40 -05:00
Jari Sundell
4a074adc7b
Merge pull request #1369 from rakshasa/kannibalox-feature/color
...
Kannibalox feature/color
2025-01-09 17:12:23 +01:00
rakshasa
3bf494dbc6
Merge branch 'master' into kannibalox-feature/color
2025-01-09 15:55:11 +00:00
rakshasa
b193fedc65
Moved inlined functions out of class declaration.
2025-01-09 15:51:04 +00:00
kannibalox
6c5a6a3bb3
Manually include config.h for clang-tidy
...
Specifically this fixes errors related to undefined macros in headers, since those aren't recorded
in compile_commands.json
2025-01-09 15:28:20 +00:00
kannibalox
7534b02815
Add page up/down and home/end bindings to download list
2025-01-09 15:28:16 +00:00
kannibalox
6d8c214d09
Manually include config.h for clang-tidy
...
Specifically this fixes errors related to undefined macros in headers, since those aren't recorded
in compile_commands.json
2025-01-08 19:49:59 +01:00
rakshasa
525b038dbb
Inline test data instead of using separate text file.
2025-01-08 17:58:09 +00:00
kannibalox
06741a7578
Update XMLRPC unit tests to include <data> for arrays
2025-01-08 17:58:09 +00:00
rakshasa
4cc79590be
Release 0.15.1.
2025-01-08 17:58:09 +00:00
simonc56
452397b8af
tinyxml2: array with data for dict type
2025-01-08 17:58:09 +00:00
simonc56
c9a8a1e35c
tinyxml2: in xmlrpc an array must include values in a data element
2025-01-08 17:58:09 +00:00
stickz
8f77d87994
tinyxml2: Change from i4 to i8
...
We need to follow the same specification as xmlrpc-c until we deprecate it. It is breaking various software such as sonarr. We can't have xmlrpc using i8 and tinyxml2 using i4, while we allow both to be used.
2025-01-08 17:58:09 +00:00
rakshasa
842edaa201
Added missing base64.h header.
2025-01-08 17:58:09 +00:00
kannibalox
4876301cf4
Add page up/down and home/end bindings to download list
2025-01-08 18:46:09 +01:00
rakshasa
c2c6a4be26
Inline test data instead of using separate text file.
2025-01-03 06:04:09 +09:00
kannibalox
350d03ca04
Update XMLRPC unit tests to include <data> for arrays
2025-01-03 05:26:55 +09:00
rakshasa
31602917b7
Release 0.15.1.
v0.15.1
2025-01-01 12:59:06 +00:00
rakshasa
a9898c6ef6
Merge branch 'master' of github.com:rakshasa/rtorrent
2025-01-01 12:34:15 +00:00
simonc56
2bf81aa8f5
tinyxml2: array with data for dict type
2025-01-01 21:33:30 +09:00
simonc56
a9c0b65b9d
tinyxml2: in xmlrpc an array must include values in a data element
2025-01-01 21:33:30 +09:00
stickz
73fed24459
tinyxml2: Change from i4 to i8
...
We need to follow the same specification as xmlrpc-c until we deprecate it. It is breaking various software such as sonarr. We can't have xmlrpc using i8 and tinyxml2 using i4, while we allow both to be used.
2025-01-01 21:32:23 +09:00
rakshasa
f906e9a966
Added missing base64.h header.
2025-01-01 12:15:54 +00:00
kannibalox
090b3889ce
Add color support for the TUI
...
Closes #398
2024-12-26 16:32:42 -05:00
rakshasa
68fdb86c72
Update configure.ac.
v0.15.0
2024-12-26 16:50:18 +00:00
rakshasa
6b8a285e75
Release v0.15.0.
2024-12-26 16:29:16 +00:00
kannibalox
8f0331625a
Correctly handle commands that are flagged as not using targets
...
Fixes #1346
2024-12-27 01:00:23 +09:00
stickz
3c65afcf8c
tinyxml2: Resolve LTO issues
...
We can't have two classes with the same name in the rpc namespace. It causes ODR and lto-type-mismatches when compiling rTorrent with LTO.
This pull request addresses the problem by renaming the `xmlrpc_error` error class to `xmlrpc_error_c` in the xmlrpc_c file.
2024-12-27 00:55:29 +09:00
kannibalox
cd9948a4a8
Remove/replace functional_fun.h functions
2024-12-22 19:17:36 +09:00
rakshasa
0d1b9e9d55
Removed cppunit ldflags from common flags.
2024-12-21 02:28:46 +09:00
rakshasa
6561c00ae3
Use std::array in partial_queue.
2024-12-21 02:23:58 +09:00
rakshasa
b8cb828d96
Replaced depreacted rak/functional calls.
2024-12-15 00:54:20 +09:00
stickz
e3be3b2c12
scgi: Fix Apple and Solaris compatibility
...
This is a follow up to #1310 . Apple and Solaris do not support MSG_NOSIGNAL, so disable this flag for these platforms until we find a better solution. Other platforms remain unaffected.
2024-12-14 23:34:48 +09:00
Jari Sundell
0f93fa109c
Fixed curl stack shutdown with active downloads. ( #1338 )
...
Fixed curl stack shutdown with active downloads.
2024-12-12 22:59:48 +09:00
Jari Sundell
7e1193acab
Run unit test in workflow PR.
2024-12-08 01:32:46 +09:00
kannibalox
5792ed1ae2
Apply clang-format
2024-12-07 19:26:29 +09:00
kannibalox
8cfc71b936
Fix system.multicall parameter parsing
2024-12-07 19:26:29 +09:00
kannibalox
f2b065a798
Fix typo
2024-12-07 19:26:29 +09:00
kannibalox
f33c2560a3
Default to an empty list when not passed explicit <params>
2024-12-07 19:26:29 +09:00
kannibalox
db1e78fa9d
Update tests to fix typo
2024-12-07 19:26:29 +09:00
kannibalox
48c40ee0c6
Fix typo: methodReponse -> methodResponse
2024-12-07 19:26:29 +09:00
kannibalox
3aeb213dc4
Avoid <int> in tinyxml2 responses
...
It's part of the XML-RPC spec, but some clients only accept i4/i8, which
should be supported nearly universally.
Fixes #1330
2024-12-07 19:26:29 +09:00