Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | settings: Adopt the new order of sections and settings when replacing configs | Tobias Brunner | 2014-05-15 | 1 | -1/+83 |
| | |||||
* | settings: Only purge sections if necessary | Tobias Brunner | 2014-05-15 | 1 | -0/+29 |
| | | | | | Instead of removing and caching all values of a previous config, we only do this for actually removed sections/settings. | ||||
* | settings: Maintain order of sections and settings while enumerating | Tobias Brunner | 2014-05-15 | 1 | -57/+24 |
| | |||||
* | settings: Don't overwrite values in-place | Tobias Brunner | 2014-05-15 | 1 | -7/+16 |
| | | | | | | | This is not thread safe. If threads are reading from pointers to existing values they could get a partially updated invalid value. Refactored assignment to a separate function. | ||||
* | unit-tests: Update settings tests to match new parser | Tobias Brunner | 2014-05-15 | 1 | -59/+124 |
| | | | | | Empty settings are now ignored, strings are supported, newlines are handled properly (e.g. at the end of files) etc. | ||||
* | settings: Move to a separate folder | Tobias Brunner | 2014-05-15 | 1 | -1/+1 |
| | |||||
* | settings: Add support to enumerate sections and key/value pairs with fallbacks | Tobias Brunner | 2014-02-12 | 1 | -10/+24 |
| | |||||
* | unit-tests: Test how settings_t handles some invalid data | Tobias Brunner | 2014-02-12 | 1 | -0/+72 |
| | |||||
* | settings: Add method that allows to define fallback sections for other sections | Tobias Brunner | 2014-02-12 | 1 | -0/+109 |
| | | | | | The fallbacks are currently only used for single value lookups. Enumerators are not affected by them. | ||||
* | unit-tests: Add tests for includes and file loading in settings_t | Tobias Brunner | 2014-02-12 | 1 | -0/+149 |
| | |||||
* | settings: Allow empty strings in section key | Tobias Brunner | 2014-02-12 | 1 | -0/+2 |
| | |||||
* | unit-tests: Add tests for enumerators in settings_t | Tobias Brunner | 2014-02-12 | 1 | -0/+148 |
| | |||||
* | unit-tests: Add tests for setters in settings_t | Tobias Brunner | 2014-02-12 | 1 | -0/+109 |
| | |||||
* | unit-tests: Add basic tests for settings_t | Tobias Brunner | 2014-02-12 | 1 | -0/+317 |