Commit graph

83 commits

Author SHA1 Message Date
Igor Katson
ffc662e370 Less spammy log message 2024-05-01 00:43:51 +04:00
Igor Katson
3d46d7cb97
Fix clippy lints related to recent bug 2024-04-24 14:19:04 +01:00
Igor Katson
5dee78227b
Fixing versions for cargo publish 2024-04-23 23:32:02 +01:00
Igor Katson
6a23f311e1 Send cancellations on steal 2024-04-07 22:45:47 +01:00
Igor Katson
7ec76fc5d4 Update subcrates 2024-04-07 10:56:06 +01:00
Igor Katson
5eb01ac226
Ability to change the list of files at any time, including through UI (#115)
* Now can update the list of files without pausing/unpausing

* Shrink a few functions

* Reopen write when updating files

* Todos

* opened_file abstraction

* iter_pieces_within iterator

* Simplify iter_pieces_within

* Simplify iter_pieces_within

* Add "iter_file_details"

* temporarily broken: readonly by default

* Live torrent - reopen files

* Reopen files after changing the list

* Now reopening files read only when they are completed

* Fix a bug in opened_file.rs

* update todos

* update help

* Reconnect all peers that are idling

* Add a couple fields to OpenedFile

* Add a couple fields to OpenedFile

* Small cleanups - use the new iterator where possible

* size_of_piece_in_file function

* Updating have

* Include file progress

* Almost nothing

* ugly progress bars

* bad UI, saving

* its not so bad

* Works now

* update progress bar a bit

* Reopen read-only on pause

* Zero bytes isnt too bad! Doesnt break anything

* fix per file progress bars

* progress bar not as ugly anymore?

* ui tweaks

* fix a react bug

* TODO.md update

* Fix js + TODOs

* Compute per-file progress on init

* Fix stats updating live

* Nothing

* Nothing

* cleanup ui a bit

* Nothing

* Final fixes

* Trying to fix rust 1.73

* Sorting filenames

* remove unnecessary indentation

* Remove unnecessary comment
2024-04-06 09:20:03 +01:00
Igor Katson
2972b0c87b Remove a redundant method 2024-03-30 20:22:04 +00:00
Igor Katson
0cc90f19ab Simplify chunk_size 2024-03-30 20:22:04 +00:00
Igor Katson
3e2fac81b1 Trying to check / simplify / improve math 2024-03-30 20:22:04 +00:00
Igor Katson
c5b21992e6 Make test compile 2024-03-30 20:22:04 +00:00
Igor Katson
304b2c6328 Add extensive tests for Lengths. 2024-03-30 20:22:04 +00:00
Igor Katson
950e0cd50e Remove custom ceil_div_u64 2024-03-30 20:22:04 +00:00
Igor Katson
9722dd8cb7 Fewer unwraps 2024-03-30 20:22:04 +00:00
Igor Katson
8402a821ad
Prepare for 5.5.4 (#107) 2024-03-29 21:06:59 +00:00
Igor Katson
bb0f3c36ec
Merge pull request #106 from ikatson/resilience-to-bogus-peers
Fix resilience to bogus peers
2024-03-29 20:46:37 +00:00
Igor Katson
2ef5124a2d
Nothing 2024-03-29 20:16:44 +00:00
Igor Katson
07bd9dec83
Remove sha1 extra features (#105)
Remove all extra sha1 features
2024-03-29 15:57:30 +00:00
Igor Katson
c481f77354
Rename generic bounds for clarity 2024-03-29 13:44:30 +00:00
Igor Katson
fa05fe8376
Box<[u8]> instead of Vec<u8> for ByteBufOwned 2024-03-29 13:44:10 +00:00
Igor Katson
f42de46878
Revert "Box<[u8]> instead of Vec<u8> for ByteBufOwned"
This reverts commit deee41cd93.
2024-03-29 13:00:57 +00:00
Igor Katson
e862d34cb4
Revert "Rename generic bounds for clarity"
This reverts commit 8870fb2d5f.
2024-03-29 13:00:54 +00:00
Igor Katson
8870fb2d5f
Rename generic bounds for clarity 2024-03-29 12:19:15 +00:00
Igor Katson
deee41cd93
Box<[u8]> instead of Vec<u8> for ByteBufOwned 2024-03-29 11:00:58 +00:00
Igor Katson
4d6b5181eb
Prepare v5.5.3 (#98)
* Forgot to commit version updates

* Cargo.toml 5.5.3

* Cargo.lock

* Tag desktop 5.5.3

* Update deps
2024-03-25 13:40:04 +00:00
Matt Joiner
b184354c2f
Make the announce info field optional 2024-03-24 18:27:08 +11:00
Igor Katson
2778d46bb3
End-to-end unit test (#90)
* First implementation of create_torrent_file

* Test harness for e2e preparing

* Saving

* Continuing test harness

* Continuing test harness

* Continuing test harness

* All servers are running

* Full e2e harness done

* Test e2e harness working fine

* Remove lints

* injecting faults

* The e2e test runs continuously

* e2e test

* Add a test for create_torrent

* Nothing

* Nothing, just tweaking the numberes

* Update tokio, remove custom tempfile shim
2024-03-05 09:18:22 +00:00
Igor Katson
5488e1d40f
Split up a couple large functions 2024-02-28 20:27:45 +00:00
Igor Katson
34f3ec6c29
Inline(never) more things for rqbit(bin) to compile faster 2024-02-26 23:08:47 +00:00
Igor Katson
76b7d23149
Clippy 2024-02-18 20:16:18 +00:00
Igor Katson
8733538d83
Abstracting tracker comms 2024-02-17 10:51:09 +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
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
Arifcan Balta
911bf3a0d5
Chunk-piece length comparison fix (#55) 2023-12-13 17:53:27 +00:00
Igor Katson
b7fbb5be63
Preparing for 5.0.0 release 2023-12-07 12:33:08 +00:00
Igor Katson
bed7433d8e
Use tokio_util::CancellationToken everywhere 2023-12-07 10:22:17 +00:00
Igor Katson
14d7ee04ea
Prepare for publishing new crates 2023-12-06 01:18:25 +00:00
Igor Katson
80df2c1001
Display upload speed in Web UI 2023-12-05 20:52:30 +00:00
Igor Katson
006d83d6a7
Update docs, cleanup for 4.0.0 release 2023-12-03 12:14:50 +00:00
Igor Katson
9b96eca041
Update tags 2023-12-02 22:42:24 +00:00
Igor Katson
28c2db2a37
Made changes for Desktop app to work 2023-12-02 21:12:15 +00:00
Igor Katson
23f5e3dc06
Fixing cargo publish 2023-12-01 11:48:07 +00:00
Igor Katson
414b2c5f65
Print all running tasks periodically 2023-12-01 10:48:16 +00:00
Igor Katson
18c845d6f0
Shorten debug for messages 2023-11-30 17:34:39 +00:00
Igor Katson
16a4d22b6b
Fix a bug in get_bit() 2023-11-30 14:49:39 +00:00
Igor Katson
c8967f2469
Bucket refresher. Broken 2023-11-30 11:38:15 +00:00
Igor Katson
52883769e1
Session persistence now saving full torrent contents 2023-11-30 00:48:57 +00:00
Igor Katson
a5ae2988b8
Downgraded a bunch of messages from debug to trace 2023-11-29 23:45:08 +00:00
Igor Katson
d8fdb94305
DHT instrumentation 2023-11-25 15:15:16 +00:00