Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | content-parser: added ast for content blocks. pending inline and testsfeature/content-parser-ast | Rafael G. Martins | 2016-07-16 | 4 | -105/+474 |
| | |||||
* | content-parser: added 'next' to node structure | Rafael G. Martins | 2016-07-16 | 1 | -4/+3 |
| | |||||
* | content-parser: added basic data structures for ast | Rafael G. Martins | 2016-07-16 | 1 | -0/+41 |
| | |||||
* | runserver: removed uneeded struct decl | Rafael G. Martins | 2016-07-07 | 1 | -3/+0 |
| | |||||
* | *: fixed includes | Rafael G. Martins | 2016-07-07 | 30 | -107/+35 |
| | | | | | this refactoring was done with the help of the 'include-what-you-use' program. if this breaks the build for you, please report! | ||||
* | template-parser: fixed block scope | Rafael G. Martins | 2016-07-07 | 2 | -28/+189 |
| | | | | | this patch blocks some usage that is obviously wrong and that nobody would want to use, but that should be explicitly blocked by the parser. | ||||
* | build: version bumpv0.11.0 | Rafael G. Martins | 2016-07-05 | 1 | -0/+3 |
| | |||||
* | file: added dedicated error type | Rafael G. Martins | 2016-07-05 | 3 | -2/+6 |
| | |||||
* | man: templates and sources must be valid utf-8 | Rafael G. Martins | 2016-07-05 | 3 | -1/+6 |
| | |||||
* | renderer: utils: fixed memory bugs found by clang static analyzer | Rafael G. Martins | 2016-07-05 | 4 | -9/+13 |
| | |||||
* | blogc: only -D arguments must be validated for UTF-8 | Rafael G. Martins | 2016-07-04 | 1 | -5/+5 |
| | |||||
* | utf8: fix test | Rafael G. Martins | 2016-07-04 | 1 | -1/+1 |
| | |||||
* | utf8: fix test data type | Rafael G. Martins | 2016-07-04 | 1 | -3/+3 |
| | |||||
* | utf8: skip BOM, if found | Rafael G. Martins | 2016-07-04 | 4 | -2/+48 |
| | |||||
* | blogc: added utf8 validation | Rafael G. Martins | 2016-07-03 | 7 | -0/+226 |
| | |||||
* | template-parser: minor fix | Rafael G. Martins | 2016-07-03 | 2 | -2/+2 |
| | |||||
* | Revert "error: improved parser error reporting" | Rafael G. Martins | 2016-07-03 | 5 | -135/+64 |
| | | | | | | this will not work properly for unicode chars This reverts commit 3968529cad2baec099acff5fee47b5fe24624b03. | ||||
* | error: improved parser error reporting | Rafael G. Martins | 2016-07-03 | 5 | -64/+135 |
| | | | | | | now it shows a visual indicator '^' pointing to the position of the error, in the line after the error message. should be helpful for users writing templates, if any. | ||||
* | template-parser: fixed error message | Rafael G. Martins | 2016-07-03 | 2 | -3/+3 |
| | |||||
* | template-parser: renderer: implemented 'else' support in templates | Rafael G. Martins | 2016-07-03 | 7 | -16/+421 |
| | | | | | | | | | yeah, this is stupid. after more than 320 commits and 26 releases, we finally support the 'else' statement in the template engine. I don't know if I'm dumb or what, but it took me that long to find a "simple" solution to this basic issue. yep, no more `{% ifdef FOO %}...{% endif %}{% ifndef FOO %}...{% endif %}` blocks. but seriously, who cares?! :/ | ||||
* | build: version bumpv0.10.2 | Rafael G. Martins | 2016-06-30 | 1 | -0/+3 |
| | |||||
* | build: do not build blogc-runserver for el6 | Rafael G. Martins | 2016-06-30 | 1 | -0/+10 |
| | |||||
* | content-parser: fixed tests | Rafael G. Martins | 2016-06-29 | 1 | -6/+6 |
| | |||||
* | content-parser: added more line break tests | Rafael G. Martins | 2016-06-29 | 1 | -0/+8 |
| | |||||
* | content-parser: rewrote inline parser. | Rafael G. Martins | 2016-06-29 | 5 | -304/+650 |
| | | | | parser is stricter now, and won't produce invalid HTML anymore. | ||||
* | build: link debug.c directly to blogc binary | Rafael G. Martins | 2016-06-25 | 1 | -1/+1 |
| | |||||
* | debug: move debug functions to separated file | Rafael G. Martins | 2016-06-25 | 6 | -70/+105 |
| | |||||
* | template-parser: added some ast debug | Rafael G. Martins | 2016-06-22 | 4 | -5/+82 |
| | |||||
* | build: version bumpv0.10.1 | Rafael G. Martins | 2016-06-19 | 1 | -0/+3 |
| | |||||
* | man: improved blogc-git-receiver mirroring setup | Rafael G. Martins | 2016-06-19 | 1 | -0/+3 |
| | |||||
* | git-receiver: call git-config with --local | Rafael G. Martins | 2016-06-19 | 1 | -2/+2 |
| | |||||
* | git-receiver: fixed repository mirroring | Rafael G. Martins | 2016-06-19 | 1 | -2/+6 |
| | | | | old git versions does not have 'git remote get-url' command. | ||||
* | build: version bumpv0.10.0 | Rafael G. Martins | 2016-05-30 | 1 | -0/+3 |
| | |||||
* | renderer: added support to truncate variables. | Rafael G. Martins | 2016-05-30 | 4 | -9/+121 |
| | | | | this commit also documents variable formatters properly. | ||||
* | blogc: fix goto statements | Rafael G. Martins | 2016-05-28 | 1 | -2/+2 |
| | |||||
* | blogc: avoid parsing template when called with -p | Rafael G. Martins | 2016-05-28 | 1 | -7/+7 |
| | |||||
* | content-parser: encode HTML entities in DESCRIPTION variable | Rafael G. Martins | 2016-05-24 | 3 | -4/+8 |
| | |||||
* | content-parser: fixed DESCRIPTION variable. | Rafael G. Martins | 2016-05-23 | 4 | -10/+98 |
| | | | | | | | | | it is now built as a single line variable, that contains the full unparsed content of the first paragraph found in the source file, instead of just the first line of it. this also fixes a bug that prevented creating of DESCRIPTION variable, if the source file contained only a single line paragraph. | ||||
* | content-parser: do not use paragraphs inside blockquote for DESCRIPTION | Rafael G. Martins | 2016-05-22 | 3 | -6/+10 |
| | |||||
* | updated README.md with dependencies. closes #4 | Rafael G. Martins | 2016-05-18 | 1 | -1/+3 |
| | |||||
* | spec: install blogc-pagination(7) | Rafael G. Martins | 2016-04-30 | 1 | -0/+1 |
| | |||||
* | build: version bumpv0.9.0 | Rafael G. Martins | 2016-04-30 | 1 | -0/+3 |
| | |||||
* | man: added documentation for DESCRIPTION variable | Rafael G. Martins | 2016-04-30 | 1 | -1/+6 |
| | |||||
* | man: added blogc-pagination(7) | Rafael G. Martins | 2016-04-30 | 5 | -2/+142 |
| | |||||
* | updated readme | Rafael G. Martins | 2016-04-29 | 1 | -1/+1 |
| | |||||
* | updated readme | Rafael G. Martins | 2016-04-29 | 1 | -1/+3 |
| | |||||
* | build: fix man page dist | Rafael G. Martins | 2016-04-29 | 1 | -9/+5 |
| | |||||
* | man: added man page for blogc-runserver | Rafael G. Martins | 2016-04-29 | 5 | -1/+64 |
| | |||||
* | man: added man page for blogc-git-receiver | Rafael G. Martins | 2016-04-29 | 4 | -6/+150 |
| | |||||
* | build: drop windows support | Rafael G. Martins | 2016-04-28 | 3 | -43/+7 |
| |