Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | content-parser: allow directive params with variable prefix | Rafael G. Martins | 2015-11-03 | 1 | -19/+28 |
| | |||||
* | content-parser: fix memory leak in gcc | Rafael G. Martins | 2015-11-02 | 1 | -1/+1 |
| | |||||
* | content-parser: added basic rst-like directives support | Rafael G. Martins | 2015-11-02 | 3 | -19/+265 |
| | | | | | | | | | | | this patch adds support to something similar to reStructuredText directives [1]. the directive loader isn't implemented yet. also, the current implementation is stricter and differs a lot from the reStructuredText spec. documentation pending. this patch also fixes a few old parser bugs. [1] http://docutils.sourceforge.net/docs/ref/rst/directives.html | ||||
* | renderer: improved support for comparision between vars | Rafael G. Martins | 2015-10-28 | 2 | -59/+56 |
| | |||||
* | Allow {% if VALUE1 == VALUE2 %}, with two defines | Palmer Dabbelt | 2015-10-26 | 2 | -7/+38 |
| | | | | | | | | | | | | | | | I was surprised to see that blogc doesn't support testing for equality between two defined values, it just supports comparison between a variable and a constant string. I want to be able to compare two variables so I can build the same source with different "-D" argument on the command line to produce different outputs. This patch adds support for this pattern. I changed the parser to include the '"' at the beginning and end of a string, which allows the renderer to determine if the user passed in a string or a variable name. This is a bit hacky and causes some of the tests to fail -- these tests look at the string values coming out of the parser. I updated the tests to match the new behavior. | ||||
* | error: removed dead assignment | Rafael G. Martins | 2015-10-26 | 1 | -1/+1 |
| | |||||
* | datetime-parser: remove uneeded include | Rafael G. Martins | 2015-10-25 | 1 | -1/+0 |
| | |||||
* | main: fix build on windows | Rafael G. Martins | 2015-10-24 | 1 | -0/+4 |
| | |||||
* | datetime-parser: improve error handling | Rafael G. Martins | 2015-10-24 | 4 | -56/+55 |
| | |||||
* | datetime-parser: fixed strptime error handling | Rafael G. Martins | 2015-10-24 | 1 | -3/+4 |
| | |||||
* | datetime-parser: initial implementation. not used yet | Rafael G. Martins | 2015-10-24 | 4 | -0/+396 |
| | |||||
* | error: improved error reporting for parsers | Rafael G. Martins | 2015-10-24 | 1 | -11/+39 |
| | | | | it will now report the line and the approximate position of the error. | ||||
* | content-parser: fix comment | Rafael G. Martins | 2015-10-22 | 1 | -1/+1 |
| | |||||
* | content-parser: replace useless array with boolean | Rafael G. Martins | 2015-10-22 | 1 | -6/+5 |
| | |||||
* | source-parser: handle \r\n line endings properly | Rafael G. Martins | 2015-10-22 | 1 | -0/+2 |
| | |||||
* | content-parser: handle \r\n line endings properly | Rafael G. Martins | 2015-10-22 | 1 | -31/+79 |
| | |||||
* | file: added missing header | Rafael G. Martins | 2015-10-12 | 1 | -0/+1 |
| | |||||
* | content-parser: added id attributes to headers | Rafael G. Martins | 2015-10-12 | 2 | -2/+31 |
| | | | | the id is a slugified version of the (unparsed) header content. | ||||
* | main: no need to honor umask manually | Rafael G. Martins | 2015-10-11 | 1 | -8/+1 |
| | |||||
* | main: man: fixed '-l' docs | Rafael G. Martins | 2015-10-07 | 1 | -2/+2 |
| | |||||
* | renderer: accept empty list of files with -l | Rafael G. Martins | 2015-10-07 | 2 | -6/+13 |
| | |||||
* | source-parser: fixed error message | Rafael G. Martins | 2015-09-19 | 1 | -1/+1 |
| | |||||
* | error: minor memory optimization | Rafael G. Martins | 2015-09-18 | 1 | -10/+4 |
| | |||||
* | content-parser: removed some uneeded code | Rafael G. Martins | 2015-09-15 | 1 | -14/+0 |
| | |||||
* | loader: minor fixes | Rafael G. Martins | 2015-09-05 | 1 | -1/+3 |
| | |||||
* | main: style fixes | Rafael G. Martins | 2015-08-22 | 1 | -18/+25 |
| | |||||
* | source-parser: forbid BLOGC_VERSION variable in source files | Rafael G. Martins | 2015-08-14 | 1 | -1/+3 |
| | |||||
* | main: added BLOGC_VERSION template variable | Rafael G. Martins | 2015-08-14 | 1 | -0/+5 |
| | |||||
* | content-parser: implemented multiline support for lists | Rafael G. Martins | 2015-08-13 | 2 | -44/+128 |
| | |||||
* | utils/mem: added safe realloc | Rafael G. Martins | 2015-07-19 | 3 | -4/+19 |
| | |||||
* | content-parser: fixed start_state bug. | Rafael G. Martins | 2015-07-09 | 1 | -2/+2 |
| | |||||
* | removed some uneeded includes | Rafael G. Martins | 2015-07-05 | 3 | -3/+0 |
| | |||||
* | content-parser: fixed bug when using inline delim in link title | Rafael G. Martins | 2015-07-04 | 1 | -7/+7 |
| | |||||
* | utils: removed unused includes | Rafael G. Martins | 2015-06-24 | 1 | -2/+0 |
| | |||||
* | main: do not return 0 when error happens | Rafael G. Martins | 2015-06-15 | 1 | -0/+2 |
| | |||||
* | source-parse: optimize excerpt usage | Rafael G. Martins | 2015-06-13 | 1 | -7/+5 |
| | |||||
* | content-parser: implemented excerpt, and now for good! | Rafael G. Martins | 2015-06-13 | 3 | -4/+48 |
| | |||||
* | Revert "added content excerpt support" | Rafael G. Martins | 2015-06-12 | 1 | -55/+2 |
| | | | | This reverts commit 1851274f9524c462806d6ab64e024effb0392231. | ||||
* | added content excerpt support | Rafael G. Martins | 2015-06-11 | 1 | -2/+55 |
| | |||||
* | content-parser: added "automatic" links | Rafael G. Martins | 2015-06-10 | 1 | -15/+29 |
| | |||||
* | content-parser: fixed inline parser | Rafael G. Martins | 2015-05-29 | 1 | -31/+61 |
| | |||||
* | main: added option to print global config parameters after parsing | Rafael G. Martins | 2015-05-28 | 1 | -13/+35 |
| | |||||
* | source-parser: fixed reserved variables | Rafael G. Martins | 2015-05-28 | 1 | -1/+11 |
| | |||||
* | loader: implemented pagination filter | Rafael G. Martins | 2015-05-28 | 1 | -0/+37 |
| | |||||
* | loader: implemented tag filter | Rafael G. Martins | 2015-05-27 | 1 | -9/+35 |
| | |||||
* | content-parser: random fixes and more tests for inline content parser | Rafael G. Martins | 2015-05-27 | 1 | -2/+7 |
| | |||||
* | content-parser: random fixes, more tests | Rafael G. Martins | 2015-05-27 | 1 | -13/+26 |
| | |||||
* | fixed copyright | Rafael G. Martins | 2015-05-25 | 20 | -20/+20 |
| | |||||
* | content-parser: fix and test horizontal rules | Rafael G. Martins | 2015-05-18 | 1 | -1/+4 |
| | |||||
* | source-parser: fixed reserved variables | Rafael G. Martins | 2015-05-18 | 1 | -2/+10 |
| |