Commit graph

46 commits

Author SHA1 Message Date
Igor Katson
42bbf84ea5 Fixing up initialization to allow passing in custom storages 2024-05-02 12:29:46 +04:00
Igor Katson
1b49257019 Storages 2024-05-02 12:29:46 +04:00
Igor Katson
867785422c update a cuople error messages 2024-05-01 00:43:51 +04:00
Igor Katson
7e180c05b3 Fix the bugs 2024-05-01 00:43:51 +04:00
Igor Katson
d1c6a5b584 Streaming test 2024-05-01 00:43:51 +04:00
Igor Katson
10974888fa Streaming test 2024-05-01 00:43:51 +04: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
51d1a0b0c7 Jeez... 2024-03-30 20:46:29 +00:00
Igor Katson
efcffdd072 Well, it doesnt crash at least 2024-03-30 20:46:29 +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
deee41cd93
Box<[u8]> instead of Vec<u8> for ByteBufOwned 2024-03-29 11:00:58 +00:00
Igor Katson
3a1d0c3ac9
Tiny refactor: simplify a few methods by removing initial_peers propagated too deep down 2024-03-02 10:57:32 +00:00
Igor Katson
a6ebecee97
Report size to trackers 2024-03-01 07:54:27 +00:00
Igor Katson
a001bb8c97
Shorten Pin<Box to BoxFuture 2024-02-27 08:14:39 +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
51dba8ab67
Remove unused field 2024-02-26 08:55:53 +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
Joshua Abraham
0836b651a7 Add support for BTv2 magnet links 2024-01-07 20:57:10 -06:00
Igor Katson
325855ba56
Fix only files not working properly (#59)
* 1/n fixing only files - tracking stats better

* 2/n proper tracking of stats when only certain files selected
2023-12-14 11:58:09 +00:00
Igor Katson
bed7433d8e
Use tokio_util::CancellationToken everywhere 2023-12-07 10:22:17 +00:00
Igor Katson
215bccb89c
Fix build on rust 1.73 2023-12-05 20:08:37 +00:00
Igor Katson
006d83d6a7
Update docs, cleanup for 4.0.0 release 2023-12-03 12:14:50 +00:00
Igor Katson
98d487a5af
external_peer_adder now dies 2023-12-02 14:57:00 +00:00
Igor Katson
f337ab1837
Pass back peers from Web UI when adding a magnet in attempt to speed it up 2023-12-01 09:30:23 +00:00
Igor Katson
210a3d5d3e
Use concrete type for DHT peers 2023-11-30 08:06:55 +00:00
Igor Katson
c6b4e78747
Nothing much 2023-11-25 19:20:47 +00:00
Igor Katson
3de67d0902
Can now try to unpause errored torrent 2023-11-25 18:48:23 +00:00
Igor Katson
6f113c5137
Fatal error handling 2023-11-25 13:53:57 +00:00
Igor Katson
1bea1f9235
Better API for stats printing 2023-11-25 10:11:40 +00:00
Igor Katson
bec5e1be7f
Session persistence 2023-11-25 02:36:19 +00:00
Igor Katson
17b243921d
Continuing refactor 2023-11-25 00:24:32 +00:00
Igor Katson
4927850ff9
Fixed a bug when unpausing torrents 2023-11-24 21:03:34 +00:00
Igor Katson
d7a37c1b48
Saving 2023-11-24 18:28:46 +00:00
Igor Katson
876afbf41b
Initialization progress reporting 2023-11-24 15:04:36 +00:00
Igor Katson
b79a21179f
2/n Add pause/start actions 2023-11-24 14:29:05 +00:00
Igor Katson
afbf2a76b9
Should be working ok now 2023-11-24 14:08:02 +00:00
Igor Katson
5e728fc67b
saving 2023-11-24 12:48:22 +00:00
Igor Katson
d8538af25d
[2/n] HUGE REFACTOR to suppor multiple states. Incomplete, broken 2023-11-24 12:44:36 +00:00
Igor Katson
739666ff88
HUGE REFACTOR to suppor multiple states. Incomplete, broken 2023-11-24 09:30:21 +00:00
Igor Katson
cc1ef9d0e4
Create ManagedTorrent struct 2023-11-23 17:14:08 +00:00
Igor Katson
edaf3e0997
split up librqbit torrent state into smaller files 2023-11-23 16:27:55 +00:00
Igor Katson
7cd6102c6a
Move TorrentState to a torrent_state/live 2023-11-23 15:41:40 +00:00
Igor Katson
a124dda957
Move TorrentState to a folder 2023-11-23 15:40:26 +00:00
Renamed from crates/librqbit/src/torrent_state.rs (Browse further)