This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, master has been updated
via 45e3044ed47fcaab15579da516df8922b3b48954 (commit)
from ee096c09818baf60ef2f8bafc421171ceadd8e18 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 45e3044ed47fcaab15579da516df8922b3b48954
Author: Jeremie Koenig <[email protected]>
Date: Sun Aug 1 13:52:04 2010 +0200
Add wide character support to the Hurd console
* hurd/console.h (CONS_WCHAR_MASK, CONS_WCHAR_CONTINUED): New macros.
* console/console.c: Include <locale.h>
(main): Call setlocale.
* console/display.c (display_output_one): Call wcwidth() to know the
width of the character to be displayed. Iterate over this with to insert
characters with the additional CONS_WCHAR_CONTINUED flag. Update
screen_shift_right and display_record_filechange calls accordingly.
* console-client/vga-dynafont.c (WCHAR_BOLD, WCHAR_ITALIC, WCHAR_MASK):
Change macro values.
(dynafont_new): Use glyph->bbox.{width,height} instead of
df->font->bbox.{width,height}.
(dynafont_change_font): Likewise.
(dynafont_lookup_internal): Likewise.
Mask out CONS_WCHAR_CONTINUED before calling bdf_find_glyph, but test it
for the second position of a double-width glyph.
(dynafont_activate): Enable 9-bit width only when font width is not
dividable by 8.
-----------------------------------------------------------------------
Summary of changes:
console-client/vga-dynafont.c | 54 +++++++++++++++++++++-------------------
console/console.c | 3 ++
console/display.c | 29 ++++++++++++++++-----
hurd/console.h | 8 +++++-
4 files changed, 60 insertions(+), 34 deletions(-)
hooks/post-receive
--
Hurd