quexeky
97f1db9aa1
feat(downloads): Added DownloadThreadControl struct
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-11 10:05:49 +11:00
quexeky
628898ec23
feat(downloads): Convert DownloadThreadControlFlag to AtomicBool
...
Also ran cargo fmt & cargo clipy
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-11 09:39:25 +11:00
quexeky
1443d7f605
refactor: Created file settings.rs
...
Add constant values here to have a central management point for any relevant constants
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-11 09:11:46 +11:00
quexeky
d4c3bb08a1
refactor(downloads): Convert DOWNLOAD_MAX_THREADS to const
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-11 07:58:49 +11:00
DecDuck
2a83814f07
fix(download dir): fix logic error in detecting dir
2024-11-10 22:31:11 +11:00
DecDuck
bc6aabc58d
feat(downloads): reduce scope of download agent
...
due to a miscommunication, the scope of the download agent has grown too
much. this commit reduces that scopes, and intends for a lot of the
heavy lifting to be done by the soon-to-be-implemented download manager.
2024-11-10 22:25:54 +11:00
quexeky
74b8ed39d1
refactor: Ran cargo clippy & cargo fmt
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-10 13:21:37 +11:00
quexeky
3258a3d709
feat(library): Added option to change root directory
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-10 13:18:28 +11:00
quexeky
2f506a2068
refactor(database): Convert DATA_ROOT_DIR to Mutex
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-09 22:44:44 +11:00
quexeky
4aadb77e87
feat(downloads): Added function to take and set any game state
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-09 21:26:44 +11:00
quexeky
f80bbe1b0e
feat(downloads): Generic function to set download state
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-09 20:15:04 +11:00
quexeky
e7169dd1b1
style(downloads): Added GAME_PAUSE_CHECK_INTERVAL value
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-09 20:00:05 +11:00
quexeky
e288f2472b
refactor: Cleaning up downloads playing and pausing
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-09 19:57:53 +11:00
quexeky
da1f39c061
feat(downloads): Pausing and resuming game downloads
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-09 19:55:36 +11:00
quexeky
f6f8186d5a
chore(p2p): Starting p2p progress
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-06 16:40:19 +11:00
quexeky
ae68506268
refactor(downloads): Scoping changes and removing qualifications
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-06 16:39:30 +11:00
quexeky
eaca334f0f
docs(README): Updated contributing link
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-05 20:47:20 +11:00
DecDuck
076835d567
rustix fs feature
2024-11-04 10:55:52 +00:00
quexeky
afab522b1d
Removing more unnecessary imports
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-04 19:22:30 +11:00
quexeky
855effeff0
Fixed all merge issues
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-04 19:05:27 +11:00
quexeky
1ec2370477
Merge branch 'downloads' (again)
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-04 18:57:54 +11:00
quexeky
56ce939788
Ran cargo fmt
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-04 18:50:25 +11:00
quexeky
7547376b70
Update README.md
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-04 18:49:55 +11:00
quexeky
0a65969209
Updated README.md
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-04 18:48:00 +11:00
quexeky
817ba940ca
Removed unnecessary dependencies
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-04 18:47:50 +11:00
DecDuck
9a76fe0202
fixes and patches for merged changes
2024-11-04 18:13:03 +11:00
DecDuck
3c693849b7
Merge branch 'error-handling'
...
Makes the Drop app more resistent to errors during start-up
2024-11-04 18:06:51 +11:00
DecDuck
206ac0437a
Merge branch 'downloads'
...
Adds the backend logic for downloading games, as well as debug buttons
in the store page
2024-11-04 18:04:23 +11:00
quexeky
6dfc2d7393
Allowing some dead code features because they are there for future use (potentially)
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-04 18:03:18 +11:00
quexeky
edc64ba6d2
Ran cargo clippy and cargo fmt
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-04 17:48:44 +11:00
quexeky
63b7defa6f
Converted to using BufWriters instead of streaming everything at once
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-04 17:45:46 +11:00
quexeky
afd07bb379
Functioning download progress updates
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-04 17:11:37 +11:00
DecDuck
5c5aa02fea
Drop will no longer crash when the server goes down
2024-11-03 19:47:27 +11:00
DecDuck
1abcc3d3e5
drop no longer freaks out if server is unavailable on startup
2024-11-03 16:16:26 +11:00
quexeky
a1fed18d00
Removed gxhash and ran cargo fmt
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-01 07:51:56 +11:00
quexeky
42f381865d
Clippy cleanup
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-11-01 07:49:42 +11:00
DecDuck
f3df6ee687
remove unpacker mod statement
2024-10-31 23:42:16 +11:00
quexeky
b4a5e501a8
Removed unpacker.rs
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-10-31 23:06:14 +11:00
quexeky
ca2398ad8d
Lesson learned: Wrappers are the bane of my existence. Also here's the download cancelling logic.
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-10-31 20:56:10 +11:00
quexeky
1daba5334a
Adding checks for the stopper callback
...
Signed-off-by: quexeky <git@quexeky.dev >
2024-10-29 22:15:44 +11:00
quexeky
a45f9c51aa
Some progress on thread terminations
2024-10-28 22:06:44 +11:00
quexeky
07cd0b1b6f
Removed utils.rs
2024-10-28 22:04:50 +11:00
quexeky
6735f929e8
Queue is running game downloads sequentially now
2024-10-28 20:57:42 +11:00
quexeky
7bfaf99aaf
I think that download queuing is working
2024-10-28 19:23:41 +11:00
quexeky
a3cac56c4f
More debugging because apparently checksums are the bane of my existence. But it works and I was just an idiot
2024-10-26 23:23:43 +11:00
quexeky
dcdb3c731c
Converted to md5
2024-10-26 22:22:10 +11:00
quexeky
397b77881a
Debugging line
2024-10-26 16:47:27 +11:00
quexeky
615f9f00d6
More progress on checksums
2024-10-26 15:18:34 +11:00
quexeky
978be3e9dd
Merge branch 'main' into downloads
2024-10-26 10:58:12 +11:00
quexeky
6d5dc457b2
Mostly finished with checksums. Just merging main in at the same time
2024-10-26 10:58:04 +11:00