Commits


wintext: use rc not bash


9term: use openpty on NetBSD Fixes #376.


devdraw: add /usr/X11R7 for NetBSD Fixes #362.


libthread: simplify Now that everything uses pthreads and pthreadperthread, can delete various conditionals, all the custom context code, and so on. Also update documents. Fixes #355.


libthread: make pthreadperthread the default


libthread: fix pthreadperthread bugs


libthread: add threadmaybackground Programs that want to background themselves now need to define threadmaybackground returning 1. This avoids a confusing (to people and debuggers) extra parent process for all the threaded programs that will never want to background themselves.


libthread: delete NetBSD special case I added a direct call from thread.c to pthread.c's _threadpthreadstart in May, and no one has complained about NetBSD being broken. So probably no one is using this on NetBSD at all. Make pthread the only option.


9c: use -fcommon for clang Fixes #469.


libthread: fix use after free of first thread in each proc This was causing sporadic but frequent crashes at startup in 9pserve on the new M1 Macs, correctly diagnosing a use-after-free.


time: print 1s of milliseconds


9c, 9l: updates for macOS arm64.


all: a few more #define tricks for AIX This should make the AIX build finally work. Fixes #400.


tmac: rename IM (italic manual) to MR (manual reference) Suggested by G. Brandon Robinson.


fontsrv: fix handling of colored glyphs (emoji) Drawing as white on black to produce a mask only works if the white on black is the inversion of black on white. Emoji that force use of specific colors don't respect that. Draw black on white and invert to mask separately.