Commit graph

642 commits

Author SHA1 Message Date
Igor Katson
2f36515c32
Tag v5.5.0 2024-02-26 10:02:29 +00:00
Igor Katson
8db1f42f29
Cargo update 2024-02-26 10:01:54 +00:00
Igor Katson
3f8e3e3a3f
Merge pull request #85 from ikatson/udp-trackers
UDP trackers and better operation without DHT
2024-02-26 10:01:20 +00:00
Igor Katson
d3f017430b
Comment updates 2024-02-26 09:57:09 +00:00
Igor Katson
70c59834ba
Simplify the trait for tracker comms 2024-02-26 09:47:46 +00:00
Igor Katson
b30ee13388
Logging for UDP trackers 2024-02-26 09:42:06 +00:00
Igor Katson
e263441fb6
Better cancellation 2024-02-26 09:25:01 +00:00
Igor Katson
51dba8ab67
Remove unused field 2024-02-26 08:55:53 +00:00
Igor Katson
3a7207265f
Make force_tracker_interval be used again 2024-02-18 20:21:12 +00:00
Igor Katson
76b7d23149
Clippy 2024-02-18 20:16:18 +00:00
Igor Katson
f5ccb8632b
Cancellation... It compiles now at least with latest changes, but not sure if they work or are correct 2024-02-18 20:11:12 +00:00
Igor Katson
1582d16cc5
Fix unpause 2024-02-17 21:13:57 +00:00
Igor Katson
95769cca6a
Start calling trackers before going live 2024-02-17 11:14:40 +00:00
Igor Katson
8733538d83
Abstracting tracker comms 2024-02-17 10:51:09 +00:00
Igor Katson
6f3383050e
Implement ser/de for UDP tracker protocol 2024-02-11 12:12:37 +00:00
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