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: 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
Default is NO.
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>
View all revisions | View revisions
Also available in: Atom