aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* utils: trie: fixed bug in foreach implementation.Rafael G. Martins2017-06-241-3/+1
| | | | | | when looping through the tree, the algorithm would stop, if found a '\0' in the key of the tree node. there should be no "child" field after a '\0', but "next" fields may exist.
* make: copy: truncate dest file if existsRafael G. Martins2017-05-081-1/+1
|
* Fix an issue when using imbricated if-else blocksbaylej2017-05-041-0/+3
| | | | `valid_else` is not correctly set when `evaluate` is true
* github-lambda: do not override index.html if existsRafael G. Martins2017-05-011-1/+3
|
* make: copy rule should support directories, recursivelyRafael G. Martins2017-04-303-4/+52
| | | | | | now any directories listed in the [copy] section of blogcfile will have its files copied recursively to the output dir. this is useful for big chunks of generated files, e.g. doxygen documentation.
* make: settings: do not read output_dir from blogcfileRafael G. Martins2017-04-284-41/+24
| | | | | now it is only possible to override output directory using environment variable. this commit also reduces the number trie lookups.
* runserver: initialize integer varsRafael G. Martins2017-04-131-2/+2
|
* make: removed unused settingsRafael G. Martins2017-04-111-5/+0
|
* runserver: allow users to override default host/port with env varRafael G. Martins2017-04-101-12/+17
|
* github-lambda: added blogc version informationRafael G. Martins2017-03-221-0/+3
|
* make: all builds are "production" by default, enable "dev" on cli.Rafael G. Martins2017-03-117-19/+18
| | | | | | this is more consistent with other similar tools, and enables us to add something like a [copy:dev] section later, that will avoid copying dev files to production builds.
* make: 130 (ctrl-c) is not an error for runserverRafael G. Martins2017-03-091-1/+1
|
* make: fix compilation on androidRafael G. Martins2017-03-083-24/+42
|
* make: add support to "production" buildsRafael G. Martins2017-03-077-7/+22
| | | | this is used by blogc-github-lambda and blogc-git-receiver.
* make: s/env/global/Rafael G. Martins2017-03-063-18/+18
|
* make: fixed segfault when blogcfile not foundRafael G. Martins2017-03-051-0/+2
|
* runserver: improved error reporting on write failuresRafael G. Martins2017-03-051-8/+11
|
* runserver: fixed error reporting and memory managementRafael G. Martins2017-03-051-35/+64
|
* runserver: close socket if skippedRafael G. Martins2017-03-051-0/+1
|
* runserver: reuse addressRafael G. Martins2017-03-051-7/+4
|
* runserver: fixed request read. increased bufferRafael G. Martins2017-03-052-6/+15
|
* runserver: move var declarations to loopRafael G. Martins2017-03-051-13/+13
|
* runserver: implemented ipv6 supportRafael G. Martins2017-03-053-47/+105
|
* runserver: fixed memory leaksRafael G. Martins2017-03-051-0/+3
|
* make: make the reloader interface genericRafael G. Martins2017-03-043-5/+11
| | | | this way it can run any rule, even if we don't need this feature now
* make: fixed includeRafael G. Martins2017-03-041-1/+1
|
* make: splitted reloaderRafael G. Martins2017-03-045-74/+131
|
* make: removed useless "verbose" variablesRafael G. Martins2017-03-043-30/+25
|
* runserver: improve listen url outputRafael G. Martins2017-03-041-3/+5
|
* make: improved runserver verbose outputRafael G. Martins2017-03-031-1/+1
|
* make: reworked binary lookups, added them to ctxRafael G. Martins2017-03-035-29/+26
|
* make: reworked ctx usage by exec functionsRafael G. Martins2017-03-036-33/+39
|
* make: implement binary lookup in a more portable wayRafael G. Martins2017-03-012-27/+20
|
* make: support freebsd properly. drop solarisRafael G. Martins2017-03-011-2/+21
|
* make: improved binary lookup logic.Rafael G. Martins2017-02-272-20/+44
| | | | | | | now it is possible to run blogc-make from git checkout without installing and without setting $PATH. It will also always try to load the binary from the same dir as blogc-make, that is likely the same version
* make: improved runserver thread handlingRafael G. Martins2017-02-271-24/+27
|
* make: keep backward compatibility with [copy_files]Rafael G. Martins2017-02-251-1/+6
|
* make: renamed [environment] to [global]Rafael G. Martins2017-02-251-8/+25
|
* *: updated copyrightRafael G. Martins2017-02-2559-59/+59
|
* make: parse runserver arguments from cli, instead of envRafael G. Martins2017-02-245-40/+93
| | | | this is some over-optimized parser, to celebrate #cloudbleed :D
* make: git-receiver: fixes to build on OS X. patch by @blackgearRafael G. Martins2017-02-183-5/+17
|
* 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.
* blogc-make: renamed copy_files settings to copyRafael G. Martins2017-02-145-24/+24
|
* blogc-make: renamed auto-defined vars to MAKE_*Rafael G. Martins2017-02-131-14/+14
|
* blogc-make: fixed dirname calls, to work on freebsdRafael G. Martins2017-02-131-10/+13
|
* blogc-make: use absolute path for runserver ruleRafael G. Martins2017-02-123-4/+4
|
* blogc-make: implemented automatic reloader for runserver ruleRafael G. Martins2017-02-124-6/+180
| | | | | this is not the best implementation possible, but it works for most use cases
* make: fixed cmd quoting. read runserver settings from envRafael G. Martins2017-02-071-11/+41
|