Date: Mon, 29 Jun 2026 15:54:13 +0000 From: Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav <des@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 2b9f38236151 - main - Revert "Retire dialog" Message-ID: <6a429525.3bda3.7d95c50e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=2b9f38236151f1bb0f26ec14a72e553b8420da8b commit 2b9f38236151f1bb0f26ec14a72e553b8420da8b Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2026-06-29 15:53:51 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2026-06-29 15:53:51 +0000 Revert "Retire dialog" This reverts commit 5b2bdadeb6c25c10dac9722fd66a668e14d3b384. --- MAINTAINERS | 3 + Makefile.inc1 | 6 + ObsoleteFiles.inc | 26 - contrib/dialog/CHANGES | 2461 ++ contrib/dialog/COPYING | 504 + contrib/dialog/README | 61 + contrib/dialog/VERSION | 1 + contrib/dialog/aclocal.m4 | 7150 ++++++ contrib/dialog/argv.c | 168 + contrib/dialog/arrows.c | 277 + contrib/dialog/buildlist.c | 1268 ++ contrib/dialog/buttons.c | 833 + contrib/dialog/calendar.c | 1016 + contrib/dialog/checklist.c | 702 + contrib/dialog/columns.c | 174 + contrib/dialog/config.guess | 1687 ++ contrib/dialog/config.hin | 4 + contrib/dialog/config.sub | 1851 ++ contrib/dialog/configure | 27284 +++++++++++++++++++++++ contrib/dialog/configure.in | 285 + contrib/dialog/demo.pl | 337 + contrib/dialog/dialog-config.in | 254 + contrib/dialog/dialog.1 | 2041 ++ contrib/dialog/dialog.3 | 3823 ++++ contrib/dialog/dialog.c | 2144 ++ contrib/dialog/dialog.h | 1002 + contrib/dialog/dialog.lsm | 23 + contrib/dialog/dialog.pl | 600 + contrib/dialog/dlg_colors.h | 280 + contrib/dialog/dlg_internals.h | 47 + contrib/dialog/dlg_keys.c | 973 + contrib/dialog/dlg_keys.h | 182 + contrib/dialog/editbox.c | 771 + contrib/dialog/formbox.c | 1002 + contrib/dialog/fselect.c | 962 + contrib/dialog/guage.c | 456 + contrib/dialog/headers-sh.in | 199 + contrib/dialog/help.c | 54 + contrib/dialog/inputbox.c | 274 + contrib/dialog/inputstr.c | 808 + contrib/dialog/install-sh | 294 + contrib/dialog/makefile.in | 363 + contrib/dialog/menubox.c | 814 + contrib/dialog/mixedform.c | 118 + contrib/dialog/mixedgauge.c | 408 + contrib/dialog/mouse.c | 162 + contrib/dialog/mousewget.c | 96 + contrib/dialog/msgbox.c | 204 + contrib/dialog/package/debian/changelog | 337 + contrib/dialog/package/debian/compat | 1 + contrib/dialog/package/debian/control | 33 + contrib/dialog/package/debian/copyright | 111 + contrib/dialog/package/debian/docs | 1 + contrib/dialog/package/debian/postinst | 7 + contrib/dialog/package/debian/rules | 140 + contrib/dialog/package/debian/source/format | 1 + contrib/dialog/package/debian/watch | 4 + contrib/dialog/package/dialog.map | 263 + contrib/dialog/package/dialog.spec | 110 + contrib/dialog/package/dialog.sym | 225 + contrib/dialog/package/freebsd/Makefile | 48 + contrib/dialog/package/freebsd/distinfo | 2 + contrib/dialog/package/freebsd/pkg-descr | 9 + contrib/dialog/package/freebsd/pkg-plist | 203 + contrib/dialog/pause.c | 259 + contrib/dialog/po/POTFILES.in | 32 + contrib/dialog/po/an.po | 111 + contrib/dialog/po/ar.po | 112 + contrib/dialog/po/ast.po | 115 + contrib/dialog/po/be@latin.po | 109 + contrib/dialog/po/bg.po | 112 + contrib/dialog/po/ca.po | 111 + contrib/dialog/po/cs.po | 114 + contrib/dialog/po/cy.po | 111 + contrib/dialog/po/da.po | 112 + contrib/dialog/po/de.po | 115 + contrib/dialog/po/dialog.pot | 120 + contrib/dialog/po/el.po | 111 + contrib/dialog/po/eo.po | 110 + contrib/dialog/po/es.po | 112 + contrib/dialog/po/et.po | 110 + contrib/dialog/po/eu.po | 112 + contrib/dialog/po/fa.po | 113 + contrib/dialog/po/fi.po | 114 + contrib/dialog/po/fr.po | 111 + contrib/dialog/po/fur.po | 113 + contrib/dialog/po/ga.po | 109 + contrib/dialog/po/gd.po | 111 + contrib/dialog/po/gl.po | 119 + contrib/dialog/po/hi.po | 113 + contrib/dialog/po/hr.po | 114 + contrib/dialog/po/hu.po | 114 + contrib/dialog/po/ia.po | 111 + contrib/dialog/po/id.po | 111 + contrib/dialog/po/is.po | 112 + contrib/dialog/po/it.po | 112 + contrib/dialog/po/ja.po | 112 + contrib/dialog/po/ku.po | 113 + contrib/dialog/po/lt.po | 112 + contrib/dialog/po/lv.po | 115 + contrib/dialog/po/makefile.inn | 249 + contrib/dialog/po/mg.po | 110 + contrib/dialog/po/mk.po | 111 + contrib/dialog/po/ms.po | 110 + contrib/dialog/po/nb.po | 108 + contrib/dialog/po/nl.po | 113 + contrib/dialog/po/pl.po | 113 + contrib/dialog/po/pt.po | 114 + contrib/dialog/po/pt_BR.po | 113 + contrib/dialog/po/rm.po | 113 + contrib/dialog/po/ro.po | 115 + contrib/dialog/po/ru.po | 115 + contrib/dialog/po/rw.po | 126 + contrib/dialog/po/sk.po | 111 + contrib/dialog/po/sl.po | 112 + contrib/dialog/po/sq.po | 113 + contrib/dialog/po/sr.po | 112 + contrib/dialog/po/sv.po | 110 + contrib/dialog/po/sw.po | 111 + contrib/dialog/po/th.po | 112 + contrib/dialog/po/tr.po | 115 + contrib/dialog/po/uk.po | 113 + contrib/dialog/po/vi.po | 113 + contrib/dialog/po/wa.po | 110 + contrib/dialog/po/zh_CN.po | 112 + contrib/dialog/po/zh_TW.po | 112 + contrib/dialog/prgbox.c | 118 + contrib/dialog/progressbox.c | 488 + contrib/dialog/rangebox.c | 421 + contrib/dialog/rc.c | 665 + contrib/dialog/rename.sh | 60 + contrib/dialog/run_test.sh | 58 + contrib/dialog/samples/README | 7 + contrib/dialog/samples/buildlist | 20 + contrib/dialog/samples/buildlist2 | 42 + contrib/dialog/samples/buildlist4 | 22 + contrib/dialog/samples/calendar | 11 + contrib/dialog/samples/calendar-stdout | 9 + contrib/dialog/samples/calendar2 | 11 + contrib/dialog/samples/calendar2-stdout | 9 + contrib/dialog/samples/calendar3 | 11 + contrib/dialog/samples/calendar3-stdout | 9 + contrib/dialog/samples/checklist | 28 + contrib/dialog/samples/checklist-8bit | 30 + contrib/dialog/samples/checklist-utf8 | 30 + contrib/dialog/samples/checklist1 | 28 + contrib/dialog/samples/checklist10 | 30 + contrib/dialog/samples/checklist11 | 33 + contrib/dialog/samples/checklist12 | 44 + contrib/dialog/samples/checklist2 | 28 + contrib/dialog/samples/checklist3 | 28 + contrib/dialog/samples/checklist4 | 28 + contrib/dialog/samples/checklist5 | 29 + contrib/dialog/samples/checklist6 | 30 + contrib/dialog/samples/checklist7 | 34 + contrib/dialog/samples/checklist8 | 33 + contrib/dialog/samples/checklist9 | 13 + contrib/dialog/samples/checklist9.txt | 21 + contrib/dialog/samples/copifuncs/copi.ifman1 | 29 + contrib/dialog/samples/copifuncs/copi.ifmcfg2 | 68 + contrib/dialog/samples/copifuncs/copi.ifmcfg4 | 30 + contrib/dialog/samples/copifuncs/copi.ifmcfg5 | 14 + contrib/dialog/samples/copifuncs/copi.ifpoll1 | 9 + contrib/dialog/samples/copifuncs/copi.ifreq1 | 20 + contrib/dialog/samples/copifuncs/copi.rcnews | 79 + contrib/dialog/samples/copifuncs/copi.sendifm2 | 15 + contrib/dialog/samples/copifuncs/copi.trnrc | 13 + contrib/dialog/samples/copifuncs/ifpatch | 101 + contrib/dialog/samples/debian.rc | 143 + contrib/dialog/samples/dft-cancel | 3 + contrib/dialog/samples/dft-extra | 3 + contrib/dialog/samples/dft-help | 3 + contrib/dialog/samples/dft-no | 3 + contrib/dialog/samples/dialog.py | 354 + contrib/dialog/samples/dselect | 11 + contrib/dialog/samples/editbox | 45 + contrib/dialog/samples/editbox-utf8 | 35 + contrib/dialog/samples/editbox2 | 45 + contrib/dialog/samples/editbox3 | 18 + contrib/dialog/samples/editbox4 | 45 + contrib/dialog/samples/form1 | 71 + contrib/dialog/samples/form1-both | 61 + contrib/dialog/samples/form1-extra | 61 + contrib/dialog/samples/form1-help | 61 + contrib/dialog/samples/form1-utf8 | 63 + contrib/dialog/samples/form2 | 84 + contrib/dialog/samples/form3 | 69 + contrib/dialog/samples/form4 | 70 + contrib/dialog/samples/form5 | 71 + contrib/dialog/samples/form6 | 71 + contrib/dialog/samples/fselect | 11 + contrib/dialog/samples/fselect-stdout | 9 + contrib/dialog/samples/fselect0 | 11 + contrib/dialog/samples/fselect1 | 20 + contrib/dialog/samples/fselect1-stdout | 18 + contrib/dialog/samples/fselect2 | 11 + contrib/dialog/samples/fselect2-stdout | 9 + contrib/dialog/samples/gauge | 22 + contrib/dialog/samples/gauge0 | 23 + contrib/dialog/samples/gauge0-input-fd | 27 + contrib/dialog/samples/gauge2 | 28 + contrib/dialog/samples/infobox | 21 + contrib/dialog/samples/infobox1 | 21 + contrib/dialog/samples/infobox2 | 21 + contrib/dialog/samples/infobox3 | 22 + contrib/dialog/samples/infobox4 | 22 + contrib/dialog/samples/infobox5 | 39 + contrib/dialog/samples/infobox6 | 41 + contrib/dialog/samples/inputbox | 20 + contrib/dialog/samples/inputbox-both | 22 + contrib/dialog/samples/inputbox-extra | 21 + contrib/dialog/samples/inputbox-help | 21 + contrib/dialog/samples/inputbox1 | 23 + contrib/dialog/samples/inputbox2 | 20 + contrib/dialog/samples/inputbox3 | 21 + contrib/dialog/samples/inputbox4 | 20 + contrib/dialog/samples/inputbox5 | 21 + contrib/dialog/samples/inputbox6-8bit | 17 + contrib/dialog/samples/inputbox6-utf8 | 18 + contrib/dialog/samples/inputbox7 | 29 + contrib/dialog/samples/inputmenu | 65 + contrib/dialog/samples/inputmenu-stdout | 63 + contrib/dialog/samples/inputmenu1 | 85 + contrib/dialog/samples/inputmenu2 | 97 + contrib/dialog/samples/inputmenu3 | 106 + contrib/dialog/samples/inputmenu4 | 86 + contrib/dialog/samples/install/FDISK.TEST | 28 + contrib/dialog/samples/install/makefile.in | 35 + contrib/dialog/samples/install/setup.c | 371 + contrib/dialog/samples/install/setup.help | 49 + contrib/dialog/samples/killall | 16 + contrib/dialog/samples/listing | 8 + contrib/dialog/samples/menubox | 27 + contrib/dialog/samples/menubox-8bit | 29 + contrib/dialog/samples/menubox-utf8 | 29 + contrib/dialog/samples/menubox1 | 27 + contrib/dialog/samples/menubox10 | 22 + contrib/dialog/samples/menubox11 | 31 + contrib/dialog/samples/menubox12 | 43 + contrib/dialog/samples/menubox2 | 27 + contrib/dialog/samples/menubox3 | 27 + contrib/dialog/samples/menubox4 | 27 + contrib/dialog/samples/menubox5 | 30 + contrib/dialog/samples/menubox6 | 28 + contrib/dialog/samples/menubox7 | 29 + contrib/dialog/samples/menubox8 | 30 + contrib/dialog/samples/menubox9 | 26 + contrib/dialog/samples/mixedform | 53 + contrib/dialog/samples/mixedform2 | 53 + contrib/dialog/samples/mixedgauge | 26 + contrib/dialog/samples/msgbox | 13 + contrib/dialog/samples/msgbox-help | 14 + contrib/dialog/samples/msgbox-utf8 | 14 + contrib/dialog/samples/msgbox1 | 34 + contrib/dialog/samples/msgbox2 | 34 + contrib/dialog/samples/msgbox3 | 22 + contrib/dialog/samples/msgbox4-8bit | 33 + contrib/dialog/samples/msgbox4-eucjp | 25 + contrib/dialog/samples/msgbox4-utf8 | 39 + contrib/dialog/samples/msgbox5 | 23 + contrib/dialog/samples/msgbox6 | 17 + contrib/dialog/samples/msgbox6a | 17 + contrib/dialog/samples/password | 20 + contrib/dialog/samples/password1 | 21 + contrib/dialog/samples/password2 | 21 + contrib/dialog/samples/passwordform1 | 61 + contrib/dialog/samples/passwordform1-utf8 | 63 + contrib/dialog/samples/pause | 10 + contrib/dialog/samples/pause-both | 14 + contrib/dialog/samples/pause-extra | 13 + contrib/dialog/samples/pause-help | 12 + contrib/dialog/samples/prgbox | 9 + contrib/dialog/samples/prgbox2 | 9 + contrib/dialog/samples/programbox | 22 + contrib/dialog/samples/programbox2 | 22 + contrib/dialog/samples/programbox3 | 22 + contrib/dialog/samples/progress | 22 + contrib/dialog/samples/progress2 | 22 + contrib/dialog/samples/radiolist | 28 + contrib/dialog/samples/radiolist1 | 33 + contrib/dialog/samples/radiolist10 | 30 + contrib/dialog/samples/radiolist2 | 30 + contrib/dialog/samples/radiolist3 | 30 + contrib/dialog/samples/radiolist4 | 30 + contrib/dialog/samples/rangebox | 11 + contrib/dialog/samples/rangebox2 | 11 + contrib/dialog/samples/rangebox3 | 11 + contrib/dialog/samples/rangebox4 | 11 + contrib/dialog/samples/report-button | 25 + contrib/dialog/samples/report-edit | 27 + contrib/dialog/samples/report-string | 28 + contrib/dialog/samples/report-tempfile | 28 + contrib/dialog/samples/report-yesno | 25 + contrib/dialog/samples/rotated-data | 23 + contrib/dialog/samples/run_test.sh | 56 + contrib/dialog/samples/setup-edit | 7 + contrib/dialog/samples/setup-tempfile | 6 + contrib/dialog/samples/setup-utf8 | 12 + contrib/dialog/samples/setup-vars | 24 + contrib/dialog/samples/shortlist | 19 + contrib/dialog/samples/slackware.rc | 142 + contrib/dialog/samples/sourcemage.rc | 142 + contrib/dialog/samples/suse.rc | 142 + contrib/dialog/samples/tailbox | 16 + contrib/dialog/samples/tailboxbg | 22 + contrib/dialog/samples/tailboxbg1 | 32 + contrib/dialog/samples/tailboxbg2 | 33 + contrib/dialog/samples/testdata-8bit | 48 + contrib/dialog/samples/textbox | 44 + contrib/dialog/samples/textbox-both | 21 + contrib/dialog/samples/textbox-help | 20 + contrib/dialog/samples/textbox.txt | 24 + contrib/dialog/samples/textbox2 | 44 + contrib/dialog/samples/textbox3 | 20 + contrib/dialog/samples/timebox | 14 + contrib/dialog/samples/timebox-stdout | 10 + contrib/dialog/samples/timebox2 | 11 + contrib/dialog/samples/timebox2-stdout | 10 + contrib/dialog/samples/treeview | 22 + contrib/dialog/samples/treeview2 | 52 + contrib/dialog/samples/treeview4 | 24 + contrib/dialog/samples/wheel | 65 + contrib/dialog/samples/whiptail.rc | 142 + contrib/dialog/samples/with-dquotes | 3 + contrib/dialog/samples/with-squotes | 3 + contrib/dialog/samples/yesno | 21 + contrib/dialog/samples/yesno-both | 24 + contrib/dialog/samples/yesno-extra | 23 + contrib/dialog/samples/yesno-help | 18 + contrib/dialog/samples/yesno-utf8 | 14 + contrib/dialog/samples/yesno2 | 18 + contrib/dialog/samples/yesno3 | 18 + contrib/dialog/samples/yesno4 | 18 + contrib/dialog/tailbox.c | 433 + contrib/dialog/textbox.c | 1004 + contrib/dialog/timebox.c | 430 + contrib/dialog/trace.c | 280 + contrib/dialog/treeview.c | 674 + contrib/dialog/ttysize.c | 87 + contrib/dialog/ui_getc.c | 681 + contrib/dialog/util.c | 3047 +++ contrib/dialog/version.c | 33 + contrib/dialog/yesno.c | 171 + gnu/lib/Makefile | 1 + gnu/lib/libdialog/Makefile | 20 + gnu/lib/libdialog/Makefile.depend | 18 + gnu/lib/libdialog/dlg_config.h | 126 + gnu/usr.bin/Makefile | 1 + gnu/usr.bin/dialog/Makefile | 8 + gnu/usr.bin/dialog/Makefile.depend | 19 + lib/Makefile | 2 + lib/libdpv/Makefile | 14 + lib/libdpv/Makefile.depend | 21 + lib/libdpv/dialog_util.c | 637 + lib/libdpv/dialog_util.h | 70 + lib/libdpv/dialogrc.c | 357 + lib/libdpv/dialogrc.h | 54 + lib/libdpv/dprompt.c | 764 + lib/libdpv/dprompt.h | 57 + lib/libdpv/dpv.3 | 529 + lib/libdpv/dpv.c | 728 + lib/libdpv/dpv.h | 163 + lib/libdpv/dpv_private.h | 65 + lib/libdpv/status.c | 109 + lib/libdpv/status.h | 41 + lib/libdpv/util.c | 104 + lib/libdpv/util.h | 48 + lib/libfigpar/Makefile | 18 + lib/libfigpar/Makefile.depend | 15 + lib/libfigpar/figpar.3 | 263 + lib/libfigpar/figpar.c | 464 + lib/libfigpar/figpar.h | 97 + lib/libfigpar/string_m.c | 304 + lib/libfigpar/string_m.h | 41 + lib/libsysdecode/Makefile.depend | 3 + share/man/man3/intro.3 | 7 +- share/man/man5/src.conf.5 | 7 + share/mk/bsd.libnames.mk | 3 + share/mk/src.libnames.mk | 6 + share/mk/src.opts.mk | 1 + targets/pseudo/userland/lib/Makefile.depend | 5 + tools/build/mk/OptionalObsoleteFiles.inc | 27 + tools/build/options/WITHOUT_DIALOG | 6 + tools/build/options/WITH_DIALOG | 6 + usr.bin/Makefile | 1 + usr.bin/dpv/Makefile | 9 + usr.bin/dpv/Makefile.depend | 20 + usr.bin/dpv/dpv.1 | 448 + usr.bin/dpv/dpv.c | 543 + usr.bin/dpv/dpv_util.h | 66 + 390 files changed, 95070 insertions(+), 27 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 818b52175f9e..4f4d15869c81 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -58,7 +58,9 @@ fusefs(4) asomers Pre-commit review requested. geli pjd Pre-commit review requested (both sys/geom/eli/ and sbin/geom/class/eli/). iwm(4) adrian Pre-commit review requested, send to freebsd-wireless@freebsd.org iwn(4) adrian Pre-commit review requested, send to freebsd-wireless@freebsd.org +libdpv dteske Pre-commit review requested. Keep in sync with dpv(1). libfetch des Pre-commit review requested. +libfigpar dteske Pre-commit review requested. libm freebsd-numerics Send email with patches to freebsd-numerics@ libpam des Pre-commit review requested. linprocfs des Pre-commit review requested. @@ -118,6 +120,7 @@ tools/build imp,jrtc27 Pre-commit review requested, especially to fix bootstrap top(1) eadler Pre-commit review requested. ufshci(4) jaeyoon Pre-commit review requested. usr.sbin/bsdconfig dteske Pre-commit phabricator review requested. +usr.sbin/dpv dteske Pre-commit review requested. Keep in sync with libdpv. usr.sbin/pkg pkg@ Please coordinate behavior or flag changes with pkg team. usr.sbin/sysrc dteske Pre-commit phabricator review requested. Keep in sync with bsdconfig(8) sysrc.subr. vmm(4) #bhyve Pre-commit review requested via #bhyve phabricator group. diff --git a/Makefile.inc1 b/Makefile.inc1 index 6d82baeda643..f7d68dd0b4bd 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -3345,6 +3345,7 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \ lib/libbz2 ${_libcom_err} lib/libcrypt \ lib/libc++ \ lib/libelf lib/libexpat \ + lib/libfigpar \ ${_lib_libgssapi} \ lib/libjail \ lib/libkiconv lib/libkldelf lib/libkvm \ @@ -3383,6 +3384,11 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \ ${_secure_lib_libcrypto} ${_secure_lib_libssl} \ ${_lib_libldns} ${_secure_lib_libssh} +.if ${MK_DIALOG} != "no" +_prebuild_libs+= gnu/lib/libdialog +gnu/lib/libdialog__L: lib/msun__L lib/ncurses/tinfo__L lib/ncurses/ncurses__L +.endif + .if ${MK_GOOGLETEST} != "no" _prebuild_libs+= lib/libregex .endif diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index e966cd83f581..071fb20e870a 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -51,32 +51,6 @@ # xargs -n1 | sort | uniq -d; # done -# 20260628: Removed dialog, figpar, dpv -OLD_FILES+=usr/bin/dialog -OLD_FILES+=usr/bin/dpv -OLD_FILES+=usr/lib/libdialog.a -OLD_FILES+=usr/lib/libdialog.so -OLD_LIBS+=usr/lib/libdialog.so.10 -OLD_FILES+=usr/lib/libdpv.a -OLD_FILES+=usr/lib/libdpv.so -OLD_LIBS+=usr/lib/libdpv.so.3 -OLD_FILES+=usr/lib/libfigpar.a -OLD_FILES+=usr/lib/libfigpar.so -OLD_LIBS+=usr/lib/libfigpar.so.0 -OLD_FILES+=usr/share/man/man1/dialog.1.gz -OLD_FILES+=usr/share/man/man1/dpv.1.gz -OLD_FILES+=usr/share/man/man3/dialog.3.gz -OLD_FILES+=usr/share/man/man3/dpv.3.gz -OLD_FILES+=usr/share/man/man3/dpv_free.3.gz -OLD_FILES+=usr/share/man/man3/figpar.3.gz -OLD_FILES+=usr/share/man/man3/get_config_option.3.gz -OLD_FILES+=usr/share/man/man3/parse_config.3.gz -OLD_FILES+=usr/share/man/man3/replaceall.3.gz -OLD_FILES+=usr/share/man/man3/strcount.3.gz -OLD_FILES+=usr/share/man/man3/strexpand.3.gz -OLD_FILES+=usr/share/man/man3/strexpandnl.3.gz -OLD_FILES+=usr/share/man/man3/strtolower.3.gz - # 20260602: Removed by 0a36787e4c1f on 20210723 OLD_FILES+=usr/share/locale/hr_HR.ISO8859-2/LC_MESSAGES OLD_FILES+=usr/share/locale/nl_BE.ISO8859-1/LC_MESSAGES diff --git a/contrib/dialog/CHANGES b/contrib/dialog/CHANGES new file mode 100644 index 000000000000..8e5d22e400a3 --- /dev/null +++ b/contrib/dialog/CHANGES @@ -0,0 +1,2461 @@ +-- $Id: CHANGES,v 1.723 2021/01/17 20:21:41 tom Exp $ +-- Thomas E. Dickey <dickey@invisible-island.net> + +This version of dialog was originally from a Debian snapshot. I've done this +to it: + +2021/01/17 + + updated dialog.pot + + add option --no-hot-list, to allow suppressing the hotkey feature + from lists. + + increase minimum height of inputbox to avoid input field overlapping + with the button-box (report by Victor Ananjevsky). + + modify options-parsing to permit a "no" on any boolean option and + deprecating the "no" options without a "-" , e.g., generalizing on + "--nook" equivalence to "--no-ok". + +2021/01/12 + + minor spelling fixes, per codespell + + update configure macros, for quoting/escaping fixes per shellcheck + + update config.guess, config.sub + +2020/11/26 + + modify configure script's compiler check to work around Xcode's + useless aliases for standard C. + + enable keep-tite feature for NetBSD 8 and up; earlier releases would + dump core. + > new features/fixes (Glenn Herteg) + + add option "--cursor-off-label" + + add option "--erase-on-exit" + + fix errata in manpage. + + fix logic: dlg_button_to_char() would return wrong value if no + uppercase was found + +2020/11/25 + + add DIALOG_TIMEOUT to sample scripts, and use report-button more + consistently to handle unexpected exit-status values. + +2020/11/24 + + add dlg_getenv_num() and dlg_getenv_str(). + + add DLG_EXIT_TIMEOUT to allow scripts to exit on an expired timeout + with an exit-status different from DLG_EXIT_ERROR or DLG_EXIT_ESC + (patch by Norbert Koch). + +2020/11/23 + + modify dlg_ok_label() and dlg_ok_labels() to ignore --no-ok if all + buttons would be omitted. + + add/use dlg_der_window() to account for derived windows just like + subwindows, to fix regression in dlg_getc() in fselect/dselect + widget. + + modify several widgets to make their handling of --no-ok consistent + with the majority of the widgets: editbox.c, menubox.c, msgbox.c, + rangebox.c, textbox.c, timebox.c + + add ^D as binding for new virtual key DLGK_LEAVE, which will close + the current dialog by activating the currently-selected button. + + improve manual-page description of --no-ok option (reports by + Hans Mueller, Gil Delescluse). + + modify configure script to make Solaris -R rpath feature work + +2020/11/21 + + fix regression in dlg_getc() caused by not taking into account + subwindows used for input (report by Michael Wihl). + +2020/11/20 + + add validity-checks for window pointer (report/testcase by Michael + Wihl). + + improve configure macros: + CF_CLANG_COMPILER: apply compiler-flags needed for test. + CF_WITH_SCREEN_PDCURSES: use this to reduce X11-checks. + +2020/11/17 + + amend initialization for dlg_getc to fix regression in pause widget + from 2020/03/27 changes (reports by Aidan Tessier, Norbert Koch, + Josmar Pierri). + + improve configure macros: + CF_CLANG_COMPILER: split-out check for -Qunused-arguments to ensure + that clang supports it. IBM xlclang does not. + CF_MIXEDCASE_FILENAMES: when cross-compiling to darwin (macOS), + assume the filesystem doesn't support mixed-case + +2020/09/21 + + modify init_dialog's initialization of tab_len and aspect_ratio to + avoid overwriting initialization done in process_common_options + (report/patch by Rainer Weikusat, Debian #970508). + +2020/09/13 + + fix out-of-order description for --tailbox vs --rangebox in manpage + (report by Glenn Herteg). + + updated configure-macros: compiler-warnings and shared-library + options. Changed configure --with-warnings to --enable-warnings for + consistency. + + update config.guess + +2020/04/01 + + updated sq.po from + http://translationproject.org/latest/dialog/ + +2020/03/27 + + add clarification in manual page to show when the single/double + quotes may be needed (prompted by discussion with Danilo G Baio). + + fix an extra ".exe" in makefile.in which prevented Cygwin build. + + fix most cppcheck warnings + + tailbox/tailboxbg's exit-button now works with mouse-clicks + + fix repainting while resizing for the editbox widget. + + add configure-check for curses_exit() from ncurses 6.2 + + fix a few memory leaks in fselect.c, mixedgauge.c when resizing. + + fix inconsistency in dlg_string_to_argv() which made the checklist9 + example not work. + + add empty-string check in dlg_print_listitem() to avoid indexing past + the end of the array of character-offsets. + + improve handling of KEY_RESIZE by repainting the backtitle after + clearing the screen (integrated patch by Rainer Weikusat, Debian + #954185). + + improve logic for wtimeout() calls which are used to set temporary + non-blocking reads (prompted by patch by Rainer Weikusat, Debian + #954220). + + add "make check" rule. + + updated configure-macros. + +2020/02/28 + + updated configure-macros, to work around ncurses vs xcode's c99 -W + + update config.guess + +2019/12/31 + + updated configure-macros. + + update config.guess + +2019/12/10 + + correct rc-file lookup of "default" color (report by Grady Martin, + cf: 2019/09/24). + + fix several issues in the sample scripts reported by shellcheck. + + fix a few spelling errors reported by codespell (report by Jens + Schleusener). + + correct check for return-value of isblank(), which is not necessarily + 0/1 (report/patch by Paul Cercueil, Peter Korsgaard, cf: 2018/05/31). + +2019/12/09 + + amend change for parsing command-options before calling init_dialog, + to handle --no-shadow, etc., which are initialized in init_dialog + (report by Paul Cercueil, cf: 2018/06/21). + + add dlg_trace_va_msg to manpage, symbol files. + +2019/11/10 + + improve layout of several widgets' data area when maximizing. + + modify dselect/fselect to work with autosizing (Debian #915949). + + add error messages from dlg_exiterr() to trace file. + + improve manual page description of escaping in key-bindings. + + modify inputmenu to recognize the "Cancel" button and keys bound to + that feature while editing a renamed menu item. + + revert one change, in form.c to the --last-key feature (Debian + #942025). + + correct ordering of libraries in configure-script, which appended + in a case where it should have prepended. + + update config.guess, config.sub + +2019/09/26 + + improve dialog-config script's filtering of -L options using the + linker default directories. + + improve dialog-config script, adding a -L option corresponding to + the configure --libdir option if it would be a duplicate (report by + Andrew Kosteltsev). + + build-fix for configure --disable-trace + + updated pt.po from + http://translationproject.org/latest/dialog/ + +2019/09/24 + + allow for underline- and reverse-video flags in the ".rc" file + (integrated patch by Richard Robbins). + +2019/08/08 + + amend change to --last-key feature to eliminate an unnecessary + separator (report by Gabriele Balducci). + +2019/08/06 + + extend --last-key feature to the remaining widgets which have + ok/cancel buttons, and add logic to map keys which happen to be + bound to ok/extra/cancel/help to simulate a button-press on the + corresponding button (report by "sgewrk"). + +2019/08/01 + + further fixes for dialog-config.in (report by Andrew Kosteltsev). + +2019/07/28 + + modify dialog-config.in so that setting prefix or exec-prefix to + a given value with --prefix=VALUE or --exec-prefix=VALUE has the + expected result of changing bindir, etc. + + correct substitution for $LIBS value in dialog-config.in (report by + Andrew Kosteltsev). + +2019/07/24 + + modify dlg_will_resize() and dlg_result_key() functions to reduce + the chance that dialog exits on a SIGWINCH (Debian #930775). + + make test-package for the development headers/library + + add --libs-only-L, etc., to dialog-config script (prompted by + discussion with Andrew Kosteltsev). + + fix a memory leak in gauge widget (Andrew Kosteltsev). + + minor fix for CF_GCC_WARNINGS + + update config.guess, config.sub + +2019/02/11 + + modify to work with ncurses' threaded-library, which does not allow + assignment to LINES/COLS (report by Marcus Roeckrath). + + correct clearing after text in progressbox from 2018/06/21 changes + for resizing (reports by David Boyd, Alan Somers). + + improved configure macros CF_GNU_SOURCE, CF_POSIX_C_SOURCE, + CF_XOPEN_SOURCE + + update config.guess, config.sub + +2018/11/07 + + convert ja.po to UTF-8 for consistency (suggested by Stanislav + Brabec). + + repair mis-encoded hi.po (report/analysis by Stanislav Brabec). + +2018/10/22 + + improved configure macros CF_CC_ENV_FLAGS, CF_LD_RPATH_OPT, + CF_LIBRARY_PATH, CF_SHARED_OPTS, CF_WITH_MAN2HTML, + CF_WITH_VERSIONED_SYMS from ncurses + + add ast.po, from + http://translationproject.org/latest/dialog/ + +2018/06/21 + + improve file-offset computation in textbox.c (Werner Fink). + + fix an overlooked case with real_auto_size() to maximize when + height or width is given as -1. + + build-fixes for configure options "--disable-Xdialog2" and + "--disable-form" + + add traces for each widget to show its parameters. + + modify color scheme for mixedgauge to use the dialog window colors, + like the captions. + + fix a too-small malloc in the mixedgauge widget. + + fix a use-after-free in dlg_remove_callback(). + + improve handling of SIGWINCH for several widgets (Debian #865840). + + menubox, the point of the Debian report was that it would be nice + to increase the window size if the terminal size increases. Did + that as a special case less problematic than decreasing the + terminal size. Added samples/menubox11 to demonstrate by + comparison with menubox10 a problem with debconf which puts extra + newlines in the caption that interfere with autowrap. + + progressbox and derived prgbox, programbox, now handle resizing. + + yesno, window was cleared + + add dlg_ttysize() to support new options, allowing scripts to obtain + some text-formatting details without initializing the terminal. + + add options --print-text-only, and --print-text-size for scripts that + adjust the widget size according to how the captions are formatted. + + improve dialog.pl: + + add demo.pl, to demonstrate the functions + + quote/escape string parameters passed to dialog. + + ensure all "integer" parameters are really integers. + + use actual screensize for list captions rather than assuming 24 + lines. + + when trimming blanks, treat unconverted tabs the same as spaces. + + correct parameter to test when trimming blanks from the script, + e.g., with "--trim" (report by Jarno Suni). + + improve documentation of the various whitespace-filtering options, + to show which take precedence (Debian #867536, cf: Debian #102942). + + modify msgbox.c, yesno.c to bind SCROLLKEY_BINDINGS before + TRAVERSE_BINDINGS so that up/down arrow will by default scroll the + message up/down rather than be aliases for tab-traversal (report by + Fredrik Kers). + + modify dump_one_binding() to show when a binding is overridden. + + improve format of trace-file, making comment-syntax consistent, + as well as showing argv-splitting as a series of comments. + + modify dlg_string_to_argv() to change the quoting behavior to be + more consistent with shell behavior (patch by Denilson Sa Maia). + + modify dlg_getc() to return ESC when a timeout expires, notifying + callers that a quit occurred rather than exiting the application + (suggested by Rodrigo Freitas). + + modify handle_inputs() to ensure cursor-visibility is restored when + there is no input character available (report by Guillaume Vareille). + + improve comment in manual page regarding which widgets can use the + "--help-button" (prompted by discussion with Csanyi Pal). + + add a check for valid object pointer in tailbox's main loop since + the getc-callback may have been freed within ui_getc.c (report by + "David"). + + improved configure macros for ncurses: CF_GNU_SOURCE, CF_SHARED_OPTS, + CF_CURSES_LIBS, CF_CURSES_FUNCS, CF_NCURSES_CONFIG + + improved configure script checks for groff vs man2html: + CF_PROG_GROFF and CF_WITH_MAN2HTML + + build-fix from lynx for AM_WITH_NLS configure macro + + update config.guess, config.sub + +2017/12/09 + + update ftp url in test-packages. + + modify test-packages to use recommended compiler/linker flags. + + improved configure macros AM_WITH_NLS, CF_CC_ENV_FLAGS, + CF_CURSES_LIBS, CF_NCURSES_CONFIG, CF_SHARED_OPTS, CF_WITH_LIBTOOL, + CF__INTL_BODY. + + update config.guess, config.sub + +2017/05/09 + + improved configure macros CF_ADD_CFLAGS, CF_CC_ENV_FLAGS, and + CF_SHARED_OPTS. + + updated hu.po and tr.po from + http://translationproject.org/latest/dialog/ + + update config.guess, config.sub + +2017/01/31 + + use DLG_TRACE macro consistently to make "--disable-trace" configure + option work. + + modify buildlist widget to support option "--reorder" for to allow + user to reorder the data based on the sequence of selections + (discussion with Paraic O'Ceallaigh). + + fill background color on unused parts of buildlist. + + fix a minor error in buildlist which let pageup switch columns. + + change several calls to dlg_trace_msg to prefix with "#" to make + the trace logs more consistent for parsing. + + add samples/run_test.sh + + further improve performance with very long command-lines by changes + to howmany_tags(). + + modify dlg_string_to_argv() to convert escaped double-quotes to + plain double-quotes when within a double-quoted string. + + modify makefile to apply CFLAGS to linking + + modify dlg_string_to_argv() to ignore escaped newlines except when + quoted, fixing a problem with samples/checklist9. + + interpret $DIALOGOPTS before expanding "--file", etc., to allow + the environment variable to turn on tracing in that process. + + improve performance when processing very long command lines, e.g., + using "--file" by changing dialog_opts[] to an array of pointers to + the expanded argv[] (discussion with Lars Tauber). + + modified autoconf macros + + CF_CC_ENV_FLAGS amend the last change to move only the + preprocessor, optimization and warning flags to CPPFLAGS and + CFLAGS, leaving the residue in CC. That happens to work for gcc's + various "model" options, but may require tuning for other compilers + + CF_LARGEFILE workaround for clang exit-code vs warnings + + CF_MATH_LIB quiet strict gcc warning + + CF_WITH_LIBTOOL fix a few places in configure/build scripts where + DESTDIR and rpath were combined + + CF_XOPEN_SOURCE add "uclinux" to list of Linux's + + update config.guess, config.sub + +2016/11/20 + + added fur.po (Friulian) from + http://translationproject.org/latest/dialog/ + +2016/08/28 + + improve parsing and trace for "bindkey", to convert space to/from + "\s", as well as handle octal escapes for single byte characters. + + change explicit checks for space character used for select or toggle + to make this rebindable to "TOGGLE" (prompted by discussion with + Paul van Tilburg). + + add default bindings for cursor left/right to formbox. The cursor + left/right cases were replaced with rebindable symbols in 2005/12/07 + without providing these keys as default values (report/patch by + Miroslav Lichvar). + + modified autoconf macros + + CF_PROG_LINT add cpplint to programs to use; drop ad hoc tdlint and + alint. + + CF_CC_ENV_FLAGS don't limit the check to -I, -U and -D options, + since the added options can include various compiler options before + and after preprocessor options. + + CF_GNU_SOURCE recent glibc (Debian 2.23-4 for example) has + misordered ifdef/checks for new symbol _DEFAULT_SOURCE, producing + warning messages when only _GNU_SOURCE is defined. Add a followup + check to define _DEFAULT_SOURCE. + + CF_XOPEN_SOURCE use _GNU_SOURCE for cygwin headers, tested with + cygwin 2.3, 2.5 (patch by Corinna Vinschen). + + mention --no-collapse option in manual page description of + --tab-correct option. + + update config.guess, config.sub + +2016/04/24 + + fix a special case in drawing shadow on a line-drawing cell where the + alternate-character set flag was lost (report by Martin Kravec). + + fix a regression from 2015/05/13 changes for escaping; it is + necessary to retain backslashes within quotes to make "\Z" escapes + work (report by Marcin Krol). + + fix test package for RPMs; changes in 2015 omitted symbolic links + for the library. + + fix typo in help message for "--buildlist" (report by Rihards Olups). + + modified autoconf macros + + CF_PROG_AR, CF_AR_FLAGS added to improve check for archive tool. + + CF_LD_RPATH_OPT, change FreeBSD to use -Wl,-rpath rather than + -rpath option. According to FreeBSD #178732, either works since + FreeBSD 4.x; however scons does not accept anything except the + -Wl,-rpath form. + + CF_WITH_NCURSES_ETC, change from ncurses to check for pthreads + dependency. + +2016/02/09 + + modify editbox widget to add a trailing newline if the text has none + to ensure the last line is not ignored (report by Florent Rougon). + + change mouse initialization to look for button-presses rather than + button-clicks, for better response. + + modify dump_curses_key() to show mouse-coding in readable form. + + correct mapping of mouse-clicks on the day-grid in calendar widget + when "--week-start" is used to set the start of the week (report by + Stefan Vogtner). + > integrated changes from Stefan Vogtner: + + use Gregorian algorithm for leap year + + use mktime if available; calendar was written just as it became + standard. + +2016/01/26 - release 1.3 + + correct --infobox documentation, which said it shows an OK button. + + fix a couple of place in test-scripts which referred to $SIG_TRAP + rather than $SIG_QUIT + + reorganize dialog.3, to use subsections for generating navigation + pane, using man2html + + add "--week-start" option for calendar widget (prompted by discussion + with Stefan Vogtner). + + add a limit-check in editbox.c to ensure that mouse-clicks outside + the filled-in text area do not access past the end of the array + (report by Stefan Vogtner). + + update configure macros from ncurses changes. + + update config.guess, config.sub + +2015/09/20 + + decrease table value for minimum number of arguments for the widgets + which use --no-items option (report by Raven Singularity). + + update configure macros: + + use $SHELL consistently, deprecate non-POSIX shell + + PKG_CONFIG may simply be unset - fix + + add option to allow changing ABI version, from ncurses6. + +2015/05/28 + + fixes for two autoconf macros, CF_ADD_INCDIR and CF_NCURSES_CONFIG + from work on ncurses. + + build-fix for NetBSD curses (patch by Matthias Scheler). + +2015/05/13 + + add configure option --with-install-prefix, like ncurses. + + add --with-screen and related configure options from ncurses-examples + to allow building with ncurses6 test-packages. + + update configure macros for improved coding style from lynx changes. + + updated ro.po from + http://translationproject.org/latest/dialog/ + + update config.guess, config.sub + > patches by Florent Rougon: + + fix two bugs in the "--file" option. + + When the number of arguments read from the included file is 0, the + code used to just skip over '--file' and its argument instead of + removing them from the argument list, causing "Error: Unknown + option --file" later on. + + In the alternative case (at least one argument read from the file), + the previous code used to do '--j;' in order to "force rescan" of + the inserted arguments. However, control then flowed to outer + blocks where a '++j;' counteracted this measure, causing "Error: + Unknown option --msgbox" (for instance) later on. + + modify escaping in argv.c to be more uniform, whether or not the + backslash is found within a parameter. + +2015/02/25 + + modify gauge widget to keep from erasing a second gauge widget, e.g., + via the "--and-widget" option. This is a cosmetic change to match + behavior of dialog 1.0 (report by Jason Orendorf). + + add configure option "--with-man2html" + + add configure options for versioned symbols, from ongoing work on + ncurses. + + update configure macros, e.g., for shared libraries + +2015/01/25 + + suppress highlighting of character which denotes an abbreviation or + shortcut for the OK/Cancel and other buttons for these widgets, which + use abbreviations for the list shown on the screen: buildlist, + checklist/radiobox, menubox, treeview (Debian #775295). + + add grid up/left and down/right bindings in editbox.c as synonyms for + field prev and next, respectively when handling the OK/Cancel buttons + (Debian #775294). + +2014/09/11 + + correct malloc-size for change to prgbox. + +2014/09/10 + + fixes to make "-c" option work when passing command to shell for the + prgbox widget, for example in samples/prgbox2 (report by Korantin + Auguste). + +2014/09/08 + + fix an out-of-bounds array index in buildlist widget (report by + Cade Foster). + +2014/09/01 + + add configure check for groff, needed for html/ps/pdf output. + + update configure-script macros: + + CF_ACVERSION_CHECK - work around another gratuitous incompatibility + introduced in 2.69 + + CF_ADD_CFLAGS - workaround for ash-shell, e.g., with Minix + + CF_ADD_LIBS - filter out duplicates + + CF_CURSES_FUNCS - improve workaround for weak-linkage, seems to fix + tests with NetBSD 6.1 + + CF_INTEL_COMPILER - clean up the -no-gcc option which was leftover + from testing. + + CF_LIB_SUFFIX - change suffix for AIX shared libraries to ".so". + + CF_MAKEFLAGS - workaround for GNU make 4.0 incompatibility with + previous releases. + + CF_XOPEN_SOURCE - add cases for Minix, UnixWare and improve the + workaround for Solaris. + + improve comparison in compare_cache() function, in case difference + between pointers does not fit in int's. + + updated de.po, es.po, hu.po, lv.po from + http://translationproject.org/latest/dialog/ + + update config.guess, config.sub *** 97011 LINES SKIPPED ***home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a429525.3bda3.7d95c50e>
