Commits


samterm: free some getenv results


sam: freetmpstr instead of free


libdraw: fix some memory leaks in font handling


fontsrv: fix some memory leaks


devdraw: fix some memory leaks in x11


acme: fix some memory leaks


fontsrv: enlarge drawing buffer for subfonts on macOS Double the width returned by CTFontGetBoundingBox when drawing. Add box drawing characters for determining the line height. Call freememimage(1) for the character memimage. Fixes #18. Fixes #120. Fixes #146.


mount, 9pfuse: detect macports installed osxfuse MacPorts installs osxfuse under /opt/local.


fontsrv: skip only the surrogate pairs fontsrv wasn't rendering fontawesome icons, which uses the private use area around 0xf000.


mount: check current osxfuse kext location Current versions of osxfuse ship with multiple versions of its kernel extension (kext) for differend versions of macOS. Running mount(1) on macOS with a current version of osxfuse fails with `don't know how to mount (no fuse)' since it fails to find the kext. Running 9pfuse(4) directly works fine. This change adds a check to mount(1) that determines: 1) which version of macOS we're running on 2) if there is an osxfuse kext available for this version of macOS


9pserve: fix memory leak in warning


.gitignore: ignore files created for astro(1) and scat(1) To use astro(1) and scat(1) one has to create sky/here and download various catalogue files as detailed in sky/README. This change marks those files as ignored by git so they don't clutter its status messages.


9term: Set TERM_PROGRAM to termprog TERM_PROGRAM is the customary way to identify which kind of terminal emulator program one uses on macOS. This change sets TERM_PROGRAM to termprog since both variables are used for the same purpose.


9pfuse: retries read(3) upon EINTR read(3) sometimes errors with EINTR on macOS over slow connections. 9pfuse(1) now retries read(3) instead of sysfatal(3)ing.


9pfuse: fix handling of access mode (thanks Kenji Arisawa) Fixes #81.