aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* utf8: skip BOM, if foundRafael G. Martins2016-07-044-2/+48
|
* blogc: added utf8 validationRafael G. Martins2016-07-037-0/+226
|
* template-parser: minor fixRafael G. Martins2016-07-032-2/+2
|
* Revert "error: improved parser error reporting"Rafael G. Martins2016-07-035-135/+64
| | | | | | this will not work properly for unicode chars This reverts commit 3968529cad2baec099acff5fee47b5fe24624b03.
* error: improved parser error reportingRafael G. Martins2016-07-035-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 messageRafael G. Martins2016-07-032-3/+3
|
* template-parser: renderer: implemented 'else' support in templatesRafael G. Martins2016-07-037-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.2Rafael G. Martins2016-06-301-0/+3
|
* build: do not build blogc-runserver for el6Rafael G. Martins2016-06-301-0/+10
|
* content-parser: fixed testsRafael G. Martins2016-06-291-6/+6
|
* content-parser: added more line break testsRafael G. Martins2016-06-291-0/+8
|
* content-parser: rewrote inline parser.Rafael G. Martins2016-06-295-304/+650
| | | | parser is stricter now, and won't produce invalid HTML anymore.
* build: link debug.c directly to blogc binaryRafael G. Martins2016-06-251-1/+1
|
* debug: move debug functions to separated fileRafael G. Martins2016-06-256-70/+105
|
* template-parser: added some ast debugRafael G. Martins2016-06-224-5/+82
|
* build: version bumpv0.10.1Rafael G. Martins2016-06-191-0/+3
|
* man: improved blogc-git-receiver mirroring setupRafael G. Martins2016-06-191-0/+3
|
* git-receiver: call git-config with --localRafael G. Martins2016-06-191-2/+2
|
* git-receiver: fixed repository mirroringRafael G. Martins2016-06-191-2/+6
| | | | old git versions does not have 'git remote get-url' command.
* build: version bumpv0.10.0Rafael G. Martins2016-05-301-0/+3
|
* renderer: added support to truncate variables.Rafael G. Martins2016-05-304-9/+121
| | | | this commit also documents variable formatters properly.
* blogc: fix goto statementsRafael G. Martins2016-05-281-2/+2
|
* blogc: avoid parsing template when called with -pRafael G. Martins2016-05-281-7/+7
|
* content-parser: encode HTML entities in DESCRIPTION variableRafael G. Martins2016-05-243-4/+8
|
* content-parser: fixed DESCRIPTION variable.Rafael G. Martins2016-05-234-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 DESCRIPTIONRafael G. Martins2016-05-223-6/+10
|
* updated README.md with dependencies. closes #4Rafael G. Martins2016-05-181-1/+3
|
* spec: install blogc-pagination(7)Rafael G. Martins2016-04-301-0/+1
|
* build: version bumpv0.9.0Rafael G. Martins2016-04-301-0/+3
|
* man: added documentation for DESCRIPTION variableRafael G. Martins2016-04-301-1/+6
|
* man: added blogc-pagination(7)Rafael G. Martins2016-04-305-2/+142
|
* updated readmeRafael G. Martins2016-04-291-1/+1
|
* updated readmeRafael G. Martins2016-04-291-1/+3
|
* build: fix man page distRafael G. Martins2016-04-291-9/+5
|
* man: added man page for blogc-runserverRafael G. Martins2016-04-295-1/+64
|
* man: added man page for blogc-git-receiverRafael G. Martins2016-04-294-6/+150
|
* build: drop windows supportRafael G. Martins2016-04-283-43/+7
|
* build: support tools in spec fileRafael G. Martins2016-04-271-3/+29
|
* fixed readmeRafael G. Martins2016-04-271-1/+1
|
* build: keep tools disabled by defaultRafael G. Martins2016-04-271-31/+18
|
* blogc-runserver: import external tool to blogc repositoryRafael G. Martins2016-04-276-2/+458
| | | | | | | | still in the effort to reduce maintenance work, I'm importing blogc-runserver tool to the main blogc repository. the tool is build by default, if needed headers and libraries are found.
* blogc-git-receiver: import external tool to blogc repositoryRafael G. Martins2016-04-276-16/+589
| | | | | | | | | still in the effort to reduce maintenance work, I'm importing blogc-git-receiver tool to the main blogc repository. the tool is build by default, if needed headers are found. that means that it will probably only be built for posix-compliant operating systems.
* remove squareball for goodRafael G. Martins2016-04-2721-23/+20
|
* moved squareball back to blogc source tree.Rafael G. Martins2016-04-278-51/+1694
| | | | | | | i don't have enough time to maintain a separated library at this point, and worry about soname bump, library stability, etc. all the code is trivial enough to be copied around, and all the utils are implemented as single file now, to make it easier to copy.
* Revert "*: use squareball error infrastructure"Rafael G. Martins2016-04-2720-386/+426
| | | | This reverts commit a2b3551dfb9460470bd79f5648bf597c517c40d4.
* Revert "error: removed uneeded tests"Rafael G. Martins2016-04-271-0/+24
| | | | This reverts commit 37592b57b31987519e59117d49bccd0207e67f15.
* Revert "main: loader: use file utils from squareball"Rafael G. Martins2016-04-273-18/+62
| | | | This reverts commit c7b4bc4d64a3ce669e54b7c7dae87527d9ee3123.
* content-parser: extract post description from contentRafael G. Martins2016-04-206-105/+389
| | | | | | | | | description is the first line of the first paragraph parsed from content file. users can override it declaring DESCRIPTION variable in source file itself. this also fixes a bug with line endings when using single line blockquotes.
* build: version bumpv0.8.1Rafael G. Martins2016-04-171-0/+6
|
* content-parser: do not convert -- and --- to &ndash and &mdash inside codeRafael G. Martins2016-04-172-1/+34
|