Commit Graph

66 Commits (6a0e57ec8f00e917d98c7ab0e3d8ee342ca1f043)

Author SHA1 Message Date
Stefan Bühler 6a0e57ec8f [parsers] fix unused variable warnings 6 years ago
Stefan Bühler 130f14a3ea [config] expect exactly one comma between list entries 7 years ago
Stefan Bühler 5f4019359e [config parser] copy fixes from angel config parser 9 years ago
Stefan Bühler 17a5168793 [core] convert all assert() to LI_FORCE_ASSERT(), and support writing backtraces on fatal errors with libunwind 9 years ago
Stefan Bühler ec6600271a [config] fix conditional parsing 9 years ago
Stefan Bühler db58828e0b [common] refactor liValue to share most of the code 9 years ago
Stefan Bühler f482877825 [doc] document core config and modules in tree 9 years ago
Stefan Bühler a6303d8baa [config] allow setting vars in setup block 9 years ago
Stefan Bühler 0d40b25d19 [config] fix missing reference (segfault on shutdown) 9 years ago
Stefan Bühler 7d22354772 [config] fix cast(string) 9 years ago
Stefan Bühler 56e606bbd7 [config] setup only allowed in master config context 9 years ago
Stefan Bühler e55f423203 [config] fix more bugs in new config handling 9 years ago
Stefan Bühler e4c99e55d6 [config] fix bug in config parser (failed parsing names followed by a comma) 9 years ago
Stefan Bühler 4056bd1a43 [config] fix mem leaks in config parser 9 years ago
Stefan Bühler 875995dae5 [config] fix bugs in new config handling 9 years ago
Stefan Bühler 8037af605f replace g_hash_table_contains with g_hash_table_lookup 9 years ago
Stefan Bühler e76ebe2021 [core] rewrite config parser 9 years ago
Stefan Bühler a1fbaab86b [core/modules] refactor config handling 9 years ago
Stefan Bühler 061b2a4262 [core] handle differences between options/actions/setups in plugin.c 9 years ago
Stefan Bühler 0d85a068c8 [lua] add per lua_State lock 10 years ago
Stefan Bühler 97bc95a107 [configparser] allow normal actions and setups with the same name 11 years ago
Thomas Porzelt a66b6ce8d5 [config parser] rename 'o' liValue variables to 'v'. the name was a relict from option variables 11 years ago
Thomas Porzelt 9f17fd620d [config parser] add 'none' and 'default' keywords 11 years ago
Thomas Porzelt cc1c9a92e2 [config parser] don't allow setup blocks or includes in setup blocks 11 years ago
Thomas Porzelt 2ebf367df5 [config parser] fix detection of conflicts between options and uservars 11 years ago
Thomas Porzelt 04c8356b44 [config parser] change syntax again: user defined variables are now defined as 'x = ...;'. user defined actions are not special anymore 11 years ago
Stefan Bühler abd58794d8 [config parser]: fix crash with nested conditional blocks, fix some warnings 11 years ago
Thomas Porzelt 9f832c75ea Config syntax changes and parser fixes: 11 years ago
Stefan Bühler 11fa781f98 Fix some warnings found with clang analyzer 12 years ago
Thomas Porzelt efb04f1f13 [config parser] include: Log warning if no file matches wildcard, error if no wildcard and file not found 12 years ago
Thomas Porzelt d0ae21c7b2 [config parser] Rename var.PID/var.CWD/env.* to sys.pid/sys.cwd/sys.env.* and add sys.version containing the lighty version 12 years ago
Stefan Bühler b8a0921265 Add some missing LI_/li prefixes for types and enum values 12 years ago
Stefan Bühler 7bb671de4c [config parser] fix operators 13 years ago
Stefan Bühler 8b17198eb6 Try to fix some bugs in the config parser 13 years ago
Thomas Porzelt 2885c88ae7 [core] Config parser: one more fix for condition parsing 13 years ago
Thomas Porzelt 5b9cc67ad5 [core] Config parser: fix a whitespace handling bug 13 years ago
Thomas Porzelt 7648ef0f40 [core] Config parser: Fix parsing rules for multiple else-if conditions 13 years ago
Thomas Porzelt 45d9fda41e [core] Config parser: fix condition with key handling 13 years ago
Thomas Porzelt ab94d8390d [core] Change *bit integer suffixes in config parser 13 years ago
Thomas Porzelt 5f655d3b6e [core] Fix 'else if' handling in config parser 13 years ago
Thomas Porzelt 65a3d5dfa9 [core] Add support for 'and' and 'or' in conditions to the config parser 13 years ago
Stefan Bühler a8efcfcc0e modify plugin api to include worker context for action/option parsing; add per-worker callback for stop_worker 13 years ago
Thomas Porzelt 5892c78e7d [core] Support req. phys. and resp. abbreviations in li_cond_lvalue_from_string() and make config parser use this function instead of own code 13 years ago
Stefan Bühler e0370fac79 Fix some lua handling; add args for lua plugins/handlers 13 years ago
Thomas Porzelt fc09bf9095 [core] Don't allow spaces between integer value and its suffix, was not deterministic 13 years ago
Stefan Bühler 64c2fece96 config: add network cidr matching operators, =/ and != 13 years ago
Stefan Bühler 64ba5fddce Cleanup value pointer extractions 13 years ago
Stefan Bühler 3bc425fef1 Remove config parser code from main(), add cmake-option to disable default config parser 13 years ago
Stefan Bühler eff8ed5e50 Add request.environment[] conditional 13 years ago
Thomas Porzelt 9989cd62ce [core] Fix value statements in config parser (now using stack for operator) 13 years ago