Andrew Pamment
d047a1205b
Fix rendering of www blog
2018-10-21 11:14:22 +10:00
Dan Cross
0a91165b07
Clean up blog code (particularly the www side).
...
Make `blog_load` return a ptr_vector which is
consumed by the code that uses blog entries.
Greatly clean up WWW page generation by using
stralloc and strftime and the ptr_vector
infrastructure.
Needs to be tested. :-)
Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-12 10:13:04 +10:00
Dan Cross
fa014f3a88
Simplify dynamic memory management.
...
Add utility routines and use them to simplify the
use of dynamically allocated memory.
Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-10 10:25:29 +10:00
Dan Cross
d6826137dd
clang-format
...
Fix a bunch of trivial formatting issues by running
`clang-format`.
Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-09 15:48:42 +10:00
Andrew Pamment
50d2bab142
fiddling with word wrap
2018-02-27 21:36:32 +10:00
Andrew Pamment
4aa2c4f6c1
fix hour being negative
2018-02-27 20:14:01 +10:00
Andrew Pamment
27de6593b1
forgot to free blog entries
2018-02-27 18:57:10 +10:00
Andrew Pamment
396f5c2bb9
Add a system blog
2018-02-27 18:26:32 +10:00