Commit Graph

2553 Commits

Author SHA1 Message Date
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