Gunnar Beutner
9281f82ba3
Fix parser problem with missing new-lines
...
refs #7822
2014-11-25 08:59:55 +01:00
Gunnar Beutner
c5839b91aa
Use MakeLiteral instead of 'new LiteralExpression'
...
refs #7822
2014-11-25 08:44:47 +01:00
Gunnar Beutner
03a4452343
Remove the global m_Expressions variable
...
refs #7822
2014-11-25 08:42:27 +01:00
Gunnar Beutner
ed81cb0f2c
Make SetExpression check whether the LHS is null
...
fixes #7814
2014-11-24 18:26:27 +01:00
Gunnar Beutner
fddead5303
Fix some compiler warnings
...
fixes #7826
2014-11-24 18:25:08 +01:00
Gunnar Beutner
7e13f7597f
Disallow - in identifiers
...
fixes #7830
2014-11-24 16:54:06 +01:00
Gunnar Beutner
2ec499be17
Implement the __if and __else keywords
...
fixes #7824
2014-11-24 09:56:28 +01:00
Gunnar Beutner
47ba5eeddd
Change parameter type for include and include_recursive to T_STRING
...
fixes #7802
2014-11-24 07:18:37 +01:00
Gunnar Beutner
4d125edc0d
Move the cast functions into libbase
...
fixes #7807
2014-11-24 07:09:51 +01:00
Gunnar Beutner
c5b5eccf49
Add some more missing unit tests
...
refs #7805
2014-11-24 01:17:54 +01:00
Gunnar Beutner
03d712e96d
Add missing unit tests to the project file
...
refs #7805
2014-11-24 01:07:00 +01:00
Gunnar Beutner
a1b231e069
Remove unused parameter
...
refs #7805
2014-11-24 01:05:19 +01:00
Gunnar Beutner
ca28a51373
Remove unused code in the ThinMutex class
...
refs #7805
2014-11-24 01:01:39 +01:00
Gunnar Beutner
d3a6277fec
Fix the __return keyword
...
fixes #7811
2014-11-24 00:07:29 +01:00
Gunnar Beutner
c29d6a99ac
Fix unary minus operator
...
fixes #7815
2014-11-23 23:19:46 +01:00
Gunnar Beutner
e93595c006
Fix scoping for __for
...
fixes #7809
2014-11-23 20:43:50 +01:00
Gunnar Beutner
75d90d5963
Fix a crash in the "repl" command
...
refs #7805
2014-11-23 19:13:42 +01:00
Gunnar Beutner
d366dd8e30
Fix the reduce/reduce conflicts
...
refs #7800
2014-11-23 15:25:25 +01:00
Gunnar Beutner
14c94fabde
Add missing return value for ReplCommand::Run
...
refs #7805
2014-11-23 13:41:45 +01:00
Gunnar Beutner
fc1d872df8
Add color tags to the repl command
...
refs #7805
2014-11-23 12:38:16 +01:00
Gunnar Beutner
8d0ddb7c8c
Implement more unit tests
...
refs #7805
2014-11-23 12:35:13 +01:00
Gunnar Beutner
e302158631
Remove debug code
...
refs #7800
2014-11-23 12:08:29 +01:00
Gunnar Beutner
9a49e085cd
Fix some more shift/reduce conflicts
...
refs #7800
2014-11-23 12:06:47 +01:00
Gunnar Beutner
e8e4268a28
Improve test coverage for the Convert class
...
refs #7805
2014-11-23 09:58:33 +01:00
Gunnar Beutner
81acd34f52
Implement unit tests for the config parser
...
refs #7805
2014-11-23 09:54:08 +01:00
Gunnar Beutner
af759ff6ab
Fix incorrect result for the !in operator
...
fixes #7806
2014-11-23 09:54:08 +01:00
Gunnar Beutner
16cf274efc
Improve test coverage for the array class
2014-11-23 09:50:11 +01:00
Gunnar Beutner
9bdc7e8a4e
Fix the shift/reduce conflicts in the parser
...
fixes #7800
2014-11-22 23:02:12 +01:00
Gunnar Beutner
037b886584
Remove the C++ code generator
...
refs #7699
2014-11-22 19:24:13 +01:00
Gunnar Beutner
f5766f9118
Refactor the stack frame handling for scripts
...
fixes #7748
2014-11-22 19:24:03 +01:00
Gunnar Beutner
307db672c1
Fix initialization bug for the Notification class
...
refs #7780
2014-11-22 16:43:39 +01:00
Gunnar Beutner
8611682cdb
Fix initialization for the ApiListener class
...
fixes #7780
2014-11-21 23:23:31 +01:00
Gunnar Beutner
6f4ae74e1e
Increase default timeout for NRPE checks
...
fixes #7747
2014-11-21 22:05:33 +01:00
Gunnar Beutner
7fc5af6aff
Fix initialization bug for the Endpoint class
...
refs #7780
2014-11-21 21:01:44 +01:00
Gunnar Beutner
0ab61291c6
Make sure source information is always available for error messages
...
refs #7699
2014-11-21 18:35:59 +01:00
Gunnar Beutner
334e61037a
Split DynamicObject::OnConfigLoaded into two separate events
...
refs #7780
2014-11-21 18:31:37 +01:00
Gunnar Beutner
b22d3c099a
Add notification custom vars to the satellite-{host,service} templates
...
fixes #7770
2014-11-21 14:02:51 +01:00
Gunnar Beutner
764d72a61a
Improve error messages for the config parser
...
refs #7699
2014-11-21 09:07:08 +01:00
Gunnar Beutner
abe583f7d9
Fix some incorrectly generated code
...
refs #7699
2014-11-21 07:37:20 +01:00
Gunnar Beutner
aef7c487cf
Build fix
...
refs #7699
2014-11-20 22:54:29 +01:00
Gunnar Beutner
8e265b7b7f
Implement a C++ code generator for libconfig
...
fixes #7699
fixes #7704
fixes #7706
2014-11-20 21:53:32 +01:00
Gunnar Beutner
0078e00c13
Refactor apply/object rules
...
fixes #7700
2014-11-20 21:29:50 +01:00
Tim Hardeck
ee89f54679
Remove icinga-prepare-dirs from icinga-bin package
...
`icinga-prepare-dirs` was part of the package common and bin. Since it
was added with 2.2.0 to common with a man page I would expect this to be
the right place so I removed it from bin.
fixes #7740
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-11-20 21:03:56 +01:00
Gunnar Beutner
80e6854ce6
Fix incorrect return type for ScriptSignal::Invoke
...
refs #7744
2014-11-20 19:43:50 +01:00
Gunnar Beutner
06e72d134b
Fix incorrect error message for localhost (in "node update-config")
...
fixes #7754
2014-11-20 14:54:44 +01:00
Gunnar Beutner
2d53e000c8
Refactor the config validator so that it doesn't require serialized objects
...
refs #7701
2014-11-20 13:28:21 +01:00
Gunnar Beutner
5321bc4643
Don't validate strings in the JSON parser
...
fixes #7730
2014-11-20 10:09:13 +01:00
Gunnar Beutner
6cadde82bd
Avoid rebuilding libbase when the version number changes
...
fixes #7647
2014-11-20 10:02:34 +01:00
Gunnar Beutner
f84cc8de39
Implement support for signals
...
fixes #7744
2014-11-20 06:54:48 +01:00
Gunnar Beutner
184e38b122
Add Windows-specific example config files
2014-11-19 08:27:27 +01:00