Commit Graph

29 Commits

Author SHA1 Message Date
30f516dd7d fix(formatting): Make formats parse specs as-is
This removes the spacing tinkering when parsing format specs.
The following example uses the old behavoir:

    format-test = <label-foo>  <label-bar>
    format-breaks = <label-foo><label-bar>/<bar-test>

`format-test` would replace all occurences of ' ' with the
a space string with defined `spacing` as its width. `format-breaks` would
not validate as the tags where split with ' ' as delimiter.

All that nonsense has been removed and each tag is extracted as is.
The `spacing` parameter can still be used to apply N extra whitespaces
between the tags, but it is now 0 by default.
2017-01-11 02:43:37 +01:00
6341c7ab25 refactor(config): Defer xrm initialization 2017-01-01 21:12:38 +01:00
78bb3695e6 refactor(config): Deduce return type from default value 2016-12-30 23:32:05 +01:00
9c14531542 fix(config): Require wrapping quotes to trim 2016-12-23 14:39:12 +01:00
a914526949 fix(config): Use strtoul
Refs #267
2016-12-22 18:37:23 +01:00
c01f111e34 refactor(modules): Move setup to constructor 2016-12-21 08:00:09 +01:00
9f9f438fae refactor: Remove last usage of boost::optional
Since it's the only thing boost was used for at the moment
we drop it to be able to get rid of a dependency.
2016-12-15 17:13:16 +01:00
f9062d031c refactor(clang-tidy): Apply fixes 2016-12-15 03:30:41 +01:00
78b5f9651f fix(config): Remove tabs 2016-12-14 20:39:40 +01:00
e11798253a fix(controller): Module margin require surrounding text 2016-12-14 19:03:59 +01:00
0b949ee3bb fix(config): Allow empty values 2016-12-14 15:10:19 +01:00
b11a662d81 fix(tray): Re-activation 2016-12-14 11:34:09 +01:00
5077325044 refactor(string_util): Use rvalue references for *trim() 2016-12-14 11:01:44 +01:00
80a00bd596 refactor(config): Cleanup and minor tweaks 2016-12-14 11:01:44 +01:00
83f7d2ce91 refactor: Cleanup 2016-12-14 11:01:44 +01:00
540bcb9fd0 refactor(config): Load on instantiation 2016-12-14 11:01:44 +01:00
4fca0c89b4 refactor: Object construction 2016-12-14 11:01:44 +01:00
1a2a6e5fab refactor: Construction methods 2016-12-14 11:01:44 +01:00
08be86fbe1 wip(refactor): Improve signal and event handling 2016-12-14 11:01:44 +01:00
d45fd76dcd refactor(config): Drop boost::property_tree 2016-12-14 10:57:45 +01:00
0ef2615af2 fix(config): Boost error
Ref #208
2016-12-01 13:00:38 +01:00
c6540a8950 refactor: Signaling 2016-12-01 08:56:16 +01:00
121d367205 fix(config): Use KEY_INHERIT 2016-12-01 08:30:48 +01:00
0c6937edae feat(config): Inheritance
Add support for basic inheritance. The parser will
look for `inherit = base/section` and copy all undefined
values from the base section.

Ref #84
2016-12-01 07:57:30 +01:00
ff9be848c7 refactor(clang-tidy): Apply fixes 2016-11-25 21:58:49 +01:00
09e0ea1932 config: Print deprecation warnings 2016-11-22 03:01:50 +01:00
c6d85b2b92 refactor: Optimize build 2016-11-20 23:04:31 +01:00
fd57ab0f3d fix: project rename 2016-11-19 06:26:07 +01:00
e7cb345cec wip: Separate source from definitions 2016-11-03 12:54:32 +01:00