Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make: rename TAG_CLOUD to MAKE_TAGS | Rafael G. Martins | 2018-03-12 | 1 | -1/+1 |
| | | | | | all the template helper variables provided by blogc-make should start with MAKE_ | ||||
* | make: added `MAKE_POST` var to `posts` and `pages` rules | Rafael G. Martins | 2018-03-11 | 5 | -34/+49 |
| | | | | | | This variable will have the same string that was inserted in tbe `blogcfile` when listing posts and pages, and is useful to highlight active menu items, for example. | ||||
* | make: typo | Rafael G. Martins | 2018-03-11 | 1 | -1/+1 |
| | |||||
* | make: pass TAG_CLOUD variable to blogc. | Rafael G. Martins | 2018-03-10 | 1 | -0/+6 |
| | | | | | this variable includes all the tags configured in blogcfile(5) as a space-separated string. | ||||
* | Revert "blogc: make: mkdir may raise ENOENT" | Rafael G. Martins | 2018-02-25 | 2 | -2/+2 |
| | | | | | | This reverts commit 0bc74a99b362a7ef58655bf3d4b29d5699c38c90. That change made no sense :x | ||||
* | blogc: make: mkdir may raise ENOENT | Rafael G. Martins | 2018-02-24 | 2 | -2/+2 |
| | |||||
* | make: do not run stat twice for regular files when copying | Rafael G. Martins | 2018-02-24 | 3 | -26/+31 |
| | |||||
* | blogc: template: fixed comment | Rafael G. Martins | 2018-02-22 | 1 | -1/+3 |
| | |||||
* | blogc: template parser refactoring | Rafael G. Martins | 2018-02-21 | 6 | -161/+164 |
| | | | | mostly names and data structures. | ||||
* | make: reloader: do not kill the process on reload failure | Rafael G. Martins | 2018-01-27 | 1 | -6/+8 |
| | |||||
* | make: disable bm_find_binary tests when running embedded | Rafael G. Martins | 2018-01-07 | 1 | -2/+2 |
| | |||||
* | make: use embedded blogc, if possible | Rafael G. Martins | 2018-01-07 | 1 | -0/+13 |
| | |||||
* | make: improved runserver docs | Rafael G. Martins | 2017-11-19 | 2 | -2/+4 |
| | |||||
* | Allow lines starting with * or ** | baylej | 2017-10-25 | 1 | -7/+24 |
| | | | | | | | 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. Martins | 2017-09-14 | 3 | -4/+4 |
| | |||||
* | make: added 'html_order' and 'atom_order' settings | Rafael G. Martins | 2017-08-03 | 2 | -0/+22 |
| | | | | | | | 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_REVERSE | Rafael G. Martins | 2017-07-25 | 1 | -1/+14 |
| | |||||
* | make: rules: do not run httpd if reloader failed to start | Rafael G. Martins | 2017-07-23 | 1 | -0/+3 |
| | |||||
* | make: exec: show stderr on errors, even on non-verbose mode | Rafael G. Martins | 2017-07-23 | 1 | -2/+5 |
| | |||||
* | allow source config keys without value | Rafael G. Martins | 2017-06-28 | 1 | -3/+4 |
| | |||||
* | utils: trie: fixed bug in foreach implementation. | Rafael G. Martins | 2017-06-24 | 1 | -3/+1 |
| | | | | | | 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 exists | Rafael G. Martins | 2017-05-08 | 1 | -1/+1 |
| | |||||
* | Fix an issue when using imbricated if-else blocks | baylej | 2017-05-04 | 1 | -0/+3 |
| | | | | `valid_else` is not correctly set when `evaluate` is true | ||||
* | github-lambda: do not override index.html if exists | Rafael G. Martins | 2017-05-01 | 1 | -1/+3 |
| | |||||
* | make: copy rule should support directories, recursively | Rafael G. Martins | 2017-04-30 | 3 | -4/+52 |
| | | | | | | 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 blogcfile | Rafael G. Martins | 2017-04-28 | 4 | -41/+24 |
| | | | | | now it is only possible to override output directory using environment variable. this commit also reduces the number trie lookups. | ||||
* | runserver: initialize integer vars | Rafael G. Martins | 2017-04-13 | 1 | -2/+2 |
| | |||||
* | make: removed unused settings | Rafael G. Martins | 2017-04-11 | 1 | -5/+0 |
| | |||||
* | runserver: allow users to override default host/port with env var | Rafael G. Martins | 2017-04-10 | 1 | -12/+17 |
| | |||||
* | github-lambda: added blogc version information | Rafael G. Martins | 2017-03-22 | 1 | -0/+3 |
| | |||||
* | make: all builds are "production" by default, enable "dev" on cli. | Rafael G. Martins | 2017-03-11 | 7 | -19/+18 |
| | | | | | | 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 runserver | Rafael G. Martins | 2017-03-09 | 1 | -1/+1 |
| | |||||
* | make: fix compilation on android | Rafael G. Martins | 2017-03-08 | 3 | -24/+42 |
| | |||||
* | make: add support to "production" builds | Rafael G. Martins | 2017-03-07 | 7 | -7/+22 |
| | | | | this is used by blogc-github-lambda and blogc-git-receiver. | ||||
* | make: s/env/global/ | Rafael G. Martins | 2017-03-06 | 3 | -18/+18 |
| | |||||
* | make: fixed segfault when blogcfile not found | Rafael G. Martins | 2017-03-05 | 1 | -0/+2 |
| | |||||
* | runserver: improved error reporting on write failures | Rafael G. Martins | 2017-03-05 | 1 | -8/+11 |
| | |||||
* | runserver: fixed error reporting and memory management | Rafael G. Martins | 2017-03-05 | 1 | -35/+64 |
| | |||||
* | runserver: close socket if skipped | Rafael G. Martins | 2017-03-05 | 1 | -0/+1 |
| | |||||
* | runserver: reuse address | Rafael G. Martins | 2017-03-05 | 1 | -7/+4 |
| | |||||
* | runserver: fixed request read. increased buffer | Rafael G. Martins | 2017-03-05 | 2 | -6/+15 |
| | |||||
* | runserver: move var declarations to loop | Rafael G. Martins | 2017-03-05 | 1 | -13/+13 |
| | |||||
* | runserver: implemented ipv6 support | Rafael G. Martins | 2017-03-05 | 3 | -47/+105 |
| | |||||
* | runserver: fixed memory leaks | Rafael G. Martins | 2017-03-05 | 1 | -0/+3 |
| | |||||
* | make: make the reloader interface generic | Rafael G. Martins | 2017-03-04 | 3 | -5/+11 |
| | | | | this way it can run any rule, even if we don't need this feature now | ||||
* | make: fixed include | Rafael G. Martins | 2017-03-04 | 1 | -1/+1 |
| | |||||
* | make: splitted reloader | Rafael G. Martins | 2017-03-04 | 5 | -74/+131 |
| | |||||
* | make: removed useless "verbose" variables | Rafael G. Martins | 2017-03-04 | 3 | -30/+25 |
| | |||||
* | runserver: improve listen url output | Rafael G. Martins | 2017-03-04 | 1 | -3/+5 |
| | |||||
* | make: improved runserver verbose output | Rafael G. Martins | 2017-03-03 | 1 | -1/+1 |
| |