Commits


devdraw, libdraw: fix memory leaks by freeing getns() malloced string (#431)


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.


libdraw: connect to devdraw via $wsysid when set


Trivial changes: whitespace and modes. Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>


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.


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.


libdraw: add visibleclicks mode R=rsc http://codereview.appspot.com/6501137


merge


merge


libdraw: do not let devdraw fork, for OS X


libdraw: die if display does


In non-blocking recv functions in libmux and libdraw, distinguish between "cannot receive without blocking" and "EOF on connection". In libmux, do not elect async guys muxers, so that synchronous RPC calls run in the main event loop (e.g., in eresized) do not get stuck. Fixes problem reported by Lu Xuxiao, namely that jpg etc. would spin at 100% cpu usage.


move USED past decls (Arvindh Tamilmani)


use pin


event