aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* git-receiver: added tests for shell, fixed bugRafael G. Martins2016-10-111-48/+38
|
* git-receiver: fix previous patch, againRafael G. Martins2016-10-111-2/+2
|
* git-receiver: fix previous patchRafael G. Martins2016-10-111-2/+3
|
* 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-111-0/+1
|
* trying to fix tests on travis againRafael G. Martins2016-10-101-2/+2
|
* Revert "trying to fix tests on travis"Rafael G. Martins2016-10-101-2/+2
| | | | This reverts commit 84dbde7d04a04434721ec9d2965af6d946713e5d.
* trying to fix tests on travisRafael G. Martins2016-10-101-2/+2
|
* 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-103-9/+134
| | | | this commit also includes some "integration test" in shell script
* *: fixed includesRafael G. Martins2016-10-0712-24/+4
|
* git-receiver: splitted/reimplemented and tested shell command parserRafael G. Martins2016-10-074-56/+182
|
* git-receiver: splitted and tested pre-receive input parserRafael G. Martins2016-10-045-81/+138
|
* git-receiver: splitted codeRafael G. Martins2016-09-297-475/+564
|
* runserver: always reply with content-lengthRafael G. Martins2016-09-271-2/+4
|
* 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
|
* runserver: reimplemented http server without libeventRafael G. Martins2016-09-2510-320/+579
| | | | | | | | | 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-221-71/+116
|
* error: added prefix support to bc_error_printRafael G. Martins2016-09-164-5/+8
|
* blogc: common: moved "file" to commonRafael G. Martins2016-09-095-21/+18
|
* file: do not call fprintf directlyRafael G. Martins2016-09-093-19/+7
|
* s/blogc_utf8_/bc_utf8_/gRafael G. Martins2016-09-094-10/+10
|
* 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-0916-80/+44
|
* common: rename macrosRafael G. Martins2016-09-091-3/+3
|
* *: moved error handling to src/common/Rafael G. Martins2016-09-0317-177/+217
|
* *: s/sb_/bc_/gRafael G. Martins2016-09-0321-504/+504
|
* *: big code reorganization.Rafael G. Martins2016-09-0325-19/+19
| | | | | | | - source and tests are now splitted by target - utils lib is now called common still pending move error.c from blogc to common
* runserver: removed uneeded struct declRafael G. Martins2016-07-071-3/+0
|
* *: fixed includesRafael G. Martins2016-07-0720-67/+25
| | | | | 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 scopeRafael G. Martins2016-07-071-22/+41
| | | | | 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.
* file: added dedicated error typeRafael G. Martins2016-07-053-2/+6
|
* renderer: utils: fixed memory bugs found by clang static analyzerRafael G. Martins2016-07-052-9/+9
|
* blogc: only -D arguments must be validated for UTF-8Rafael G. Martins2016-07-041-5/+5
|
* utf8: skip BOM, if foundRafael G. Martins2016-07-043-1/+27
|
* blogc: added utf8 validationRafael G. Martins2016-07-034-0/+122
|
* template-parser: minor fixRafael G. Martins2016-07-031-1/+1
|
* Revert "error: improved parser error reporting"Rafael G. Martins2016-07-032-3/+3
| | | | | | this will not work properly for unicode chars This reverts commit 3968529cad2baec099acff5fee47b5fe24624b03.
* error: improved parser error reportingRafael G. Martins2016-07-032-3/+3
| | | | | | 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 messageRafael G. Martins2016-07-031-2/+2
|
* template-parser: renderer: implemented 'else' support in templatesRafael G. Martins2016-07-034-4/+80
| | | | | | | | | 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?! :/
* content-parser: rewrote inline parser.Rafael G. Martins2016-06-293-270/+489
| | | | parser is stricter now, and won't produce invalid HTML anymore.
* debug: move debug functions to separated fileRafael G. Martins2016-06-255-68/+101
|
* template-parser: added some ast debugRafael G. Martins2016-06-223-2/+76
|