Commit Graph

4917 Commits

Author SHA1 Message Date
Michael Friedrich ff3ee32d92 Fix DebugInfoRange for ApplyExpression in config parser
fixes #8173
2015-01-08 17:00:13 +01:00
Tobias von der Krone d78f7be909 Fix a typo in the example of the StatusDataWriter documentation
fixes #8171
2015-01-08 16:31:29 +01:00
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 7075607773 Use @$ instead of DebugInfoRange 2015-01-08 15:01:13 +01:00
Gunnar Beutner 493620a0ac Deactivate Livestatus listener before writing the state file
fixes #7660
2015-01-08 14:03:43 +01:00
Gunnar Beutner 79b0c13dfb Remove unnecessary default rules 2015-01-08 11:39:06 +01:00
Gunnar Beutner f02c87b14c Fix missing command arguments
fixes #8144
2015-01-08 11:38:09 +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 0091c70c41 Disallow side-effect-free r-value expressions in expression lists
fixes #6570
2015-01-08 09:34:32 +01:00
Gunnar Beutner acbf916506 Fix ambiguity when parsing include_recursive
fixes #8166
2015-01-07 17:22:29 +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 f3e0c5f113 Fix escape sequence for double quotes
refs #8164
2015-01-07 13:06:02 +01:00
Gunnar Beutner 2cb9f3011d Fix escape sequence for backslashes
fixes #8164
2015-01-07 08:56:52 +01:00
Gunnar Beutner 1073f031c8 Build fix for Windows 2014-12-22 14:14:16 +01:00
Gunnar Beutner 407f88e185 Fix incorrect week day calculation in LegacyTimePeriod::ParseTimeSpec
fixes #6943
2014-12-20 22:04:24 +01:00
Gunnar Beutner 9f6b90cd2d Don't show stack traces for known exception types
refs #6070
2014-12-20 15:41:31 +01:00
Gunnar Beutner c433284d27 Improve error reporting
fixes #8136
refs #6070
2014-12-20 15:29:04 +01:00
Gunnar Beutner ee5f4fb7e3 Improve error reporting for the import keyword
fixes #8061
2014-12-20 11:09:21 +01:00
Gunnar Beutner e03e143177 Report error for invalid escape sequences
fixes #7910
2014-12-20 09:48:18 +01:00
Gunnar Beutner cb5e6c1c6d Fix integer overflow in len()
fixes #8041
2014-12-20 09:36:35 +01:00
Gunnar Beutner 1ddab493e1 Make sure that Value::IsEmpty() returns true for empty strings
fixes #8018
2014-12-20 09:31:55 +01:00
Gunnar Beutner 6fddec0dd3 Improve error message for invalid field accesses
fixes #8079
2014-12-20 09:17:02 +01:00
Gunnar Beutner 3e64b642ca Make sure that "feature enable" uses relative paths for the symlinks
fixes #8121
2014-12-20 08:39:12 +01:00
Gunnar Beutner 6c53c7f192 Fix debug info for indexer
fixes #8132
2014-12-19 16:53:44 +01:00
Gunnar Beutner f280452b6d Make sure the livestatus module works when the compat module is disabled
refs #7794
2014-12-19 16:42:20 +01:00
Gunnar Beutner 4e5649f0d7 Disable vfork() on OS X
fixes #8131
2014-12-19 16:04:34 +01:00
Tim Hardeck 6206f78ef0 Exclude prepare-dirs from bin package
Prepare-dirs on i586 platforms end up in the same directory as the
other lib files so it would get automatically included in the bin
package. To prevent this only "*.so*" files are included in the bin
package from this directory.

fixes #8126

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-12-19 13:10:09 +01:00
Gunnar Beutner a3ea72c4ca Implement the __commit function
refs #8127
2014-12-19 13:08:46 +01:00
Gunnar Beutner 978aeed741 Implement the __get_objects function
refs #8127
2014-12-19 13:08:31 +01:00
Gunnar Beutner b78a8b6c77 Allow relative paths for the UNIX socket
refs #7805
2014-12-19 12:33:51 +01:00
Gunnar Beutner 97168378e8 Rename _DEBUG to I2_DEBUG
fixes #7767
2014-12-19 12:19:28 +01:00
Gunnar Beutner 28d7051aed Fix a deadlock in TlsStream::Read / TlsStream::Close
fixes #8124
2014-12-19 12:07:06 +01:00
Gunnar Beutner 06052c0539 Fix validation for service names in Notification, Dependency and ScheduledDowntime objects
fixes #8122
2014-12-19 11:44:31 +01:00
Jean Flach 2e9944f4bd Change some things up in the windows-plugins
refs #7886 #7778 #8060 #8115
2014-12-19 10:21:38 +01:00
Gunnar Beutner 7be19a2134 Move the InstallConfig include into the top-level CMakeLists.txt file
refs #7794
2014-12-19 09:51:14 +01:00
Gunnar Beutner cb7f93dc19 Implement CMake options for some of the modules
fixes #7794
fixes #7795
2014-12-19 09:46:41 +01:00
Jean Flach 23acc2408d Fix a compiler warning
fixes #8114
2014-12-19 09:36:59 +01:00
Gunnar Beutner 6383da1f2f Replace spaces with tabs 2014-12-18 17:06:00 +01:00
Gunnar Beutner 9f18211ada Remove obsolete code
refs #7709
2014-12-18 15:57:30 +01:00
Gunnar Beutner 873e294158 Refactor the WorkQueue class to make error reporting easier
refs #7709
2014-12-18 15:11:57 +01:00
Gunnar Beutner c3cf7682b9 Clean up the DebugInfo class
refs #7709
2014-12-18 12:58:46 +01:00
Gunnar Beutner 82a9a8f0cf Fix crash in ConfigCompilerContext::WriteObject
fixes #8106
2014-12-18 12:46:35 +01:00
Michael Friedrich a0359799bd Compat: Fix event_handler_enabled dump based on enable_event_handler attribute
fixes #8105
2014-12-18 11:22:15 +01:00
Gunnar Beutner 28734daa06 Fix crash when accessing invalid fields
fixes #8104
2014-12-18 11:21:11 +01:00
Gunnar Beutner 1ff8aaa2bc Update INSTALL.md for 2.2.2 2014-12-18 10:23:08 +01:00
Gunnar Beutner 1449a3ed2f Add new files from Debian's pkg-icinga2 repository
refs #8103
2014-12-18 06:43:05 +01:00
Gunnar Beutner e7223788ff Remove unused files from the Debian packages
refs #8103
2014-12-18 06:23:59 +01:00
Gunnar Beutner a3a6c4d02b Forward-port packaging changes from Debian's pkg-icinga2 repository
refs #8103
2014-12-18 06:12:26 +01:00
Gunnar Beutner af8aaf5bad Remove usage info from --version
fixes #8102
2014-12-18 05:28:51 +01:00