Gunnar Beutner
71dc682924
Implement support for "." in attributes when creating objects
...
refs #9082
2015-08-18 16:53:30 +02:00
Gunnar Beutner
d8cab2f0e8
Add 'override' keyword to methods
...
refs #9929
2015-08-18 12:45:30 +02:00
Gunnar Beutner
7fc7cde6a1
Build fix for Windows
2015-08-17 19:36:27 +02:00
Michael Friedrich
0f5287c2b1
Add module attribute for ConfigObject and set its origin
...
fixes #9852
2015-08-17 16:08:57 +02:00
Gunnar Beutner
071d2f18fb
Rename DynamicObject/DynamicType to ConfigObject/ConfigType
...
fixes #9914
2015-08-15 20:40:41 +02:00
Gunnar Beutner
827de21907
Improve error messages for duplicate objects
...
refs #9101
2015-08-15 20:07:12 +02:00
Gunnar Beutner
1b21faeb5d
Move object name validation into ConfigItemBuilder class
...
fixes #9911
2015-08-15 20:07:11 +02:00
Gunnar Beutner
ce2735f10b
Fix validation errors when creating objects with the API
...
refs #9101
2015-08-15 20:07:11 +02:00
Gunnar Beutner
e2290d5012
Implement support for unregistering objects
...
refs #9101
2015-08-15 20:07:11 +02:00
Gunnar Beutner
16ddc12c06
Implement support for creating objects
...
refs #9101
2015-08-15 20:07:11 +02:00
Michael Friedrich
d7970f5bb1
Implement modified attributes v2
...
refs #9081
refs #9093
2015-08-15 20:07:10 +02:00
Gunnar Beutner
aa00f4183a
Get rid of code duplication in ConfigWriter/ConsoleCommand
...
refs #9099
2015-08-11 06:47:08 +02:00
Gunnar Beutner
07f9df8b2d
Build fix for Windows
2015-08-10 15:28:31 +02:00
Gunnar Beutner
a7bfc5ef16
Fix: Dict initializer incorrectly re-initialized field that is set to an empty string
...
fixes #9835
2015-08-05 07:45:10 +02:00
Michael Friedrich
973db46d40
Implement support for writing configuration files
...
fixes #9099
2015-08-03 15:07:38 +02:00
Gunnar Beutner
5bd46c2b38
Fix: ScriptFrame's 'Self' attribute gets corrupted when an expressions throws an exception
...
fixes #9795
2015-07-30 20:22:02 +02:00
Gunnar Beutner
1634dbc6e4
Fix crash when trying to set field on a value that is not an object
...
fixes #9779
2015-07-30 08:28:07 +02:00
Michael Friedrich
0a1dad0a8f
Fix broken cluster config sync w/ latest api changes
...
Apart from dropping the requirement of adding 'include_zones "etc", "zones.d"'
on upgrade to 2.4, we've forgotten to register the local zone directory into
the new ZoneFragment tree.
This fix adds a new function to register the local zones.d directory.
After that the config sync works again.
fixes #9735
2015-07-26 17:57:34 +02:00
Gunnar Beutner
ccd63b9d15
Implement the include_zones directive
...
refs #9083
2015-07-21 09:32:17 +02:00
Michael Friedrich
51d0e71a00
Don't allow "ignore where" for groups when there's no "assign where"
...
fixes #9554
2015-07-16 13:56:12 +02:00
Michael Friedrich
c8d129bf9f
Enable -Wno-deprecated-register for Clang and AppleClang
...
refs #9414
2015-07-14 15:02:43 +02:00
Michael Friedrich
2add0c7b3d
Fix -Wno-deprecated-register flag w/ sles11sp3 (Unix/Darwin only)
...
This only applies to git master (target 2.4)
refs #8842
refs #9559
fixes #9414
Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2015-07-05 15:14:18 +02:00
Michael Friedrich
ed3882ba33
Fix config parser ignoring forbidden "ignore" in template definition
...
fixes #9535
2015-07-02 17:53:34 +02:00
Gunnar Beutner
d93bcedaad
Implement sandbox mode for the config parser
...
fixes #9068
2015-04-16 08:48:17 +02:00
Gunnar Beutner
f69c0bd5a2
Remove the ScopeCurrent constant
...
fixes #9044
2015-04-15 08:36:17 +02:00
Paul Richards
5cd2056f43
Fix crash in VMOps::FunctionCall
...
fixes #8952
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-04-01 22:51:17 +02:00
Gunnar Beutner
1c7e7dac60
Avoid setting up unnecessary stack frames for dictionary expressions
2015-03-31 12:39:34 +02:00
Gunnar Beutner
91da55872d
Avoid unnecessary dictionary lookups
...
fixes #8922
2015-03-31 11:45:38 +02:00
Gunnar Beutner
a74fb1e7e8
Avoid setting up unnecessary stack frames for function calls
2015-03-31 07:09:20 +02:00
Gunnar Beutner
ec7224e3ed
Generate C++ code for type validators
...
fixes #7709
fixes #8867
2015-03-27 07:59:27 +01:00
Gunnar Beutner
665c3b45c1
Add support for the C++11 keyword 'override'
...
fixes #8842
2015-03-23 07:55:06 +01:00
Gunnar Beutner
808a26ae72
Fix: 'return' keyword doesn't work inside for loops
...
fixes #8834
2015-03-22 00:04:57 +01:00
Gunnar Beutner
ed29d06ab6
Implement constructor-style casts
...
fixes #8832
2015-03-21 22:48:23 +01:00
Gunnar Beutner
250fc54cd0
Fix copyright header indentation
2015-03-21 11:02:01 +01:00
Gunnar Beutner
e8cee8d5e2
Allow using more than one %validator rule for the same type
...
fixes #8829
2015-03-20 15:49:55 +01:00
Gunnar Beutner
16ef84fd35
Use TypeInstance field instead of looking up types by name
...
fixes #8817
2015-03-20 08:15:07 +01:00
Gunnar Beutner
e22386e63f
Make load order for objects more reliable
...
fixes #8770
2015-03-19 15:58:38 +01:00
Gunnar Beutner
6812e2668c
Improve error message for invalid field access
...
fixes #8769
2015-03-19 13:48:51 +01:00
Gunnar Beutner
0884265180
Fix leak in ConfigCompiler::CompileStream
...
refs #8791
2015-03-19 08:17:57 +01:00
Gunnar Beutner
2aa65f3f4c
Don't use the thread pool to compile Livestatus scripts
...
refs #8791
2015-03-18 14:36:46 +01:00
Gunnar Beutner
3e08f2e0b5
Make order for deferred initializers deterministic
...
refs #8791
2015-03-18 13:24:31 +01:00
Gunnar Beutner
50b1e1cf6b
Fix livestatus unit tests
...
refs #8791
2015-03-18 12:11:42 +01:00
Gunnar Beutner
6c96d5bc98
Clean up the start-up process a bit
...
fixes #8791
2015-03-18 11:14:51 +01:00
Gunnar Beutner
4a8920b1d4
Improve Flex version detection on Windows
...
refs #8750
2015-03-16 13:32:02 +01:00
Gunnar Beutner
8072ca31d9
Ensure that flex meets the version requirements
...
fixes #8750
2015-03-15 21:08:06 +01:00
Gunnar Beutner
8682c530af
Fix line continuation support for parentheses
...
fixes #8679
2015-03-11 10:01:03 +01:00
Gunnar Beutner
977ca844c7
Remove an unnecessary temporary variable
2015-03-10 15:23:27 +01:00
Gunnar Beutner
e50d3e6e5a
Fix validator for dependencies
...
fixes #8596
2015-03-09 08:04:18 +01:00
Gunnar Beutner
77fc213d6d
Remove unnecessary dynamic_casts
2015-03-07 14:47:54 +01:00
Gunnar Beutner
4a2a6d999a
Fix incorrect debug hints for nested attributes
...
fixes #8604
2015-03-05 13:18:15 +01:00