Commit Graph

152 Commits

Author SHA1 Message Date
DecDuck 3dbf5ab573 chore(downloads): partial download manager 2024-11-12 09:06:28 +11:00
quexeky f25bfed336 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 b47b7ea935 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
DecDuck 6a38ea306b 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 1aa52c0a21 feat(library): Added option to change root directory
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-10 13:18:28 +11:00
quexeky 00b7179743 refactor(database): Convert DATA_ROOT_DIR to Mutex
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 22:44:44 +11:00
quexeky 6bc64822df 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 f10d92d623 feat(downloads): Generic function to set download state
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 20:15:04 +11:00
quexeky 8204795ba6 style(downloads): Added GAME_PAUSE_CHECK_INTERVAL value
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 20:00:05 +11:00
quexeky 2c7b5fb47d refactor: Cleaning up downloads playing and pausing
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 19:57:53 +11:00
quexeky 55b7921ee6 feat(downloads): Pausing and resuming game downloads
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 19:55:36 +11:00
quexeky 97bb1fac68 chore(p2p): Starting p2p progress
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-06 16:40:19 +11:00
quexeky c748aec1c1 Merge branch 'downloads' (again)
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 18:57:54 +11:00
quexeky 7213416421 Ran cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 18:50:25 +11:00
DecDuck f6476bc804 fixes and patches for merged changes 2024-11-04 18:13:03 +11:00
DecDuck 15204718cf Merge branch 'error-handling'
Makes the Drop app more resistent to errors during start-up
2024-11-04 18:06:51 +11:00
quexeky 191e62c500 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 201c8a4e7b Ran cargo clippy and cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 17:48:44 +11:00
quexeky 0528c78092 Functioning download progress updates
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 17:11:37 +11:00
DecDuck df88395d98 drop no longer freaks out if server is unavailable on startup 2024-11-03 16:16:26 +11:00
quexeky bd39f1fd72 Removed gxhash and ran cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-01 07:51:56 +11:00
DecDuck 32067c0ed3 remove unpacker mod statement 2024-10-31 23:42:16 +11:00
quexeky 01ce253bda Adding checks for the stopper callback
Signed-off-by: quexeky <git@quexeky.dev>
2024-10-29 22:15:44 +11:00
quexeky 1ab61c86b1 I think that download queuing is working 2024-10-28 19:23:41 +11:00
DecDuck 7049673596 restructing and renaming 2024-10-25 17:41:03 +11:00
DecDuck 5ed0833e61 my own take on some BASED design decisions 2024-10-24 22:05:58 +11:00
quexeky 984472ec01 Game downloads from the client are working (multithreaded) by parsing in gameID, GameVersion, and maxThreads from FE (#1) 2024-10-24 12:26:40 +11:00
quexeky 553bc379f0 Clippy changes 2024-10-24 09:41:04 +11:00
quexeky f60ca2bd6c Just debugging tauri's damn Sync command features 2024-10-24 09:38:02 +11:00
quexeky 07379b2ba8 SLowly integrating game_download into the FE. Started with using the manifest minimal example in the server (#1) 2024-10-19 22:17:43 +11:00
quexeky 23137dd049 More fleshing out on how specifically game downloads will work (#1) 2024-10-19 17:36:09 +11:00
quexeky 27d0dcafc7 Included in AppStatus (Also trying to link to Issue #1) 2024-10-19 14:54:29 +11:00
quexeky 7fec00ded0 Progress checker works 2024-10-18 20:42:26 +11:00
quexeky 496c6a57e3 Progress on downloads. Currently working on parsing functions to be run asynchronously 2024-10-18 07:45:09 +11:00
DecDuck bf46dec359 beginnings of game state management 2024-10-17 21:05:25 +11:00
quexeky 01b092c5fe Converting DB access to a trait 2024-10-17 19:03:00 +11:00
quexeky 10791edfb6 Accidentally serialized AppStatus and broke everything :/ 2024-10-17 18:13:27 +11:00
quexeky 725f16b3b2 Semantic naming changes 2024-10-17 17:17:19 +11:00
quexeky 7a95b7f77f Ensured everything is serializing/deserializing to camelCase 2024-10-17 17:07:47 +11:00
quexeky defba511a5 Re-enabled closing the window and some more renaming 2024-10-16 09:23:00 +11:00
quexeky 1742793150 More refactoring and renaming camelCase struct definitions to snake_case 2024-10-16 09:09:46 +11:00
DecDuck 5ef6b8e528 cleanup and game UI beginnings 2024-10-15 20:05:13 +11:00
quexeky b3963b60b5 Updated logging 2024-10-15 11:04:50 +11:00
DecDuck e828bca2a5 reorganisation, cleanup and new nonce protocol 2024-10-12 17:34:47 +11:00
DecDuck 959dad383e fixed windows issues 2024-10-09 17:55:19 +11:00
DecDuck 0c0cfebc1e client now fetches user information from Drop server 2024-10-09 16:52:24 +11:00
DecDuck 8f6f184739 compliant with new APIs 2024-10-09 00:37:27 +11:00
DecDuck 4bb33c8223 handshakes 2024-10-08 18:08:52 +11:00
DecDuck ae4c65b7ab another stage of client authentication 2024-10-08 16:13:28 +11:00
DecDuck 22b1aeec9f auth initiate, database and more 2024-10-08 13:17:06 +11:00