Commit Graph

2391 Commits

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