summaryrefslogtreecommitdiff
path: root/sys/src/cmd/acme/wind.c
AgeCommit message (Collapse)Author
2022-03-15acme: fix hiding of top windows when loading a dump file (thanks Xiao-Yong)Igor Böhm
When loading an acme dump file that contains a window with only one tag line, there are cases where acme hides that window (i.e. not even its tag is visible). The following commands reproduce the issue: % ed <<EOE 1 i /tmp /lib/font/bit/pelm/unicode.8.font /lib/font/bit/pelm/unicode.8.font 0 f 0 5 175 175 1 5 40 175 1 0 /sys/src/cmd/acme/ Del Snarf Get | Look f 0 4 330 330 3 4 27 330 1 0 /tmp/ Del Snarf Get | Look . ,w /tmp/test.dump Q EOE % window -dx 900 -dy 600 'acme -l /tmp/test.dump' This issue was introduced in commit 47b7dc5ccd77bc247ab15cfab3a7a8f955771c70.
2022-01-04acme: fix window and scrollbar display glitches at bottom fringe of columnIgor Böhm
The following patch fixes acme display glitches at the bottom fringe of columns when adding/moving/resizing windows. Here an example of an easy to reproduce case: • https://invidio.xamh.de/watch?v=iLekQrxycaM …opening acme and resizing a column to the right is all that is needed. The functions winresize(…) and textresize(…) are extended with an additional parameter `fillfringe` to indicate if a window/tag shall fill a potential fringe area that would otherwise remain white. The changes have been inspired by the approach taken in plan9port acme.
2021-02-03acme: fix use after free in warning() call (thanks igor)cinap_lenrek
2020-06-06acme: import event log from plan9port (thanks fshahriar)Ori Bernstein
Based off the following 3 commits: 4a3fb87264f8bc03fc62f00ef335056f30d18023 45f8ba54143323f08a21343633764caa59aa3ea3 fdf6ef333705c844bcf3ccf2f93b2773f1a6aa41 Reading /mnt/acme/log reports a log of window create, put, focus, and delete events, as they happen. It blocks until the next event is available. Example log output: 8 new /Users/rsc/foo.go 8 put /Users/rsc/foo.go 8 del /Users/rsc/foo.go This lets acme-aware programs react to file writes, for example compiling code, running a test, or updating an import block.
2020-01-19Apply http://www.9paste.net/qrstuv/patch/acme-movetodelmesg/Roberto E. Vargas Caballero
2018-08-01acme: add spacesindent modespew
2013-10-20acme: attempt to fix tag lines collapsing to zero height on window move ↵cinap_lenrek
(issue 189) we'r getting a rectangle taller than a single line from coladd() which causes textresize() to collapse the tag text to zero height. should probably fix coladd() instead.
2013-09-07acme: avoid useless tagline/window redraw if not neededcinap_lenrek
window resize is only neccesary if tagline changed.
2013-08-28removed unused variable resize in wind.cmveety
2013-08-28Added the p9p acme patch the allows multiline tags (thanks rsc and lf94).mveety
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen