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
e64f9fe324
Include torrent/common.h header.
2025-09-01 20:46:18 +09:00
Jari Sundell
9d3f6645be
Fix formatting and capitalization in README.md
2025-09-01 16:45:24 +09:00
Jari Sundell
285827e611
Revise README structure and donation information
...
Updated sections in README for clarity and formatting.
2025-09-01 09:42:18 +02:00
Bryant Eadon
7fa1166baa
README combined
...
Combined README files to reduce clutter. However, the build instructions are incomplete ... I've started by modifying these so a build will complete using the instructions once I get a closer look at libtorrent ... additions welcome.
2025-09-01 09:42:18 +02:00
Bryant Eadon
43ba43252e
Delete uused file
...
minor cleanup.
2025-09-01 09:42:18 +02:00
Bryant Eadon
207375c0cc
Update README.md
...
proposing a new message for the release download. to draw attention to the github repo, instead of the archive.
2025-08-31 12:47:12 +02:00
PRESFIL
4a5bc86643
doc(lua): More examples for insert_lua_method
2025-08-26 20:11:17 +02:00
PRESFIL
1039497a1a
feat(lua): Extend insert_lua_method's func_name's arguments
...
Allows short form with number of arguments and long flexible form with table:
```lua
rtorrent.insert_lua_method('d.watch_handler', 'watch_handler', { '$argument.0=' })
rtorrent.insert_lua_method('d.watch_handler', 'watch_handler', { 0 })
rtorrent.insert_lua_method('d.watch_handler', 'watch_handler', { [1] = 0 })
rtorrent.insert_lua_method('d.watch_handler', 'watch_handler', 1)
rtorrent.insert_lua_method('d.watch_handler', 'watch_handler', 0)
```
Also, there are way to pass no arguments at all:
```lua
rtorrent.insert_lua_method('d.watch_handler', 'watch_handler')
```
Type checking added.
2025-08-26 20:11:17 +02:00
PRESFIL
36a39e91c8
doc(lua): insert_lua_method: Document, that target always passed
2025-08-26 20:11:17 +02:00
Jari Sundell
d35a8d68e6
Fixed uninitialized rpc slots when SCGI is not used.
2025-08-25 15:56:15 +09:00
Jari Sundell
bb1cdfc0e7
Fixed DHT bind address and converted to using sockaddr.
2025-08-23 02:54:54 +09:00
PRESFIL
b0c68aa398
doc(lua): Example: Remove <const> for Lua 5.3 compatibility
2025-08-07 11:03:58 +02: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
2829a73d8b
chore(lua): Make AC_DEFINE_UNQUOTED for 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
9ed8fe8fd8
doc(lua): Add example Lua configuration
...
Additional step to test in development (non-packaged) mode:
- In packaged mode, rtorrent knows where to search rtorrent.lua, but in
project mode, rtorrent.lua located in a non-standard location.
Therefore run rtorrent with following environment variabler set:
LUA_PATH=<full path to rtorrent project dir>/lua/?.lua
2025-08-07 11:03:58 +02:00
PRESFIL
95cc070ecc
feat(lua): Add insert_lua_method for lua-callbacks
...
Updated @kannibalox's method to pass lua-functions as rtorrent's methods.
2025-08-07 11:03:58 +02:00
PRESFIL
d43d08404a
feat(lua): Some aliases for Target-commands
2025-08-07 11:03:58 +02:00
PRESFIL
c92becbb7c
feat(lua): Replace Autocall with Target-object, Autocall_config -> Autocall
...
Deep-copy `__namestack` decouples all instances of Autocall, previously it
worked as singleton. This allows to store call-chains as variables, aliases.
Target-object allows to avoid duplication of the target-parameter as required
with Autocall by storing them as variables.
Autocall_config renamed to Autocall for brevity.
2025-08-07 11:03:58 +02:00
PRESFIL
20887b1ccb
fix(lua): print= shadowed by native Lua print()
...
Trying `rc.print()` causes redirection to native global Lua `print()`, which
prints to stdout. I don't see any proc of shor-circuiting `autocall_config`
with global environment `_G`.
2025-08-07 11:03:58 +02:00
PRESFIL
3bd111e498
feat(lua): Add autocall_config assignment semantic
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
rakshasa
756e3bd5ae
Invert color of focus ui element.
2025-08-05 08:56:22 +02:00
rakshasa
ce97bf583d
Fixed formating.
2025-08-04 09:52:27 +02:00
rakshasa
dd8281204f
Update common.m4.
2025-08-04 09:52:27 +02:00
rakshasa
420f03b40b
Fixed input key bindings.
2025-08-04 09:52:27 +02:00
mmmsalmon
9ac43c2b40
remove comment
2025-08-04 09:52:27 +02:00
mmmsalmon
25448320aa
add vi/emacs keybind for stopping/removing torrent from download list
2025-08-04 09:52:27 +02:00
rakshasa
788442de6a
Added test for xmlrpc string reflection.
2025-08-02 15:02:25 +02:00
rakshasa
4492715737
Strict checking of d.views push_back arguments.
2025-08-02 15:02:25 +02:00
Jari Sundell
f1a4c13c41
Added network.block.ipv4in6.set command.
2025-07-05 22:31:52 +09:00
Rosen Penev
e11ac9abe3
remove downloa_slot_map.h
...
Unused.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-30 10:14:07 +02:00
Rosen Penev
34aba86d67
remove std::function inheritance
...
This does nothing but bloat code size.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-30 10:00:23 +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
2b15c4a1fa
command_ui: use templates instead of function
...
Less overhead.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-21 11:48:21 +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
8b663dd169
add a void cast to get rid of warning
...
Just copied the file from libtorrent.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-20 13:07:51 +02:00
Rosen Penev
c48b7f5b93
replace VERSION with PACKAGE_VERSION
...
They're both the same. The latter is more descriptive.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-20 13:07:51 +02:00
rakshasa
4c06e7a923
Changed the order in which slots are added in HttpQueue.
2025-06-19 22:50:42 +02:00
Rosen Penev
e3918f5d84
remove some get() calls
...
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2025-06-19 10:07:52 +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