Commit Graph

48 Commits (061b2a4262496a3396f4052dfb7dd92e034a5774)

Author SHA1 Message Date
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 12 years ago
Stefan Bühler 8b17198eb6 Try to fix some bugs in the config parser 12 years ago
Thomas Porzelt 2885c88ae7 [core] Config parser: one more fix for condition parsing 12 years ago
Thomas Porzelt 5b9cc67ad5 [core] Config parser: fix a whitespace handling bug 12 years ago
Thomas Porzelt 7648ef0f40 [core] Config parser: Fix parsing rules for multiple else-if conditions 12 years ago
Thomas Porzelt 45d9fda41e [core] Config parser: fix condition with key handling 12 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
Stefan Bühler d9228f3ef0 Add per worker lua_State 13 years ago
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only 13 years ago
Stefan Bühler 367404fdb1 Add "request.is_handled" condition 13 years ago
Thomas Porzelt 97e54c9ee2 [core] Add response.status and response.header conditionals to config parser 13 years ago
Stefan Bühler 55734af993 Add request.remoteip and localip for config parser 13 years ago
Stefan Bühler bf9e34bab7 Remove li_vrequest_stat and fix condition.c 13 years ago
Thomas Porzelt 13543bdcf9 [core] Allow relative paths in include statements in the config parser 13 years ago
Stefan Bühler 1aeed6c222 Execute self defined actions 13 years ago
Stefan Bühler 7f8d368f7f Allow more whitespace in config 13 years ago
Stefan Bühler 39a879f89a Add "include_lua" to config special commands if compiled with lua 13 years ago
Thomas Porzelt 0ee98620b7 [core] Fix 'include' directive in config parser 13 years ago
Thomas Porzelt 549daa97e1 [core] Use DEBUG() makro instead of g_printerr() in config parser 14 years ago
Thomas Porzelt 5b57a8c4b9 [core] Fix double free() in config_parser 14 years ago
Thomas Porzelt a312773e40 [core] Make 'include' directive in config_parser support glob()-style patterns 14 years ago
Stefan Bühler a061745193 Fix bugs found with the static clang analyzer (http://clang-analyzer.llvm.org/) 14 years ago
Stefan Bühler 540ff7db02 Split sources into subdirs 14 years ago
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 14 years ago
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 14 years ago