Commit Graph

1534 Commits

Author SHA1 Message Date
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
Russ Cox
a3b799d9f0 rc: silence lion roar
R=rsc
http://codereview.appspot.com/4835048
2011-08-02 16:21:33 -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
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
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
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
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
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
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
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
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
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
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