Russ Cox
9e0d3750c5
9term, win: work around bsd linker nonsense
...
Change-Id: Ifcef0636ee1e1fd0f9b06a8d1a99d58fae831318
Reviewed-on: https://plan9port-review.googlesource.com/2780
Reviewed-by: Russ Cox <rsc@swtch.com>
2017-01-06 20:20:33 +00:00
Russ Cox
775cb933ec
fontsrv: use 64 chars per subfont instead of 256
...
Makes loading faster, and makes larger sizes not too wide.
Change-Id: I076c83fdb9577c1e596de45558f38ea93e3a2a31
Reviewed-on: https://plan9port-review.googlesource.com/1360
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-08-27 00:36:32 +00:00
Gleydson Soares
25822e8da3
libdraw, acme: fix acme segfault triggered passing an invalid font
...
acme -f nosuchfont
Change-Id: Iaa727db02b43e63082130796ec97c0efb7fe2b19
Reviewed-on: https://plan9port-review.googlesource.com/1220
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-05-15 02:30:27 +00:00
Russ Cox
79555a9987
libdraw: refine hidpi font selection
...
Change-Id: Id1e6a2630713024a1925ad1341bb9c846f82e93e
Reviewed-on: https://plan9port-review.googlesource.com/1171
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-02-17 20:52:06 +00:00
Russ Cox
213fc4f6fb
libdraw: autoscale fonts when moving between low and high dpi screens
...
Change-Id: I6093955b222db89dfe437fb723593b173d888d01
Reviewed-on: https://plan9port-review.googlesource.com/1170
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-02-17 20:51:23 +00:00
Russ Cox
77f23268f7
libdraw: add 2*font syntax for scaled fonts
...
An experiment.
Change-Id: I40660a211b8372701597d80f7e86917e94cccbaa
Reviewed-on: https://plan9port-review.googlesource.com/1161
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-02-17 05:58:37 +00:00
Russ Cox
fff818fe87
libdraw, libframe, acme: fix, guard against inverted range in textsetselect
...
Credit to Roi Martin <jroi.martin@gmail.com> for noticing that
libdraw was being passed a negative string length and for finding the
sequence of keystrokes that make acme do it reproducibly.
Change-Id: If3f3d04a25c506175f740d3e887d5d83b5cd1bfe
Reviewed-on: https://plan9port-review.googlesource.com/1092
Reviewed-by: Russ Cox <rsc@swtch.com>
2014-12-02 01:18:40 +00:00
Russ Cox
9f3851871e
libdraw: add scalesize
...
R=rsc
http://codereview.appspot.com/6855092
2012-11-25 22:15:57 -05:00
Russ Cox
d0e0701913
devdraw, libdraw: add display->dpi
...
Fixed at 100 right now, but the plan is to make it accurate
and then use it.
R=rsc
http://codereview.appspot.com/6856091
2012-11-25 21:41:52 -05:00
Russ Cox
54bebe6a69
libdraw: add visibleclicks mode
...
R=rsc
http://codereview.appspot.com/6501137
2012-09-17 12:39:49 -04:00
Russ Cox
2d6da3763e
libdraw: allow 32-bit Runes
...
R=, rsc
CC=
http://codereview.appspot.com/196054
2010-01-28 16:58:34 -08:00
Russ Cox
e6c837d612
merge
2009-07-14 22:55:52 -07:00
Russ Cox
9b4a2324d3
merge
2009-07-08 21:43:14 -07:00
Russ Cox
4aad1a3258
merge
2009-04-30 07:29:24 -07:00
Jeff Sickel
41305b2355
libdraw: add borderop
2008-12-03 02:13:38 -06:00
Russ Cox
b61a5ce81e
libdraw: do not let devdraw fork, for OS X
2008-07-01 07:39:10 -04:00
Russ Cox
b65a69c192
libdraw: die if display does
2008-06-30 19:44:15 -04:00
Russ Cox
0a98a883d5
libdraw: fix spinning event loop (David Bulkow)
2008-01-10 21:38:42 -05:00
rsc
33da33e72b
block instead of chewing cpu in eread (Lu Xuxiao)
2006-11-05 14:43:52 +00:00
rsc
3a19470202
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.
2006-11-04 18:46:00 +00:00
rsc
40227f1f68
move USED past decls (Arvindh Tamilmani)
2006-07-04 14:35:50 +00:00
rsc
19f4cef528
use pin
2006-06-26 05:48:10 +00:00
rsc
8159666d6a
add iprint
2006-06-25 23:52:51 +00:00
rsc
b733ffba4f
gone
2006-06-25 21:04:36 +00:00
rsc
150f88023b
event
2006-06-25 21:04:07 +00:00
rsc
f97f537440
bye
2006-06-25 19:00:38 +00:00
rsc
257fb6261e
new
2006-06-25 19:00:14 +00:00
rsc
74dc60da74
bye
2006-06-25 18:59:29 +00:00
rsc
24c4c46b98
fix _screen leak
2006-05-23 03:55:45 +00:00
rsc
3bff492520
changes from plan 9
2006-05-21 16:20:29 +00:00
rsc
dff99a80b6
do RFNOTEG in initdraw (Anselm Garbe)
2006-05-20 05:01:26 +00:00
rsc
6b11fe88cb
shut up gcc
2006-04-21 03:01:48 +00:00
rsc
2ff29ba87a
no checksnarf
2006-04-04 19:45:03 +00:00
rsc
cbeb0b26e4
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
2006-04-01 19:24:03 +00:00
rsc
0b10ae3815
fix alpha oops
2006-03-31 17:28:29 +00:00
rsc
b2dc981a17
regenerate latin1 tables
2006-03-12 14:59:12 +00:00
rsc
532a32df32
jpg fix? (erik quanstrom)
2006-03-10 00:37:24 +00:00
rsc
b9b653584e
synergy (paul lalonde)
2006-03-10 00:37:15 +00:00
rsc
23fdde49f1
more itrans changes
2006-02-28 19:48:49 +00:00
rsc
4fc1aa09a9
allow fallback to x11
2006-02-28 13:13:39 +00:00
rsc
a24065936d
use pasteboard
2006-02-28 12:54:15 +00:00
rsc
b4d406b781
return 0
2006-01-29 17:32:14 +00:00
rsc
e4c74b87b6
do not die in freeimage(0) when screen==0
2006-01-28 23:45:53 +00:00
rsc
326a461d0e
nowsys fixes (Lou Kamenov)
2006-01-27 04:04:38 +00:00
rsc
e418631bf3
do not trust gcc-4.0 to do nrv optimization. (taj khattra)
2005-12-29 22:10:56 +00:00
rsc
297cded760
avoid nil freeimage
2005-12-29 20:59:24 +00:00
rsc
ed12a647df
oops
2005-11-16 00:21:29 +00:00
rsc
16c1defa3d
x11, used, etc.
2005-11-12 16:36:48 +00:00
rsc
148f25d351
debugging help
2005-11-07 02:46:38 +00:00
rsc
8e06ea1b42
In eread, ignore unexpected events instead of returning early.
2005-09-15 17:18:00 +00:00