Commits
- Commit:
8b9aaf2e3f7f6e2733e52db4dd1dcb46a91e4972
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: add /usr/X11R7 for NetBSD
Fixes #362.
- 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:
843e5af1986a2e8f1c4f6177dc4509501711a22c
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: move per-window globals in mac-screen.m into Client
- Commit:
88ed92aa40ab5aa0f563624c488ba2a120990329
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: move Client into devdraw.h and move global state in
- Commit:
933b98054f40bb224acda134d7bb77a023bcc57f
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: use consistent mac-* prefix on macOS files
We were using osx- and cocoa- but it's not even OS X anymore.
- Commit:
ce27d7babdf2ee09ff6d1f8d4a166c2208995774
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: can use libthread directly now on macOS
- 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:
f177c0ba18193fb89ad1b5d84eac2906e8c3b4f1
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: drop pre-metal macOS support
We didn't start using Metal until macOS 10.14,
but it was available on 10.13, which is currently
the oldest Apple-supported version of macOS.
Simplify by deleting the old code.
- Commit:
3d6fc088f028e0267ecbc64e21eadbe9ca1bcb83
- From:
- Jacob Vosmaer <contact@jacobvosmaer.nl>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: remove os x 10.5 compatibility code
- 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:
1a512ec048a5c607a01b9fd82561c1601ba87406
- From:
- Christian Kellermann <ckeen@pestilenz.org>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
fontsrv: fix build on OpenBSD 5.2
R=rsc
CC=plan9port.codebot
https://codereview.appspot.com/6850108
- Commit:
ca81de0ae174e737cf3594787fa885e51d6e9d1d
- From:
- David Jeannot <djeannot24@gmail.com>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
Cocoa Devdraw: cursor fix
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5356050
- Commit:
b4d0ac961262aace74431d78fe952a404a6f25a1
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: cocoa fixes, bigarrow support (thanks Marius Eriksen)
- Commit:
7064acbd104d7c1af5a94533213d2bb124a7a60e
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: cleanup, fix macargv
- Commit:
6135b41c7dbfdf5ac1840a1d1d4f20505e429278
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw: disable Lion warning
R=rsc
http://codereview.appspot.com/5132045