Russ Cox
e113e0a4bb
lib9: allow no $DISPLAY on OS X in getns
2008-06-30 19:41:24 -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
3e4ceac760
post9p: try mount9p before 9pfuse
2008-06-19 19:13:47 -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
e9b70a5f4c
libventi: minor vtfile bug fixes
2008-06-14 23:05:19 -04:00
Russ Cox
1309689171
libventi: return value nits
2008-06-14 23:04:44 -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
e082105c33
lib9: make netmkaddr handle unix! addresses better
2008-06-11 06:35:51 -07:00
Russ Cox
25745eb3b1
libdisk: avoid unreachable code to silence Sun cc warning (Russell Davies)
2008-06-04 20:59:28 -04: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
d29f5ece8b
libdiskfs: ext2 revision 1 tweaks (Fazlul Shahriar)
2008-06-01 08:47:06 -04:00
Russ Cox
df1ee4e1af
libthread: fix 64-bit bug in threadstart (Nathaniel Filardo)
2008-06-01 08:41:51 -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
002d2f2610
libregexp: more placating of gcc (John Gosset)
2008-05-10 13:36:05 -04:00
Russ Cox
66f6e2b651
lib9: hide uvlong/double conversions to placate gcc (John Gosset)
2008-05-10 13:35:54 -04:00
Russ Cox
ada24b4005
misc: array bounds fixes that gcc finds (John Gosset)
2008-05-10 13:35:19 -04:00
Russ Cox
a4307bf86d
lib9p: remove unused variables
2008-05-10 13:02:04 -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
57ce0d667e
localtime: use correct time zone more often (Michael Teichgräber)
2008-05-06 14:45:39 -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
0215811dc2
libthread: fix no-receive nbrecv etc. bug (David Jeannot)
2008-05-06 12:51:19 -04:00
Russ Cox
454ae2ad28
libmux: more robust code
2008-05-05 23:09:48 -04:00
Russ Cox
80f2165d27
libthread: input sanity checks
2008-05-05 23:08:35 -04:00
Russ Cox
118dfa98b8
post9pservice: accept mtpt (via fuse)
2008-05-05 23:07:54 -04:00
Russ Cox
ce1e3a796c
lib9p: make ramfs build
2008-05-05 23:06:39 -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
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