Commit Graph

19 Commits

Author SHA1 Message Date
Markus Ewald
3a945f5d48 Minor cosmetic improvements
git-svn-id: file:///srv/devel/repo-conversion/nusu@324 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-23 19:20:42 +00:00
Markus Ewald
52401a43ac The windows registry store can now enumerate non-existing categories, too
git-svn-id: file:///srv/devel/repo-conversion/nusu@323 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-22 22:04:16 +00:00
Markus Ewald
f74f1d0c6c Fixed a typo
git-svn-id: file:///srv/devel/repo-conversion/nusu@322 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-22 21:28:31 +00:00
Markus Ewald
dfc9be412a One unit test opened HKEY_LOCAL_MACHINE for testing, but it seems Mono on Linux doesn't grant even read access to this (emulated) key, so the unit test now uses HKEY_CURRENT_USER
git-svn-id: file:///srv/devel/repo-conversion/nusu@321 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-22 20:26:43 +00:00
Markus Ewald
40492c8b21 Achieved full test coverage for the configuration file store and the windows registry settings store
git-svn-id: file:///srv/devel/repo-conversion/nusu@320 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-22 20:02:33 +00:00
Markus Ewald
58504f4a8a Fully implemented the windows registry-based settings store; added more unit tests for the registry settings store
git-svn-id: file:///srv/devel/repo-conversion/nusu@319 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-22 16:24:08 +00:00
Markus Ewald
0d1051dd84 Documented the intended interface for the settings store; parseBooleanLiteral() is now a private method in the ConfigurationFileStore again; added some unit tests for the registry-based settings store
git-svn-id: file:///srv/devel/repo-conversion/nusu@318 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-22 15:58:07 +00:00
Markus Ewald
88105794a9 The configuration file store now understands 'yes' and 'no' as booleans; implemented the Get() and TryGet() methods of the windows registry settings store
git-svn-id: file:///srv/devel/repo-conversion/nusu@317 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-22 11:10:14 +00:00
Markus Ewald
e5f8b99519 Enumerating categories and options with the registry-based settings store is now working; updated mono-3.5 project
git-svn-id: file:///srv/devel/repo-conversion/nusu@316 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-22 10:43:23 +00:00
Markus Ewald
b1b1f02e6f Removed the last traces of Windows Phone 7 and Xbox 360 support
git-svn-id: file:///srv/devel/repo-conversion/nusu@314 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-22 08:50:05 +00:00
Markus Ewald
d55ba52369 Fully implemented the memory store and added unit tests for it
git-svn-id: file:///srv/devel/repo-conversion/nusu@308 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-21 12:58:33 +00:00
Markus Ewald
03ada146e5 Simplified the parsing code; all code paths of the configuration file store are now covered by tests
git-svn-id: file:///srv/devel/repo-conversion/nusu@307 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-21 12:03:22 +00:00
Markus Ewald
55b3ffd923 Options can now be removed from a configuration file; added more unit tests to cover all the code paths
git-svn-id: file:///srv/devel/repo-conversion/nusu@306 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-21 10:33:24 +00:00
Markus Ewald
7bde463b2a Changing and adding options works perfectly now
git-svn-id: file:///srv/devel/repo-conversion/nusu@305 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-20 23:18:44 +00:00
Markus Ewald
73a17b7a3e Changed the format of how the parsed configuration file is stored in memory - lines are now part of the categories, avoiding a costly scan over the whole array if lines are added to a category in the middle
git-svn-id: file:///srv/devel/repo-conversion/nusu@304 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-20 22:53:03 +00:00
Markus Ewald
0753aeb220 Configuration file parsing should be complete now (but creation and changing not so much)
git-svn-id: file:///srv/devel/repo-conversion/nusu@303 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-20 21:30:41 +00:00
Markus Ewald
7e39bd684f ConfigurationFileStore now parses category definitions and some cases of options; wrote a few methods for changing options and creating options and categories
git-svn-id: file:///srv/devel/repo-conversion/nusu@302 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-20 18:14:06 +00:00
Markus Ewald
ea68676cd2 Added some unit tests; the configuration file parser can now parse categories
git-svn-id: file:///srv/devel/repo-conversion/nusu@301 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-20 12:42:09 +00:00
Markus Ewald
2c3d9db4c9 Renamed the configuration namespace to settings; more progress on the configuration file parser; partially implemented the memory settings store
git-svn-id: file:///srv/devel/repo-conversion/nusu@299 d2e56fa2-650e-0410-a79f-9358c0239efd
2014-07-19 22:16:41 +00:00