Commit graph

627 commits

Author SHA1 Message Date
Igor Katson
d1956ffa29
Tag 5.4.2 2024-01-21 11:11:30 +00:00
Igor Katson
5ff88dcad2
Merge pull request #76 from ikatson/fix-66
Fix for #66
2024-01-21 11:06:49 +00:00
Igor Katson
2a60ff2a7f
Remove "previously_requested_pieces"
In https://github.com/ikatson/rqbit/issues/66 from a posted stacktrace
it became clear that setting previously_requested_pieces may panic.

I found a place where it was not initialized - in "on_have" callback.

I wanted to fix that + make it less error-prone, however noticed that
previously_requested_pieces isn't used at all anyway, because its use
was removed during one of the recent refactorings.

As things seem to be working fine without it, just removed it to simplify
code.
2024-01-21 10:58:59 +00:00
Igor Katson
fb3ff76716
Update Cargo.lock 2024-01-21 10:58:35 +00:00
Igor Katson
c8189de3d2
Merge pull request #72 from jabedude/bep52-magnet-support
Add support for BTv2 magnet links
2024-01-08 11:27:27 +00:00
Joshua Abraham
0836b651a7 Add support for BTv2 magnet links 2024-01-07 20:57:10 -06:00
Igor Katson
6a49ae7428
Cargo update 2024-01-03 14:44:31 +00:00
Igor Katson
0400bdec6d
Tag 5.4.1 2024-01-03 14:41:32 +00:00
Igor Katson
b289f1eeaa
Fix file selection window on Windows that didnt split file with proper separator 2024-01-03 14:36:16 +00:00
Igor Katson
b808382169
Fix a bug when remarking already have pieces broken 2024-01-02 18:52:00 +00:00
Igor Katson
0ff63d8a24
Fix progress bar color when checking files 2024-01-02 18:43:25 +00:00
Igor Katson
51ed57a74d
Merge pull request #74 from ikatson/small-refactor
Small refactor - introduce ReadBuf
2024-01-02 18:37:47 +00:00
Igor Katson
8ee98548f5
A tiny optimisation to not memcpy the buffer as often if we have many messages already buffered 2024-01-02 18:36:07 +00:00
Igor Katson
d5d98aff60
Extract ReadBuf logic into a separate struct 2024-01-02 18:36:07 +00:00
Igor Katson
09252c0397
Remove "read_one" macro 2024-01-02 18:36:07 +00:00
Igor Katson
396bacff0c
Merge pull request #73 from ikatson/less-stealing
Less stealing
2024-01-02 18:35:49 +00:00
Igor Katson
dfdb6b5fae
Do not ignore errors in reserve_next_needed_piece() 2024-01-02 18:16:16 +00:00
Igor Katson
8cdf44c4fd
Make final stealing less aggressive 2023-12-30 18:27:19 -05:00
Igor Katson
5d4ffae6de
When stealing pieces, only steal from slower peers 2023-12-30 18:27:19 -05:00
Igor Katson
1e525eb91e
Move per-peer piece stats into methods 2023-12-30 18:27:19 -05:00
Igor Katson
1157866152
Merge pull request #67 from ikatson/react-zustand
Use react zustand to reduce re-renders
2023-12-19 23:10:02 +00:00
Igor Katson
89bbcd2a27
2/n reduce react re-renders 2023-12-19 23:05:57 +00:00
Igor Katson
e6ef3ff23f
1/n Use zustand to reduce re-renders 2023-12-17 19:27:22 +00:00
Igor Katson
3dc2e3eace
Tag 5.4.0 2023-12-17 14:43:12 +00:00
Igor Katson
8635780554
Merge pull request #65 from ikatson/rlimit
Try to increase limits on start
2023-12-17 13:03:18 +00:00
Igor Katson
fc28e18ffd
Try to increase limits on start 2023-12-17 13:01:59 +00:00
Igor Katson
a60738ff89
Fix color name for progress 2023-12-17 12:53:05 +00:00
Igor Katson
1bebc10803
Merge pull request #64 from ikatson/better-file-selection
A widget to select files better when there are many
2023-12-17 12:46:55 +00:00
Igor Katson
ccc19f9e1a
A widget to select files better when there are many 2023-12-17 12:46:08 +00:00
Igor Katson
ee307c11c5
Tiny UI tweaks 2023-12-17 10:34:35 +00:00
Igor Katson
55f3b23eed
Cors: more finegrained allowlist, make it simpler 2023-12-17 10:25:56 +00:00
Igor Katson
98ce0408f7
Limit colors and re-use tailwind config in desktop 2023-12-16 19:15:09 +00:00
Igor Katson
d8c356a008
spinner CSS tweak 2023-12-16 18:50:24 +00:00
Igor Katson
3bd1a4511f
UI: error messages wrap now 2023-12-16 18:44:31 +00:00
Igor Katson
f49346c151
Re-use the open file when logging to file 2023-12-16 18:40:37 +00:00
Igor Katson
6da08263be
Fix a compilation error for crates.io publish 2023-12-16 11:24:53 +00:00
Igor Katson
4606bd1fc0
Tag 5.3.0 2023-12-16 11:21:21 +00:00
Igor Katson
c4dd028cfc
Desktop lg by default 2023-12-16 11:20:25 +00:00
Igor Katson
17ddaa3427
Merge pull request #61 from arccik/dark-theme
Dark mode
2023-12-16 11:18:11 +00:00
Igor Katson
343978b7f8
webui-build 2023-12-16 11:17:23 +00:00
Igor Katson
1758af98a0
Ignore a test 2023-12-16 11:15:42 +00:00
Igor Katson
4f35120ff5
Update log lines for dark mode 2023-12-16 11:13:19 +00:00
Igor Katson
33c8b11c6e
2/n Fixing dark mode bugs 2023-12-16 11:09:51 +00:00
Igor Katson
8d886e0961
1/n Fixing dark mode 2023-12-16 10:23:24 +00:00
Artur Lozovski
f42e57d464 dark mode added 2023-12-15 17:55:28 +00:00
Artur Lozovski
5a0568bec9 add dark styles to torrentActions 2023-12-15 14:44:36 +00:00
Artur Lozovski
f1fc12e2ac style-dark: progressBar 2023-12-15 14:42:14 +00:00
Artur Lozovski
fb32b8f0bb change red to darker shade and whitespace-pre-line added to wrap text in alert box 2023-12-15 14:38:14 +00:00
Artur Lozovski
e06af3e570 add dark styles to modal 2023-12-15 14:30:49 +00:00
Artur Lozovski
ebe737bc99 added classes to torrentRow and globas.css for dark mode 2023-12-15 13:29:40 +00:00