summaryrefslogtreecommitdiffstats
path: root/src/cmd/acme/ecmd.c
Commit message (Collapse)AuthorAgeFilesLines
* acme: fix crash in X |cat with multiple windowsRuss Cox2020-01-131-5/+24
| | | | | | | Fixes #9. Fixes #219. Fixes #222. Fixes #330.
* Trivial changes: whitespace and modes.Dan Cross2020-01-101-4/+4
| | | | | | | | | 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: preserve window position and selection during GetRuss Cox2017-11-021-17/+49
| | | | | | | | | | | | | | | | | Before, executing Get in a file rewound the window offset and selection to the start of the file. After this CL, Get preserves the window offset and selection, where preserve is defined as "the same line number and rune offset within the line". So if the window started at line 10 before and the selection was line 13 chars 5-7, then that will still be true after Get, provided the new content is large enough. This should help the common situation of plumbing a compiler error, realizing the window is out of date, clicking Get, and then losing the positioning from the plumb operation.
* acme: check file content before declaring file "modified since last read"Russ Cox2017-10-101-1/+2
| | | | | | | | | | | | | 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: let Edit redo when file is cleanRuss Cox2010-01-121-1/+1
| | | | | | R=, rsc CC= http://codereview.appspot.com/188042
* acme: sync against Plan 9, remove -$ optionRuss Cox2008-03-071-1/+1
|
* acme: fix acme Edit abortRob Pike2008-03-071-1/+3
|
* fix edit pipe bugrsc2006-05-051-0/+18
|
* Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc2006-04-011-9/+9
|
* no wide character constants; sighrsc2005-05-071-2/+2
|
* Two bug fixes.rsc2005-03-231-10/+6
| | | | | 1. Make sure cmdname NUL-terminates its arguments. 2. Fix the elogapply warning, hopefully.
* Today's changes.rsc2004-03-251-1/+1
| | | | More changes.
* Fighting the good fight.rsc2004-02-291-2/+5
| | | | | | | | | | | | 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/+1325
Also add acme!