[Syslinux-patches] hdt-next: cmenu over serial

Pierre-Alexandre Meyer pierre at mouraf.org
Mon Sep 7 16:48:32 PDT 2009

Hi Erwan,

  My cmenu-video branch seems stable enough to consider it for the next -pre
of HDT. It makes the cmenu use the ansicon and fixes a few bugs in libmenu.

My repository git://git.zytor.com/users/pam/hdt-pierre.git now contains
three branches:

  * hdt-0.3.5: hdt specific fixes for 0.3.5
  * bootloader-detection: mbr/bootloader detection library
  * cmenu-video: cmenu work to use the ansicon

The last one is fairly big (66 patches). Since it is not HDT specific, my guess
is that hpa will want to pull that separately. But I would like to see some
testing first, so I created a hdt-next branch combining the 3 branches.

Maybe we could have a -pre release of hdt-0.3.5 based on it?

For reference, shortlog below.


Pierre-Alexandre Meyer

The following changes since commit b7ec0f07b339aed8bd2b8da3603b0ee9a6a7417a:
  Pierre-Alexandre Meyer (1):
        hdt: enhance error reporting in the CLI (disk)

are available in the git repository at:

  git://git.zytor.com/users/pam/hdt-pierre.git hdt-next

H. Peter Anvin (2):
      NEWS: update for 3.83
      ansi: add support for no-wrap mode, cleanups

Pierre-Alexandre Meyer (96):
      ansicon: allow to pass page # to write functions
      Merge branch 'master' of git://git.kernel.org/pub/scm/boot/syslinux/syslinux into cmenu-video
      hdt: fix CLI crash when parsing unsupported geometries
      hdt: make get_error behaves like perror
      hdt: enhance error reporting in the CLI (disk)
      gpllib: add bootloader detection
      hdt: detect bootloader ids when probing disks
      gpllib: bootloader id should be uint16_t
      hdt: print bootloader name (CLI)
      gpllib: fix compilation warning (disk/bootloaders.h)
      hdt: print bootloader name (menu)
      hdt: fix bootloader entry alignment
      hdt: tweak bootloader display (menu)
      hdt: enhance user experience (CLI)
      hdt: enhance user experience (CLI)
      gpllib: fix comment
      gpllib: fix comment
      hdt: enhance user experience (CLI) - try harder
      hdt: right-align information about each disk (CLI)
      gpllib: use four bytes to discover the MBR
      gpllib: rename bootloader detection to MBR detection
      gpllib: rename __BOOTLOADERS_H_ to __MBRS_H_ in mbrs.h
      gpllib: add bootloader detection
      hdt: add bootloader detection (CLI)
      hdt: add bootloader detection (menu)
      ansicon: allow to pass page # to write functions
      cmenu: implement gotoxy using escape sequences
      cmenu: implement scrollup using SU escape sequence
      cmenu: remove unused getchar function
      cmenu: implement cprint using printf
      cmenu: better implementation of vga->ansi
      cmenu: remove unused bit_reverse function
      cmenu: use VT-100 alternate character set for drawing boxes
      cmenu: refactor cprint functions
      cmenu: refactor beep function
      cmenu: refactor printmenuitem function
      cmenu: refactor cswprint function
      cmenu: build cleanups
      cmenu: remove extra getboxchars call
      cmenu: use > instead of » for submenus
      cmenu: fix menu separators
      cmenu: use < for menu exit character
      cmenu: remove multi pages support
      cmenu: misc. cleanups
      cmenu: use 80x25 as terminal size by default
      Revert "ansicon: allow to pass page # to write functions"
      cmenu: fix background color
      cmenu: reset attributes instead of using ANSI sequence 22
      gpllib: add a new ansi library
      gpllib: add more ANSI functions
      libansi: move to lib directory, as it is MIT, not GPL licensed
      libansi: build libansi.o
      libansi: add missing prototype in the header
      cmenu: switch to libansi
      hdt: switch to libansi
      libansi: fix compiler warnings
      hdt: fix hdt-cli.c compilation warning
      gpllib: share PAGE_SIZE definition with cpuid.h
      gpllib: fix cpuid.h Once-Only Header wrapper
      gpllib: remove get_error declaration from disk/util.h
      hdt: unify disk headers in hdt-common.h
      hdt: fix signedness warnings
      gpllib: add missing header in ata.c
      gpllib: add const qualifier in cpu_dev (cpuid)
      cmenu: use getscreensize to access number of rows/columns
      hdt: remove call to legacy getnumcols (menu)
      cmenu: use putchar instead of putch when using default attribute
      cmenu: use printf instead of csprint with default attribute
      Merge branch 'cmenu-video' of git://git.zytor.com/users/pam/hdt-pierre into cmenu-video
      Merge commit 'origin/libansi' into cmenu-video
      cmenu: turn off auto wrap
      libansi: add reset_colors function
      cmenu: fix Login/Password and Kernel Arguments lines (complex.c)
      cmenu: unify normal menu/radio menu handling
      cmenu: remove legacy box drawing code
      cmenu: remove legacy CHABSATTR/CHRELATTR code
      cmenu: fill backgorund with printable character
      libansi: reset_colors should use csprint
      libansi: correctly reset attributes
      cmenu: use get_key library for keyboard functions
      cmenu: fix handlers signature in the examples
      libansi: add function to scroll up multiple lines
      hdt: fix build due to cmenu keyboard changes
      cmenu: make the help menu actually work
      cmenu: remove obsolete com32io code
      cmenu: pad help filename with 0 instead of spaces
      cmenu: redraw menu when exiting keys_handler
      cmenu: force refresh after checkbox_handler in complex.c
      cmenu: optimize redraw to be faster
      hdt: remove extra LF
      cmenu: redraw the current menu after exiting the keys_handler
      hdt: do not invoke help if helpid is 0xFFFF
      cmenu: do not invoke help if helpid is 0xFFFF (complex.c)
      cmenu: use ASCII characters for scrollbars
      Merge branch 'bootloader-detection' into hdt-next
      Merge branch 'cmenu-video' into hdt-next

 NEWS                                |    6 +
 com32/cmenu/adv_menu.tpl            |   45 +-
 com32/cmenu/complex.c               |  109 ++--
 com32/cmenu/libmenu/com32io.c       |   69 +--
 com32/cmenu/libmenu/com32io.h       |   69 +--
 com32/cmenu/libmenu/help.c          |  147 ++--
 com32/cmenu/libmenu/help.h          |    6 +-
 com32/cmenu/libmenu/menu.c          | 1370 ++++++++++++++++-------------------
 com32/cmenu/libmenu/menu.h          |   23 +-
 com32/cmenu/libmenu/scancodes.h     |   86 ---
 com32/cmenu/libmenu/tui.c           |  235 ++-----
 com32/cmenu/libmenu/tui.h           |   56 +-
 com32/gplinclude/cpuid.h            |    6 +-
 com32/gplinclude/disk/bootloaders.h |   18 +
 com32/gplinclude/disk/common.h      |    6 +-
 com32/gplinclude/disk/error.h       |    4 +-
 com32/gplinclude/disk/mbrs.h        |   18 +
 com32/gplinclude/disk/util.h        |    1 -
 com32/gpllib/disk/ata.c             |    1 +
 com32/gpllib/disk/bootloaders.c     |   46 ++
 com32/gpllib/disk/error.c           |    2 +-
 com32/gpllib/disk/mbrs.c            |   82 +++
 com32/hdt/hdt-cli-disk.c            |   51 +-
 com32/hdt/hdt-cli.c                 |    5 +-
 com32/hdt/hdt-common.c              |   19 +-
 com32/hdt/hdt-common.h              |   21 +-
 com32/hdt/hdt-menu-disk.c           |   41 +-
 com32/hdt/hdt-menu-kernel.c         |    2 +-
 com32/hdt/hdt-menu-pci.c            |    2 +-
 com32/hdt/hdt-menu-summary.c        |    2 +-
 com32/hdt/hdt-menu-syslinux.c       |    3 +-
 com32/hdt/hdt-menu.c                |   25 +-
 com32/hdt/hdt-menu.h                |    5 +-
 com32/hdt/lib-ansi.c                |  104 ---
 com32/hdt/lib-ansi.h                |   44 --
 com32/include/libansi.h             |  114 +++
 com32/lib/Makefile                  |    2 +
 com32/lib/sys/ansi.c                |   67 +-
 com32/lib/sys/ansi.h                |   37 +-
 com32/lib/sys/ansicon_write.c       |   18 +-
 com32/lib/sys/libansi.c             |  214 ++++++
 doc/memdisk.txt                     |    6 +
 42 files changed, 1593 insertions(+), 1594 deletions(-)
 delete mode 100644 com32/cmenu/libmenu/scancodes.h
 create mode 100644 com32/gplinclude/disk/bootloaders.h
 create mode 100644 com32/gplinclude/disk/mbrs.h
 create mode 100644 com32/gpllib/disk/bootloaders.c
 create mode 100644 com32/gpllib/disk/mbrs.c
 delete mode 100644 com32/hdt/lib-ansi.c
 delete mode 100644 com32/hdt/lib-ansi.h
 create mode 100644 com32/include/libansi.h
 create mode 100644 com32/lib/sys/libansi.c

More information about the Syslinux-patches mailing list