Commit graph

2127 commits

Author SHA1 Message Date
Russ Cox
715d6f8e14 sam: allow more output from ! command (Rob Pike) 2008-04-15 19:15:17 -07:00
Russ Cox
0f815464fc libip: fix 64-bit problem in nhgetv (William Josephson) 2008-03-22 10:06:26 -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
350f4d3ede libsec: use intptr to silence 64-bit warning (Michael Teichgräber) 2008-03-06 15:14:03 -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
34167aa6b0 lib9: gcc-4.2 bug in sprint 2008-03-03 23:37:12 -05:00
Russ Cox
b32d9d9c2e libthread: remove bogus write in threadmain 2008-02-28 08:49:34 -05:00
Russ Cox
845f6bce38 lib9p: fix Tattach ref count bug 2008-02-04 15:34:00 -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
52abe8e130 libdiskfs: fix ext2 directory reading bug (Mike Mammarella) 2008-01-12 11:04:41 -05:00
Russ Cox
1a4b58ebd8 acme: make STACK bigger for OS X (David Swasey) 2008-01-10 22:45:22 -05:00
Russ Cox
0a98a883d5 libdraw: fix spinning event loop (David Bulkow) 2008-01-10 21:38:42 -05:00
Russ Cox
27589754e4 libregexp: fix match choice bug
This bug fix allows some pathological regular
expressions to cause the regexp library to
report a stack overflow (really a stack filling; safe)
but it also fixes the behavior of some common regexps.
It is too hard to satisfy both.
2008-01-10 17:06:51 -05:00
Russ Cox
6d08a0f548 libregexp: revert regexp fix 2007-12-07 17:33:41 -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
a7511dd43d libregexp: fix ambiguous match selection
echo SYSSYSR1 | sed 's/SYS.+/sysr1/'

was producing SYSsysr1 instead of sysr1.
Bug was introduced during overflow cleanup earlier this year.

Also bring regexec.c and rregexec.c into sync again.
Also allocate large enough lists in the regexec2/rregexec2 case.
2007-12-07 15:32:45 -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
6519f89515 libdiskfs: work around OS X linker brain-damage 2007-11-05 16:37:29 -05:00
Russ Cox
760f2fb6a9 libmach: move machbyname, mach to crack.c to avoid OS X linker problem 2007-11-05 14:53:16 -05:00
Russ Cox
2640996af8 libthread: use our own swapcontext/makecontext even on OS X 10.5 2007-11-05 13:14:52 -05:00
Russ Cox
88cf592723 libmp: no text jump labels for darwin 2007-11-05 12:27:49 -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
ea55a42c96 libthread: better OS X 10.5 test (Jeff Sickel) 2007-11-03 16:10:39 -04:00
Russ Cox
32ee64c230 venti: use 9ar, not ar (fixes Darwin build problem) 2007-10-31 17:29:00 -04:00
Russ Cox
e7ae61181c libthread: Apple OS X 10.5 (Leopard) tweaks (Jeff Sickel, Bakul Shah) 2007-10-30 13:33:12 -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
47ede89e4a libthread: simplify alt tracking, possibly fixing bug 2007-08-22 11:14:30 -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
d28cfee19e more from dave swasey 2007-06-18 15:24:25 +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
1d550471f1 another 2007-06-09 04:59:40 +00:00
rsc
2f9d900118 day one bug in sam regexp code 2007-06-09 04:58:00 +00:00
rsc
63408c39a1 mac resource fork - from Dave Swasey 2007-06-08 14:29:39 +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
703d3cbc4c fix comment 2007-05-29 13:42:07 +00:00
rsc
adf6cb6c37 add hfs 2007-05-29 13:42:03 +00:00
rsc
d63163af35 hfs (David Swasey) 2007-05-28 20:27:25 +00:00
rsc
dcb5580cf0 fix args 2007-05-28 17:41:28 +00:00
rsc
92a9bc24f9 disk partitions 2007-05-28 17:34:39 +00:00
rsc
51d1a81c38 add disk partitions (David Swasey) 2007-05-28 17:34:27 +00:00
rsc
27c1d3a436 quiet 2007-05-28 17:22:28 +00:00
rsc
5957fc1e7a Bterm before return 2007-05-28 17:16:21 +00:00
rsc
f9888587c7 oops 2007-05-21 21:09:24 +00:00
rsc
29412e1c31 fix pointer comparison (Ramon de Vera) 2007-05-21 19:21:56 +00:00
rsc
4276f84713 futimes on linux now 2007-05-20 14:38:54 +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
da7f7882a2 Match leading ^ in regexp with embedded newlines (Roger Peppe) 2007-05-18 16:43:43 +00:00
rsc
9752950804 new media size from Lou Kamenov 2007-05-15 13:10:51 +00:00
rsc
43f16cfa92 again 2007-05-11 00:20:51 +00:00
rsc
69bdb78dec use device names for FreeBSD (Lou Kamenov) 2007-05-11 00:16:40 +00:00
rsc
97e4432344 better tick handling 2007-05-10 19:34:04 +00:00
rsc
024c9812e4 revert frseltick 2007-05-10 19:30:02 +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
813751d754 add frdrawseltick 2007-05-10 19:08:09 +00:00
rsc
35920e96a1 fix nan64 2007-05-10 04:18:22 +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
528dba4d31 use standard sun context routines 2007-05-01 10:51:23 +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
5d3be93240 fix memory leak (bakul shah) 2007-04-24 06:49:30 +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
30df15f9ec use fmtlocaleinit 2007-04-21 22:25:45 +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
946b8d7086 add searchpairs 2007-04-21 20:41:08 +00:00
rsc
f599f28c33 fix various chunked-related bugs 2007-04-21 19:48:16 +00:00
rsc
6ce75e8dc0 sync with plan 9 2007-04-21 19:43:09 +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
33433b3fde allow longer timezones from %Z (xav@chantry) 2007-04-17 05:45:27 +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
4f6d2bb1e8 correct dangling pointer race (Bakul Shah) 2007-04-08 01:30:26 +00:00
rsc
ada7ea055b another day, another __isNaN 2007-04-06 13:27:55 +00:00
rsc
fdfecd6860 new __isNaN (Scott Schwartz) 2007-04-06 01:49:05 +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
b109049fbd add very big file support (David Swasey) 2007-03-25 17:35:08 +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