Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | man: fix blogc-template man page | Rafael G. Martins | 2015-12-30 | 1 | -2/+2 | |
| | ||||||
* | loader: parse tags as space-separated string | Rafael G. Martins | 2015-12-29 | 2 | -5/+8 | |
| | ||||||
* | renderer: foreach variables should be splitted in spaces rather than commas | Rafael G. Martins | 2015-12-29 | 3 | -17/+19 | |
| | ||||||
* | template-parser: do not accept variables startins with numbers and _ | Rafael G. Martins | 2015-12-29 | 2 | -10/+83 | |
| | ||||||
* | man: renderer: template-parser: added foreach iterator support | Rafael G. Martins | 2015-12-29 | 7 | -10/+361 | |
| | ||||||
* | Revert "build: removing src/utils and replacing with squareball" | Rafael G. Martins | 2015-12-23 | 29 | -847/+2278 | |
| | | | | This reverts commit 950e6c9148eca244a89d18a21d4ae4e5c3d1c646. | |||||
* | Revert "build: do not touch bundled files if using squareball from system" | Rafael G. Martins | 2015-12-23 | 1 | -7/+5 | |
| | | | | This reverts commit f835808dab3da4509253b84f79386686986afe0a. | |||||
* | build: do not touch bundled files if using squareball from system | Rafael G. Martins | 2015-12-23 | 1 | -5/+7 | |
| | ||||||
* | build: removing src/utils and replacing with squareball | Rafael G. Martins | 2015-12-23 | 29 | -2278/+847 | |
| | | | | | squareball is a new general purpose library for C99, based on the code removed from src/utils | |||||
* | build: makefile improvements | Rafael G. Martins | 2015-12-23 | 2 | -3/+16 | |
| | ||||||
* | build: version bumpv0.5.1 | Rafael G. Martins | 2015-12-03 | 1 | -1/+1 | |
| | ||||||
* | main: honour locales from environment variables | Rafael G. Martins | 2015-12-02 | 1 | -0/+3 | |
| | ||||||
* | build: man: update URL | Rafael G. Martins | 2015-11-07 | 2 | -4/+4 | |
| | ||||||
* | build: version bumpv0.5 | Rafael G. Martins | 2015-11-05 | 1 | -1/+1 | |
| | ||||||
* | ignore rpms | Rafael G. Martins | 2015-11-05 | 1 | -0/+3 | |
| | ||||||
* | build: added script to build windows releases | Rafael G. Martins | 2015-11-05 | 2 | -0/+55 | |
| | ||||||
* | content-parser: random parser fixes | Rafael G. Martins | 2015-11-04 | 2 | -4/+48 | |
| | ||||||
* | Revert "content-parser: added basic rst-like directives support" | Rafael G. Martins | 2015-11-04 | 5 | -884/+23 | |
| | | | | This reverts commit 1faa52052624e7c03256df0c63c43f5d40ddb57a. | |||||
* | Revert "content-parser: fix memory leak in gcc" | Rafael G. Martins | 2015-11-04 | 2 | -6/+4 | |
| | | | | This reverts commit 8c5ad9b304fd405380501f5acd1f7c809a1a2746. | |||||
* | Revert "content-parser: allow directive params with variable prefix" | Rafael G. Martins | 2015-11-04 | 2 | -70/+24 | |
| | | | | This reverts commit d29c85ef1751cb46c579b3292f676605d9f86951. | |||||
* | Revert "content-parser: handle errors (that are handler as warnings) in ↵ | Rafael G. Martins | 2015-11-04 | 5 | -13/+4 | |
| | | | | | | directives" This reverts commit 56736b7b39218c10efd64f305f7a35df9d4bc0af. | |||||
* | content-parser: handle errors (that are handler as warnings) in directives | Rafael G. Martins | 2015-11-04 | 5 | -4/+13 | |
| | ||||||
* | content-parser: allow directive params with variable prefix | Rafael G. Martins | 2015-11-03 | 2 | -24/+70 | |
| | ||||||
* | content-parser: fix memory leak in gcc | Rafael G. Martins | 2015-11-02 | 2 | -4/+6 | |
| | ||||||
* | content-parser: added basic rst-like directives support | Rafael G. Martins | 2015-11-02 | 5 | -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 doc | Rafael G. Martins | 2015-10-31 | 1 | -1/+2 | |
| | ||||||
* | man: added example with comparision between 2 vars | Rafael G. Martins | 2015-10-28 | 1 | -2/+8 | |
| | ||||||
* | renderer: improved support for comparision between vars | Rafael G. Martins | 2015-10-28 | 3 | -59/+110 | |
| | ||||||
* | Allow {% if VALUE1 == VALUE2 %}, with two defines | Palmer Dabbelt | 2015-10-26 | 3 | -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 assignment | Rafael G. Martins | 2015-10-26 | 1 | -1/+1 | |
| | ||||||
* | datetime-parser: remove uneeded include | Rafael G. Martins | 2015-10-25 | 1 | -1/+0 | |
| | ||||||
* | ignore zip files | Rafael G. Martins | 2015-10-24 | 1 | -0/+1 | |
| | ||||||
* | build: create zip distfiles for windows users :) | Rafael G. Martins | 2015-10-24 | 1 | -1/+1 | |
| | ||||||
* | build: version bumpv0.4 | Rafael G. Martins | 2015-10-24 | 1 | -1/+1 | |
| | ||||||
* | man: fixed blogc-source(7) | Rafael G. Martins | 2015-10-24 | 1 | -1/+9 | |
| | ||||||
* | 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 | 5 | -95/+94 | |
| | ||||||
* | datetime-parser: fixed strptime error handling | Rafael G. Martins | 2015-10-24 | 2 | -3/+49 | |
| | ||||||
* | datetime-parser: initial implementation. not used yet | Rafael G. Martins | 2015-10-24 | 7 | -0/+1048 | |
| | ||||||
* | error: improved error reporting for parsers | Rafael G. Martins | 2015-10-24 | 4 | -38/+117 | |
| | | | | 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 | |
| | ||||||
* | 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 | |
| | ||||||
* | tempalte-parser: added tests with \r\n line endings | Rafael G. Martins | 2015-10-22 | 2 | -4/+71 | |
| | ||||||
* | source-parser: handle \r\n line endings properly | Rafael G. Martins | 2015-10-22 | 2 | -0/+34 | |
| | ||||||
* | content-parser: handle \r\n line endings properly | Rafael G. Martins | 2015-10-22 | 3 | -37/+579 | |
| | ||||||
* | build: version bumpv0.3 | Rafael G. Martins | 2015-10-15 | 1 | -1/+1 | |
| | ||||||
* | man: add note about id attrs for headers | Rafael G. Martins | 2015-10-15 | 1 | -0/+4 | |
| | ||||||
* | content-parser: added missing test | Rafael G. Martins | 2015-10-12 | 1 | -1/+3 | |
| | ||||||
* | file: added missing header | Rafael G. Martins | 2015-10-12 | 1 | -0/+1 | |
| |