Matt Nadareski
0ed44d0b45
[Stats, DatFile] Merge Stats into DatFile
...
Since statistics are something that is supposed to be inherent to Dats, this makes the most sense being inside of DatFile
2016-09-22 17:00:34 -07:00
Matt Nadareski
c17744984c
[Logger] Have logging automatically start on Logger create
2016-09-22 16:43:38 -07:00
Matt Nadareski
64270f5727
[DATFromDir] This needs to be wrapped in try/catch
2016-09-22 16:27:42 -07:00
Matt Nadareski
bd1a0219ac
[DATFromDir] Use pre-existing variable for reference
2016-09-22 16:21:15 -07:00
Matt Nadareski
863e936d07
[ALL] Get rid of rest of non-library usings
2016-09-22 15:59:03 -07:00
Matt Nadareski
74fbe60686
[ALL] Stop using "using" for everything except databases
2016-09-22 15:36:02 -07:00
Matt Nadareski
6b43053b7d
[DATFromDir] Clean-as-you-go directories
2016-09-22 14:50:06 -07:00
Matt Nadareski
5074f820c9
[DATFromDir] Clear temp directory in other location too
2016-09-22 14:33:01 -07:00
Matt Nadareski
4cdd6bd003
[DATFromDir] Clean directory after extract only
2016-09-22 14:31:22 -07:00
Matt Nadareski
65fc83e4f5
Revert part of "[DATFromDir] Try to delete the copied file in more places"
2016-09-22 14:21:12 -07:00
Matt Nadareski
42896494f5
Revert "[DATFromDir] One more try"
...
This reverts commit 8fda194f6f .
2016-09-22 11:56:14 -07:00
Matt Nadareski
8fda194f6f
[DATFromDir] One more try
2016-09-22 11:28:44 -07:00
Matt Nadareski
b7ac716d64
[DATFromDir] Try to delete the copied file in more places
2016-09-22 11:17:10 -07:00
Matt Nadareski
cfeccbb43d
[DATFromDir] Move file delete outside so it tries to catch everything
2016-09-22 10:49:37 -07:00
Matt Nadareski
0458e77293
[DATFromDir] Remove list of files to delete
2016-09-22 09:43:30 -07:00
Matt Nadareski
656ac774ab
[DATFromDir] Add async delete
2016-09-22 09:42:45 -07:00
Matt Nadareski
57f6d361f7
[DATFromDir] Put retry on intial delete too
2016-09-21 23:17:30 -07:00
Matt Nadareski
284c3e088e
[DATFromDir] Get proper output paths again
2016-09-21 23:07:20 -07:00
Matt Nadareski
b353ddeb12
[DATFromDir] Set maximum delete retries at 50
2016-09-21 22:20:30 -07:00
Matt Nadareski
7f44558083
[DATFromDir] Add delayed delete for locked files that have been moved
2016-09-21 22:13:58 -07:00
Matt Nadareski
bd049f12ec
[DATFromDir] Add copy files flag
...
This flag forces files to be copied to the temporary directory before being parsed. This can decrease the parsing time if the temp directory is on an SSD.
2016-09-21 21:16:53 -07:00
Matt Nadareski
f512fa5b50
[ALL] Fix CMP parsing again, add NotNodump option for filter
2016-09-21 16:46:01 -07:00
Matt Nadareski
0dca764563
[ALL] Add full status filtering
2016-09-21 16:19:58 -07:00
Matt Nadareski
ae27ba2157
[ALL] Add full status backup, not just nodump
2016-09-21 15:45:40 -07:00
Matt Nadareski
323b77a78a
[DatFile] Make DOSCenter output safer
2016-09-21 15:02:35 -07:00
Matt Nadareski
9bd116589c
[DatFile] Add DOSCenter output format to all that support
2016-09-21 14:59:39 -07:00
Matt Nadareski
f147a06bc0
[DatFile] HTML encoded game names for mono worked, so added safeguards are no longer needed.
2016-09-21 14:23:59 -07:00
Matt Nadareski
7212949f56
[Style, DatFile] Add better encoding finding
2016-09-21 12:47:11 -07:00
Matt Nadareski
08437314df
[DatFile] Try forcing BOM?
2016-09-21 10:11:15 -07:00
Matt Nadareski
3c67cfe37f
[DatFile] Add check for Write Dat as well
2016-09-20 23:43:54 -07:00
Matt Nadareski
ca0e93e1ec
[DatFIle] Put check back in
2016-09-20 23:42:49 -07:00
Matt Nadareski
340580708a
[DatFile] Force BOM off with UTF8 writing
...
Input DATs are straight UTF-8 the majority of the time so we should output the same
2016-09-20 23:42:22 -07:00
Matt Nadareski
cadc3e941c
[ALL] Cleanup
...
This is a purge of dead and unused code. The major thing with this is the removal of all original DATabase features. They might be resurrected in the future but , for now, it would need a full rewrite to make sense. Nobody uses it either, so it shouldn't be missed.
2016-09-20 17:39:01 -07:00
Matt Nadareski
656474de7d
[DatFIle] Add one more check
2016-09-20 15:32:23 -07:00
Matt Nadareski
943e455cff
[DatFile] Add extra precautions for stuff I can't test
2016-09-20 15:28:55 -07:00
Matt Nadareski
9d25ad94b6
[DatFile] Add more security and comments
2016-09-20 14:41:45 -07:00
Matt Nadareski
5c34427c81
[DatFile] Add safeguard for issues I haven't been able to locally verify
2016-09-20 14:01:32 -07:00
Matt Nadareski
7c2f085c77
[DatFile] Add "forcepacking" as flag in CMP too
2016-09-20 12:33:52 -07:00
Matt Nadareski
d625404dea
[SabreTools.Helper] Move some things around
2016-09-20 10:19:38 -07:00
Matt Nadareski
df2a06c2e2
[SimpleSort] Fix hash copying
2016-09-19 22:53:33 -07:00
Matt Nadareski
de5e63a695
[DatItem] Fix child classes equatiblity
2016-09-19 22:28:17 -07:00
Matt Nadareski
9a7be539fb
[DatFile] Add temporary fix with logging statement
2016-09-19 22:01:16 -07:00
Matt Nadareski
cea31f6c7b
[Generate/Import] Remove original implementations
2016-09-19 21:45:51 -07:00
Matt Nadareski
bc87d2a935
[DatTools] A couple more rom locations
2016-09-19 21:45:32 -07:00
Matt Nadareski
81f217b786
[DatFile] Make sure that we use DatItem objects unless specifics are needed
2016-09-19 21:04:45 -07:00
Matt Nadareski
770f9d7275
[DatItem] Add and fix
2016-09-19 20:52:55 -07:00
Matt Nadareski
44b00f9f5a
[DatFile, Disk, Rom] Make sure nulls are accounted for
2016-09-19 20:51:18 -07:00
Matt Nadareski
10b74ec550
[DatFile] Fix XML output
2016-09-19 20:39:51 -07:00
Matt Nadareski
1db04406c3
[ALL] Remove Hash struct
...
This is a bit controversial, even for me, but for the time being, we need to tie very specific information to each type of item. That means that a Rom and a Disk, though they both have hashes, they have different hashes. I'm going to see how this plays out for the time being.
2016-09-19 20:36:12 -07:00
Matt Nadareski
b549085c34
[ALL] Convert Dat from a struct to an object
...
This effectively doesn't do much for the time being since there's only one "Dat type" that's being used. Realistically, this is probably the best bet since a given DAT should not be restricted to an output type as much as an ItemType is bound to its data. This also removes the experimental classes that won't be in use for forever. More work still might need to be done but it is unknown at this point.
2016-09-19 20:08:25 -07:00