Commit Briefs

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.


Russ Cox

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.


Russ Cox

devdraw: remove old OS X code

R=rsc CC=plan9port.codebot http://codereview.appspot.com/5528046


Russ Cox

devdraw: cleanup, fix macargv


Russ Cox

devdraw: update Lion cocoa

R=rsc CC=plan9port.codebot http://codereview.appspot.com/5015042


Russ Cox

devdraw: draft cocoa support

R=rsc CC=plan9port.codebot http://codereview.appspot.com/4974060


Russ Cox

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


Russ Cox

mkfiles: fix macargv buf

R=rsc http://codereview.appspot.com/2729042


Russ Cox

mac: add 9term.app, Plumb.app

R=rsc http://codereview.appspot.com/2783041


Jeff Sickel

devdraw: draft of new Cocoa-based devdraw

Can test with cd $PLAN9/src/cmd/devdraw mk devdraw-cocoa DEVDRAW=devdraw-cocoa colors


Michael Teichgräber

devdraw: generate Latin-1 table from lib/keyboard



Russ Cox

devdraw: OS X native version



rsc

new draw server