qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 641599: gtk: Don't vte_terminal_set_encoding(


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 641599: gtk: Don't vte_terminal_set_encoding() on new VTE ...
Date: Fri, 12 Oct 2018 09:23:48 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 6415994ffcc6d22b3f5add67f63fe77e4b9711f4
      
https://github.com/qemu/qemu/commit/6415994ffcc6d22b3f5add67f63fe77e4b9711f4
  Author: Kevin Wolf <address@hidden>
  Date:   2018-10-12 (Fri, 12 Oct 2018)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: Don't vte_terminal_set_encoding() on new VTE versions

The function vte_terminal_set_encoding() is deprecated since VTE 0.54,
so stop calling it from that version on. This fixes a build error
because of our use of warning flags [-Werror=deprecated-declarations].

Fixes: https://bugs.launchpad.net/bugs/1794939
Reported-by: Bastian Koppelmann <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 1abcfe9e299b6e48792ddfa6f2ab8cec93f16823
      
https://github.com/qemu/qemu/commit/1abcfe9e299b6e48792ddfa6f2ab8cec93f16823
  Author: Max Reitz <address@hidden>
  Date:   2018-10-12 (Fri, 12 Oct 2018)

  Changed paths:
    M ui/sdl2-2d.c

  Log Message:
  -----------
  sdl2: Support all virtio-gpu formats

There are some 2D resource formats that can be used through virtio-gpu,
but which are not supported by SDL2 when used for a scanout; these are
all alpha-channel formats and also XBGR (RGBX in non-BE pixman).

Add these formats in the switch converting pixman to SDL format
constants so a guest cannot crash the VM by triggering the
g_assert_not_reached() with an unsupported format.

Signed-off-by: Max Reitz <address@hidden>
Message-id: address@hidden

[ kraxel: also update sdl2_2d_check_format() ]

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 1d454c3fee00d9d1e46e1ec6788d49da5a0bfdb0
      
https://github.com/qemu/qemu/commit/1d454c3fee00d9d1e46e1ec6788d49da5a0bfdb0
  Author: Paolo Bonzini <address@hidden>
  Date:   2018-10-12 (Fri, 12 Oct 2018)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: fix uninitialized variable

zoom_to_fit is never initialized to false, Coverity complains
(not sure why GCC does not).

Fixes: e8b1386ea1719525a1a92df03377764703fe8c64
Cc: address@hidden
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: a73549f99612f758dec0fdea6ae1c30b6c709a0b
      
https://github.com/qemu/qemu/commit/a73549f99612f758dec0fdea6ae1c30b6c709a0b
  Author: Peter Maydell <address@hidden>
  Date:   2018-10-12 (Fri, 12 Oct 2018)

  Changed paths:
    M ui/gtk.c
    M ui/sdl2-2d.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/ui-20181012-pull-request' 
into staging

ui: gtk fixes, support more formats in sdl2.

# gpg: Signature made Fri 12 Oct 2018 14:21:24 BST
# gpg:                using RSA key 4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/ui-20181012-pull-request:
  gtk: fix uninitialized variable
  sdl2: Support all virtio-gpu formats
  gtk: Don't vte_terminal_set_encoding() on new VTE versions

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/69ac8c4cb93f...a73549f99612
      **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]