aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-07-31devdraw: fix for OS X 10.8 (Mountain Lion)Rob Kroeger1-31/+40
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-29libventi: fix segfault in vtgetreqDavid du Colombier1-1/+2
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-17disk/mkfs, disk/mkext: add from Plan 9Russ Cox5-0/+1356
R=rsc, rsc http://codereview.appspot.com/6405057
2012-07-169l: remove debug printRuss Cox1-1/+0
R=rsc http://codereview.appspot.com/6402049
2012-07-14openbsd updates (thanks Pascal Stumpf)Russ Cox8-138/+82
R=rsc http://codereview.appspot.com/6401049
2012-07-14libmach: remove debug printRuss Cox1-1/+0
R=rsc http://codereview.appspot.com/6395048
2012-07-149l: fix for Linux 3.x (thanks Christopher Brannon)Russ Cox2-1/+3
R=rsc http://codereview.appspot.com/6395047
2012-07-14auth/factotum: fix flush (thanks Erik Quanstrom)Russ Cox1-2/+3
R=rsc http://codereview.appspot.com/6402044
2012-07-14lib/codereview: update from GoRuss Cox1-35/+121
R=rsc http://codereview.appspot.com/6396045
2012-07-14venti(8): fix discussion of variablesRuss Cox1-4/+7
R=rsc http://codereview.appspot.com/6397046
2012-06-27lib9: fix openbsd buildDavid du Colombier2-1/+2
Fix build error and warning on OpenBSD 5.1, as reported by Dimitri Sokolyuk. R=rsc http://codereview.appspot.com/6350044
2012-06-02lib9/dial: add support for IPv6David du Colombier6-119/+107
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-05-29fix INSTALL warningsRuss Cox7-7/+12
R=rsc http://codereview.appspot.com/6258060
2012-05-29CONTRIBUTORS: add Abhishek KulkarniRuss Cox1-0/+1
R=rsc http://codereview.appspot.com/6258059
2012-05-29venti: fix VtMaxLumpSizeAbhishek Kulkarni7-7/+7
R=rsc, adkulkar CC=plan9port.codebot http://codereview.appspot.com/6108047
2012-05-15plumb: remove debugging printRuss Cox1-1/+0
R=rsc http://codereview.appspot.com/6210059
2012-05-07venti: remove bloomlookuptime in statsDavid du Colombier1-3/+0
R=rsc http://codereview.appspot.com/6197057
2012-05-07venti: fix bloom in statsDavid du Colombier1-1/+4
R=rsc http://codereview.appspot.com/6201049
2012-05-02venti: fix writedonechan size in bloomDavid du Colombier1-1/+1
R=rsc http://codereview.appspot.com/6128063
2012-04-22venti: add bootstrap mode (write + no index)Russ Cox4-0/+9
R=rsc, rsc http://codereview.appspot.com/6097047
2012-04-07venti: fix typoRuss Cox1-1/+1
R=rsc http://codereview.appspot.com/5989059
2012-04-07venti: add arenapart support to wrarenaRuss Cox1-2/+16
R=rsc http://codereview.appspot.com/5988058
2012-04-04vacfs: remove 9P2000.u relicDavid du Colombier1-5/+0
R=rsc http://codereview.appspot.com/5970072
2012-03-26venti(7): fix typoDavid du Colombier1-1/+1
R=rsc http://codereview.appspot.com/5847060
2012-03-26fortuneRuss Cox1-0/+4
R=rsc http://codereview.appspot.com/5900076
2012-03-05devdraw: fix mouse warping with multi-monitor on OS XDavid Jeannot1-3/+3
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5748043
2012-03-05mergeRuss Cox12-18/+134
2012-03-05Devdraw now waits for the image: this means thatDavid Jeannot1-74/+226
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-05get9root(3): fix pathsDavid Jeannot1-1/+3
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5745043
2012-03-05devdraw: fix winsize (-W) on OS XDavid Jeannot1-5/+11
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5749043
2012-02-28devdraw: fix fullscreen on LionRuss Cox1-1/+6
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-19libmach, acid, db: 64-bit supportRuss Cox36-1125/+2311
2012-01-26venti: import venti/conf from plan 9David du Colombier2-0/+76
R=rsc http://codereview.appspot.com/5572066
2012-01-21libventi: add functions vtsha1 and vtsha1checkDavid du Colombier3-0/+33
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-20devdraw: enable gestures on OS XDavid Jeannot1-183/+8
Remove swipe gestures. Keep only 2-finger pinching and 3-finger tapping. R=rsc CC=plan9port.codebot http://codereview.appspot.com/5498094
2012-01-20venti: fix settings in statsDavid du Colombier2-1/+2
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5558054
2012-01-20codereview: sync from GoRuss Cox1-525/+637
R=rsc http://codereview.appspot.com/5558060
2012-01-19devdraw: make OS X resizer unobtrusiveDavid Jeannot1-4/+31
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5558051
2012-01-16devdraw: on OS X, add menu items "hide" and "plumb devdraw(1)"David Jeannot1-14/+22
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5505092
2012-01-16devdraw: OS X: neutralize menu and Dock bugs in fullscreen modeDavid Jeannot1-3/+9
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-16devdraw: fix handling of compose key on OS XDavid Jeannot2-12/+15
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-16devdraw: remove old OS X codeDavid Jeannot5-1435/+0
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5528046
2012-01-16vac: fix segfault on DMSYMLINK or DMDEVICEDavid du Colombier1-4/+6
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-16acme: claim input focus earlierDavid Jeannot1-2/+2
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5505091
2012-01-16Plumb.app: prevent the Finder's activation after Devdraw'sDavid Jeannot1-3/+4
The Finder can be reactivated after Devdraw's activation if both windows are on the same space. We prevent this by preventing Plumb.app's activation in the first place. R=rsc CC=plan9port.codebot http://codereview.appspot.com/5498096
2012-01-16cocoa devdraw: activation on receiving Ttop messagesDavid Jeannot3-2/+17
(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-16devdraw: OS X dead key supportDavid Jeannot1-0/+19
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5503086
2012-01-16venti: fix scacheprefetch statsDavid du Colombier1-0/+2
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5507045
2012-01-16ioproc(3): fix prototypesDavid Jeannot1-3/+3
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5500090
2012-01-16libventi: handle rpc when not connectedDavid du Colombier1-0/+6
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5491051