Andrew Pamment
800e13009f
Fix unending RE:re:re: etc
2018-10-12 17:25:30 +10:00
Andrew Pamment
40c52836f9
Fix a couple of bugs
2018-10-12 11:11:44 +10:00
Dan Cross
37bcd31ff2
Clean up some of the page generation logic in www_msgs.c.
...
More application of stralloc. Needs to be tested. :-)
Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-12 10:13:12 +10:00
Dan Cross
cf766e3e67
Trivial clang-format changes
...
Changes from a clang-format run.
Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-12 10:12:45 +10:00
Dan Cross
6d30116ed9
Import strlcpy/strlcat from OpenBSD, start using them.
...
strcpy()/strcat() are inherently dangerous, even when
used with great care. strlcpy() and strlcat() are
much safer replacements, and are available from OpenBSD
under a very liberal license. Import them and start
using them.
Between pointer vectors, malloz, stralloc and now
strlcpy/strlcat, Magicka has much safer, simpler and
more performant infrastructure for dealing with
strings and dynamic collections of various kinds.
Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-11 13:58:49 +10:00
Dan Cross
77bf763939
Start using stralloc.
...
Clean up a few web page generation functions.
Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-11 13:58:03 +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
732732a728
close iconv
2018-05-31 19:13:43 +10:00
Andrew Pamment
0f6af49071
move next and prev around
2018-05-31 14:00:18 +10:00
Andrew Pamment
a37329ff21
Fix message flagging in www
2018-05-30 16:21:55 +10:00
Andrew Pamment
ce888d9ad1
maybe this time?
2018-05-25 22:44:44 +10:00
Andrew Pamment
1ec2bc02bd
more messing with word wrap
2018-05-25 22:42:35 +10:00
Andrew Pamment
0ebdbe71b4
Messing with wordwrap
2018-05-25 22:38:11 +10:00
Andrew Pamment
759b5a3adb
fix type
2018-05-25 22:30:54 +10:00
Andrew Pamment
23fb3df703
update to look prettier
2018-05-25 22:29:09 +10:00
Andrew Pamment
fb90c8b397
updated to include bbs name if known from nodelist
2018-05-25 22:26:22 +10:00
Andrew Pamment
9e816f05f6
Restore accidently deleted date from www messages
2018-05-25 21:39:29 +10:00
Andrew Pamment
b6f328ffa3
Fix for iconv message
2018-05-23 19:45:55 +10:00
Andrew Pamment
e8c7b0cfec
Merge branch 'maginet' into v0.11-alpha
2018-05-23 17:24:29 +10:00
Andrew Pamment
11fe200797
use iconv in www msgs
2018-05-23 17:21:53 +10:00
Andrew Pamment
42fdc30972
maginet
2018-05-22 21:02:22 +10:00
Andrew Pamment
00703ab5e0
implement flagging on www
2018-05-22 12:20:38 +10:00
Andrew Pamment
798bec221d
Message Flagging
2018-05-22 08:55:44 +10:00
Andrew Pamment
ef80f27a6a
fix bug
2018-04-20 16:23:18 +10:00
Andrew Pamment
08c01c58c8
strip ansi codes from www reply
2018-04-20 16:20:05 +10:00
Andrew Pamment
430bde78cd
missing last letter
2018-02-28 09:58:07 +10:00
Andrew Pamment
c6b8062782
round and round we go
2018-02-28 09:46:18 +10:00
Andrew Pamment
788e0a9425
fiddle fiddle fiddle
2018-02-28 09:42:10 +10:00
Andrew Pamment
893931e01c
going to get it eventually.... maybe.
2018-02-28 09:40:07 +10:00
Andrew Pamment
aa68a8f8f6
messing with wordwrap
2018-02-28 09:33:40 +10:00
Andrew Pamment
da5b512c5f
fiddle with word wrap
2018-02-28 09:26:24 +10:00
Andrew Pamment
dd428487fa
fix typo
2018-02-28 09:19:55 +10:00
Andrew Pamment
c5c5faf772
fiddling with wordwrap
2018-02-28 09:17:02 +10:00
Andrew Pamment
d087e13f61
experiments with word wrap
2018-02-28 09:10:27 +10:00
Andrew Pamment
735fe035d7
going to get it right eventually...
2018-02-27 22:44:31 +10:00
Andrew Pamment
6d5ef94796
more tweaking word wrap
2018-02-27 22:42:15 +10:00
Andrew Pamment
77303fc475
fix mistake in wordwrap
2018-02-27 22:38:37 +10:00
Andrew Pamment
2a0ef93fb2
more fiddling with wordwrap
2018-02-27 22:36:24 +10:00
Andrew Pamment
962e4cc67f
more work on word wrap
2018-02-27 22:28:28 +10:00
Andrew Pamment
f5b136ae21
wordwrap sucks
2018-02-27 21:59:04 +10:00
Andrew Pamment
c52c3c2a9b
try to fix bug
2018-02-27 21:50:22 +10:00
Andrew Pamment
29bdc52efa
stop crashing!
2018-02-27 21:40:58 +10:00
Andrew Pamment
9dd95d9181
woops
2018-02-27 21:38:56 +10:00
Andrew Pamment
50d2bab142
fiddling with word wrap
2018-02-27 21:36:32 +10:00
Andrew Pamment
9390dedc82
Add personal mail scan
2018-02-18 13:51:39 +10:00
Andrew Pamment
15ca5a41dc
web file bases
2018-02-15 14:43:37 +10:00
Andrew Pamment
66da53eb85
lots of leaks fixed
2018-02-10 16:01:30 +10:00
Andrew Pamment
4b5b7a14a2
initialize linecount
2018-02-05 19:48:21 +10:00
Andrew Pamment
086f6427ce
possibly fix another bug
2018-02-05 16:23:33 +10:00