Alexander A. Klimov
9be3b60f76
DSL: allow ()use(x)=>x and ()use(x)=>{return x}
2019-12-03 11:19:34 +01:00
Alexander A. Klimov
5c347ef7bd
DSL: introduce x?y:z
2019-11-15 13:38:01 +01:00
Alexander Aleksandrovič Klimov
3804f4edcc
I like to move it, move it
2019-10-28 13:46:33 +01:00
Michael Friedrich
e0ef5fe9de
Merge pull request #7458 from Icinga/feature/config-parser-cleanup
...
Config parser: introduce optional_newlines
2019-10-22 17:29:59 +02:00
Alexander A. Klimov
aa4cad7482
Replace std::shared_ptr<Expression> with Expression::Ptr
...
refs #7361
2019-10-21 17:10:51 +02:00
Alexander A. Klimov
360cb50c9e
Config parser: inline arraysep
2019-08-29 14:06:01 +02:00
Alexander A. Klimov
fd88ac2f83
Config parser: introduce optional_newlines
2019-08-29 14:05:58 +02:00
Alexander A. Klimov
203482a675
Config parser: save some memory allocations
2019-08-29 10:54:54 +02:00
Michael Friedrich
37b715baf1
Replace a few more copyright strings
2019-02-25 16:30:40 +01:00
Michael Friedrich
3cb2c1d143
icinga.com: Update everything else
2018-10-18 09:50:53 +02:00
Gunnar Beutner
8fda8d72ac
Implement support for the namespace and using keywords
2018-08-13 13:44:31 +02:00
Gunnar Beutner
1a8692d972
Implement support for namespaces
2018-08-13 13:44:31 +02:00
Gunnar Beutner
8bfd419702
Implement references
2018-08-07 07:44:48 +02:00
Gunnar Beutner
2eb46f1203
Implement support for optionally specifying the 'var' keyword in 'for' loops
2018-07-03 11:03:22 +02:00
Gunnar Beutner
1047e5ff3d
Improve location info for some error messages
2018-01-29 10:04:58 +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
42744fde5b
Remove extraneous whitespace
2017-12-14 08:50:09 +01:00
Gunnar Beutner
3c60fbf75d
Use std::vector::emplace_back instead of std::vector::push_back
2017-11-30 17:47:09 +01:00
Gunnar Beutner
f9feb41877
Implement support for handling exceptions in user scripts
2017-06-13 14:03:41 +02:00
Gunnar Beutner
d05b7c4178
Allow expressions for the type in object/template declarations
2017-05-11 14:21:30 +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
78cd56e277
Implement support for default templates
...
fixes #12575
2016-08-28 10:27:43 +02:00
Gunnar Beutner
288413f046
Replace BOOST_FOREACH with range-based for loops
...
fixes #12538
2016-08-25 06:46:17 +02:00
Gunnar Beutner
429d11daa8
Fix compiler warnings
...
fixes #12534
2016-08-24 20:33:34 +02:00
Gunnar Beutner
c5a170a972
Implement support for namespaces
...
fixes #12408
2016-08-12 11:32:16 +02:00
Gunnar Beutner
54bbaf9f7d
Implement support for marking functions as deprecated
...
fixes #12393
2016-08-10 15:48:05 +02:00
Gunnar Beutner
81a7a002b4
Improve validation for flow control statements
...
fixes #11622
2016-05-11 08:01:31 +02:00
Gunnar Beutner
93a09b874b
Remove the (unused) 'inherits' keyword
...
fixes #11659
2016-04-22 13:49:30 +02:00
Gunnar Beutner
599929b0f6
Update copyright headers for 2016
2016-01-12 08:29:59 +01:00
Gunnar Beutner
678a237739
Turn '=>' lambda expressions into side-effect-free statements
...
fixes #10760
2015-12-01 16:41:00 +01:00
Gunnar Beutner
5991a878a0
Build fix for SLES 11 (with -std=c++11)
...
fixes #10615
2015-11-21 04:46:13 +01:00
Gunnar Beutner
7621870278
Implement a debugger for Icinga scripts
...
fixes #10547
2015-11-05 14:29:45 +01:00
Gunnar Beutner
51f473d08a
Implement the current_filename and current_line keywords
...
fixes #10243
2015-11-03 16:34:34 +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
74ef3e3ce6
Turn includes into AST expressions
...
fixes #10008
2015-10-22 09:46:31 +02:00
Gunnar Beutner
8136cda367
Implement the ignore_on_error keyword
...
fixes #9960
2015-10-05 12:44:11 +02:00
Gunnar Beutner
6fb1b60c12
Fix: NULs don't work in string values
...
fixes #10234
2015-09-29 07:09:35 +02: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
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
071d2f18fb
Rename DynamicObject/DynamicType to ConfigObject/ConfigType
...
fixes #9914
2015-08-15 20:40:41 +02:00
Gunnar Beutner
827de21907
Improve error messages for duplicate objects
...
refs #9101
2015-08-15 20:07:12 +02:00
Gunnar Beutner
ccd63b9d15
Implement the include_zones directive
...
refs #9083
2015-07-21 09:32:17 +02:00
Michael Friedrich
51d0e71a00
Don't allow "ignore where" for groups when there's no "assign where"
...
fixes #9554
2015-07-16 13:56:12 +02:00
Michael Friedrich
ed3882ba33
Fix config parser ignoring forbidden "ignore" in template definition
...
fixes #9535
2015-07-02 17:53:34 +02:00