Commits
- Commit:
d25d0ca1a3682d97df67f62789767562aa5bf1b3
- From:
- Russ Cox <rsc@swtch.com>
- Date:
devdraw, libdraw: handle keyboard runes > U+FFFF
Runes in Plan 9 were limited to the 16-bit BMP when I drew up
the RPC protocol between graphical programs and devdraw
a long time ago. Now that they can be 32-bit, use a 32-bit wire
encoding too. A new message number to avoid problems with
other clients (like 9fans.net/go).
Add keyboard shortcut alt : , for U+1F602, face with tears of joy,
to test that it all works.
- Commit:
dbf57689c45611b8da9e269c24e409ee33a877d5
- From:
- Russ Cox <rsc@swtch.com>
- Date:
libdraw: connect to devdraw via $wsysid when set
- 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:
cf69e5d420c7f91f80c56f3b3a56f14471e80f0e
- From:
- Russ Cox <rsc@swtch.com>
- Date:
include/drawfcall.h: remove redundant AUTOLIB(draw)
- Commit:
9a5678a8a95c46913c15a5fc19f73c113e8ed036
- From:
- rsc <devnull@localhost>
- Date:
Change GET/GBIT32 macros to explicitly cast final result to u32int.
Otherwise, the type of the expression will be int, and if written to
a uvlong (or just a ulong on most 64-bit systems), it will be
sign-extended.
This was going on in drawfcall with Mouse.msec, which is declared
as a ulong.
This fix assumes that the protocols only send unsigned numbers,
which is true.
- Commit:
9801d5e566203cb283488deefd6dff5382194c0e
- From:
- rsc <devnull@localhost>
- Date:
forgot