Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | settings: Make loading a NULL or empty pattern a (nop-)success | Martin Willi | 2014-09-22 | 1 | -1/+1 |
| | |||||
* | settings: Allow spaces in time settings before the optional unit | Martin Willi | 2014-07-07 | 1 | -0/+5 |
| | |||||
* | settings: Be more strict in converting settings to specific data types | Martin Willi | 2014-07-07 | 1 | -5/+15 |
| | | | | | | | As the behavior was inconsistent for empty strings or strings with characters appended to a number, testing the code failed on some platforms. The new rules are more strict, returning the default if additional characters or an empty string was found for a setting. | ||||
* | settings: strongswan.conf must be loaded explicitly | Tobias Brunner | 2014-05-15 | 1 | -6/+2 |
| | |||||
* | settings: Only purge sections if necessary | Tobias Brunner | 2014-05-15 | 1 | -40/+1 |
| | | | | | 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 | -5/+11 |
| | |||||
* | settings: Don't overwrite values in-place | Tobias Brunner | 2014-05-15 | 1 | -20/+1 |
| | | | | | | | 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. | ||||
* | settings: Add functions to add sections and key/value pairs to a section | Tobias Brunner | 2014-05-15 | 1 | -6/+3 |
| | |||||
* | settings: Don't enumerate key/value pairs with NULL value | Tobias Brunner | 2014-05-15 | 1 | -1/+1 |
| | |||||
* | settings: Use generated parser instead of our own | Tobias Brunner | 2014-05-15 | 1 | -566/+53 |
| | |||||
* | settings: Use glob enumerator to load included files | Tobias Brunner | 2014-05-15 | 1 | -32/+13 |
| | |||||
* | settings: Move to a separate folder | Tobias Brunner | 2014-05-15 | 1 | -0/+1520 |