Dan Cross
e8eef519ed
Whitespace cleanups: trailing spaces.
...
Remove them.
Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-31 09:31:14 +10:00
Andrew Pamment
d4e80de397
Convert www_files to tree style
2018-10-22 10:47:20 +10:00
Andrew Pamment
947d4ab37f
Rewrite aha to work with new tree system ready for messages and files
2018-10-21 23:05:17 +10:00
Dan Cross
32d1c70622
Mostly trivial whitespace cleanups.
...
Clang-format and removing whitespace at the ends of lines.
Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-17 13:11:38 +10:00
Dan Cross
aacb1000c8
Arrays to vectors.
...
This is the big push to get rid of the last of the
unadorned dynamic arrays. Use ptr_vectors for things
like mail conferences etc.
Lots of incidental cleanup along the way.
Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-17 13:11:25 +10:00
Dan Cross
9bfc4ffbe5
More string cleanups.
...
In bluewave.c mostly. There are a few places left where sprintf()
is called directly; these should be recast in terms of a stralloc
or possibly strlcat.
One small whitespace change in www_files.c.
Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-15 10:20:20 +10:00
Andrew Pamment
e61ffe98c3
fix file size on web
2018-10-14 15:32:42 +10:00
Dan Cross
267dbf15b8
Clean up string logic in www_files.c.
...
Use stralloc() etc here.
Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-14 15:28:16 +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
ff35d9bec9
fix for www hashes on rpi
2018-05-15 16:44:39 +10:00
Andrew Pamment
b9dbf0f21f
add extra byte for null terminator
2018-05-15 12:58:58 +10:00
Andrew Pamment
5100a21163
attempt to fix www_downloads
2018-05-15 12:51:09 +10:00
Andrew Pamment
a3476238d4
Fix tinys crashes.
2018-02-22 21:27:50 +10:00
Andrew Pamment
836d30a46c
Some tweaks to file areas
2018-02-21 09:59:26 +10:00
Andrew Pamment
15ca5a41dc
web file bases
2018-02-15 14:43:37 +10:00
Andrew Pamment
aa0c3234ae
update documentation
2018-02-09 16:32:34 +10:00
Andrew Pamment
ca5736a000
fix expiry on wwwhashes
2018-02-09 16:04:44 +10:00
Andrew Pamment
84a3d271df
first attempt at www downlods WIP
2018-01-23 20:57:58 +10:00