Commits
- Commit:
a309537fdc8d86131522d43f9a9b2a0f58d9bda9
- From:
- Tobias Heinicke <theinicke@bss-wf.de>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
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.
- Commit:
c63d31a8c1d02e7fa45403a5a10373439d29b250
- From:
- Russ Cox <rsc@swtch.com>
- Date:
rio: make 'mk all' explain why it does nothing on non-x11 systems
Fixes #98.
- Commit:
3d6fc088f028e0267ecbc64e21eadbe9ca1bcb83
- From:
- Jacob Vosmaer <contact@jacobvosmaer.nl>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: remove os x 10.5 compatibility code
- Commit:
4e2ac7657b2ac3173bd4b23ecb7a7e8c4b74c00f
- From:
- Mat Kovach <matkovach@gmail.com>
- Via:
- Russ Cox <rsc@golang.org>
- Date:
unix: fix tar use in mkfile to allow Plan 9 tar
- Commit:
43b0d532bd3c1e4fbd4385c6470db12dbf7a5ad8
- From:
- Russ Cox <rsc@swtch.com>
- Date:
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.
- Commit:
fe92b4a0b1a8268238bce088cd081da9b802b465
- From:
- Russ Cox <rsc@swtch.com>
- Date:
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.
- Commit:
7d43dde539378fb5730df6ce961f7916f495746e
- From:
- Russ Cox <rsc@swtch.com>
- Date:
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.
- Commit:
be0a15c47b75dc73a5c389cca125692f0cfdf726
- From:
- Russ Cox <rsc@swtch.com>
- Date:
tweak: add support for Cursor2
- Commit:
8581c2b56763d7787604c8c833d2bd78bdc6a466
- From:
- Russ Cox <rsc@swtch.com>
- Date:
libdraw: add Cursor2, a 32x32 high-res cursor
Also add setcursor2, esetcursor2, and draw protocol encoding.
Calls to the old setcursor, esetcursor create a 32x32 by
pixel doubling when needed.
- Commit:
9af9ceca26596d562a3ae89fda70bad9f8822ab0
- From:
- Xiao-Yong Jin <xjin@anl.gov>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: rewrite the Cocoa screen using Metal
Add a new macOS cocoa screen, cocoa-screen-metal.m.
Rewrite the macOS cocoa drawing code to use the builtin runloop,
and use Metal to push pixels with CAMetalLayer.
Remove all of the deprecated code, and simplify some of the logic.
Modify mkwsysrules.sh such that the new code is used only when
the system version is equal or higher than 10.14.
Allow touch events to simulate mouse clicks:
three finger tap for the middle mouse button;
four finger tap for the 2-1 chord.
Support Tresize.
Scale 16x16 Cursor up to 32x32 with an EPX algorithm.
Support macOS input sources including the basic dead keys and the
advanced CJK input methods.
Increase the communication buffers in cocoa-srv.c to allow more
input, especially for long sentences prepared by the macOS input
souces.
- Commit:
de43b1629d008aa6cdf4f6beb2b06e3859616a3e
- From:
- Zach Scott <ethhics@gmail.com>
- Via:
- Russ Cox <rsc@golang.org>
- Date:
upas/smtp: fix TLS connections (#163)
Both `upas/nfs` and `upas/smtp` call the currently broken `tlsClient()`
from libsec. This commit copies a fix from upas/nfs into upas/smtp.
In `imapdial()`, upas/nfs replaces a process call for tlsClient with
`stunnel3` when not on Plan 9. upas/smtp calls tlsClient directly
as a function, so imapdial was copied into mxdial.c as `smtpdial()`,
and tlsClient+dial replaced with a call to smtpdial.
- Commit:
9c38253d1d8bae2f821d30fb8216783d2eb76f87
- From:
- Francis Conti <fc@nymon.xyz>
- Via:
- Russ Cox <rsc@golang.org>
- Date:
INSTALL: fix compiler detection on FreeBSD+clang (#177)
- Commit:
000c1a3b19a8d3f8bbaefba84131995cb62c889f
- From:
- Gabriel Díaz <gdiaz@qswarm.com>
- Via:
- Russ Cox <rsc@golang.org>
- Date:
devdraw: set displaydpi on devdraw x11 attach (#178)
See https://plan9port-review.googlesource.com/c/plan9/+/1470
for discussion of the approach, especially Michael Stapleberg's comment:
Note that chromium, firefox and others have tried this and then switched to using the Xft.dpi X resource, see e.g. https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/ui/libgtk2ui/gtk2_ui.cc and especially http://sources.debian.net/src/gnome-settings-daemon/3.18.2-1/plugins/xsettings/gsd-xsettings-manager.c/?hl=824#L80 for some anecdata about why this approach doesn’t work out.
The Xft.dpi resource is being set accurately by desktop environments (GNOME, KDE, …) and can easily be changed by users of niche window managers by editing ~/.Xresources.
I suggest we check only Xft.dpi, without considering the DPI environment variable or the monitor width/height.
- Commit:
a791787a384745b90fa0eb704cd9cbbe8c758684
- From:
- Russ Cox <rsc@swtch.com>
- Date:
mac/9term.app: invoke 9term with -l
This seems to match Terminal.
Fixes #145.
- Commit:
d3f21b709efc5e1ca4c4f0ef58bf9ac5db8e921c
- From:
- Russ Cox <rsc@swtch.com>
- Date:
9term: make 9term -l invoke $SHELL with -l