aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc
Commit message (Collapse)AuthorAgeFilesLines
* fixed includesRafael G. Martins2016-11-191-1/+0
|
* blogc: added more parenthesis to make gcc happy. trying to fix travisRafael G. Martins2016-10-151-1/+1
|
* blogc: we still need to strip newlines from end of lineRafael G. Martins2016-10-151-1/+8
|
* blogc: do not strip spaces, they are valid in file namesRafael G. Martins2016-10-151-4/+3
|
* blogc: add cli option to read list of source files from stdinRafael G. Martins2016-10-151-2/+27
| | | | | | | | | | 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.
* runserver: blogc/loader: improve strto*l handlingRafael G. Martins2016-10-141-3/+15
|
* renderer: fixed strtol error detection bug in freebsdRafael G. Martins2016-10-131-6/+5
| | | | | it seems that error detection for strtol using errno is a glibc extension.
* *: fixed includesRafael G. Martins2016-10-071-1/+0
|
* runserver: reimplemented http server without libeventRafael G. Martins2016-09-251-2/+2
| | | | | | | | | 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! ;)
* error: added prefix support to bc_error_printRafael G. Martins2016-09-162-3/+3
|
* blogc: common: moved "file" to commonRafael G. Martins2016-09-093-92/+3
|
* file: do not call fprintf directlyRafael G. Martins2016-09-093-19/+7
|
* s/blogc_utf8_/bc_utf8_/gRafael G. Martins2016-09-092-3/+3
|
* *: centralize error handlingRafael G. Martins2016-09-0914-79/+3
|
* *: moved error handling to src/common/Rafael G. Martins2016-09-0316-275/+178
|
* *: s/sb_/bc_/gRafael G. Martins2016-09-0315-328/+328
|
* *: big code reorganization.Rafael G. Martins2016-09-0319-0/+4041
- source and tests are now splitted by target - utils lib is now called common still pending move error.c from blogc to common