Brenden Matthews
ffd34a4fc0
Fix missing settings fail.
2022-12-26 13:21:40 -05:00
Brenden Matthews
c48df06359
Fix (some) wayland/x11 init ordering issues.
2022-12-26 13:21:40 -05:00
Brenden Matthews
90673cf161
Make GitLab build work with clang checks.
2019-02-23 17:13:19 -05:00
Brenden Matthews
3a3092902e
Get rid of silly if (not ...
exp. ( #713 )
...
* Get rid of silly `if (not ...` exp.
* Apply code fixes from sonar.
* Build fix.
* Apply more fixes from sonar.
* Apply more fixes from sonar.
* Apply more fixes from sonar.
2018-12-20 10:22:08 -05:00
Brenden Matthews
4b92556fca
Build improvements: clang-tidy, sonar, Dockerfile. ( #488 )
2018-05-12 19:26:31 -04:00
Brenden Matthews
eebc8c653b
Add formatting/static analysis ( #486 )
...
* Reform source with clang-format.
Rules applied with:
$ find . -iname *.h -o -iname *.cc | xargs clang-format \
-style=file -i -fallback-style=google
* Add clang-format and analyze to build.
Based on the excellent work at: https://github.com/ttroy50/cmake-examples
* Clean up CMake stuff on macOS.
* Remove vim/emacs modelines.
* Update copyright dates.
* Build fixes.
* Build fixes.
* Build fixes.
* Build fixes.
* Build fixes.
* Build fixes.
2018-05-12 12:03:00 -04:00
Pavel Labath
104ae7454c
Make setting getters/setters atomic.
2010-10-31 00:22:35 +02:00
Pavel Labath
ba79c58f37
Change setting setter call order, add cleanup function
...
Call setting setters in the order in which they were registered.
Add a cleanup function, called in the reverse registration order.
2010-03-10 19:33:45 +01:00
Pavel Labath
41ddaf9e23
refactor settings classes
...
result: easier declaration of settings, easier construction of custom setting classes, commitcount++
2010-03-02 19:29:51 +01:00
Pavel Labath
f6aa8a558f
range_checking_accessors class. makes sure setting's value belongs to a specified range
2010-02-27 15:15:25 +01:00
Pavel Labath
724fb2585c
Refactor default getters/setter for setting and make them more useful
...
Adding features AND reducing code size.... yeah
2010-02-25 21:11:39 +01:00
Pavel Labath
da3ef0d2c0
Use a named enum for lua types
2010-02-25 16:47:00 +01:00
Pavel Labath
9cf26becf2
Change lua::stack_sentry semantics. Using it should be much simpler now
2010-02-25 16:24:50 +01:00
Pavel Labath
80b049d1c0
Port 'alignment' setting to lua.
2010-02-24 20:51:33 +01:00
Pavel Labath
568c372920
Make modifying settings from C++ a bit easier
2010-02-24 20:27:16 +01:00
Pavel Labath
454f4a12a8
A special class for enum settings, which automatically prints error messages
2010-02-24 18:38:23 +01:00
Pavel Labath
c61376b60b
A framework for registering config settins
...
similar to the one for data sources.
2010-02-17 22:52:19 +01:00