qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] fca477: input: fix memory leak


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] fca477: input: fix memory leak
Date: Mon, 15 Jan 2018 01:33:53 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: fca4774a96843ba9d32a5d5d1c3826e1478facae
      
https://github.com/qemu/qemu/commit/fca4774a96843ba9d32a5d5d1c3826e1478facae
  Author: linzhecheng <address@hidden>
  Date:   2018-01-12 (Fri, 12 Jan 2018)

  Changed paths:
    M ui/input.c

  Log Message:
  -----------
  input: fix memory leak

If kbd_queue is not empty and queue_count >= queue_limit,
we should free evt.

Change-Id: Ieeacf90d5e7e370a40452ec79031912d8b864d83
Signed-off-by: linzhecheng <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: b7715af2b31f47060cc5b4be930d16c13be93fa9
      
https://github.com/qemu/qemu/commit/b7715af2b31f47060cc5b4be930d16c13be93fa9
  Author: Daniel P. Berrange <address@hidden>
  Date:   2018-01-12 (Fri, 12 Jan 2018)

  Changed paths:
    M configure
    M qemu-doc.texi
    M ui/gtk.c

  Log Message:
  -----------
  ui: deprecate use of GTK 2.x in favour of 3.x series

The GTK 3.0 release was made in Feb, 2011:

  https://blog.gtk.org/2011/02/10/gtk-3-0-released/

That will soon be 7 years ago, which is enough time to consider
the 3.x series widely supported.

Thus we deprecate the GTK 2.x support, which will allow us to
delete it in the last release of 2018. By this time, GTK 3.x
will be almost 8 years old.

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


  Commit: 9fedfa49092c55628a96fd2783060d58ccec9db0
      
https://github.com/qemu/qemu/commit/9fedfa49092c55628a96fd2783060d58ccec9db0
  Author: Frediano Ziglio <address@hidden>
  Date:   2018-01-12 (Fri, 12 Jan 2018)

  Changed paths:
    M hw/display/qxl.c
    M include/ui/spice-display.h
    M ui/spice-display.c

  Log Message:
  -----------
  spice: remove QXLWorker interface field

This fields points to an old interface that is no more
used in the current code.

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


  Commit: 44e8f22986a010d6078e5cd868098283b875a515
      
https://github.com/qemu/qemu/commit/44e8f22986a010d6078e5cd868098283b875a515
  Author: Frediano Ziglio <address@hidden>
  Date:   2018-01-12 (Fri, 12 Jan 2018)

  Changed paths:
    M ui/spice-core.c

  Log Message:
  -----------
  spice: remove unused watch list

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


  Commit: 58a5d33aa8da8b0f55c97232f74bdf987885df17
      
https://github.com/qemu/qemu/commit/58a5d33aa8da8b0f55c97232f74bdf987885df17
  Author: Frediano Ziglio <address@hidden>
  Date:   2018-01-12 (Fri, 12 Jan 2018)

  Changed paths:
    M ui/spice-core.c

  Log Message:
  -----------
  spice: remove only written event_mask field

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


  Commit: abda4766815af3db3c3c43fa96a45d935e2b217a
      
https://github.com/qemu/qemu/commit/abda4766815af3db3c3c43fa96a45d935e2b217a
  Author: Frediano Ziglio <address@hidden>
  Date:   2018-01-12 (Fri, 12 Jan 2018)

  Changed paths:
    M ui/spice-core.c

  Log Message:
  -----------
  spice: remove unused timer list

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


  Commit: 2821671629531184d9fa2f8fcc3cea1bd605b872
      
https://github.com/qemu/qemu/commit/2821671629531184d9fa2f8fcc3cea1bd605b872
  Author: Jindrich Makovicka <address@hidden>
  Date:   2018-01-12 (Fri, 12 Jan 2018)

  Changed paths:
    M ui/sdl2.c

  Log Message:
  -----------
  sdl2: Do not hide the cursor on auxilliary windows

Signed-off-by: Jindrich Makovicka <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: d9f0626280fb5224071415e6fd82cc0c2e9d6590
      
https://github.com/qemu/qemu/commit/d9f0626280fb5224071415e6fd82cc0c2e9d6590
  Author: Jindrich Makovicka <address@hidden>
  Date:   2018-01-12 (Fri, 12 Jan 2018)

  Changed paths:
    M ui/sdl2.c

  Log Message:
  -----------
  sdl2 uses surface relative coordinates

This patch fixes mouse positioning with -device usb-tablet and fullscreen
or resized window.

Fixes: 46522a82236ea0cf9011b89896d2d8f8ddaf2443
Signed-off-by: Jindrich Makovicka <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 849bbe60356caf3d320202d45f1ddffeefae06c7
      
https://github.com/qemu/qemu/commit/849bbe60356caf3d320202d45f1ddffeefae06c7
  Author: Jindrich Makovicka <address@hidden>
  Date:   2018-01-12 (Fri, 12 Jan 2018)

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

  Log Message:
  -----------
  sdl2: Ignore UI hotkeys after a focus change when GUI modifier is held

When SDL2 windows change focus while a key is held, the window that
receives the focus also receives a new KeyDown event, without an
autorepeat flag. This means that if a WM places the qemu console
over the main window after Ctrl-Alt-2, the console closes immediately
after opening. Then, the main window receives the KeyDown event again
and the whole process repeats.

This patch makes the SDL2 UI ignore the KeyDown events on a window that
just received the focus, if the GUI modifier was held. The ignore flag
is reset on a first KeyUp event. This effectively works around the issue
above.

Signed-off-by: Jindrich Makovicka <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


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

  Changed paths:
    M configure
    M hw/display/qxl.c
    M include/ui/sdl2.h
    M include/ui/spice-display.h
    M qemu-doc.texi
    M ui/gtk.c
    M ui/input.c
    M ui/sdl2.c
    M ui/spice-core.c
    M ui/spice-display.c

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

sdl2: bugfixes.
spice: cleanups.
input: mem leak fix.
gtk: deprecate 2.x support.

# gpg: Signature made Fri 12 Jan 2018 14:52:39 GMT
# gpg:                using RSA key 0x4CB6D8EED3E87138
# 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-20180112-pull-request:
  sdl2: Ignore UI hotkeys after a focus change when GUI modifier is held
  sdl2 uses surface relative coordinates
  sdl2: Do not hide the cursor on auxilliary windows
  spice: remove unused timer list
  spice: remove only written event_mask field
  spice: remove unused watch list
  spice: remove QXLWorker interface field
  ui: deprecate use of GTK 2.x in favour of 3.x series
  input: fix memory leak

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


Compare: https://github.com/qemu/qemu/compare/7398166ddf7c...c7947342d7dd

reply via email to

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