aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acme/util.c
Commit message (Collapse)AuthorAgeFilesLines
* Trivial changes: whitespace and modes.Dan Cross2020-01-101-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>
* acme: do not pass null pointers where disallowedNeven Sajko2020-01-021-0/+2
| | | | | | The C standards disallow passing null pointers to memmove and memcmp. Change-Id: I1c88c2adbc32a23ef742f206038b8f7c4e0540c7
* acme: check file content before declaring file "modified since last read"Russ Cox2017-10-101-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.)
* acme: add log file in acme root directoryRuss Cox2014-04-301-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
* acme: mouse movement for DelRuss Cox2012-09-231-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
* acme: sync against Plan 9, remove -$ optionRuss Cox2008-03-071-7/+2
|
* acme: fix memory leak in warning (Michael Teichgräber)Russ Cox2007-08-221-0/+1
|
* exit gracefully on errorrsc2005-07-131-1/+1
|
* add errors filersc2005-01-301-0/+43
|
* changes from plan 9rsc2004-12-271-1/+1
|
* allow last column to be deletedrsc2004-11-151-8/+0
|
* undo the madness.rsc2004-04-211-1/+0
|
* $foo in tags - here only for reference.rsc2004-04-211-0/+1
|
* SunOS can rot in hell.rsc2004-03-261-0/+10
|
* Today's changes.rsc2004-03-251-5/+18
| | | | More changes.
* Unfix non-bug.rsc2004-03-051-1/+1
|
* Amazingly picky bug fixes from Valgrind.rsc2004-03-051-2/+2
|
* Fighting the good fight.rsc2004-02-291-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.
* More files related to user-level file servers.rsc2003-12-111-0/+395
Also add acme!