Commit Graph

1377 Commits

Author SHA1 Message Date
Russ Cox
31aedb82d3 devdraw: OS X unicode input (Andrey Mirtchovski) 2008-07-02 23:42:28 -04:00
Russ Cox
9b3ac17050 vac: fix -m bug (Myron Cheung) 2008-07-02 15:39:13 -04:00
Russ Cox
a1b61b4635 devdraw: OS X mouse scroll fix (Jeff Sickel) 2008-07-02 12:49:08 -04:00
Russ Cox
81a90f898b devdraw: OS X alt key support 2008-07-01 20:45:49 -04:00
Russ Cox
8cb7983083 devdraw: add %F for fullscreen on OS X 2008-07-01 08:50:05 -04:00
Russ Cox
9142d36228 devdraw: OS X native version 2008-06-30 19:41:08 -04:00
Russ Cox
1e77a39450 snarfer: OS X native version (ha!) 2008-06-30 19:40:59 -04:00
Russ Cox
dfe57535af 9p: fix writen (sqweek) 2008-06-19 23:07:48 -04:00
Russ Cox
c92f73e481 vacfs: silence print 2008-06-19 19:13:20 -04:00
Russ Cox
7dc6d2444c 9pfuse: "fix" O_LARGEFILE on x86_64 linux (sqweek) 2008-06-19 18:56:56 -04:00
Russ Cox
55d98d64b8 9p: exit on write error (sqweek) 2008-06-19 18:52:22 -04:00
Russ Cox
fa3c8da1c0 vacfs: present qids correctly 2008-06-15 01:46:23 -04:00
Russ Cox
4395d738f4 vac: fix usage, more #ifdef PLAN9PORT 2008-06-15 01:27:07 -04:00
Russ Cox
003c13aa18 vac: make qids unique 2008-06-15 01:19:37 -04:00
Russ Cox
ada3d479a7 vacfs: plan 9 compatibility 2008-06-14 23:19:18 -04:00
Russ Cox
948cc14e07 vac: plan9 compatibility 2008-06-14 23:12:20 -04:00
Russ Cox
62e69a48c7 vac: remove fs.c 2008-06-14 23:09:26 -04:00
Russ Cox
ecc0a1b0e7 vac: major cleanup and bug fixes 2008-06-14 23:08:50 -04:00
Russ Cox
c52cda3061 vac: cleanup 2008-06-14 14:29:24 -04:00
Russ Cox
70c9f86c10 unvac, vacfs: allow literal vac scores in addition to file names 2008-06-14 13:41:07 -04:00
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
rsc
f9888587c7 oops 2007-05-21 21:09:24 +00:00
rsc
b7cb7453e2 print error if changing time fails 2007-05-20 14:37:29 +00:00
rsc
e1ad38bf2f new test.c from plan 9 2007-05-19 16:22:38 +00:00
rsc
97e4432344 better tick handling 2007-05-10 19:34:04 +00:00
rsc
af4c27865c Better tick management - no frdrawseltick calls. 2007-05-10 19:27:45 +00:00
rsc
7a3533513e manage off-screen tick better 2007-05-10 19:08:47 +00:00
rsc
e54f9a4ad2 Unswap perm and omode in fsfcreate call (Michael Teichgräber) 2007-05-09 00:06:11 +00:00
rsc
d7158243a6 Better flag handling in fusecreate (Michael Teichgräber) 2007-05-09 00:05:06 +00:00
rsc
4198bd0e2e fix random troff crash (Noel Hunt) 2007-05-08 02:52:21 +00:00
rsc
e17c64a7cd fix troff input (Colin DeVilbiss) 2007-05-05 13:08:06 +00:00
rsc
cd2bb6ce1d propagate offset in reads and writes (Michael Teichgräber) 2007-05-04 19:15:39 +00:00
rsc
4b3989fd41 report target list as 32-bit chunks, not 8-bit, for OS X 2007-05-04 02:19:18 +00:00
rsc
7c809320ca OS X crap 2007-05-04 01:42:24 +00:00
rsc
2305af1c11 no need to be so forward about it 2007-05-03 22:27:52 +00:00
rsc
29cfa38567 add gnu grep -q flag (rob pike) 2007-05-03 22:26:51 +00:00
rsc
3270dcf06c say utf8string before string in target list 2007-05-03 21:12:20 +00:00
rsc
0335ceaeb6 try for utf8 string first in getsnarf; new test program snarf 2007-05-03 19:13:56 +00:00
rsc
703c2d41ac use clump info directory to walk past corruption 2007-05-03 03:14:59 +00:00
rsc
0e26338762 add -r for readonly 2007-05-03 03:14:43 +00:00
rsc
786ce2cf5c oops 2007-05-03 03:14:34 +00:00
rsc
91872ab97b allow plan9-style branded disks as configs 2007-05-03 03:14:30 +00:00
rsc
c482feff4b allow fixarenas of single arena file 2007-05-03 03:14:02 +00:00
rsc
1d53bf4a03 fix buildindex minibuf sizing bug 2007-05-03 03:13:47 +00:00
rsc
6a5a2a9562 fix arenas if possible 2007-05-03 02:35:47 +00:00
rsc
ef609927dd OS X linker crap (John Nowak) 2007-05-03 02:22:49 +00:00
rsc
6b9887c7e5 debugging 2007-05-03 02:21:52 +00:00
rsc
53f56329be read pcap 2007-05-02 19:58:17 +00:00
rsc
57775dd9f3 cannot use fadv_random on linux -- too slow 2007-04-27 19:32:12 +00:00
rsc
ef67e917aa bug in tester 2007-04-27 18:19:36 +00:00
rsc
e46cacb0ea add flushpart; avoid O_DIRECT on linux 2007-04-27 18:14:45 +00:00
rsc
7e4524011b checkpoint 2007-04-27 17:52:24 +00:00
rsc
9ec61f3ede allow swap of column 0 with others 2007-04-25 18:59:29 +00:00
rsc
2bd7756a44 quieter 2007-04-24 16:30:43 +00:00
rsc
81573e491f mirror log processor 2007-04-24 16:29:42 +00:00
rsc
ebcef6f010 fix various nits; clean up output 2007-04-24 16:26:01 +00:00
rsc
07029cdbbd cleanup 2007-04-23 14:40:54 +00:00
rsc
8d271d6cc3 checked magic! 2007-04-22 13:56:21 +00:00
rsc
300f21776e freepart on readbloom failure 2007-04-22 13:55:47 +00:00
rsc
e6594f1a04 quieter 2007-04-22 13:54:53 +00:00
rsc
d0648192ab warn about \w no arg 2007-04-21 22:37:13 +00:00
rsc
14b4a4702c unix fix 2007-04-21 22:36:01 +00:00
rsc
3cbbc79a05 test scripts 2007-04-21 22:32:46 +00:00
rsc
d392fc771e new args 2007-04-21 21:27:51 +00:00
rsc
6932098c9f more fixes 2007-04-21 20:49:30 +00:00
rsc
43b99cd970 new 2007-04-21 19:41:25 +00:00
rsc
27d2809820 sync with mit plan 9 version 2007-04-21 19:40:55 +00:00
rsc
adcb656c84 correct dump string (Fazlul Shahriar) 2007-04-17 05:43:22 +00:00
rsc
c7a10afd38 xnet (Jeff Sickel) 2007-04-14 14:59:27 +00:00
rsc
caccd753fd fix double-fclose (Gabi Diaz) 2007-04-13 12:16:37 +00:00
rsc
4492a1eef7 better memory stats (Jeff Sickel) 2007-04-12 14:18:57 +00:00
rsc
86190ea39d complain loudly about vtwrite failure 2007-04-08 01:33:31 +00:00
rsc
5cd829d589 finish conversion to libthread; avoids extra page proc sticking around (Tim Wiess) 2007-04-03 12:50:49 +00:00
rsc
fbc629a995 keep path and PATH in sync 2007-03-28 16:04:37 +00:00
rsc
05a4d855f1 add page (Kris Maglione) 2007-03-26 20:55:26 +00:00
rsc
6c4c5c5b95 fix empty string interpolation bugs (Michael Teichgräber) 2007-03-26 17:27:08 +00:00
rsc
edd308cfa2 fix int/size_t warning (Chad Dougherty) 2007-03-26 17:07:31 +00:00
rsc
2894c70c08 do not redefine rewind 2007-03-26 17:04:41 +00:00
rsc
96dada90ef pad out zmagic to 32+ bytes 2007-03-26 15:03:34 +00:00
rsc
40402738da more memory errors (valgrind) 2007-03-26 15:02:15 +00:00
rsc
4b241872ef fix wait 2007-03-26 14:26:32 +00:00
rsc
bd1b0cc17e fix phantom rc crashes 2007-03-26 14:24:44 +00:00
rsc
314f5742af better rc detection (Michael Teichgräber) 2007-03-26 13:38:36 +00:00
rsc
63b581e320 64-bit 2007-03-26 13:38:24 +00:00
rsc
a584135910 make :1-1 work (Arvindh Tamilmani) 2007-03-26 13:26:22 +00:00
rsc
c8f538425f sync with plan 9 2007-03-26 12:02:41 +00:00
rsc
79049567a0 try to handle Beof in the macros (Michael Teichgräber) 2007-03-25 18:32:51 +00:00
rsc
ff3dce55bf remove double free (David Swasey) 2007-03-25 17:42:25 +00:00
rsc
6d4dda86ee fix args to should (David Swasey) 2007-03-25 17:36:43 +00:00
rsc
8f57d0d0d9 make Load more faithful to original Dump (Peter Canning) 2007-03-25 17:32:16 +00:00
rsc
3087c4fe19 fix again 2007-03-25 17:28:01 +00:00
rsc
2b66e58623 use plain char if no translation in troffchar (fix ", "" in wintext(1)) 2007-03-25 17:25:30 +00:00
rsc
1e987f65a1 import statusbar, converted to libthread (Lou Kamenov) 2007-03-25 17:19:30 +00:00
rsc
edc77f0b2b cope with programs that leave fd in non-blocking mode (Tim Wiess) 2007-03-25 17:16:40 +00:00
rsc
d76a49fb43 fix tags again 2007-03-16 03:28:46 +00:00
rsc
fb04a0b942 libc conflict on os x 2007-03-15 17:35:43 +00:00
rsc
1bcfd909e7 fix too-aggressive tag redraw 2007-03-15 16:26:09 +00:00
rsc
a741551866 -ldraw no longer implies -lX11 2007-02-22 14:27:45 +00:00
rsc
cc0e11e417 various memory errors in acme 2007-02-11 18:42:11 +00:00
rsc
35368876eb write YYARG def to ftable (fdefine might be null, and is not the right place anyway) 2007-01-29 16:46:16 +00:00
rsc
c2ab969eca Make ls -lF work. 2007-01-29 15:12:42 +00:00