Commit graph

3355 commits

Author SHA1 Message Date
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
323e7d0193 draw.h: add DefaultDPI
R=rsc
http://codereview.appspot.com/6858071
2012-11-25 22:02:02 -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
b0ae8a46a0 9c: support clang on Mac
R=rsc
http://codereview.appspot.com/6744055
2012-10-21 12:01:13 -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
34d629c857 9c: add more clang warning silencers, use signed chars
R=rsc
http://codereview.appspot.com/6741053
2012-10-20 13:51:01 -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
497cd6b409 INSTALL: don't try to use \b in acme window
R=rsc
http://codereview.appspot.com/6734051
2012-10-20 13:41:25 -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
Russ Cox
53527a6e78 web: fix BROWSER=google-chrome on Mac
R=rsc
http://codereview.appspot.com/6750046
2012-10-20 13:28:46 -04:00
Russ Cox
83d065a6b3 mount: fix for osxfuse
R=rsc
http://codereview.appspot.com/6737052
2012-10-20 13:28:29 -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
Russ Cox
ca9ae08876 fortunes: new one
R=rsc
http://codereview.appspot.com/6554081
2012-09-24 15:43:33 -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
Ingo Dreilich
ba31102633 lib/acme.rc: remove noscroll
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/6346079
2012-09-10 20:55:27 -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
David du Colombier
e31375ac4e srv(4), mount: update v9fs usage
The v9fs usage is documented on
https://www.kernel.org/doc/Documentation/filesystems/9p.txt

R=rsc
http://codereview.appspot.com/6445072
2012-08-05 19:17:18 +02: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 du Colombier
ac2662695a dial(3): update dialparse
R=rsc
http://codereview.appspot.com/6455083
2012-08-03 19:58:31 +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