aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* build: travis: fix osx supportRafael G. Martins2018-01-064-64/+81
| | | | | | | | | This commit fixes builds of blogc and helper tools on osx, and enables travis tests on it. This also includes some general improvements for travis, and disable tests that require mocked functions if the linker does not supports `-wrap` ldflag
* build: version bumpv0.13.0Rafael G. Martins2017-11-191-0/+3
|
* man: git-receiver: add blogc-make to manRafael G. Martins2017-11-192-14/+16
|
* make: improved runserver docsRafael G. Martins2017-11-193-3/+10
|
* Revert "Make manpages generation optional"Rafael G. Martins2017-11-181-3/+26
| | | | | | | | The commit broke the release tarballs. I need to find a solution to allow people to build from git without ronn, but this patch needs to be reverted for now. This reverts commit 732f74f3b4cd13bdf393c716c0c350ca9bf34f4c.
* spec: added blogcfile.5Rafael G. Martins2017-11-181-0/+1
|
* man: added blogcfile.5, updated some other pagesRafael G. Martins2017-11-188-11/+211
|
* Allow lines starting with * or **baylej2017-10-252-13/+30
| | | | | | | These are emphasizing markups per the "Markdown standard". A line containing two '*' or '+' or '-' are not valid horizontal rules. See: https://daringfireball.net/projects/markdown/syntax#hr
* make: renamed bm_exec_empty_dir()Rafael G. Martins2017-09-143-4/+4
|
* travis: compress static amd64 binary with xzRafael G. Martins2017-08-141-1/+2
|
* travis: ship static amd64 binaryRafael G. Martins2017-08-141-1/+3
|
* Make manpages generation optionalbaylej2017-08-031-26/+3
| | | | | Option --disable-ronn is said to ignore presence of ronn and disable man pages generation.
* make: added 'html_order' and 'atom_order' settingsRafael G. Martins2017-08-034-5/+145
| | | | | | | these settings are used to change the order of the posts on the listings. by default, users are supposed to list their posts from older to newer in the blogcfile, and blogc-make will list them on descending order, both for html listings and atom listings.
* loader: added FILTER_REVERSERafael G. Martins2017-07-253-1/+66
|
* make: man: document rulesRafael G. Martins2017-07-231-2/+35
|
* make: rules: do not run httpd if reloader failed to startRafael G. Martins2017-07-231-0/+3
|
* make: exec: show stderr on errors, even on non-verbose modeRafael G. Martins2017-07-231-2/+5
|
* allow source config keys without valueRafael G. Martins2017-06-282-10/+8
|
* utils: trie: fixed bug in foreach implementation.Rafael G. Martins2017-06-243-6/+83
| | | | | | when looping through the tree, the algorithm would stop, if found a '\0' in the key of the tree node. there should be no "child" field after a '\0', but "next" fields may exist.
* make: copy: truncate dest file if existsRafael G. Martins2017-05-081-1/+1
|
* Fix an issue when using imbricated if-else blocksbaylej2017-05-041-0/+3
| | | | `valid_else` is not correctly set when `evaluate` is true
* github-lambda: do not override index.html if existsRafael G. Martins2017-05-011-1/+3
|
* make: copy rule should support directories, recursivelyRafael G. Martins2017-04-304-4/+122
| | | | | | now any directories listed in the [copy] section of blogcfile will have its files copied recursively to the output dir. this is useful for big chunks of generated files, e.g. doxygen documentation.
* make: settings: do not read output_dir from blogcfileRafael G. Martins2017-04-287-135/+108
| | | | | now it is only possible to override output directory using environment variable. this commit also reduces the number trie lookups.
* runserver: initialize integer varsRafael G. Martins2017-04-131-2/+2
|
* make: fix testsRafael G. Martins2017-04-111-12/+3
|
* make: removed unused settingsRafael G. Martins2017-04-111-5/+0
|
* runserver: allow users to override default host/port with env varRafael G. Martins2017-04-102-12/+25
|
* github-lambda: fix for previous commitRafael G. Martins2017-03-221-1/+1
|
* github-lambda: added blogc version informationRafael G. Martins2017-03-223-0/+5
|
* make: all builds are "production" by default, enable "dev" on cli.Rafael G. Martins2017-03-119-29/+28
| | | | | | this is more consistent with other similar tools, and enables us to add something like a [copy:dev] section later, that will avoid copying dev files to production builds.
* make: 130 (ctrl-c) is not an error for runserverRafael G. Martins2017-03-091-1/+1
|
* make: fix compilation on androidRafael G. Martins2017-03-083-24/+42
|
* make: add support to "production" buildsRafael G. Martins2017-03-079-13/+74
| | | | this is used by blogc-github-lambda and blogc-git-receiver.
* make: s/env/global/Rafael G. Martins2017-03-065-46/+46
|
* make: fixed segfault when blogcfile not foundRafael G. Martins2017-03-051-0/+2
|
* runserver: improved error reporting on write failuresRafael G. Martins2017-03-051-8/+11
|
* runserver: fixed error reporting and memory managementRafael G. Martins2017-03-051-35/+64
|
* runserver: close socket if skippedRafael G. Martins2017-03-051-0/+1
|
* runserver: reuse addressRafael G. Martins2017-03-051-7/+4
|
* runserver: fixed request read. increased bufferRafael G. Martins2017-03-053-38/+16
|
* runserver: move var declarations to loopRafael G. Martins2017-03-051-13/+13
|
* runserver: implemented ipv6 supportRafael G. Martins2017-03-053-47/+105
|
* runserver: fixed memory leaksRafael G. Martins2017-03-051-0/+3
|
* make: make the reloader interface genericRafael G. Martins2017-03-043-5/+11
| | | | this way it can run any rule, even if we don't need this feature now
* make: fixed includeRafael G. Martins2017-03-041-1/+1
|
* make: splitted reloaderRafael G. Martins2017-03-046-74/+133
|
* make: removed useless "verbose" variablesRafael G. Martins2017-03-043-30/+25
|
* runserver: improve listen url outputRafael G. Martins2017-03-041-3/+5
|
* make: added missing testRafael G. Martins2017-03-031-0/+4
|