Thomas Porzelt
|
02a9e7ba26
|
Change string parsing in config parser
|
14 years ago |
Thomas Porzelt
|
ab10a5ed8f
|
[config_parser] Change/fix escaping in strings
|
14 years ago |
Thomas Porzelt
|
d153b12ed2
|
Fix line counting for \r linebreaks in config parser
|
14 years ago |
Thomas Porzelt
|
85a3a4d091
|
added "if" to condition syntax (if req.path == "/foo" {})
added boolean conditions without operator or rvalue (if phys.is_dir {}, rvalue is always true)
added negated boolean conditions (if !phys.is_dir {}, rvalue is always false)
added physical.is_dir and .is_file conditionals
|
14 years ago |
Thomas Porzelt
|
2489fbfbfe
|
fix small typo in config_parser.rl that prevented usaged of physical.* conditionals
|
14 years ago |
Stefan Bühler
|
c458377d4a
|
Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes)
|
14 years ago |
Thomas Porzelt
|
fa25947b7e
|
allow anonymous blocks in config parser prefixed by $ (for now)
|
14 years ago |
Stefan Bühler
|
20dfff0663
|
Cleanup log macros (moved from con to vrequest)
|
14 years ago |
Thomas Porzelt
|
d3bfcf9d15
|
add special chars in strings through \n \" etc. to config parser
|
14 years ago |
Stefan Bühler
|
7a496b610b
|
Fix comment style // -> /* */
|
14 years ago |
Stefan Bühler
|
3dceeb5916
|
Move include files into a separate directory and cleanup include order
|
14 years ago |
Thomas Porzelt
|
8161336538
|
add fallback static action if built-in cfg parser used
|
14 years ago |
Thomas Porzelt
|
29c962fe06
|
add mime_types option and mimetype_get() function
|
15 years ago |
Thomas Porzelt
|
472e7a81a9
|
changed srv->option_def_values to GArray and intialization of default values; enabled overriding of default values in config parser
|
15 years ago |
Thomas Porzelt
|
5150637e13
|
implemented port feature for listen setup; small memleak und config parser fixes
|
15 years ago |
Stefan Bühler
|
e1504a252f
|
free value always from the calling function
|
15 years ago |
Thomas Porzelt
|
480de71283
|
small memleak fix
|
15 years ago |
Thomas Porzelt
|
30bae997eb
|
moved log cleanups to own function; fixed memleaks in config parser and plugin_core
|
15 years ago |
Stefan Bühler
|
091f122aad
|
Renamed option -> value, some other minor/related renames; added option_value as
datatype for the value of options (union for ptr/gin64)
|
15 years ago |
Thomas Porzelt
|
5a1acd8be9
|
reworked parts of config_parser
|
15 years ago |
Stefan Bühler
|
e15193447d
|
Fix cleanup of target_else in conditional action, added support for else branch in "when" action.
|
15 years ago |
Thomas Porzelt
|
cf51355d1c
|
fixed else/elseif in config parser
|
15 years ago |
Thomas Porzelt
|
1371d4e49f
|
added else/elseif to config parser; uses new target_else member of action->value.condition
|
15 years ago |
Thomas Porzelt
|
d3547c5318
|
added option_copy(); fixed variable statements in config parser where assignments without parser func lead to OPTION_NONE options
|
15 years ago |
Thomas Porzelt
|
c1bc3b8e0a
|
small cleanup in config parser; small fix in log.c
|
15 years ago |
Thomas Porzelt
|
1ab2d0d6b3
|
small change to config parser: comment now included in noise set
|
15 years ago |
Thomas Porzelt
|
c2b8ccdec4
|
changed operators ^= to =^ and $= to =$; introduced clean and ./waf
|
15 years ago |
Thomas Porzelt
|
f795f2463a
|
added ^= (prefix match) and $= (suffix match) operators
|
15 years ago |
Thomas Porzelt
|
89d3b204a7
|
added header conditional check for normal config parser
|
15 years ago |
Thomas Porzelt
|
1901397a0e
|
minor enhencements; added log.level and log.target options
|
15 years ago |
Thomas Porzelt
|
b1000d2ca4
|
config parser intial working version; test action in core plugin with more outpot
|
15 years ago |
Thomas Porzelt
|
24d1f61c87
|
reverted changes from r70 in server.c; enhanced config parser
|
15 years ago |
Thomas Porzelt
|
708b5fc223
|
small fixes; call_setup() now looks in the right hashtable
|
15 years ago |
Thomas Porzelt
|
a603d799f6
|
config parser changes; removed srv->mutex
|
15 years ago |
Thomas Porzelt
|
c190daa908
|
merged from lp and enhanced config parser
|
15 years ago |
Thomas Porzelt
|
5e700e79e1
|
small config parser and log changes
|
15 years ago |
Thomas Porzelt
|
a9cbec1046
|
config parser rewritten
|
15 years ago |
Thomas Porzelt
|
28f733a2c5
|
small config parser changes
|
15 years ago |
Thomas Porzelt
|
4425a0dcd1
|
merge from lp
|
15 years ago |
Thomas Porzelt
|
8b84f0fa6c
|
merge from lp
|
15 years ago |
Thomas Porzelt
|
aca2f46bf6
|
config parser changes
|
15 years ago |
Stefan Bühler
|
50bb61a041
|
Require srv for log macros, undo gint64 change for options (as it needs to fit into a pointer, and many other warnings)
|
15 years ago |
Thomas Porzelt
|
ded5777ea2
|
no more global var in config parser
|
15 years ago |
Thomas Porzelt
|
aa297fe7b2
|
added build date info to wscript and -v option
|
15 years ago |
Thomas Porzelt
|
5cee4c1fa4
|
added lighttpd.c, modified action und option stuff
|
15 years ago |
Thomas Porzelt
|
781dfd07cf
|
config_cond_t renamed to comp_operator_t
|
15 years ago |
Stefan Bühler
|
6a477c5f7f
|
Fix macro redefine
|
15 years ago |
Thomas Porzelt
|
8eb6670388
|
config parser
|
15 years ago |