Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-03-27 | libdraw: fix error in the previous commit | Xiao-Yong Jin | 1 | -1/+1 | |
2018-03-27 | libdraw: fix some memory leaks in font handling | Xiao-Yong Jin | 5 | -6/+18 | |
2017-04-08 | libdraw: replace hand-rolled realloc, preventing buffer overflow. | Ray Lai | 1 | -3/+1 | |
The original buffer is f->nsubf*sizeof *subf bytes (oldsize) large. Once it's full, a new buffer of (f->nsubf+DSUBF)*sizeof *subf (newsize) is mallocated. Unfortunately memmove() reads (newsize) bytes from the original (oldsize) buffer, causing a buffer overflow. By switching to realloc(), we don't need to do buffer size calculation, memmoving, and freeing of the original buffer. Change-Id: Ibf85bc06abe1c8275b11acb1d7d346a14291d2cd Reviewed-on: https://plan9port-review.googlesource.com/1520 Reviewed-by: Gleydson Soares <gsoares@gmail.com> | |||||
2017-01-06 | 9term, win: work around bsd linker nonsense | Russ Cox | 1 | -0/+5 | |
Change-Id: Ifcef0636ee1e1fd0f9b06a8d1a99d58fae831318 Reviewed-on: https://plan9port-review.googlesource.com/2780 Reviewed-by: Russ Cox <rsc@swtch.com> | |||||
2015-08-27 | fontsrv: use 64 chars per subfont instead of 256 | Russ Cox | 1 | -1/+1 | |
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-05-15 | libdraw, acme: fix acme segfault triggered passing an invalid font | Gleydson Soares | 1 | -0/+2 | |
acme -f nosuchfont Change-Id: Iaa727db02b43e63082130796ec97c0efb7fe2b19 Reviewed-on: https://plan9port-review.googlesource.com/1220 Reviewed-by: Russ Cox <rsc@swtch.com> | |||||
2015-02-17 | libdraw: refine hidpi font selection | Russ Cox | 3 | -1/+43 | |
Change-Id: Id1e6a2630713024a1925ad1341bb9c846f82e93e Reviewed-on: https://plan9port-review.googlesource.com/1171 Reviewed-by: Russ Cox <rsc@swtch.com> | |||||
2015-02-17 | libdraw: autoscale fonts when moving between low and high dpi screens | Russ Cox | 7 | -27/+212 | |
Change-Id: I6093955b222db89dfe437fb723593b173d888d01 Reviewed-on: https://plan9port-review.googlesource.com/1170 Reviewed-by: Russ Cox <rsc@swtch.com> | |||||
2015-02-17 | libdraw: add 2*font syntax for scaled fonts | Russ Cox | 6 | -4/+75 | |
An experiment. Change-Id: I40660a211b8372701597d80f7e86917e94cccbaa Reviewed-on: https://plan9port-review.googlesource.com/1161 Reviewed-by: Russ Cox <rsc@swtch.com> | |||||
2014-12-02 | libdraw, libframe, acme: fix, guard against inverted range in textsetselect | Russ Cox | 1 | -0/+3 | |
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> | |||||
2012-11-25 | libdraw: add scalesize | Russ Cox | 1 | -0/+7 | |
R=rsc http://codereview.appspot.com/6855092 | |||||
2012-11-25 | devdraw, libdraw: add display->dpi | Russ Cox | 1 | -0/+9 | |
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-09-17 | libdraw: add visibleclicks mode | Russ Cox | 3 | -2/+54 | |
R=rsc http://codereview.appspot.com/6501137 | |||||
2010-01-28 | libdraw: allow 32-bit Runes | Russ Cox | 1 | -1/+1 | |
R=, rsc CC= http://codereview.appspot.com/196054 | |||||
2009-07-14 | merge | Russ Cox | 1 | -2/+6 | |
2009-07-08 | merge | Russ Cox | 3 | -6/+63 | |
2009-04-30 | merge | Russ Cox | 1 | -0/+9 | |
2008-12-03 | libdraw: add borderop | Jeff Sickel | 1 | -9/+15 | |
2008-07-01 | libdraw: do not let devdraw fork, for OS X | Russ Cox | 1 | -1/+5 | |
2008-06-30 | libdraw: die if display does | Russ Cox | 2 | -3/+3 | |
2008-01-10 | libdraw: fix spinning event loop (David Bulkow) | Russ Cox | 1 | -6/+6 | |
2006-11-05 | block instead of chewing cpu in eread (Lu Xuxiao) | rsc | 1 | -1/+1 | |
2006-11-04 | In non-blocking recv functions in libmux and libdraw, | rsc | 2 | -15/+31 | |
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-07-04 | move USED past decls (Arvindh Tamilmani) | rsc | 1 | -2/+2 | |
2006-06-26 | use pin | rsc | 1 | -1/+27 | |
2006-06-25 | add iprint | rsc | 2 | -0/+15 | |
2006-06-25 | gone | rsc | 2 | -180/+0 | |
2006-06-25 | event | rsc | 6 | -1904/+272 | |
2006-06-25 | bye | rsc | 1 | -43/+0 | |
2006-06-25 | new | rsc | 4 | -0/+742 | |
2006-06-25 | bye | rsc | 75 | -11641/+226 | |
2006-05-23 | fix _screen leak | rsc | 2 | -15/+8 | |
2006-05-21 | changes from plan 9 | rsc | 2 | -15/+11 | |
2006-05-20 | do RFNOTEG in initdraw (Anselm Garbe) | rsc | 1 | -0/+1 | |
2006-04-21 | shut up gcc | rsc | 1 | -0/+3 | |
2006-04-04 | no checksnarf | rsc | 1 | -11/+0 | |
2006-04-01 | Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. | rsc | 13 | -47/+47 | |
2006-03-31 | fix alpha oops | rsc | 2 | -15/+17 | |
2006-03-12 | regenerate latin1 tables | rsc | 1 | -101/+101 | |
2006-03-10 | jpg fix? (erik quanstrom) | rsc | 1 | -0/+1 | |
2006-03-10 | synergy (paul lalonde) | rsc | 1 | -2/+6 | |
2006-02-28 | more itrans changes | rsc | 1 | -12/+1 | |
2006-02-28 | allow fallback to x11 | rsc | 1 | -4/+23 | |
2006-02-28 | use pasteboard | rsc | 1 | -5/+138 | |
2006-01-29 | return 0 | rsc | 1 | -1/+1 | |
2006-01-28 | do not die in freeimage(0) when screen==0 | rsc | 1 | -1/+2 | |
2006-01-27 | nowsys fixes (Lou Kamenov) | rsc | 2 | -2/+23 | |
2005-12-29 | do not trust gcc-4.0 to do nrv optimization. (taj khattra) | rsc | 1 | -25/+22 | |
2005-12-29 | avoid nil freeimage | rsc | 1 | -2/+4 | |
2005-11-16 | oops | rsc | 1 | -2/+2 | |