vnc: Fix tight_detect_smooth_image() for lossless case
VncTight member uint8_t quality is either (uint8_t)-1 for lossless orless than 10 for lossy.
tight_detect_smooth_image() first promotes it to int, then compareswith -1. Always unequal, so we always execute the lossy code. Reads...
vnc: Fix qemu crashed when vnc client disconnect suddenly
Hi,
When I use RealVNC viewer client (http://www.realvnc.com/) to connect vnc server,the client disconnect suddenly, and I click reconnect button immediately, then the Qemu crashed.
In the function vnc_worker_thread_loop, will call vnc_async_encoding_start...
vnc: fix use-after-free in vnc_update_client_sync
Spotted by Coverity:
876 static int vnc_update_client_sync(VncState *vs, int has_dirty)877 {
(1) Event freed_arg: "vnc_update_client(VncState *, int)" frees "vs". [details]Also see events: [deref_arg]...
ui/vnc: introduce VNC_DIRTY_PIXELS_PER_BIT macro
Signed-off-by: Peter Lieven <pl@kamp.de>Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/sdl2 : initial port to SDL 2.0 (v2.0)
I've ported the SDL1.2 code over, and rewritten it to use the SDL2 interface.
The biggest changes were in the input handling, where SDL2 has done a majoroverhaul, and I've had to include a generated translation file to get from...
input: move qmp_query_mice to new core
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
input: move do_mouse_set to new core
This removes the last user of the lecagy input mouse handler list,so we can remove more legacy bits with this.
input: remove index_from_keycode (no users)
console: add head to index to qemu consoles.
console: add QemuUIInfo
View revisions
Also available in: Atom