Commit Graph

2174 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
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 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
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
Gunnar Beutner cb7f93dc19 Implement CMake options for some of the modules
fixes #7794
fixes #7795
2014-12-19 09:46:41 +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 c90c8919ca Fix the dependency nightmare that is libreadline
refs #8091
2014-12-17 10:24:13 +01:00
Gunnar Beutner 3436dbc697 Fix incorrect package name for SLES/openSUSE
refs #8091
2014-12-17 09:30:54 +01:00
Gunnar Beutner 92eb6a2f45 Update documentation for libreadline requirement
fixes #8091
2014-12-17 09:07:05 +01:00
Gunnar Beutner 9eeb64a780 Update livestatus and statusdata to properly support booleans
fixes #8100
2014-12-17 08:54:28 +01:00
Gunnar Beutner 5dd0bbfe31 Fix another problem with boolean values in SQL queries
refs #8100
2014-12-16 21:43:03 +01:00
Gunnar Beutner aa795c1b81 Build fix for Windows
refs #7805
2014-12-16 21:28:16 +01:00
Gunnar Beutner 5e1182a5c7 Fix incorrect SQL values for boolean fields
fixes #8100
2014-12-16 21:28:13 +01:00
Gunnar Beutner 96626f4eca Increase the timeout for "repl" sessions
refs #7805
2014-12-16 19:51:33 +01:00
Gunnar Beutner f800630c10 Implement Livestatus support for the "repl" command
refs #7805
2014-12-16 19:28:46 +01:00
Gunnar Beutner 9011c9fa67 Fix crash when accessing invalid fields on objects which don't have prototypes 2014-12-16 18:15:47 +01:00
Gunnar Beutner d82defe6a9 Add readline support for the "repl" command
fixes #8091
2014-12-16 13:26:26 +01:00
Gunnar Beutner 27db75fbe6 Add version output to the "repl" command
refs #7805
2014-12-16 10:36:59 +01:00