Commit Briefs

Russ Cox

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.


Russ Cox

time: print 1s of milliseconds


Dan Cross

9c, 9l: updates for macOS arm64.


Russ Cox

all: a few more #define tricks for AIX

This should make the AIX build finally work. Fixes #400.


Russ Cox

tmac: rename IM (italic manual) to MR (manual reference)

Suggested by G. Brandon Robinson.


Russ Cox

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.


Russ Cox

tmac: introduce real manual reference macro instead of overloading IR

The overloading of IR emits magic \X'...' sequences that turn into HTML manual links. But not all such IR invocations should be manual links; those had to be written to avoid the IR macro before. Worse, the \X'...' ending the IR causes troff to emit only a single space after a period. Defining a new IM macro for manual references fixes both problems. Fixes #441.


Dan Cross

touch: fix for OpenBSD.

This fixes https://github.com/9fans/plan9port/issues/436 This doesn't necessarily address the underlying issue: calling p9create with mode = OREAD should probably be allowed, but currently doesn't work on OpenBSD.


Russ Cox

fontsrv(4): update man page for size of fontsrv subfonts

Fixes #432.



Russ Cox

acme: add font control message


Russ Cox

draw: use int for Cacheinfo x field

With very large fonts (72pt or so) I see bad cache glyphs, and this fixes it. Not entirely sure exactly which code is overflowing, but something is.


Russ Cox

src/cmd: rm dformat

Unclear why it is here (wkj added it long ago). It has never been installed into $PLAN9/bin, so it's doubtful that anyone has ever used it. Arnold Robbins has an alternate version at https://github.com/arnoldrobbins/dformat. Fixes #421.