Michael Friedrich
d14a88235d
Replace Copyright header with a short version, part I
...
CLion -> replace in path
2019-02-25 14:48:22 +01:00
Michael Friedrich
3ad911a57c
Fix indent in configcompiler.cpp
2019-02-15 12:24:49 +01:00
Michael Friedrich
dab53448bc
icinga.com: Update *.{h,c}pp
2018-10-18 09:27:04 +02:00
Gunnar Beutner
8fda8d72ac
Implement support for the namespace and using keywords
2018-08-13 13:44:31 +02:00
Gunnar Beutner
621eed3f13
Apply clang-tidy fix 'modernize-pass-by-value'
2018-01-04 12:24:57 +01:00
Gunnar Beutner
ac155d1dda
Apply clang-tidy fix 'modernize-redundant-void-arg'
2018-01-04 12:24:57 +01:00
Michael Insel
158ae2188e
Change copyright header for 2018
2018-01-02 12:08:55 +01:00
Jean Flach
2636e6a77a
Whitespace fix
...
What does this change?
* Remove use of spaces for formatting
These could be found by using `grep -r -l -P '^\t+ +[^*]'
* Removal of training whitespaces
* A few lines longer than 120 chars
2017-12-20 14:53:52 +01:00
Gunnar Beutner
ab8386cf5c
Use std::unique_ptr for Expression objects
2017-12-15 10:44:54 +01:00
Gunnar Beutner
9ce950b0f1
Replace boost::ref/boost::cref with std::ref/std::cref
2017-11-30 17:47:09 +01:00
Gunnar Beutner
858873b940
Replace boost::bind/boost::function with std::bind/std::function
2017-11-27 15:15:11 +01:00
Gunnar Beutner
b62241e0ba
Remove redundant #include
...
refs #5168
2017-04-27 09:24:37 +02:00
Gunnar Beutner
d03d09160a
Clean up the IsAbsolutePath patch
...
refs #5168
2017-04-27 05:31:44 +02:00
Jean Flach
293625c17b
Fix absolute include paths for windows
...
fixes #5168
2017-04-24 15:39:21 +02:00
Michael Friedrich
b7caf0820d
Ensure that *.icinga.com is used everywhere
...
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Gunnar Beutner
5058c5d75b
Use 'auto' for iterator declarations
...
fixes #12561
2016-08-27 08:37:19 +02:00
Gunnar Beutner
288413f046
Replace BOOST_FOREACH with range-based for loops
...
fixes #12538
2016-08-25 06:46:17 +02:00
Michael Friedrich
915ebe17cd
ConfigCompiler should not log included files by default
...
fixes #11419
2016-07-05 15:43:48 +02:00
Michael Friedrich
5836b5b868
Fix: include_recursive should gracefully handle inaccessible files
...
fixes #12098
2016-07-05 15:40:49 +02:00
Gunnar Beutner
906ab613f3
Fix crash when using include_recursive in an object definition
...
fixes #12022
2016-06-22 17:01:36 +02:00
Gunnar Beutner
599929b0f6
Update copyright headers for 2016
2016-01-12 08:29:59 +01:00
Michael Friedrich
8055f05d5e
Fix cluster config sync for (non-)authoritative configs
...
Details: https://dev.icinga.org/issues/10819#note-39
refs #10819
2015-12-12 12:16:00 +01:00
Michael Friedrich
e5ca19b17f
Fix that relative paths do not work with include_zones
...
fixes #10828
2015-12-11 16:58:43 +01:00
Gunnar Beutner
1ec20a1e8d
Fix: Line continuation is broken in 'icinga2 console'
...
fixes #10461
2015-10-26 13:04:03 +01:00
Gunnar Beutner
dd77863910
Implement Array::ToString and Dictionary::ToString
...
fixes #10329
2015-10-26 11:05:24 +01:00
Gunnar Beutner
74ef3e3ce6
Turn includes into AST expressions
...
fixes #10008
2015-10-22 09:46:31 +02:00
Gunnar Beutner
9eb7cfa620
Add missing keywords in ConfigCompiler::GetKeywords
...
refs #9960
2015-10-07 06:09:55 -07:00
Gunnar Beutner
e19a36c659
Fix parser error when using new-lines in dictionaries
...
fixes #10204
2015-09-23 16:37:21 +02:00
Michael Friedrich
da83bae660
Rename config/modules to config/packages
...
fixes #9953
2015-09-01 20:09:04 +02:00
Gunnar Beutner
f2a055c85a
Use an AST node for the 'library' keyword
...
fixes #10017
2015-08-27 14:50:08 +02:00
Gunnar Beutner
1f63bcb1b3
Remove unused argument 'async'
...
refs #9972
2015-08-26 06:57:24 +02:00
Gunnar Beutner
6af771b3bf
Fix crash in ConfigCompiler::RegisterZoneDir
...
fixes #9987
2015-08-24 14:14:44 +02:00
Gunnar Beutner
6a8f890e7c
Remove the FutureExpression class
...
fixes #9972
2015-08-24 11:04:26 +02:00
Michael Friedrich
0f5287c2b1
Add module attribute for ConfigObject and set its origin
...
fixes #9852
2015-08-17 16:08:57 +02:00
Gunnar Beutner
aa00f4183a
Get rid of code duplication in ConfigWriter/ConsoleCommand
...
refs #9099
2015-08-11 06:47:08 +02:00
Michael Friedrich
0a1dad0a8f
Fix broken cluster config sync w/ latest api changes
...
Apart from dropping the requirement of adding 'include_zones "etc", "zones.d"'
on upgrade to 2.4, we've forgotten to register the local zone directory into
the new ZoneFragment tree.
This fix adds a new function to register the local zones.d directory.
After that the config sync works again.
fixes #9735
2015-07-26 17:57:34 +02:00
Gunnar Beutner
ccd63b9d15
Implement the include_zones directive
...
refs #9083
2015-07-21 09:32:17 +02:00
Gunnar Beutner
0884265180
Fix leak in ConfigCompiler::CompileStream
...
refs #8791
2015-03-19 08:17:57 +01:00
Gunnar Beutner
3e08f2e0b5
Make order for deferred initializers deterministic
...
refs #8791
2015-03-18 13:24:31 +01:00
Gunnar Beutner
6c96d5bc98
Clean up the start-up process a bit
...
fixes #8791
2015-03-18 11:14:51 +01:00
Gunnar Beutner
7c31654552
Remove the return type for Utility::LoadExtensionLibrary
2015-03-03 07:19:34 +01:00
Michael Friedrich
2cd5f3516d
Fix compiler warning
2015-02-11 15:58:07 +01:00
Gunnar Beutner
0490fe73f7
Implement line continuation for "icinga2 console"
...
fixes #8133
2015-02-10 13:27:02 +01:00
Michael Friedrich
29093f2a2f
Improve error message on missing included config files
...
fixes #8179
2015-02-07 21:50:14 +01:00
Michael Friedrich
78bfd0204c
Update copyright year
2015-01-22 12:00:23 +01:00
Gunnar Beutner
c433284d27
Improve error reporting
...
fixes #8136
refs #6070
2014-12-20 15:29:04 +01:00
Gunnar Beutner
1cb0231c05
Refactor how variable scopes work
...
refs #8074
2014-12-14 11:33:45 +01:00
Gunnar Beutner
705447ce18
Make ConfigCompiler::HandleInclude return an inline dictionary
...
fixes #8047
2014-12-10 11:30:42 +01:00
Gunnar Beutner
ab63fca3d5
Make the config parser thread-safe
...
fixes #7822
2014-11-28 06:48:27 +01:00
Gunnar Beutner
9a49e085cd
Fix some more shift/reduce conflicts
...
refs #7800
2014-11-23 12:06:47 +01:00