Commit Briefs
portable: update README
Mention which operating systems are supported.
portable: improve panelw detection
Rather than making certain checks for panelw dependant on the underlying operating system, actually use pkg-config's detection mechanism properly. This makes the checking for panelw much easier and broader for other OSes which might have either panelw or gnupanelw.
portable: support NetBSD
This adds support for NetBSD, using the following external dependencies: libuuid ncursesw There is no CI (yet) as enabling that on Cirrus-CI requires some work, so for now, these builds will be run manually before releases. The test suite will also need tweaking to be fully supported but the key tests are supported for now.
portable: CI: add MacOS definition
Enable CI builds for MaxcOS on CirrusCI.
portable: include support for MacOS
This adds support for MacOS (Monteray onward, although should work on older MacOSes). The BSD wrapper for poll/ppoll has been lifted from the work the folks over at OpenSSH have done -- thanks!
portable: make UUID includes generic
Move the detection of UUID header files to be included portably. This will have no functional effect until MacOS detection is put in place.
portable: update Makefile.am
Update got-{fetch,index,send}'s Makefile.am to include ratelimit.c for progress output.
Release 0.67 (tags/0.67)
portable: pack-create: remove endian.h
endian.h is portably included on non-OpenBSD systems, so let that mechanism determine if it should be included or not.
factorize imsg_clear calls after imsg_flush failures
imsg_clear frees and closes resources allocated as part of enqueueing imsgs so it's a no-op after reads. discussed with and ok stsp@
portable: fix use of d->namlen
As done elsewhere, d->namlen is not a portable field from readdir, therefore simualte this via the strlen of the directory name instead.
reuse existing deltas when creating pack files
tested by thomas, naddy, and myself
shrink the width of formatted output fields to their expected size
Replace FMT_SCALED_STRSIZE with (FMT_SCALED_STRSIZE - 2) as field width when formatting output for printing. FMT_SCALED_STRSIZE includes space for a nul byte and a minus sign. Output values are expected to be always positive here. ok stsp