aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "content-parser: handle errors (that are handler as warnings) in ↵Rafael G. Martins2015-11-045-13/+4
| | | | | | directives" This reverts commit 56736b7b39218c10efd64f305f7a35df9d4bc0af.
* content-parser: handle errors (that are handler as warnings) in directivesRafael G. Martins2015-11-045-4/+13
|
* content-parser: allow directive params with variable prefixRafael G. Martins2015-11-032-24/+70
|
* content-parser: fix memory leak in gccRafael G. Martins2015-11-022-4/+6
|
* content-parser: added basic rst-like directives supportRafael G. Martins2015-11-025-23/+884
| | | | | | | | | | | 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
* man: improved if statement docRafael G. Martins2015-10-311-1/+2
|
* man: added example with comparision between 2 varsRafael G. Martins2015-10-281-2/+8
|
* renderer: improved support for comparision between varsRafael G. Martins2015-10-283-59/+110
|
* Allow {% if VALUE1 == VALUE2 %}, with two definesPalmer Dabbelt2015-10-263-10/+41
| | | | | | | | | | | | | | | 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
|
* ignore zip filesRafael G. Martins2015-10-241-0/+1
|
* build: create zip distfiles for windows users :)Rafael G. Martins2015-10-241-1/+1
|
* build: version bumpv0.4Rafael G. Martins2015-10-241-1/+1
|
* man: fixed blogc-source(7)Rafael G. Martins2015-10-241-1/+9
|
* main: fix build on windowsRafael G. Martins2015-10-241-0/+4
|
* datetime-parser: improve error handlingRafael G. Martins2015-10-245-95/+94
|
* datetime-parser: fixed strptime error handlingRafael G. Martins2015-10-242-3/+49
|
* datetime-parser: initial implementation. not used yetRafael G. Martins2015-10-247-0/+1048
|
* error: improved error reporting for parsersRafael G. Martins2015-10-244-38/+117
| | | | it will now report the line and the approximate position of the error.
* error: added missing test for crlfRafael G. Martins2015-10-231-0/+13
|
* content-parser: fix commentRafael G. Martins2015-10-221-1/+1
|
* content-parser: replace useless array with booleanRafael G. Martins2015-10-221-6/+5
|
* tempalte-parser: added tests with \r\n line endingsRafael G. Martins2015-10-222-4/+71
|
* source-parser: handle \r\n line endings properlyRafael G. Martins2015-10-222-0/+34
|
* content-parser: handle \r\n line endings properlyRafael G. Martins2015-10-223-37/+579
|
* build: version bumpv0.3Rafael G. Martins2015-10-151-1/+1
|
* man: add note about id attrs for headersRafael G. Martins2015-10-151-0/+4
|
* content-parser: added missing testRafael G. Martins2015-10-121-1/+3
|
* file: added missing headerRafael G. Martins2015-10-121-0/+1
|
* content-parser: added id attributes to headersRafael G. Martins2015-10-124-25/+82
| | | | the id is a slugified version of the (unparsed) header content.
* main: no need to honor umask manuallyRafael G. Martins2015-10-111-8/+1
|
* build: version bumpv0.2.1Rafael G. Martins2015-10-071-1/+1
|
* main: man: fixed '-l' docsRafael G. Martins2015-10-073-6/+9
|
* build: version bumpv0.2Rafael G. Martins2015-10-071-1/+1
|
* renderer: accept empty list of files with -lRafael G. Martins2015-10-073-6/+43
|
* build: no need to call AC_SUBST for LIBMRafael G. Martins2015-09-261-1/+0
|
* build: use LT_LIB_MRafael G. Martins2015-09-261-1/+1
|
* source-parser: fixed error messageRafael G. Martins2015-09-192-2/+2
|
* error: minor memory optimizationRafael G. Martins2015-09-181-10/+4
|
* build: version bumpv0.1Rafael G. Martins2015-09-151-1/+1
| | | | this is our first "stable" release. \o/
* content-parser: removed some uneeded codeRafael G. Martins2015-09-151-14/+0
|
* build: version bumpv0.1-beta.4Rafael G. Martins2015-09-081-1/+1
|
* build: find -lm properlyRafael G. Martins2015-09-082-1/+3
|
* loader: minor fixesRafael G. Martins2015-09-051-1/+3
|
* main: style fixesRafael G. Martins2015-08-221-18/+25
|
* build: version bumpv0.1-beta.3Rafael G. Martins2015-08-201-1/+1
|
* build: raise error if trying to rebuild man pages without ronnRafael G. Martins2015-08-201-0/+8
|
* build: yet another try to fix man pagesRafael G. Martins2015-08-182-7/+7
|
* Revert "build: fixed makefile rules to build man pages"Rafael G. Martins2015-08-181-2/+2
| | | | This reverts commit 7f90ca9a3a50b895a72a849b50380e4be941f5fb.