Michael Friedrich
|
5c58eb368c
|
Merge 'macros' and 'custom' attributes into 'vars', part 1.
Refs #5855
|
2014-04-03 11:35:25 +02:00 |
Gunnar Beutner
|
41d0dde52e
|
Allow functions to return values.
Fixes #5922
|
2014-04-02 17:27:04 +02:00 |
Gunnar Beutner
|
0683fca535
|
Allow anonymous functions to be garbage-collected.
Fixes #5921
|
2014-04-02 17:27:04 +02:00 |
Gunnar Beutner
|
2faf17cb14
|
Fix column information for config errors.
Refs #5901
|
2014-04-01 11:43:53 +02:00 |
Gunnar Beutner
|
5eca503362
|
Support new-lines in addition to commas to separate commands.
Fixes #5901
|
2014-04-01 09:45:57 +02:00 |
Gunnar Beutner
|
b924941488
|
Fix ShowCodeFragment column numbers.
Refs #5893
|
2014-03-31 12:44:18 +02:00 |
Gunnar Beutner
|
d874cbfe5b
|
Fix: Crash when there's a config error in the first line / first column.
Fixes #5893
|
2014-03-31 09:41:07 +02:00 |
Gunnar Beutner
|
397fee13ff
|
Allow "object" and "apply" in AST expressions.
Refs #5870
|
2014-03-30 15:04:53 +02:00 |
Gunnar Beutner
|
7a6172c135
|
Remove support for the deprecated "var" and "set" keywords.
Refs #
|
2014-03-30 10:29:52 +02:00 |
Gunnar Beutner
|
5179eebf09
|
Allow rterm in indexer ops.
Refs #5870
|
2014-03-30 10:00:11 +02:00 |
Gunnar Beutner
|
ec0fdd3fd2
|
Fix operator precedence.
Refs #5870
|
2014-03-30 05:04:58 +02:00 |
Gunnar Beutner
|
14084735da
|
Make sure we evaluate "apply" rules in the right order.
Refs #5870
|
2014-03-30 01:20:58 +01:00 |
Gunnar Beutner
|
d00a839620
|
Fix incorrect debug info for "apply" rules.
Refs #5870
|
2014-03-30 01:20:58 +01:00 |
Gunnar Beutner
|
64aa5d1b09
|
Dump AST execution state in debug mode.
Refs #5878
|
2014-03-29 13:48:04 +01:00 |
Gunnar Beutner
|
66e769672c
|
Fix failed assertion in ConfigItem::GetProperties.
Refs #5870
|
2014-03-28 23:01:35 +01:00 |
Gunnar Beutner
|
33ae12d084
|
Implement apply support for scheduled downtimes and notifications.
Refs #5880
|
2014-03-28 23:01:33 +01:00 |
Gunnar Beutner
|
8a1bbc0ace
|
Make the real object name available for use in templates.
Refs #5882
|
2014-03-28 19:45:07 +01:00 |
Gunnar Beutner
|
fa11e5a97e
|
Update example config.
Refs #5878
|
2014-03-28 16:32:15 +01:00 |
Gunnar Beutner
|
0e79abb8f2
|
Implement instance variable "templates" for config objects.
Refs #5884
|
2014-03-28 14:46:19 +01:00 |
Gunnar Beutner
|
8ab39194f1
|
Unknown attributes should be a config error.
Refs #5883
|
2014-03-28 14:25:16 +01:00 |
Gunnar Beutner
|
54063f0b9f
|
Rename __name and __type properties.
Refs #5870
|
2014-03-28 14:17:55 +01:00 |
Gunnar Beutner
|
7ee1278118
|
Implement the new syntax for the "apply" keyword.
Refs #5878
|
2014-03-28 14:00:00 +01:00 |
Gunnar Beutner
|
b289987500
|
Implement the "." operator.
Refs #5876
|
2014-03-28 13:59:56 +01:00 |
Gunnar Beutner
|
de81baf515
|
Remove inline service/notification/downtime definitions.
Refs #5875
|
2014-03-28 11:22:39 +01:00 |
Gunnar Beutner
|
8958d2f69f
|
Implement the "import" keyword.
Refs #5869
|
2014-03-28 11:22:36 +01:00 |
Gunnar Beutner
|
47fe59e4de
|
Windows build fix.
|
2014-03-26 08:23:54 +01:00 |
Gunnar Beutner
|
536562cddd
|
Build fixes.
Refs #5846
|
2014-03-24 12:54:23 +01:00 |
Gunnar Beutner
|
013690e486
|
Remove __parent element for +=, -=, *= and /= operators.
Refs #5846
|
2014-03-24 11:34:41 +01:00 |
Gunnar Beutner
|
c66ac66219
|
Allow semi-colons as separators for lterms.
Refs #5846
|
2014-03-24 11:24:01 +01:00 |
Gunnar Beutner
|
8e699ac0fa
|
Fix scoping rules for object definitions.
Refs #5846
|
2014-03-24 11:23:47 +01:00 |
Gunnar Beutner
|
8bfb60b7fa
|
Improve error message for invalid inline service definitions.
Refs #5846
|
2014-03-24 11:23:05 +01:00 |
Gunnar Beutner
|
4ec939f332
|
Some more variable scoping fixes.
Refs #5846
|
2014-03-24 09:44:18 +01:00 |
Gunnar Beutner
|
3032cf8100
|
Make it easier to call AExpression::Dump from GDB.
Refs #5846
|
2014-03-24 09:27:46 +01:00 |
Gunnar Beutner
|
fd1aaa1997
|
Add missing locks.
Refs #5846
|
2014-03-24 09:15:45 +01:00 |
Gunnar Beutner
|
7086b44d3a
|
Fix variable scoping.
Refs #5846
|
2014-03-24 09:10:37 +01:00 |
Gunnar Beutner
|
1aca29afd2
|
Clean up the +=, -=, *= and /= operators.
Refs #5846
|
2014-03-24 09:06:16 +01:00 |
Gunnar Beutner
|
9adc63737a
|
Allow rterms as object names.
Refs #5846
|
2014-03-23 22:41:37 +01:00 |
Gunnar Beutner
|
ddc548bb5d
|
Fix AExpression::ExtractPath.
Refs #5846
|
2014-03-23 19:58:24 +01:00 |
Gunnar Beutner
|
d23078d6c4
|
Make sure +=, -=, *= and /= behave like they did before.
Refs #5846
|
2014-03-23 17:26:31 +01:00 |
Gunnar Beutner
|
aacc699dd4
|
Refactor the config parser's AST.
Refs #5846
|
2014-03-23 11:27:40 +01:00 |
Gunnar Beutner
|
67d8bc219e
|
Clean up the AExpression class.
Refs #5846
|
2014-03-22 10:29:45 +01:00 |
Gunnar Beutner
|
24e029bdb0
|
Allow values as top-level statements.
Refs #5846
|
2014-03-22 09:50:44 +01:00 |
Gunnar Beutner
|
ddbbd42c4b
|
Implement the log() function.
Refs #5846
|
2014-03-22 09:47:29 +01:00 |
Gunnar Beutner
|
2a6a75d52e
|
Improve error messages for exceptions in AExpressions.
Refs #5846
|
2014-03-22 08:40:09 +01:00 |
Gunnar Beutner
|
c9590d5183
|
Fix location messages.
Refs #5825
|
2014-03-21 16:01:32 +01:00 |
Gunnar Beutner
|
c0b10a8245
|
Make config error messages friendler.
Refs #5825
|
2014-03-21 15:58:13 +01:00 |
Gunnar Beutner
|
c286c25183
|
Show additional lines for config errors.
Refs #5825
|
2014-03-21 15:51:55 +01:00 |
Gunnar Beutner
|
0b90444dd8
|
Build fix.
|
2014-03-21 15:41:00 +01:00 |
Gunnar Beutner
|
dde483d7a8
|
Make config error messages more awesome.
Refs #5825
|
2014-03-21 15:39:52 +01:00 |
Gunnar Beutner
|
87e4b24686
|
Add line number info to duplicate object error message.
Refs #5825
|
2014-03-21 14:48:18 +01:00 |