qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 615220: ui/curses: Fix monitor color with -cu


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 615220: ui/curses: Fix monitor color with -curses when 256...
Date: Tue, 03 Nov 2015 03:30:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 615220ddaf23db4c5686053257c568b46967e4b5
      
https://github.com/qemu/qemu/commit/615220ddaf23db4c5686053257c568b46967e4b5
  Author: OGAWA Hirofumi <address@hidden>
  Date:   2015-11-03 (Tue, 03 Nov 2015)

  Changed paths:
    M ui/curses.c

  Log Message:
  -----------
  ui/curses: Fix monitor color with -curses when 256 colors

If TERM=xterm-256color, COLOR_PAIRS==256 and monitor passes chtype
like 0x74xx. Then, the code uses uninitialized color pair. As result,
monitor uses black for both of fg and bg color, i.e. terminal is
filled by black.

To fix, this initialize above than 64 with default color (fg=white,bg=black).

FIXME: on 256 color, curses may be possible better vga color emulation.

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


  Commit: e2368dc9684ae5cec2f0558be4803901a0b58b7b
      
https://github.com/qemu/qemu/commit/e2368dc9684ae5cec2f0558be4803901a0b58b7b
  Author: OGAWA Hirofumi <address@hidden>
  Date:   2015-11-03 (Tue, 03 Nov 2015)

  Changed paths:
    M include/ui/console.h
    M ui/curses.c

  Log Message:
  -----------
  ui/curses: Support line graphics chars on -curses mode

This converts vga code to curses code in console_write_bh().

With this changes, we can see line graphics (for example, dialog uses)
correctly.

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


  Commit: e72df72a558cc189bb8681df8059b3a8cff281fc
      
https://github.com/qemu/qemu/commit/e72df72a558cc189bb8681df8059b3a8cff281fc
  Author: OGAWA Hirofumi <address@hidden>
  Date:   2015-11-03 (Tue, 03 Nov 2015)

  Changed paths:
    M ui/curses_keys.h

  Log Message:
  -----------
  ui/curses: Fix pageup/pagedown on -curses

Current KEY_NPAGE/KEY_PPAGE handling is broken on -curses. Those uses
"GREY", but "KEY_MASK" masked out "GREY".

To fix, we have to use correct mask value - SCANCODE_KEYMASK.

Then, this adds support of "shift + pageup/pagedown". With this,
-curses mode can use scroll-up/down as usual like other display modes.

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


  Commit: fb719563676f8958141a5c984e876a9a1b18f48b
      
https://github.com/qemu/qemu/commit/fb719563676f8958141a5c984e876a9a1b18f48b
  Author: OGAWA Hirofumi <address@hidden>
  Date:   2015-11-03 (Tue, 03 Nov 2015)

  Changed paths:
    M configure
    M hw/display/milkymist-tmu2.c
    M hw/lm32/milkymist-hw.h

  Log Message:
  -----------
  ui/opengl: Reduce build required libraries for opengl

We now use epoxy to load opengl libraries. This means we don't need to
link opengl libraries directly if interfaces handled by epoxy. With
this, we just need epoxy headers and epoxy's *.so to build.

Tested with epoxy-1.3.1.

- sdl2/gtk/console egl stuff doesn't require other than epoxy
- milkymist-tmu2 glx stuff doesn't require other than epoxy

(lm32 test is limited, because can't find mmone-bios.bin, so just test
to load libGL with "./lm32-softmmu/qemu-system-lm32 -M milkymist,accel=qtest")

Signed-off-by: OGAWA Hirofumi <address@hidden>

[ lm32 tested by kraxel ]

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


  Commit: de3f7de7f4e257ce44cdabb90f5f17ee99624557
      
https://github.com/qemu/qemu/commit/de3f7de7f4e257ce44cdabb90f5f17ee99624557
  Author: Peter Lieven <address@hidden>
  Date:   2015-11-03 (Tue, 03 Nov 2015)

  Changed paths:
    M ui/vnc.c

  Log Message:
  -----------
  vnc: allow fall back to RAW encoding

I have observed that depending on the contents and the encoding it happens
that sending data as RAW sometimes would take less space than the encoded data.
This is especially the case for small updates or areas with high color images.
If sending RAW encoded data is beneficial allow a fall back to RAW encoding
for the framebuffer update.

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


  Commit: 4d77b1f23877b579b94421d0cab2bebc79f4e171
      
https://github.com/qemu/qemu/commit/4d77b1f23877b579b94421d0cab2bebc79f4e171
  Author: Yang Hongyang <address@hidden>
  Date:   2015-11-03 (Tue, 03 Nov 2015)

  Changed paths:
    M ui/vnc.c

  Log Message:
  -----------
  vnc: fix bug: vnc server can't start when 'to' is specified

commit e0d03b8ceb52 converted VNC startup to use SocketAddress,
the interface socket_listen don't have a port_offset param, so
we need to add the port offset (5900) to both 'port' and 'to' opts.
currently only 'port' is added by offset.
This patch add the port offset to 'to' opts.

Signed-off-by: Yang Hongyang <address@hidden>
Reviewed-by: Daniel P. Berrange <address@hidden>
Message-id: address@hidden
Cc: Daniel P. Berrange <address@hidden>
Cc: Eric Blake <address@hidden>
Cc: Gerd Hoffmann <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 130d0bc6594d0cc6591d00312841891b3c187b07
      
https://github.com/qemu/qemu/commit/130d0bc6594d0cc6591d00312841891b3c187b07
  Author: Peter Maydell <address@hidden>
  Date:   2015-11-03 (Tue, 03 Nov 2015)

  Changed paths:
    M configure
    M hw/display/milkymist-tmu2.c
    M hw/lm32/milkymist-hw.h
    M include/ui/console.h
    M ui/curses.c
    M ui/curses_keys.h
    M ui/vnc.c

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

ui: fixes for vnc, opengl and curses.

# gpg: Signature made Tue 03 Nov 2015 09:53:24 GMT using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"

* remotes/kraxel/tags/pull-ui-20151103-1:
  vnc: fix bug: vnc server can't start when 'to' is specified
  vnc: allow fall back to RAW encoding
  ui/opengl: Reduce build required libraries for opengl
  ui/curses: Fix pageup/pagedown on -curses
  ui/curses: Support line graphics chars on -curses mode
  ui/curses: Fix monitor color with -curses when 256 colors

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


Compare: https://github.com/qemu/qemu/compare/3d861a01093f...130d0bc6594d

reply via email to

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