1. 10 11月, 2016 1 次提交
  2. 28 10月, 2016 2 次提交
  3. 24 10月, 2016 2 次提交
  4. 10 6月, 2016 1 次提交
  5. 03 6月, 2016 1 次提交
  6. 13 5月, 2016 1 次提交
    • A
      gtk: don't leak the GtkBorder with VTE 0.36 · 6978dc4a
      Alberto Garcia 提交于
      When gtk_widget_style_get() is used to get the "inner-border" style
      property, it returns a copy of the GtkBorder which must be freed by
      the caller.
      
      This patch also fixes a warning about the unused 'padding' structure
      with VTE 0.36.
      Signed-off-by: NAlberto Garcia <berto@igalia.com>
      Message-id: 1463127654-5171-1-git-send-email-berto@igalia.com
      Cc: Cole Robinson <crobinso@redhat.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      
      [ kraxel: adapted to changes in ui patch queue ]
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      6978dc4a
  7. 12 5月, 2016 2 次提交
  8. 11 5月, 2016 3 次提交
  9. 23 3月, 2016 1 次提交
  10. 01 3月, 2016 1 次提交
  11. 22 2月, 2016 1 次提交
  12. 05 2月, 2016 1 次提交
    • P
      ui: Clean up includes · e16f4c87
      Peter Maydell 提交于
      Clean up includes so that osdep.h is included first and headers
      which it implies are not included manually.
      
      This commit was created with scripts/clean-includes.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1454089805-5470-2-git-send-email-peter.maydell@linaro.org
      e16f4c87
  13. 02 2月, 2016 1 次提交
  14. 18 1月, 2016 1 次提交
    • P
      gtk: implement set_echo · fba958c6
      Paolo Bonzini 提交于
      Even without line editing, this makes -qmp vc more pleasant with the
      GTK+ backend.  The only issue is that set_echo is invoked very early,
      long before a vc is actually associated with a VirtualConsole.  To work
      around this, create a temporary VirtualConsole until then.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Message-id: 1450356422-31710-1-git-send-email-pbonzini@redhat.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      fba958c6
  15. 17 12月, 2015 1 次提交
    • E
      qapi: Change munging of CamelCase enum values · d20a580b
      Eric Blake 提交于
      When munging enum values, the fact that we were passing the entire
      prefix + value through camel_to_upper() meant that enum values
      spelled with CamelCase could be turned into CAMEL_CASE.  However,
      this provides a potential collision (both OneTwo and One-Two would
      munge into ONE_TWO) for enum types, when the same two names are
      valid side-by-side as QAPI member names.  By changing the generation
      of enum constants to always be prefix + '_' + c_name(value,
      False).upper(), and ensuring that there are no case collisions (in
      the next patches), we no longer have to worry about names that
      would be distinct as QAPI members but collide as variant tag names,
      without having to think about what munging the heuristics in
      camel_to_upper() will actually perform on an enum value.
      
      Making the change will affect enums that did not follow coding
      conventions, using 'CamelCase' rather than desired 'lower-case'.
      
      Thankfully, there are only two culprits: InputButton and ErrorClass.
      We already tweaked ErrorClass to make it an alias of QapiErrorClass,
      where only the alias needs changing rather than the whole tree.  So
      the bulk of this change is modifying INPUT_BUTTON_WHEEL_UP to the
      new INPUT_BUTTON_WHEELUP (and likewise for WHEELDOWN).  That part
      of this commit may later need reverting if we rename the enum
      constants from 'WheelUp' to 'wheel-up' as part of moving
      x-input-send-event to a stable interface; but at least we have
      documentation bread crumbs in place to remind us (commit 513e7cdb),
      and it matches the fact that SDL constants are also spelled
      SDL_BUTTON_WHEELUP.
      
      Suggested by: Markus Armbruster <armbru@redhat.com>
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Message-Id: <1447836791-369-27-git-send-email-eblake@redhat.com>
      [Commit message tweaked]
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      d20a580b
  16. 19 10月, 2015 1 次提交
  17. 08 10月, 2015 2 次提交
  18. 25 9月, 2015 1 次提交
    • D
      gtk: avoid redefining _WIN32_WINNT macro · c8f3f17c
      Daniel P. Berrange 提交于
      When building for Mingw64 target on Fedora 22 a warning
      is issued about _WIN32_WINNT being redefined.
      
      In file included from ui/gtk.c:40:0:
      include/ui/gtk.h:5:0: warning: "_WIN32_WINNT" redefined
       # define _WIN32_WINNT 0x0601 /* needed to get definition of MAPVK_VK_TO_VSC */
        ^
      In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/crtdefs.h:10:0,
                       from /usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h:9,
                       from /home/berrange/src/virt/qemu/include/qemu/fprintf-fn.h:12,
                       from /home/berrange/src/virt/qemu/include/qemu-common.h:18,
                       from ui/gtk.c:37:
      /usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h:225:0: note: this is the location of the previous definition
       #define _WIN32_WINNT 0x502
       ^
      
      Rather than try to get MAPVK_VK_TO_VSC defined indirectly
      by defining _WIN32_WINNT, instead just define it explicitly
      if missing.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      Acked-by: NPaolo Bonzini <pbonzini@redhat.com>
      c8f3f17c
  19. 15 9月, 2015 6 次提交
  20. 11 6月, 2015 1 次提交
  21. 29 5月, 2015 2 次提交
  22. 06 5月, 2015 3 次提交
  23. 27 4月, 2015 2 次提交
  24. 22 4月, 2015 2 次提交