aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make
Commit message (Collapse)AuthorAgeFilesLines
* *: update copyrightRafael G. Martins2020-05-317-7/+7
| | | | this time I'm only updating the files I touched this year.
* 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.
* make: run blogc-runserver before starting the reloaderRafael G. Martins2020-05-301-12/+37
|
* 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
|
* 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-221-0/+1
|
* 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 "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
|
* make: do not follow symlinks when resolving blogcfile pathRafael G. Martins2019-04-253-10/+49
|
* 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 :/
* 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
* make: exit 1 on errorRafael G. Martins2019-03-286-30/+30
|
* *: update copyrightRafael G. Martins2019-01-1519-19/+19
|
* make: fixed bug when trying to call a rule with incomplete nameRafael G. Martins2019-01-151-1/+2
| | | | | previous code was calling all the rules that matched the substring provided. it should only run exact matches.
* make: include limits.hRafael G. Martins2018-12-171-0/+1
|
* make: fixed memory leakRafael G. Martins2018-12-171-0/+1
|
* git-receiver: make: runserver: improved realpath(3) usageRafael G. Martins2018-12-171-4/+11
|
* make: settings: removed unused functionRafael G. Martins2018-12-162-24/+0
|
* *: update copyrightRafael G. Martins2018-10-1419-19/+19
|
* make: added atom_dump helper ruleRafael G. Martins2018-07-263-12/+52
|
* make: allow custom atom templatesRafael G. Martins2018-07-263-7/+24
|
* make: remove unused variableRafael G. Martins2018-07-261-1/+0
|
* make: use bm_generate_filename when building ctxRafael G. Martins2018-07-261-4/+5
|
* make: prevent dereferencing segfaults. minor style fixesRafael G. Martins2018-07-264-53/+79
|
* make: implemented atom_legacy_entry_id settingRafael G. Martins2018-07-252-1/+12
| | | | This allows current users to avoid atom entry id changes.
* make: fixed filename generation for rules and atom feedRafael G. Martins2018-07-251-11/+28
|
* make: added utilitary function to generate filenamesRafael G. Martins2018-07-253-24/+95
|
* make: handle empty prefixes properlyRafael G. Martins2018-07-244-18/+26
| | | | still needs to add integration tests
* make: disable post listings if {atom_,}posts_per_page is 0Rafael G. Martins2018-06-101-1/+28
|
* Revert "make: disable pagination rules if <= 0 posts per page"Rafael G. Martins2018-06-101-27/+3
| | | | | | This reverts commit cab17026f64ba78bfd9dcac6327607af8e396ebd. Poorly implemented :/
* make: disable pagination rules if <= 0 posts per pageRafael G. Martins2018-06-091-3/+27
|
* make: fixed typo. `tags` rule was using `atom_posts_per_page`Rafael G. Martins2018-06-091-1/+1
|
* make: run the build rule before starting httpd for runserver ruleRafael G. Martins2018-05-141-0/+15
|
* make: improve blogc output formattingRafael G. Martins2018-05-141-31/+28
|
* Revert "make: trying to fix osx build due to lack of SIGRTMAX"Rafael G. Martins2018-05-131-8/+0
| | | | This reverts commit 321459e9584e4f9b6c725f1e19effef693e3c561.
* make: simplified signal logicRafael G. Martins2018-05-132-11/+14
|
* make: trying to fix osx build due to lack of SIGRTMAXRafael G. Martins2018-05-131-0/+8
|
* make: added 'watch' rule. improved 'runserver' rule.Rafael G. Martins2018-05-135-71/+186
|