freddii
|
b62e115830
|
fixed wrong spelled words
|
2021-01-23 17:59:07 -06:00 |
|
Brenden Matthews
|
46abd3b75a
|
Apply fixes from clang-tidy/format.
|
2019-02-23 17:13:19 -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
|
0ac1c21ece
|
Avoid compiler warning
|
2010-08-27 16:24:26 +02:00 |
|
Pavel Labath
|
5f60b5427e
|
Improve range_config_setting<>
now it catches negative values assigned to unsigned settings
|
2010-08-25 18:51:29 +02:00 |
|
Pavel Labath
|
68272383fa
|
make conversion functions inline
|
2010-03-10 21:18:03 +01: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
|
5c3d06346a
|
Use min() and max() instead of infinity() for default limits
because integral types do not have infinite values
|
2010-02-28 12:13:37 +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
|
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 |
|