aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/devdraw
AgeCommit message (Collapse)AuthorFilesLines
2012-08-03devdraw: make it 3 times faster on OS XDavid Jeannot1-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
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-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-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-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-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-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-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
2011-12-09Cocoa Devdraw: cursor fixDavid Jeannot3-117/+139
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5356050
2011-11-08Cocoa Devdraw: cursor, menu bar, old fs, activationDavid Jeannot1-20/+52
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5318054
2011-10-23devdraw: cocoa fixes, bigarrow support (thanks Marius Eriksen)Russ Cox3-3/+50
2011-10-23OS X PowerPC fixes (thanks Cameron Kaiser)Russ Cox1-0/+1
2011-10-12devdraw: more fixes (thanks David Jeannot)Russ Cox4-319/+378
2011-10-12devdraw: cleanup, fix macargvRuss Cox3-14/+44
2011-10-03devdraw: fix screen grabber, allocation warningDavid Jeannot1-62/+113
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5170041
2011-09-28devdraw: do not interpret alt-tab as alt for composeJustin Davis3-2/+16
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5132050
2011-09-26devdraw: disable Lion warningRuss Cox1-1/+1
R=rsc http://codereview.appspot.com/5132045
2011-09-26use cocoa on snow leopardRuss Cox1-1/+1
R=rsc http://codereview.appspot.com/5146043
2011-09-26devdraw: cocoa updatesDavid Jeannot1-43/+55
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5131041
2011-09-19devdraw: handle, warn about LionRuss Cox1-1/+9
R=rsc http://codereview.appspot.com/5069042
2011-09-19devdraw: update Lion cocoaDavid Jeannot6-405/+602
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5015042
2011-09-06devdraw: draft cocoa supportDavid Jeannot6-0/+1335
R=rsc CC=plan9port.codebot http://codereview.appspot.com/4974060
2011-06-20devdraw: dynamic discovery of MultiTouch devicesMarius Eriksen1-8/+106
R=rsc CC=plan9port.codebot http://codereview.appspot.com/4653041
2011-06-20devdraw: Shrinking a window on osx 10.6.7 no longer disables drawing.David Swasey1-9/+14
R=rsc CC=plan9port.codebot http://codereview.appspot.com/4632051
2011-04-04mklatinkbd: fix buffer overflowEoghan Sherry1-1/+1
Fixes #71. R=rsc CC=codebot http://codereview.appspot.com/4327057
2011-01-12devdraw: fix flashing during window dragJeff Sickel2-3/+5
R=rsc CC=codebot http://codereview.appspot.com/3922043
2011-01-02mklatinkbd: fix out of bounds bugRuss Cox1-0/+1
R=rsc http://codereview.appspot.com/3828045
2011-01-02keyboard(7): document X compose sequencesRuss Cox3-23/+111
Add -x flag to mklatinkbd to generate file for $HOME/.XCompose. Thanks to Anthony Martin, Tony Lainson, and Kris Maglione for legwork. R=rsc http://codereview.appspot.com/3811043
2010-10-27mkfiles: fix macargv bufRuss Cox2-1/+3
R=rsc http://codereview.appspot.com/2729042
2010-10-27mac: add 9term.app, Plumb.appRuss Cox3-0/+96
R=rsc http://codereview.appspot.com/2783041
2010-07-22devdraw: snarf better with ChromeRuss Cox1-5/+4
maybe the code is also actually correct. who knows. R=rsc http://codereview.appspot.com/1875045
2010-04-02devdraw: only one flushproc, please (OS X)Russ Cox1-1/+5
R=rsc http://codereview.appspot.com/799045
2010-03-03devdraw: fix mouse(3) moveto on OS XEoghan Sherry1-1/+7
R=rsc CC=codebot http://codereview.appspot.com/224104
2010-02-06devdraw: fix support for multitouch trackpadsRuss Cox1-8/+8
R=rsc http://codereview.appspot.com/203059
2010-01-26R=rscAnthony Sorace1-1/+1
CC=codebot http://codereview.appspot.com/193056
2010-01-16devdraw: fix OS X resize bug caused by redraw bug fixRuss Cox1-7/+9
R=rsc http://codereview.appspot.com/189104
2010-01-15devdraw: fewer spurious mouse clicks in OS X multitouchRuss Cox1-2/+5
Was turning all button touches into clicks of high buttons, causing spurious clicks even outside the app window. R=rsc http://codereview.appspot.com/189084
2010-01-14devdraw: handle kEventWindowDrawContentRuss Cox1-0/+8
makes windows redraw properly when moved between screens when monitors get shuffled around R= CC= http://codereview.appspot.com/189076
2010-01-04devdraw: release multitouch mouse when app is collapsed (minimized)Russ Cox1-1/+15
R=rsc CC=plalonde, r http://codereview.appspot.com/181129
2010-01-04devdraw: add multitouch code from Paul LalondeRuss Cox3-11/+267
Various tweaks to avoid breaking standard mice, but probably needs tweaks to work with multitouch mice again. Still, it's a start. R=rsc CC=plalonde, r http://codereview.appspot.com/181124
2009-11-30devdraw: fix OS X behavior for Spanish keyboardsEnrique Soriano1-1/+3
R=rsc_swtch, rsc CC=old.codebot, codebot http://codereview.appspot.com/132045
2009-09-29devdraw: draft of new Cocoa-based devdrawJeff Sickel5-1/+1439
Can test with cd $PLAN9/src/cmd/devdraw mk devdraw-cocoa DEVDRAW=devdraw-cocoa colors
2009-09-14devdraw: fix X11 input sequencesRuss Cox1-0/+17
fixes http://groups.google.com/group/plan9port-dev/t/f865adc9a520653a see also http://archive.netbsd.se/?ml=plan9-9fans&a=2007-03&t=3328886 http://codereview.appspot.com/117072
2009-09-12devdraw: update OS X snarf for 32-bit Rune (again)Russ Cox1-9/+40
fixes #29 http://code.swtch.com/plan9port/issues/29/ The accidental resubmission of the patch caused patch(1) to revert the patch. Thanks, patch authors! http://codereview.appspot.com/117057