Michael Friedrich
6ae9685cee
Fix sending notifications for volatile checks on OK->OK changes
...
volatile checks make state changes behave like HARD state changes.
Though OK -> OK transitions must not be notified.
Increased log information for notifications too.
fixes #8063
2015-01-08 16:20:44 +01:00
Gunnar Beutner
093be8b5c9
Allow side-effect-free expressions in a limited number of cases
...
refs #6570
2015-01-08 10:33:45 +01:00
Gunnar Beutner
54389cf324
Fix a compiler warning
...
refs #8164
2015-01-07 15:00:20 +01:00
Gunnar Beutner
25d639d702
Add unit tests for escape sequences
...
refs #8164
2015-01-07 13:26:10 +01:00
Gunnar Beutner
0724c0c472
Update unit tests to use the new variable syntax
...
refs #8074
2014-12-16 10:37:21 +01:00
Gunnar Beutner
d72bd4fec2
Add another unit test for expressions
...
refs #8074
2014-12-15 17:23:18 +01:00
Gunnar Beutner
b9831f0be4
Add unit tests for the "var" keyword
...
refs #8074
2014-12-15 16:42:34 +01:00
Gunnar Beutner
dcaad50221
Fix unit test
...
refs #8074
2014-12-15 15:12:24 +01:00
Gunnar Beutner
b40e95d9b6
Only implicitly convert strings to indexers
...
refs #8074
2014-12-14 11:55:44 +01:00
Gunnar Beutner
7ffa3dfb0b
Remove obsolete unit test
...
refs #8040
2014-12-13 13:54:24 +01:00
Michael Friedrich
d11286e9a5
DB IDO: Update child object reachability if parentchanges to !{OK,UP}
...
fixes #7683
2014-12-12 16:12:05 +01:00
Gunnar Beutner
26c5256c05
Rename VMFrame to ScriptFrame in the unit tests
...
refs #8065
2014-12-12 15:39:15 +01:00
Gunnar Beutner
aa38dde1fc
Implement prototype functions
...
fixes #8065
2014-12-12 15:22:37 +01:00
Gunnar Beutner
b016003eb5
Implement string indexers
...
fixes #8062
2014-12-12 06:54:38 +01:00
Gunnar Beutner
5324b99fd0
Fix unit tests
...
refs #7883
2014-12-11 13:25:06 +01:00
Gunnar Beutner
2720333d6e
Fix missing location information for included files
...
fixes #7927
2014-12-10 15:06:09 +01:00
Gunnar Beutner
d88856a994
Fix failing unit tests
...
refs #8043
2014-12-10 11:25:20 +01:00
Gunnar Beutner
c381e15b5a
Remove obsolete unit tests
...
refs #8043
2014-12-10 10:44:15 +01:00
Gunnar Beutner
9e01f6d8b9
Fix operator precedence for %, |, ^, &, in and !in in combination with <
...
fixes #8029
2014-12-09 20:51:19 +01:00
Gunnar Beutner
52fb177461
Implement more unit tests for typeof()
...
refs #8028
2014-12-09 16:46:29 +01:00
Gunnar Beutner
37ffda131e
Add unit tests for the typeof() operator
...
refs #8002
2014-12-08 11:03:50 +01:00
Michael Friedrich
b81035e352
Livestatus: Fix missing host downtimes/comments
...
fixes #7064
2014-12-05 16:32:14 +01:00
Gunnar Beutner
7d93788650
Fix crash in the unit tests
...
fixes #7769
2014-12-04 21:50:22 +01:00
Gunnar Beutner
a5c206cbe2
Fix problem with macro arguments which are not separated by whitespace
...
fixes #7314
2014-12-01 15:53:23 +01:00
Gunnar Beutner
d013df06f7
Fix the Expression unit tests
...
refs #7822
2014-11-28 07:31:37 +01:00
Gunnar Beutner
9dfa3d22d4
Implement support for arrays in command arguments
...
fixes #6709
2014-11-27 13:24:07 +01:00
Gunnar Beutner
c220a99f2d
Implicitly convert Number argument to string for operator +
...
fixes #7823
2014-11-25 12:33:08 +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
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
d366dd8e30
Fix the reduce/reduce conflicts
...
refs #7800
2014-11-23 15:25:25 +01:00
Gunnar Beutner
8d0ddb7c8c
Implement more unit tests
...
refs #7805
2014-11-23 12:35:13 +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
16cf274efc
Improve test coverage for the array class
2014-11-23 09:50:11 +01:00
Gunnar Beutner
f592a13481
Make sure all threads are dead before calling fork()
...
fixes #7653
2014-11-12 21:27:36 +01:00
Gunnar Beutner
02c559eff9
Fix crash in the unit tests
...
fixes #7648
2014-11-12 09:33:13 +01:00
Gunnar Beutner
478f03b49a
Replace boost::shared_ptr with boost::intrusive_ptr
...
refs #7622
2014-11-09 16:54:41 +01:00
Gunnar Beutner
266b1754c7
Speed up type lookups
...
refs #7561
2014-11-07 12:39:32 +01:00
Michael Friedrich
eeb6facdac
Livestatus: Add 'cv_is_json' and encode CV arrays/dicts as json
...
refs #7560
2014-11-04 17:39:28 +01:00
Michael Friedrich
58d5c42d9c
DB IDO: Dump custom attributes as json encoded arrays/dictionaries; add 'is_json' column
...
refs #7560
2014-11-04 13:47:45 +01:00
Gunnar Beutner
170c5a59e4
Implement typeof() function
2014-11-03 00:45:14 +01:00
Gunnar Beutner
7559273359
Replace cJSON with YAJL
...
fixes #7452
2014-10-26 20:00:35 +01:00
Gunnar Beutner
739cb43289
Rename qstring.{cpp,hpp} to string.{cpp,hpp}
2014-10-19 14:52:07 +02:00
Michael Friedrich
648f47f931
Fix package builds after removal of icinga2-{en,dis}able-feature scripts
...
refs #7250
2014-10-14 20:25:53 +02:00
Gunnar Beutner
d7d6d6096f
Remove icinga2-enable-feature and icinga2-disable-feature
...
refs #7250
2014-10-14 18:35:52 +02:00
Gunnar Beutner
879684efcd
Fix problems with PNP4Nagios
...
fixes #7268
2014-09-17 15:38:39 +02:00
Gunnar Beutner
46f26024dc
Implement support for excluding files from unity builds
...
refs #7034
2014-09-01 09:19:21 +02:00
Gunnar Beutner
eb091a87b0
Implement support for unity builds
...
fixes #7034
fixes #7035
2014-08-30 20:02:12 +02:00