aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* blogc: add cli option to read list of source files from stdinRafael G. Martins2016-10-152-5/+43
| | | | | | | | | | this patch adds `-i` option to command line. it will instruct blogc to read stdin and parse it as a file where each source file is a line and empty lines and lines starting with `#` are ignored. this patch makes it possible to use blogc to build big blogs with lots of pages, that would hit the operating system max command line length when calling blogc to build pages.
* runserver: blogc/loader: improve strto*l handlingRafael G. Martins2016-10-143-7/+34
|
* build: build debug.c into libblogcRafael G. Martins2016-10-131-1/+1
|
* renderer: fixed strtol error detection bug in freebsdRafael G. Martins2016-10-131-6/+5
| | | | | it seems that error detection for strtol using errno is a glibc extension.
* build: disable all tests if some dep not foundRafael G. Martins2016-10-131-5/+21
|
* build: if tests not explicitly requested, avoid errors if deps not foundRafael G. Martins2016-10-122-5/+5
|
* build: use bash, but get it properly during build timeRafael G. Martins2016-10-129-18/+30
| | | | hardcoding it for travis, as bash is always installed there.
* build: man: tests: do not use bashRafael G. Martins2016-10-127-10/+10
| | | | tested with busybox' ash, that is not exactly posix.
* build: fix test buildingRafael G. Martins2016-10-122-1/+5
|
* build: run tests while building rpmRafael G. Martins2016-10-112-1/+6
|
* build: tee should not be git-receiver dep, will be used by more testsRafael G. Martins2016-10-111-10/+14
|
* build: check for test dependencies properlyRafael G. Martins2016-10-112-33/+56
|
* tests: git-receiver: avoid removing directories for safetyRafael G. Martins2016-10-113-20/+15
|
* git-receiver: added tests for shell, fixed bugRafael G. Martins2016-10-113-48/+112
|
* git-receiver: fix previous patch, againRafael G. Martins2016-10-111-2/+2
|
* git-receiver: fix previous patchRafael G. Martins2016-10-112-3/+4
|
* git-receiver: actually use detected make/gmake implementationRafael G. Martins2016-10-111-1/+1
|
* git-receiver: detect if make/gmake is availableRafael G. Martins2016-10-111-0/+15
|
* git-receiver: added test for post-receive. fixed leakRafael G. Martins2016-10-113-0/+150
|
* trying to fix tests on travis againRafael G. Martins2016-10-101-2/+2
|
* Revert "trying to fix tests on travis"Rafael G. Martins2016-10-102-6/+6
| | | | This reverts commit 84dbde7d04a04434721ec9d2965af6d946713e5d.
* trying to fix tests on travisRafael G. Martins2016-10-102-6/+6
|
* removed uneeded error code. export LC_ALL=C in test scriptRafael G. Martins2016-10-102-3/+2
|
* git-receiver: added support to get mirror url from config fileRafael G. Martins2016-10-109-22/+379
| | | | this commit also includes some "integration test" in shell script
* tests: added missing include to fix warningRafael G. Martins2016-10-071-0/+1
|
* *: fixed includesRafael G. Martins2016-10-0712-24/+4
|
* git-receiver: splitted/reimplemented and tested shell command parserRafael G. Martins2016-10-077-56/+448
|
* git-receiver: splitted and tested pre-receive input parserRafael G. Martins2016-10-049-81/+341
|
* git-receiver: splitted codeRafael G. Martins2016-09-298-475/+585
|
* runserver: always reply with content-lengthRafael G. Martins2016-09-271-2/+4
|
* runserver: can be built for el6 againRafael G. Martins2016-09-251-10/+0
|
* runserver: implemented a thread pool and fixed few bugsRafael G. Martins2016-09-255-20/+85
|
* runserver: silent a few warningsRafael G. Martins2016-09-251-4/+12
|
* cleanup libevent depRafael G. Martins2016-09-252-3/+0
|
* runserver: reimplemented http server without libeventRafael G. Martins2016-09-2518-326/+1399
| | | | | | | | | yeah, this patch implements a "complete" http server for static files. It is not the best code possible, and would be easily DDoS'able if used in production, as it spawns a thread for each request, without limiting. I'm sickish and this is the best code I can deliver now. At least it works! ;)
* typoRafael G. Martins2016-09-221-1/+1
|
* runserver: removed libmagic dependencyRafael G. Martins2016-09-226-84/+119
|
* error: added prefix support to bc_error_printRafael G. Martins2016-09-164-5/+8
|
* blogc: common: moved "file" to commonRafael G. Martins2016-09-097-136/+132
|
* file: do not call fprintf directlyRafael G. Martins2016-09-094-41/+15
|
* s/blogc_utf8_/bc_utf8_/gRafael G. Martins2016-09-095-23/+23
|
* common: error: do not prepend "blogc: " when printingRafael G. Martins2016-09-091-5/+8
|
* common: added config-parserRafael G. Martins2016-09-096-0/+722
|
* common: fix function prototypesRafael G. Martins2016-09-092-7/+7
|
* *: centralize error handlingRafael G. Martins2016-09-0922-87/+44
|
* common: rename macrosRafael G. Martins2016-09-092-21/+21
|
* *: moved error handling to src/common/Rafael G. Martins2016-09-0325-466/+512
|
* *: s/sb_/bc_/gRafael G. Martins2016-09-0327-1332/+1332
|
* fixed gitignoreRafael G. Martins2016-09-031-9/+9
|
* *: big code reorganization.Rafael G. Martins2016-09-0335-140/+135
| | | | | | | - source and tests are now splitted by target - utils lib is now called common still pending move error.c from blogc to common