aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acme/util.c
AgeCommit message (Collapse)AuthorFilesLines
2020-01-10Trivial changes: whitespace and modes.Dan Cross1-2/+2
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>
2020-01-02acme: do not pass null pointers where disallowedNeven Sajko1-0/+2
The C standards disallow passing null pointers to memmove and memcmp. Change-Id: I1c88c2adbc32a23ef742f206038b8f7c4e0540c7
2017-10-10acme: check file content before declaring file "modified since last read"Russ Cox1-0/+1
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.)
2014-04-30acme: add log file in acme root directoryRuss Cox1-0/+1
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
2012-09-23acme: mouse movement for DelRuss Cox1-2/+8
If the mouse was in the tag of the old window, it was most likely pointing at Del. If bringing up a new window from below and not moving the mouse somewhere else, adjust it so that it ends up pointing at Del in the replacement window's tag too. This makes it easy to Del a sequence of windows in a column, from top to bottom. http://www.youtube.com/watch?v=ET8w6RT6u5M R=r http://codereview.appspot.com/6558047
2008-03-07acme: sync against Plan 9, remove -$ optionRuss Cox1-7/+2
2007-08-22acme: fix memory leak in warning (Michael Teichgräber)Russ Cox1-0/+1
2005-07-13exit gracefully on errorrsc1-1/+1
2005-01-30add errors filersc1-0/+43
2004-12-27changes from plan 9rsc1-1/+1
2004-11-15allow last column to be deletedrsc1-8/+0
2004-04-21undo the madness.rsc1-1/+0
2004-04-21$foo in tags - here only for reference.rsc1-0/+1
2004-03-26SunOS can rot in hell.rsc1-0/+10
2004-03-25Today's changes.rsc1-5/+18
More changes.
2004-03-05Unfix non-bug.rsc1-1/+1
2004-03-05Amazingly picky bug fixes from Valgrind.rsc1-2/+2
2004-02-29Fighting the good fight.rsc1-46/+84
Move libfmt, libutf into subdirectories of lib9. Add poll-based socket i/o to libthread, so that we can avoid using multiple procs when possible, thus removing dependence on crappy pthreads implementations. Convert samterm, acme to the single-proc libthread. Bring libcomplete, acme up-to-date w.r.t. Plan 9 distribution.
2003-12-11More files related to user-level file servers.rsc1-0/+395
Also add acme!