Commits
- Commit:
50923426bf684402160dd7748f14560afd447b73
- From:
- Russ Cox <rsc@golang.org>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: x11 working again
Need to think a bit more about locking,
but overall it's a working devdraw.
Multiclient mode may not be working
but nothing is using it yet.
- Commit:
b1a086dee9bf5846b31323ba2c438f8853a9c87f
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: refactor, clean up mac screen
Also turn mac-srv.c into a generic srv.c,
so we can remove the duplication with x11-srv.c.
- Commit:
88ed92aa40ab5aa0f563624c488ba2a120990329
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: move Client into devdraw.h and move global state in
- Commit:
db20f89c3286f277945ac4307f789a9980d31bf6
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: simplify mac file names
Now that we only have Metal, we can drop the -metal.
Also now that Carbon is gone we can drop the macargv.c,
and then the -objc from object file names.
- Commit:
cc3d97d52a72d7eaceb5b636bcdf81c3e19f7a2e
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: update drawclient test program to run again
- 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:
a995f469b3e412ae39a57efa4472592a55248aac
- From:
- David Jeannot <djeannot24@gmail.com>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: remove old OS X code
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5528046
- Commit:
7064acbd104d7c1af5a94533213d2bb124a7a60e
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: cleanup, fix macargv
- 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
- Commit:
b567422f98b815a45fa8e7144057a8834e98616b
- From:
- Russ Cox <rsc@swtch.com>
- Date:
keyboard(7): document X compose sequences
Add -x flag to mklatinkbd to generate file for $HOME/.XCompose.
Thanks to Anthony Martin, Tony Lainson, and Kris Maglione for legwork.
R=rsc
http://codereview.appspot.com/3811043
- Commit:
de2d77683ec42e0235ba4b6f0de5e668f24590c7
- From:
- Russ Cox <rsc@swtch.com>
- Date:
mkfiles: fix macargv buf
R=rsc
http://codereview.appspot.com/2729042
- Commit:
afea5fc3fd16a2865d0af52563f601a4c03d8256
- From:
- Russ Cox <rsc@swtch.com>
- Date:
mac: add 9term.app, Plumb.app
R=rsc
http://codereview.appspot.com/2783041
- Commit:
113867b836eaa85215e4b2ece5ccf612f34c3e03
- From:
- Jeff Sickel <jas@corpus-callosum.com>
- Date:
devdraw: draft of new Cocoa-based devdraw
Can test with
cd $PLAN9/src/cmd/devdraw
mk devdraw-cocoa
DEVDRAW=devdraw-cocoa colors