Commit Graph

71 Commits

Author SHA1 Message Date
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 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 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
Gunnar Beutner 7d7c8e8ec9 Fix path names in DebugInfo objects.
Refs #5825
2014-03-21 14:45:01 +01:00
Gunnar Beutner 8629071392 Improve line number information.
Fixes #5825
2014-03-21 10:28:58 +01:00
Gunnar Beutner 95bf7ca560 Make duplicate object definitions an error.
Fixes #3638
2014-03-20 15:38:29 +01:00
Gunnar Beutner 02fc3278c8 Implement missing operators for the Value class.
Fixes #5804
2014-03-20 13:02:31 +01:00
Gunnar Beutner 46d7cf3d6a Implement len() and the operators >, >=, < and <=.
Refs #5789
2014-03-19 13:25:06 +01:00
Gunnar Beutner 3383951791 Implement regex() and match() functions.
Refs #5789
2014-03-19 12:46:23 +01:00
Gunnar Beutner 124fa9ebc1 Make braces around constant expressions optional.
Refs #5789
2014-03-19 12:46:23 +01:00
Gunnar Beutner ec0557afea Implement additional operators: &&, ||, in and !in.
Refs #5789
2014-03-19 12:46:23 +01:00
Gunnar Beutner e0ad30a9c6 Allow arrays as operands in constant expressions.
Refs #5789
2014-03-19 12:46:23 +01:00
Gunnar Beutner caad7a7973 Implement the 'apply template' directive.
Refs #5789
2014-03-19 12:46:23 +01:00
Gunnar Beutner 3587dbbd13 Implement support for local variables in AExpressions.
Refs #5789
2014-03-19 12:46:23 +01:00
Gunnar Beutner 04b8724cb8 Implement == and != operators for AExpressions.
Refs #5789
2014-03-19 12:46:23 +01:00
Michael Friedrich ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Gunnar Beutner 25dc86881a Make script variables constant.
Fixes #5446
2014-02-12 11:51:50 +01:00
Michael Friedrich 555d72150a Update copyright header.
Fixes #5424
2014-01-09 00:32:11 +01:00
Michael Friedrich e6c6a7dc52 Use exclamation mark for auto-generated config item names.
Fixes #5318
2013-12-12 11:50:08 +01:00
Gunnar Beutner e540685e13 Implement support for constants in the config parser.
Refs #4946
2013-12-04 11:32:45 +01:00
Gunnar Beutner c92625770c Fix leak in the config parser.
Refs #4946
2013-12-04 10:39:46 +01:00
Gunnar Beutner f8d2172c27 Implement include_recursive config directive.
Fixes #5238
2013-11-29 12:26:31 +01:00
Gunnar Beutner 39dcf20a89 Implement support for stack traces for STL exceptions.
Fixes #5114
2013-11-20 21:55:14 +01:00
Gunnar Beutner 4534bb08c5 Implement DbCatEverything flag.
Fixes #5096
2013-11-20 16:47:46 +01:00
Gunnar Beutner 6acc017707 Remove namespace qualifiers for boost::make_shared and boost::enable_shared_from_this.
Fixes #5012
2013-11-07 08:28:33 +01:00
Gunnar Beutner 5f0ebed72b Improve compatibility with ancient versions of Bison.
Refs #4962
2013-11-03 13:45:26 +01:00
Gunnar Beutner 599429ec93 config: Implement AST support for const expressions. 2013-10-20 15:07:55 +02:00
Gunnar Beutner c002727edf config: Remove the "abstract" keyword. 2013-09-25 14:10:26 +02:00
Gunnar Beutner bf1a800e39 Update copyright information. 2013-09-25 07:45:56 +02:00
Gunnar Beutner a7e25beb06 Improve config validation.
Fixes #4391
2013-09-24 13:13:14 +02:00
Gunnar Beutner 9d0fee73a3 Fix memory leaks in the config parser. 2013-09-18 07:47:46 +02:00
Gunnar Beutner 7827d14ece config: Fix += { }. 2013-09-13 09:51:13 +02:00
Gunnar Beutner 15fae2bf2a Refactor how Application objects work. 2013-09-10 16:03:36 +02:00
Gunnar Beutner 519ce78727 Implement script variables IcingaPrefixDir, IcingaLocalStateDir, IcingaPkgLibDir, IcingaPkgDataDir and IcingaStatePath. 2013-08-30 12:04:24 +02:00
Gunnar Beutner e9e55cd8c0 Remove the replication feature and clean up the code. 2013-08-26 14:56:38 +02:00
Gunnar Beutner 8302062ead Config: Implement << and >> operators. 2013-06-26 08:21:35 +02:00
Gunnar Beutner f3d0738e93 Implement script variables. 2013-06-25 09:21:42 +02:00
Gunnar Beutner 89078e1cfb Config: Fix nested dictionaries in arrays. 2013-06-21 09:07:57 +02:00
Gunnar Beutner b8669d67ca Fix inheritance for config types. 2013-06-06 11:26:00 +02:00
Gunnar Beutner 5aeafb9f03 Make error message about invalid object names more verbose. 2013-05-08 10:50:56 +02:00
Gunnar Beutner aaac957ad5 Disallow colons in user-defined objects. Use colons for auto-generated object names. 2013-05-07 09:35:36 +02:00
Gunnar Beutner 288a877625 Implement new validation type: name(Type) 2013-05-03 10:48:28 +02:00
Gunnar Beutner ca4157ea24 Fix memory leaks in the config parser. 2013-04-04 13:51:36 +02:00
Gunnar Beutner 83ff08340b Remove some static vars from the config compiler (in an effort to make it re-entrant). 2013-03-27 13:50:53 +01:00
Gunnar Beutner 604b57da43 Fixed double-free in the config parser. 2013-03-26 17:26:31 +00:00