summaryrefslogtreecommitdiffstats
path: root/grammar/rainerscript.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v7-stable'Rainer Gerhards2013-11-051-3/+10
|\
| * Merge branch 'v7-stable-call-ruleset-queue' into v7-stableRainer Gerhards2013-11-051-3/+10
| |\ | | | | | | | | | | | | Conflicts: ChangeLog
| | * bugfix: call to ruleset with async queue did not use the queueRainer Gerhards2013-06-261-3/+10
| | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=443
* | | refactor regression fix: misadressing in property name debug outputRainer Gerhards2013-10-161-1/+3
| | |
* | | Merge branch 'master-var-refactor' into tmpRainer Gerhards2013-10-161-54/+67
|\ \ \
| * \ \ Merge branch 'master' into master-var-refactorRainer Gerhards2013-10-261-0/+4
| |\ \ \
| * \ \ \ Merge branch 'master' into master-var-refactorRainer Gerhards2013-10-261-0/+1
| |\ \ \ \
| * \ \ \ \ Merge branch 'v7-stable-varfree' into master-var-refactorRainer Gerhards2013-10-251-27/+45
| |\ \ \ \ \
| | * | | | | refactor var desctruction in script engineRainer Gerhards2013-10-251-25/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This provides better extensibility when new data types are added. Thanks to Pavel Levshin for suggesting this.
| * | | | | | refactor regression fix: misadressing during script variable evaluation in ↵Rainer Gerhards2013-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | debug mode Thanks to Pavel Levshin for reporting the problem.
| * | | | | | fix VAR handling in script grammar and codeRainer Gerhards2013-10-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The $-var designator is now correctly stripped off the varname.
| * | | | | | fix refactoring regression: make message and system properties work again in ↵Rainer Gerhards2013-10-231-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | script
| * | | | | | improve debug outputRainer Gerhards2013-10-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | we know also learn variable type
| * | | | | | fix another small memleak introduced during refactoringRainer Gerhards2013-10-231-0/+1
| | | | | | |
| * | | | | | refactor RainerScript variable accessRainer Gerhards2013-10-231-1/+11
| | | | | | |
| * | | | | | refactor: simplify JSON variable accessRainer Gerhards2013-10-231-3/+5
| | | | | | |
| * | | | | | refactor: use common code for message property description processingRainer Gerhards2013-10-221-17/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | in all cases except script var access -- this comes next...
| * | | | | | refactor: more simplification in property handlingRainer Gerhards2013-10-211-1/+1
| | | | | | |
| * | | | | | work a bit toward string handling unificationRainer Gerhards2013-10-211-14/+7
| | | | | | |
* | | | | | | Merge branch 'v7-stable'Rainer Gerhards2013-10-291-3/+6
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | / / | | |_|_|/ / | |/| | | |
| * | | | | bugfix: abort if "if $syslogfacility-text..." was being usedPavel Levshin2013-10-291-3/+6
| | | | | |
* | | | | | Make use of int64 json numbers, if availablePavel Levshin2013-10-261-0/+4
| |_|_|/ / |/| | | |
* | | | | Merge branch 'v7-stable'Rainer Gerhards2013-10-261-0/+1
|\| | | |
| * | | | bugfix: memory leak in strlen() RainerScript functionRainer Gerhards2013-10-251-0/+1
| | |/ / | |/| | | | | | | | | | | | | | Thanks to Gregoire Seux for reportig this bug. closes: http://bugzilla.adiscon.com/show_bug.cgi?id=486
* | | | Merge branch 'v7-stable'Rainer Gerhards2013-10-251-2/+3
|\| | | | |/ / |/| |
| * | bugfix: buffer overrun if re_extract function was called for submatch 50Rainer Gerhards2013-10-251-1/+1
| | | | | | | | | | | | Thanks to Pavel Levshin for reporting the problem and its location.
| * | bugfix: memleak in re_extract() functionRainer Gerhards2013-10-251-1/+2
| | | | | | | | | | | | Thanks to Pavel Levshin for reporting this problem.
* | | refactor config property filter decoding and fix some memleaksRainer Gerhards2013-10-181-15/+19
| | | | | | | | | | | | | | | all leaks are cosmetic, happen only once during startup and in error cases. Do not affect performance at all (but valgrind testing ;)).
* | | fix cosmetic memleak when property filter is disabledRainer Gerhards2013-10-181-0/+1
| | |
* | | Merge branch 'v7-stable'Rainer Gerhards2013-10-181-2/+4
|\| | | | | | | | | | | | | | Conflicts: runtime/conf.c
| * | bugfix: invalid property filter was not properly disabled in rulesetRainer Gerhards2013-10-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Note that this bugfix introduces a very slight memory leak, which is cosmetic, as it just holds data until termination that is no longer needed. It is just the part of the config that was invalid. We will "fix" this "issue" in the devel version first, as the fix is a bit too intrusive to do without hard need in the stable version.
* | | refactor property-based filter decodingRainer Gerhards2013-10-181-0/+106
| | | | | | | | | | | | among others, provides *much* better error messages to user
* | | remove unused variablesRainer Gerhards2013-10-181-2/+0
| | |
* | | Merge branch 'v7-stable'Rainer Gerhards2013-10-181-1/+4
|\| |
| * | bugfix: segfault if re_extract() function was used and no match foundRainer Gerhards2013-10-181-1/+4
| | |
* | | Merge branch 'master-lookup'Rainer Gerhards2013-10-131-0/+49
|\ \ \ | |/ / |/| | | | | | | | | | | Conflicts: grammar/rainerscript.h runtime/rsyslog.h
| * | add base plumbing for (later) dynamic table reloadRainer Gerhards2013-07-161-2/+1
| | | | | | | | | | | | | | | among others, we change some internal interfaces. So far, we only add the necessary locks. More work in later commits.
| * | milestone: basic lookup() functionality is presentRainer Gerhards2013-07-101-0/+50
| | | | | | | | | | | | done the naive way, string indzes only
* | | bugfix: array-based ==/!= comparisions lead to invalid resultsRainer Gerhards2013-10-101-3/+4
| | | | | | | | | | | | This was a regression introduced in 7.3.5 bei the PRI optimizer
* | | bugfix: imtcp addtlframedelimiter could not be set to zeroRainer Gerhards2013-08-261-1/+1
| | | | | | | | | | | | Thanks to Chris Norton for alerting us.
* | | fix regression that caused freeInstance not to be correctly calledRainer Gerhards2013-07-151-1/+1
|/ / | | | | | | was introduced July, 5th 2013 by commit 8ee2b0b1610fbf4dff20453d188f379583410b42
* / bugfix: potential segfault during startup on invalid configRainer Gerhards2013-07-051-49/+60
|/ | | | | could happen if invalid actions were present, which could lead to improper handling in optimizer.
* bugfix: RainerScript object required parameters were not properly checkedRainer Gerhards2013-06-241-2/+9
| | | | this clould result to segfaults on startup if parameters were missing.
* Merge branch 'v7-stable'Rainer Gerhards2013-04-081-61/+125
|\ | | | | | | | | | | Conflicts: grammar/rainerscript.c runtime/ruleset.c
| * bugfix: nested if/prifilt conditions did not work properlyRainer Gerhards2013-04-041-61/+127
| | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=415
| * bugfix: script == comparison did not work properly on JSON objectsRainer Gerhards2013-04-041-0/+23
| | | | | | | | backport from 7.3 branch
* | add RainerScript re_extract() functionRainer Gerhards2013-03-271-2/+103
| |
* | Fix for glob(3)s that lack GLOB_NOMAGICMartin Carpenter2013-03-211-4/+8
| | | | | | | | | | | | Conflicts: configure.ac
* | Merge branch 'v7-stable' into tmpRainer Gerhards2013-03-201-1/+5
|\|
| * bugfix: RainerScript getenv() function caused segfault when var was not foundPhilippe Muller2013-03-201-1/+5
| | | | | | | | | | | | | | This patch is released under ASL 2.0 as of email conversation from 2013-03-20. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>