./misc/dialog, Display dialog boxes from shell scripts

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.3.20220526, Package name: dialog-1.3.20220526, Maintainer: pkgsrc-users

Dialog is a program that will let you to present a variety of questions
or display messages using dialog boxes from a shell script. Currently,
these types of dialog boxes are implemented:
yes/no box, menu box, input box, message box, text box, info box,
guage box, checklist box, and radiolist box.

Required to build:

Master sites:

Filesize: 554.353 KB

Version history: (Expand)

CVS history: (Expand)

   2022-05-27 12:09:14 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
dialog: update to 1.3-20220526.

	+ document the built-in key bindings which are not part of widgets.
	+ updated da.po fa.po is.po, added ka.po from
	+ update config.sub
   2022-05-24 15:01:51 by Nia Alarie | Files touched by this commit (1)
Log message:
   2022-04-15 18:36:04 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
dialog: update to 1.3.20220414.

	+ adjust fallback bindings for backspace/delete to match the curses
	  library's sense of backspace (Arch #74379).
	+ amend limit-checks to make --max-input work for sizes greater than
	  2048 (Debian #1004874).

	+ corrected limit-checks in checklist.c, menubox.c, and treeview.c when
	  resizing while the data is scrolled (Debian #1004868).
	+ improve logic for updating form-height after screen-resizing.
	+ move most of the non-API definitions from dialog.h to dlg_internals.h
	+ updated configure macros.
	+ update config.guess, config.sub
	+ updated es.po, tr.po from
   2022-01-22 22:12:05 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
dialog: update to 1.3.20220117.

	+ update test-package for Debian to use debhelper.
	+ adjust character-offset in editbox.c in case it is past the end of
	  the string after trimming (Debian #1003185).
	+ updated ro.po from

	+ fix some inconsistent #if vs #ifdef.
	+ correct off-by-one limit for month when validating parameters of the
	  calendar widget (patch by "viverna", Debian #1000720).
	+ modify dlg_yes_labels to not switch to ok/cancel labels if the
	  extra button is used
	+ move leak-checking definitions from dialog.h to dlg_internals.h

	+ use mktemp utility rather than tempfile for temporary filename in
	  the sample scripts
	+ updated id.po, lt.po from
	+ update config.guess, config.sub

	+ directly include stddef.h for systems which need it for offsetof().
	+ modify gauge's handle_input function to use the file pointer in the
	  object in preference to the global dialog_state.
	+ correct height-computation for fselect and timebox, broken by fixes
	  for auto-layout (Debian #990043, cf: 2019/11/10).
	+ improve configure --with-no-leaks option

	+ amend adjustment to inputbox height so the autosized dimensions match
	  older versions (report by Werner Fink, cf: 2021/01/17).
	+ improve configure checks, to reduce warnings during those checks
	+ updated fr.po from
	+ update config.guess, config.sub

	+ improve configure checks, e.g., for libtool version
	+ updated ms.po, sr.po, zh_TW.po from
	+ update config.guess, config.sub

	+ add configure option --enable-stdnoreturn to build when C11 _Noreturn
	  feature is enabled in recent ncurses development.

	+ updated de.po, ja.po, nl.po from

	+ add several usage-messages to dialog.pot
	+ improve configure-check for ld searchpath on HP-UX and Solaris.
	+ fix a few cppcheck warnings
	+ updated eo.po, fi.po, pt.po, sq.po, sv.po, ru.po, uk.po, zh_CN.po

	+ 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".

	+ minor spelling fixes, per codespell
	+ update configure macros, for quoting/escaping fixes per shellcheck
	+ update config.guess, config.sub

	+ 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

	+ add DIALOG_TIMEOUT to sample scripts, and use report-button more
	  consistently to handle unexpected exit-status values.

	+ 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).

	+ 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
	+ 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

	+ fix regression in dlg_getc() caused by not taking into account
	  subwindows used for input (report by Michael Wihl).

	+ add validity-checks for window pointer (report/testcase by Michael
	+ improve configure macros:
	  CF_CLANG_COMPILER: apply compiler-flags needed for test.
	  CF_WITH_SCREEN_PDCURSES: use this to reduce X11-checks.

	+ 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

	+ 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).

	+ 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
	+ update config.guess

	+ updated sq.po from

	+ 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
	+ improve logic for wtimeout() calls which are used to set temporary
	  non-blocking reads (prompted by patch by Rainer Weikusat, Debian
	+ add "make check" rule.
	+ updated configure-macros.
   2021-10-26 12:59:39 by Nia Alarie | Files touched by this commit (378)
Log message:
misc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (possibly fetched

./misc/libreoffice/distinfo libreoffice/harfbuzz-2.6.4.tar.xz
   2021-10-07 16:35:55 by Nia Alarie | Files touched by this commit (378)
Log message:
misc: Remove SHA1 hashes for distfiles
   2020-03-23 17:04:34 by Stephen Borrill | Files touched by this commit (2) | Package updated
Log message:
dialog: update to 1.3-20200228

Changes since 1.3-20190211

        + updated configure-macros, to work around ncurses vs xcode's c99 -W
        + update config.guess

        + updated configure-macros.
        + update config.guess

        + correct rc-file lookup of "default" color (report by Grady \ 
          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
        + correct check for return-value of isblank(), which is not necessarily
          0/1 (report/patch by Paul Cercueil, Peter Korsgaard, cf: 2018/05/31).

        + 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.

        + 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
        + correct ordering of libraries in configure-script, which appended
          in a case where it should have prepended.
        + update config.guess, config.sub

        + 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

        + allow for underline- and reverse-video flags in the ".rc" file
          (integrated patch by Richard Robbins).

        + amend change to --last-key feature to eliminate an unnecessary
          separator (report by Gabriele Balducci).

        + 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").

        + further fixes for dialog-config.in (report by Andrew Kosteltsev).

        + 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).

        + 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-11-03 18:04:28 by Roland Illig | Files touched by this commit (71)
Log message:
misc: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.