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
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
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
|
f84cc8de39
|
Implement support for signals
fixes #7744
|
2014-11-20 06:54:48 +01:00 |
Gunnar Beutner
|
ea729b2b6c
|
Clean up the DebugHint class
|
2014-11-17 14:52:08 +01:00 |
Gunnar Beutner
|
3bb79715fa
|
Fix: Names for nested objects are evaluated at the wrong time
fixes #7689
|
2014-11-15 15:57:56 +01:00 |
Gunnar Beutner
|
d8e1943671
|
Fix missing debug info for nested dictionaries
fixes #7688
|
2014-11-15 12:17:59 +01:00 |
Gunnar Beutner
|
814589ac17
|
Use Array::Contains in InExpression/NotInExpression
|
2014-11-15 08:22:32 +01:00 |
Gunnar Beutner
|
79fb24cedb
|
Fix null pointer dereference while parsing the config
|
2014-11-13 23:25:52 +01:00 |
Gunnar Beutner
|
12a41795de
|
Add default parameters to the AST classes
|
2014-11-13 23:25:31 +01:00 |
Gunnar Beutner
|
02fef3f84a
|
Remove unions from the DebugInfo class
|
2014-11-13 09:02:43 +01:00 |
Gunnar Beutner
|
ee980a788b
|
Clean up the code a bit
|
2014-11-11 23:06:47 +01:00 |
Gunnar Beutner
|
65be09215f
|
Avoid unnecessary type lookups
refs #7622
|
2014-11-10 20:07:07 +01:00 |
Gunnar Beutner
|
3cc79a6005
|
Optimize apply/object filters
refs #7622
|
2014-11-10 12:06:29 +01:00 |
Gunnar Beutner
|
ec109b04dd
|
Refactor the AST
refs #7622
|
2014-11-10 12:06:25 +01:00 |
Gunnar Beutner
|
e3c5063aff
|
Remove unused fields from the ObjectRule class
refs #7622
|
2014-11-10 09:52:27 +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
|
684ad2641a
|
Fix GetInstance() methods for the DbType and config validator registry classes
|
2014-11-09 13:06:25 +01:00 |
Gunnar Beutner
|
4bb535fc47
|
Discard unnamed config items as early as possible
|
2014-11-09 04:17:34 +01:00 |
Gunnar Beutner
|
25ee5dd1fd
|
Fix problem with missing config items
|
2014-11-08 14:24:17 +01:00 |
Gunnar Beutner
|
e1c95d4fa0
|
Improve config compiler's memory usage
|
2014-11-08 13:21:51 +01:00 |
Gunnar Beutner
|
266b1754c7
|
Speed up type lookups
refs #7561
|
2014-11-07 12:39:32 +01:00 |
Gunnar Beutner
|
f69f7d61f2
|
Fix variable scope for object rules
|
2014-11-06 19:26:44 +01:00 |
Gunnar Beutner
|
8bbb2bfb7b
|
Fix compiler warnings for the lexers
|
2014-11-06 06:23:45 +01:00 |
Gunnar Beutner
|
32b0429904
|
Fix templates field
fixes #7585
|
2014-11-05 15:40:13 +01:00 |
Gunnar Beutner
|
ad14ff6d6b
|
Fix memory leak in the config parser
refs #7566
|
2014-11-05 09:29:15 +01:00 |
Gunnar Beutner
|
4eb37563b4
|
Improve memory usage for the config compiler
|
2014-11-05 08:55:00 +01:00 |
Gunnar Beutner
|
c1cbe157db
|
Allow strings as indexers
refs #7566
|
2014-11-04 15:22:10 +01:00 |
Gunnar Beutner
|
a6f20c7a22
|
Implement support for arbitrarily complex indexers
fixes #7566
|
2014-11-04 15:20:33 +01:00 |
Gunnar Beutner
|
a1c905bf62
|
Implement dictionary support for apply+for
fixes #7561
|
2014-11-04 11:02:10 +01:00 |
Gunnar Beutner
|
170c5a59e4
|
Implement typeof() function
|
2014-11-03 00:45:14 +01:00 |
Gunnar Beutner
|
4677014b6d
|
Implement support for arrays in custom variables
fixes #6544
|
2014-11-02 07:27:50 +01:00 |
Gunnar Beutner
|
db3887d09e
|
Make the 'name' attribute available in object definitions
fixes #7538
|
2014-11-01 06:39:21 +01:00 |
Gunnar Beutner
|
d300ceaaf7
|
Fix: Nesting an object in a template causes the template to become non-abstract
fixes #7537
|
2014-11-01 06:25:58 +01:00 |
Gunnar Beutner
|
93b66a0c4a
|
Clean up the config parser a bit
|
2014-11-01 05:23:14 +01:00 |
Gunnar Beutner
|
1811f8689b
|
Make sure templates are never evaluated on their own
fixes #7536
|
2014-11-01 05:12:13 +01:00 |
Gunnar Beutner
|
f8f89cef6d
|
Fix scoping rules for apply rules
fixes #7503
|
2014-10-30 09:20:42 +01:00 |
Gunnar Beutner
|
c10da708ff
|
Fix incorrect locks
|
2014-10-28 18:57:30 +01:00 |
Gunnar Beutner
|
a5684ea2ac
|
Build fix for Windows
|
2014-10-28 18:09:52 +01:00 |
Gunnar Beutner
|
76444027e9
|
Fix: Don't validate templates
refs #7458
|
2014-10-28 12:20:35 +01:00 |
Gunnar Beutner
|
3dc2f82345
|
Implement validation for "repository add"
fixes #7458
|
2014-10-28 11:55:25 +01:00 |
Gunnar Beutner
|
028186e7f0
|
Remove support for partial type validators
refs #7458
|
2014-10-28 08:22:41 +01:00 |
Gunnar Beutner
|
7559273359
|
Replace cJSON with YAJL
fixes #7452
|
2014-10-26 20:00:35 +01:00 |
Gunnar Beutner
|
2d5e9514a5
|
Refactor logging code
|
2014-10-19 17:52:17 +02:00 |
Gunnar Beutner
|
b18f57a745
|
Remove logger_fwd.hpp
|
2014-10-19 14:50:39 +02:00 |
Gunnar Beutner
|
8cc6368954
|
Implement generic color support for terminals
fixes #7396
|
2014-10-17 20:44:17 +02:00 |
Gunnar Beutner
|
f13ea9e1b8
|
Remove zone keyword
fixes #7400
|
2014-10-17 12:45:57 +02:00 |
Gunnar Beutner
|
feeb550654
|
Rename AExpression to Expression
|
2014-10-16 17:44:06 +02:00 |
Gunnar Beutner
|
14ac7dd974
|
Replace spaces with tabs
|
2014-10-13 09:47:05 +02:00 |
Gunnar Beutner
|
15358c6e95
|
Fix missing error messages (part 2)
refs #7331
|
2014-10-01 16:01:47 +01:00 |
Gunnar Beutner
|
a08f4588eb
|
Add error message for missing imports (and possibly other errors)
fixes #7331
|
2014-10-01 15:13:11 +01:00 |
Gunnar Beutner
|
308ba45102
|
Improve error message for duplicate objects
refs #6070
|
2014-09-09 14:49:21 +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
|
2a65c7821c
|
Remove validator for the Script type
fixes #7036
|
2014-08-31 11:09:18 +02:00 |
Gunnar Beutner
|
eb091a87b0
|
Implement support for unity builds
fixes #7034
fixes #7035
|
2014-08-30 20:02:12 +02:00 |
Gunnar Beutner
|
65bec9e904
|
Clean up some parts of the code
|
2014-08-17 17:57:41 +02:00 |
Gunnar Beutner
|
fdca524cdd
|
Fix some minor issues with the icinga2.debug feature
refs #6702
|
2014-08-16 22:12:40 +02:00 |
Gunnar Beutner
|
e359c55909
|
Add debug hints for attributes
refs #6702
|
2014-08-16 09:37:17 +02:00 |
Gunnar Beutner
|
0443c85bf5
|
Implement support for writing the icinga2.debug file
refs #6702
|
2014-08-15 21:00:26 +02:00 |
Michael Friedrich
|
7d35585cb0
|
Fix AExpression log message.
Refs #6346
|
2014-05-28 14:42:00 +02:00 |
Michael Friedrich
|
43dd9729d7
|
Change log message identifier for libconfig.
Refs #6346
|
2014-05-28 14:42:00 +02:00 |
Gunnar Beutner
|
d66b4d587e
|
Implement the "cluster-zone" check task.
Fixes #6204
|
2014-05-25 19:59:52 +02:00 |
Gunnar Beutner
|
632026cd9f
|
Rename C++ header files.
Fixes #6291
|
2014-05-25 16:27:14 +02:00 |
Gunnar Beutner
|
3a1ce23aeb
|
Implicitly set zone attribute for files includes from zones.d.
Refs #6191
|
2014-05-13 14:40:12 +02:00 |
Gunnar Beutner
|
a5d3523b85
|
Rename the function, return and for keywords and remove the lambda keyword.
Fixes #6194
|
2014-05-12 12:59:12 +02:00 |
Gunnar Beutner
|
9c3e399188
|
Remove unnecessary includes.
Fixes #6189
|
2014-05-11 18:11:32 +02:00 |
Gunnar Beutner
|
12c8814bd8
|
Fix some more compiler warnings.
Refs #5823
|
2014-05-11 06:43:01 +02:00 |
Gunnar Beutner
|
c7b5e4c31e
|
Fix some compiler warnings.
Refs #5823
|
2014-05-11 06:04:43 +02:00 |
Gunnar Beutner
|
7df7ec94d2
|
Fix scoping rules for dictionaries.
Refs #6183
|
2014-05-10 12:43:16 +02:00 |
Gunnar Beutner
|
6d7e028f92
|
Use a separate scope for "for" loops.
Refs #6183
|
2014-05-10 12:03:54 +02:00 |
Gunnar Beutner
|
0e34968e8f
|
Implement for loops.
Fixes #6183
|
2014-05-10 11:26:56 +02:00 |
Gunnar Beutner
|
ab8624d2f5
|
Implement support for arrays for the indexer operator.
Fixes #6182
|
2014-05-10 10:46:49 +02:00 |
Gunnar Beutner
|
0c31bae792
|
Config validator: Make sure that objects are not abstract.
Fixes #6148
|
2014-05-09 19:40:56 +02:00 |
Gunnar Beutner
|
bd8ccec258
|
Fix deadlock when calling functions recursively.
Fixes #6178
|
2014-05-09 14:45:59 +02:00 |
Gunnar Beutner
|
45270f1bb8
|
Refactor the agent and cluster components.
Refs #6107
|
2014-05-08 09:13:04 +02:00 |
Gunnar Beutner
|
b1dab6c074
|
Implement support for the "package" keyword.
Refs #6107
|
2014-05-08 09:13:04 +02:00 |
Michael Friedrich
|
e04d200d36
|
Allow EvaluateRules() to keep rules for the next iteration.
Refs #6105
|
2014-05-02 00:23:29 +02:00 |
Michael Friedrich
|
3c2dae1804
|
Evaluate object rules (group assign) before and after creating objects with apply rules.
Refs #6105
|
2014-05-01 23:51:42 +02:00 |
Gerd von Egidy
|
6ac851ca10
|
Improve error message when trying to open a config file.
Fixes #5666
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
|
2014-04-30 00:36:49 +02:00 |
Gerd von Egidy
|
19afcd894a
|
Split ConfigItem::ActivateItems() into ConfigItem::ValidateItems() and ConfigItem::ActivateItems().
Also removes the -Z commandline parameter: won't be needed when this feature is done.
Refs #5788
|
2014-04-29 10:34:01 +02:00 |