442 Commits

Author SHA1 Message Date
Rainer Gerhards
81b302eb65 doc: v6 compatiblity doc added 2011-07-13 12:54:38 +02:00
Rainer Gerhards
742afce745 lexer bug: *.somewhat PRIs not detected
regression from last update
2011-07-13 12:54:08 +02:00
Rainer Gerhards
a5bc2a8b4b removed emergency config, do error reporting on fatal config file error 2011-07-12 12:14:47 +02:00
Rainer Gerhards
cefa1fac08 fixed lexer: facilities local0-local7 were not correctly handled 2011-07-11 16:51:30 +02:00
Rainer Gerhards
5e2b03a31c cleaup & emergency config system reactivated 2011-07-09 18:31:50 +02:00
Rainer Gerhards
6ebf9ada25 milestone/[WORKS AGAIN!]: looks like the new conf format is integrated
finally completed $IncludeConfig processing.
2011-07-09 18:00:29 +02:00
Rainer Gerhards
da6489743c milestone/[PARTWORK]: made sure all legacy selectors work
... except for the not guaranteed $outchannel construct, which we
could not fix without syntax change. Shouldn't hurt too many.
2011-07-09 17:33:12 +02:00
Rainer Gerhards
59f8ebdba7 checking number of parameters provided to function 2011-07-09 09:43:06 +02:00
Rainer Gerhards
f5e0bbe2d9 milestone/[PARTWORK]: implemented RainerScript functions 2011-07-09 09:30:17 +02:00
Rainer Gerhards
f2ef6cd106 optimized function representation 2011-07-08 19:00:23 +02:00
Rainer Gerhards
379bd30a54 milestone/[PARTWORK]: integrated all variable types (msg/sys/cee) 2011-07-08 14:50:35 +02:00
Rainer Gerhards
d9ea755214 milestone/[PARTWORK]: implemented comparison operations 2011-07-08 09:13:39 +02:00
Rainer Gerhards
834fe024b4 milestone/[PARTWORK]: implemented "CONTAINS" 2011-07-08 07:13:56 +02:00
Rainer Gerhards
8a9e0cc68e milestone/[PARTWORK]: obtaining msg vars integrated, "==" works for strings 2011-07-07 16:35:51 +02:00
Rainer Gerhards
5710b41396 milestone/[PARTWORK]: integrted script filter, but var access is missing 2011-07-07 08:22:40 +02:00
Rainer Gerhards
4fcfea31e3 milestone/[NONWORKING]: first integration of new parser, rules are not yet handled 2011-07-06 11:32:54 +02:00
Rainer Gerhards
2081c264a3 milestone: abstracted parser interface ...
so that both testdriver and other callers (rsyslog!) can use it
without changing the parser (this simplifies development).
2011-07-06 10:05:29 +02:00
Rainer Gerhards
f8e7c7e365 milestone: some plumbing for rsyslog/stand alone parsing 2011-07-05 12:33:48 +02:00
Rainer Gerhards
6175ce90b5 milestone: improved build system
... still had quite some glitches, as usual. This time it hopefully
works under all circumstances (well, let's hope for "usual cir..." ;)).
2011-07-05 11:04:47 +02:00
Rainer Gerhards
641e383b8a milestone: grammar integrated in rsyslog build system 2011-07-05 08:21:04 +02:00
Rainer Gerhards
183641a091 milestone: added functions to grammar 2011-07-04 18:25:17 +02:00
Rainer Gerhards
3d08f4e0f2 cleanup 2011-07-04 16:06:50 +02:00
Rainer Gerhards
460010068b milestone: strings and vars are now stored correctly in in-memory representation 2011-07-04 16:00:26 +02:00
Rainer Gerhards
bffa39ab95 milstone: top-level grammer now ready for integration (but script detail still missing) 2011-07-04 15:31:09 +02:00
Rainer Gerhards
11f50cfe83 bugfix(new bug): cfsyslines were not properly reversed during parsing 2011-07-04 12:38:36 +02:00
Rainer Gerhards
3613f7e1bf milestone: PROPFILT added to grammar 2011-07-04 12:22:48 +02:00
Rainer Gerhards
b966576f1e milestone: added BSD-style blocks 2011-07-04 11:57:55 +02:00
Rainer Gerhards
4598557192 milestone: support for include files added
support for directories will be added during rsyslog integration
2011-07-04 11:24:04 +02:00
Rainer Gerhards
25cd9f59ad milestone: added comparison ops, prepring for flex include processing 2011-07-04 09:36:12 +02:00
Rainer Gerhards
71003f146c milestone: added operations to expr, added evaluation 2011-07-04 08:34:13 +02:00
Rainer Gerhards
849e4aa8e6 grammar: small optimization during expr creation 2011-07-03 18:19:32 +02:00
Rainer Gerhards
719962c1f0 milestone: added grammar for arithmetic expressions 2011-07-03 18:13:23 +02:00
Rainer Gerhards
65076e28df milestone: grammar for basic if/then construct (no expr) 2011-07-03 17:09:09 +02:00
Rainer Gerhards
1cdab4d2b5 milestone: support for action list added to grammar 2011-07-03 13:10:37 +02:00
Rainer Gerhards
62e95c10ba milestone: some support for rules in grammar 2011-07-02 18:32:35 +02:00
Rainer Gerhards
1ee14507b3 milestone: grammar for objects and cfsysline created 2011-07-02 12:39:53 +02:00
Rainer Gerhards
aff06b40a6 milestone: done some more twists to the lexer 2011-07-01 15:35:14 +02:00
Rainer Gerhards
4ccdf6ea62 milestone: lexer now correctly identifies (almost) all constructs 2011-07-01 14:39:20 +02:00
Rainer Gerhards
8cd026b1cb milestone: grammar contains rules for object blocks 2011-07-01 12:40:29 +02:00
Rainer Gerhards
1f69bcb67f milestone: first shot at rules to read old config file objects 2011-06-30 19:03:48 +02:00
Rainer Gerhards
0a1f27bba2 worked on detecting old-style PRI filter 2011-06-30 17:55:48 +02:00
Rainer Gerhards
1eeeb6f603 first try towards a flex/bison based config parser 2011-06-30 16:38:25 +02:00