Commits


devdraw: fix Mac Kcmd+Shift Change-Id: Ide32a9397701085b17fbd42f0866eb3de11e4190 Reviewed-on: https://plan9port-review.googlesource.com/2940 Reviewed-by: Russ Cox <rsc@swtch.com>


all: fix or silence all INSTALL warnings on macOS Should be a clean build now. Change-Id: Id3460371cb5e8d4071f8faa9c2aec870d213a067 Reviewed-on: https://plan9port-review.googlesource.com/2781 Reviewed-by: Russ Cox <rsc@swtch.com>


devdraw: cocoa: set window title on main thread Change-Id: Ie818f9246f749a9d3293019a1e01be4ce7e368b9 Reviewed-on: https://plan9port-review.googlesource.com/1400 Reviewed-by: Russ Cox <rsc@swtch.com>


devdraw: plumb drag-n-dropped files Change-Id: I7585870aee57c7482ebdd19c117be7982123ce79 Reviewed-on: https://plan9port-review.googlesource.com/1130 Reviewed-by: Russ Cox <rsc@google.com>


devdraw: enable retina behavior by default on OS X Change-Id: I243a1fe3f9ec0841570c4cd69c02be9cfd9ade50 Reviewed-on: https://plan9port-review.googlesource.com/1172 Reviewed-by: Russ Cox <rsc@swtch.com>


devdraw: fix title and "open in top" on OS X On OSX 10.10, when you open an application that depends on devdraw, the title bar only shows the first letter of the application's name. The patch sets a default title as soon as the window is created, which fixes this issue. On OSX 10.10, when you open an application that depends on devdraw, this application is opened in top of other windows, however the menu bar is not updated. The patch calls topwin() at the end of makewin() in src/cmd/devdraw/cocoa-screen.m . Change-Id: Ie036928b5574c8df20ad8b2b54047e2f7a22bb41 Reviewed-on: https://plan9port-review.googlesource.com/1091 Reviewed-by: Russ Cox <rsc@swtch.com>


devdraw: set window name to argv[0] R=rsc CC=r https://codereview.appspot.com/12577043


devdraw: fake dpi calculation on Mac R=rsc http://codereview.appspot.com/6782115


devdraw: add forcedpi toggled by Fn+F3 on Mac R=rsc http://codereview.appspot.com/6846104


devdraw: fix retina mode R=rsc http://codereview.appspot.com/6847104


devdraw: restore compilation on OS X 10.6 Also add some ignored files to .hgignore R=rsc http://codereview.appspot.com/6842089


devdraw: MacBook retina support Enable with export devdrawretina=1 (everything will be smaller). R=rsc CC=plan9port.codebot http://codereview.appspot.com/6592072


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


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


devdraw: fix mouse warping with multi-monitor on OS X R=rsc CC=plan9port.codebot http://codereview.appspot.com/5748043