Commit Graph

82 Commits

Author SHA1 Message Date
8c116535c5 General refactor and cleanup. 2025-07-27 17:46:22 +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
5937e0d83e Add support for internal decompressor. 2025-07-26 04:17:26 +01:00
8f789484ca Add support for uncompressed repository. 2025-07-25 22:55:30 +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
69fb3c768b Add SIMD checksum generation. 2025-07-24 15:46:20 +01:00
2d54cbdf23 Put database context outside of worker. Reduces memory usage by quite a lot. 2025-07-24 04:26:56 +01:00
134f8c7183 Sort list of files and archives. 2025-07-24 04:25:48 +01:00
23efc69abc Use runtime compression to decompress ZIP files. 2025-07-24 04:22:33 +01:00
cf0f79338a Make detection of archive be multithread. 2025-07-23 14:55:09 +01:00
743b49c4f0 Use System.Text.Json to serialize lsar output. 2025-07-23 13:54:52 +01:00
38cc8da72f Implement multi-threading import of ROM files. 2025-07-23 03:23:57 +01:00
dcade0fcc0 [Refactor] Replace object lock with static Lock in DatImporter for improved thread safety 2025-07-14 16:42:36 +01:00
d92707d691 [Workers] Enhance thread safety in FileImporter with database locking 2025-07-14 16:40:46 +01:00
adb597b455 [Refactor] Improve exception handling and variable declarations in FileImporter 2025-07-14 16:37:04 +01:00
8eaca3556a [Workers] Implement database locking in DatImporter for thread safety 2025-07-11 18:40:14 +01:00
19bb166ed3 [Refactor] Use collection expression. 2025-07-08 23:10:49 +01:00
7e8e42d07c [Refactor] Simplify constructor parameters and initialization in multiple classes 2025-07-08 01:18:07 +01:00
d75381c4eb [Refactor] Simplify event handler parameters in MainWindowViewModel and FileImporter 2025-07-08 00:59:53 +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
ca1708a337 [Refactor] Update Task.Run usage to await and discard returned tasks.
Fixes some race conditions.
2025-07-07 22:17:27 +01:00
da542faeb3 [Worker] Normalize machine name comparison to lowercase when importing DAT files. 2025-07-07 21:01:48 +01:00
4f96535b51 [Workers] Use SQL raw. 2025-07-07 20:45:31 +01:00
55b4018ebd [Workers] Adjust DAT import to new SabreTools API. 2025-07-07 20:45:13 +01:00
3a31204c0f Replace ExecuteSql with ExecuteSqlRaw for dropping tables 2025-06-25 03:08:43 +01:00
03d3d8f973 Ensure file reading operations return the expected data. 2024-11-12 06:58:01 +00:00
7e94ea0a4d Use range indexers. 2024-11-12 06:46:45 +00:00
3522fe3028 Optimize LINQ method calls. 2024-11-12 06:46:10 +00: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
d870addb63 Update SabreTools. 2024-11-10 06:42:15 +00:00
9a429ce439 Full code refactor and clean-up. 2024-11-09 01:37:59 +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
5c87920c13 Update SabreTools. 2020-12-20 23:17:18 +00:00
ebc874a00b Update SabreTools. 2020-12-20 23:05:05 +00:00
2b8a1c34f3 Ensure DAT dates use backward slash always. 2020-09-21 00:49:41 +01:00
4d3f8f6d01 Emit message on successful dat import. 2020-09-21 00:47:07 +01:00
39ac75742f Change when database is saved after importing ROMs. 2020-09-20 17:59:22 +01:00
0ee8fdb4fb Sort files when importing ROMs. 2020-09-20 16:38:35 +01:00
226a76d6bc Change order of file requests from database. 2020-09-20 03:22:15 +01:00
6bb04ea236 Do not print dat items to console. 2020-09-20 03:17:00 +01:00
e1b6a10233 Save changes after generating cached statistics. 2020-09-11 02:30:59 +01:00
915a9a6738 Do not check database for roms with non present hashes. 2020-09-11 01:50:31 +01:00
2c9814292a Cache statistics and move its generation to importers. 2020-09-11 00:42:24 +01:00
05e7ed4783 Optimize SQL requests for known files. 2020-09-07 00:03:09 +01:00
4b86bbdab6 Store path in database. 2020-09-06 20:15:29 +01:00
9ee547e83e Add DOSCenter's modification date. 2020-09-06 19:09:35 +01:00