Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | *: s/sb_/bc_/g | Rafael G. Martins | 2016-09-03 | 27 | -1332/+1332 |
| | |||||
* | fixed gitignore | Rafael G. Martins | 2016-09-03 | 1 | -9/+9 |
| | |||||
* | *: big code reorganization. | Rafael G. Martins | 2016-09-03 | 35 | -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 | ||||
* | build: version bumpv0.11.1 | Rafael G. Martins | 2016-07-18 | 1 | -0/+3 |
| | |||||
* | runserver: removed uneeded struct decl | Rafael G. Martins | 2016-07-07 | 1 | -3/+0 |
| | |||||
* | *: fixed includes | Rafael G. Martins | 2016-07-07 | 30 | -107/+35 |
| | | | | | this refactoring was done with the help of the 'include-what-you-use' program. if this breaks the build for you, please report! | ||||
* | template-parser: fixed block scope | Rafael G. Martins | 2016-07-07 | 2 | -28/+189 |
| | | | | | this patch blocks some usage that is obviously wrong and that nobody would want to use, but that should be explicitly blocked by the parser. | ||||
* | build: version bumpv0.11.0 | Rafael G. Martins | 2016-07-05 | 1 | -0/+3 |
| | |||||
* | file: added dedicated error type | Rafael G. Martins | 2016-07-05 | 3 | -2/+6 |
| | |||||
* | man: templates and sources must be valid utf-8 | Rafael G. Martins | 2016-07-05 | 3 | -1/+6 |
| | |||||
* | renderer: utils: fixed memory bugs found by clang static analyzer | Rafael G. Martins | 2016-07-05 | 4 | -9/+13 |
| | |||||
* | blogc: only -D arguments must be validated for UTF-8 | Rafael G. Martins | 2016-07-04 | 1 | -5/+5 |
| | |||||
* | utf8: fix test | Rafael G. Martins | 2016-07-04 | 1 | -1/+1 |
| | |||||
* | utf8: fix test data type | Rafael G. Martins | 2016-07-04 | 1 | -3/+3 |
| | |||||
* | utf8: skip BOM, if found | Rafael G. Martins | 2016-07-04 | 4 | -2/+48 |
| | |||||
* | blogc: added utf8 validation | Rafael G. Martins | 2016-07-03 | 7 | -0/+226 |
| | |||||
* | template-parser: minor fix | Rafael G. Martins | 2016-07-03 | 2 | -2/+2 |
| | |||||
* | Revert "error: improved parser error reporting" | Rafael G. Martins | 2016-07-03 | 5 | -135/+64 |
| | | | | | | this will not work properly for unicode chars This reverts commit 3968529cad2baec099acff5fee47b5fe24624b03. | ||||
* | error: improved parser error reporting | Rafael G. Martins | 2016-07-03 | 5 | -64/+135 |
| | | | | | | now it shows a visual indicator '^' pointing to the position of the error, in the line after the error message. should be helpful for users writing templates, if any. | ||||
* | template-parser: fixed error message | Rafael G. Martins | 2016-07-03 | 2 | -3/+3 |
| | |||||
* | template-parser: renderer: implemented 'else' support in templates | Rafael G. Martins | 2016-07-03 | 7 | -16/+421 |
| | | | | | | | | | yeah, this is stupid. after more than 320 commits and 26 releases, we finally support the 'else' statement in the template engine. I don't know if I'm dumb or what, but it took me that long to find a "simple" solution to this basic issue. yep, no more `{% ifdef FOO %}...{% endif %}{% ifndef FOO %}...{% endif %}` blocks. but seriously, who cares?! :/ | ||||
* | build: version bumpv0.10.2 | Rafael G. Martins | 2016-06-30 | 1 | -0/+3 |
| | |||||
* | build: do not build blogc-runserver for el6 | Rafael G. Martins | 2016-06-30 | 1 | -0/+10 |
| | |||||
* | content-parser: fixed tests | Rafael G. Martins | 2016-06-29 | 1 | -6/+6 |
| |