Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-11-20 | Switch to REUSE-compliant licensing infoHEADmaster | Yorhel | 9 | -63/+54 | |
2023-11-20 | Drop pod2man, write man page in mdoc | Yorhel | 4 | -247/+266 | |
2022-04-27 | Year bump + version 2.12.1 | Yorhel | 4 | -3/+9 | |
2022-04-27 | Also test unquoted escapes | Yorhel | 2 | -2/+6 | |
2022-04-27 | Two tiny doc fixes | Yorhel | 1 | -3/+3 | |
2022-04-24 | Fix passing the correct array size to regexec() | Yorhel | 1 | -1/+1 | |
2022-04-24 | Permit quoted strings as "directive names" | Yorhel | 3 | -39/+17 | |
Such strings totally aren't directive names, but this change should enable parsing of more complex nginx map blocks. | |||||
2021-01-28 | Mark a few more functions as static | Yorhel | 1 | -3/+3 | |
Totally insignificant change. | |||||
2020-12-13 | Minor doc fixes | Yorhel | 1 | -5/+5 | |
2020-10-22 | Makefile: Remove unused variable + clean test output | Yorhel | 1 | -3/+1 | |
I was planning to use that variable for 'make dist', but ended up querying git instead. | |||||
2020-10-22 | Version 2.02.0 | Yorhel | 2 | -0/+23 | |
2020-10-22 | man: Mention what nginx-confgen does with unknown vars | Yorhel | 1 | -0/+8 | |
2020-10-22 | Add tests + fix lots of bugs | Yorhel | 40 | -56/+367 | |
These tests sure aren't a luxury, found a lot of issues. | |||||
2020-10-22 | Rewrite in C + a bunch of visible changes | Yorhel | 11 | -590/+1149 | |
Ironically, I find C easier to maintain than Haskell, largely because its build environment and APIs are more stable and more familiar to me. Resulting binary is also a *lot* smaller. Not done any performance measurements yet, algorithmically this new implementation has some really bad worst cases, but it wouldn't matter too much if you never hit them. User-visible improvements: - pre_if now supports braces - variables are no longer lexically scoped - error messages come with context And quite likely many regressions. I'll need to write some more tests. | |||||
2020-04-19 | Update to Stack lts-14.27 & megaparsec 7.x | Yorhel | 3 | -9/+9 | |
2020-04-19 | Add boilerplate Setup.hs | Yorhel | 1 | -0/+2 | |
2020-04-19 | Fix compat with megaparsec >=6.4 | Yorhel | 1 | -1/+1 | |
2018-02-23 | doc: Remove incorrect statement about the lack of cli arguments | Yorhel | 1 | -4/+0 | |
2018-02-23 | I knew I'd forget to update that versin string | Yorhel | 1 | -1/+1 | |
2018-02-23 | Version 1.21.2 | Yorhel | 2 | -1/+9 | |
2018-02-23 | Rewrite directive argument parser and variable interpolation code | Yorhel | 3 | -182/+140 | |
This makes the parser a lot more lenient on what it accepts as input, and the variable interpolation and reformatting is now much more conservative. This should fix a whole bunch of warts (and possibly introduce a few new ones). This also removes parenthesis support for pre_if, since that hack was very unreliable in the first place. | |||||
2018-01-24 | Add ChangeLog and release version 1.11.1 | Yorhel | 3 | -2/+10 | |
2018-01-24 | Add -I command line flag | Yorhel | 4 | -13/+40 | |
2018-01-24 | Add some commandline options | Yorhel | 3 | -10/+69 | |
2018-01-24 | Add pre_warn directive | Yorhel | 3 | -7/+43 | |
2018-01-24 | Fix handling of types directive + add doc note for the lua module | Yorhel | 3 | -3/+24 | |
2018-01-19 | Make this 1.0 + add some docs1.0 | Yorhel | 5 | -5/+246 | |
2018-01-14 | Add pre_exec directive | Yorhel | 3 | -0/+19 | |
I think I've now implemented all features that I personally needed. Time to give it a try in production, I guess. | |||||
2018-01-14 | Add capture support for pre_if regexes | Yorhel | 3 | -29/+46 | |
'pre_if' should now have feature parity with the 'if' in nginx. The nginx docs does do not mention $0, but this implementation will also set it. | |||||
2018-01-14 | Add regex matching operators to pre_if | Yorhel | 3 | -3/+20 | |
This does not set the $n capture variables at the moment. | |||||
2018-01-14 | Add file path tests to pre_if | Yorhel | 3 | -1/+18 | |
2018-01-14 | Add pre_if directive to mimic the if directive in nginx | Yorhel | 2 | -4/+88 | |
I'm unsure what to do with the parenthesis removal thing. Right now it's... broken. | |||||
2018-01-13 | Add pre_set directive | Yorhel | 3 | -3/+15 | |
2018-01-13 | Add pre_include maximum recursion depth | Yorhel | 1 | -11/+16 | |
2018-01-13 | Some reogranization | Yorhel | 1 | -87/+90 | |
2018-01-13 | Add pre_include directive | Yorhel | 3 | -31/+47 | |
2018-01-13 | Do AST processing in IO the monad | Yorhel | 1 | -35/+40 | |
This is mostly a mechanical transformation, since I already used Either as a monad. IO will be needed in order to handle file includes and other special directives. | |||||
2018-01-13 | Add macro expansion | Yorhel | 2 | -14/+86 | |
2018-01-08 | Mostly untested first attempt at preprocessing | Yorhel | 3 | -21/+111 | |
2018-01-07 | File re-org: Screw proper project organization, let's use a single file | Yorhel | 6 | -167/+143 | |
This tool is going to be compact and simple, anyway. | |||||
2018-01-07 | Add basic config parser & formatter | Yorhel | 7 | -4/+208 | |
2018-01-07 | Initial nothing | Yorhel | 6 | -0/+50 | |