aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* blogc: sysinfo: get fqdn if availableRafael G. Martins2021-03-291-0/+10
|
* common: utf: simplified utf-8 validationRafael G. Martins2020-11-051-15/+1
| | | | | we don't need to evaluate codepoints, just to check if the byte sequences are valid.
* blogc: fix post sorting when mixing posts before and after `Sun Sep 9 ↵Rafael G. Martins2020-10-131-1/+4
| | | | 01:46:40 AM UTC 2001`
* blogc: generate table of contents treeRafael G. Martins2020-09-119-19/+217
| | | | | | | | | | | | | this commit allows users to use the `{{ TOCTREE }}` variable in their templates, to get automatically generated table of contents for entries. The variable is binded to each entry, so it can be used in any block that runs in entry context, like `{% block entry %}`. There's a small performance penalty for this, because the table of contents is rendered for any entry, despite being used or not, and not generated on-demand. still missing documentation. tests are good enough.
* *: update copyrightRafael G. Martins2020-05-3122-22/+22
| | | | this time I'm only updating the files I touched this year.
* runserver: replace u_int16_t with uint16_tRafael G. Martins2020-05-311-2/+2
|
* make: rules: remove generate_files struct field.Rafael G. Martins2020-05-312-28/+9
| | | | | | saying that a `clean` rule generates files is very stupid. we can just assume that any rule that does not implements `outputlist_func` does not generates any files.
* common: bc_stdin_read() should set read lengthRafael G. Martins2020-05-304-8/+16
|
* git-receiver: pre-receive parser should accept lenRafael G. Martins2020-05-303-4/+6
|
* make: run blogc-runserver before starting the reloaderRafael G. Martins2020-05-301-12/+37
|
* blogc: removed unused variableRafael G. Martins2020-05-291-2/+0
|
* blogc: use new filelist parserRafael G. Martins2020-05-291-24/+8
|
* common: utils: added bc_slist_append_listRafael G. Martins2020-05-292-0/+17
|
* blogc: added filelist parserRafael G. Martins2020-05-292-0/+85
|
* make: close fds after copying static filesRafael G. Martins2020-05-281-0/+3
|
* make: rebuild atom feeds on atom template changesRafael G. Martins2020-05-251-2/+4
|
* blogc: added listing_empty template blockRafael G. Martins2020-05-162-1/+22
|
* make: remove whitespaces from default atom templateRafael G. Martins2020-05-091-2/+2
|
* make: support operating systems without sysexits.hRafael G. Martins2020-04-221-1/+6
|
* include `unistd.h` after `sys/stat.h`Rafael G. Martins2020-04-224-3/+4
|
* blogc: allow passing multiple -e optionsRafael G. Martins2020-04-223-16/+29
|
* common: config-parser: use const for trie dataRafael G. Martins2019-09-091-3/+3
|
* common: prevent stdarg errors when format is NULLRafael G. Martins2019-09-092-0/+10
|
* 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
|
* make: fixed filename generation for pagination_tagsRafael G. Martins2019-07-243-14/+40
|
* make: exec: silent "variable not found" errorsRafael G. Martins2019-07-151-1/+3
|
* make: exec: trying to fix bug detected by clang-analyzerRafael G. Martins2019-07-151-1/+3
|
* make: rules: minor improvements in pagination_tagsRafael G. Martins2019-07-151-4/+4
|
* make: rules: added pagination_tagsRafael G. Martins2019-07-154-44/+248
| | | | needs tests, but is supposed to work
* make: exec: support printing blogc variablesRafael G. Martins2019-07-143-25/+34
| | | | needs more tests
* Revert "common: added bc_slist_remove"Rafael G. Martins2019-05-012-20/+0
| | | | This reverts commit 0cfb3dad5de015b658b0917c43fabe420781f39f.
* Revert "make: support posts autoloading"Rafael G. Martins2019-05-014-136/+24
| | | | | | | | It works mostly fine, but if you build a website, delete some files and try to rebuild, it won't be able to detect the removed files. This may be reverted when I find a solution for this problem. This reverts commit 792ac4ec66dd098109a88065420ef95c1a78624f.
* make: support posts autoloadingRafael G. Martins2019-04-284-24/+136
|
* make: support posts sortingRafael G. Martins2019-04-282-3/+10
|
* blogc: added FILTER_SORT, to sort posts by DATERafael G. Martins2019-04-281-30/+90
|
* common: added bc_slist_removeRafael G. Martins2019-04-282-0/+20
|
* common: added bc_slist_sortRafael G. Martins2019-04-282-0/+62
|
* make: do not follow symlinks when resolving blogcfile pathRafael G. Martins2019-04-255-10/+56
|
* make: do not call exit directlyRafael G. Martins2019-04-221-1/+1
|
* make: removed atom_legacy_entry_id settingRafael G. Martins2019-04-211-11/+8
|
* make: use permalinks as atom idsRafael G. Martins2019-04-201-2/+2
| | | | | | | | | | | | I have just realized that was implementing atom feeds wrong for long time. atom ids are supposed to be valid uris. this is a small but breaking change. it is supposed to make some clients think that all of the old posts were republished. This can be avoided by running something like this, before upgrading: $ blogc-make atom_dump > templates/atom.tmpl however, keep in mind that your atom ids are invalid :/
* blogc: added support for formatted variables in -pRafael G. Martins2019-04-131-5/+4
|
* make: fixed reloading of listing_entryRafael G. Martins2019-04-041-0/+2
|
* make: added support for `blogc -e`Rafael G. Martins2019-04-037-28/+50
| | | | must still add tests
* 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
|
* git-receiver: exit 1 on errorRafael G. Martins2019-03-284-33/+33
|
* runserver: exit 1 on errorRafael G. Martins2019-03-282-12/+12
|