History | View | Annotate | Download (37.1 kB)
Cocoa: Shutdown when window is closed
The application is not very useful once the guest window is closed.QEMU is not a document-based application; terminating it automaticallysaves the user another action and resembles SDL behavior.
v2:- Use delegate method, suggested by Juha Riihimäki....
Cocoa: Suppress window resize animation
Disable the nice resize animation, to avoid drawing glitchesfollowing a guest's screen size change.
Based on patch by Juha Riihimäki.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>Cc: Juha Riihimäki <juha.riihimaki@nokia.com>...
Cocoa: Use optimized drawing for the window
Default is NO.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>Signed-off-by: malc <av1474@comtv.ru>
Cocoa: Silence type warning
Add const for "qemu" character literal, to avoid:
warning: initialization discards qualifiers from pointer target type
An earlier patch by John proposed to use char5. Since we do not modifythe text and later copy it into malloc'ed memory, marking it as const...
Cocoa: Fix compilation on Mac OS X v10.4 and earlier
NSView's enterFullScreenMode:withOptions: andexitFullScreenModeWithOptions: are available on v10.5and later only. Undefined methods raise warnings andundefined constants result in errors.
Reported by Ryan Schmidt....
Cocoa: Mark the View as opaque
Cf. http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaPerformance/Articles/CustomViews.html
Signed-off-by: Andreas Färber <andreas.faerber@web.de>...
Cocoa: Redraw the View asynchronously
Cocoa: Don't unconditionally show the window
When QEMU was launched in no-graphic, Curses or VNC mode,don't run it as a Cocoa application.
Based on patch by Alexander Graf.
v1:- Avoid type mismatch warning for argv- Drop noCocoa variable- Coding Style changes...
Cocoa: ppc64 host support
Fix integer usage in the Cocoa backend: NSInteger is long on LP64.
http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/NSView.html#//apple_ref/doc/uid/20000014-BBCFHHCD...
Cocoa: Silence warning for cocoa_keycode_to_qemu
Make cocoa_keycode_to_qemu static, to avoid:
warning: no previous prototype for ‘cocoa_keycode_to_qemu’
Signed-off-by: Andreas Färber <andreas.faerber@web.de>Cc: John Arbuckle <programmingkidx@gmail.com>...
Cocoa: Silence warning on Big Endian host
LITTLE_ENDIAN is undefined on Big Endian host.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>Cc: John Arbuckle <programmingkidx@gmail.com>Signed-off-by: malc <av1474@comtv.ru>
Update cocoa.m to match new DisplayState code (Samuel Benson)
Version 2 does as follows:
[1]: Corrects endianness on issues by using native BGR to RGB conversion[2]: Uses DisplayState accessors for obtaining graphics context information, which[3]: Removes now unused variables, and...
Let the USB tablet reach the far bottom and right pixels
(Samuel Thibault)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4036 c046a42c-6fe2-441c-8c8c-71466251a162
Core Graphics support (cocoa.m rewrite), by Mike Kronenberg.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3929 c046a42c-6fe2-441c-8c8c-71466251a162
Break up vl.h.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3674 c046a42c-6fe2-441c-8c8c-71466251a162
find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3177 c046a42c-6fe2-441c-8c8c-71466251a162
find -type f | xargs sed -i 's/[\t ]$//g' # on most files
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162
Attempt to fix incorrect colours on some BGR displays
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2974 c046a42c-6fe2-441c-8c8c-71466251a162
cocoa monitor fix regarding the handling of dead keys (Joachim Henke)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1975 c046a42c-6fe2-441c-8c8c-71466251a162
fix missing type declarations (Joachim Henke)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1932 c046a42c-6fe2-441c-8c8c-71466251a162
Remove stray "}".
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1817 c046a42c-6fe2-441c-8c8c-71466251a162
Allow multiple graphics devices.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1803 c046a42c-6fe2-441c-8c8c-71466251a162
(Joachim Henke)- suppress unwanted kernel logs- avoids passing modifier keys to the guest OS when typing in the Monitor- fixes the bug that the mouse cursor grab is released with any modifier key (should be only ctrl+alt)- removes some code redundancies...
fixed/full keyboard input - full mouse support - support for qemu console (Mike Kronenberg)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1582 c046a42c-6fe2-441c-8c8c-71466251a162
accept more disk image extensions (David Still)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1359 c046a42c-6fe2-441c-8c8c-71466251a162
open the dialog box if an image was not selected from command-line (Pierre d'Herbemont)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1358 c046a42c-6fe2-441c-8c8c-71466251a162
cocoa tiny fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1322 c046a42c-6fe2-441c-8c8c-71466251a162
initial Cocoa support (Pierre d'Herbemont)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1313 c046a42c-6fe2-441c-8c8c-71466251a162