Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-06-01 | Added && and ||. | Pavel Machek | |
2000-05-31 | Updated all the Doc files to new format. | Martin Mares | |
2000-05-30 | Recognize `!'. | Martin Mares | |
2000-05-30 | Tracing of CLI connections/commands can be now controlled | Martin Mares | |
by `debug commands <level>' in the configuration. Level 0 means no tracing, 1 means connections only, 2 includes all commands. | |||
2000-05-25 | Use ? in path matching to avoid /* trap. | Pavel Machek | |
2000-05-16 | Resolved shift/reduce conflict | Pavel Machek | |
2000-05-15 | Changed syntax of expressions. Each `expr' can be now either a numeric literal | Martin Mares | |
or a symbol or parenthesised filter expression. | |||
2000-05-15 | Cleanup of configuration. | Martin Mares | |
o Use `expr' instead of `NUM' and `ipa' instead of `IPA', so that defined symbols work everywhere. o `define' now accepts both numbers and IP addresses. o Renamed `ipa' in filters to `fipa'. Pavel, please update filters to accept define'd symbols as well. | |||
2000-05-15 | Got rid of startup functions and filters_postconfig(). | Martin Mares | |
By the way, how do you expect pointers to fit in an int? | |||
2000-05-13 | Added prefix_or_ipa. | Martin Mares | |
2000-05-13 | Unified parsing of prefixes. | Martin Mares | |
Had to rename `prefix' in filters to `fprefix'. | |||
2000-05-05 | Added skeleton Doc files for the whole developer's documentation. | Martin Mares | |
2000-05-04 | pxlen works even in IPv6 mode. | Martin Mares | |
2000-04-28 | Include CF_HDR section in keywords.h as well, so that protocol symbols | Martin Mares | |
can be used in definition of ENUM's. | |||
2000-04-28 | Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines, | Martin Mares | |
C declarations etc.). | |||
2000-04-28 | Event handlers no longer return re-queue flag. Instead of using it, just | Martin Mares | |
call ev_schedule() on the same handler which should work perfectly now. | |||
2000-04-12 | Renamed f_path to f_path_mask -- which is what it really is. Use | Pavel Machek | |
linklist instead of array of signed integers for path mask. | |||
2000-04-12 | Path masks are needed for filters. | Pavel Machek | |
2000-04-01 | Include "lib/string.h" instead of <string.h>. It should give us bzero() | Martin Mares | |
and other non-portable functions on all systems. | |||
2000-03-13 | Add internal commands of the client to the command list. | Martin Mares | |
2000-03-12 | Made `show status' show uptime and time of last reconfiguration. | Martin Mares | |
2000-03-12 | Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules, | Martin Mares | |
several debug() calls converted to DBG(). | |||
2000-03-10 | Fix <=, >=, != | Pavel Machek | |
2000-03-07 | Added configuration of default protocol debugging flags. | Martin Mares | |
2000-03-04 | Removed bogus comment. | Martin Mares | |
2000-03-04 | Please *think* when defining operator priorities. | Martin Mares | |
(-: num_of_parser_conflicts -= 42 :-) | |||
2000-03-01 | Made `datetime' more user friendly. Now it should be a quoted string | Martin Mares | |
of type "dd-mm-yyyy". | |||
2000-03-01 | Defined INVALID_TOKEN which is a token guaranteed to be never generated. | Martin Mares | |
2000-02-17 | Client: Online help works (Cisco style: just press `?' at the end of a line). | Martin Mares | |
2000-01-19 | Generate a list of all commands and their help texts for the client to use. | Martin Mares | |
2000-01-19 | Split off general commands to cmds.c. | Martin Mares | |
Added `show symbols' command which dumps whole symbol table together with symbol types etc. | |||
2000-01-17 | Separated `official protocol names' used in status dumps from name templates | Martin Mares | |
used for automatic generation of instance names. protocol->name is the official name protocol->template is the name template (usually "name%d"), should be all lowercase. Updated all protocols to define the templates, checked that their configuration grammar includes proto_name which generates the name and interns it in the symbol table. | |||
2000-01-17 | When a quoted string is encountered, don't forget to copy it to the | Martin Mares | |
config pool before passing it to the parser. | |||
2000-01-16 | Converted shutdown to a kind of reconfiguration, it's no more handled | Martin Mares | |
as a exception in protocol state machines. Introduced a `shutdown' CLI command. Killed few reconfiguration bugs. | |||
2000-01-16 | First attempt on dynamic reconfiguration. There are still lots of bugs | Martin Mares | |
and problems to solve, but the hardest part works. | |||
1999-12-06 | Added type `g' for void (general) pointer. | Martin Mares | |
1999-12-06 | Moved initialization of protocol list to proto.c. | Martin Mares | |
Added sysdep configuration hooks. | |||
1999-12-02 | I tried to turn on the YYERROR_VERBOSE switch, but bison is buggy as hell, | Martin Mares | |
so it doesn't even compile. Turned it again off and added a comment on it. | |||
1999-12-02 | Avoid `default rule can be matched' warning in CLI state. | Martin Mares | |
1999-12-01 | Added dumping of routing tables (`show route'). This includes filtering. | Martin Mares | |
1999-11-30 | Lexer supports fallback symbol tables and uses them to recognize | Martin Mares | |
symbols from global config when parsing CLI commands. cf_lex_init_tables() is now called automatically inside the lexer. | |||
1999-11-25 | cli_msg() moved to cli.h, so that it can be used outside the parser. | Martin Mares | |
1999-11-17 | Command line interface now works. | Martin Mares | |
1999-11-15 | Defined CF_ENUM. | Martin Mares | |
1999-11-15 | SYM_STAT is gone. | Martin Mares | |
1999-11-10 | Enumerational types, defined keyword added. | Pavel Machek | |
1999-11-04 | Silly bug. | Martin Mares | |
1999-11-04 | Symbols are not scoped. | Martin Mares | |
1999-11-03 | You should not follow next two times. | Pavel Machek | |
1999-10-31 | Parse CLI commands. We use the same parser as for configuration files (because | Martin Mares | |
we want to allow filter and similar complex constructs to be used in commands and we should avoid code duplication), only with CLI_MARKER token prepended before the whole input. Defined macro CF_CLI(cmd, args, help) for defining CLI commands in .Y files. The first argument specifies the command itself, the remaining two arguments are copied to the help file (er, will be copied after the help file starts to exist). This macro automatically creates a skeleton rule for the command, you only need to append arguments as in: CF_CLI(STEAL MONEY, <$>, [[Steal <$> US dollars or equivalent in any other currency]]): NUM { cli_msg(0, "%d$ stolen", $3); } ; Also don't forget to reset lexer state between inputs. |