summaryrefslogtreecommitdiffstats
path: root/src/cmd
Commit message (Collapse)AuthorAgeFilesLines
...
* fontsrv: make single quotes look like quotesRuss Cox2012-12-031-3/+15
| | | | | R=rsc https://codereview.appspot.com/6864051
* fontsrv: scaled pjwRuss Cox2012-12-015-11/+369
| | | | | R=rsc https://codereview.appspot.com/6854130
* acme: retina scaling for scroll bars, buttonRuss Cox2012-11-262-26/+34
| | | | | R=rsc http://codereview.appspot.com/6854094
* samterm: retina scaling for scroll bars, bordersRuss Cox2012-11-263-14/+24
| | | | | R=rsc http://codereview.appspot.com/6844083
* 9term: adjust to dpi changesRuss Cox2012-11-261-15/+23
| | | | | R=rsc http://codereview.appspot.com/6847105
* devdraw: fake dpi calculation on MacRuss Cox2012-11-251-0/+8
| | | | | R=rsc http://codereview.appspot.com/6782115
* devdraw: use %R not Fn-F3 for retina toggleRuss Cox2012-11-251-1/+1
| | | | | R=rsc http://codereview.appspot.com/6854093
* devdraw: add forcedpi toggled by Fn+F3 on MacRuss Cox2012-11-254-3/+20
| | | | | R=rsc http://codereview.appspot.com/6846104
* acme: set $samfile (same as $%) during executionMarius Eriksen2012-11-251-0/+1
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/6854092
* fontsrv: work around a few crashesRuss Cox2012-11-251-2/+6
| | | | | | | Probably not the right fix, but gets us going. R=rsc http://codereview.appspot.com/6782113
* devdraw: fix retina modeRuss Cox2012-11-251-1/+1
| | | | | R=rsc http://codereview.appspot.com/6847104
* devdraw, libdraw: add display->dpiRuss Cox2012-11-252-2/+28
| | | | | | | | Fixed at 100 right now, but the plan is to make it accurate and then use it. R=rsc http://codereview.appspot.com/6856091
* devdraw: restore compilation on OS X 10.6Shenghou Ma2012-11-251-0/+2
| | | | | | | Also add some ignored files to .hgignore R=rsc http://codereview.appspot.com/6842089
* acme: use threadspawnd to avoid changing "." of current processRuss Cox2012-10-221-29/+8
| | | | | R=rsc http://codereview.appspot.com/6736060
* acme: add $acmeshell to control execution shellMarius Eriksen2012-10-213-2/+12
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/6614056
* fontsrv: x11 supportYuval Pavel Zholkover2012-10-214-3/+274
| | | | | | R=rsc, 0intro CC=plan9port.codebot http://codereview.appspot.com/6739047
* plumb.app: accept plumb:foo as alias for fooRob Kroeger2012-10-211-1/+16
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5495046
* devdraw: map X11 dead_diaresis to double quoteCaio Oliveira2012-10-211-39/+42
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/6690049
* silence more warningsRuss Cox2012-10-2113-298/+305
| | | | | R=rsc http://codereview.appspot.com/6744056
* fix clang warnings reported by Tuncer AyazRuss Cox2012-10-2114-601/+602
| | | | | R=rsc http://codereview.appspot.com/6744054
* fix gcc 4.7 warnings (thanks Tuncer Ayaz)Russ Cox2012-10-2011-35/+7
| | | | | R=rsc http://codereview.appspot.com/6744053
* devdraw: MacBook retina supportRob Kroeger2012-10-161-8/+121
| | | | | | | | Enable with export devdrawretina=1 (everything will be smaller). R=rsc CC=plan9port.codebot http://codereview.appspot.com/6592072
* devdraw: prefer 24-bit over 15-bit or 16-bit.Russ Cox2012-10-071-6/+6
| | | | | | | Fixes remote X11 use via XQuartz 2.7.4. R=rsc http://codereview.appspot.com/6624058
* acme: correct writes of runes on auspicious byte boundariesErik Quanstrom2012-10-051-23/+34
| | | | | | R=rsc, r CC=plan9port.codebot http://codereview.appspot.com/6586067
* src/cmd: Add a repurposed import(4), called `9import', to the ports.Akshat Kumar2012-09-241-0/+239
| | | | | | | | | | | | 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
* acme: mouse movement for DelRuss Cox2012-09-235-8/+62
| | | | | | | | | | | | | | | 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
* snarfer: disable during buildRuss Cox2012-09-181-1/+1
| | | | | | | Don't want to require X11 during OS X build anymore. R=rsc http://codereview.appspot.com/6531045
* sam: add $% as an alias for $samfileRuss Cox2012-09-171-0/+1
| | | | | R=r http://codereview.appspot.com/6488137
* 9pfuse: fix memory leak, avoid memory explosionTies Bos2012-09-101-2/+11
| | | | | | | | 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
* 9pfuse: osxfuse supportRuss Cox2012-09-081-8/+16
| | | | | R=rsc http://codereview.appspot.com/6503093
* disk/mkfs,disk/mkext: fix mkdir conflictRuss Cox2012-08-052-0/+3
| | | | | R=rsc http://codereview.appspot.com/6445076
* vacfs: fix create srv with ORCLOSE on plan 9David du Colombier2012-08-031-9/+11
| | | | | | | | | | | | | 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
* devdraw: make it 3 times faster on OS XDavid Jeannot2012-08-031-42/+49
| | | | | | | | 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
* devdraw: fix for OS X 10.8 (Mountain Lion)Rob Kroeger2012-07-311-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
* disk/mkfs, disk/mkext: add from Plan 9Russ Cox2012-07-173-0/+1169
| | | | | R=rsc, rsc http://codereview.appspot.com/6405057
* auth/factotum: fix flush (thanks Erik Quanstrom)Russ Cox2012-07-141-2/+3
| | | | | R=rsc http://codereview.appspot.com/6402044
* lib9/dial: add support for IPv6David du Colombier2012-06-022-18/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-295-4/+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-059-16/+15
|
* 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