2
0
Fork 0
Commit Graph

45 Commits (611d7dcac36265ddfb2cc75d07564bc9574a56ae)

Author SHA1 Message Date
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
2009-01-06 01:33:20 +01:00
Thomas Porzelt 2489fbfbfe fix small typo in config_parser.rl that prevented usaged of physical.* conditionals 2009-01-05 22:14:47 +01:00
Stefan Bühler c458377d4a Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes) 2009-01-01 16:44:42 +01:00
Thomas Porzelt fa25947b7e allow anonymous blocks in config parser prefixed by $ (for now) 2008-12-31 02:54:42 +01:00
Stefan Bühler 20dfff0663 Cleanup log macros (moved from con to vrequest) 2008-12-30 14:24:33 +01:00
Thomas Porzelt d3bfcf9d15 add special chars in strings through \n \" etc. to config parser 2008-12-07 01:36:38 +01:00
Stefan Bühler 7a496b610b Fix comment style // -> /* */ 2008-11-18 11:03:59 +01:00
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 2008-11-16 21:33:53 +01:00
Thomas Porzelt 8161336538 add fallback static action if built-in cfg parser used 2008-11-10 22:48:13 +01:00
Thomas Porzelt 29c962fe06 add mime_types option and mimetype_get() function 2008-10-02 21:46:06 +02:00
Thomas Porzelt 472e7a81a9 changed srv->option_def_values to GArray and intialization of default values; enabled overriding of default values in config parser 2008-10-01 22:20:31 +02:00
Thomas Porzelt 5150637e13 implemented port feature for listen setup; small memleak und config parser fixes 2008-09-27 17:06:43 +02:00
Stefan Bühler e1504a252f free value always from the calling function 2008-09-27 12:45:43 +02:00
Thomas Porzelt 480de71283 small memleak fix 2008-09-27 00:37:50 +02:00
Thomas Porzelt 30bae997eb moved log cleanups to own function; fixed memleaks in config parser and plugin_core 2008-09-27 00:09:12 +02:00
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)
2008-09-26 16:11:08 +02:00
Thomas Porzelt 5a1acd8be9 reworked parts of config_parser 2008-09-25 00:00:23 +02:00
Stefan Bühler e15193447d Fix cleanup of target_else in conditional action, added support for else branch in "when" action. 2008-08-27 16:39:30 +02:00
Thomas Porzelt cf51355d1c fixed else/elseif in config parser 2008-08-27 00:57:51 +02:00
Thomas Porzelt 1371d4e49f added else/elseif to config parser; uses new target_else member of action->value.condition 2008-08-26 23:53:54 +02:00
Thomas Porzelt d3547c5318 added option_copy(); fixed variable statements in config parser where assignments without parser func lead to OPTION_NONE options 2008-08-17 02:28:57 +02:00
Thomas Porzelt c1bc3b8e0a small cleanup in config parser; small fix in log.c 2008-08-14 15:52:45 +02:00
Thomas Porzelt 1ab2d0d6b3 small change to config parser: comment now included in noise set 2008-08-14 01:08:03 +02:00
Thomas Porzelt c2b8ccdec4 changed operators ^= to =^ and $= to =$; introduced clean and ./waf 2008-08-13 22:26:45 +02:00
Thomas Porzelt f795f2463a added ^= (prefix match) and $= (suffix match) operators 2008-08-13 22:10:20 +02:00
Thomas Porzelt 89d3b204a7 added header conditional check for normal config parser 2008-08-13 20:08:13 +02:00
Thomas Porzelt 1901397a0e minor enhencements; added log.level and log.target options 2008-08-13 19:57:19 +02:00
Thomas Porzelt b1000d2ca4 config parser intial working version; test action in core plugin with more outpot 2008-08-12 17:09:05 +02:00
Thomas Porzelt 24d1f61c87 reverted changes from r70 in server.c; enhanced config parser 2008-08-05 21:21:31 +02:00
Thomas Porzelt 708b5fc223 small fixes; call_setup() now looks in the right hashtable 2008-08-05 19:32:33 +02:00
Thomas Porzelt a603d799f6 config parser changes; removed srv->mutex 2008-08-05 18:10:22 +02:00
Thomas Porzelt c190daa908 merged from lp and enhanced config parser 2008-08-04 23:16:49 +02:00
Thomas Porzelt 5e700e79e1 small config parser and log changes 2008-08-03 22:26:37 +02:00
Thomas Porzelt a9cbec1046 config parser rewritten 2008-08-02 22:56:07 +02:00
Thomas Porzelt 28f733a2c5 small config parser changes 2008-07-26 14:25:07 +02:00
Thomas Porzelt 4425a0dcd1 merge from lp 2008-07-26 00:24:09 +02:00
Thomas Porzelt 8b84f0fa6c merge from lp 2008-07-25 22:44:10 +02:00
Thomas Porzelt aca2f46bf6 config parser changes 2008-07-23 22:22:33 +02:00
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) 2008-07-19 12:56:44 +02:00
Thomas Porzelt ded5777ea2 no more global var in config parser 2008-07-18 16:52:19 +02:00
Thomas Porzelt aa297fe7b2 added build date info to wscript and -v option 2008-07-18 00:30:02 +02:00
Thomas Porzelt 5cee4c1fa4 added lighttpd.c, modified action und option stuff 2008-07-17 21:39:29 +02:00
Thomas Porzelt 781dfd07cf config_cond_t renamed to comp_operator_t 2008-07-17 19:32:11 +02:00
Stefan Bühler 6a477c5f7f Fix macro redefine 2008-07-15 22:12:19 +02:00
Thomas Porzelt 8eb6670388 config parser 2008-07-08 18:51:03 +02:00