Commit Graph

635 Commits

Author SHA1 Message Date
Matt Nadareski
2844bac565 Take advantage of new enum ordering 2016-05-11 10:57:00 -07:00
Matt Nadareski
889b265c4f Change order of enum to be more logical 2016-05-11 10:55:09 -07:00
Matt Nadareski
f9656f73ff Ignore the _dedup value in checking because it doesn't matter 2016-05-11 09:51:20 -07:00
Matt Nadareski
21f15219e8 Make this logic a little more solid 2016-05-11 09:33:52 -07:00
Matt Nadareski
d38557d489 Make all-diff standard for diff 2016-05-11 09:16:46 -07:00
Matt Nadareski
970331c2b2 Missed a place where dupe was being used 2016-05-10 21:03:41 -07:00
Matt Nadareski
382f74afaa An attempt to make diffing work the way I think it should
Basically, if a rom is a duplicate, it can be a duplicate within a system or source or across system or source, and by hash alone or by all data matching. The four combinations make an enum now and the diff function is the only one that uses them right now. If we're in dedup mode, we want to check hashes only in diff. Otherwise, we want to check against ones that match all information. This  needs field testing.
2016-05-10 20:55:51 -07:00
Matt Nadareski
d649988a04 Some hex hashes are short and need to be padded 2016-05-10 18:20:27 -07:00
Matt Nadareski
85fc63e6d0 Bump version number 2016-05-10 16:30:07 -07:00
Matt Nadareski
b37a3dce4c Make sure that the file gets written to 2016-05-10 16:05:23 -07:00
Matt Nadareski
364cdb10c9 Remove menu options for logging 2016-05-10 16:04:12 -07:00
Matt Nadareski
f6010004d0 Make a log folder now 2016-05-10 16:01:32 -07:00
Matt Nadareski
e0d128ba3b Missed a couple spots 2016-05-10 15:57:09 -07:00
Matt Nadareski
969ea4a56d Because --merge --diff seems clunky 2016-05-10 15:56:05 -07:00
Matt Nadareski
42e1d5a8ea Accidental copy/paste 2016-05-10 15:42:26 -07:00
Matt Nadareski
1800ac6750 Logging overhaul!
This change brings about a few changes:
1) A new LogLevel called "User" that is used for non-verbose, non-error output
2) Only User and Error are output to console now, not all of them
3) All programs have log to file enabled by default and all flags for enabling logging have been removed
4) Some former Verbose statements have been converted over to User because of the shift in usage.
2016-05-10 15:41:33 -07:00
Matt Nadareski
37253b8c91 Filename is a bad indicator 2016-05-10 13:03:53 -07:00
Matt Nadareski
f626cae2b1 Missed another place for LowerInvariant 2016-05-10 12:32:56 -07:00
Matt Nadareski
d0dd7c89c7 Noticed that if a source is added, it can never be matched with the current logic 2016-05-10 12:09:43 -07:00
Matt Nadareski
188cb047ea Try-catch is the best solution, since people might be using a blank dats.sqlite instead of the prepopulated one 2016-05-10 09:14:10 -07:00
Matt Nadareski
b6ba03eabe Pull some strings to make it work 2016-05-09 19:39:59 -07:00
Matt Nadareski
e0de3fe665 Forgot one location for capitaliation 2016-05-09 19:24:04 -07:00
Matt Nadareski
78f3b2f70d capitalization is a nightmare 2016-05-09 18:55:08 -07:00
Matt Nadareski
962d23c7e9 ...forgot to actually make the default "Default". 2016-05-09 16:46:07 -07:00
Matt Nadareski
facdac4ea5 Need to add the default 2016-05-09 16:38:47 -07:00
Matt Nadareski
b10bd30d4e Forgot to actually get source ID from the source name... 2016-05-09 16:25:10 -07:00
Matt Nadareski
2d95c59a90 Fix confusion about priority by making sure sorting takes into account the entire number 2016-05-09 16:22:47 -07:00
Matt Nadareski
f5cf9cb802 I accidentally ignored ALL sources, not just new ones 2016-05-09 15:53:37 -07:00
Matt Nadareski
186b85a6b0 [doc] Import documentation updates 2016-05-09 15:49:34 -07:00
Matt Nadareski
f56bfcabed Remove unnecessary references 2016-05-09 15:47:38 -07:00
Matt Nadareski
e9558280f0 Forgot to migrate this one variable 2016-05-09 15:47:10 -07:00
Matt Nadareski
ee4c06a745 These should be separated according to the original, logical separations. DATabase would be too cluttered and unusable otherwise. 2016-05-09 15:45:38 -07:00
Matt Nadareski
f4d874f01a ..needs to be after it's used for naming 2016-05-09 15:16:15 -07:00
Matt Nadareski
2d6be19e14 Default should be the last thing checked 2016-05-09 15:14:44 -07:00
Matt Nadareski
a8b4c6d899 Make all folders on the first run so that there's no confusion if the user doesn't perform import first. 2016-05-09 12:02:42 -07:00
Matt Nadareski
4365b86b98 Make the process in DATabaseTwo more akin to normal DATabase; add new switches 2016-05-09 11:58:17 -07:00
Matt Nadareski
dc641df92d Forgot an old addition to help 2016-05-09 11:46:15 -07:00
Matt Nadareski
f4678b8548 Add suggested feature for power users
Ignore is useful for users who don't particularly care about the source going into the system. This is especially useful in combination with norename enabled.
2016-05-09 11:44:53 -07:00
Matt Nadareski
41087d933e [doc] remove now-unnecessary summary 2016-05-09 11:31:15 -07:00
Matt Nadareski
3bf610517e Null really is an issue, but it's good now 2016-05-09 11:12:26 -07:00
Matt Nadareski
adffdb688f Nothing means no output 2016-05-09 10:51:53 -07:00
Matt Nadareski
68aeee165b Case is a problem sometimes. 2016-05-09 10:31:15 -07:00
Matt Nadareski
ceec81a71c Slight change to output sorting 2016-05-09 10:02:01 -07:00
Matt Nadareski
07e41dba30 Blank games are still a pain 2016-05-09 09:53:56 -07:00
Matt Nadareski
5ad9a83b63 Fix issues with game naming and renaming 2016-05-09 09:35:07 -07:00
Matt Nadareski
e9ce152653 Newlines are the enemy here 2016-05-08 20:58:51 -07:00
Matt Nadareski
010b0a1153 Empty game names are an issue 2016-05-08 20:57:14 -07:00
Matt Nadareski
e7ede7cca2 Even more fun with zero-byte files 2016-05-06 13:12:00 -07:00
Matt Nadareski
a7f97cc419 More 0-byte file shennanigans 2016-05-06 12:56:02 -07:00
Matt Nadareski
ced41c5cde Add skip on nodump 2016-05-06 10:59:05 -07:00