aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* renderer: improved support for comparision between varsRafael G. Martins2015-10-282-59/+56
|
* Allow {% if VALUE1 == VALUE2 %}, with two definesPalmer Dabbelt2015-10-262-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 assignmentRafael G. Martins2015-10-261-1/+1
|
* datetime-parser: remove uneeded includeRafael G. Martins2015-10-251-1/+0
|
* main: fix build on windowsRafael G. Martins2015-10-241-0/+4
|
* datetime-parser: improve error handlingRafael G. Martins2015-10-244-56/+55
|
* datetime-parser: fixed strptime error handlingRafael G. Martins2015-10-241-3/+4
|
* datetime-parser: initial implementation. not used yetRafael G. Martins2015-10-244-0/+396
|
* error: improved error reporting for parsersRafael G. Martins2015-10-241-11/+39
| | | | it will now report the line and the approximate position of the error.
* content-parser: fix commentRafael G. Martins2015-10-221-1/+1
|
* content-parser: replace useless array with booleanRafael G. Martins2015-10-221-6/+5
|
* source-parser: handle \r\n line endings properlyRafael G. Martins2015-10-221-0/+2
|
* content-parser: handle \r\n line endings properlyRafael G. Martins2015-10-221-31/+79
|
* file: added missing headerRafael G. Martins2015-10-121-0/+1
|
* content-parser: added id attributes to headersRafael G. Martins2015-10-122-2/+31
| | | | the id is a slugified version of the (unparsed) header content.
* main: no need to honor umask manuallyRafael G. Martins2015-10-111-8/+1
|
* main: man: fixed '-l' docsRafael G. Martins2015-10-071-2/+2
|
* renderer: accept empty list of files with -lRafael G. Martins2015-10-072-6/+13
|
* source-parser: fixed error messageRafael G. Martins2015-09-191-1/+1
|
* error: minor memory optimizationRafael G. Martins2015-09-181-10/+4
|
* content-parser: removed some uneeded codeRafael G. Martins2015-09-151-14/+0
|
* loader: minor fixesRafael G. Martins2015-09-051-1/+3
|
* main: style fixesRafael G. Martins2015-08-221-18/+25
|
* source-parser: forbid BLOGC_VERSION variable in source filesRafael G. Martins2015-08-141-1/+3
|
* main: added BLOGC_VERSION template variableRafael G. Martins2015-08-141-0/+5
|
* content-parser: implemented multiline support for listsRafael G. Martins2015-08-132-44/+128
|
* utils/mem: added safe reallocRafael G. Martins2015-07-193-4/+19
|
* content-parser: fixed start_state bug.Rafael G. Martins2015-07-091-2/+2
|
* removed some uneeded includesRafael G. Martins2015-07-053-3/+0
|
* content-parser: fixed bug when using inline delim in link titleRafael G. Martins2015-07-041-7/+7
|
* utils: removed unused includesRafael G. Martins2015-06-241-2/+0
|
* main: do not return 0 when error happensRafael G. Martins2015-06-151-0/+2
|
* source-parse: optimize excerpt usageRafael G. Martins2015-06-131-7/+5
|
* content-parser: implemented excerpt, and now for good!Rafael G. Martins2015-06-133-4/+48
|
* Revert "added content excerpt support"Rafael G. Martins2015-06-121-55/+2
| | | | This reverts commit 1851274f9524c462806d6ab64e024effb0392231.
* added content excerpt supportRafael G. Martins2015-06-111-2/+55
|
* content-parser: added "automatic" linksRafael G. Martins2015-06-101-15/+29
|
* content-parser: fixed inline parserRafael G. Martins2015-05-291-31/+61
|
* main: added option to print global config parameters after parsingRafael G. Martins2015-05-281-13/+35
|
* source-parser: fixed reserved variablesRafael G. Martins2015-05-281-1/+11
|
* loader: implemented pagination filterRafael G. Martins2015-05-281-0/+37
|
* loader: implemented tag filterRafael G. Martins2015-05-271-9/+35
|
* content-parser: random fixes and more tests for inline content parserRafael G. Martins2015-05-271-2/+7
|
* content-parser: random fixes, more testsRafael G. Martins2015-05-271-13/+26
|
* fixed copyrightRafael G. Martins2015-05-2520-20/+20
|
* content-parser: fix and test horizontal rulesRafael G. Martins2015-05-181-1/+4
|
* source-parser: fixed reserved variablesRafael G. Martins2015-05-181-2/+10
|
* minor fixesRafael G. Martins2015-05-181-9/+9
|
* renderer: implemented if statementsRafael G. Martins2015-05-183-10/+36
|
* template-parser: convert "if" operator into enumRafael G. Martins2015-05-172-23/+35
|