[PULL v2 00/15] UI patches

marcandre.lureau@redhat.com posted 15 patches 6 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260428150726.1659814-1-marcandre.lureau@redhat.com
Maintainers: Gerd Hoffmann <kraxel@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Jan Kiszka <jan.kiszka@web.de>, Peter Maydell <peter.maydell@linaro.org>, Phil Dennis-Jordan <phil@philjordan.eu>, Richard Henderson <richard.henderson@linaro.org>, Helge Deller <deller@gmx.de>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Samuel Tardieu <sam@rfc1149.net>, "Hervé Poussineau" <hpoussin@reactos.org>, Aleksandar Rikalo <arikalo@gmail.com>, Jean-Christophe Dubois <jcd@tribudubois.net>, Laurent Vivier <laurent@vivier.eu>, Thomas Huth <th.huth+qemu@posteo.eu>, BALATON Zoltan <balaton@eik.bme.hu>, "Michael S. Tsirkin" <mst@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>, Dmitry Osipenko <dmitry.osipenko@collabora.com>, Dmitry Fleytman <dmitry.fleytman@gmail.com>, Stefano Stabellini <sstabellini@kernel.org>, Anthony PERARD <anthony@xenproject.org>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Alistair Francis <alistair@alistair23.me>, Alex Williamson <alex@shazbot.org>, "Cédric Le Goater" <clg@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>
meson.build                   |   4 -
qapi/ui.json                  |   6 +-
audio/mixeng_template.h       |  14 +--
hw/display/qxl.h              |   2 +-
include/ui/console.h          |  26 ++---
include/ui/input.h            |  15 +++
include/ui/qemu-pixman.h      |   8 ++
include/ui/surface.h          |   2 -
ui/console-priv.h             |   6 -
ui/keymaps.h                  |   4 +-
ui/vgafont.h                  |   6 +-
hw/arm/musicpal.c             |   3 +-
hw/display/artist.c           |   4 +-
hw/display/bcm2835_fb.c       |   7 +-
hw/display/bochs-display.c    |   6 +-
hw/display/cg3.c              |   5 +-
hw/display/dm163.c            |   4 +-
hw/display/exynos4210_fimd.c  |   6 +-
hw/display/g364fb.c           |   9 +-
hw/display/imx6ul_lcdif.c     |   7 +-
hw/display/jazz_led.c         |   6 +-
hw/display/macfb.c            |   6 +-
hw/display/next-fb.c          |   4 +-
hw/display/omap_lcdc.c        |  14 ++-
hw/display/pl110.c            |   5 +-
hw/display/qxl-render.c       |   6 +-
hw/display/qxl.c              |   7 +-
hw/display/ramfb-standalone.c |   4 +-
hw/display/sm501.c            |   8 +-
hw/display/ssd0303.c          |  10 +-
hw/display/ssd0323.c          |  11 +-
hw/display/tcx.c              |   6 +-
hw/display/vga.c              |   4 +-
hw/display/virtio-gpu-base.c  |   3 +-
hw/display/virtio-vga.c       |   6 +-
hw/display/vmware_vga.c       |   7 +-
hw/display/xenfb.c            |   6 +-
hw/display/xlnx_dp.c          |  10 +-
hw/vfio/display.c             |  17 +--
ui/console-vc.c               |   1 +
ui/console.c                  | 206 +---------------------------------
ui/curses.c                   |   4 +-
ui/dbus-console.c             |   6 +-
ui/dbus-listener.c            |   4 +-
ui/display-surface.c          | 107 ++++++++++++++++++
ui/gtk-clipboard.c            |  53 ++++++---
ui/gtk.c                      |  16 +--
ui/input-barrier.c            |   4 +-
ui/input.c                    |  65 +++++++++++
ui/keymaps.c                  |   4 +-
ui/sdl2.c                     |   8 +-
ui/vnc.c                      |  12 +-
hw/display/apple-gfx.m        |  10 +-
meson_options.txt             |   7 --
qemu-options.hx               |   9 +-
scripts/meson-buildoptions.sh |   3 -
ui/meson.build                |   5 +-
57 files changed, 428 insertions(+), 380 deletions(-)
create mode 100644 ui/display-surface.c
[PULL v2 00/15] UI patches
Posted by marcandre.lureau@redhat.com 6 hours ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

The following changes since commit 759c456b1d22fe4083c8b384da27d3f56fd53f82:

  Merge tag 'linux-user-next-pull-request' of https://github.com/hdeller/qemu-hppa into staging (2026-04-27 12:57:33 -0400)

are available in the Git repository at:

  https://gitlab.com/marcandre.lureau/qemu.git tags/ui-pull-request

for you to fetch changes up to 335e32cbd0a24f13e326d96dd30318cd78740c60:

  ui/gtk: Turn clipboard flag into runtime option (2026-04-28 18:53:59 +0400)

----------------------------------------------------------------
UI-related fixes and cleanups

----------------------------------------------------------------

Akihiko Odaki (3):
  audio: Avoid unsigned sample wraparound
  audio: Clamp unsigned sample conversion
  audio: Use unsigned PCM bias

Jindřich Makovička (2):
  ui/gtk: Use non-blocking clipboard retrieval
  ui/gtk: Turn clipboard flag into runtime option

Marc-André Lureau (10):
  ui: move FONT_WIDTH/HEIGHT to vgafont.h
  ui: move DisplaySurface functions to display-surface.c
  ui: make qemu_default_pixelformat() static inline
  ui: make unregister_displaychangelistener() skip unregistered
  ui: minor code simplification
  ui: rename init_keyboard_layout->kbd_layout_new()
  ui/console: remove qemu_console_is_visible()
  ui/console: return completion status from gfx_update callback
  ui/console: move console_handle_touch_event() to input
  ui/dbus: fix warning for clients without "Interfaces" property

 meson.build                   |   4 -
 qapi/ui.json                  |   6 +-
 audio/mixeng_template.h       |  14 +--
 hw/display/qxl.h              |   2 +-
 include/ui/console.h          |  26 ++---
 include/ui/input.h            |  15 +++
 include/ui/qemu-pixman.h      |   8 ++
 include/ui/surface.h          |   2 -
 ui/console-priv.h             |   6 -
 ui/keymaps.h                  |   4 +-
 ui/vgafont.h                  |   6 +-
 hw/arm/musicpal.c             |   3 +-
 hw/display/artist.c           |   4 +-
 hw/display/bcm2835_fb.c       |   7 +-
 hw/display/bochs-display.c    |   6 +-
 hw/display/cg3.c              |   5 +-
 hw/display/dm163.c            |   4 +-
 hw/display/exynos4210_fimd.c  |   6 +-
 hw/display/g364fb.c           |   9 +-
 hw/display/imx6ul_lcdif.c     |   7 +-
 hw/display/jazz_led.c         |   6 +-
 hw/display/macfb.c            |   6 +-
 hw/display/next-fb.c          |   4 +-
 hw/display/omap_lcdc.c        |  14 ++-
 hw/display/pl110.c            |   5 +-
 hw/display/qxl-render.c       |   6 +-
 hw/display/qxl.c              |   7 +-
 hw/display/ramfb-standalone.c |   4 +-
 hw/display/sm501.c            |   8 +-
 hw/display/ssd0303.c          |  10 +-
 hw/display/ssd0323.c          |  11 +-
 hw/display/tcx.c              |   6 +-
 hw/display/vga.c              |   4 +-
 hw/display/virtio-gpu-base.c  |   3 +-
 hw/display/virtio-vga.c       |   6 +-
 hw/display/vmware_vga.c       |   7 +-
 hw/display/xenfb.c            |   6 +-
 hw/display/xlnx_dp.c          |  10 +-
 hw/vfio/display.c             |  17 +--
 ui/console-vc.c               |   1 +
 ui/console.c                  | 206 +---------------------------------
 ui/curses.c                   |   4 +-
 ui/dbus-console.c             |   6 +-
 ui/dbus-listener.c            |   4 +-
 ui/display-surface.c          | 107 ++++++++++++++++++
 ui/gtk-clipboard.c            |  53 ++++++---
 ui/gtk.c                      |  16 +--
 ui/input-barrier.c            |   4 +-
 ui/input.c                    |  65 +++++++++++
 ui/keymaps.c                  |   4 +-
 ui/sdl2.c                     |   8 +-
 ui/vnc.c                      |  12 +-
 hw/display/apple-gfx.m        |  10 +-
 meson_options.txt             |   7 --
 qemu-options.hx               |   9 +-
 scripts/meson-buildoptions.sh |   3 -
 ui/meson.build                |   5 +-
 57 files changed, 428 insertions(+), 380 deletions(-)
 create mode 100644 ui/display-surface.c

-- 
2.54.0