Page MenuHomeFreeBSD

bsddialog: import version 0.2
ClosedPublic

Authored by asiciliano on Mar 5 2022, 11:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 2, 3:48 PM
Unknown Object (File)
Jan 29 2024, 12:54 PM
Unknown Object (File)
Dec 22 2023, 10:38 PM
Unknown Object (File)
Dec 19 2023, 7:17 PM
Unknown Object (File)
Dec 10 2023, 7:05 PM
Unknown Object (File)
Sep 28 2023, 5:26 PM
Unknown Object (File)
Aug 10 2023, 4:52 PM
Unknown Object (File)
Jul 28 2023, 4:18 AM
Subscribers

Details

Summary

This version provides improvements and fixes mainly to use bsddialog-utility in bsdinstall/scripts.
The lib API is not broken so the previous converted utilities tzsetup, distextract, etc. are OK,
a wiki page tracks the current status: https://wiki.freebsd.org/RoadmapFromDialogToBSDDialog.

This review changes contrib/bsddialog to allow to test the review locally,
of course I' ll follow "Committer' s Guide 5.4. Vendor Imports with Git" to create a worktree, tag, etc, before to commit the review.

CHANGELOG:

Utility:

  • add: CHANGELOG file.
  • add: "menus" print item with focus (except with OK and ERROR).
  • add: pause.sh example.
  • add: timebox.sh example.
  • change: --theme name "default" -> "flat".
  • delete: treeview.sh example.
  • fix: --separate-output does not quote (except with --quoted).
  • fix: --datebox and --date-format month in output.
  • improve: examples handle exit status.

Library:

  • add: conf.form.enable_wchar for wide characters in bsddialog_form().
  • add: theme.menu.f_selectorcolor.
  • add: formw.c example.
  • change: move conf.f1_file and conf.f1_message in conf.key.
  • change: theme.button.[left|right]ch -> theme.button.[left|right]delim.
  • change: theme.button.space -> theme.button.hmargin.
  • change: theme.menu.arrowcolor -> theme.dialog.arrowcolor.
  • change: default menu item depth 4 -> 2.
  • fix: disable HOME, PPAGE, END and NPAGE keys in bsddialog_form().
  • fix: visible cursor for timebox.c and form.c in VM VirtualBox.
  • fix: mixedlist, center position of separator with big pad.
  • fix: timebox and datebox set values only with BSDDIALOG_OK.
  • fix: menurows autosize with fullscreen.
  • fix: bar color with 0%.
  • fix: bar label position.
  • improve: timebox and datebox navigation (keys, buttons and shortcuts).
  • improve: "menus" colors for accessibility.
Test Plan

Examples in examples_utility/ and examples_library/ test the changes.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 13 2022, 1:39 AM
This revision was automatically updated to reflect the committed changes.