Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | content-parser: allow directive params with variable prefix | Rafael G. Martins | 2015-11-03 | 1 | -5/+42 |
| | |||||
* | content-parser: fix memory leak in gcc | Rafael G. Martins | 2015-11-02 | 1 | -3/+5 |
| | |||||
* | content-parser: added basic rst-like directives support | Rafael G. Martins | 2015-11-02 | 1 | -4/+616 |
| | | | | | | | | | | | 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 | 1 | -0/+54 |
| | |||||
* | Allow {% if VALUE1 == VALUE2 %}, with two defines | Palmer Dabbelt | 2015-10-26 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | 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. | ||||
* | datetime-parser: improve error handling | Rafael G. Martins | 2015-10-24 | 1 | -39/+39 |
| | |||||
* | datetime-parser: fixed strptime error handling | Rafael G. Martins | 2015-10-24 | 1 | -0/+45 |
| | |||||
* | datetime-parser: initial implementation. not used yet | Rafael G. Martins | 2015-10-24 | 1 | -0/+631 |
| | |||||
* | error: improved error reporting for parsers | Rafael G. Martins | 2015-10-24 | 3 | -27/+78 |
| | | | | it will now report the line and the approximate position of the error. | ||||
* | error: added missing test for crlf | Rafael G. Martins | 2015-10-23 | 1 | -0/+13 |
| | |||||
* | tempalte-parser: added tests with \r\n line endings | Rafael G. Martins | 2015-10-22 | 1 | -0/+71 |
| | |||||
* | source-parser: handle \r\n line endings properly | Rafael G. Martins | 2015-10-22 | 1 | -0/+32 |
| | |||||
* | content-parser: handle \r\n line endings properly | Rafael G. Martins | 2015-10-22 | 1 | -2/+500 |
| | |||||
* | content-parser: added missing test | Rafael G. Martins | 2015-10-12 | 1 | -1/+3 |
| | |||||
* | content-parser: added id attributes to headers | Rafael G. Martins | 2015-10-12 | 2 | -23/+51 |
| | | | | the id is a slugified version of the (unparsed) header content. | ||||
* | renderer: accept empty list of files with -l | Rafael G. Martins | 2015-10-07 | 1 | -0/+30 |
| | |||||
* | source-parser: fixed error message | Rafael G. Martins | 2015-09-19 | 1 | -1/+1 |
| | |||||
* | source-parser: forbid BLOGC_VERSION variable in source files | Rafael G. Martins | 2015-08-14 | 1 | -0/+18 |
| | |||||
* | content-parser: implemented multiline support for lists | Rafael G. Martins | 2015-08-13 | 1 | -7/+89 |
| | |||||
* | content-parser: fixed start_state bug. | Rafael G. Martins | 2015-07-09 | 1 | -2/+2 |
| | |||||
* | content-parser: fixed bug when using inline delim in link title | Rafael G. Martins | 2015-07-04 | 1 | -0/+8 |
| | |||||
* | tests: test functions must be marked as static | Rafael G. Martins | 2015-06-13 | 1 | -22/+22 |
| | |||||
* | content-parser: implemented excerpt, and now for good! | Rafael G. Martins | 2015-06-13 | 3 | -48/+219 |
| | |||||
* | Revert "added content excerpt support" | Rafael G. Martins | 2015-06-12 | 2 | -85/+6 |
| | | | | This reverts commit 1851274f9524c462806d6ab64e024effb0392231. | ||||
* | added content excerpt support | Rafael G. Martins | 2015-06-11 | 2 | -6/+85 |
| | |||||
* | content-parser: added "automatic" links | Rafael G. Martins | 2015-06-10 | 1 | -2/+33 |
| | |||||
* | content-parser: fixed inline parser | Rafael G. Martins | 2015-05-29 | 1 | -4/+66 |
| | |||||
* | source-parser: fixed reserved variables | Rafael G. Martins | 2015-05-28 | 1 | -0/+90 |
| | |||||
* | loader: implemented pagination filter | Rafael G. Martins | 2015-05-28 | 1 | -0/+469 |
| | |||||
* | loader: implemented tag filter | Rafael G. Martins | 2015-05-27 | 1 | -0/+47 |
| | |||||
* | content-parser: random fixes and more tests for inline content parser | Rafael G. Martins | 2015-05-27 | 1 | -0/+200 |
| | |||||
* | content-parser: random fixes, more tests | Rafael G. Martins | 2015-05-27 | 1 | -0/+144 |
| | |||||
* | fixed copyright | Rafael G. Martins | 2015-05-25 | 7 | -7/+7 |
| | |||||
* | content-parser: more tests | Rafael G. Martins | 2015-05-19 | 1 | -0/+126 |
| | |||||
* | content-parser: fix and test horizontal rules | Rafael G. Martins | 2015-05-18 | 1 | -0/+59 |
| | |||||
* | source-parser: fixed reserved variables | Rafael G. Martins | 2015-05-18 | 1 | -0/+72 |
| | |||||
* | renderer: added more tests | Rafael G. Martins | 2015-05-18 | 1 | -1/+213 |
| | |||||
* | renderer: implemented if statements | Rafael G. Martins | 2015-05-18 | 1 | -2/+12 |
| | |||||
* | template-parser: convert "if" operator into enum | Rafael G. Martins | 2015-05-17 | 1 | -3/+3 |
| | |||||
* | template-parser: minor fixes. tests | Rafael G. Martins | 2015-05-17 | 1 | -2/+36 |
| | |||||
* | template-parser: added real if statements. ignored by renderer for now | Rafael G. Martins | 2015-05-17 | 2 | -10/+45 |
| | |||||
* | template-parser: if -> ifdef, if not -> ifndef | Rafael G. Martins | 2015-05-17 | 2 | -69/+53 |
| | |||||
* | content-parser: implemented line breaks | Rafael G. Martins | 2015-05-12 | 1 | -2/+2 |
| | |||||
* | fixing gcc stupidity | Rafael G. Martins | 2015-05-09 | 1 | -3/+3 |
| | |||||
* | raise warning if user provided DATE for one source file, but not for all ↵ | Rafael G. Martins | 2015-05-09 | 1 | -0/+56 |
| | | | | source files | ||||
* | loader: added tests | Rafael G. Martins | 2015-05-09 | 1 | -3/+140 |
| | |||||
* | added global variables with date/filename on first and last post | Rafael G. Martins | 2015-05-09 | 1 | -8/+6 |
| | |||||
* | renderer: respect local scope | Rafael G. Martins | 2015-05-08 | 1 | -0/+33 |
| | |||||
* | content-parser: more random stuff | Rafael G. Martins | 2015-05-07 | 2 | -93/+58 |
| | |||||
* | content-parser: lots of random stuff | Rafael G. Martins | 2015-05-07 | 1 | -2/+8 |
| |