qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] fd07d0: gtk: zap scrolled_window


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] fd07d0: gtk: zap scrolled_window
Date: Wed, 28 May 2014 04:00:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: fd07d07ba931a9c3eb82439c5923a888922734d6
      
https://github.com/qemu/qemu/commit/fd07d07ba931a9c3eb82439c5923a888922734d6
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: zap scrolled_window

The vte widget implements the scrollable interface, placing it into
a scrolled window is pointless and creates a bunch of strange effects.
Zap it.

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


  Commit: 6fe83074d7ecda45839b6513188ee585d7b91ce1
      
https://github.com/qemu/qemu/commit/6fe83074d7ecda45839b6513188ee585d7b91ce1
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: zap vte size requests

The vte tabs simply get the size of the vga tab then, with whatever
cols and lines are fitting in.  I find this bahavior more useful than
resizing the qemu window all day long.

YMMV.  Comments are welcome.

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


  Commit: ee5f31e48b5a754c44df5f006a845344f9efd753
      
https://github.com/qemu/qemu/commit/ee5f31e48b5a754c44df5f006a845344f9efd753
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: cleanup CONFIG_VTE ifdef a bit.

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


  Commit: 0fb20d1c39def06a592dd17922e0f0d6fe049000
      
https://github.com/qemu/qemu/commit/0fb20d1c39def06a592dd17922e0f0d6fe049000
  Author: Cole Robinson <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: Add a scrollbar for text consoles

Only show the scrollbar if the content doesn't fit on the visible space.

[ kraxel: fix box packing ]

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


  Commit: 832189c9b191e10948df06cdb77d364e6a19d434
      
https://github.com/qemu/qemu/commit/832189c9b191e10948df06cdb77d364e6a19d434
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: remove page numbering assumtions from the code

Lookup page numbers using gtk_notebook_page_num() instead.

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


  Commit: 271a25c0b62df9fec55cb0e43ba272d31654a835
      
https://github.com/qemu/qemu/commit/271a25c0b62df9fec55cb0e43ba272d31654a835
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: VirtualConsole restruction

Move all vte-related items into VirtualVteConsole substruct.

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


  Commit: e3500d1f5f0837c3ae70612c27f16845b0796040
      
https://github.com/qemu/qemu/commit/e3500d1f5f0837c3ae70612c27f16845b0796040
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: move vga state into VirtualGfxConsole

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


  Commit: ed1132e41a31ded554adc542ddf043714f05b9d0
      
https://github.com/qemu/qemu/commit/ed1132e41a31ded554adc542ddf043714f05b9d0
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: support multiple gfx displays

Each display gets its own tab.  Tab switching continues to work like it
did, just the hotkeys of the vte consoles changes in case a secondary
display is present as it will get ctrl-alt-2 assigned and the vtes are
shifted by one.

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


  Commit: 6a24ced5cab3e7cc5b2efd7122b5e191950998aa
      
https://github.com/qemu/qemu/commit/6a24ced5cab3e7cc5b2efd7122b5e191950998aa
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: use device type as label

IMO useful than showing VGA for any graphic device
even in case it is something completely different.

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


  Commit: d3ef575080c1d7a59a7df0678702f5e320000e87
      
https://github.com/qemu/qemu/commit/d3ef575080c1d7a59a7df0678702f5e320000e87
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: simplify resize

Simply ask for a small window size.  When the widgets don't fit in gtk
will automatically make the window large enougth to make things fit, no
need to try (and fail) duplicate that logic in qemu.

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


  Commit: cdeb7090ee974f80971490dc013ac3548405bf36
      
https://github.com/qemu/qemu/commit/cdeb7090ee974f80971490dc013ac3548405bf36
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: allow moving tabs to windows and back.

"View->Detach tab" will move to tab to a new window.
Simply closing the window will move it back into a notebook tab.
The label will be permamently stored in VirtualConsole->label,
so it can easily be reused to (re-)label tabs and windows.

Works for vte tabs only for now. pointer/kbd grab code needs
adaptions before we can enable it for gfx tabs too.

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


  Commit: 74444bc1983bfe4cea794a5b4f2e6bc7ea5552ed
      
https://github.com/qemu/qemu/commit/74444bc1983bfe4cea794a5b4f2e6bc7ea5552ed
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M trace-events
    M ui/gtk.c

  Log Message:
  -----------
  gtk: add tab to trace events

So you can see which of multiple displays (if present) was resized ;)

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


  Commit: 1c856da57b29e41c73701f6f798589d50274b368
      
https://github.com/qemu/qemu/commit/1c856da57b29e41c73701f6f798589d50274b368
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M trace-events
    M ui/gtk.c

  Log Message:
  -----------
  gtk: add gd_grab trace event

Input grab code is tricky, add some debug & trouble shooting aid.

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


  Commit: 4c638e2e4ba03cc9c1bca4400f4c68870208afe3
      
https://github.com/qemu/qemu/commit/4c638e2e4ba03cc9c1bca4400f4c68870208afe3
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: keep track of grab owner

Simplifies grab state tracking and makes ungrab more reliable.

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


  Commit: 746b86703003b4a6e5323b51b324f591dcd1a84b
      
https://github.com/qemu/qemu/commit/746b86703003b4a6e5323b51b324f591dcd1a84b
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: skip keyboard grab when hover autograb is active

It's pointless.  With grab on hover enabled the keyboard grab
is already active when you press Ctrl-Alt-G ;)

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


  Commit: 4eeaa3a88557c7540a75f7ca2cb1171c57d56db9
      
https://github.com/qemu/qemu/commit/4eeaa3a88557c7540a75f7ca2cb1171c57d56db9
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: update gd_update_caption

Adapt to recent changes, handle multiple windows.

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


  Commit: 2884cf5b934808f547b5268a51be631805c25857
      
https://github.com/qemu/qemu/commit/2884cf5b934808f547b5268a51be631805c25857
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: fix grab checks

Make it handle multiple windows case correctly.

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


  Commit: 99623c90d14d3112b88ace3ed0abded915c9116e
      
https://github.com/qemu/qemu/commit/99623c90d14d3112b88ace3ed0abded915c9116e
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: update all windows on mouse mode changes

We might have multiple graphic displays now which all need a cursor update.

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


  Commit: 0c77a37f1118fabed18b9e1aa04ddedf4c06d3d5
      
https://github.com/qemu/qemu/commit/0c77a37f1118fabed18b9e1aa04ddedf4c06d3d5
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: detached window pointer grabs

Make ungrab hotkey work with detached windows.
Enable pointer grabs for detached windows.

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


  Commit: aa0a55d42d0874bad9ff0f709c91179be727b8ce
      
https://github.com/qemu/qemu/commit/aa0a55d42d0874bad9ff0f709c91179be727b8ce
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: enable untabify for gfx

Now we have all grab fixes in place, so we can allow detaching
graphic display tabs too.

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


  Commit: 3158a3482b0093e41f2b2596fba50774ea31ae08
      
https://github.com/qemu/qemu/commit/3158a3482b0093e41f2b2596fba50774ea31ae08
  Author: Bruce Rogers <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: Add handling for the xfree86 keycodes

Currently only evdev keycodes are handled by the gtk-ui. SDL has
code to handle both. This patch adds similar processing so that
both keycode types will be handled via the gtk-ui.

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


  Commit: 0f61a61df377bd99f6f3a7f8fe9abd05f023a94b
      
https://github.com/qemu/qemu/commit/0f61a61df377bd99f6f3a7f8fe9abd05f023a94b
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: zap unused global_state

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


  Commit: 82fc18099aa8ee2533add523cc0069f26a83e7b6
      
https://github.com/qemu/qemu/commit/82fc18099aa8ee2533add523cc0069f26a83e7b6
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: window sizing overhaul

Major overhaul for window size handling.  This basically switches qemu
over to use geometry hints for the window manager instead of trying to
get the job done with widget resize requests.  This allows to specify
better what we need and also avoids window resizes.

FIXME: on gtk2 someone overwrites the geometry hints :(

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


  Commit: 6fa27697514bb45e80fcb57f38054a8833f87ff9
      
https://github.com/qemu/qemu/commit/6fa27697514bb45e80fcb57f38054a8833f87ff9
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-05-26 (Mon, 26 May 2014)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  gtk: workaround gtk2 vte resize issue

Hack isn't pretty, but gets the job done.
See source code comment for details.

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


  Commit: 109519fd326f967bf1fffded2430d7a49899d47d
      
https://github.com/qemu/qemu/commit/109519fd326f967bf1fffded2430d7a49899d47d
  Author: Peter Maydell <address@hidden>
  Date:   2014-05-28 (Wed, 28 May 2014)

  Changed paths:
    M trace-events
    M ui/gtk.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-gtk-7' into staging

gtk: ui overhaul, multiwindow support.

# gpg: Signature made Mon 26 May 2014 08:54:55 BST using RSA key ID D3E87138
# gpg: Can't check signature: public key not found

* remotes/kraxel/tags/pull-gtk-7: (24 commits)
  gtk: workaround gtk2 vte resize issue
  gtk: window sizing overhaul
  gtk: zap unused global_state
  gtk: Add handling for the xfree86 keycodes
  gtk: enable untabify for gfx
  gtk: detached window pointer grabs
  gtk: update all windows on mouse mode changes
  gtk: fix grab checks
  gtk: update gd_update_caption
  gtk: skip keyboard grab when hover autograb is active
  gtk: keep track of grab owner
  gtk: add gd_grab trace event
  gtk: add tab to trace events
  gtk: allow moving tabs to windows and back.
  gtk: simplify resize
  gtk: use device type as label
  gtk: support multiple gfx displays
  gtk: move vga state into VirtualGfxConsole
  gtk: VirtualConsole restruction
  gtk: remove page numbering assumtions from the code
  ...

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


Compare: https://github.com/qemu/qemu/compare/4aa23452e366...109519fd326f

reply via email to

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