Commits


acme: fix double-free in acmeerrorproc The receiver of cerr takes ownership of s.


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>


acme: add 32x32 boxcursor The only difference from the upscaled 16x16 is a one-pixel adjustment in the offset position, but this at least exercises setcursor2.


acme: fix some memory leaks


acme: check file content before declaring file "modified since last read" Bad remote file systems can change mtime unexpectedly, and then there is the problem that git rebase and similar operations like to change the files and then change them back, modifying the mtimes but not the content. Avoid spurious Put errors on both of those by checking file content. (False positive "modified since last read" make the real ones difficult to notice.)


acme: add focus change to log Currently new, put and del events are being logged. This patch adds a focus event to the log whenever the user changes the focus to another window. This lets programs react to files being edited in acme without the need of being restarted. Change-Id: Idf35c0d7dbfca30e79724dc9f49e44c6a4eb6a1e Reviewed-on: https://plan9port-review.googlesource.com/1140 Reviewed-by: Russ Cox <rsc@google.com>


acme: add log file in acme root directory Reading /mnt/acme/log reports a log of window create, put, 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. TBR=r R=r https://codereview.appspot.com/89560044


acme: retina scaling for scroll bars, button R=rsc http://codereview.appspot.com/6854094


acme: add $acmeshell to control execution shell R=rsc CC=plan9port.codebot http://codereview.appspot.com/6614056


acme: correct modified message after initial load; more detail in message http://codereview.appspot.com/123051


acme: remove -$


acme: fix mtpt crash (Tim Wiess)


acme: add -m option and avoid looking in the mirror


No more unrooted paths.


Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.