Commit Graph

1257 Commits

Author SHA1 Message Date
Russ Cox
64f9764ea9 vac: clean up, add unvac 2008-06-14 13:28:49 -04:00
Russ Cox
01cea2ecb8 venti: add demo programs readfile.c and writefile.c 2008-06-14 10:57:45 -04:00
Russ Cox
ef6606c7a7 9pserve: add -c option 2008-06-11 06:40:54 -07:00
Russ Cox
f0315273ec acme: fix owner bug in elogapply 2008-06-01 09:11:21 -04:00
Russ Cox
ff086a8232 vftp: walk fixes (Fazlul Shahriar) 2008-06-01 08:50:49 -04:00
Russ Cox
e22c0f6f85 sort: use noted(NDFLT) in note handler
There are many more random notes flying around
here in Unix-land than there were on Plan 9.
For example, some shells implement "cat file | sort"
with cat as the child of sort, so that when cat exits,
sort gets a "sys: child" note.  noted(NDFLT) knows
which signals aren't really important and can be ignored,
and which need to kill the program.
2008-06-01 08:26:10 -04:00
Russ Cox
5f6612babb merge 2008-05-31 12:09:43 -04:00
Russ Cox
518f0a1d31 upas/fs: accomodate new post9pservice 2008-05-10 13:43:14 -04:00
Russ Cox
24726c810b mailfs: add -m option 2008-05-10 13:43:01 -04:00
Russ Cox
ada24b4005 misc: array bounds fixes that gcc finds (John Gosset) 2008-05-10 13:35:19 -04:00
Russ Cox
5d32c407ba acme: fix mtpt crash (Tim Wiess) 2008-05-08 16:20:19 -04:00
Russ Cox
a2660887c0 misc: more post9pservice callers 2008-05-07 12:55:48 -04:00
Russ Cox
865e8b0fb3 mailfs: handle windows-1251 correctly
now my cyrillic spam displays right!
2008-05-06 14:25:26 -04:00
Russ Cox
118dfa98b8 post9pservice: accept mtpt (via fuse) 2008-05-05 23:07:54 -04:00
Russ Cox
3c8afaf281 9pfuse: bug fix in error case 2008-05-05 23:05:56 -04:00
Russ Cox
0445f64f64 vacfs: quieter 2008-04-17 16:26:14 -04:00
Russ Cox
7db5826d1b post9pservice: add extra arg to unmodified calls 2008-04-17 16:13:04 -04:00
Russ Cox
be3e351464 vacfs: implement -m flag 2008-04-17 16:12:34 -04:00
Russ Cox
cd5a73785d acme: add -m option and avoid looking in the mirror 2008-04-17 16:04:19 -04:00
Russ Cox
e63025d094 9pfuse: accept - for stdin, try to hang up cleanly 2008-04-17 16:03:49 -04:00
Russ Cox
1412580357 sam: clean up checkerrs (Rob Pike) 2008-04-16 06:32:43 -07:00
Russ Cox
9f8a101a7c merge 2008-04-15 19:17:51 -07:00
Russ Cox
715d6f8e14 sam: allow more output from ! command (Rob Pike) 2008-04-15 19:15:17 -07:00
Russ Cox
29770b4f21 9pfuse: use intptr to silence 64-bit warning (Michael Teichgräber) 2008-03-06 15:21:09 -05:00
Russ Cox
c42f7f4201 eqn: use intptr to silence 64-bit warning (Michael Teichgräber) 2008-03-06 15:13:02 -05:00
Russ Cox
ad8d54238b xshove: document, tweak 2008-01-31 21:15:43 -05:00
Russ Cox
f73497bbaf rio: add xshove program 2008-01-31 20:56:23 -05:00
Russ Cox
9daa3ca74e tr2post: rename charlib files to not be case-dependent (OS X) 2008-01-31 16:58:38 -05:00
Russ Cox
d694fe22b7 acme: fix regexp match choice bug 2008-01-30 13:47:15 -05:00
Russ Cox
3a9401ae90 sam: fix regexp match choice bug 2008-01-30 13:47:07 -05:00
Russ Cox
0f897f99ef devdraw, rio: more full-screen nonsense 2008-01-30 13:26:00 -05:00
Russ Cox
c155dcfeb7 devdraw: full-screen cleanup 2008-01-30 12:03:11 -05:00
Russ Cox
e601e525de rio: more full-screen fixes. 2008-01-30 12:02:01 -05:00
Russ Cox
35288690ce devdraw: add F11 for full-screen toggle 2008-01-30 12:01:43 -05:00
Russ Cox
54dd92bebc merge 2008-01-30 10:30:45 -05:00
Russ Cox
0206bd5113 rio: make full-screen work properly; add showevent 2008-01-30 10:29:17 -05:00
Russ Cox
1a4b58ebd8 acme: make STACK bigger for OS X (David Swasey) 2008-01-10 22:45:22 -05:00
Russ Cox
2deda14e42 sam: revert regexp fix 2007-12-07 17:33:03 -05:00
Russ Cox
73778baeb3 acme: revert regexp change 2007-12-07 17:32:35 -05:00
Russ Cox
608a09284e sam: regexp fix (see libregexp change) 2007-12-07 15:33:58 -05:00
Russ Cox
6f16e7fc1b acme: regexp fix (see libregexp change) 2007-12-07 15:33:38 -05:00
Russ Cox
6c6117397f hoc: print exact floating point output 2007-12-07 15:29:19 -05:00
Russ Cox
6d069877f0 sam: turn off DEBUG logging (oops) 2007-12-04 19:55:22 -05:00
Russ Cox
b88619038f vbackup: fix uninitialized variable use in -i code 2007-12-04 09:03:08 -05:00
Russ Cox
34b2f0bc1d acme: refresh window properly after Tab command (Fazlul Shahriar) 2007-11-28 23:32:32 -05:00
Russ Cox
a4b5da0be7 vbackup: add -i flag to avoid score prefetching (David Swasey) 2007-11-27 15:49:09 -05:00
Russ Cox
83ab7d8896 merge 2007-11-27 15:39:06 -05:00
Russ Cox
e0e75ef7f4 upas/smtp: remove intermediate files 2007-11-27 15:38:29 -05:00
Russ Cox
3f4e0dc707 tpic: clean up better 2007-11-27 15:37:31 -05:00
Russ Cox
a6e6840c21 venti: add debugging html form 2007-11-27 15:36:58 -05:00
Russ Cox
50808670fc build: use ar s flag to avoid ranlib 2007-11-05 11:27:14 -05:00
Russ Cox
eb5d2a54d5 diff: continue after i/o errors when diffing many files 2007-11-05 11:09:39 -05:00
Russ Cox
e84044be84 mailfs: add -r flag to specify mail root (Richard Bilson) 2007-11-05 10:55:26 -05:00
Russ Cox
f1ea0d2916 mailfs: handle NIL body 2007-11-05 10:52:30 -05:00
Russ Cox
523f31487b factotum: silence gcc warning 2007-11-05 10:37:56 -05:00
Russ Cox
32ee64c230 venti: use 9ar, not ar (fixes Darwin build problem) 2007-10-31 17:29:00 -04:00
Russ Cox
45ac814c86 venti: fix sync deadlock, add /proc stub 2007-10-29 14:33:17 -04:00
Russ Cox
c5a183de10 grap: fclose, error context bug fixes (Doug Gwyn) 2007-10-29 10:34:43 -04:00
Russ Cox
151b86a037 srv: add -n flag to reject auth by clients 2007-10-12 12:56:57 -04:00
Russ Cox
9b25329723 9pserve: add -n flag to reject auth by clients 2007-10-12 12:55:19 -04:00
Russ Cox
4ff6950783 9p: add -n to disable authentication 2007-10-12 12:52:52 -04:00
Russ Cox
7a400ee957 venti: new icache 2007-09-25 09:47:31 -04:00
Russ Cox
25a4e89fa9 venti: fix double free on corrupt bloom filter 2007-09-25 09:46:52 -04:00
Russ Cox
952f137f04 venti: formatting changes for wrarena 2007-09-24 22:35:57 -04:00
Russ Cox
67a65bbaa5 venti: formatting changes in fixarenas 2007-09-24 22:33:34 -04:00
Russ Cox
c1edcb95cf venti: formatting changes in findscore 2007-09-24 22:33:21 -04:00
Russ Cox
12c0e45f79 venti: throw away dcache read-ahead code 2007-09-24 22:32:46 -04:00
Russ Cox
b41e39aa1a venti: move os x linker hack 2007-09-24 22:31:26 -04:00
Russ Cox
72281ecda8 venti/randtest: compute totalbytes correctly 2007-09-24 22:29:16 -04:00
Russ Cox
50f5d1a7a8 factotum: fix build error (Axel Belinfante) 2007-09-16 17:28:44 -04:00
Russ Cox
7be768e78c auxstats: use acpi to find battery info on Linux (Andrey Mirtchovski) 2007-09-15 19:06:48 -04:00
Russ Cox
d96dce4d87 factotum: implement p9cr 2007-09-13 21:12:49 -04:00
Russ Cox
ec9247088b 9pserve: delete from correct hash slot (fix infinite loop) 2007-08-28 08:45:27 -04:00
Russ Cox
db1cda12ae venti: seal arenas without bypassing dcache 2007-08-23 19:02:35 -04:00
Russ Cox
2432b7b1e5 venti: allow partition syntax in verifyarena (Michael Kaminsky) 2007-08-23 11:53:47 -04:00
Russ Cox
6610dac99c venti: avoid race in mirrorarenas (Michael Kaminsky) 2007-08-23 11:10:58 -04:00
Russ Cox
92baf59b69 venti: add -s flag to disable redundant SHA1 in mirrorarenas 2007-08-23 11:01:20 -04:00
Russ Cox
6b0a42ed04 mailfs: fix handling of FLAGS response (Robert Vollmert) 2007-08-22 11:21:52 -04:00
Russ Cox
acecbb1619 acme: fix memory leak in warning (Michael Teichgräber) 2007-08-22 10:58:30 -04:00
Russ Cox
4a6f051073 9pserve: fix a new race involving assert(c->nmsg == 0).
Just like outputthread can have processed the message
but not yet called msgput, the same is true of the
connoutthread, so we cannot check c->nmsg until
after the connoutthread has shut down gracefully.
2007-08-22 09:14:25 -04:00
Russ Cox
ebda53e16b merge 2007-08-22 09:00:26 -04:00
Russ Cox
841d71b5c6 9pserve: fix races causing assert(c->nmsg == 0) to fail.
1. Could happen that connoutthread sends c->outq a nil
just before the regular input handler sends c->outq a real message.
When the connoutthread gets the nil it will free c->outq,
leaving the real message unprocessed.

2. Could happen that the outputthread writes a message
body to the remote 9P server and then a response comes
in and then the connection gets torn down, all before the
outputthread manages to call msgput(m).
Thanks to David Swasey for identifying this scenario.

Also change yield() loop into explicit communication.

Also remove dead code involving hungup queues.
2007-08-22 08:55:08 -04:00
rsc
eb44dca240 mailfs: fix subject formatting 2007-06-25 02:42:09 +00:00
rsc
e12bc7cd5b silence 2007-06-23 06:35:51 +00:00
rsc
de7b2cd774 refresh on i, y commands 2007-06-23 06:30:41 +00:00
rsc
e4ad2971d7 --chatty 2007-06-23 06:27:57 +00:00
rsc
313c365a29 remove elsewhere-deleted messages from window; Refresh -> Get 2007-06-23 06:27:38 +00:00
rsc
7cc0e47fa8 add Get, Refresh commands; refresh at startup 2007-06-23 06:14:23 +00:00
rsc
bb70a84b1f bug fixes:
list message 1.
give correct contents for raw, rawheader, rawbody.
provide filename and charset in mime attachments.
only rename mailboxes named mbox* not mbox*.
2007-06-23 06:12:50 +00:00
rsc
9ec386fef4 add -a aname 2007-06-21 02:11:21 +00:00
rsc
6654bd74cb more macfuse path nonsense 2007-06-20 00:10:03 +00:00
rsc
6322b295cf ignore window resize; should be elsewhere 2007-06-18 15:19:26 +00:00
rsc
73ac88baa7 remove debugging print 2007-06-18 14:44:03 +00:00
rsc
9952c0eb9f fix acme Snarf bug; change Indent to apply to all windows 2007-06-15 04:07:21 +00:00
rsc
933a862577 always write last block in vcat (dave swasey) 2007-06-12 18:35:37 +00:00
rsc
9437f55b49 vbackup for mac tweaks (dave swasey) 2007-06-12 18:35:17 +00:00
rsc
c99ef336aa better fix 2007-06-09 05:17:47 +00:00
rsc
2f9d900118 day one bug in sam regexp code 2007-06-09 04:58:00 +00:00
rsc
001dc1709b less chatty 2007-06-05 21:34:14 +00:00
rsc
c59c3b2112 fix dotdot? (dave swasey) 2007-06-04 03:30:17 +00:00