qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 09bd7b: Remove deprecated -no-frame option


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 09bd7b: Remove deprecated -no-frame option
Date: Tue, 05 Feb 2019 08:51:44 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 09bd7ba9f5f7bd1c0cf62ba89731ae3cc6d1c72e
      
https://github.com/qemu/qemu/commit/09bd7ba9f5f7bd1c0cf62ba89731ae3cc6d1c72e
  Author: Thomas Huth <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M include/sysemu/sysemu.h
    M qemu-deprecated.texi
    M qemu-options.hx
    M vl.c

  Log Message:
  -----------
  Remove deprecated -no-frame option

The -no-frame option has been deprecated with QEMU v2.12. It was only
useful with SDL1.2 - now that we've removed support for SDL1.2, we
can certainly remove the -no-frame option, too.

Signed-off-by: Thomas Huth <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: a0fbb9a8bc600063540443258c66c31f31048008
      
https://github.com/qemu/qemu/commit/a0fbb9a8bc600063540443258c66c31f31048008
  Author: Sergio Lopez <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  ui: don't send any event if delta_y == 0

When the user raises their fingers from the touchpad, we may receive a
GDK_SMOOTH_SCROLL event with delta_y == 0. Avoid generating a WHEEL_UP
event in this situation.

Signed-off-by: Sergio Lopez <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: d89bf1d43936c20c3364dc9c0c72ad5c7e031f57
      
https://github.com/qemu/qemu/commit/d89bf1d43936c20c3364dc9c0c72ad5c7e031f57
  Author: Sergio Lopez <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  ui: listen for GDK_SMOOTH_SCROLL events

On Wayland, without grabbing focus, two-finger scrolling generates
GDK_SMOOTH_SCROLL events instead of GDK_SCROLL_*, so listen for them.

Signed-off-by: Sergio Lopez <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: a981814a44ed4f2d7c6f0b3480e285a5b16dcee2
      
https://github.com/qemu/qemu/commit/a981814a44ed4f2d7c6f0b3480e285a5b16dcee2
  Author: Thomas Huth <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    R ui/sdl_keysym.h

  Log Message:
  -----------
  ui/sdl_keysym: Remove obsolete SDL1.2 related code

sdl_keysym.h has only been included by sdl.c which has recently been
removed recently with this commit:

  0015ca5cbabe0b31d31610ddfaafd90a9e5911a4
  ("ui: remove support for SDL1.2 in favour of SDL2")

So we can drop this header file now completely, too.

Signed-off-by: Thomas Huth <address@hidden>
Reviewed-by: Daniel P. Berrangé <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 5e24600a7c1cb530c0fed3c699c4d08f16d69b8e
      
https://github.com/qemu/qemu/commit/5e24600a7c1cb530c0fed3c699c4d08f16d69b8e
  Author: Brendan Shanks <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M ui/cocoa.m

  Log Message:
  -----------
  ui/cocoa.m: Fix macOS 10.14 deprecation warnings

macOS 10.14 deprecated NSOnState/NSOffState in favour of
NSControlStateValueOn/NSControlStateValueOff. Use the new constants,
and #define them to the old ones when compiling against a pre-10.13 SDK.
Also [NSGraphicsContext graphicsPort] is now deprecated, use
[NSGraphicsContext CGContext] when available.

Signed-off-by: Brendan Shanks <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 051a0cde7b0a0dda9eef166f9aecd09dfc0a00cf
      
https://github.com/qemu/qemu/commit/051a0cde7b0a0dda9eef166f9aecd09dfc0a00cf
  Author: Chen Zhang <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M include/ui/egl-helpers.h
    M ui/egl-headless.c
    M ui/egl-helpers.c
    M ui/gtk-egl.c
    M ui/spice-display.c

  Log Message:
  -----------
  ui/egl-helpers: Augment parameter list of egl_texture_blend() to convey 
scales of viewport

This would help gtk-egl display showing scaled DMABuf cursor images when
gtk window was zoomed. A default scale of (1.0, 1.0) was presumed for
call sites where no scaling is needed.

Signed-off-by: Chen Zhang <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 47ddfab18a31b3bc0464893b1dc2ba6fcda41bf1
      
https://github.com/qemu/qemu/commit/47ddfab18a31b3bc0464893b1dc2ba6fcda41bf1
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    A include/ui/kbd-state.h
    M ui/Makefile.objs
    A ui/kbd-state.c

  Log Message:
  -----------
  kbd-state: add keyboard state tracker

Now that most user interfaces are using QKeyCodes it is easier to have
common keyboard code useable by all user interfaces.

This patch adds helper code to track the state of all keyboard keys,
using a bitmap indexed by QKeyCode.  Modifier state is tracked too,
as separate bitmap.  That makes checking modifier state easier.
Likewise we can easily apply special handling for capslock & numlock
(toggles on keypress) and ctrl + shift (we have two keys for that).

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

[ kraxel: added license boilerplate header ]

Reviewed-by: Daniel P. Berrangé <address@hidden>


  Commit: 85b03694e1843141eaf851fb15300ae12cc76468
      
https://github.com/qemu/qemu/commit/85b03694e1843141eaf851fb15300ae12cc76468
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M include/ui/sdl2.h
    M ui/sdl2-input.c

  Log Message:
  -----------
  sdl2: remove sdl2_reset_keys() function

No users left, dead code.

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


  Commit: 07333e1ca382ed570d781a99ee8c168cb8b252d0
      
https://github.com/qemu/qemu/commit/07333e1ca382ed570d781a99ee8c168cb8b252d0
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M include/ui/sdl2.h
    M ui/sdl2-input.c
    M ui/sdl2.c

  Log Message:
  -----------
  kbd-state: use state tracker for sdl2

Use the new keyboard state tracked for sdl2.  We can drop the modifier
state tracking from sdl2.  Also keyup code is simpler, the state tracker
will take care to not send suspious keyup events to the guest.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Daniel P. Berrangé <address@hidden>
Message-id: address@hidden


  Commit: 06f894dbcc5a9d4e2e352f2b6df68af0da24d5e7
      
https://github.com/qemu/qemu/commit/06f894dbcc5a9d4e2e352f2b6df68af0da24d5e7
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M ui/sdl2-input.c

  Log Message:
  -----------
  sdl2: use only QKeyCode in sdl2_process_key()

Also: sdl2_process_key is never called with scon == NULL.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Daniel P. Berrangé <address@hidden>
Message-id: address@hidden


  Commit: 0c0d42737dfdcea872a987ecba6ef55047df8881
      
https://github.com/qemu/qemu/commit/0c0d42737dfdcea872a987ecba6ef55047df8881
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M include/ui/gtk.h
    M ui/gtk.c

  Log Message:
  -----------
  kbd-state: use state tracker for gtk

Use the new keyboard state tracked for gtk.  Allows to drop the
gtk-specific modifier state tracking code.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Daniel P. Berrangé <address@hidden>
Message-id: address@hidden


  Commit: c2f2ba4983aa1dd634e78347706e6585afc1f2a0
      
https://github.com/qemu/qemu/commit/c2f2ba4983aa1dd634e78347706e6585afc1f2a0
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M ui/vnc.c
    M ui/vnc.h

  Log Message:
  -----------
  kbd-state: use state tracker for vnc

Use the new keyboard state tracked for vnc.  Allows to drop the
vnc-specific modifier state tracking code.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Daniel P. Berrangé <address@hidden>
Message-id: address@hidden


  Commit: 4ed26e19d90bf5a4ea5662118ae5a2af46e61d36
      
https://github.com/qemu/qemu/commit/4ed26e19d90bf5a4ea5662118ae5a2af46e61d36
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M ui/curses.c
    M ui/keymaps.c
    M ui/keymaps.h
    M ui/vnc.c

  Log Message:
  -----------
  keymap: pass full keyboard state to keysym2scancode

Pass the keyboard state tracker handle down to keysym2scancode(),
so the code can fully inspect the keyboard state as needed.  No
functional change.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Daniel P. Berrangé <address@hidden>
Message-id: address@hidden


  Commit: 19c1b9fd3dd5955893c0d3c187a4180313e9a0f1
      
https://github.com/qemu/qemu/commit/19c1b9fd3dd5955893c0d3c187a4180313e9a0f1
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M ui/curses.c
    M ui/keymaps.c
    M ui/keymaps.h
    M ui/vnc.c

  Log Message:
  -----------
  keymap: fix keyup mappings

It is possible that the modifier state on keyup is different from the
modifier state on keydown.  In that case the keycode lookup can end up
with different keys in case multiple keysym -> keycode mappings exist,
because it picks the mapping depending on modifier state.

To fix that change the lookup logic for keyup events.  Instead of
looking at the modifier state check the key state and prefer a keycodes
where the key is in "down" state right now.

Fixes: abb4f2c965 keymap: consider modifier state when picking a mapping
Buglink: https://bugs.launchpad.net/bugs/1738283
Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1658676
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Daniel P. Berrangé <address@hidden>
Message-id: address@hidden


  Commit: 01a9a51ffaf4699827ea6425cb2b834a356e159d
      
https://github.com/qemu/qemu/commit/01a9a51ffaf4699827ea6425cb2b834a356e159d
  Author: Peter Maydell <address@hidden>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M include/sysemu/sysemu.h
    M include/ui/egl-helpers.h
    M include/ui/gtk.h
    A include/ui/kbd-state.h
    M include/ui/sdl2.h
    M qemu-deprecated.texi
    M qemu-options.hx
    M ui/Makefile.objs
    M ui/cocoa.m
    M ui/curses.c
    M ui/egl-headless.c
    M ui/egl-helpers.c
    M ui/gtk-egl.c
    M ui/gtk.c
    A ui/kbd-state.c
    M ui/keymaps.c
    M ui/keymaps.h
    M ui/sdl2-input.c
    M ui/sdl2.c
    R ui/sdl_keysym.h
    M ui/spice-display.c
    M ui/vnc.c
    M ui/vnc.h
    M vl.c

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

ui: add kbd stats tracker.
ui: gtk scroll fixes.
ui: egl cursor scale fix.
ui: more sdl1 cleanup.

# gpg: Signature made Tue 05 Feb 2019 10:57:42 GMT
# gpg:                using RSA key 4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>" [full]
# gpg:                 aka "Gerd Hoffmann <address@hidden>" [full]
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>" [full]
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/ui-20190205-pull-request:
  keymap: fix keyup mappings
  keymap: pass full keyboard state to keysym2scancode
  kbd-state: use state tracker for vnc
  kbd-state: use state tracker for gtk
  sdl2: use only QKeyCode in sdl2_process_key()
  kbd-state: use state tracker for sdl2
  sdl2: remove sdl2_reset_keys() function
  kbd-state: add keyboard state tracker
  ui/egl-helpers: Augment parameter list of egl_texture_blend() to convey 
scales of viewport
  ui/cocoa.m: Fix macOS 10.14 deprecation warnings
  ui/sdl_keysym: Remove obsolete SDL1.2 related code
  ui: listen for GDK_SMOOTH_SCROLL events
  ui: don't send any event if delta_y == 0
  Remove deprecated -no-frame option

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


Compare: https://github.com/qemu/qemu/compare/1c3d45df5e94...01a9a51ffaf4



reply via email to

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