Commit Graph

24 Commits

Author SHA1 Message Date
xfnw 516dd498c2 remove extra null byte
i have no clue why i put that there
2022-03-14 19:45:47 -04:00
xfnw 3a2abc58e8 support ipv6 2022-02-18 20:16:14 -05:00
xfnw 527cd1c5f3 remove unnessesary whitespace 2022-01-29 21:32:07 -05:00
xfnw 7d31364977 fix compiling on musl 2022-01-16 11:52:22 -05:00
xfnw 548abe4349 pad color output with zeros to be at least 6 letters long 2021-12-03 08:59:54 -05:00
xfnw 0df4eebd91 ignore SIGPIPE
this prevents a crash on clients improperly closing sockets
2021-11-16 16:16:57 -05:00
xfnw d968844f65 use seccomp mode 1 for unreasonable security 2021-09-06 21:50:45 -04:00
xfnw 7a8de94092 attempt to wait for newline
previously, if a line was split between TCP packets it would be
truncated
2021-09-03 19:20:39 -04:00
xfnw 0893d2dd3a fix the memory leak by not using calloc
yay its slightly faster now too

thanks to rber and AmyMalik on libera dot chat :3
2021-09-03 15:23:55 -04:00
xfnw 4de517562f add a license 2021-08-24 12:49:43 -04:00
xfnw 96a074bb4d check if first charactor is \0, its faster than strlen 2021-08-21 15:18:37 -04:00
xfnw d3e9803cf2 check if color specified before conversion to hex
this allows black to be written instead of returning the pixel value
2021-08-21 15:12:00 -04:00
xfnw 6b62d31dc5 add timeout to close inactive connections 2021-08-19 18:23:02 -04:00
owen 2aa468369f
change wording 2021-08-19 17:56:39 -04:00
owen e5cc0c7ff5
add caveats to README 2021-08-19 17:56:04 -04:00
xfnw 1d84d1eb62 make sure client_message is null terminated, prevents a buffer overflow 2021-08-19 17:16:02 -04:00
xfnw 876a56e216 fix segmentation fault from not mapping enough 2021-08-19 17:15:47 -04:00
xfnw 4b6b4d6f9d framebuffer colors seem to be in a different order than documented? 2021-08-19 15:08:40 -04:00
xfnw e2713e00e0 follow line_length instead of assuming the line length is the width
if you dont, some monitors go streeeeech lol
2021-08-19 13:29:38 -04:00
xfnw a0cbc30959 it sorta works i guess lol 2021-08-19 13:18:10 -04:00
xfnw 33bb7de0d0 whee parse the PX 2021-08-19 12:28:40 -04:00
xfnw 44bd07ea06 some command parsing 2021-08-18 23:32:05 -04:00
xfnw 449af0889c gitignore binaries 2021-08-18 21:34:47 -04:00
xfnw 2b9a557346 init 2021-08-18 21:33:29 -04:00