diff --git a/contrib/bsddialog/.gitignore b/contrib/bsddialog/.gitignore index c8fc68ed8a0e..c9613d477f7f 100644 --- a/contrib/bsddialog/.gitignore +++ b/contrib/bsddialog/.gitignore @@ -1,26 +1,27 @@ bsddialog .depend* *.o *.so* *.a *.gz *.core *~ BSDDIALOG.geany BSDDIALOG.tags examples_library/calendar examples_library/checklist examples_library/datebox examples_library/form examples_library/gauge examples_library/infobox examples_library/menu examples_library/mixedgauge examples_library/mixedlist examples_library/msgbox examples_library/pause examples_library/radiolist examples_library/rangebox +examples_library/textbox examples_library/theme examples_library/timebox examples_library/yesno diff --git a/contrib/bsddialog/CHANGELOG b/contrib/bsddialog/CHANGELOG index a4cf4d01c077..7800098644d7 100644 --- a/contrib/bsddialog/CHANGELOG +++ b/contrib/bsddialog/CHANGELOG @@ -1,402 +1,448 @@ -2024-07-01 1.0.4 +2025-06-22 Version 1.0.5 + + Manual: + * fix: "User-friendly documentation for alternate screen" + https://bugs.freebsd.org/285459. + Improve bsddialog.1: --alternate-screen and --normal-screen. + + NetBSD (tested on amd64) refactoring, no function changes: + * https://gitlab.com/alfix/bsddialog/-/merge_requests/4 + lib: include in lib_util.c. + * https://gitlab.com/alfix/bsddialog/-/merge_requests/5 + a call to curses' refresh() is performed, while a local + variable is also called refresh. + * Makefiles: add install and uninstall targets (both GND and BSD) + https://gitlab.com/alfix/bsddialog/-/merge_requests/3 + + MacOS (tested on amd64) refactoring, no function changes: + * https://gitlab.com/alfix/bsddialog/-/merge_requests/6 + utility: replace u_int with unsigned int. + + Library: + * fix: useless refreshes, https://gitlab.com/alfix/bsddialog/-/issues/8: + "It takes lot of time when running over a 115200 UART". + Not fixed for bsddialog_gauge() because it has to be rewritten. + * change: bsddialog_backtitle() does not update the screen so the + backtitle is not printed. To use if a dialog is built later. + Rationale: see "115200 UART" problem above. + * add: bsddialog_backtitle_rf() to print a top title refreshing the + screen like bsddialog_backtitle() was previously. + * change: forms, ENTER is also a navigation keys in forms fields. + Request: https://bugs.freebsd.org/287592 + If conf.button.always_active is true the form is closes immediatly. + + Library and implicitly utility: + * fix: textbox buttons returned values (was always OK). + Thanks to https://reviews.freebsd.org/D48668. + * change: TAB is a navigation keys in forms. Previously it directly + switched form-fields <-> buttons. + Request: https://bugs.freebsd.org/287592 + + Utility: + * change: forms, ENTER is a also navigation keys in forms fields. + Previously it directly closed the form except with --switch-buttons + Request: https://bugs.freebsd.org/287592 + + +2024-07-01 Version 1.0.4 Utility internal refactoring (no functional change): * change: rename an internal constant to avoid a future conflict because FreeBSD is changing headers files for _FORTIFY_SOURCE. Reported and fixed by Kyle Evans. -2024-05-27 1.0.3 +2024-05-27 Version 1.0.3 Utility: change: --form and --mixedform do not print field value to output fd if is <= 0 (readonly). To note --mixedgauge continues to print field value if = 2 (readonly) unless is <= 0 (as described previously). 2024-04-11 Version 1.0.2 Utility: improvements and changes for --form and --mixedform: * add: 0 sets like . * add: 0 sets like width and readonly. * change: 0 was an error (remains error in lib). * change: 0 was an error (remains error in lib) ( 0 and "" is still an error.). Library and implicitly utility: * add: Ctrl-l to redraw dialog. Request stable@freebsd.org January 2024. * add: -, +, Ctrl-p, Ctrl-n for several dialogs. +, - request for menus, private feature request. Ctrl-p, Ctrl-n for menu, request hackers@freebsd.org February 2024. * fix: escaped text ending with an escape symbol. * change: truncate mixedgauge long (over the screen/minibars) minilabels adding "...". As a result, avoid check-size error. https://gitlab.com/alfix/bsddialog/-/issues/6. * change: invert UP/DOWN keys to set a rangebox value. 2023-11-16 Version 1.0.1 Library Internal Refactoring: * add: arrow macro handlers. * change: Box-drawing characters, from utf8 to wide chars to avoid to handle "env NCURSES_NO_UTF8_ACS=1". Request https://bugs.freebsd.org/274472, Rationale https://reviews.freebsd.org/D42380. 2023-08-01 Version 1.0 Utility: * add: comments to --save-theme output file. * add: blink, halfbright, highlight to --save-theme and --load-theme. * add: theme.menu.[f_]prefixcolor to --save-theme and --load-theme. * add: --datebox-format to set --datebox UI. * add: --help-print-items (--help-status becomes alias). * add: --text-escape (--colors becomes alias). * add: new escapes \Zd, \Zk, \Zs, \ZD, \ZK, \ZS, for --text-escape. * add: env NO_COLOR, to set blackwhite theme. * add: $HOME/.bsddialog.conf startup theme file. * add: env BSDDIALOG_THEMEFILE startup theme file. * add: --left1-button