Commits


fix segfaults on OpenBSD: int cannot hold all the values a ptrdiff_t can take. Change-Id: I90806e6f2e46a94f38aa0a8a7038aa6599b448b3 Reviewed-on: https://plan9port-review.googlesource.com/2660 Reviewed-by: Russ Cox <rsc@swtch.com>


font: s/10/11 in ascent for unicode.7x13.font The subfont files were fixed in https://plan9port-review.googlesource.com/#/c/1351/ but the font file was not. Change-Id: I71ec13af9163f1b97b2fd499ff170a59c27ea7ec Reviewed-on: https://plan9port-review.googlesource.com/1490 Reviewed-by: Nigel Tao <nigeltao@golang.org> Reviewed-by: Russ Cox <rsc@google.com>


fontsrv: do not try to look up surrogate pairs Change-Id: Ib0a680e123ba02b41e1029e356543c24e8b4647e Reviewed-on: https://plan9port-review.googlesource.com/1430 Reviewed-by: Russ Cox <rsc@swtch.com>


auxstats: fix OpenBSD by using getifaddrs(3) instead of kvm(3) Change-Id: I6a096ba24809a402911c30406d384d16c03fc96c Reviewed-on: https://plan9port-review.googlesource.com/1410 Reviewed-by: Russ Cox <rsc@swtch.com>


devdraw: cocoa: set window title on main thread Change-Id: Ie818f9246f749a9d3293019a1e01be4ce7e368b9 Reviewed-on: https://plan9port-review.googlesource.com/1400 Reviewed-by: Russ Cox <rsc@swtch.com>


win: local \r cancellation Change-Id: I4becec052af58c5a52b777004867eb23023b9403 Reviewed-on: https://plan9port-review.googlesource.com/1391 Reviewed-by: Russ Cox <rsc@google.com>


9term, win: better \r handling (thanks, git) Change-Id: I75563b911b54d8957d2d004b9c27d0a2f8f043b3 Reviewed-on: https://plan9port-review.googlesource.com/1390 Reviewed-by: Russ Cox <rsc@google.com>


INSTALL: append /usr/X11R6/include and /usr/X11R6/include/freetype2 to X11 headers detection, so that enable fontsrv build on OpenBSD. Change-Id: I2f3f766339a9f8beed647dfbb19a588d1825732a Reviewed-on: https://plan9port-review.googlesource.com/1290 Reviewed-by: Russ Cox <rsc@google.com>


mk: avoid infinite loop when targets are repeated Fixes "mk -f /tmp/x.mk y x" or "mk -f /tmp/x.mk" where /tmp/x.mk is: x y x: f echo hi Change-Id: I7fa87dc4750c04fdba010b990c190722b432b333 Reviewed-on: https://plan9port-review.googlesource.com/1361 Reviewed-by: Russ Cox <rsc@swtch.com>


fontsrv: use 64 chars per subfont instead of 256 Makes loading faster, and makes larger sizes not too wide. Change-Id: I076c83fdb9577c1e596de45558f38ea93e3a2a31 Reviewed-on: https://plan9port-review.googlesource.com/1360 Reviewed-by: Russ Cox <rsc@swtch.com>


font/fixed: adjust the ascent for the 7x13 subfonts The ascent in these subfonts was 10 pixels but the images are using an 11 ascent, so fix all the ascents in the files. This is the global ascent, not for each character. This change makes them consistent with the usage in, for instance, the lucsans directory. Problem was found with some new Go code to handle these fonts, and we'd like to publish the updated files so the Go code can use them in a test. If preferable, of course, they could be put under some other name. Others may also want adjustment, but we can start here. Change-Id: I6c518604eed5b35db641dc537e4b5a2810ad1cf9 Reviewed-on: https://plan9port-review.googlesource.com/1351 Reviewed-by: Nigel Tao <nigeltao@golang.org> Reviewed-by: Russ Cox <rsc@swtch.com>


font/lucsans: fix reference to supsub.9 The euro files refer to the version in ../lucm/supsub.9 but unicode.9x24 was missing the ../lucm Change-Id: I1a3237a3ea5271426cc53243785229634a843146 Reviewed-on: https://plan9port-review.googlesource.com/1350 Reviewed-by: Russ Cox <rsc@swtch.com>


upas/nfs: search for stunnele3 in $PATH Do not hardcode stunnel directory path, just make sure that is installed in user '$PATH'. it is required for 'mailfs -t' TLS support, so printout an error string if it was not found. Tested with latest stunnel version 5.17 on OpenBSD and macosx. % mailfs -t imap.gmail.com ; echo $? 0 Change-Id: Icbd507c7efa81ef2aa7aed37bec5f639b37526cb Reviewed-on: https://plan9port-review.googlesource.com/1280 Reviewed-by: Russ Cox <rsc@swtch.com>


all: linux/arm64 port Really trivial port. Change-Id: Ib2e3ad48df555ca4bd9339ddf79a832be895bd95 Reviewed-on: https://plan9port-review.googlesource.com/1030 Reviewed-by: Russ Cox <rsc@google.com>


libregexp: fix copy-paste error Change-Id: I042d63ea62e2abd599bf9767acb3374bb39ddc7d Reviewed-on: https://plan9port-review.googlesource.com/1050 Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Russ Cox <rsc@google.com>