aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acme/look.c
AgeCommit message (Collapse)AuthorFilesLines
2020-01-13acme: fix buffer overflow introduced in parsetag refactorRuss Cox1-1/+1
2020-01-13acme: allow spaces in window namesRuss Cox1-1/+1
There are many things we could do to make this work. an environment variable to control the character. Another option would be to use U+00A0 (non-breaking space), which renders the same as space. This change avoids changing the separator character and instead assumes that if the left side of the tag already ends in " Del Snarf |" then what comes before that is the file name. Acme already aggressively preserves the "Del Snarf |", so this should work decently well as a stop-gap. We can always try something else later. Fixes #26. Fixes #104. Fixes #329.
2020-01-13acme: factor out tag parsing codeRuss Cox1-10/+8
2019-06-10acme: accept expanded URLs in lookRuss Cox1-9/+39
Just as look expands a click in /etc/passwd to the full name (provided that file exists), it now expands a click in https://9fans.net/ to the full URL (provided the prefix is http:// or https://). Probably more adjustment is needed.
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-2/+8
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-01-16acme: claim input focus earlierDavid Jeannot1-2/+2
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5505091
2011-07-10acme: allow :?regexp for backward searchRuss Cox1-0/+4
Fixes issue 80. R=rsc http://codereview.appspot.com/4662088
2009-09-25acme: correct modified message after initial load; more detail inRuss Cox1-1/+2
message http://codereview.appspot.com/123051
2008-03-07acme: sync against Plan 9, remove -$ optionRuss Cox1-29/+14
2008-04-17acme: add -m option and avoid looking in the mirrorRuss Cox1-1/+1
2007-11-27mergeRuss Cox1-2/+2
2007-02-11various memory errors in acmersc1-6/+4
2006-06-25reopen plumber, build mailrsc1-14/+42
2006-06-16No more unrooted paths.rsc1-1/+23
2005-12-16Better window size management.rsc1-5/+9
2005-07-13applersc1-0/+2
2005-07-13various needed castsrsc1-3/+3
2005-03-21fix q1 computation bug in expandfile(). only affects external programsrsc1-2/+1
2005-03-14Add dollarsign support.rsc1-8/+20
2005-01-04don't need to rename Fidrsc1-5/+3
2004-12-27change to use new thread libraryrsc1-0/+1
2004-10-22change md argument to number etc. (which acted only as a flag)rsc1-2/+2
to an actual flag. buffer underrun check in number add xdata file for exactly the addressed region save addr across opens
2004-04-21undo the madness.rsc1-29/+8
2004-04-21$foo in tags - here only for reference.rsc1-8/+29
2004-03-26SunOS can rot in hell.rsc1-2/+2
2004-03-25Today's changes.rsc1-6/+6
More changes.
2004-03-21Small tweaksrsc1-2/+37
Lots of new code imported.
2004-03-02Little tweaks and documentation.rsc1-0/+2
2004-02-29Fighting the good fight.rsc1-52/+24
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/+772
Also add acme!