Commit graph

13 commits

Author SHA1 Message Date
Igor Katson
3d46d7cb97
Fix clippy lints related to recent bug 2024-04-24 14:19:04 +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
51d1a0b0c7 Jeez... 2024-03-30 20:46:29 +00:00
Igor Katson
9722dd8cb7 Fewer unwraps 2024-03-30 20:22:04 +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
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
e3a3f71064
Nothing 2023-11-25 17:13:17 +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
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
0aa1af7933
saving 2023-11-24 12:47:17 +00:00
Igor Katson
d8538af25d
[2/n] HUGE REFACTOR to suppor multiple states. Incomplete, broken 2023-11-24 12:44:36 +00:00