aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc
Commit message (Collapse)AuthorAgeFilesLines
* *: update copyrightRafael G. Martins2020-05-316-6/+6
| | | | this time I'm only updating the files I touched this year.
* common: bc_stdin_read() should set read lengthRafael G. Martins2020-05-301-4/+5
|
* blogc: removed unused variableRafael G. Martins2020-05-291-2/+0
|
* blogc: use new filelist parserRafael G. Martins2020-05-291-24/+8
|
* blogc: added filelist parserRafael G. Martins2020-05-292-0/+85
|
* blogc: added listing_empty template blockRafael G. Martins2020-05-162-1/+22
|
* blogc: allow passing multiple -e optionsRafael G. Martins2020-04-223-16/+29
|
* blogc: fixed bug that prevented digits in -D argumentsRafael G. Martins2019-09-041-4/+15
|
* blogc: loader: minor improvementRafael G. Martins2019-07-241-1/+2
|
* blogc: added FILTER_SORT, to sort posts by DATERafael G. Martins2019-04-281-30/+90
|
* blogc: added support for formatted variables in -pRafael G. Martins2019-04-131-5/+4
|
* blogc: added `-e` cli option and `listing_entry` template blockRafael G. Martins2019-04-024-10/+52
|
* blogc: -p should return special code when variable not foundRafael G. Martins2019-03-281-1/+7
|
* blogc: exit 1 on errorRafael G. Martins2019-03-281-10/+10
|
* blogc: dump source file variables as well as global variablesRafael G. Martins2019-03-271-5/+10
|
* blogc: content: do not escape inline codeRafael G. Martins2019-02-241-2/+2
| | | | | | this is more compatible with markdown spec[1] [1] https://daringfireball.net/projects/markdown/syntax#code
* blogc: sysinfo: simplified username impl. fixed testsRafael G. Martins2019-02-233-30/+2
|
* blogc: rusage: added tests, fixed minor issueRafael G. Martins2019-02-102-2/+4
|
* blogc: sysinfo: added testsRafael G. Martins2019-02-101-0/+2
|
* blogc: funcvars: code simplified, added testsRafael G. Martins2019-02-103-10/+11
|
* blogc: template: allow whitespaces in template tags, not just spacesRafael G. Martins2019-02-091-16/+15
|
* blogc: sysinfo: fix memory leakRafael G. Martins2019-02-081-0/+1
|
* blogc: added "inside docker" template variableRafael G. Martins2019-02-043-0/+43
|
* blogc: added username template variableRafael G. Martins2019-02-033-0/+49
|
* blogc: added datetime template variableRafael G. Martins2019-02-033-0/+46
|
* blogc: unistd.h wont provide gethostnameRafael G. Martins2019-02-031-0/+2
|
* blogc: added hostmane template variableRafael G. Martins2019-02-033-0/+77
|
* blogc: rusage: fix formattingRafael G. Martins2019-02-021-4/+4
|
* blogc: optimized getrusage callsRafael G. Martins2019-02-024-43/+31
|
* blogc: fix rusage macroRafael G. Martins2019-02-021-2/+6
|
* blogc: do not add rusage vars if not supportedRafael G. Martins2019-02-023-1/+22
|
* blogc: added template variables for memory and cpu time resource usageRafael G. Martins2019-02-025-3/+183
| | | | | | | this include infrastructure required to have variables evaluated as lazy function calls. missing tests, docs and improvements.
* *: update copyrightRafael G. Martins2019-01-1515-15/+15
|
* renderer: fix a (very) unlikely segfault detected by scan-buildRafael G. Martins2018-12-201-2/+2
|
* *: update copyrightRafael G. Martins2018-10-1415-15/+15
|
* blogc: common: replace unsigned int with size_tRafael G. Martins2018-03-206-14/+14
|
* blogc: loader: respect FILTER_PER_PAGE=0Rafael G. Martins2018-03-201-2/+2
|
* Revert "blogc: make: mkdir may raise ENOENT"Rafael G. Martins2018-02-251-1/+1
| | | | | | This reverts commit 0bc74a99b362a7ef58655bf3d4b29d5699c38c90. That change made no sense :x
* blogc: make: mkdir may raise ENOENTRafael G. Martins2018-02-241-1/+1
|
* blogc: template: fixed commentRafael G. Martins2018-02-221-1/+3
|
* blogc: template parser refactoringRafael G. Martins2018-02-216-161/+164
| | | | mostly names and data structures.
* Allow lines starting with * or **baylej2017-10-251-7/+24
| | | | | | | These are emphasizing markups per the "Markdown standard". A line containing two '*' or '+' or '-' are not valid horizontal rules. See: https://daringfireball.net/projects/markdown/syntax#hr
* loader: added FILTER_REVERSERafael G. Martins2017-07-251-1/+14
|
* allow source config keys without valueRafael G. Martins2017-06-281-3/+4
|
* Fix an issue when using imbricated if-else blocksbaylej2017-05-041-0/+3
| | | | `valid_else` is not correctly set when `evaluate` is true
* *: updated copyrightRafael G. Martins2017-02-2515-15/+15
|
* content-parser: source-parser: rename TITLE to FIRST_HEADERRafael G. Martins2017-02-153-13/+13
|
* content-parser: html-encode pre-defined title. updated man pagesRafael G. Martins2017-02-151-1/+1
|
* content-parser: source-parser: extract TITLE from content headerRafael G. Martins2017-02-143-5/+21
| | | | | | | | | | | this patch implements support to using the first header found in source file as the TITLE variable. please note that if the TITLE variable is defined on the source file's variable section it takes precedence. this patch changes the old behaviour and can break some users' websites. if you have some '{% ifdef TITLE %}' blocks in your template, they will evaluate to true if you don't defined TITLE manually, but have a header in your content.
* make-embedded: removed symlink support from blogc binaryRafael G. Martins2017-01-301-8/+3
| | | | | embedded binary is supposed to be used on lambda, not to replace blogc-make binary on common setups