Commit Graph

85 Commits

Author SHA1 Message Date
2942c6dfc8 Do not import files that are already in the repository. 2025-07-31 04:09:13 +01:00
b68f6f792f [App] Remove possible leftover temporary files. 2025-07-29 21:41:15 +01:00
cb4511c09d Instruct parallel foreach to not go over the number of processor threads, it's counter productive.
And it should not do it by default but apparently, it does.
2025-07-29 21:36:36 +01:00
2382187960 [App] Refactor importing DAT folder to use parallel foreach. 2025-07-29 21:33:57 +01:00
475da761a5 [App] When an error occurs in a DAT importer worker, keep raising workers. 2025-07-29 16:39:34 +01:00
8c116535c5 General refactor and cleanup. 2025-07-27 17:46:22 +01:00
a7985955b4 Add debug message of how long it took to import ROMs from folder. 2025-07-26 17:02:02 +01:00
054b9ffd0d When using internal decompressor, bypass extracting files to temporary folder.
Not needed and is slower.
2025-07-26 17:01:30 +01:00
3e731115f2 Allow to read archives if no unar, but internal decompressor is allowed. 2025-07-26 17:00:02 +01:00
5937e0d83e Add support for internal decompressor. 2025-07-26 04:17:26 +01:00
0bda03afee Add support to compress repository with zstd. 2025-07-25 17:49:36 +01:00
bf19439e49 Use Serilog in EntityFramework Core logging. 2025-07-24 21:23:53 +01:00
1435aa10ee Adjust visibility of items in import ROM view. 2025-07-24 21:13:45 +01:00
55a6af0c74 Added Serilog for logging. 2025-07-24 16:20:22 +01:00
b0e0ba4502 Migrate to CommunityToolkit.Mvvm 2025-07-24 11:11:27 +01:00
2d54cbdf23 Put database context outside of worker. Reduces memory usage by quite a lot. 2025-07-24 04:26:56 +01:00
368e243bca Use a different, more agressive, method to parallelize archive import, that better uses available threads/cores. 2025-07-24 04:24:48 +01:00
38cc8da72f Implement multi-threading import of ROM files. 2025-07-23 03:23:57 +01:00
7e009c7d66 [Application] Update CheckUnArFailed method to use Dispatcher for UI updates 2025-07-23 03:22:59 +01:00
b9adceed95 [App] Make importing DAT folder multithreaded. 2025-07-14 13:50:33 +01:00
3b576b0b0e Add mock constructors to allow designer to instantiate viewmodels. 2025-07-09 14:07:26 +01:00
5f6044861c [Refactor] Add public constructor to About viewmodel. 2025-07-09 01:27:09 +01:00
5be5d2d369 [About] Replace process launch with URI launcher for website command 2025-07-08 23:13:20 +01:00
86420a4fd0 [Refactor] Use expression bodied lambda 2025-07-08 17:51:43 +01:00
01a2f916b9 [Refactor] Replace direct localization property bindings with static resource references 2025-07-08 13:17:36 +01:00
7e8e42d07c [Refactor] Simplify constructor parameters and initialization in multiple classes 2025-07-08 01:18:07 +01:00
63a16cb19e [Refactor] Use collection expression. 2025-07-08 01:08:45 +01:00
d75381c4eb [Refactor] Simplify event handler parameters in MainWindowViewModel and FileImporter 2025-07-08 00:59:53 +01:00
7bc6da0780 [Refactor] Replace SaveFileDialog with StorageProvider for file saving 2025-07-08 00:58:21 +01:00
8c12694fd6 [Refactor] Replace OpenFileDialog with StorageProvider for file selection 2025-07-07 23:59:01 +01:00
ad27c2a9ab [Refactor] Replace OpenFolderDialog with StorageProvider for folder selection 2025-07-07 23:45:03 +01:00
a88c9000ed [Refactor] Update field names in checksum packets to use properties for consistency 2025-07-07 22:46:40 +01:00
44fb779034 [Refactor] Replace OrderBy with Order for file sorting in ImportDatFolderViewModel and FileImporter 2025-07-07 22:44:34 +01:00
66ecf4c432 [Refactor] Simplify SHA384 byte conversion by using _datHash directly 2025-07-07 22:42:57 +01:00
9818a8c416 [Refactor] Update commands to use asynchronous patterns with ReactiveCommand 2025-07-07 22:41:08 +01:00
ca1708a337 [Refactor] Update Task.Run usage to await and discard returned tasks.
Fixes some race conditions.
2025-07-07 22:17:27 +01:00
b095dc07cf Use safer SQL calls. 2024-11-12 06:44:29 +00:00
cd66743990 Use collection expression syntax. 2024-11-12 06:39:06 +00:00
b592da299c Update MessageBox.Avalonia to 3.2.0. 2024-11-09 06:21:49 +00:00
141f32d5e2 Update to Avalonia 11.2.0. 2024-11-09 06:14:25 +00:00
9a429ce439 Full code refactor and clean-up. 2024-11-09 01:37:59 +00:00
1ebc273ff7 Update to .NET 9.0 RC 2. 2024-11-08 19:34:02 +00:00
dc6a457cae Update copyright year. 2024-11-08 19:13:57 +00:00
90b424110c Update copyright year. 2020-12-31 23:26:53 +00:00
6cdd6928d0 Fix progress bar visibility when importing DAT folder. 2020-12-20 23:04:39 +00:00
4d3f8f6d01 Emit message on successful dat import. 2020-09-21 00:47:07 +01:00
b8b41121e3 Add dialog to update database statistics. 2020-09-20 19:52:28 +01:00
e4b80d0eba Sort DAT files by name. 2020-09-20 03:23:50 +01:00
fefec8da18 Fix hiding progress bar when import is finished. 2020-09-20 03:23:12 +01:00
2c9814292a Cache statistics and move its generation to importers. 2020-09-11 00:42:24 +01:00