From d1136f2e76c2e5091dd1e695e0819f32ff04faf5 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Thu, 27 Jun 2024 14:53:17 +0200 Subject: [PATCH] Clean up TODO Move some entries around, remove one or two DONE --- TODO.md | 151 ++++++++++++++++++++++++-------------------------------- 1 file changed, 65 insertions(+), 86 deletions(-) diff --git a/TODO.md b/TODO.md index 0205143a..81f02624 100644 --- a/TODO.md +++ b/TODO.md @@ -1,12 +1,6 @@ -# nihtest - -- Remove mame.db from tests that don't need it. -- Only use mame.db files from inside the test directory. - # Implement - Fix failing tests. -- Variables in config file (e.g. for collection root directory). - Empty directory in ArchiveDir is not cleaned up, which makes removing empty archive fail. # Write Tests for Config @@ -16,101 +10,25 @@ # Other -- Move `delete_unknown_pattern` to `DatOptions`. - - status update: SIGINFO support in Archive::commit, via libzip progress callback - - search loose files in zipped mode: Add option in ArchiveDir to ignore zip files, but keep in .ckmame.db. - - speedup idea: when opening archives (in extra dirs) only compute hashes if we need them - - `mkmamedb`: When a game is in two dat files (identical name and ROMs), skip it from second (with warning). - -- Make `SIGINFO` handler more responsive. - - handle multiple writers to ckmamedb - -- exceptions and error messages: - - who creates which part of the error messages - - catch exceptions in main and print errors (done in ckmame and mkmamedb). - - clean up Exceptions without text - -- When checking single game, search for its ROMs everywhere and report any matches. - - rar read support - - add option to keep ROMs with detector applied - - bug: when creating a fixdat and re-checks happen, games end up in the fixdat multiple times - - fixdat-missing-all: two copies of the same file (romof) in fixdat; depends on order of games in datfile - -- C++ cleanups: - - move lineno into ParserSource - - add tests for all tokens in all parser backends: - - cm - - rc - - xml - - when committing to garbage fails because source archive is broken, move source archive out of the way. # Later - use CkmameDB as old db - - `mkmamedb`: analyze speed, make it faster - - clean up archives in `.ckmame.db` for manually removed dirs/zips +- Variables in config file (e.g. for collection root directory). -# Unsorted - -- `mkmamedb` doesn't handle chds (ignores for zipped, includes in games as rom for unzipped) -! [feature] reorder cleanup step when renaming files to remove the copies - earlier; otherwise big renames on big sets don't work. -! [bug] cleanup reports file that were used this time as "not used" -! [bug] cleanup after using disks reports errors because disks were moved - Example: - ``` - ckmame: new/file.chd: cannot remove: No such file or directory - In image new/file.chd: - image new/file.chd: not used - ``` -+ [feature] `mkmamedb`: parser for mtree files -+ [feature] server mode: tell location/mamedb of ROM sets, serves files needed by remote `ckmame` client -+ [bug] check/fix database error reporting (pass on sqlite3 errors) -+ [feature] get needed files directly from parent (`inparent.test`) -+ [feature] inconsistent zip in ROM set: copy files to new zip -+ [feature] `mkmamedb`: mark ROMs without checksums as `nogooddump` -+ [bug] `mkmamedb -F dat`: - - write `&` unquoted (perhaps other meta characters as well) - - write Umlaut wrong - ``` - Entity: line 5986: parser error : Input is not proper UTF-8, indicate encoding ! - Bytes: 0x81 0x63 0x6B 0x73 -