| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
this patch implements support to using the first header found in source
file as the TITLE variable. please note that if the TITLE variable is
defined on the source file's variable section it takes precedence.
this patch changes the old behaviour and can break some users' websites.
if you have some '{% ifdef TITLE %}' blocks in your template, they will
evaluate to true if you don't defined TITLE manually, but have a header
in your content.
|
|
|
|
|
| |
embedded binary is supposed to be used on lambda, not to replace
blogc-make binary on common setups
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
so, this is basically what happens when you don't have anything better
to do in the christmas weekend. most of this code was written in the
last 2 or 3 days.
i'd like to thank the chivas brothers, the weather and my psychological
problems for this achievement.
on a serious note, this tool still needs a man page, more tests, and the
aws lambda function should be adapted to use it instead of (or together
with) make/busybox.
also, while talking about aws lambda, this tool can be nicely embedded
into the blogc binary, to produce a single "small" static binary for
usage in lambda ;)
|
|
|
|
|
|
| |
We used to return 1 or 2 in case of errors, with no special meaning,
other than "something is wrong", but these codes are reserved. Now we
always return 3.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
this patch adds `-i` option to command line. it will instruct blogc to
read stdin and parse it as a file where each source file is a line and
empty lines and lines starting with `#` are ignored.
this patch makes it possible to use blogc to build big blogs with lots
of pages, that would hit the operating system max command line length
when calling blogc to build pages.
|
| |
|
|
|
|
|
| |
it seems that error detection for strtol using errno is a glibc
extension.
|
| |
|
|
|
|
|
|
|
|
|
| |
yeah, this patch implements a "complete" http server for static files.
It is not the best code possible, and would be easily DDoS'able if used
in production, as it spawns a thread for each request, without limiting.
I'm sickish and this is the best code I can deliver now. At least it
works! ;)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
- source and tests are now splitted by target
- utils lib is now called common
still pending move error.c from blogc to common
|