cosmopolitan/tool/viz
Justine Tunney 8c4cce043c Make improvements to redbean
The following Lua APIs have been added:

  - IsDaemon() → bool
  - ProgramPidPath(str)

The following Lua hooks have been added:

  - OnClientConnection(ip:int,port:int,serverip:int,serverport:int) → bool
  - OnProcessCreate(pid:int,ip:int,port:int,serverip:int,serverport:int)
  - OnProcessDestroy(pid:int)
  - OnServerStart()
  - OnServerStop()
  - OnWorkerStart()
  - OnWorkerStop()

redbean now does a better job at applying gzip on the fly from the local
filesystem, using a streaming chunked api with constant memory, which is
useful for doing things like serving a 4gb text file off NFS, and having
it start transmitting in milliseconds. redbean will also compute entropy
on the beginnings of files to determine if compression is profitable.

This change pays off technical debts relating to memory, such as relying
on exit() to free() allocations. That's now mostly fixed so it should be
easier now to spot memory leaks in malloc traces.

This change also fixes bugs and makes improvements to our SSL support.
Uniprocess mode failed handshakes are no longer an issue. Token Alpn is
offered so curl -v looks less weird. Hybrid SSL certificate loading is
now smarter about naming conflicts. Self-signed CA root anchors will no
longer be delivered to the client during the handshake.
2021-07-10 15:19:37 -07:00
..
lib Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
ascii2utf8.c Change license 2020-12-27 17:18:44 -08:00
basicidea.c Restore basicidea.c from gist 2021-07-02 08:09:56 -07:00
bd.c Add Braille Dump tool 2021-07-02 10:24:12 -07:00
bf.c Make examples folder somewhat more focused 2021-03-05 06:09:12 -08:00
bin2asm.c Change license 2020-12-27 17:18:44 -08:00
bing.c Change license 2020-12-27 17:18:44 -08:00
comma.c Change license 2020-12-27 17:18:44 -08:00
cpuid.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
deathstar.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
derasterize.c Perform some minor code cleanup 2021-04-06 12:46:52 -07:00
double2int.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
dumphexc.c Make improvements to redbean 2021-07-10 15:19:37 -07:00
fliphex.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
float2bin.c Pacify file locks on Windows 2021-06-12 00:01:55 -07:00
fold.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
generatematrix.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
generatetortureimage.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
int2float.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
invertblocks.c Change license 2020-12-27 17:18:44 -08:00
life.c Improve some unicode functions 2021-05-05 07:25:39 -07:00
magikarp.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
memzoom.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
ntmaster.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
od16.c Change license 2020-12-27 17:18:44 -08:00
printansi.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
printimage.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
printpeb.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
printpixel.c Change license 2020-12-27 17:18:44 -08:00
printvideo.c Perform minor fixups 2021-03-13 19:40:04 -08:00
rgbtoxterm.c Change license 2020-12-27 17:18:44 -08:00
tabalign.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
tailf.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
unbing.c Change license 2020-12-27 17:18:44 -08:00
unicode.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
upscalefloat.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
upscaleint.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
viz.mk Delete LIBC_CALLS_HEFTY 2021-02-02 22:17:53 -08:00
xterm256cubes.c Change license 2020-12-27 17:18:44 -08:00
xterm256effective.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
xterm256effective2.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
xterm256gradient.c Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
xterm256info.c Change license 2020-12-27 17:18:44 -08:00