aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/master' into feature/directivesRafael G. Martins2015-12-253-4/+20
|\
| * Revert "build: removing src/utils and replacing with squareball"Rafael G. Martins2015-12-2329-847/+2278
| | | | | | | | This reverts commit 950e6c9148eca244a89d18a21d4ae4e5c3d1c646.
| * Revert "build: do not touch bundled files if using squareball from system"Rafael G. Martins2015-12-231-7/+5
| | | | | | | | This reverts commit f835808dab3da4509253b84f79386686986afe0a.
| * build: do not touch bundled files if using squareball from systemRafael G. Martins2015-12-231-5/+7
| |
| * build: removing src/utils and replacing with squareballRafael G. Martins2015-12-2329-2278/+847
| | | | | | | | | | squareball is a new general purpose library for C99, based on the code removed from src/utils
| * build: makefile improvementsRafael G. Martins2015-12-232-3/+16
| |
| * build: version bumpv0.5.1Rafael G. Martins2015-12-031-1/+1
| |
| * main: honour locales from environment variablesRafael G. Martins2015-12-021-0/+3
| |
* | directives: improved loaderRafael G. Martins2015-11-151-9/+8
| |
* | directives: content-parser: added blogc_directive_ctx_tRafael G. Martins2015-11-154-29/+46
| |
* | content-parser: fixed multiple directive calls in same sourceRafael G. Martins2015-11-152-0/+321
| |
* | Merge remote-tracking branch 'origin/master' into feature/directivesRafael G. Martins2015-11-084-4/+62
|\|
| * build: man: update URLRafael G. Martins2015-11-072-4/+4
| |
| * build: version bumpv0.5Rafael G. Martins2015-11-051-1/+1
| |
| * ignore rpmsRafael G. Martins2015-11-051-0/+3
| |
| * build: added script to build windows releasesRafael G. Martins2015-11-052-0/+55
| |
* | Merge branch 'master' into feature/directivesRafael G. Martins2015-11-040-0/+0
|\|
| * content-parser: random parser fixesRafael G. Martins2015-11-042-4/+48
| |
* | content-parser: implemented youtube directiveRafael G. Martins2015-11-043-3/+53
| |
* | Revert "Revert "content-parser: handle errors (that are handler as warnings) ↵Rafael G. Martins2015-11-045-4/+13
| | | | | | | | | | | | in directives"" This reverts commit 0fe9ed29207c428deda6c960c81359113f1d3384.
* | Revert "Revert "content-parser: allow directive params with variable prefix""Rafael G. Martins2015-11-042-24/+70
| | | | | | | | This reverts commit 37850db5081e26a26f05d062497811b864953778.
* | Revert "Revert "content-parser: fix memory leak in gcc""Rafael G. Martins2015-11-042-4/+6
| | | | | | | | This reverts commit 13ce0cdba95a857410208282ea5d0bb13ee1baec.
* | Revert "Revert "content-parser: added basic rst-like directives support""Rafael G. Martins2015-11-045-23/+884
|/ | | | This reverts commit 43bb8973e683743e780895f99f46364c7d85457f.
* Revert "content-parser: added basic rst-like directives support"Rafael G. Martins2015-11-045-884/+23
| | | | This reverts commit 1faa52052624e7c03256df0c63c43f5d40ddb57a.
* Revert "content-parser: fix memory leak in gcc"Rafael G. Martins2015-11-042-6/+4
| | | | This reverts commit 8c5ad9b304fd405380501f5acd1f7c809a1a2746.
* Revert "content-parser: allow directive params with variable prefix"Rafael G. Martins2015-11-042-70/+24
| | | | This reverts commit d29c85ef1751cb46c579b3292f676605d9f86951.
* 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
|