Commit Graph

2839 Commits

Author SHA1 Message Date
Russ Cox
813b3eea8b OS X PowerPC fixes (thanks Cameron Kaiser) 2011-10-23 17:55:23 -04:00
Russ Cox
a2deaac4b1 rio: quiet nm on Lion 2011-10-14 00:08:50 -04:00
Russ Cox
b4f9ba7894 libthread: fix 10.5.8 build - uname says 9.8.0 2011-10-14 00:01:12 -04:00
Russ Cox
04e0a9bb81 libthread: Lion context routines 2011-10-13 23:57:54 -04:00
Russ Cox
f1825251e7 9term: fix hold mode delay 2011-10-13 09:38:24 -04:00
Russ Cox
d0a596c5c8 devdraw: more fixes (thanks David Jeannot) 2011-10-12 13:40:35 -04:00
Russ Cox
210d461c87 merge 2011-10-12 13:19:04 -04:00
Russ Cox
7064acbd10 devdraw: cleanup, fix macargv 2011-10-12 13:18:32 -04:00
Russ Cox
0e881c054a 9term: hold mode back door
R=rsc
http://codereview.appspot.com/5248056
2011-10-11 09:34:25 -04:00
Russ Cox
f9c8cdb5a6 semicolons! 2011-10-07 11:41:04 -04:00
Russ Cox
c38ef9e7b6 libsec: fix dsagen 64-bit bug 2011-10-05 16:23:01 -04:00
Russ Cox
c5d1b22170 secstore: say password for win 2011-10-05 16:22:40 -04:00
Russ Cox
0e43f5c6d3 dsasign: new command 2011-10-05 16:20:59 -04:00
Russ Cox
281ca361d3 9pfuse: handle two more flags 2011-10-05 16:20:25 -04:00
David Jeannot
7479a49b90 devdraw: fix screen grabber, allocation warning
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5170041
2011-10-03 18:16:09 -04:00
Justin Davis
4b58d45707 devdraw: do not interpret alt-tab as alt for compose
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5132050
2011-09-28 14:11:32 -04:00
Russ Cox
6135b41c7d devdraw: disable Lion warning
R=rsc
http://codereview.appspot.com/5132045
2011-09-26 09:31:19 -07:00
Russ Cox
2860591b68 use cocoa on snow leopard
R=rsc
http://codereview.appspot.com/5146043
2011-09-26 09:27:55 -07:00
David Jeannot
513ce18d64 devdraw: cocoa updates
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5131041
2011-09-26 08:19:56 -07:00
Russ Cox
8bc80ada76 devdraw: handle, warn about Lion
R=rsc
http://codereview.appspot.com/5069042
2011-09-19 09:17:38 -04:00
Russ Cox
a59b2edeb3 dd: fix apple gcc return warning (even Go can handle this one, Apple!)
R=rsc
http://codereview.appspot.com/5068043
2011-09-19 09:10:05 -04:00
David Jeannot
48107872ba devdraw: update Lion cocoa
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5015042
2011-09-19 08:58:59 -04:00
David Swasey
53000799be 9term: fix insert
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4952066
2011-09-12 12:36:30 -04:00
David Jeannot
a287dbab23 devdraw: draft cocoa support
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4974060
2011-09-06 10:10:43 -04:00
Richard Miller
4a8214b1ec upas/smtp: fixes for authenticated connections
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4967049
2011-08-31 07:40:10 -04:00
Russ Cox
86ce4cedbf mk: pass environment to P command
R=rsc
http://codereview.appspot.com/4977041
2011-08-27 23:06:15 -04:00
Mathieu Lonjaret
13666ca73e win: hide not just passwords but also passphrases
R=rsc, nicolesimons1986
CC=plan9port.codebot
http://codereview.appspot.com/4957042
2011-08-26 16:40:04 -04:00
David du Colombier
b6863de7e1 zerotrunc: from Plan 9
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4809089
2011-08-16 16:11:56 -04:00
David du Colombier
f6d2cbfe47 test: update from Plan 9
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4847051
2011-08-16 16:11:48 -04:00
David du Colombier
11a3ce57b1 dd: update from Plan 9
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4850052
2011-08-16 16:11:39 -04:00
Fazlul Shahriar
dcdc3af143 mailfs: try to use the right version of stunnel
R=rsc
http://codereview.appspot.com/4876044
2011-08-16 15:50:48 -04:00
Jani Lahtinen
0c2ef23ff3 lib9: fix local addr in dial
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4826049
2011-08-16 14:02:11 -04:00
Russ Cox
a3b799d9f0 rc: silence lion roar
R=rsc
http://codereview.appspot.com/4835048
2011-08-02 16:21:33 -04:00
Russ Cox
fc567f476a build: OS X 64-bit build
R=rsc
http://codereview.appspot.com/4838047
2011-08-02 14:28:04 -04:00
Russ Cox
de1755b58d lex: 64-bit bug
R=rsc
http://codereview.appspot.com/4830054
2011-08-02 14:16:30 -04:00
Russ Cox
da7e3a5d39 acme: fix iq1 adjust bug
R=rsc
http://codereview.appspot.com/4816066
2011-08-02 07:57:48 -04:00
Russ Cox
65a5e5fe46 9term: home/end like acme
R=rsc
http://codereview.appspot.com/4830052
2011-08-02 07:55:20 -04:00
Russ Cox
76864eb6cd acme: scrolling fixes + new home/end
Home and End previously navigated between
two different window locations: the top and
the bottom of the text.  Now they include a
third waypoint: the location where typing last
happened.  Thus, in a win window, typing
	ls -l
	<home>
scrolls to the beginning of the ls -l output.
A second <home> continues to the top of the file.

Makes Send scroll always, along with writes by
external programs to +Errors.

R=r
CC=mccoyst
http://codereview.appspot.com/4830051
2011-08-02 07:44:11 -04:00
Russ Cox
67afaf385a acme: allow :?regexp for backward search
Fixes issue 80.

R=rsc
http://codereview.appspot.com/4662088
2011-07-10 20:35:23 -04:00
Russ Cox
ff4512ee90 acme: fix out of order address crash
R=rsc
http://codereview.appspot.com/4690042
2011-07-10 20:32:01 -04:00
Russ Cox
ce5fdeb446 grep: import $ fix from plan 9
R=rsc
http://codereview.appspot.com/4673053
2011-07-10 20:01:15 -04:00
Russ Cox
29fba8562c primes: faster output
R=rsc
http://codereview.appspot.com/4664053
2011-06-28 18:58:44 -04:00
Marius Eriksen
5e83be0dbf devdraw: dynamic discovery of MultiTouch devices
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4653041
2011-06-20 14:14:53 -04:00
David Swasey
e055ceb20b devdraw: Shrinking a window on osx 10.6.7 no longer disables drawing.
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4632051
2011-06-20 14:11:21 -04:00
David du Colombier
ce8d6f2465 vacfs: document replacement of -c flag by -M
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4595049
2011-06-13 14:41:52 -04:00
David du Colombier
3155ec718b venti: fix pragma varargck due to changes in tag()
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4517150
2011-06-13 14:41:26 -04:00
David du Colombier
8aeb3ea1c0 venti: fix usage to match manuals
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4593041
2011-06-07 16:53:11 -04:00
David du Colombier
9ee007320d venti: fix usage to match manuals
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4576041
2011-06-07 14:52:25 -04:00
David du Colombier
f7cca88267 libventi: import changes from plan 9
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4530100
2011-06-07 14:25:02 -04:00
David du Colombier
f5a8ea6fd8 venti: import changes from plan 9
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4523057
2011-06-02 09:33:56 -04:00
David du Colombier
7fb06adf54 upas/smtp: remove reference to /net in mxdial
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4535108
2011-06-02 09:31:59 -04:00
David du Colombier
363062eab4 acme Mail: drop noscroll
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4539098
2011-06-01 18:12:12 -04:00
Richard Miller
d9ada3e4f8 build: fix for non-standard uname
The scratchbox-based SDK for maemo cross-compilation (for Nokia N800 and N900) has a non-standard uname command which doesn't support the '-p' option.  This patch allows INSTALL to work anyway, by issuing 'uname -m' if 'uname -m -p' fails.

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4554041
2011-05-18 13:21:40 -04:00
Richard Miller
9cf92718e9 arm: build fixes
Get p9p to build cleanly for ARM - based on suggestions from rsc and eekee, plus a final tweak from me.  Tested (a bit) on sheevaplug (ubuntu jaunty), Nokia N800 (maemo 4) and Nokia N900 (maemo 5).

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4524056
2011-05-18 13:20:56 -04:00
Russ Cox
af0dea4531 SunOS fixes (thanks Aram Hăvărneanu)
R=rsc, rsc
http://codereview.appspot.com/4271084
2011-05-17 18:48:42 -04:00
Rob Pike
4e247f10fa gif: fix setting of transparency channels when writing gifs.
R=rsc
http://codereview.appspot.com/4538073
2011-05-17 17:46:45 -04:00
Russ Cox
333482548d lib9: restore SIGCHLD handler in rfork
R=rsc
http://codereview.appspot.com/4436071
2011-05-01 15:38:18 -04:00
Russ Cox
8cd258df4e crop: fix 64-bit
R=rsc
http://codereview.appspot.com/4438088
2011-05-01 14:42:58 -04:00
Russ Cox
ba31ab3044 9term, acme: autoscroll
Ignore scroll/noscroll window setting.
Instead, scroll when the write begins in
or immediately after the displayed window content.

In the new scrolling discipline, executing
"Noscroll" is replaced by typing Page Up or
using the mouse to scroll higher in the buffer,
and executing "Scroll" is replaced by typing End
or using the mouse to scroll to the bottom of
the buffer.

R=r, r2
http://codereview.appspot.com/4433060
2011-04-27 13:18:07 -04:00
Eoghan Sherry
42ef984cf2 mklatinkbd: fix buffer overflow
Fixes #71.

R=rsc
CC=codebot
http://codereview.appspot.com/4327057
2011-04-04 15:46:58 -04:00
Russ Cox
707b99e60b unvac: always create writable directories
R=rsc
http://codereview.appspot.com/4221043
2011-02-23 08:26:35 -05:00
Russ Cox
6886b3cd89 rc: fix $ifs bug introduced with utf-8 code
R=rsc
http://codereview.appspot.com/4187050
2011-02-16 12:48:06 -05:00
Russ Cox
31bffaba60 eqn: add working mbtowc and wctomb
Fixes UTF-8 input files.

R=rsc
http://codereview.appspot.com/4132042
2011-02-04 15:41:39 -05:00
Jeff Sickel
cbcec5adb9 devdraw: fix flashing during window drag
R=rsc
CC=codebot
http://codereview.appspot.com/3922043
2011-01-12 00:54:22 -05:00
Russ Cox
a2f6b810f5 factotum: add proto-specific key prompt
R=rsc
http://codereview.appspot.com/3852042
2011-01-02 18:50:00 -05:00
Russ Cox
3e899d0203 tr: 32-bit rune fixes
R=rsc
http://codereview.appspot.com/3761044
2011-01-02 18:42:25 -05:00
Russ Cox
2bde567347 mklatinkbd: fix out of bounds bug
R=rsc
http://codereview.appspot.com/3828045
2011-01-02 18:31:50 -05:00
Russ Cox
a8bf49f9cb acid: fix build
R=rsc
http://codereview.appspot.com/3784048
2011-01-02 18:30:22 -05:00
Russ Cox
5e90ec75ee libframe: fix line wrap display glitch (Erik Quanstrom)
R=rsc
http://codereview.appspot.com/3777044
2011-01-02 17:54:48 -05:00
Russ Cox
839c052a93 acid: 4-byte Runes
R=rsc
http://codereview.appspot.com/3860041
2011-01-02 16:01:05 -05:00
Russ Cox
b567422f98 keyboard(7): document X compose sequences
Add -x flag to mklatinkbd to generate file for $HOME/.XCompose.

Thanks to Anthony Martin, Tony Lainson, and Kris Maglione for legwork.

R=rsc
http://codereview.appspot.com/3811043
2011-01-02 15:39:09 -05:00
Russ Cox
0786c9647c rc: handle 4-byte utf-8
R=rsc
http://codereview.appspot.com/3833043
2011-01-02 13:44:15 -05:00
Russ Cox
72f66c2d3c rc: handle utf-8 in $ifs
R=rsc
http://codereview.appspot.com/3798046
2011-01-02 13:43:20 -05:00
Russ Cox
c4071243a5 factotum: update prototab (thanks Erik Quanstrom)
R=rsc
http://codereview.appspot.com/3750045
2010-12-28 21:46:07 -05:00
Russ Cox
02d8e8247f wc: 4-byte utf-8 capable (Erik Quanstrom)
R=rsc
http://codereview.appspot.com/3437044
2010-12-07 23:15:22 -05:00
Russ Cox
74dd032175 delete 9P2000.u
thanks to Erik Quanstrom

R=rsc
http://codereview.appspot.com/3469042
2010-12-07 13:34:11 -05:00
Russ Cox
d10a7ed9a8 auth/factotum: fix password prompt hang
Fixes #51.

R=rsc
http://codereview.appspot.com/3431044
2010-12-07 13:17:27 -05:00
Russ Cox
00f0146a5c venti: add mgr (work in progress)
R=rsc
http://codereview.appspot.com/3003041
2010-11-09 10:52:41 -05:00
Russ Cox
dc6625ea01 import: clean up correctly
R=rsc
http://codereview.appspot.com/2875041
2010-11-03 15:49:22 -04:00
Russ Cox
de2d77683e mkfiles: fix macargv buf
R=rsc
http://codereview.appspot.com/2729042
2010-10-27 19:40:16 -07:00
Russ Cox
afea5fc3fd mac: add 9term.app, Plumb.app
R=rsc
http://codereview.appspot.com/2783041
2010-10-27 18:22:03 -07:00
Russ Cox
c8471ac58c win: another attempt at input modes
R=rsc
http://codereview.appspot.com/2476042
2010-10-13 10:50:46 -04:00
Russ Cox
bb72982b79 libmach: fix warning about preadn
R=rsc
http://codereview.appspot.com/2388041
2010-10-07 04:23:17 -04:00
Anthony Martin
c54202e577 getflags: use shell quoting
R=rsc
CC=codebot
http://codereview.appspot.com/2065042
2010-10-07 03:35:43 -04:00
Russ Cox
a6ba36b663 plumber: comment out bogus user name check
R=rsc
http://codereview.appspot.com/2295043
2010-10-07 03:31:19 -04:00
Russ Cox
873e5f5094 libmach: more mach-o support
R=rsc
http://codereview.appspot.com/2277041
2010-09-24 12:25:25 -04:00
Russ Cox
875351f44f win: add cook/nocook
R=rsc
http://codereview.appspot.com/2162042
2010-09-10 09:31:56 -04:00
Russ Cox
77929f8261 topng: 64-bit fix
R=rsc
http://codereview.appspot.com/2124042
2010-09-03 10:21:44 -04:00
Russ Cox
ef5c6a6eda 9term, win: better echo cancellation
Also just drop \r from output.
It's a losing battle to keep turning it off.

R=rsc
http://codereview.appspot.com/2128042
2010-09-03 10:21:16 -04:00
Rob Pike
a208917e7a acme: fix rounding in rows computation
R=rsc
CC=codebot
http://codereview.appspot.com/2007045
2010-08-24 10:16:32 -04:00
Russ Cox
860d327c8f sam: use ulong as type of dev consistently
Otherwise io.c:39 compares int != ulong,
causing spurious file modification warnings
when dev doesn't fit in an int.

R=r
http://codereview.appspot.com/1917045
2010-08-04 17:35:44 -07:00
Russ Cox
4e2602a754 devdraw: snarf better with Chrome
maybe the code is also actually correct.  who knows.

R=rsc
http://codereview.appspot.com/1875045
2010-07-22 13:52:56 -07:00
Russ Cox
36d9b90c56 acme, sam: fix regexp code for bigger Runemax
R=r
http://codereview.appspot.com/1765042
2010-07-14 11:10:59 -07:00
Russ Cox
75a851e927 acme: fix off by one in editcmd, pointer comparison in getch, nextc
R=r
http://codereview.appspot.com/868046
2010-07-14 11:08:42 -07:00
Russ Cox
efe48aa670 lib9: add <sys/dkio.h> for OpenBSD
R=, rsc
CC=
http://codereview.appspot.com/1762045
2010-07-11 10:08:41 -07:00
Russ Cox
d67dc856d1 tar: rename sstrnlen to avoid OpenBSD compile error
R=, rsc
CC=
http://codereview.appspot.com/1810041
2010-07-11 09:48:51 -07:00
Michael Teichgräber
c006e98419 This patch fixes unicode, unicode-be and unicode-le
input, and unicode output, which have been broken due
to the change of the size of Rune from two bytes to
four bytes.

(Unicode-le and unicode-be output have not been
affected, since they work different, and produce
correct output as long as sizeof(Rune) >= 2.)

In all of the affected functions an extra array of N
elements of type u16int is used to temporarily store
the 16-bit unicode data.  As this increases stack
usage, perhaps a different, slightly more complicated
solution might be preferred, where only a single
`Rune buf[N]' is used for both temporary storage and
the result.

R=rsc
CC=codebot
http://codereview.appspot.com/1574041
2010-06-28 14:43:28 -07:00
Anthony Martin
25989d9eca tcs: macroman charset fixes
2126 -> 03a9 # greek capital letter omega
2012 -> 201c # left double quotation mark
00a4 -> 20ac # euro sign
f7ff -> f8ff # apple logo

R=rsc
CC=codebot
http://codereview.appspot.com/1233043
2010-06-28 14:37:40 -07:00
Anthony Martin
598020ec4e hget: use absolute url for POST through a proxy
R=rsc
CC=codebot
http://codereview.appspot.com/1282042
2010-06-28 14:37:26 -07:00
Anthony Martin
0efbfd36f5 9p: tflag sorts by mtime
R=rsc
CC=codebot
http://codereview.appspot.com/1265043
2010-06-28 14:33:30 -07:00
Anthony Martin
c988c8adf1 9term: fix getpts on linux
Openpty uses grantpt internally and its behavior is
unspecified when a handler is set to catch SIGCHLD.

Fixes issue 37. http://code.swtch.com/plan9port/issues/37

R=rsc
CC=codebot
http://codereview.appspot.com/1209049
2010-06-28 14:32:29 -07:00
David Swasey
670f730113 9term: add -c to force cooked mode
R=rsc
CC=codebot
http://codereview.appspot.com/1044043
2010-05-19 18:27:05 -07:00
Russ Cox
18ee9a80f1 mailfs: try tlsclient program before stunnel
R=rsc
http://codereview.appspot.com/1169043
2010-05-11 08:25:08 -07:00
David Swasey
01f6cb233f vac: debug prints
R=rsc
CC=codebot
http://codereview.appspot.com/816041
2010-04-13 13:18:45 -07:00
David Swasey
7771477e15 vac: eliminated vac cache size 128. vacfsopen used to take ncache rather than cachemem
R=rsc
CC=codebot
http://codereview.appspot.com/817041
2010-04-13 13:18:12 -07:00
David Swasey
7b08cf334b 9term: cut, snarf, and paste with keyboard on Mac
R=rsc
CC=codebot
http://codereview.appspot.com/854042
2010-04-13 13:16:36 -07:00
Arvindh Rajesh Tamilmani
80c90f271e fix build on SunOS (Sparc)
R=rsc
CC=codebot
http://codereview.appspot.com/882044
2010-04-09 15:28:16 -07:00
Russ Cox
f50c3e956f devdraw: only one flushproc, please (OS X)
R=rsc
http://codereview.appspot.com/799045
2010-04-02 14:53:13 -07:00
Eoghan Sherry
bea7c49aad win: scroll
R=rsc
CC=codebot
http://codereview.appspot.com/643041
2010-03-19 13:10:14 -07:00
Russ Cox
be856b940f acme: attempt to fix Put mtime skew on NFS
R=r
http://codereview.appspot.com/583043
2010-03-18 18:07:39 -07:00
Russ Cox
1619f52cbc probably_prime: run more than one Miller-Rabin round
R=rsc
http://codereview.appspot.com/462041
2010-03-11 18:04:42 -08:00
Russ Cox
a1afc8529d libsec: update primetest to use mpfmt
R=rsc
http://codereview.appspot.com/464041
2010-03-11 18:04:12 -08:00
Russ Cox
ddfc031c3b factotum: double-check RSA/DSA keys when loading
R=rsc
http://codereview.appspot.com/463041
2010-03-11 18:03:53 -08:00
Russ Cox
8e4ac5f7fa crop: fix size calculation
R=rsc
http://codereview.appspot.com/429042
2010-03-11 18:00:53 -08:00
Russ Cox
96898a8141 more type-punned pointers
R=rsc
http://codereview.appspot.com/376045
2010-03-10 14:59:03 -08:00
Russ Cox
0c9c620f39 fix type-punned pointer warnings from gcc
R=rsc
http://codereview.appspot.com/396042
2010-03-10 14:50:33 -08:00
Eoghan Sherry
d94cc62a01 devdraw: fix mouse(3) moveto on OS X
R=rsc
CC=codebot
http://codereview.appspot.com/224104
2010-03-03 18:11:36 -08:00
Russ Cox
35625b3f1a aescbc: more sensible behavior for invalid input, wrong password
R=rsc
http://codereview.appspot.com/221041
2010-02-22 17:02:26 -08:00
Russ Cox
5bc64a9422 factotum: avoid notes after backgrounding
R=rsc
http://codereview.appspot.com/220043
2010-02-22 16:56:44 -08:00
Russ Cox
c77d5b8e1c import: use command line service name
R=rsc
http://codereview.appspot.com/220042
2010-02-22 16:55:42 -08:00
Russ Cox
8425b514aa various: crctab now u32int
R=rsc
http://codereview.appspot.com/220041
2010-02-22 16:54:58 -08:00
Mathieu Lonjaret
c4da64274d rio: add alt-tab for cycling windows
R=rsc
CC=codebot
http://codereview.appspot.com/207093
2010-02-18 22:34:37 -08:00
Eoghan Sherry
93ee60c369 This should resolve the crash indicated in issue 44:
http://code.swtch.com/plan9port/issue/44/sam-crash

R=rsc
CC=codebot
http://codereview.appspot.com/207094
2010-02-18 22:32:37 -08:00
Russ Cox
9a05452085 make flate crc32 work when ulong is 64 bits
R=, rsc
CC=
http://codereview.appspot.com/203061
2010-02-07 16:51:28 -08:00
Russ Cox
28afa898ee devdraw: fix support for multitouch trackpads
R=rsc
http://codereview.appspot.com/203059
2010-02-06 22:16:46 -08:00
Mathieu Lonjaret
d9e047e5d5 R=rsc
CC=codebot
http://codereview.appspot.com/193069
2010-02-04 02:05:03 -08:00
Russ Cox
2d6da3763e libdraw: allow 32-bit Runes
R=, rsc
CC=
http://codereview.appspot.com/196054
2010-01-28 16:58:34 -08:00
Anthony Sorace
ecb01acac3 R=rsc
CC=codebot
http://codereview.appspot.com/193056
2010-01-26 12:48:31 -08:00
Russ Cox
a61c69337c devdraw: fix OS X resize bug caused by redraw bug fix
R=rsc
http://codereview.appspot.com/189104
2010-01-16 12:23:13 -08:00
Russ Cox
7d419a1421 devdraw: fewer spurious mouse clicks in OS X multitouch
Was turning all button touches into clicks of high
buttons, causing spurious clicks even outside the
app window.

R=rsc
http://codereview.appspot.com/189084
2010-01-15 00:01:12 -08:00
Russ Cox
fb243a134d devdraw: handle kEventWindowDrawContent
makes windows redraw properly when moved
between screens when monitors get shuffled around

R=
CC=
http://codereview.appspot.com/189076
2010-01-14 13:47:19 -08:00
Russ Cox
c51c29052e ed: new append from rob, avoids overflow in pointer arithmetic
R=rsc
http://codereview.appspot.com/188041
2010-01-12 11:16:14 -08:00
Russ Cox
68a6e0c0d0 acme: let Edit redo when file is clean
R=, rsc
CC=
http://codereview.appspot.com/188042
2010-01-12 11:11:19 -08:00
Fazlul Shahriar
6a6c2663bf win fixes
- don't exit from a "child" note unless rc exited (code copied from 9term.c)
- ignore writes to the tag; specifically " Send Noscroll" at startup.

R=rsc
CC=codebot
http://codereview.appspot.com/181115
2010-01-05 14:31:27 -08:00
Russ Cox
7d9c0f0f0e devdraw: release multitouch mouse when app is collapsed (minimized)
R=rsc
CC=plalonde, r
http://codereview.appspot.com/181129
2010-01-04 21:25:07 -08:00
Russ Cox
100ec44e51 devdraw: add multitouch code from Paul Lalonde
Various tweaks to avoid breaking standard mice,
but probably needs tweaks to work with multitouch
mice again.  Still, it's a start.

R=rsc
CC=plalonde, r
http://codereview.appspot.com/181124
2010-01-04 10:23:35 -08:00
Russ Cox
6530d37d7f troff: avoid crash if home == NULL
R=rsc
http://codereview.appspot.com/181070
2009-12-27 09:22:43 -08:00
Russ Cox
bf486dfc16 9pserve: roll back changeset 3118 - broke ssh-agent talking to factotum 2009-12-10 01:53:39 -08:00
Russ Cox
846cec9ebc sam: fix off-by-one in buffer merge.
exposed by UTFmax==4

R=rsc
http://codereview.appspot.com/165071
2009-12-06 17:27:08 -08:00
Enrique Soriano
8e692500d3 devdraw: fix OS X behavior for Spanish keyboards
R=rsc_swtch, rsc
CC=old.codebot, codebot
http://codereview.appspot.com/132045
2009-11-30 12:44:57 -08:00
Michael Teichgräber
4fe82be00a Related to issue
http://bitbucket.org/rsc/plan9port/issue/38/

This patch tries to make 9pserve work again with
9P2000 clients, in case the server handled by 9pserve
expects 9P2000.u.

(Since changeset
http://bitbucket.org/rsc/plan9port/changeset/d9843471f0bc/
servers using srv() stop communicating after they
received a 9P2000 msg that has a different .u
definition.)

Tattach, Tauth and Tcreate 9P2000 messages will
be translated now, if neccessary, to 9P2000.u by
growing them to the new size, and providing the
missing (default) values.

The code of the first two message types has been
tested with drawterm on linux (dialing factotum),
and mounts from within 9vx to plan9port's factotum
and dossrv.

The code for Tcreate couldn't be tested due to lack
of file servers both speaking 9P2000.u and allowing file
creation.

R=rsc_swtch, rsc
CC=codebot
http://codereview.appspot.com/151052
2009-11-30 12:39:50 -08:00
Fazlul Shahriar
63479cfb79 acme: fix Load of acme with no windows
R=rsc
CC=codebot
http://codereview.appspot.com/161048
2009-11-30 12:35:05 -08:00
Russ Cox
ba940ae61c libthread: context switching for arm, still not complete 2009-11-18 04:12:17 -05:00
Jeff Sickel
113867b836 devdraw: draft of new Cocoa-based devdraw
Can test with
	cd $PLAN9/src/cmd/devdraw
	mk devdraw-cocoa
	DEVDRAW=devdraw-cocoa colors
2009-09-29 09:35:23 -07:00
Russ Cox
daea2c7d50 acme: correct modified message after initial load; more detail in
message

http://codereview.appspot.com/123051
2009-09-25 01:43:54 -04:00
Russ Cox
1961ee8223 lib9: do not include st_dev in qid.path
http://codereview.appspot.com/123050
2009-09-24 21:21:27 -04:00
Russ Cox
cfa81d56c6 ed: update to 32-bit Runes
http://codereview.appspot.com/116119
2009-09-16 16:46:07 -04:00
Russ Cox
5028118068 devdraw: fix X11 input sequences
fixes http://groups.google.com/group/plan9port-dev/t/f865adc9a520653a
see also http://archive.netbsd.se/?ml=plan9-9fans&a=2007-03&t=3328886

http://codereview.appspot.com/117072
2009-09-14 17:23:37 -04:00
Michael Teichgräber
38b62735e4 rc: implement and document <>{cmd} notation
http://codereview.appspot.com/105061
2009-09-13 18:26:51 -04:00
Russ Cox
417b681c0d dhcpd: fix build on OS X, silence non-log prints
http://codereview.appspot.com/117064
2009-09-13 17:48:44 -04:00
Russ Cox
a0583cf256 tcs: update for 32-bit Rune
http://codereview.appspot.com/117063
2009-09-13 17:43:37 -04:00
Russ Cox
a21158473d postscript: update for 32-bit Rune
http://codereview.appspot.com/117062
2009-09-13 17:42:33 -04:00
Russ Cox
37c9485968 lib9: fix dirread/stat mismatch on Snow Leopard
http://codereview.appspot.com/116096
2009-09-13 17:30:12 -04:00
Russ Cox
efd88f54e8 vbackup: fix build on FreeBSD 8
fixes #30 http://code.swtch.com/plan9port/issues/30/

http://codereview.appspot.com/117060
2009-09-12 23:26:48 -04:00
Russ Cox
5d0dfbb05a devdraw: update OS X snarf for 32-bit Rune (again)
fixes #29 http://code.swtch.com/plan9port/issues/29/

The accidental resubmission of the patch caused
patch(1) to revert the patch.  Thanks, patch authors!

http://codereview.appspot.com/117057
2009-09-12 19:50:55 -04:00
Russ Cox
dd73705611 devdraw: update OS X snarf for 32-bit Rune
fixes #29 http://code.swtch.com/plan9port/issues/29/

http://codereview.appspot.com/117057
2009-09-12 19:38:54 -04:00
Russ Cox
6ad2891094 devdraw: update OS X snarf for 32-bit Rune
http://codereview.appspot.com/117057
2009-09-12 19:32:04 -04:00
Mathieu Lonjaret
7b5db1c35a libplumb, Mail: fix crash on nil plumb fids
http://codereview.appspot.com/116083
2009-09-12 15:25:51 -04:00
Russ Cox
0cadb4301d convert to 4-byte UTF-8 and 32-bit Rune
http://codereview.appspot.com/116075
2009-09-11 17:03:06 -04:00
Russ Cox
4dbf255619 acme: htmlclick takes precedence over line click
http://codereview.appspot.com/116074
2009-09-11 14:54:43 -04:00
Russ Cox
fa662c9571 INSTALL: fix build on Snow Leopard
http://codereview.appspot.com/116073
2009-09-11 13:51:50 -04:00
Venkatesh Srinivas
bf93068686 venti: handle FS block size > MaxIo
http://codereview.appspot.com/110071
2009-08-23 17:35:22 -04:00
Michael Teichgräber
e066b12927 rc: make read not ignore interrupts/errors (again)
http://codereview.appspot.com/110042
2009-08-23 13:25:44 -04:00
Russ Cox
375b78fb11 libavl: import from Plan 9 2009-08-23 09:38:29 -07:00
Venkatesh Srinivas
da0a205ed6 venti/copy: synchronize with Plan 9; indent in verbose mode
http://codereview.appspot.com/110062
2009-08-21 15:55:56 -04:00
J.R. Mauro
2fb0c4447e page: remove temporary file at program exit; fixes reading from stdin
http://codereview.appspot.com/105097
2009-08-20 14:38:31 -04:00
Tim Newsham
8ff457f56d lib9: dotu fixes in convS2M, convM2S
http://codereview.appspot.com/109049
2009-08-20 11:37:24 -04:00
Russ Cox
0829f75bba libthread: make page work on OS X 2009-08-17 17:29:44 -07:00
Fazlul Shahriar
5186b55afc dial: allow host==0 when net=="unix"
http://codereview.appspot.com/108042
2009-08-17 11:34:33 -04:00
Russ Cox
6d558e12b0 dial: reject dial to * (aka 0.0.0.0)
fixes #15 http://code.swtch.com/plan9port/issues/15

http://codereview.appspot.com/107043
2009-08-15 02:48:08 -04:00
Fazlul Shahriar
94349f64d1 page: add missing delayfreeimage calls
fixes #19 http://code.swtch.com/plan9port/issue/19

http://codereview.appspot.com/108041
2009-08-15 02:34:42 -04:00
Russ Cox
d19fdc056d libfmt: add missing copyright notice to nan64.c
nan64.c was part of change #1 in this repository and
did not have a notice at that point (September 2003).
An earlier copy of libfmt, dated January 14-15, 2003,
makes it clear that nan64.c was extracted from fltfmt.c
and strtod.c, so use the same notice they use.
2009-08-14 23:25:10 -07:00
Russ Cox
c8ae41fb03 more licensing 2009-08-14 22:49:38 -07:00
Russ Cox
6f4d7598d9 more licensing 2009-08-14 21:55:50 -07:00
Russ Cox
e96abc03b4 allow less restricted use of plan9port-specific code 2009-08-14 21:08:23 -07:00
Russ Cox
ae03a48ba9 move files that codebot put in the wrong place 2009-08-14 20:38:22 -07:00
Michael Teichgräber
5a8bc78967 awk: sync with Plan 9
http://codereview.appspot.com/104087
2009-08-11 20:16:30 -04:00
Tony Lainson
3b7ca01f98 9term: allow scroll wheel in main window
http://codereview.appspot.com/105082
2009-08-11 11:11:58 -04:00
Russ Cox
f2887b9de8 page: move cmd/page/cache.c to src/cmd/page/cache.c
not sure how the codebot screwed that up.
2009-08-10 20:01:56 -07:00
Fazlul Shahriar
b3453e08b8 page: add caching from Plan 9
http://codereview.appspot.com/105070
2009-08-09 20:13:48 -04:00
Fazlul Shahriar
3c6ab1854e stats: make more stats work in Linux
http://codereview.appspot.com/96084
2009-08-08 16:45:27 -04:00
Michael Teichgräber
74be46038d rc: fix segfault when SIGINT is received
Save the value of `runq' at the start of the function, so that the `pc'
update
at the end does work on that original value, and not on a probably
modified
value of `runq'.

fixes #14 http://code.swtch.com/plan9port/issue/14/

http://codereview.appspot.com/104066
2009-08-08 16:27:01 -04:00
Russ Cox
d17b040302 libfmt: use fmtstrtod, not system strtod
http://codereview.appspot.com/96185
2009-07-29 11:29:36 -04:00
Russ Cox
8e5ae416a7 libmemdraw: allow wider images
http://codereview.appspot.com/98067
2009-07-29 11:28:55 -04:00
Russ Cox
a4e2af8fff smugfs: delete debugging prints
http://codereview.appspot.com/98066
2009-07-29 11:28:00 -04:00
Russ Cox
5400bd239c lib9/fmt: fix printing of 1e308
pow10 was giving up too easily

http://codereview.appspot.com/96178
2009-07-28 16:43:23 -04:00
Russ Cox
e47d0a1e98 acme: angle bracket tag matching, for XML, HTML etc
http://codereview.appspot.com/98042
2009-07-26 15:05:07 -04:00
Russ Cox
6f4a41c68c libventi: correct handling of VtRead size
Fixes #7 http://code.swtch.com/plan9port/issue/7/

Thanks to Venkatesh Srinivas and Michael Teichgräber
for finding the bug.

http://codereview.appspot.com/98041
2009-07-26 13:40:01 -04:00
Russ Cox
44c6e39c25 vacfs: no post9pservice with -i
http://codereview.appspot.com/96159
2009-07-26 13:13:20 -04:00
Benjamin Huntsman
df865974bb mkhdr, buildmk: add alpha
http://codereview.appspot.com/95065
2009-07-17 02:05:02 -04:00
Russ Cox
9f8b1dc7fa build: work around broken Linux uname -p
fixes #8 http://bitbucket.org/rsc/plan9port/issue/8/
http://groups.google.com/group/plan9port-dev/t/8d1a2362dde4f137

http://codereview.appspot.com/95058
2009-07-16 03:30:22 -04:00
Russ Cox
861fdff54b getflags: delete (codebot did not) 2009-07-14 23:50:01 -07:00
Russ Cox
3cd77ae679 getflags: import from 4e, with usage
fixes #6 http://bitbucket.org/rsc/plan9port/issue/6/

http://codereview.appspot.com/95043
2009-07-15 02:48:37 -04:00
Russ Cox
9bea9069bf buildmk: sync $OBJTYPE with src/mkhdr
fixes #4 http://bitbucket.org/rsc/plan9port/issue/4

http://codereview.appspot.com/95042
2009-07-15 02:40:34 -04:00
Russ Cox
cb92a1b41c acme: do not redraw body on every tag change
fixes #5
http://bitbucket.org/rsc/plan9port/issue/5/
http://groups.google.com/group/plan9port-dev/t/e679347ecaa05cff

http://codereview.appspot.com/95041
2009-07-15 02:11:02 -04:00
Russ Cox
e6c837d612 merge 2009-07-14 22:55:52 -07:00
Russ Cox
76f90e5145 fontsrv: add half-documented -s option 2009-07-08 22:23:58 -07:00
Russ Cox
9b4a2324d3 merge 2009-07-08 21:43:14 -07:00
Michael Teichgräber
4a18fa68b0 src: use whatis instead of which 2009-07-08 09:18:42 -07:00
Michael Teichgräber
bb7ff349fb devdraw: generate Latin-1 table from lib/keyboard 2009-07-08 08:34:42 -07:00
André Günther
342866f89c devdraw: automatic OS X label updating 2009-06-17 09:09:10 -07:00
Russ Cox
a0899df665 libventi: fix cache teardown checks 2009-06-16 11:04:40 -04:00
Russ Cox
e781b7b60a vbackup: update to new libventi interface 2009-06-16 10:28:13 -04:00
Russ Cox
4a34106c7d merge 2009-06-16 07:16:25 -07:00
Russ Cox
b8f457199c vbackup: adapt to new libventi interface 2009-06-10 10:16:40 -07:00
Russ Cox
77ac358321 merge 2009-06-09 09:26:13 -07:00
Russ Cox
735f014c33 cmd: getline now a dirty word (James Toy) 2009-05-31 15:34:40 -07:00
Russ Cox
db56dbf36b scat: fix 64-bit warning 2009-05-25 21:06:12 -07:00
Kris Maglione
0e52c796bd page: fix for newer versions of ghostscript. 2009-05-25 23:55:04 -04:00
Russ Cox
75d048884c venti: 32-bit extensions to data structures 2009-05-25 02:11:27 -07:00
Russ Cox
33b446b8bb libventi: protocol support for blocks larger than 64k 2009-05-25 00:30:17 -07:00
Jeff Sicket
834d2a4dff devdraw: flush window on kEventAppShow 2009-05-17 11:07:09 -07:00
Russ Cox
7a61658daa 9pfuse: fix mkfile for people without . in their paths 2009-05-17 10:28:01 -07:00
Russ Cox
7abb729a31 Unicode superscript update
font/*/supsub.*: change superscript 1 into i; delete 2, 3
lib/keyboard: fix s1, s2, s3; add si
lib/unicode: add 2071
src/cmd/devdraw: update from lib/keyboard
2009-05-14 15:54:26 -07:00
Russ Cox
347aa646fc scat: make 64-bit safe 2009-04-30 11:35:25 -07:00
Russ Cox
122fda5913 scat: add to build 2009-04-30 11:09:52 -07:00
Russ Cox
d439750308 merge 2009-04-30 08:01:33 -07:00
Russ Cox
4aad1a3258 merge 2009-04-30 07:29:24 -07:00
Russ Cox
995e570976 libflate: shut up valgrind 2009-04-30 07:24:53 -07:00
Russ Cox
00d2ebe903 smugfs: directory mode should be 755 2009-04-30 07:22:30 -07:00
Russ Cox
e10a834215 9pfuse: clear O_EXCL too 2009-04-30 07:22:17 -07:00
Russ Cox
20512823c8 du: build by default; fix bug gcc discovered 2009-02-05 09:17:54 -08:00
Jeff Sickel
f0cd09f352 MacFUSE 2.0 updates 2008-12-10 13:26:16 -06:00
Russ Cox
fd0a0b2a62 venti/copy: no rewriting unless rewrite flag is set (Nathaniel W Filardo) 2009-02-04 21:55:03 -08:00
Russ Cox
ee85defda4 sed: avoid crash when rregexec return error 2009-02-04 20:13:18 -08:00
Russ Cox
1adb2a07bf merge 2009-02-04 20:12:48 -08:00
Russ Cox
65a34c7fac win: better SIGPIPE handling 2009-01-06 14:42:41 -08:00
Russ Cox
e465991ea6 9pfuse: allow O_APPEND in open and create (Roman Shaposhnik) 2008-12-30 14:27:30 -08:00
Russ Cox
0ac670585c libthread: work around gcc warning on FreeBSD 2008-12-23 13:03:07 -08:00
Russ Cox
3d424a64ec libventi: remove unused variable 2008-12-23 13:02:20 -08:00
Russ Cox
afaa1397f3 venti: disk i/o fixes and tweaks 2008-12-23 12:39:06 -08:00
Russ Cox
3b06b75766 venti: better inconsistency errors 2008-12-23 12:38:16 -08:00
Russ Cox
9b5f23c2de venti/verifyarena: shorter output, aligned i/o 2008-12-23 12:37:58 -08:00
Russ Cox
beaf487589 venti/mirrorarenas: shorter output, aligned i/o 2008-12-23 12:37:52 -08:00
Russ Cox
5df56af730 venti: ignore mgr lines in config 2008-12-23 12:36:33 -08:00
Russ Cox
ece9d931eb libventi: add %+T 2008-12-23 12:32:08 -08:00
Russ Cox
7e0b686233 lib9/dirwstat: missing prototype for chmod 2008-12-07 09:20:08 -08:00
Russ Cox
478054e0a7 mailfs: plumb messages correctly even if body comes before header 2008-12-06 18:54:02 -08:00
Russ Cox
272c1fb2d9 dc: cleanup, fix off-by-one memory error 2008-12-06 16:45:40 -08:00
Russ Cox
56e6f8f994 bc: cleanup, make sure to run 9 dc 2008-12-06 16:45:22 -08:00
Russ Cox
351f474b11 import: add -x flag 2008-12-06 16:44:26 -08:00
Russ Cox
60cbcf8634 awk: delete y.output 2008-12-06 16:34:18 -08:00
Russ Cox
cb53addfae acme: fix Load bug (Fazlul Shahriar) 2008-12-06 16:24:47 -08:00
Russ Cox
d85332fc43 awk/mkfile: tabify 2008-12-06 16:20:03 -08:00
Russ Cox
286bb40b76 unvac: add -d flag (David Swasey) 2008-12-06 16:14:10 -08:00
Russ Cox
115dbcecc8 lib9: can change length in dirfwstat, dirwstat; mode in dirwstat (David Swasey) 2008-12-06 16:05:41 -08:00
Jeff Sickel
63a686861c awk: import from sources 2008-11-03 12:35:56 -06:00
Jeff Sickel
41305b2355 libdraw: add borderop 2008-12-03 02:13:38 -06:00
Russ Cox
f4d56d7218 page: remove lingering ref to ccitt-g4 2008-12-06 15:53:27 -08:00
Russ Cox
e9a2f2e357 page: reorder cvt[] array to match enum 2008-12-06 15:46:58 -08:00
Albert Lee
8f6514208e src/cmd/page/gfx.c: use C89 array initialiser 2008-12-01 19:24:34 -05:00
Albert Lee
1a22c43f78 src/cmd/tar.c: avoid conflict with strnlen in libc 2008-12-01 19:41:36 -05:00
Albert Lee
112a2c5892 secstore: avoid name conflict with SS macro 2008-12-01 19:27:32 -05:00
Albert Lee
3aef37ba9b factotum: avoid name conflict with SS macro 2008-12-01 19:27:20 -05:00
Albert Lee
f134aa3cff 9660srv: dynamically init fcalls 2008-12-01 19:22:35 -05:00
Albert Lee
13c28c2c13 9660srv: give names to anonymous structs in union 2008-12-01 19:16:27 -05:00
Albert Lee
01e0780781 src/mkhdr: support Solaris x86 2008-12-01 19:12:39 -05:00
Russ Cox
ab937b56de dc: clean up minor memory errors 2008-12-06 15:35:55 -08:00
Russ Cox
c1b1466e95 venti: handle symlinks as disks 2008-12-06 15:33:23 -08:00
Russ Cox
52e34db194 vac: error handling bug in vacfileblockscore (David Swasey) 2008-12-06 14:45:57 -08:00
Russ Cox
b5a2d4dae7 unvac: correct handling of named prefixes (Mathieu Lonjaret) 2008-12-06 14:42:14 -08:00
Russ Cox
c8d681e850 troff: silence gcc printf warning 2008-11-17 19:48:37 -08:00
Russ Cox
6bf652ed9c eqn: silence gcc printf warning 2008-11-17 19:48:32 -08:00
Russ Cox
c6d1c6c617 lib9: fix memset in fmtnullinit 2008-11-17 19:45:37 -08:00
Russ Cox
95cb0f633d win: another attempt at DEL 2008-11-13 18:21:10 -08:00
Russ Cox
d66973d28e win: handle DEL internally so that it always works 2008-11-13 15:49:48 -08:00
Russ Cox
e1118cf27c win: implement Scroll and Noscroll 2008-11-13 15:39:56 -08:00
Russ Cox
d3e79f5b61 htmlroff: ignore \X... text; allow delims besides quote 2008-11-11 10:59:48 -08:00
Russ Cox
11257e5a43 lib9: null d->ext during nulldir 2008-10-26 17:03:17 -04:00
Russ Cox
589ae3a367 libventi: correct vtfilesetsize bug (reported by Michael Kaminsky) 2008-10-26 17:02:48 -04:00
Russ Cox
d19769ae98 libthread: correct sysfatal handler prototype 2008-10-26 17:01:59 -04:00
Jeff Sickel
5f67fe1b20 x3f support 2008-10-08 21:16:13 -05:00
Jeff Sickel
fd997ef09f updates to support current MacFUSE 2008-08-19 09:24:54 -05:00
Russ Cox
50e6d00cd3 devdraw/OSX: read $mousebuttonmap to allow swapping mouse buttons 2008-10-08 15:00:45 -07:00
Russ Cox
d69cf634a8 devdraw/OSX: flush to screen in background, fix resize bug 2008-10-08 15:00:02 -07:00
Russ Cox
607880ce78 devdraw/OSX: correct access to reply buffer (fixes rpc tag crash) 2008-10-08 14:59:32 -07:00
Russ Cox
362264eb51 rc: fix local variables in functions
reported by micah stetson:

fn foo { echo $bar }
bar=baz foo
2008-08-14 10:29:29 -04:00
Russ Cox
0e430b25b2 venti: silence warnings in icache.c 2008-08-07 11:17:06 -04:00
Russ Cox
1f441eaac4 src/cmd/mkfile: do not build smugfs by default (needs OpenSSL) 2008-08-03 07:43:03 -07:00
Russ Cox
18824b5868 smugfs(4): new program 2008-08-03 07:42:27 -07:00
grai
3d36f44373 devdraw: keep Ctl-Alt from turning into Ctl-U on X11 2008-07-22 03:21:55 +10:00
grai
91b79c582c 9p: honour the -l flag to ls 2008-07-22 03:22:33 +10:00
Russ Cox
dce4cbabd1 venti: work around gcc 4.3 bug (reported by Lucho Ionkov) 2008-07-31 15:41:54 -04:00
Russ Cox
17b19538a4 snoopy: add support for wireless monitor mode packets 2008-07-24 08:04:02 -07:00
Russ Cox
7e36b43bba snoopy: add support for DNS packets 2008-07-24 08:03:42 -07:00
Russ Cox
6f61477d26 9pfuse: ignore write errors on fusefd
FUSE makes a reply write fail if the reply is no
longer wanted.
2008-07-24 07:59:58 -07:00
Russ Cox
77fb6ec713 9pfuse: convert "invalid" to EINVAL 2008-07-24 07:59:25 -07:00
Russ Cox
482299b83c 9term: convert to new libframe 2008-07-21 12:32:45 -04:00
Brian L. Stuart
d63790eec8 vnfs: add -i flag to allow remote root 2008-07-20 04:50:09 -04:00
Russ Cox
94e1f2a438 rc: add subscript sequences (Erik Quanstrom) 2008-07-20 04:15:41 -04:00
Russ Cox
78a779a383 9660srv: import from Plan 9 2008-07-20 03:23:19 -04:00
Peter Canning
611cf11c03 acme: Dump and Load tag contents 2008-07-20 03:14:55 -04:00
Tim Wiess
69d1259cf9 libthread: add proper sysfatal 2008-07-20 03:11:05 -04:00
Russ Cox
57851b6412 libframe: translucent font fixes from Plan 9 2008-03-07 13:20:00 -05:00
Russ Cox
4163694051 acme: multiline tag fixes 2008-03-07 12:51:41 -05:00
Russ Cox
a2db69c8bd acme: revise multiline tag code 2008-03-07 11:07:17 -05:00
Russ Cox
cb1ac4c41d acme: remove -$ 2008-03-07 10:46:58 -05:00
Russ Cox
5f5dd85d10 acme: remove -$ prototypes 2008-03-07 10:46:42 -05:00
Russ Cox
734a96bd16 acme: sync against Plan 9, remove -$ option 2008-03-07 10:45:59 -05:00
Russ Cox
7927fe8f9e acme: add nomenu, menu ctl messages 2008-03-07 10:41:50 -05:00
Russ Cox
fdddf6f018 acme: tag resize nits 2008-03-07 07:48:08 -05:00
Russ Cox
0cd1385d9f acme: fix directory resize bug 2008-03-07 07:47:54 -05:00
Rob Pike
5e22f11b97 acme: fix acme Edit abort 2008-03-07 07:16:37 -05:00
Russ Cox
c5f884244d mailfs: correct use of tcs for large inputs 2008-07-14 17:38:46 -04:00
Russ Cox
d35c1bb294 lib9: turn certain signals off by default 2008-07-12 07:35:20 -07:00
Russ Cox
a58a827f2a lib9: add mode parameter to opentemp 2008-07-10 11:10:10 -04:00
Russ Cox
c224dda84e mkmk.sh: update for new date files 2008-07-10 11:10:00 -04:00
Russ Cox
2127ed4b02 upas: add misc to mkfile 2008-07-10 11:09:07 -04:00
Russ Cox
b2bf14149a nedmail: add -S parameter for alternate mail service 2008-07-10 11:08:53 -04:00
Russ Cox
3553fab125 snoopy: no trailing comma in array 2008-07-10 11:02:12 -04:00
Russ Cox
1f74e1b758 devdraw: correct mouse event buffering on OS X 2008-07-10 00:07:57 -04:00
Russ Cox
c752966bcb devdraw: minor OS X leak fixes and attempted speedups 2008-07-09 23:49:55 -04:00
Russ Cox
925b7c22c1 lib9p: add ramfs build rule (ramfs does not work) 2008-07-09 14:32:50 -04:00
Russ Cox
60a3190327 page: add canonical -W option 2008-07-09 14:32:25 -04:00
Russ Cox
71f6d60fcf rio: stub out _NET_WM_STATE_FULLSCREEN support 2008-07-09 14:30:30 -04:00
Russ Cox
427abd1ebd lib9: fix Apple disksize prototype 2008-07-09 14:17:30 -04:00
Russ Cox
e960e21be1 lib9: revert unintended changes to opentemp 2008-07-09 11:53:31 -04:00
Russ Cox
0a40aeedbf devdraw: default to native gui on OS X 2008-07-09 11:47:44 -04:00
Russ Cox
8315a8045c rio: only build if WSYSTYPE is x11 2008-07-09 11:46:30 -04:00
Russ Cox
a58f193d08 venti: add venti/dump program 2008-07-09 11:42:09 -04:00
Russ Cox
faf1fb6c7e libthread: abort on single-threaded lock contention 2008-07-09 11:41:14 -04:00
Michael Teichgräber
f35a04866f lib9: rewrite date routines to use /usr/share/zoneinfo directly 2008-07-09 08:27:22 -04:00
Russ Cox
dd9d5927a1 lib9: declare n in OpenBSD disksize (Eric Grosse) 2008-07-05 10:01:43 -04:00
Russ Cox
06421c01b9 lib9pclient: clear tx.extension for 9P2000.u 2008-07-04 16:35:52 -04:00
Russ Cox
9a939d5f19 lib9: do not try to hide symlinks as much 2008-07-04 16:24:54 -04:00
Russ Cox
bb53a229b2 mkmk.sh: update with write.c 2008-07-04 15:39:38 -04:00
Russ Cox
962d5a8b69 devdraw: double-check write return value on OS X 2008-07-04 12:39:01 -04:00
Russ Cox
a380a0033d 9p: can go back to using write 2008-07-04 12:38:40 -04:00
Russ Cox
cab935a0ba lib9: add write function that withstands interrupts 2008-07-04 12:38:26 -04:00
Russ Cox
fc9fc9c831 lib9pclient: remove debugging print 2008-07-04 12:36:26 -04:00
Russ Cox
56dc04c55f lib9p: add Srv.foreground flag 2008-07-04 12:24:14 -04:00
Russ Cox
0529411caa lib9p: update diroffset correctly on rewind 2008-07-04 12:23:37 -04:00
Russ Cox
07125953ea lib9pclient: one more dotu (Michael Kaminsky) 2008-07-04 12:19:30 -04:00
Russ Cox
9ec57f8b9e 9pfuse: always return . and .. 2008-07-04 12:16:53 -04:00
Russ Cox
869875b48b 9pfuse: better handling of SETXATTR (sqweek) 2008-07-04 03:41:19 -04:00
Russ Cox
4712e22300 lib9: use symlink size, not target size, in dirstat 2008-07-04 02:54:06 -04:00
Russ Cox
d07db89b00 9pfuse: add symlink support 2008-07-04 02:52:01 -04:00
Russ Cox
382ae73f24 lib9pclient: add support for 9P2000.u 2008-07-04 02:46:05 -04:00
Russ Cox
ac5a97e6b3 venti: reduce locking contention in buildindex 2008-07-03 22:44:24 -04:00
Russ Cox
cd87898f5d venti: more detail in index divisor too coarse message 2008-07-03 22:42:11 -04:00
Russ Cox
ce31e3d40b venti: bump MaxAMap 2008-07-03 22:42:03 -04:00
Russ Cox
030fb939cc venti: mark checksum-queued arenas in http output 2008-07-03 22:40:58 -04:00
Russ Cox
01c1b7633c venti: make sure arena checksum jobs cannot be missed 2008-07-03 22:39:59 -04:00
Russ Cox
d4bf606d29 venti/wrarena: add timing output, fix sync 2008-07-03 22:37:48 -04:00
Russ Cox
304ab920ad venti: allow plan 9 partitions as disk subnames 2008-07-03 22:37:17 -04:00
Russ Cox
cb29a5fce6 devdraw: make OS X native gui build (Eric Nichols) 2008-07-03 22:20:13 -04:00
Russ Cox
806c4c953c vnfs: quieter 2008-07-03 17:53:06 -04:00
Russ Cox
2c82cd6f52 lib9: clean up disk size code, add Apple (Anthony Sorace) 2008-07-03 17:45:17 -04:00
Russ Cox
5a764c33f5 devdraw: OS X: fix Unicode input errors (Andrey Mirtchovski) 2008-07-03 13:43:58 -04:00
Russ Cox
cdead40b9b devdraw: OS X: go full screen on largest device (Eric Nichols) 2008-07-03 13:35:12 -04:00
Russ Cox
e05b0ff3eb vac: add -a and -x flags
Thanks to Michael Kaminsky for the suggestion.
2008-07-03 01:34:48 -04:00
Russ Cox
d9841dc7ad devdraw: do not create OS X window group (Eric Nichols) 2008-07-03 00:02:31 -04:00
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
b61a5ce81e libdraw: do not let devdraw fork, for OS X 2008-07-01 07:39:10 -04:00
Russ Cox
b65a69c192 libdraw: die if display does 2008-06-30 19:44:15 -04:00
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