Commits


acme: save/restore multiline tags in Dump/Load The dump substitutes each \n in a multiline tag with a 0xff byte. Since it is not valid UTF it cannot occur in an ordinary dump file. Old acmes will just read it in as an error rune. Fixes #135. Fixes #153.


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 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


fix gcc 4.7 warnings (thanks Tuncer Ayaz) R=rsc http://codereview.appspot.com/6744053


acme: fix rounding in rows computation R=rsc CC=codebot http://codereview.appspot.com/2007045


acme: fix Load of acme with no windows R=rsc CC=codebot http://codereview.appspot.com/161048


merge


merge


acme: fix Load bug (Fazlul Shahriar)


acme: Dump and Load tag contents


acme: revise multiline tag code


allow swap of column 0 with others


Write $-free paths in Dump files (Peter Canning).