Commit Briefs

3ad4afbe82 Russ Cox

rio: delete ancient Imakefile (use mk instead)

Fixes #235.


43f1873709 Russ Cox

acme: drop trailing spaces during Put of auto-indent window

Auto-indent mode leaves trailing spaces on blank lines as you type past them, so silently elide them from the window content as it gets written back to disk. Another option would be to remove them from the window entirely during Put, but they're actually nice to have while editing, and to date Put has never modified the window content.


2607cc565e Russ Cox

INSTALL: use cc to check for fontsrv on non-Darwin (#203)

FreeBSD 11.2 by default does not have gcc.


74223e0b4f Russ Cox

unix: fix for tar on FreeBSD (#202)

Use the widely accepted /dev/stdout.


ad2d49503b Russ Cox

INSTALL: set $NPROC on macOS

My MacBook Pro has hw.ncpu=12, so set NPROC=12. Speeds up INSTALL dramatically. Should probably add similar code to other OSes. Also silence rio warning from earlier commit.


16d0081989 Russ Cox

libdraw: redo default font construction to be hidpi-safe

If $font is not set, the default font is constructed from font data linked into every libdraw binary. That process was different from the usual openfont code, and so it was not hidpi-aware, resulting in very tiny fonts out of the box on hidpi systems, until users set $font. Fix this by using openfont to construct the default font, by recognizing the name *default* when looking for font and subfont file contents. Then all the hidpi scaling applies automatically. As a side effect, the concept of a 'default subfont' is gone, as are display->defaultsubfont, getdefont, and memgetdefont.



3ae09bee86 Russ Cox

file: add missing newlines to file types


a309537fdc Russ Cox

paint: add drawing program from 9front (#112)

Paint first appeared in 9front. The 9front license is reproduced in the related source files - the original repository is located at https://code.9front.org/hg/plan9front.


c63d31a8c1 Russ Cox

rio: make 'mk all' explain why it does nothing on non-x11 systems

Fixes #98.


3d6fc088f0 Russ Cox

devdraw: remove os x 10.5 compatibility code


4e2ac7657b Russ Cox

unix: fix tar use in mkfile to allow Plan 9 tar


43b0d532bd Russ Cox

acme: add 32x32 boxcursor

The only difference from the upscaled 16x16 is a one-pixel adjustment in the offset position, but this at least exercises setcursor2.


fe92b4a0b1 Russ Cox

INSTALL: set CC9 on macOS to use xcrun clang

Using plain 'clang' does not work well for the new devdraw on macOS 10.14. But 'xcrun --sdk macosx clang' does work, for reasons no one understands. Hopefully this will be OK on all macOS systems.


7d43dde539 Russ Cox

devdraw: add Cursor2 support on macOS 10.14 Mojave

This replaces the pixel-art scaling algorithm used for upscaling before. The results were not crisp enough to serve as everyday cursors.