Commit Graph

104 Commits

Author SHA1 Message Date
quexeky 8d0b1cdc43 refactor(download manager): Renamed GameDonwloadError to ApplicationDownloadError and moved
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-05 19:00:18 +11:00
quexeky a4a4c3e996 chore(download manager): Renamed most instances of "game" outside of actual game downloads
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-05 18:59:08 +11:00
quexeky 88bece5c29 refactor(download manager): Added Downloadable trait and replaced references to GameDownloadAgent
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-05 18:52:00 +11:00
quexeky 26d0c1732a refactor(download manager): Moved download manager to separate directory
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-05 18:52:00 +11:00
DecDuck ca3f9ca463 fix(download manager): fix incorrect error assumptions & update types 2024-12-31 00:08:05 +11:00
quexeky 79cc299b2e chore: Ran cargo clippy
Signed-off-by: quexeky <git@quexeky.dev>
2024-12-27 11:58:37 +11:00
DecDuck 4c242ab558 feat(download ui): add speed and time remaining information
closes #7

Co-authored-by: AdenMGB <140392385+AdenMGB@users.noreply.github.com>
2024-12-27 11:53:17 +11:00
DecDuck 9e30b57302 feat(downloads): lockless tracking of downloaded chunks 2024-12-26 17:41:10 +11:00
DecDuck 59cc48b308 feat(process): better process management, including running state 2024-12-26 17:19:19 +11:00
DecDuck 320fc99a84 feat(errors): better download manager errors + modal 2024-12-26 12:56:54 +11:00
DecDuck 3164ec7106 feat(game): game uninstalling & partial compat 2024-12-26 11:59:26 +11:00
DecDuck ae877db672 chore(stored manifest): swap file name and to binary encoding 2024-12-24 12:52:40 +11:00
quexeky 30995a98bd feat(downloads): Added manifest.json utility for persistent download progress
Signed-off-by: quexeky <git@quexeky.dev>
2024-12-24 12:22:45 +11:00
DecDuck 60d38f36a5 fix(windows build) 2024-12-24 08:01:36 +11:00
DecDuck ebd49b33f8 refactor(game status): transient vs synced state now defined 2024-12-23 20:44:02 +11:00
DecDuck 93a84e1835 chore(download agent): moved to completed index arr to help
serialization
2024-12-21 19:21:15 +11:00
DecDuck 772e6a124d feat(tray): background processes and close/open menu 2024-12-21 15:09:49 +11:00
DecDuck b5b5c68b00 feat(queue & game): queue and library UIs 2024-12-17 20:29:54 +11:00
DecDuck 9bbf463774 feat(process manager): launch games with log files 2024-12-15 17:29:21 +11:00
DecDuck 66bb664d8a feat(download manager): only allow downloads for supported platforms 2024-12-15 16:15:51 +11:00
Louis van Liefland e56b6187ca chore(downloads): Added time debugging and fixed logging formatting 2024-12-14 22:38:11 +11:00
DecDuck 8a00b362b4 Merge branch 'main' into download-manager 2024-12-09 21:20:44 +11:00
Louis van Liefland 3e45d15f10 refactor: Ran cargo clippy & cargo fmt 2024-12-09 20:32:42 +11:00
DecDuck 113235be2f fix(download manager): fixed queue manipulation and waiting for downloads 2024-12-09 18:07:41 +11:00
DecDuck 3d8639136b feat(download ui): debug queue interface 2024-12-09 17:03:48 +11:00
DecDuck 74f071281e feat(download widget): download widget and queue fix 2024-12-08 12:33:45 +11:00
DecDuck 57fe5eae05 feat: temporary queue ui and flamegraph instructions 2024-12-07 20:21:22 +11:00
DecDuck 2e5997525d feat(download & db): combined db and download interface improvements 2024-12-07 11:00:35 +11:00
DecDuck 3d55cb768a feat(install ui): ui to install games 2024-12-06 22:16:50 +11:00
DecDuck e6553e6ed1 feat(download manager): syncs state to disk to persist across reboots 2024-12-04 17:29:46 +11:00
DecDuck 9dc052691d feat(download manager): update db state with ui and emit events 2024-11-28 20:31:04 +11:00
DecDuck 95109899b7 fix(download manager): use of completed signal, and pause/resuming 2024-11-28 12:39:21 +11:00
DecDuck cd42466cc4 feat(library): automatically fetch remote data if not available 2024-11-26 20:11:03 +11:00
DecDuck 12b15aa0fd refactor(download manager): rename files to what they contain 2024-11-26 19:54:43 +11:00
DecDuck 104e903454 feat(settings): ability to add more download dirs 2024-11-24 21:04:56 +11:00
Louis van Liefland b31d5c286a chore(downloads): Progress on write speeds & added debug statements 2024-11-23 23:32:56 +11:00
quexeky b9960c1733 style(downloads): Abstracted queue system
TODO: Still need to cleanup the rest of the legacy code which used to use the queue system
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-23 18:18:03 +11:00
quexeky e074011ca8 feat(downloads): Download cancelling
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-21 16:46:05 +11:00
quexeky 5aff5c1a21 chore(downloads): progress on more precise download control
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-19 15:27:35 +11:00
quexeky 639a1f5270 style(downloads): Made all errors type-based
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-18 13:21:20 +11:00
quexeky 2f245e56b6 chore(downloads): Ran cargo clippy & cargo fmt
Side note, I'm going to start using chore to declare these rather than refactor because I don't think that it actually qualifies

Signed-off-by: quexeky <git@quexeky.dev>
2024-11-16 17:05:24 +11:00
quexeky b24e106420 feat(downloads): Added AgentInterfaceData to get information about all downloads in queue
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-16 17:03:37 +11:00
quexeky 18c7a9b2bc docs(download manager): Added description on how the DownloadManager works
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-13 22:17:30 +11:00
quexeky 6428611689 style(downloads): Fixing some references to "id" vs "game_id"
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-13 21:55:28 +11:00
quexeky f508391b6d refactor(downloads): Ran cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-13 21:28:24 +11:00
quexeky cee86b43ed refactor(downloads): Ran cargo clippy & moved DownloadManagerInterface
Created file "download_manager_interface.rs" to contain the DownloadManagerInterface

Signed-off-by: quexeky <git@quexeky.dev>
2024-11-13 21:05:25 +11:00
quexeky 928b60483a feat(downloads): Added Download Manager
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-13 20:38:00 +11:00
DecDuck 86f77daa01 chore(downloads): partial download manager 2024-11-12 09:06:28 +11:00
quexeky aa17db3d42 refactor(downloads): Reordered DownloadThreadControlFlag to agree with From<bool>
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-12 09:03:36 +11:00
quexeky f8ce05b9c2 fix(downloads): Chunk counting logic error
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-12 09:02:58 +11:00