Gunnar Beutner
|
f69c0bd5a2
|
Remove the ScopeCurrent constant
fixes #9044
|
2015-04-15 08:36:17 +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
|
e8cee8d5e2
|
Allow using more than one %validator rule for the same type
fixes #8829
|
2015-03-20 15:49:55 +01:00 |
Gunnar Beutner
|
8682c530af
|
Fix line continuation support for parentheses
fixes #8679
|
2015-03-11 10:01:03 +01:00 |
Gunnar Beutner
|
77fc213d6d
|
Remove unnecessary dynamic_casts
|
2015-03-07 14:47:54 +01:00 |
Gunnar Beutner
|
c3e32911a7
|
Fix: else if doesn't work without an else branch
fixes #8572
|
2015-03-03 10:22:21 +01:00 |
Gunnar Beutner
|
fd090e057b
|
Implement 'else if'
fixes #8548
|
2015-02-26 13:51:13 +01:00 |
Gunnar Beutner
|
a76f816623
|
Implement the 'continue' and 'break' keywords
fixes #8394
|
2015-02-19 12:57:52 +01:00 |
Gunnar Beutner
|
c95d2f14a3
|
Fix a crash in yyerror()
refs #8133
|
2015-02-10 15:53:20 +01:00 |
Gunnar Beutner
|
0490fe73f7
|
Implement line continuation for "icinga2 console"
fixes #8133
|
2015-02-10 13:27:02 +01:00 |
Gunnar Beutner
|
bb12704a31
|
Implement the Json.encode and Json.decode methods
fixes #8393
|
2015-02-09 08:14:06 +01:00 |
Gunnar Beutner
|
3b3a65c9ae
|
Document operator precedence
fixes #7816
|
2015-02-02 12:48:20 +01:00 |
Gunnar Beutner
|
aeb579d2a0
|
Implement another syntax for nullary lambdas
refs #7564
|
2015-01-30 09:49:57 +01:00 |
Gunnar Beutner
|
fb323ee215
|
Evaluate apply filters in the for loop
fixes #7610
|
2015-01-29 12:38:25 +01:00 |
Gunnar Beutner
|
13917e07b0
|
Implement validator support for function objects
fixes #8291
|
2015-01-27 10:55:14 +01:00 |
Gunnar Beutner
|
01d3be8820
|
Implement the while statement
fixes #8269
|
2015-01-23 15:54:27 +01:00 |
Michael Friedrich
|
78bfd0204c
|
Update copyright year
|
2015-01-22 12:00:23 +01:00 |
Gunnar Beutner
|
848d076090
|
Implement the "globals" and "locals" keyword
fixes #8244
|
2015-01-16 13:04:34 +01:00 |
Gunnar Beutner
|
76fefaf9e2
|
Make argument for the return keyword optional
fixes #8237
|
2015-01-16 08:41:27 +01:00 |
Michael Friedrich
|
ff3ee32d92
|
Fix DebugInfoRange for ApplyExpression in config parser
fixes #8173
|
2015-01-08 17:00:13 +01:00 |
Gunnar Beutner
|
7075607773
|
Use @$ instead of DebugInfoRange
|
2015-01-08 15:01:13 +01:00 |
Gunnar Beutner
|
79b0c13dfb
|
Remove unnecessary default rules
|
2015-01-08 11:39:06 +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
|
6c53c7f192
|
Fix debug info for indexer
fixes #8132
|
2014-12-19 16:53:44 +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
|
8ef8316ca6
|
Fix location info for strings
fixes #8081
|
2014-12-16 06:18:39 +01:00 |
Gunnar Beutner
|
b9831f0be4
|
Add unit tests for the "var" keyword
refs #8074
|
2014-12-15 16:42:34 +01:00 |
Gunnar Beutner
|
77806b9de7
|
Get rid of the local/global keywords
refs #8074
|
2014-12-15 16:09:17 +01:00 |
Gunnar Beutner
|
252f3205cb
|
Fix incorrect variable scoping
refs #8074
|
2014-12-15 12:58:55 +01:00 |
Gunnar Beutner
|
262bfb7fc9
|
Allow if/else in rterms
refs #8074
|
2014-12-14 14:08:41 +01:00 |
Gunnar Beutner
|
1cb0231c05
|
Refactor how variable scopes work
refs #8074
|
2014-12-14 11:33:45 +01:00 |
Gunnar Beutner
|
dd4c04aa9b
|
Implement the 'global' keyword to differentiate between variable scopes
refs #8074
|
2014-12-13 17:48:58 +01:00 |
Gunnar Beutner
|
c0f6d65b66
|
Fix operator precedence for =>
refs #8030
|
2014-12-13 14:06:19 +01:00 |
Gunnar Beutner
|
54ab4dd924
|
Implement support for lambdas
refs #8030
|
2014-12-13 13:50:47 +01:00 |
Gunnar Beutner
|
cfd775c948
|
Move the VMFrame class to libbase
refs #8065
|
2014-12-12 15:33:56 +01:00 |
Gunnar Beutner
|
a9e2bc4b40
|
Implement a way to call methods on objects
fixes #8071
|
2014-12-11 21:12:34 +01:00 |
Gunnar Beutner
|
e86b36f8d7
|
Remove the __ prefix from some of the lexer tokens
fixes #7883
|
2014-12-11 13:12:35 +01:00 |
Gunnar Beutner
|
2720333d6e
|
Fix missing location information for included files
fixes #7927
|
2014-12-10 15:06:09 +01:00 |
Gunnar Beutner
|
89a0fc006e
|
Implement a boolean sub-type for the Value class
fixes #8043
|
2014-12-10 09:05:16 +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
|
ab63fca3d5
|
Make the config parser thread-safe
fixes #7822
|
2014-11-28 06:48:27 +01:00 |
Gunnar Beutner
|
cee13fbec0
|
Implement the %, ^, %=, ^=, &= and |= operators
fixes #7813
|
2014-11-25 17:16:34 +01:00 |
Gunnar Beutner
|
31605402ea
|
Move the parser's global variables to the ConfigCompiler class
refs #7822
|
2014-11-25 09:40:32 +01:00 |
Gunnar Beutner
|
9281f82ba3
|
Fix parser problem with missing new-lines
refs #7822
|
2014-11-25 08:59:55 +01:00 |
Gunnar Beutner
|
c5839b91aa
|
Use MakeLiteral instead of 'new LiteralExpression'
refs #7822
|
2014-11-25 08:44:47 +01:00 |
Gunnar Beutner
|
03a4452343
|
Remove the global m_Expressions variable
refs #7822
|
2014-11-25 08:42:27 +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
|
9bdc7e8a4e
|
Fix the shift/reduce conflicts in the parser
fixes #7800
|
2014-11-22 23:02:12 +01:00 |
Gunnar Beutner
|
f5766f9118
|
Refactor the stack frame handling for scripts
fixes #7748
|
2014-11-22 19:24:03 +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
|
f84cc8de39
|
Implement support for signals
fixes #7744
|
2014-11-20 06:54:48 +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
|
478f03b49a
|
Replace boost::shared_ptr with boost::intrusive_ptr
refs #7622
|
2014-11-09 16:54:41 +01:00 |
Gunnar Beutner
|
ad14ff6d6b
|
Fix memory leak in the config parser
refs #7566
|
2014-11-05 09:29:15 +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
|
4677014b6d
|
Implement support for arrays in custom variables
fixes #6544
|
2014-11-02 07:27:50 +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
|
028186e7f0
|
Remove support for partial type validators
refs #7458
|
2014-10-28 08:22:41 +01: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
|
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
|
c7b5e4c31e
|
Fix some compiler warnings.
Refs #5823
|
2014-05-11 06:04:43 +02:00 |
Gunnar Beutner
|
0e34968e8f
|
Implement for loops.
Fixes #6183
|
2014-05-10 11:26:56 +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
|
7a147d268e
|
Add group assign/ignore rules.
Fixes #5910
|
2014-04-23 15:50:00 +02:00 |
Gunnar Beutner
|
b8d3d42b7f
|
Allow trailing comma in arrays.
Fixes #5928
|
2014-04-11 13:51:14 +02:00 |
Gunnar Beutner
|
91f946a40e
|
Implement the "return" keyword.
Fixes #5985
|
2014-04-09 10:36:57 +02:00 |
Michael Friedrich
|
e97e1cf63f
|
Throw error on missing 'assign' in 'apply'.
Refs #5911
|
2014-04-07 13:04:13 +02:00 |
Gunnar Beutner
|
5e38c81eb5
|
Implement apply target types.
Fixes #5924
|
2014-04-05 13:53:55 +02:00 |
Gunnar Beutner
|
41d0dde52e
|
Allow functions to return values.
Fixes #5922
|
2014-04-02 17:27:04 +02:00 |
Gunnar Beutner
|
5eca503362
|
Support new-lines in addition to commas to separate commands.
Fixes #5901
|
2014-04-01 09:45:57 +02:00 |
Gunnar Beutner
|
397fee13ff
|
Allow "object" and "apply" in AST expressions.
Refs #5870
|
2014-03-30 15:04:53 +02:00 |
Gunnar Beutner
|
7a6172c135
|
Remove support for the deprecated "var" and "set" keywords.
Refs #
|
2014-03-30 10:29:52 +02:00 |
Gunnar Beutner
|
5179eebf09
|
Allow rterm in indexer ops.
Refs #5870
|
2014-03-30 10:00:11 +02:00 |
Gunnar Beutner
|
ec0fdd3fd2
|
Fix operator precedence.
Refs #5870
|
2014-03-30 05:04:58 +02:00 |
Gunnar Beutner
|
d00a839620
|
Fix incorrect debug info for "apply" rules.
Refs #5870
|
2014-03-30 01:20:58 +01:00 |
Gunnar Beutner
|
fa11e5a97e
|
Update example config.
Refs #5878
|
2014-03-28 16:32:15 +01:00 |
Gunnar Beutner
|
54063f0b9f
|
Rename __name and __type properties.
Refs #5870
|
2014-03-28 14:17:55 +01:00 |
Gunnar Beutner
|
7ee1278118
|
Implement the new syntax for the "apply" keyword.
Refs #5878
|
2014-03-28 14:00:00 +01:00 |