Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | blogc: added more parenthesis to make gcc happy. trying to fix travis | Rafael G. Martins | 2016-10-15 | 2 | -1/+3 | |
| | ||||||
* | blogc: we still need to strip newlines from end of line | Rafael G. Martins | 2016-10-15 | 1 | -1/+8 | |
| | ||||||
* | blogc: do not strip spaces, they are valid in file names | Rafael G. Martins | 2016-10-15 | 1 | -4/+3 | |
| | ||||||
* | blogc: add cli option to read list of source files from stdin | Rafael G. Martins | 2016-10-15 | 2 | -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 handling | Rafael G. Martins | 2016-10-14 | 3 | -7/+34 | |
| | ||||||
* | build: build debug.c into libblogc | Rafael G. Martins | 2016-10-13 | 1 | -1/+1 | |
| | ||||||
* | renderer: fixed strtol error detection bug in freebsd | Rafael G. Martins | 2016-10-13 | 1 | -6/+5 | |
| | | | | | it seems that error detection for strtol using errno is a glibc extension. | |||||
* | build: disable all tests if some dep not found | Rafael G. Martins | 2016-10-13 | 1 | -5/+21 | |
| | ||||||
* | build: if tests not explicitly requested, avoid errors if deps not found | Rafael G. Martins | 2016-10-12 | 2 | -5/+5 | |
| | ||||||
* | build: use bash, but get it properly during build time | Rafael G. Martins | 2016-10-12 | 9 | -18/+30 | |
| | | | | hardcoding it for travis, as bash is always installed there. | |||||
* | build: man: tests: do not use bash | Rafael G. Martins | 2016-10-12 | 7 | -10/+10 | |
| | | | | tested with busybox' ash, that is not exactly posix. | |||||
* | build: fix test building | Rafael G. Martins | 2016-10-12 | 2 | -1/+5 | |
| | ||||||
* | build: run tests while building rpm | Rafael G. Martins | 2016-10-11 | 2 | -1/+6 | |
| | ||||||
* | build: tee should not be git-receiver dep, will be used by more tests | Rafael G. Martins | 2016-10-11 | 1 | -10/+14 | |
| | ||||||
* | build: check for test dependencies properly | Rafael G. Martins | 2016-10-11 | 2 | -33/+56 | |
| | ||||||
* | tests: git-receiver: avoid removing directories for safety | Rafael G. Martins | 2016-10-11 | 3 | -20/+15 | |
| | ||||||
* | git-receiver: added tests for shell, fixed bug | Rafael G. Martins | 2016-10-11 | 3 | -48/+112 | |
| | ||||||
* | git-receiver: fix previous patch, again | Rafael G. Martins | 2016-10-11 | 1 | -2/+2 | |
| | ||||||
* | git-receiver: fix previous patch | Rafael G. Martins | 2016-10-11 | 2 | -3/+4 | |
| | ||||||
* | git-receiver: actually use detected make/gmake implementation | Rafael G. Martins | 2016-10-11 | 1 | -1/+1 | |
| | ||||||
* | git-receiver: detect if make/gmake is available | Rafael G. Martins | 2016-10-11 | 1 | -0/+15 | |
| | ||||||
* | git-receiver: added test for post-receive. fixed leak | Rafael G. Martins | 2016-10-11 | 3 | -0/+150 | |
| | ||||||
* | trying to fix tests on travis again | Rafael G. Martins | 2016-10-10 | 1 | -2/+2 | |
| | ||||||
* | Revert "trying to fix tests on travis" | Rafael G. Martins | 2016-10-10 | 2 | -6/+6 | |
| | | | | This reverts commit 84dbde7d04a04434721ec9d2965af6d946713e5d. | |||||
* | trying to fix tests on travis | Rafael G. Martins | 2016-10-10 | 2 | -6/+6 | |
| | ||||||
* | removed uneeded error code. export LC_ALL=C in test script | Rafael G. Martins | 2016-10-10 | 2 | -3/+2 | |
| | ||||||
* | git-receiver: added support to get mirror url from config file | Rafael G. Martins | 2016-10-10 | 9 | -22/+379 | |
| | | | | this commit also includes some "integration test" in shell script | |||||
* | tests: added missing include to fix warning | Rafael G. Martins | 2016-10-07 | 1 | -0/+1 | |
| | ||||||
* | *: fixed includes | Rafael G. Martins | 2016-10-07 | 12 | -24/+4 | |
| | ||||||
* | git-receiver: splitted/reimplemented and tested shell command parser | Rafael G. Martins | 2016-10-07 | 7 | -56/+448 | |
| | ||||||
* | git-receiver: splitted and tested pre-receive input parser | Rafael G. Martins | 2016-10-04 | 9 | -81/+341 | |
| | ||||||
* | git-receiver: splitted code | Rafael G. Martins | 2016-09-29 | 8 | -475/+585 | |
| | ||||||
* | runserver: always reply with content-length | Rafael G. Martins | 2016-09-27 | 1 | -2/+4 | |
| | ||||||
* | runserver: can be built for el6 again | Rafael G. Martins | 2016-09-25 | 1 | -10/+0 | |
| | ||||||
* | runserver: implemented a thread pool and fixed few bugs | Rafael G. Martins | 2016-09-25 | 5 | -20/+85 | |
| | ||||||
* | runserver: silent a few warnings | Rafael G. Martins | 2016-09-25 | 1 | -4/+12 | |
| | ||||||
* | cleanup libevent dep | Rafael G. Martins | 2016-09-25 | 2 | -3/+0 | |
| | ||||||
* | runserver: reimplemented http server without libevent | Rafael G. Martins | 2016-09-25 | 18 | -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! ;) | |||||
* | typo | Rafael G. Martins | 2016-09-22 | 1 | -1/+1 | |
| | ||||||
* | runserver: removed libmagic dependency | Rafael G. Martins | 2016-09-22 | 6 | -84/+119 | |
| | ||||||
* | error: added prefix support to bc_error_print | Rafael G. Martins | 2016-09-16 | 4 | -5/+8 | |
| | ||||||
* | blogc: common: moved "file" to common | Rafael G. Martins | 2016-09-09 | 7 | -136/+132 | |
| | ||||||
* | file: do not call fprintf directly | Rafael G. Martins | 2016-09-09 | 4 | -41/+15 | |
| | ||||||
* | s/blogc_utf8_/bc_utf8_/g | Rafael G. Martins | 2016-09-09 | 5 | -23/+23 | |
| | ||||||
* | common: error: do not prepend "blogc: " when printing | Rafael G. Martins | 2016-09-09 | 1 | -5/+8 | |
| | ||||||
* | common: added config-parser | Rafael G. Martins | 2016-09-09 | 6 | -0/+722 | |
| | ||||||
* | common: fix function prototypes | Rafael G. Martins | 2016-09-09 | 2 | -7/+7 | |
| | ||||||
* | *: centralize error handling | Rafael G. Martins | 2016-09-09 | 22 | -87/+44 | |
| | ||||||
* | common: rename macros | Rafael G. Martins | 2016-09-09 | 2 | -21/+21 | |
| | ||||||
* | *: moved error handling to src/common/ | Rafael G. Martins | 2016-09-03 | 25 | -466/+512 | |
| |