aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
Commit message (Collapse)AuthorAgeFilesLines
* common: bc_stdin_read() should set read lengthRafael G. Martins2020-05-302-2/+8
|
* common: utils: added bc_slist_append_listRafael G. Martins2020-05-292-0/+17
|
* common: config-parser: use const for trie dataRafael G. Martins2019-09-091-3/+3
|
* common: prevent stdarg errors when format is NULLRafael G. Martins2019-09-092-0/+10
|
* Revert "common: added bc_slist_remove"Rafael G. Martins2019-05-012-20/+0
| | | | This reverts commit 0cfb3dad5de015b658b0917c43fabe420781f39f.
* common: added bc_slist_removeRafael G. Martins2019-04-282-0/+20
|
* common: added bc_slist_sortRafael G. Martins2019-04-282-0/+62
|
* make: do not follow symlinks when resolving blogcfile pathRafael G. Martins2019-04-252-0/+7
|
* blogc: template: allow whitespaces in template tags, not just spacesRafael G. Martins2019-02-092-0/+9
|
* blogc: added "inside docker" template variableRafael G. Martins2019-02-041-1/+1
|
* *: update copyrightRafael G. Martins2019-01-1513-13/+13
|
* *: update copyrightRafael G. Martins2018-10-1413-13/+13
|
* common: added bc_str_to_boolRafael G. Martins2018-07-252-0/+27
|
* common: config-parser: fix empty values supportRafael G. Martins2018-07-231-0/+11
|
* make: git-receiver: fixed conversion from wait status to status codeRafael G. Martins2018-05-132-0/+53
|
* blogc: common: replace unsigned int with size_tRafael G. Martins2018-03-202-3/+3
|
* 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.
* *: 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