Commit Graph

11 Commits

Author SHA1 Message Date
orwell96 81cd305aa0 Merge commit 'd4593491efbcab47efd918d7918b97b4621828b3' 2021-05-03 22:06:02 +02:00
orwell96 5ee8c0e39b Update serialize_lib 2021-04-04 19:58:25 +02:00
orwell96 a224027b16 Add 'serialize_lib/' from commit 'a6e8b8b4353863ad563a4d5187f40fea702ea2de'
git-subtree-dir: serialize_lib
git-subtree-mainline: b82e10051d
git-subtree-split: a6e8b8b435
2021-03-13 11:29:44 +01:00
orwell96 b82e10051d Remove serialize_lib in order to re-add it as subtree 2021-03-13 11:29:17 +01:00
Gabriel Pérez-Cerezo d8d1d27ccb add unit tests for serialize_lib 2021-01-31 11:53:31 +01:00
Blockhead b4c8de8695 Fix serialisation: breach of contract, file left open
Previous commit did not fix saving, but is kept because there is a corner case for which it is required (see MT forum)
2021-01-18 15:27:50 +01:00
orwell96 7fa1a402bf Fix atomic saving on windows when save file does not exist 2021-01-17 10:27:16 +01:00
orwell96 0ba5874b4f Some more serializer fixes (backported from new_lzb):
- Move DUMP_DEBUG_SAVE block before the actual saving so it can be used to trace serializer errors
- Don't crash on functions in data, ignore them silently
- Increase the save interval
2021-01-12 13:31:03 +01:00
orwell96 9d12c72499 serialize_lib: Allow empty strings in key 2021-01-12 13:27:27 +01:00
orwell96 d0bd4ac30e Serialize_lib: finish up and add atomic api 2021-01-12 13:27:00 +01:00
orwell96 e6b656e937 Implement basic serialization and file opening 2021-01-12 13:27:00 +01:00