summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* disk/mkfs, disk/mkext: add from Plan 9Russ Cox2012-07-173-0/+1169
| | | | | R=rsc, rsc http://codereview.appspot.com/6405057
* openbsd updates (thanks Pascal Stumpf)Russ Cox2012-07-147-138/+80
| | | | | R=rsc http://codereview.appspot.com/6401049
* libmach: remove debug printRuss Cox2012-07-141-1/+0
| | | | | R=rsc http://codereview.appspot.com/6395048
* auth/factotum: fix flush (thanks Erik Quanstrom)Russ Cox2012-07-141-2/+3
| | | | | R=rsc http://codereview.appspot.com/6402044
* lib9: fix openbsd buildDavid du Colombier2012-06-272-1/+2
| | | | | | | | Fix build error and warning on OpenBSD 5.1, as reported by Dimitri Sokolyuk. R=rsc http://codereview.appspot.com/6350044
* lib9/dial: add support for IPv6David du Colombier2012-06-025-118/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix INSTALL warningsRuss Cox2012-05-296-5/+5
| | | | | R=rsc http://codereview.appspot.com/6258060
* venti: fix VtMaxLumpSizeAbhishek Kulkarni2012-05-297-7/+7
| | | | | | R=rsc, adkulkar CC=plan9port.codebot http://codereview.appspot.com/6108047
* plumb: remove debugging printRuss Cox2012-05-151-1/+0
| | | | | R=rsc http://codereview.appspot.com/6210059
* venti: remove bloomlookuptime in statsDavid du Colombier2012-05-071-3/+0
| | | | | R=rsc http://codereview.appspot.com/6197057
* venti: fix bloom in statsDavid du Colombier2012-05-071-1/+4
| | | | | R=rsc http://codereview.appspot.com/6201049
* venti: fix writedonechan size in bloomDavid du Colombier2012-05-021-1/+1
| | | | | R=rsc http://codereview.appspot.com/6128063
* venti: add bootstrap mode (write + no index)Russ Cox2012-04-224-0/+9
| | | | | R=rsc, rsc http://codereview.appspot.com/6097047
* venti: fix typoRuss Cox2012-04-071-1/+1
| | | | | R=rsc http://codereview.appspot.com/5989059
* venti: add arenapart support to wrarenaRuss Cox2012-04-071-2/+16
| | | | | R=rsc http://codereview.appspot.com/5988058
* vacfs: remove 9P2000.u relicDavid du Colombier2012-04-041-5/+0
| | | | | R=rsc http://codereview.appspot.com/5970072
* devdraw: fix mouse warping with multi-monitor on OS XDavid Jeannot2012-03-051-3/+3
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5748043
* mergeRuss Cox2012-03-0511-18/+21
|
* Devdraw now waits for the image: this means thatDavid Jeannot2012-03-051-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
* devdraw: fix winsize (-W) on OS XDavid Jeannot2012-03-051-5/+11
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5749043
* devdraw: fix fullscreen on LionRuss Cox2012-02-281-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
* libmach, acid, db: 64-bit supportRuss Cox2012-02-1933-1057/+1993
|
* venti: import venti/conf from plan 9David du Colombier2012-01-262-0/+76
| | | | | R=rsc http://codereview.appspot.com/5572066
* libventi: add functions vtsha1 and vtsha1checkDavid du Colombier2012-01-212-0/+29
| | | | | | | | 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
* devdraw: enable gestures on OS XDavid Jeannot2012-01-201-183/+8
| | | | | | | | | Remove swipe gestures. Keep only 2-finger pinching and 3-finger tapping. R=rsc CC=plan9port.codebot http://codereview.appspot.com/5498094
* venti: fix settings in statsDavid du Colombier2012-01-202-1/+2
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5558054
* devdraw: make OS X resizer unobtrusiveDavid Jeannot2012-01-191-4/+31
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5558051
* devdraw: on OS X, add menu items "hide" and "plumb devdraw(1)"David Jeannot2012-01-161-14/+22
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5505092
* devdraw: OS X: neutralize menu and Dock bugs in fullscreen modeDavid Jeannot2012-01-161-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
* devdraw: fix handling of compose key on OS XDavid Jeannot2012-01-162-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
* devdraw: remove old OS X codeDavid Jeannot2012-01-165-1435/+0
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5528046
* vac: fix segfault on DMSYMLINK or DMDEVICEDavid du Colombier2012-01-161-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
* acme: claim input focus earlierDavid Jeannot2012-01-161-2/+2
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5505091
* cocoa devdraw: activation on receiving Ttop messagesDavid Jeannot2012-01-163-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
* devdraw: OS X dead key supportDavid Jeannot2012-01-161-0/+19
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5503086
* venti: fix scacheprefetch statsDavid du Colombier2012-01-161-0/+2
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5507045
* libventi: handle rpc when not connectedDavid du Colombier2012-01-161-0/+6
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5491051
* fmt: delete 2-space codeRuss Cox2012-01-051-18/+1
| | | | | | | Typographers say its wrong. R=rsc http://codereview.appspot.com/5517046
* libventi: fix segfault in vtreadpacket when not connectedDavid du Colombier2011-12-121-0/+5
| | | | | | | | | | | 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
* Cocoa Devdraw: cursor fixDavid Jeannot2011-12-093-117/+139
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5356050
* vac: handle midDavid du Colombier2011-12-071-0/+5
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5451114
* aescbc: fix segfault on backspaceDavid du Colombier2011-12-071-2/+5
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5440107
* vacfs: fix segfault when no prefix specifiedDavid du Colombier2011-11-301-1/+1
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5451052
* mailfs: add -u user argumentDavid du Colombier2011-11-283-6/+16
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5435052
* mailfs: small fixes and plan 9 supportDavid du Colombier2011-11-226-5/+35
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5429044
* venti/mgr: various fixes and plan 9 supportDavid du Colombier2011-11-211-55/+56
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5421047
* venti: fix log url in statsDavid du Colombier2011-11-211-1/+1
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5395043
* upas: fix segfault when host not foundDavid du Colombier2011-11-211-1/+4
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5370105
* acme: fix arrow near end of textSean McKean2011-11-171-6/+4
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5399050
* Cocoa Devdraw: cursor, menu bar, old fs, activationDavid Jeannot2011-11-081-20/+52
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5318054