1
0
Fork 0
Commit Graph

26 Commits

Author SHA1 Message Date
chylex 4aec2f3260 Refactor FileSerializer to attempt error recovery & tweak StreamWriter usage 2018-07-25 03:38:44 +02:00
chylex 05d6c578b3 Move InjectedHTML unit tests to xUnit and rename Inject method 2018-06-26 11:19:44 +02:00
chylex f99d035621 Add a Result class that acts as an Either monad for a value or exception 2018-04-10 19:45:41 +02:00
chylex 342a4b4067 Minor code formatting tweaks 2018-04-07 03:46:10 +02:00
chylex 66d5f0d790 Refactor IResourceHandler usage 2018-02-10 07:07:11 +01:00
chylex e51e87647e Remove unknown property error in FileSerializer & refactor reading 2018-02-02 13:49:10 +01:00
chylex d06e29db15 Get rid of string.Split in FileSerializer
string.Split is not suitable for potentially very large strings, so this
decently improves memory usage
2018-01-30 15:45:19 +01:00
chylex f297cb2623 Add line escaping to FileSerializer for easier manual file editing 2018-01-18 20:37:29 +01:00
Daniel Chýlek a0cc4109df
Delete GC reload in CEF 63 (#186) 2017-12-28 00:03:24 +01:00
chylex 9a6b615174 Cleanup FileSerializer Write/Read calls & change exception for empty files 2017-11-07 18:10:38 +01:00
chylex 5f1c30609c Fix typo in error message in FileSerializer 2017-08-30 20:34:02 +02:00
chylex 40ef9a42dd Fix unsealed classes 2017-08-28 18:46:14 +02:00
Daniel Chýlek ccd5edb0e4 Remove legacy config file upgrade code 2017-08-22 03:23:53 +02:00
chylex ca014f881c Rewrite unknown property handling in FileSerializer 2017-08-05 19:23:42 +02:00
chylex b2be530f6b Remove legacy config file upgrade code 2017-08-01 19:29:01 +02:00
chylex a51b34b48f Move CommandLineArgsParser code to CommandLineArgs 2017-07-31 22:26:48 +02:00
chylex 894b890fe5 Tweak serialization code and remove ISerializedObject 2017-07-30 19:28:03 +02:00
chylex 85f923a6fc Add StringUtils.EmptyArray and use it instead of new string[0] 2017-07-21 12:37:30 +02:00
chylex fe3fc5c9f7 Add WindowsUtils.CreateDirectoryForFile and use it 2017-07-09 14:12:27 +02:00
chylex 14d44528b0 Fuck CultureInfo some more and fix analysis violations (dispose pattern, lang features) 2017-07-07 23:53:04 +02:00
chylex c63e6a1e49 More refactoring (seal classes, fix names and comments) 2017-07-07 16:15:10 +02:00
chylex 5a21d2cb10 Add StringUtils with unit tests and use it 2017-07-07 15:52:13 +02:00
chylex 424c0e596c Add legacy config detection and replace UserConfig serialization with FileSerializer 2017-07-07 02:56:02 +02:00
chylex d431b63c27 Add SingleTypeConverter and update names in FileSerializer 2017-07-07 01:47:14 +02:00
chylex 796fb348a3 Add classes for serializing objects to/from text files 2017-07-07 00:48:00 +02:00
chylex 4bff006743 Refactor (move files into different namespaces) 2017-07-06 20:58:06 +02:00