TODO (1043B)
1 - target OpenBSD and musl/linux remove workarounds for everything else 2 3 - KNF see style(9) on OpenBSD 4 5 - xembed support 6 7 - pledge(2) and unveil(2) for OpenBSD 8 - limit pledge(2) promises 9 - unix for example should be removed 10 11 - cleanup empty functions 12 13 - finish language cleanup 14 15 - sane/secure defaults: 16 - configure through config.h (for appropriate options) 17 - referer 18 - user agent 19 - cookies 20 - accept-lang/charset 21 22 - rendering: 23 - fix html margins: 24 - no forced margin by default 25 - configurable through config.h 26 - better font support 27 28 - links and links-g? 29 30 - get rid of _BSD_SOURCE macro 31 - completely if possible 32 - _POSIX_C_SOURCE or _XOPEN_SOURCE aren't as bad 33 34 - check if restrict is being used correctly 35 - its likely not even necessary 36 37 - other error mechanisms should be replaced with die() 38 39 - fix command-line flag handling 40 41 - remove DUMMY from http[,s].c and connect.c, changing to NULL breaks https 42 sites 43 44 - remove remaining terminal margin modifying code 45 46 - add the most interesting options to usage();