summaryrefslogtreecommitdiffstats
path: root/grammar/rainerscript.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | implement string arrays for config objectsRainer Gerhards2012-10-011-25/+122
| | | | | | | | | | as a tester, imudp now supports binding to multiple options based on a string array
* | cleanupRainer Gerhards2012-09-281-1/+0
| |
* | implement RainerScript array-based string comparison operationsRainer Gerhards2012-09-281-13/+77
| |
* | rainerscript: add basic plumbing for arraysRainer Gerhards2012-09-281-1/+64
| | | | | | | | | | can be used in expressions, but always evaluate to the first element, only
* | Implement RainerScript ruleset() statementRainer Gerhards2012-09-281-1/+1
| |
* | Merge branch 'v6-devel'Rainer Gerhards2012-09-271-21/+108
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c grammar/grammar.y runtime/modules.h runtime/rsconf.c
| * bugfix: config errors did not always cause statement to failRainer Gerhards2012-09-271-21/+108
| | | | | | | | This could lead to startup with invalid parameters.
| * Free configuration objects after useMiloslav Trmač2012-09-171-1/+2
| | | | | | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* | fix invalid free in PoC == optimizationRainer Gerhards2012-09-251-1/+3
| |
* | slight optimization of == in string comparisonsRainer Gerhards2012-09-251-9/+17
| |
* | detect unreachable statements and emit warning messageRainer Gerhards2012-09-251-0/+3
| |
* | Merge branch 'master' into master-newrulesetRainer Gerhards2012-09-251-1/+2
|\ \ | | | | | | | | | | | | Conflicts: runtime/modules.c
| * | fix invalid free caused by optimized script executionRainer Gerhards2012-09-251-1/+2
| | |
* | | fix small memory leak during script optimizationRainer Gerhards2012-09-251-0/+2
| | |
* | | fix optimizer-introduced memleak in action destructionRainer Gerhards2012-09-251-1/+1
| | |
* | | Implement Script Optimizer: remove always-true PRIFILTRainer Gerhards2012-09-251-4/+44
| | |
* | | cleanup & better debug outputRainer Gerhards2012-09-241-2/+6
| | | | | | | | | | | | | | | - removed no longer needed function - debug log now contains action type for action objects
* | | Clean up implementation of omdiscard-->STOP optimizationRainer Gerhards2012-09-241-2/+3
| | |
* | | PoC: optimize omdicard --> STOPRainer Gerhards2012-09-241-2/+18
|/ /
* | Improve script execution speed for important string-comparisonsRainer Gerhards2012-09-211-2/+7
| |
* | Implement script optimization IF -> PRIFILTRainer Gerhards2012-09-211-19/+63
| |
* | Implement script optimizer basic constant folding & NOP removalRainer Gerhards2012-09-211-31/+164
| |
* | Add skeleton for RainerScript optimizerRainer Gerhards2012-09-201-0/+83
| | | | | | | | actual optimization is not yet done
* | Implement RainerScript prifield() functionRainer Gerhards2012-09-201-2/+61
| |
* | Implement RainerScript field() functionRainer Gerhards2012-09-201-7/+105
| |
* | new ruleengine: implement native JSON in RainerScriptRainer Gerhards2012-09-181-8/+46
| |
* | new ruleengine: implement script concatenation (& operator)Rainer Gerhards2012-09-171-0/+9
| |
* | Add set/unset stmt to grammar & ASTRainer Gerhards2012-09-131-0/+38
| | | | | | | | ... but not yet to executing engine
* | Merge branch 'v6-devel'Rainer Gerhards2012-09-131-0/+138
|\| | | | | | | | | Conflicts: ChangeLog
| * Merge branch 'v6-stable' into v6-develRainer Gerhards2012-09-131-0/+138
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog grammar/rainerscript.c grammar/rainerscript.h runtime/rule.c
| | * Fixing string unescaping (new code from this morning's commit)Rainer Gerhards2012-09-131-1/+1
| | |
| | * bugfix: missing support for escape sequences in RainerScriptRainer Gerhards2012-09-131-0/+139
| | | | | | | | | | | | | | | | | | | | | Only \' was supported. Now the usual set is supported. Note that v5 used \x as escape where x was any character (e.g. "\n" meant "n" and NOT LF). This also means there is some incompatibility to v5 for well-know sequences. Better break it now than later.
* | | bugfix: abort when invalid property name was configuredRainer Gerhards2012-09-121-1/+3
| | |
* | | new ruleengine: fix memory leaks & a little cleanupRainer Gerhards2012-09-101-4/+4
| | |
* | | new ruleengine: more cleanupRainer Gerhards2012-09-101-168/+1
| | |
* | | new ruleengine: properly freeing stmt treeRainer Gerhards2012-09-061-1/+50
| | |
* | | new ruleengine: restore action iterator functionalityRainer Gerhards2012-09-061-2/+2
| | |
* | | new ruleengine: implement rainerscript execution engineRainer Gerhards2012-09-061-1/+1
| | |
* | | new ruleengine: legacy action object properly constructedRainer Gerhards2012-09-041-0/+25
| | |
* | | new ruleengine: v6+ action object properly constructedRainer Gerhards2012-09-041-0/+17
| | |
* | | new ruleengine: PROP and PRI legacy filter structures properly createdRainer Gerhards2012-09-041-7/+79
| | |
* | | new ruleengine: script block correctly builtRainer Gerhards2012-09-041-36/+66
| | |
* | | Merge branch 'master' into master-newrulesetRainer Gerhards2012-09-041-1/+2
|\ \ \
| * | | Free configuration objects after useMiloslav Trmač2012-09-041-1/+2
| |/ / | | | | | | | | | Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* | | new ruleengine: add &-operator (legacy action list)Rainer Gerhards2012-09-041-2/+2
| | |
* | | new ruleengine: first code for stmt handlingRainer Gerhards2012-09-041-1/+53
|/ /
* | milestone: LIST-type templates work, but no all options yet presentRainer Gerhards2012-08-251-0/+18
| |
* | milestone: base plumbing for LIST-type templates mostly in placeRainer Gerhards2012-08-251-0/+39
| |
* | milestone: module() can load module in legacy modeRainer Gerhards2012-06-201-1/+0
| |
* | bugfix: small static memory leak in expression based filtersRainer Gerhards2012-06-141-0/+1
| | | | | | | | function names were not freed upon config shutdown