Commit graph

2754 commits

Author SHA1 Message Date
Russ Cox
01e3847b7e xd: accept -S for 8-byte swap
R=rsc
https://codereview.appspot.com/7565045
2013-03-11 17:26:11 -04:00
Russ Cox
36bb28dc63 devdraw: control+click = button 2, alt/shift+click = button 3
For single-button mouse users.

R=rsc
https://codereview.appspot.com/7620043
2013-03-07 22:40:47 -05:00
Russ Cox
17934beda0 devdraw: silence unused variable warnings
R=rsc
https://codereview.appspot.com/7304064
2013-02-08 12:46:59 -05:00
Russ Cox
5154e54d8b devdraw: disable XCopyArea optimization
Ubuntu Precise seems to have a buggy X server
that sometimes fails at XCopyArea. Let devdraw
do it itself.

This will slow down remote X a little bit,
but slow and correct is better than fast and broken.

R=rsc
https://codereview.appspot.com/7310069
2013-02-08 12:44:56 -05:00
Alessandro Arzilli
cac1425c4a fontsrv: fix on X11 when X11H is not defined
R=rsc
CC=plan9port.codebot
https://codereview.appspot.com/7228044
2013-01-30 17:46:16 -08:00
Xi Wang
0dc3aa4b1d libmach: fix crash in dwarfpc (misuse of realloc)
R=rsc
CC=plan9port.codebot
https://codereview.appspot.com/7225059
2013-01-30 17:46:12 -08:00
David du Colombier
d5baaf984f jpegdump: fix build and warnings
R=rsc
https://codereview.appspot.com/7070070
2013-01-19 10:05:12 +01:00
David du Colombier
23efb34d47 freq: fix crash with utf > 0xffff (thanks Andrey Mirtchovski)
R=rsc
https://codereview.appspot.com/7029054
2013-01-04 20:06:08 +01:00
David du Colombier
0798d6b741 venti/wrarena: fix arenapart breakage
R=rsc
https://codereview.appspot.com/7027044
2013-01-03 06:48:36 +01:00
Russ Cox
cb71c0bdc4 fontsrv: only build when the pieces are there 2012-12-18 07:22:19 -08:00
Christian Kellermann
1a512ec048 fontsrv: fix build on OpenBSD 5.2
R=rsc
CC=plan9port.codebot
https://codereview.appspot.com/6850108
2012-12-11 12:45:45 -05:00
David du Colombier
0b4fd92105 auth/factotum: fix password prompt hang with secstore
R=rsc
http://codereview.appspot.com/6906057
2012-12-09 11:24:30 +01:00
Russ Cox
09adcb0901 fontsrv: make single quotes look like quotes
R=rsc
https://codereview.appspot.com/6864051
2012-12-03 15:55:13 -05:00
Russ Cox
1785490baa fontsrv: scaled pjw
R=rsc
https://codereview.appspot.com/6854130
2012-12-01 00:35:06 -05:00
Russ Cox
c96d832508 acme: retina scaling for scroll bars, button
R=rsc
http://codereview.appspot.com/6854094
2012-11-26 00:33:05 -05:00
Russ Cox
c28224992a samterm: retina scaling for scroll bars, borders
R=rsc
http://codereview.appspot.com/6844083
2012-11-26 00:23:06 -05:00
Russ Cox
a8a0a6422c 9term: adjust to dpi changes
R=rsc
http://codereview.appspot.com/6847105
2012-11-26 00:13:18 -05:00
Russ Cox
58b1904e3e devdraw: fake dpi calculation on Mac
R=rsc
http://codereview.appspot.com/6782115
2012-11-25 23:55:27 -05:00
Russ Cox
cc9547960e libframe: auto scale tick for retina
R=rsc
http://codereview.appspot.com/6850102
2012-11-25 23:48:19 -05:00
Russ Cox
ffaaaf9dae devdraw: use %R not Fn-F3 for retina toggle
R=rsc
http://codereview.appspot.com/6854093
2012-11-25 23:47:54 -05:00
Russ Cox
55905845f3 devdraw: add forcedpi toggled by Fn+F3 on Mac
R=rsc
http://codereview.appspot.com/6846104
2012-11-25 23:38:14 -05:00
Marius Eriksen
2589c5c6ee acme: set $samfile (same as $%) during execution
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/6854092
2012-11-25 22:56:08 -05:00
Russ Cox
e19fde3584 fontsrv: work around a few crashes
Probably not the right fix, but gets us going.

R=rsc
http://codereview.appspot.com/6782113
2012-11-25 22:45:32 -05:00
Russ Cox
c6d1f20537 devdraw: fix retina mode
R=rsc
http://codereview.appspot.com/6847104
2012-11-25 22:43:57 -05:00
Russ Cox
9f3851871e libdraw: add scalesize
R=rsc
http://codereview.appspot.com/6855092
2012-11-25 22:15:57 -05:00
Russ Cox
d0e0701913 devdraw, libdraw: add display->dpi
Fixed at 100 right now, but the plan is to make it accurate
and then use it.

R=rsc
http://codereview.appspot.com/6856091
2012-11-25 21:41:52 -05:00
Shenghou Ma
7b9ef735a8 devdraw: restore compilation on OS X 10.6
Also add some ignored files to .hgignore

R=rsc
http://codereview.appspot.com/6842089
2012-11-25 21:20:18 -05:00
Russ Cox
9ca6e21f3d acme: use threadspawnd to avoid changing "." of current process
R=rsc
http://codereview.appspot.com/6736060
2012-10-22 12:32:31 -04:00
Russ Cox
9e4b56e764 libthread: add threadspawnd
R=rsc
http://codereview.appspot.com/6742064
2012-10-22 12:32:09 -04:00
Marius Eriksen
81c2c5e775 acme: add $acmeshell to control execution shell
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/6614056
2012-10-21 16:52:08 -04:00
Yuval Pavel Zholkover
9c61127928 fontsrv: x11 support
R=rsc, 0intro
CC=plan9port.codebot
http://codereview.appspot.com/6739047
2012-10-21 16:49:13 -04:00
Rob Kroeger
e13727e3c4 plumb.app: accept plumb:foo as alias for foo
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5495046
2012-10-21 12:53:33 -04:00
Caio Oliveira
e4122a42b9 devdraw: map X11 dead_diaresis to double quote
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/6690049
2012-10-21 12:12:00 -04:00
Erik Quanstrom
33cdf63251 libmemdraw: fix int size bug
R=rsc, quanstro
CC=plan9port.codebot
http://codereview.appspot.com/6657043
2012-10-21 12:08:49 -04:00
Russ Cox
c5bfba483f silence more warnings
R=rsc
http://codereview.appspot.com/6744056
2012-10-21 12:04:56 -04:00
Russ Cox
0cfb376070 fix clang warnings reported by Tuncer Ayaz
R=rsc
http://codereview.appspot.com/6744054
2012-10-21 11:25:08 -04:00
Russ Cox
caade78487 lib9: fix Mac warning
R=rsc
http://codereview.appspot.com/6749053
2012-10-20 13:42:39 -04:00
Russ Cox
220c15d2b7 fix gcc 4.7 warnings (thanks Tuncer Ayaz)
R=rsc
http://codereview.appspot.com/6744053
2012-10-20 13:36:52 -04:00
Rob Kroeger
c3feb5c5c1 libframe: use correct text color when painting
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/6625065
2012-10-16 13:57:43 -04:00
Rob Kroeger
ef99c9f1ae devdraw: MacBook retina support
Enable with export devdrawretina=1 (everything will be smaller).

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/6592072
2012-10-16 13:55:44 -04:00
Russ Cox
60a47420a8 devdraw: prefer 24-bit over 15-bit or 16-bit.
Fixes remote X11 use via XQuartz 2.7.4.

R=rsc
http://codereview.appspot.com/6624058
2012-10-07 09:48:47 -04:00
Erik Quanstrom
5b6028903d acme: correct writes of runes on auspicious byte boundaries
R=rsc, r
CC=plan9port.codebot
http://codereview.appspot.com/6586067
2012-10-05 16:42:25 -04:00
Akshat Kumar
ac3ba726f9 src/cmd: Add a repurposed import(4), called `9import', to the ports.
The code is adapted from Plan 9's import(4); this allows us to speak
that protocol. We don't currently support AAN (in the works) or
TLS/SSL.

Thanks to David for help with the man page, testing, and development.

R=0intro, rsc
CC=plan9port.codebot
http://codereview.appspot.com/6458100
2012-09-24 10:35:01 -04:00
Russ Cox
37f8ed2410 acme: mouse movement for Del
If the mouse was in the tag of the old window,
it was most likely pointing at Del. If bringing up a
new window from below and not moving the mouse
somewhere else, adjust it so that it ends up pointing
at Del in the replacement window's tag too.
This makes it easy to Del a sequence of windows in
a column, from top to bottom.

http://www.youtube.com/watch?v=ET8w6RT6u5M

R=r
http://codereview.appspot.com/6558047
2012-09-23 22:01:56 -04:00
Russ Cox
9dbe4a0df9 snarfer: disable during build
Don't want to require X11 during OS X build anymore.

R=rsc
http://codereview.appspot.com/6531045
2012-09-18 11:39:24 -04:00
Russ Cox
85504cda14 sam: add $% as an alias for $samfile
R=r
http://codereview.appspot.com/6488137
2012-09-17 14:53:11 -04:00
Russ Cox
54bebe6a69 libdraw: add visibleclicks mode
R=rsc
http://codereview.appspot.com/6501137
2012-09-17 12:39:49 -04:00
David du Colombier
6f568da64e lib9/p9dialparse: fix segfault on gethostbyname
In some situations, gethostbyname can
return an empty address list.

R=rsc
http://codereview.appspot.com/6443097
2012-09-11 17:11:44 +02:00
Ties Bos
d4ccb0a943 9pfuse: fix memory leak, avoid memory explosion
Change is to handle FUSE_FORGET in main loop instead of separate thread for each as 10s of thousands can come in at once.
Fixes issue 104.

R=0intro, rsc
http://codereview.appspot.com/6498081
2012-09-10 22:07:26 -04:00
Russ Cox
4db1ecb904 lib9: remove ss_len manipulation in _p9dialparse
Not all systems have ss_len, and we've never set it before.

R=rsc
http://codereview.appspot.com/6497102
2012-09-08 13:53:59 -04:00
Russ Cox
d905d2f5fe 9pfuse: osxfuse support
R=rsc
http://codereview.appspot.com/6503093
2012-09-08 12:49:19 -04:00
Russ Cox
1c99633848 lib9: fix announce on OS X
R=rsc
http://codereview.appspot.com/6495109
2012-09-08 12:49:03 -04:00
David du Colombier
3dade5fe59 lib9/dial: fix addrlen in connect() and bind()
On some systems, the third argument of connect() and bind()
is expected to be the length of the address family instead
of the length of the sockaddr structure.

R=rsc
http://codereview.appspot.com/6489072
2012-09-04 18:45:19 -04:00
Russ Cox
fee1a4639b disk/mkfs,disk/mkext: fix mkdir conflict
R=rsc
http://codereview.appspot.com/6445076
2012-08-05 13:10:47 -04:00
David du Colombier
d24b814167 lib9/getnetconn: add support for IPv6
R=rsc
http://codereview.appspot.com/6457077
2012-08-03 21:25:31 +02:00
David du Colombier
3a616eaa80 vacfs: fix create srv with ORCLOSE on plan 9
In the current code, the srv file is removed
just after the main thread exits, while the
srv thread is still running, which is not
the expected behavior.
We moved the srv creation just before the
procrfork, in order that the srv file will
not be removed until the srv thread exits.

R=rsc
http://codereview.appspot.com/6397047
2012-08-03 21:12:10 +02:00
David Jeannot
9bcf137376 devdraw: make it 3 times faster on OS X
This patch reverts the recent patch named "devdraw: fix for OS X 10.8", and fixes redrawing on OSX 10.8 differently, making scrolling under Acme 3 times faster.

R=rsc, mirtchovski
CC=plan9port.codebot
http://codereview.appspot.com/6452087
2012-08-03 13:26:46 -04:00
Rob Kroeger
ad4025bd76 devdraw: fix for OS X 10.8 (Mountain Lion)
In MacOS 10.8, the NSBitmapImageRep class appears to cache the specified
image data at the time of construction. As a result updates to the
backing memimage object do not get pushed to the screen in flushimg.

This patch creates the NSBitmapImageRep object over again for each
flushimg which would appear to fix the problem.

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/6443063
2012-07-31 11:24:44 -04:00
David du Colombier
4ed8efea38 libventi: fix segfault in vtgetreq
Don't call vtlog() when _vtqrecv() returns
nil on queue hangup, as reported on
http://bitbucket.org/rsc/plan9port/issue/102/

R=rsc
http://codereview.appspot.com/6373046
2012-07-29 18:53:37 -04:00
Russ Cox
d2173bb552 disk/mkfs, disk/mkext: add from Plan 9
R=rsc, rsc
http://codereview.appspot.com/6405057
2012-07-17 19:10:45 -04:00
Russ Cox
20f5692b7f openbsd updates (thanks Pascal Stumpf)
R=rsc
http://codereview.appspot.com/6401049
2012-07-14 10:16:54 -04:00
Russ Cox
c934984537 libmach: remove debug print
R=rsc
http://codereview.appspot.com/6395048
2012-07-14 09:07:10 -04:00
Russ Cox
9d4f8bfecc auth/factotum: fix flush (thanks Erik Quanstrom)
R=rsc
http://codereview.appspot.com/6402044
2012-07-14 08:30:51 -04:00
David du Colombier
d765c37110 lib9: fix openbsd build
Fix build error and warning on OpenBSD 5.1,
as reported by Dimitri Sokolyuk.

R=rsc
http://codereview.appspot.com/6350044
2012-06-27 20:02:03 +02:00
David du Colombier
3409bc9ae1 lib9/dial: add support for IPv6
The function p9dialparse() returns the host as a sockaddr_storage
structure instead of a u32int, to be able to handle both IPv4
and IPv6 addresses. Because the sockaddr_storage structure also
handle port numbers and Unix path names, there is no longer
need to set them in the calling functions. However, these values
are still returned for convenience.

The sockaddr_in and sockaddr_un structures have been replaced
by sockaddr_storage to handle Unix, IPv4 and IPv6 sockets.

Names and addresses are resolved using either gethostbyname()
or getaddrinfo() functions.

The getaddrinfo() function is documented in RFC2553 and standardized
since POSIX.1-2001. It supports both IPv4 and IPv6 addresses.
The gethostbyname() function is deprecated since POSIX.1-2008.
However, some libc implementations don't handle getaddrinfo()
properly, thus we preferred to try gethostbyname() first.

I've tried to preserve most of the old code logic to prevent
from surprising or unwanted behavior.

R=rsc
http://codereview.appspot.com/6255068
2012-06-02 21:50:59 +02:00
Russ Cox
5d03af6557 fix INSTALL warnings
R=rsc
http://codereview.appspot.com/6258060
2012-05-29 15:11:14 -04:00
Abhishek Kulkarni
71ce470a2b venti: fix VtMaxLumpSize
R=rsc, adkulkar
CC=plan9port.codebot
http://codereview.appspot.com/6108047
2012-05-29 13:34:52 -04:00
Russ Cox
c149b06f2e plumb: remove debugging print
R=rsc
http://codereview.appspot.com/6210059
2012-05-15 10:55:53 -04:00
David du Colombier
4ded140a67 venti: remove bloomlookuptime in stats
R=rsc
http://codereview.appspot.com/6197057
2012-05-07 16:20:44 +02:00
David du Colombier
3f79d3ee64 venti: fix bloom in stats
R=rsc
http://codereview.appspot.com/6201049
2012-05-07 15:55:41 +02:00
David du Colombier
d117737d44 venti: fix writedonechan size in bloom
R=rsc
http://codereview.appspot.com/6128063
2012-05-02 06:44:38 +02:00
Russ Cox
e7e953b3da venti: add bootstrap mode (write + no index)
R=rsc, rsc
http://codereview.appspot.com/6097047
2012-04-22 15:27:06 -04:00
Russ Cox
a2df31f46d venti: fix typo
R=rsc
http://codereview.appspot.com/5989059
2012-04-07 15:40:06 -04:00
Russ Cox
20271fedfb venti: add arenapart support to wrarena
R=rsc
http://codereview.appspot.com/5988058
2012-04-07 15:38:59 -04:00
David du Colombier
b27a990f9f vacfs: remove 9P2000.u relic
R=rsc
http://codereview.appspot.com/5970072
2012-04-04 16:51:27 +02:00
David Jeannot
1f4c574440 devdraw: fix mouse warping with multi-monitor on OS X
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5748043
2012-03-05 21:14:34 -05:00
Russ Cox
4a000a28d3 merge 2012-03-05 16:36:31 -05:00
David Jeannot
a319037781 Devdraw now waits for the image: this means that
there is no more blank image when toggling
fullscreen, when unminimizing, or at startup; this
also means that we can live resize, but we only
enable live resizing with Page, because it seems
useless for other apps, and Acme and Sam bug with
it. The tradeoff is that bottom corners are
sometimes automatically rounded. There is a way to
prevent the rounding here:
http://parmanoir.com/Custom_NSThemeFrame
but this would obfuscate the code. Instead, we
make sure that the corners are always rounded.

Closing the window while its content is updated
causes an exception, without this patch. This
seems to happen regularly with stats(1).

This patch avoids a possible deadlock at startup,
which I never experienced. If I recollect right,
there is little chance that this happens on a
multi-core CPU.

Minimizing now activates next app in line, and
Devdraw now stops drawing while minimized.

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5499043
2012-03-05 15:54:26 -05:00
David Jeannot
7e2a1983e7 devdraw: fix winsize (-W) on OS X
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5749043
2012-03-05 15:38:59 -05:00
Russ Cox
354c6c32f1 devdraw: fix fullscreen on Lion
Now, if you full-screen an app running on a secondary
screen, it only takes over that monitor.  It does not cause
the primary screen to disappear.

Code by David Jeannot.

R=djeannot24
http://codereview.appspot.com/5708046
2012-02-28 14:56:13 -05:00
Russ Cox
443d628838 libmach, acid, db: 64-bit support 2012-02-19 18:11:39 -05:00
David du Colombier
60d96f2e43 venti: import venti/conf from plan 9
R=rsc
http://codereview.appspot.com/5572066
2012-01-26 17:33:36 +01:00
David du Colombier
83b247a771 libventi: add functions vtsha1 and vtsha1check
These functions are equivalent to vtSha1 and vtSha1Check
from the old libventi and are particularly used by Fossil.

R=rsc
http://codereview.appspot.com/5555064
2012-01-21 10:01:20 +01:00
David Jeannot
f4792e43ae devdraw: enable gestures on OS X
Remove swipe gestures.
Keep only 2-finger pinching and 3-finger tapping.

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5498094
2012-01-20 22:31:00 -05:00
David du Colombier
5d434a3ff3 venti: fix settings in stats
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5558054
2012-01-20 13:13:30 -05:00
David Jeannot
fcce05982b devdraw: make OS X resizer unobtrusive
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5558051
2012-01-19 15:14:17 -05:00
David Jeannot
4464a8778d devdraw: on OS X, add menu items "hide" and "plumb devdraw(1)"
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5505092
2012-01-16 17:12:10 -05:00
David Jeannot
10ccf8df0c devdraw: OS X: neutralize menu and Dock bugs in fullscreen mode
Previously, the menu bar has been set to hidden
instead of autohidden in fullscreen mode, because
it appeared too easily.  Occasionally however, it
still appears.  This patch makes sure it won't.

With OS X Lion's fullscreen, the Dock is
autohidden, but sometimes remains hidden.  This
bug comes with visual menu bar bugs
during space transition and when exiting
fullscreen.  Those bugs happen after each
Devdraw's activation, for example.  This patch
neutralizes them.

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5502091
2012-01-16 17:11:36 -05:00
David Jeannot
73b0f029e1 devdraw: fix handling of compose key on OS X
This implementation is simpler to understand.  It
removes conflicts with other modifiers and with
the virtual buttons.  Pressing alt during a
sequence now cancels it correctly.

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5507049
2012-01-16 17:08:31 -05:00
David Jeannot
a995f469b3 devdraw: remove old OS X code
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5528046
2012-01-16 17:07:24 -05:00
David du Colombier
68e24566b6 vac: fix segfault on DMSYMLINK or DMDEVICE
Fix segfault when the first archived file is DMSYMLINK or DMDEVICE.
Reinitialize the buffer to zero before calling readlink.

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5500097
2012-01-16 17:06:41 -05:00
David Jeannot
258cfab2fe acme: claim input focus earlier
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5505091
2012-01-16 17:05:39 -05:00
David Jeannot
e89a71ffdd cocoa devdraw: activation on receiving Ttop messages
(The new variable "willactivate" is in the input
structure "in", which is illogical.  But this
structure will soon be renamed "app".  I postpone
the renaming to avoid conflicts with simultaneous
Codereview issues.)

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5504102
2012-01-16 17:04:28 -05:00
David Jeannot
5ec2425b17 devdraw: OS X dead key support
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5503086
2012-01-16 17:02:06 -05:00
David du Colombier
131ab3addb venti: fix scacheprefetch stats
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5507045
2012-01-16 16:55:23 -05:00
David du Colombier
fc638f7bd4 libventi: handle rpc when not connected
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5491051
2012-01-16 16:53:08 -05:00
Russ Cox
d33a4d7f1b fmt: delete 2-space code
Typographers say its wrong.

R=rsc
http://codereview.appspot.com/5517046
2012-01-05 01:02:44 -05:00
David du Colombier
73392c2c7c libventi: fix segfault in vtreadpacket when not connected
This problem happens especially in fossil/view when vtread
can be called even if not connected to venti.

The old libventi handle this case properly in the function vtRPC, which is called by vtReadPacket (client.c).

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5484044
2011-12-12 16:44:50 -05:00
David Jeannot
ca81de0ae1 Cocoa Devdraw: cursor fix
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5356050
2011-12-09 22:21:09 -05:00
David du Colombier
c2b544f8cd vac: handle mid
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5451114
2011-12-07 14:07:25 -05:00
David du Colombier
e80159c932 aescbc: fix segfault on backspace
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5440107
2011-12-07 12:27:07 -05:00
David du Colombier
aac05c4092 vacfs: fix segfault when no prefix specified
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5451052
2011-11-30 15:20:43 -05:00
David du Colombier
0c9524b721 mailfs: add -u user argument
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5435052
2011-11-28 09:21:01 -05:00
David du Colombier
2fc68b6d8e mailfs: small fixes and plan 9 support
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5429044
2011-11-22 14:09:52 -05:00
David du Colombier
bd51695c92 venti/mgr: various fixes and plan 9 support
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5421047
2011-11-21 11:00:36 -05:00
David du Colombier
1d752a8479 venti: fix log url in stats
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5395043
2011-11-21 08:40:34 -05:00
David du Colombier
38bcdc42b5 upas: fix segfault when host not found
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5370105
2011-11-21 08:40:17 -05:00
Sean McKean
81c30b5a75 acme: fix arrow near end of text
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5399050
2011-11-17 14:46:14 -05:00
David Jeannot
e067d2ea1f Cocoa Devdraw: cursor, menu bar, old fs, activation
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5318054
2011-11-08 13:23:55 -05:00
David du Colombier
1e0c038342 venti: import changes from plan 9
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5325044
2011-11-08 11:48:18 -05:00
David du Colombier
db60da46b3 venti: fix vtcachealloc and VtMaxLumpSize
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5309073
2011-11-08 09:02:36 -05:00
David du Colombier
4544da5200 libventi: add functions reconn and redial for use with fossil
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5325046
2011-11-08 09:02:31 -05:00
David du Colombier
36c242dd86 venti: fix format on ulong
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5328046
2011-11-08 09:02:28 -05:00
Russ Cox
c383979b01 page: check for gs failure 2011-10-25 12:55:09 -04:00
Russ Cox
b4d0ac9612 devdraw: cocoa fixes, bigarrow support (thanks Marius Eriksen) 2011-10-23 18:47:29 -04:00
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