Page MenuHomeFreeBSD

bsddialog: import version 0.2
ClosedPublic

Authored by asiciliano on Mar 5 2022, 11:13 PM.
Tags
None
Referenced Files
F102993587: D34458.diff
Tue, Nov 19, 2:30 PM
Unknown Object (File)
Sat, Nov 2, 7:41 AM
Unknown Object (File)
Sat, Nov 2, 7:41 AM
Unknown Object (File)
Sat, Nov 2, 7:28 AM
Unknown Object (File)
Oct 2 2024, 10:49 AM
Unknown Object (File)
Oct 1 2024, 12:51 AM
Unknown Object (File)
Sep 30 2024, 9:17 AM
Unknown Object (File)
Sep 27 2024, 4:54 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.