Commits
- Commit:
7bb69ba88b8083b3eb9b3afefd8cdeae6aea2149
- From:
- Fazlul Shahriar <fshahriar@gmail.com>
- Via:
- Russ Cox <rsc@golang.org>
- Date:
libdraw,devdraw: fix compatibility with old 16x16 cursor protocol (#217)
Some libraries that depend on devdraw don't know about
32x32 cursor -- mainly 9fans.net/go/draw.
- 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:
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:
ffaaaf9dae8de3c58c0d13f94926ddc363fdaf97
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: use %R not Fn-F3 for retina toggle
R=rsc
http://codereview.appspot.com/6854093
- Commit:
55905845f3eeb3756f532484f1fd313b0ab2ca2a
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: add forcedpi toggled by Fn+F3 on Mac
R=rsc
http://codereview.appspot.com/6846104
- Commit:
73b0f029e107c2d015ebb48d59d32f264973de49
- From:
- David Jeannot <djeannot24@gmail.com>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: fix handling of compose key on OS X
This implementation is simpler to understand. It
removes conflicts with other modifiers and with
the virtual buttons. Pressing alt during a
sequence now cancels it correctly.
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5507049
- Commit:
e89a71ffdd0b8807505db64ece9307f03252da51
- From:
- David Jeannot <djeannot24@gmail.com>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
cocoa devdraw: activation on receiving Ttop messages
(The new variable "willactivate" is in the input
structure "in", which is illogical. But this
structure will soon be renamed "app". I postpone
the renaming to avoid conflicts with simultaneous
Codereview issues.)
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5504102
- Commit:
d0a596c5c8669950a2499d3012c340cfbf0eeed5
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: more fixes (thanks David Jeannot)
- Commit:
48107872baacadfc18527fda65e096c95424b13f
- From:
- David Jeannot <djeannot24@gmail.com>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: update Lion cocoa
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5015042
- Commit:
a287dbab235c9041a32300a9e0bb60ef41864963
- From:
- David Jeannot <djeannot24@gmail.com>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: draft cocoa support
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4974060