qemu-char: don't issue CHR_EVENT_OPEN in a BH
When CHR_EVENT_OPENED was initially added, it was CHR_EVENT_RESET,and it was issued as a bottom-half:
86e94dea5b740dad65446c857f6959eae43e0ba6
Which we basically used to print out a greeting/prompt for the...
gtk: use better icon
The current icon looks pretty terrible rendered in Gnome. Thisswitches to a transparent SVG which looks much nicer.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
gtk: don't use g_object_unref on GdkCursor
It's not a GObject.
Cc: Gerd Hoffman <kraxel@redhat.com>Reported-by: Michael Tokarev <mjt@tls.msk.ru>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>---v1 -> v2 - Fix summary to agree with code (Peter)
gtk: don't resize window when enabling scaling
cocoa: Avoid deprecated NSOpenPanel beginSheetForDirectory
In MacOSX 10.6 and above the NSOpenPanel beginSheetForDirectorymethod is deprecated. Use the preferred replacements instead.We retain the original code for use on earlier MacOSX versionsbecause the replacement methods don't exist before 10.6....
cocoa: Avoid deprecated NSOpenPanel filename method
Avoid the NSOpenPanel filename method (deprecated in MacOSX 10.6)in favour of using the URL method and extracting the path from theresulting NSUrl object.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
cocoa: Avoid deprecated CPS* functions
The functions CPSGetCurrentProcess and CPSEnableForegroundOperationare deprecated in newer versions of MacOSX and cause warning messagesto be logged to the system log. Instead, use the new preferred methodof promoting our console process up to a graphical app with menubar...
cocoa: Fix leaks of NSScreen and NSConcreteMapTable
On MacOSX 10.8 QEMU provokes system log messages:11/03/2013 17:03:29.998 qemu-system-arm42586: objc42586: Object0x7ffbf9c2f3b0 of class NSScreen autoreleased with no pool in place - justleaking - break on objc_autoreleaseNoPool() to debug...
ui/input.c: replace magic numbers with macros
It's clearer to use defined macros than magic numbers.
Signed-off-by: Amos Kong <akong@redhat.com>Reviewed-by: Lei Li <lilei@linux.vnet.ibm.com>Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
vnc: Make ledstate comparison before modifiers updated
The ledstate should be compared before modifiers updated,otherwise the ledstate would be the same as current_led_state.
Reported-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>...
View revisions
Also available in: Atom