aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
Commit message (Collapse)AuthorAgeFilesLines
* *: updated copyrightRafael G. Martins2017-02-2512-12/+12
|
* config-parser: only allow double-quoted valuesRafael G. Martins2017-01-011-35/+0
|
* config-parser: allow quoted valuesRafael G. Martins2017-01-011-14/+138
|
* make: implemented a build tool for blogcRafael G. Martins2016-12-272-0/+12
| | | | | | | | | | | | | | | | | so, this is basically what happens when you don't have anything better to do in the christmas weekend. most of this code was written in the last 2 or 3 days. i'd like to thank the chivas brothers, the weather and my psychological problems for this achievement. on a serious note, this tool still needs a man page, more tests, and the aws lambda function should be adapted to use it instead of (or together with) make/busybox. also, while talking about aws lambda, this tool can be nicely embedded into the blogc binary, to produce a single "small" static binary for usage in lambda ;)
* config-parser: bc_config_get_list should return array instead of listRafael G. Martins2016-12-252-5/+12
|
* config-parser: added support to parse section as list of linesRafael G. Martins2016-12-252-11/+106
|
* blogc: common: git-receiver: improved error handlingRafael G. Martins2016-12-231-17/+13
|
* git-receiver: moved shell quote function to commonRafael G. Martins2016-12-212-0/+29
|
* config-parser: improved error reporting, added bc_config_get_with_defaultRafael G. Martins2016-12-202-6/+19
|
* common/config-parser: minor fixRafael G. Martins2016-12-031-1/+1
|
* common/error: minor fixRafael G. Martins2016-12-021-1/+1
|
* removed uneeded error code. export LC_ALL=C in test scriptRafael G. Martins2016-10-101-3/+0
|
* git-receiver: added support to get mirror url from config fileRafael G. Martins2016-10-101-0/+3
| | | | this commit also includes some "integration test" in shell script
* *: fixed includesRafael G. Martins2016-10-074-5/+3
|
* git-receiver: splitted and tested pre-receive input parserRafael G. Martins2016-10-042-0/+37
|
* runserver: reimplemented http server without libeventRafael G. Martins2016-09-252-4/+5
| | | | | | | | | 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! ;)
* error: added prefix support to bc_error_printRafael G. Martins2016-09-162-2/+5
|
* blogc: common: moved "file" to commonRafael G. Martins2016-09-094-4/+90
|
* s/blogc_utf8_/bc_utf8_/gRafael G. Martins2016-09-092-7/+7
|
* common: error: do not prepend "blogc: " when printingRafael G. Martins2016-09-091-5/+8
|
* common: added config-parserRafael G. Martins2016-09-093-0/+267
|
* common: fix function prototypesRafael G. Martins2016-09-092-7/+7
|
* *: centralize error handlingRafael G. Martins2016-09-092-1/+41
|
* common: rename macrosRafael G. Martins2016-09-091-3/+3
|
* *: moved error handling to src/common/Rafael G. Martins2016-09-032-0/+137
|
* *: s/sb_/bc_/gRafael G. Martins2016-09-034-154/+154
|
* *: big code reorganization.Rafael G. Martins2016-09-034-0/+870
- source and tests are now splitted by target - utils lib is now called common still pending move error.c from blogc to common