1*a8e38dc0SAntonio Huete Jimenez-- $Id: CHANGES,v 1.777 2022/07/28 22:54:15 tom Exp $ 25382d832SPeter Avalos-- Thomas E. Dickey <dickey@invisible-island.net> 35382d832SPeter Avalos 45382d832SPeter AvalosThis version of dialog was originally from a Debian snapshot. I've done this 55382d832SPeter Avalosto it: 65382d832SPeter Avalos 7*a8e38dc0SAntonio Huete Jimenez2022/07/28 8*a8e38dc0SAntonio Huete Jimenez + initialize color-settings before --create-rc option is processed. 9*a8e38dc0SAntonio Huete Jimenez + add "use_scrollbar" setting in rc-file to use in whiptail.rc 10*a8e38dc0SAntonio Huete Jimenez + improve manual page discussion of "--" token. 11*a8e38dc0SAntonio Huete Jimenez + updated configure macro for math-library functions. 12*a8e38dc0SAntonio Huete Jimenez + updated ca.po from 13*a8e38dc0SAntonio Huete Jimenez http://translationproject.org/latest/dialog/ 14*a8e38dc0SAntonio Huete Jimenez + update config.guess 15*a8e38dc0SAntonio Huete Jimenez 16*a8e38dc0SAntonio Huete Jimenez2022/06/15 17*a8e38dc0SAntonio Huete Jimenez + fix links in manpages (FreeBSD #264660). 18*a8e38dc0SAntonio Huete Jimenez 19*a8e38dc0SAntonio Huete Jimenez2022/05/26 20*a8e38dc0SAntonio Huete Jimenez + document the built-in key bindings which are not part of widgets. 21*a8e38dc0SAntonio Huete Jimenez + updated da.po fa.po is.po, added ka.po from 22*a8e38dc0SAntonio Huete Jimenez http://translationproject.org/latest/dialog/ 23*a8e38dc0SAntonio Huete Jimenez + update config.sub 24*a8e38dc0SAntonio Huete Jimenez 25*a8e38dc0SAntonio Huete Jimenez2022/04/14 26*a8e38dc0SAntonio Huete Jimenez + adjust fallback bindings for backspace/delete to match the curses 27*a8e38dc0SAntonio Huete Jimenez library's sense of backspace (Arch #74379). 28*a8e38dc0SAntonio Huete Jimenez + amend limit-checks to make --max-input work for sizes greater than 29*a8e38dc0SAntonio Huete Jimenez 2048 (Debian #1004874). 30*a8e38dc0SAntonio Huete Jimenez 31*a8e38dc0SAntonio Huete Jimenez2022/04/04 32*a8e38dc0SAntonio Huete Jimenez + corrected limit-checks in checklist.c, menubox.c, and treeview.c when 33*a8e38dc0SAntonio Huete Jimenez resizing while the data is scrolled (Debian #1004868). 34*a8e38dc0SAntonio Huete Jimenez + improve logic for updating form-height after screen-resizing. 35*a8e38dc0SAntonio Huete Jimenez + move most of the non-API definitions from dialog.h to dlg_internals.h 36*a8e38dc0SAntonio Huete Jimenez + updated configure macros. 37*a8e38dc0SAntonio Huete Jimenez + update config.guess, config.sub 38*a8e38dc0SAntonio Huete Jimenez + updated es.po, tr.po from 39*a8e38dc0SAntonio Huete Jimenez http://translationproject.org/latest/dialog/ 40*a8e38dc0SAntonio Huete Jimenez 41*a8e38dc0SAntonio Huete Jimenez2022/01/17 42*a8e38dc0SAntonio Huete Jimenez + update test-package for Debian to use debhelper. 43*a8e38dc0SAntonio Huete Jimenez + adjust character-offset in editbox.c in case it is past the end of 44*a8e38dc0SAntonio Huete Jimenez the string after trimming (Debian #1003185). 45*a8e38dc0SAntonio Huete Jimenez + updated ro.po from 46*a8e38dc0SAntonio Huete Jimenez http://translationproject.org/latest/dialog/ 47*a8e38dc0SAntonio Huete Jimenez 48*a8e38dc0SAntonio Huete Jimenez2021/12/14 49*a8e38dc0SAntonio Huete Jimenez + fix some inconsistent #if vs #ifdef. 50*a8e38dc0SAntonio Huete Jimenez + correct off-by-one limit for month when validating parameters of the 51*a8e38dc0SAntonio Huete Jimenez calendar widget (patch by "viverna", Debian #1000720). 52*a8e38dc0SAntonio Huete Jimenez + modify dlg_yes_labels to not switch to ok/cancel labels if the 53*a8e38dc0SAntonio Huete Jimenez extra button is used (report by Стрижак Андрей). 54*a8e38dc0SAntonio Huete Jimenez + move leak-checking definitions from dialog.h to dlg_internals.h 55*a8e38dc0SAntonio Huete Jimenez 56*a8e38dc0SAntonio Huete Jimenez2021/11/07 57*a8e38dc0SAntonio Huete Jimenez + use mktemp utility rather than tempfile for temporary filename in 58*a8e38dc0SAntonio Huete Jimenez the sample scripts (patch by Ville Skyttä). 59*a8e38dc0SAntonio Huete Jimenez + updated id.po, lt.po from 60*a8e38dc0SAntonio Huete Jimenez http://translationproject.org/latest/dialog/ 61*a8e38dc0SAntonio Huete Jimenez + update config.guess, config.sub 62*a8e38dc0SAntonio Huete Jimenez 63*a8e38dc0SAntonio Huete Jimenez2021/06/21 64*a8e38dc0SAntonio Huete Jimenez + directly include stddef.h for systems which need it for offsetof(). 65*a8e38dc0SAntonio Huete Jimenez + modify gauge's handle_input function to use the file pointer in the 66*a8e38dc0SAntonio Huete Jimenez object in preference to the global dialog_state. 67*a8e38dc0SAntonio Huete Jimenez + correct height-computation for fselect and timebox, broken by fixes 68*a8e38dc0SAntonio Huete Jimenez for auto-layout (Debian #990043, cf: 2019/11/10). 69*a8e38dc0SAntonio Huete Jimenez + improve configure --with-no-leaks option 70*a8e38dc0SAntonio Huete Jimenez 71*a8e38dc0SAntonio Huete Jimenez2021/05/30 72*a8e38dc0SAntonio Huete Jimenez + amend adjustment to inputbox height so the autosized dimensions match 73*a8e38dc0SAntonio Huete Jimenez older versions (report by Werner Fink, cf: 2021/01/17). 74*a8e38dc0SAntonio Huete Jimenez + improve configure checks, to reduce warnings during those checks 75*a8e38dc0SAntonio Huete Jimenez + updated fr.po from 76*a8e38dc0SAntonio Huete Jimenez http://translationproject.org/latest/dialog/ 77*a8e38dc0SAntonio Huete Jimenez + update config.guess, config.sub 78*a8e38dc0SAntonio Huete Jimenez 79*a8e38dc0SAntonio Huete Jimenez2021/05/09 80*a8e38dc0SAntonio Huete Jimenez + improve configure checks, e.g., for libtool version 81*a8e38dc0SAntonio Huete Jimenez + updated ms.po, sr.po, zh_TW.po from 82*a8e38dc0SAntonio Huete Jimenez http://translationproject.org/latest/dialog/ 83*a8e38dc0SAntonio Huete Jimenez + update config.guess, config.sub 84*a8e38dc0SAntonio Huete Jimenez 85*a8e38dc0SAntonio Huete Jimenez2021/03/24 86*a8e38dc0SAntonio Huete Jimenez + add configure option --enable-stdnoreturn to build when C11 _Noreturn 87*a8e38dc0SAntonio Huete Jimenez feature is enabled in recent ncurses development. 88*a8e38dc0SAntonio Huete Jimenez 89*a8e38dc0SAntonio Huete Jimenez2021/03/19 90*a8e38dc0SAntonio Huete Jimenez + updated de.po, ja.po, nl.po from 91*a8e38dc0SAntonio Huete Jimenez http://translationproject.org/latest/dialog/ 92*a8e38dc0SAntonio Huete Jimenez 93*a8e38dc0SAntonio Huete Jimenez2021/03/06 94*a8e38dc0SAntonio Huete Jimenez + add several usage-messages to dialog.pot 95*a8e38dc0SAntonio Huete Jimenez + improve configure-check for ld searchpath on HP-UX and Solaris. 96*a8e38dc0SAntonio Huete Jimenez + fix a few cppcheck warnings 97*a8e38dc0SAntonio Huete Jimenez + updated eo.po, fi.po, pt.po, sq.po, sv.po, ru.po, uk.po, zh_CN.po 98*a8e38dc0SAntonio Huete Jimenez from 99*a8e38dc0SAntonio Huete Jimenez http://translationproject.org/latest/dialog/ 100*a8e38dc0SAntonio Huete Jimenez 101*a8e38dc0SAntonio Huete Jimenez2021/01/17 102*a8e38dc0SAntonio Huete Jimenez + updated dialog.pot 103*a8e38dc0SAntonio Huete Jimenez + add option --no-hot-list, to allow suppressing the hotkey feature 104*a8e38dc0SAntonio Huete Jimenez from lists. 105*a8e38dc0SAntonio Huete Jimenez + increase minimum height of inputbox to avoid input field overlapping 106*a8e38dc0SAntonio Huete Jimenez with the button-box (report by Victor Ananjevsky). 107*a8e38dc0SAntonio Huete Jimenez + modify options-parsing to permit a "no" on any boolean option and 108*a8e38dc0SAntonio Huete Jimenez deprecating the "no" options without a "-" , e.g., generalizing on 109*a8e38dc0SAntonio Huete Jimenez "--nook" equivalence to "--no-ok". 110*a8e38dc0SAntonio Huete Jimenez 111*a8e38dc0SAntonio Huete Jimenez2021/01/12 112*a8e38dc0SAntonio Huete Jimenez + minor spelling fixes, per codespell 113*a8e38dc0SAntonio Huete Jimenez + update configure macros, for quoting/escaping fixes per shellcheck 114*a8e38dc0SAntonio Huete Jimenez + update config.guess, config.sub 115*a8e38dc0SAntonio Huete Jimenez 116*a8e38dc0SAntonio Huete Jimenez2020/11/26 117*a8e38dc0SAntonio Huete Jimenez + modify configure script's compiler check to work around Xcode's 118*a8e38dc0SAntonio Huete Jimenez useless aliases for standard C. 119*a8e38dc0SAntonio Huete Jimenez + enable keep-tite feature for NetBSD 8 and up; earlier releases would 120*a8e38dc0SAntonio Huete Jimenez dump core. 121*a8e38dc0SAntonio Huete Jimenez > new features/fixes (Glenn Herteg) 122*a8e38dc0SAntonio Huete Jimenez + add option "--cursor-off-label" 123*a8e38dc0SAntonio Huete Jimenez + add option "--erase-on-exit" 124*a8e38dc0SAntonio Huete Jimenez + fix errata in manpage. 125*a8e38dc0SAntonio Huete Jimenez + fix logic: dlg_button_to_char() would return wrong value if no 126*a8e38dc0SAntonio Huete Jimenez uppercase was found 127*a8e38dc0SAntonio Huete Jimenez 128*a8e38dc0SAntonio Huete Jimenez2020/11/25 129*a8e38dc0SAntonio Huete Jimenez + add DIALOG_TIMEOUT to sample scripts, and use report-button more 130*a8e38dc0SAntonio Huete Jimenez consistently to handle unexpected exit-status values. 131*a8e38dc0SAntonio Huete Jimenez 132*a8e38dc0SAntonio Huete Jimenez2020/11/24 133*a8e38dc0SAntonio Huete Jimenez + add dlg_getenv_num() and dlg_getenv_str(). 134*a8e38dc0SAntonio Huete Jimenez + add DLG_EXIT_TIMEOUT to allow scripts to exit on an expired timeout 135*a8e38dc0SAntonio Huete Jimenez with an exit-status different from DLG_EXIT_ERROR or DLG_EXIT_ESC 136*a8e38dc0SAntonio Huete Jimenez (patch by Norbert Koch). 137*a8e38dc0SAntonio Huete Jimenez 138*a8e38dc0SAntonio Huete Jimenez2020/11/23 139*a8e38dc0SAntonio Huete Jimenez + modify dlg_ok_label() and dlg_ok_labels() to ignore --no-ok if all 140*a8e38dc0SAntonio Huete Jimenez buttons would be omitted. 141*a8e38dc0SAntonio Huete Jimenez + add/use dlg_der_window() to account for derived windows just like 142*a8e38dc0SAntonio Huete Jimenez subwindows, to fix regression in dlg_getc() in fselect/dselect 143*a8e38dc0SAntonio Huete Jimenez widget. 144*a8e38dc0SAntonio Huete Jimenez + modify several widgets to make their handling of --no-ok consistent 145*a8e38dc0SAntonio Huete Jimenez with the majority of the widgets: editbox.c, menubox.c, msgbox.c, 146*a8e38dc0SAntonio Huete Jimenez rangebox.c, textbox.c, timebox.c 147*a8e38dc0SAntonio Huete Jimenez + add ^D as binding for new virtual key DLGK_LEAVE, which will close 148*a8e38dc0SAntonio Huete Jimenez the current dialog by activating the currently-selected button. 149*a8e38dc0SAntonio Huete Jimenez + improve manual-page description of --no-ok option (reports by 150*a8e38dc0SAntonio Huete Jimenez Hans Mueller, Gil Delescluse). 151*a8e38dc0SAntonio Huete Jimenez + modify configure script to make Solaris -R rpath feature work 152*a8e38dc0SAntonio Huete Jimenez 153*a8e38dc0SAntonio Huete Jimenez2020/11/21 154*a8e38dc0SAntonio Huete Jimenez + fix regression in dlg_getc() caused by not taking into account 155*a8e38dc0SAntonio Huete Jimenez subwindows used for input (report by Michael Wihl). 156*a8e38dc0SAntonio Huete Jimenez 157*a8e38dc0SAntonio Huete Jimenez2020/11/20 158*a8e38dc0SAntonio Huete Jimenez + add validity-checks for window pointer (report/testcase by Michael 159*a8e38dc0SAntonio Huete Jimenez Wihl). 160*a8e38dc0SAntonio Huete Jimenez + improve configure macros: 161*a8e38dc0SAntonio Huete Jimenez CF_CLANG_COMPILER: apply compiler-flags needed for test. 162*a8e38dc0SAntonio Huete Jimenez CF_WITH_SCREEN_PDCURSES: use this to reduce X11-checks. 163*a8e38dc0SAntonio Huete Jimenez 164*a8e38dc0SAntonio Huete Jimenez2020/11/17 165*a8e38dc0SAntonio Huete Jimenez + amend initialization for dlg_getc to fix regression in pause widget 166*a8e38dc0SAntonio Huete Jimenez from 2020/03/27 changes (reports by Aidan Tessier, Norbert Koch, 167*a8e38dc0SAntonio Huete Jimenez Josmar Pierri). 168*a8e38dc0SAntonio Huete Jimenez + improve configure macros: 169*a8e38dc0SAntonio Huete Jimenez CF_CLANG_COMPILER: split-out check for -Qunused-arguments to ensure 170*a8e38dc0SAntonio Huete Jimenez that clang supports it. IBM xlclang does not. 171*a8e38dc0SAntonio Huete Jimenez CF_MIXEDCASE_FILENAMES: when cross-compiling to darwin (macOS), 172*a8e38dc0SAntonio Huete Jimenez assume the filesystem doesn't support mixed-case 173*a8e38dc0SAntonio Huete Jimenez 174*a8e38dc0SAntonio Huete Jimenez2020/09/21 175*a8e38dc0SAntonio Huete Jimenez + modify init_dialog's initialization of tab_len and aspect_ratio to 176*a8e38dc0SAntonio Huete Jimenez avoid overwriting initialization done in process_common_options 177*a8e38dc0SAntonio Huete Jimenez (report/patch by Rainer Weikusat, Debian #970508). 178*a8e38dc0SAntonio Huete Jimenez 179*a8e38dc0SAntonio Huete Jimenez2020/09/13 180*a8e38dc0SAntonio Huete Jimenez + fix out-of-order description for --tailbox vs --rangebox in manpage 181*a8e38dc0SAntonio Huete Jimenez (report by Glenn Herteg). 182*a8e38dc0SAntonio Huete Jimenez + updated configure-macros: compiler-warnings and shared-library 183*a8e38dc0SAntonio Huete Jimenez options. Changed configure --with-warnings to --enable-warnings for 184*a8e38dc0SAntonio Huete Jimenez consistency. 185*a8e38dc0SAntonio Huete Jimenez + update config.guess 186*a8e38dc0SAntonio Huete Jimenez 187*a8e38dc0SAntonio Huete Jimenez2020/04/01 188*a8e38dc0SAntonio Huete Jimenez + updated sq.po from 189*a8e38dc0SAntonio Huete Jimenez http://translationproject.org/latest/dialog/ 190*a8e38dc0SAntonio Huete Jimenez 1915940c9abSDaniel Fojt2020/03/27 1925940c9abSDaniel Fojt + add clarification in manual page to show when the single/double 1935940c9abSDaniel Fojt quotes may be needed (prompted by discussion with Danilo G Baio). 1945940c9abSDaniel Fojt + fix an extra ".exe" in makefile.in which prevented Cygwin build. 1955940c9abSDaniel Fojt + fix most cppcheck warnings 1965940c9abSDaniel Fojt + tailbox/tailboxbg's exit-button now works with mouse-clicks 1975940c9abSDaniel Fojt + fix repainting while resizing for the editbox widget. 1985940c9abSDaniel Fojt + add configure-check for curses_exit() from ncurses 6.2 1995940c9abSDaniel Fojt + fix a few memory leaks in fselect.c, mixedgauge.c when resizing. 2005940c9abSDaniel Fojt + fix inconsistency in dlg_string_to_argv() which made the checklist9 2015940c9abSDaniel Fojt example not work. 2025940c9abSDaniel Fojt + add empty-string check in dlg_print_listitem() to avoid indexing past 2035940c9abSDaniel Fojt the end of the array of character-offsets. 2045940c9abSDaniel Fojt + improve handling of KEY_RESIZE by repainting the backtitle after 2055940c9abSDaniel Fojt clearing the screen (integrated patch by Rainer Weikusat, Debian 2065940c9abSDaniel Fojt #954185). 2075940c9abSDaniel Fojt + improve logic for wtimeout() calls which are used to set temporary 2085940c9abSDaniel Fojt non-blocking reads (prompted by patch by Rainer Weikusat, Debian 2095940c9abSDaniel Fojt #954220). 2105940c9abSDaniel Fojt + add "make check" rule. 2115940c9abSDaniel Fojt + updated configure-macros. 2125940c9abSDaniel Fojt 2135940c9abSDaniel Fojt2020/02/28 2145940c9abSDaniel Fojt + updated configure-macros, to work around ncurses vs xcode's c99 -W 2155940c9abSDaniel Fojt + update config.guess 2165940c9abSDaniel Fojt 2175940c9abSDaniel Fojt2019/12/31 2185940c9abSDaniel Fojt + updated configure-macros. 2195940c9abSDaniel Fojt + update config.guess 2205940c9abSDaniel Fojt 2215940c9abSDaniel Fojt2019/12/10 2225940c9abSDaniel Fojt + correct rc-file lookup of "default" color (report by Grady Martin, 2235940c9abSDaniel Fojt cf: 2019/09/24). 2245940c9abSDaniel Fojt + fix several issues in the sample scripts reported by shellcheck. 2255940c9abSDaniel Fojt + fix a few spelling errors reported by codespell (report by Jens 2265940c9abSDaniel Fojt Schleusener). 2275940c9abSDaniel Fojt + correct check for return-value of isblank(), which is not necessarily 2285940c9abSDaniel Fojt 0/1 (report/patch by Paul Cercueil, Peter Korsgaard, cf: 2018/05/31). 2295940c9abSDaniel Fojt 2305940c9abSDaniel Fojt2019/12/09 2315940c9abSDaniel Fojt + amend change for parsing command-options before calling init_dialog, 2325940c9abSDaniel Fojt to handle --no-shadow, etc., which are initialized in init_dialog 2335940c9abSDaniel Fojt (report by Paul Cercueil, cf: 2018/06/21). 2345940c9abSDaniel Fojt + add dlg_trace_va_msg to manpage, symbol files. 2355940c9abSDaniel Fojt 2365940c9abSDaniel Fojt2019/11/10 2375940c9abSDaniel Fojt + improve layout of several widgets' data area when maximizing. 2385940c9abSDaniel Fojt + modify dselect/fselect to work with autosizing (Debian #915949). 2395940c9abSDaniel Fojt + add error messages from dlg_exiterr() to trace file. 2405940c9abSDaniel Fojt + improve manual page description of escaping in key-bindings. 2415940c9abSDaniel Fojt + modify inputmenu to recognize the "Cancel" button and keys bound to 2425940c9abSDaniel Fojt that feature while editing a renamed menu item. 2435940c9abSDaniel Fojt + revert one change, in form.c to the --last-key feature (Debian 2445940c9abSDaniel Fojt #942025). 2455940c9abSDaniel Fojt + correct ordering of libraries in configure-script, which appended 2465940c9abSDaniel Fojt in a case where it should have prepended. 2475940c9abSDaniel Fojt + update config.guess, config.sub 2485940c9abSDaniel Fojt 2495940c9abSDaniel Fojt2019/09/26 2505940c9abSDaniel Fojt + improve dialog-config script's filtering of -L options using the 2515940c9abSDaniel Fojt linker default directories. 2525940c9abSDaniel Fojt + improve dialog-config script, adding a -L option corresponding to 2535940c9abSDaniel Fojt the configure --libdir option if it would be a duplicate (report by 2545940c9abSDaniel Fojt Andrew Kosteltsev). 2555940c9abSDaniel Fojt + build-fix for configure --disable-trace 2565940c9abSDaniel Fojt + updated pt.po from 2575940c9abSDaniel Fojt http://translationproject.org/latest/dialog/ 2585940c9abSDaniel Fojt 2595940c9abSDaniel Fojt2019/09/24 2605940c9abSDaniel Fojt + allow for underline- and reverse-video flags in the ".rc" file 2615940c9abSDaniel Fojt (integrated patch by Richard Robbins). 2625940c9abSDaniel Fojt 2635940c9abSDaniel Fojt2019/08/08 2645940c9abSDaniel Fojt + amend change to --last-key feature to eliminate an unnecessary 2655940c9abSDaniel Fojt separator (report by Gabriele Balducci). 2665940c9abSDaniel Fojt 2675940c9abSDaniel Fojt2019/08/06 2685940c9abSDaniel Fojt + extend --last-key feature to the remaining widgets which have 2695940c9abSDaniel Fojt ok/cancel buttons, and add logic to map keys which happen to be 2705940c9abSDaniel Fojt bound to ok/extra/cancel/help to simulate a button-press on the 2715940c9abSDaniel Fojt corresponding button (report by "sgewrk"). 2725940c9abSDaniel Fojt 2735940c9abSDaniel Fojt2019/08/01 2745940c9abSDaniel Fojt + further fixes for dialog-config.in (report by Andrew Kosteltsev). 2755940c9abSDaniel Fojt 2765940c9abSDaniel Fojt2019/07/28 2775940c9abSDaniel Fojt + modify dialog-config.in so that setting prefix or exec-prefix to 2785940c9abSDaniel Fojt a given value with --prefix=VALUE or --exec-prefix=VALUE has the 2795940c9abSDaniel Fojt expected result of changing bindir, etc. 2805940c9abSDaniel Fojt + correct substitution for $LIBS value in dialog-config.in (report by 2815940c9abSDaniel Fojt Andrew Kosteltsev). 2825940c9abSDaniel Fojt 2835940c9abSDaniel Fojt2019/07/24 2845940c9abSDaniel Fojt + modify dlg_will_resize() and dlg_result_key() functions to reduce 2855940c9abSDaniel Fojt the chance that dialog exits on a SIGWINCH (Debian #930775). 2865940c9abSDaniel Fojt + make test-package for the development headers/library 2875940c9abSDaniel Fojt + add --libs-only-L, etc., to dialog-config script (prompted by 2885940c9abSDaniel Fojt discussion with Andrew Kosteltsev). 2895940c9abSDaniel Fojt + fix a memory leak in gauge widget (Andrew Kosteltsev). 2905940c9abSDaniel Fojt + minor fix for CF_GCC_WARNINGS 2915940c9abSDaniel Fojt + update config.guess, config.sub 2925940c9abSDaniel Fojt 2935940c9abSDaniel Fojt2019/02/11 2945940c9abSDaniel Fojt + modify to work with ncurses' threaded-library, which does not allow 2955940c9abSDaniel Fojt assignment to LINES/COLS (report by Marcus Roeckrath). 2965940c9abSDaniel Fojt + correct clearing after text in progressbox from 2018/06/21 changes 2975940c9abSDaniel Fojt for resizing (reports by David Boyd, Alan Somers). 2985940c9abSDaniel Fojt + improved configure macros CF_GNU_SOURCE, CF_POSIX_C_SOURCE, 2995940c9abSDaniel Fojt CF_XOPEN_SOURCE 3005940c9abSDaniel Fojt + update config.guess, config.sub 3015940c9abSDaniel Fojt 3025940c9abSDaniel Fojt2018/11/07 3035940c9abSDaniel Fojt + convert ja.po to UTF-8 for consistency (suggested by Stanislav 3045940c9abSDaniel Fojt Brabec). 3055940c9abSDaniel Fojt + repair mis-encoded hi.po (report/analysis by Stanislav Brabec). 3065940c9abSDaniel Fojt 3075940c9abSDaniel Fojt2018/10/22 3085940c9abSDaniel Fojt + improved configure macros CF_CC_ENV_FLAGS, CF_LD_RPATH_OPT, 3095940c9abSDaniel Fojt CF_LIBRARY_PATH, CF_SHARED_OPTS, CF_WITH_MAN2HTML, 3105940c9abSDaniel Fojt CF_WITH_VERSIONED_SYMS from ncurses 3115940c9abSDaniel Fojt + add ast.po, from 3125940c9abSDaniel Fojt http://translationproject.org/latest/dialog/ 3135940c9abSDaniel Fojt 3145940c9abSDaniel Fojt2018/06/21 3155940c9abSDaniel Fojt + improve file-offset computation in textbox.c (Werner Fink). 3165940c9abSDaniel Fojt + fix an overlooked case with real_auto_size() to maximize when 3175940c9abSDaniel Fojt height or width is given as -1. 3185940c9abSDaniel Fojt + build-fixes for configure options "--disable-Xdialog2" and 3195940c9abSDaniel Fojt "--disable-form" 3205940c9abSDaniel Fojt + add traces for each widget to show its parameters. 3215940c9abSDaniel Fojt + modify color scheme for mixedgauge to use the dialog window colors, 3225940c9abSDaniel Fojt like the captions. 3235940c9abSDaniel Fojt + fix a too-small malloc in the mixedgauge widget. 3245940c9abSDaniel Fojt + fix a use-after-free in dlg_remove_callback(). 3255940c9abSDaniel Fojt + improve handling of SIGWINCH for several widgets (Debian #865840). 3265940c9abSDaniel Fojt + menubox, the point of the Debian report was that it would be nice 3275940c9abSDaniel Fojt to increase the window size if the terminal size increases. Did 3285940c9abSDaniel Fojt that as a special case less problematic than decreasing the 3295940c9abSDaniel Fojt terminal size. Added samples/menubox11 to demonstrate by 3305940c9abSDaniel Fojt comparison with menubox10 a problem with debconf which puts extra 3315940c9abSDaniel Fojt newlines in the caption that interfere with autowrap. 3325940c9abSDaniel Fojt + progressbox and derived prgbox, programbox, now handle resizing. 3335940c9abSDaniel Fojt + yesno, window was cleared 3345940c9abSDaniel Fojt + add dlg_ttysize() to support new options, allowing scripts to obtain 3355940c9abSDaniel Fojt some text-formatting details without initializing the terminal. 3365940c9abSDaniel Fojt + add options --print-text-only, and --print-text-size for scripts that 3375940c9abSDaniel Fojt adjust the widget size according to how the captions are formatted. 3385940c9abSDaniel Fojt + improve dialog.pl: 3395940c9abSDaniel Fojt + add demo.pl, to demonstrate the functions 3405940c9abSDaniel Fojt + quote/escape string parameters passed to dialog. 3415940c9abSDaniel Fojt + ensure all "integer" parameters are really integers. 3425940c9abSDaniel Fojt + use actual screensize for list captions rather than assuming 24 3435940c9abSDaniel Fojt lines. 3445940c9abSDaniel Fojt + when trimming blanks, treat unconverted tabs the same as spaces. 3455940c9abSDaniel Fojt + correct parameter to test when trimming blanks from the script, 3465940c9abSDaniel Fojt e.g., with "--trim" (report by Jarno Suni). 3475940c9abSDaniel Fojt + improve documentation of the various whitespace-filtering options, 3485940c9abSDaniel Fojt to show which take precedence (Debian #867536, cf: Debian #102942). 3495940c9abSDaniel Fojt + modify msgbox.c, yesno.c to bind SCROLLKEY_BINDINGS before 3505940c9abSDaniel Fojt TRAVERSE_BINDINGS so that up/down arrow will by default scroll the 3515940c9abSDaniel Fojt message up/down rather than be aliases for tab-traversal (report by 3525940c9abSDaniel Fojt Fredrik Kers). 3535940c9abSDaniel Fojt + modify dump_one_binding() to show when a binding is overridden. 3545940c9abSDaniel Fojt + improve format of trace-file, making comment-syntax consistent, 3555940c9abSDaniel Fojt as well as showing argv-splitting as a series of comments. 3565940c9abSDaniel Fojt + modify dlg_string_to_argv() to change the quoting behavior to be 3575940c9abSDaniel Fojt more consistent with shell behavior (patch by Denilson Sa Maia). 3585940c9abSDaniel Fojt + modify dlg_getc() to return ESC when a timeout expires, notifying 3595940c9abSDaniel Fojt callers that a quit occurred rather than exiting the application 3605940c9abSDaniel Fojt (suggested by Rodrigo Freitas). 3615940c9abSDaniel Fojt + modify handle_inputs() to ensure cursor-visibility is restored when 3625940c9abSDaniel Fojt there is no input character available (report by Guillaume Vareille). 3635940c9abSDaniel Fojt + improve comment in manual page regarding which widgets can use the 3645940c9abSDaniel Fojt "--help-button" (prompted by discussion with Csanyi Pal). 3655940c9abSDaniel Fojt + add a check for valid object pointer in tailbox's main loop since 3665940c9abSDaniel Fojt the getc-callback may have been freed within ui_getc.c (report by 3675940c9abSDaniel Fojt "David"). 3685940c9abSDaniel Fojt + improved configure macros for ncurses: CF_GNU_SOURCE, CF_SHARED_OPTS, 3695940c9abSDaniel Fojt CF_CURSES_LIBS, CF_CURSES_FUNCS, CF_NCURSES_CONFIG 3705940c9abSDaniel Fojt + improved configure script checks for groff vs man2html: 3715940c9abSDaniel Fojt CF_PROG_GROFF and CF_WITH_MAN2HTML 3725940c9abSDaniel Fojt + build-fix from lynx for AM_WITH_NLS configure macro 3735940c9abSDaniel Fojt + update config.guess, config.sub 3745940c9abSDaniel Fojt 3755940c9abSDaniel Fojt2017/12/09 3765940c9abSDaniel Fojt + update ftp url in test-packages. 3775940c9abSDaniel Fojt + modify test-packages to use recommended compiler/linker flags. 3785940c9abSDaniel Fojt + improved configure macros AM_WITH_NLS, CF_CC_ENV_FLAGS, 3795940c9abSDaniel Fojt CF_CURSES_LIBS, CF_NCURSES_CONFIG, CF_SHARED_OPTS, CF_WITH_LIBTOOL, 3805940c9abSDaniel Fojt CF__INTL_BODY. 3815940c9abSDaniel Fojt + update config.guess, config.sub 3825940c9abSDaniel Fojt 3835940c9abSDaniel Fojt2017/05/09 3845940c9abSDaniel Fojt + improved configure macros CF_ADD_CFLAGS, CF_CC_ENV_FLAGS, and 3855940c9abSDaniel Fojt CF_SHARED_OPTS. 3865940c9abSDaniel Fojt + updated hu.po and tr.po from 3875940c9abSDaniel Fojt http://translationproject.org/latest/dialog/ 3885940c9abSDaniel Fojt + update config.guess, config.sub 3895940c9abSDaniel Fojt 3905940c9abSDaniel Fojt2017/01/31 3915940c9abSDaniel Fojt + use DLG_TRACE macro consistently to make "--disable-trace" configure 3925940c9abSDaniel Fojt option work. 3935940c9abSDaniel Fojt + modify buildlist widget to support option "--reorder" for to allow 3945940c9abSDaniel Fojt user to reorder the data based on the sequence of selections 3955940c9abSDaniel Fojt (discussion with Paraic O'Ceallaigh). 3965940c9abSDaniel Fojt + fill background color on unused parts of buildlist. 3975940c9abSDaniel Fojt + fix a minor error in buildlist which let pageup switch columns. 3985940c9abSDaniel Fojt + change several calls to dlg_trace_msg to prefix with "#" to make 3995940c9abSDaniel Fojt the trace logs more consistent for parsing. 4005940c9abSDaniel Fojt + add samples/run_test.sh 4015940c9abSDaniel Fojt + further improve performance with very long command-lines by changes 4025940c9abSDaniel Fojt to howmany_tags(). 4035940c9abSDaniel Fojt + modify dlg_string_to_argv() to convert escaped double-quotes to 4045940c9abSDaniel Fojt plain double-quotes when within a double-quoted string. 4055940c9abSDaniel Fojt + modify makefile to apply CFLAGS to linking 4065940c9abSDaniel Fojt + modify dlg_string_to_argv() to ignore escaped newlines except when 4075940c9abSDaniel Fojt quoted, fixing a problem with samples/checklist9. 4085940c9abSDaniel Fojt + interpret $DIALOGOPTS before expanding "--file", etc., to allow 4095940c9abSDaniel Fojt the environment variable to turn on tracing in that process. 4105940c9abSDaniel Fojt + improve performance when processing very long command lines, e.g., 4115940c9abSDaniel Fojt using "--file" by changing dialog_opts[] to an array of pointers to 4125940c9abSDaniel Fojt the expanded argv[] (discussion with Lars Tauber). 4135940c9abSDaniel Fojt + modified autoconf macros 4145940c9abSDaniel Fojt + CF_CC_ENV_FLAGS amend the last change to move only the 4155940c9abSDaniel Fojt preprocessor, optimization and warning flags to CPPFLAGS and 4165940c9abSDaniel Fojt CFLAGS, leaving the residue in CC. That happens to work for gcc's 4175940c9abSDaniel Fojt various "model" options, but may require tuning for other compilers 4185940c9abSDaniel Fojt + CF_LARGEFILE workaround for clang exit-code vs warnings 4195940c9abSDaniel Fojt + CF_MATH_LIB quiet strict gcc warning 4205940c9abSDaniel Fojt + CF_WITH_LIBTOOL fix a few places in configure/build scripts where 4215940c9abSDaniel Fojt DESTDIR and rpath were combined 4225940c9abSDaniel Fojt + CF_XOPEN_SOURCE add "uclinux" to list of Linux's 4235940c9abSDaniel Fojt + update config.guess, config.sub 4245940c9abSDaniel Fojt 4255940c9abSDaniel Fojt2016/11/20 4265940c9abSDaniel Fojt + added fur.po (Friulian) from 4275940c9abSDaniel Fojt http://translationproject.org/latest/dialog/ 4285940c9abSDaniel Fojt 4295940c9abSDaniel Fojt2016/08/28 4305940c9abSDaniel Fojt + improve parsing and trace for "bindkey", to convert space to/from 4315940c9abSDaniel Fojt "\s", as well as handle octal escapes for single byte characters. 4325940c9abSDaniel Fojt + change explicit checks for space character used for select or toggle 4335940c9abSDaniel Fojt to make this rebindable to "TOGGLE" (prompted by discussion with 4345940c9abSDaniel Fojt Paul van Tilburg). 4355940c9abSDaniel Fojt + add default bindings for cursor left/right to formbox. The cursor 4365940c9abSDaniel Fojt left/right cases were replaced with rebindable symbols in 2005/12/07 4375940c9abSDaniel Fojt without providing these keys as default values (report/patch by 4385940c9abSDaniel Fojt Miroslav Lichvar). 4395940c9abSDaniel Fojt + modified autoconf macros 4405940c9abSDaniel Fojt + CF_PROG_LINT add cpplint to programs to use; drop ad hoc tdlint and 4415940c9abSDaniel Fojt alint. 4425940c9abSDaniel Fojt + CF_CC_ENV_FLAGS don't limit the check to -I, -U and -D options, 4435940c9abSDaniel Fojt since the added options can include various compiler options before 4445940c9abSDaniel Fojt and after preprocessor options. 4455940c9abSDaniel Fojt + CF_GNU_SOURCE recent glibc (Debian 2.23-4 for example) has 4465940c9abSDaniel Fojt misordered ifdef/checks for new symbol _DEFAULT_SOURCE, producing 4475940c9abSDaniel Fojt warning messages when only _GNU_SOURCE is defined. Add a followup 4485940c9abSDaniel Fojt check to define _DEFAULT_SOURCE. 4495940c9abSDaniel Fojt + CF_XOPEN_SOURCE use _GNU_SOURCE for cygwin headers, tested with 4505940c9abSDaniel Fojt cygwin 2.3, 2.5 (patch by Corinna Vinschen). 4515940c9abSDaniel Fojt + mention --no-collapse option in manual page description of 4525940c9abSDaniel Fojt --tab-correct option. 4535940c9abSDaniel Fojt + update config.guess, config.sub 4545940c9abSDaniel Fojt 4555940c9abSDaniel Fojt2016/04/24 4565940c9abSDaniel Fojt + fix a special case in drawing shadow on a line-drawing cell where the 4575940c9abSDaniel Fojt alternate-character set flag was lost (report by Martin Kravec). 4585940c9abSDaniel Fojt + fix a regression from 2015/05/13 changes for escaping; it is 4595940c9abSDaniel Fojt necessary to retain backslashes within quotes to make "\Z" escapes 4605940c9abSDaniel Fojt work (report by Marcin Krol). 4615940c9abSDaniel Fojt + fix test package for RPMs; changes in 2015 omitted symbolic links 4625940c9abSDaniel Fojt for the library. 4635940c9abSDaniel Fojt + fix typo in help message for "--buildlist" (report by Rihards Olups). 4645940c9abSDaniel Fojt + modified autoconf macros 4655940c9abSDaniel Fojt + CF_PROG_AR, CF_AR_FLAGS added to improve check for archive tool. 4665940c9abSDaniel Fojt + CF_LD_RPATH_OPT, change FreeBSD to use -Wl,-rpath rather than 4675940c9abSDaniel Fojt -rpath option. According to FreeBSD #178732, either works since 4685940c9abSDaniel Fojt FreeBSD 4.x; however scons does not accept anything except the 4695940c9abSDaniel Fojt -Wl,-rpath form. 4705940c9abSDaniel Fojt + CF_WITH_NCURSES_ETC, change from ncurses to check for pthreads 4715940c9abSDaniel Fojt dependency. 4725940c9abSDaniel Fojt 4735940c9abSDaniel Fojt2016/02/09 4745940c9abSDaniel Fojt + modify editbox widget to add a trailing newline if the text has none 4755940c9abSDaniel Fojt to ensure the last line is not ignored (report by Florent Rougon). 4765940c9abSDaniel Fojt + change mouse initialization to look for button-presses rather than 4775940c9abSDaniel Fojt button-clicks, for better response. 4785940c9abSDaniel Fojt + modify dump_curses_key() to show mouse-coding in readable form. 4795940c9abSDaniel Fojt + correct mapping of mouse-clicks on the day-grid in calendar widget 4805940c9abSDaniel Fojt when "--week-start" is used to set the start of the week (report by 4815940c9abSDaniel Fojt Stefan Vogtner). 4825940c9abSDaniel Fojt > integrated changes from Stefan Vogtner: 4835940c9abSDaniel Fojt + use Gregorian algorithm for leap year 4845940c9abSDaniel Fojt + use mktime if available; calendar was written just as it became 4855940c9abSDaniel Fojt standard. 4865940c9abSDaniel Fojt 4875940c9abSDaniel Fojt2016/01/26 - release 1.3 4885940c9abSDaniel Fojt + correct --infobox documentation, which said it shows an OK button. 4895940c9abSDaniel Fojt + fix a couple of place in test-scripts which referred to $SIG_TRAP 4905940c9abSDaniel Fojt rather than $SIG_QUIT 4915940c9abSDaniel Fojt + reorganize dialog.3, to use subsections for generating navigation 4925940c9abSDaniel Fojt pane, using man2html 4935940c9abSDaniel Fojt + add "--week-start" option for calendar widget (prompted by discussion 4945940c9abSDaniel Fojt with Stefan Vogtner). 4955940c9abSDaniel Fojt + add a limit-check in editbox.c to ensure that mouse-clicks outside 4965940c9abSDaniel Fojt the filled-in text area do not access past the end of the array 4975940c9abSDaniel Fojt (report by Stefan Vogtner). 4985940c9abSDaniel Fojt + update configure macros from ncurses changes. 4995940c9abSDaniel Fojt + update config.guess, config.sub 5005940c9abSDaniel Fojt 5011ef6786aSJohn Marino2015/09/20 5021ef6786aSJohn Marino + decrease table value for minimum number of arguments for the widgets 5031ef6786aSJohn Marino which use --no-items option (report by Raven Singularity). 5041ef6786aSJohn Marino + update configure macros: 5051ef6786aSJohn Marino + use $SHELL consistently, deprecate non-POSIX shell 5061ef6786aSJohn Marino + PKG_CONFIG may simply be unset - fix 5071ef6786aSJohn Marino + add option to allow changing ABI version, from ncurses6. 5081ef6786aSJohn Marino 5091ef6786aSJohn Marino2015/05/28 5101ef6786aSJohn Marino + fixes for two autoconf macros, CF_ADD_INCDIR and CF_NCURSES_CONFIG 5111ef6786aSJohn Marino from work on ncurses. 5121ef6786aSJohn Marino + build-fix for NetBSD curses (patch by Matthias Scheler). 5131ef6786aSJohn Marino 5141ef6786aSJohn Marino2015/05/13 5151ef6786aSJohn Marino + add configure option --with-install-prefix, like ncurses. 5161ef6786aSJohn Marino + add --with-screen and related configure options from ncurses-examples 5171ef6786aSJohn Marino to allow building with ncurses6 test-packages. 5181ef6786aSJohn Marino + update configure macros for improved coding style from lynx changes. 5191ef6786aSJohn Marino + updated ro.po from 5201ef6786aSJohn Marino http://translationproject.org/latest/dialog/ 5211ef6786aSJohn Marino + update config.guess, config.sub 5221ef6786aSJohn Marino > patches by Florent Rougon: 5231ef6786aSJohn Marino + fix two bugs in the "--file" option. 5241ef6786aSJohn Marino + When the number of arguments read from the included file is 0, the 5251ef6786aSJohn Marino code used to just skip over '--file' and its argument instead of 5261ef6786aSJohn Marino removing them from the argument list, causing "Error: Unknown 5271ef6786aSJohn Marino option --file" later on. 5281ef6786aSJohn Marino + In the alternative case (at least one argument read from the file), 5291ef6786aSJohn Marino the previous code used to do '--j;' in order to "force rescan" of 5301ef6786aSJohn Marino the inserted arguments. However, control then flowed to outer 5311ef6786aSJohn Marino blocks where a '++j;' counteracted this measure, causing "Error: 5321ef6786aSJohn Marino Unknown option --msgbox" (for instance) later on. 5331ef6786aSJohn Marino + modify escaping in argv.c to be more uniform, whether or not the 5341ef6786aSJohn Marino backslash is found within a parameter. 5351ef6786aSJohn Marino 5361ef6786aSJohn Marino2015/02/25 5371ef6786aSJohn Marino + modify gauge widget to keep from erasing a second gauge widget, e.g., 5381ef6786aSJohn Marino via the "--and-widget" option. This is a cosmetic change to match 5391ef6786aSJohn Marino behavior of dialog 1.0 (report by Jason Orendorf). 5401ef6786aSJohn Marino + add configure option "--with-man2html" 5411ef6786aSJohn Marino + add configure options for versioned symbols, from ongoing work on 5421ef6786aSJohn Marino ncurses. 5431ef6786aSJohn Marino + update configure macros, e.g., for shared libraries 5441ef6786aSJohn Marino 5451ef6786aSJohn Marino2015/01/25 5461ef6786aSJohn Marino + suppress highlighting of character which denotes an abbreviation or 5471ef6786aSJohn Marino shortcut for the OK/Cancel and other buttons for these widgets, which 5481ef6786aSJohn Marino use abbreviations for the list shown on the screen: buildlist, 5491ef6786aSJohn Marino checklist/radiobox, menubox, treeview (Debian #775295). 5501ef6786aSJohn Marino + add grid up/left and down/right bindings in editbox.c as synonyms for 5511ef6786aSJohn Marino field prev and next, respectively when handling the OK/Cancel buttons 5521ef6786aSJohn Marino (Debian #775294). 5531ef6786aSJohn Marino 5541ef6786aSJohn Marino2014/09/11 5551ef6786aSJohn Marino + correct malloc-size for change to prgbox. 5561ef6786aSJohn Marino 5571ef6786aSJohn Marino2014/09/10 5581ef6786aSJohn Marino + fixes to make "-c" option work when passing command to shell for the 5591ef6786aSJohn Marino prgbox widget, for example in samples/prgbox2 (report by Korantin 5601ef6786aSJohn Marino Auguste). 5611ef6786aSJohn Marino 5621ef6786aSJohn Marino2014/09/08 5631ef6786aSJohn Marino + fix an out-of-bounds array index in buildlist widget (report by 5641ef6786aSJohn Marino Cade Foster). 5651ef6786aSJohn Marino 5661ef6786aSJohn Marino2014/09/01 5671ef6786aSJohn Marino + add configure check for groff, needed for html/ps/pdf output. 5681ef6786aSJohn Marino + update configure-script macros: 5691ef6786aSJohn Marino + CF_ACVERSION_CHECK - work around another gratuitous incompatibility 5701ef6786aSJohn Marino introduced in 2.69 5711ef6786aSJohn Marino + CF_ADD_CFLAGS - workaround for ash-shell, e.g., with Minix 5721ef6786aSJohn Marino + CF_ADD_LIBS - filter out duplicates 5731ef6786aSJohn Marino + CF_CURSES_FUNCS - improve workaround for weak-linkage, seems to fix 5741ef6786aSJohn Marino tests with NetBSD 6.1 5751ef6786aSJohn Marino + CF_INTEL_COMPILER - clean up the -no-gcc option which was leftover 5761ef6786aSJohn Marino from testing. 5771ef6786aSJohn Marino + CF_LIB_SUFFIX - change suffix for AIX shared libraries to ".so". 5781ef6786aSJohn Marino + CF_MAKEFLAGS - workaround for GNU make 4.0 incompatibility with 5791ef6786aSJohn Marino previous releases. 5801ef6786aSJohn Marino + CF_XOPEN_SOURCE - add cases for Minix, UnixWare and improve the 5811ef6786aSJohn Marino workaround for Solaris. 5821ef6786aSJohn Marino + improve comparison in compare_cache() function, in case difference 5831ef6786aSJohn Marino between pointers does not fit in int's. 5841ef6786aSJohn Marino + updated de.po, es.po, hu.po, lv.po from 5851ef6786aSJohn Marino http://translationproject.org/latest/dialog/ 5861ef6786aSJohn Marino + update config.guess, config.sub 5871ef6786aSJohn Marino 5881ef6786aSJohn Marino2014/02/19 5891ef6786aSJohn Marino + cleanup of manpages prompted by Gislason's comments. 5901ef6786aSJohn Marino + several changes to manpages to improve presentation (patches by 5911ef6786aSJohn Marino Bjarni I. Gislason, Debian #739180, Debian #739181) 5921ef6786aSJohn Marino + use "\/" when transitioning from italic to normal font 5931ef6786aSJohn Marino + correct an instance of "e.g,." 5941ef6786aSJohn Marino + use "\e" rather than "\\" to present a literal "\" 5951ef6786aSJohn Marino + improve formatting of table header 5961ef6786aSJohn Marino + remove some excess space-characters 5971ef6786aSJohn Marino + change a reference 0-9 to use "through" as the connector 5981ef6786aSJohn Marino + use "\&" to separate "." from a space to make the space shorter 5991ef6786aSJohn Marino + change a list's TP macro parameters to make the hanging text align 6001ef6786aSJohn Marino better with the adjacent paragraph 6011ef6786aSJohn Marino + add comma in a few places before "and" in a list 6021ef6786aSJohn Marino + separate units from numbers with a nonfillable space 6031ef6786aSJohn Marino + replace "-" with en-dash in a few places 6041ef6786aSJohn Marino + corrected argument indices after "--args" and "--file" to rescan the 6051ef6786aSJohn Marino argument list after removing/substituting those options. 6061ef6786aSJohn Marino + fix loops for "--file" option to handle cases with zero or no tokens at 6071ef6786aSJohn Marino all substituted (Redhat #1066168). 6081ef6786aSJohn Marino + add gd.po from 6091ef6786aSJohn Marino http://translationproject.org/latest/dialog/ 6101ef6786aSJohn Marino 6111ef6786aSJohn Marino2014/01/12 6121ef6786aSJohn Marino + improve calculation for amount to scroll in programbox when an "Ok" 6131ef6786aSJohn Marino button might obscure part of the data (report by Florent Rougon). 6141ef6786aSJohn Marino + modify program to permit --separate-output to be used with buildlist 6151ef6786aSJohn Marino and treeview widgets (report by Florent Rougon). 6161ef6786aSJohn Marino + add list-height parameter to manpage description of --buildlist 6171ef6786aSJohn Marino (report by Florent Rougon). 6181ef6786aSJohn Marino + minor fixes to dialog.1 manpage; the reported problem was actually 6191ef6786aSJohn Marino fixed in 20120703 (Debian #726233, patch by Bjarni Ingi Gislason). 6201ef6786aSJohn Marino + add a "Hello World" example to dialog.3 manpage (prompted by 6211ef6786aSJohn Marino discussions with Dustin Oprea, Kevin Ingwersen). 6221ef6786aSJohn Marino + correct comparison in dlg_lookup_key() so that using "bindkey" with 6231ef6786aSJohn Marino a "*" wildcard parameter works as documented (report by Stewart 6241ef6786aSJohn Marino Benedict). 6251ef6786aSJohn Marino + updated configure macros, fixes for clang and mingw. 6261ef6786aSJohn Marino + update config.guess, config.sub 6271ef6786aSJohn Marino 6281ef6786aSJohn Marino2013/09/28 6291ef6786aSJohn Marino + fix a regression in gauge widget from 2013/09/28 changes; 6301ef6786aSJohn Marino dlg_reallocate_gauge() failed when no --title option was given 6311ef6786aSJohn Marino (report by Tritonas Insomnia). 6321ef6786aSJohn Marino 6331ef6786aSJohn Marino2013/09/23 6341ef6786aSJohn Marino + fix samples/inputbox6-utf8, which had depended unnecessarily on bash. 6351ef6786aSJohn Marino + improve memory caching for wide-character manipulation in gauge 6361ef6786aSJohn Marino widget (report by Devin Teske). 6371ef6786aSJohn Marino + add dlg_reallocate_gauge (discussion with Devin Teske). 6381ef6786aSJohn Marino + updated configure macros to use msys changes from ncurses. 6391ef6786aSJohn Marino + update config.guess, config.sub 6401ef6786aSJohn Marino 6411ef6786aSJohn Marino2013/09/02 6421ef6786aSJohn Marino + modify makefile rule to make the ".png" filenames created by groff 6431ef6786aSJohn Marino predictable. 6441ef6786aSJohn Marino + add option --help-tags to allow scripts to get the item's tag field 6451ef6786aSJohn Marino consistently from help- and help-item button results rather than 6461ef6786aSJohn Marino getting the item's text for the latter (discussion with Florent 6471ef6786aSJohn Marino Rougon). 6481ef6786aSJohn Marino + correct manpage discussion of DIALOG_ITEM_HELP versus --item-help, 6491ef6786aSJohn Marino as well as --help-button return status (report by Florent Rougon). 6501ef6786aSJohn Marino + correct limit used for --hline option (report by Devin Teske, 6511ef6786aSJohn Marino cf: 2011/06/30). 6521ef6786aSJohn Marino + do not print empty "[]" if a --hline option was given with an empty 6531ef6786aSJohn Marino value (report by Devin Teske). 6541ef6786aSJohn Marino + miscellaneous configure script fixes/updates. In particular, add 6551ef6786aSJohn Marino option --with-shared which builds shared libraries without a libtool 6561ef6786aSJohn Marino dependency. 6571ef6786aSJohn Marino + add FreeBSD port-files for test-builds. 6581ef6786aSJohn Marino + update lt.po, add fa.po from 6591ef6786aSJohn Marino http://translationproject.org/latest/dialog/ 6601ef6786aSJohn Marino + update config.guess, config.sub 6611ef6786aSJohn Marino 6621ef6786aSJohn Marino2013/05/23 6631ef6786aSJohn Marino + modify ifdef in arrows.c to work around packages which use the 6641ef6786aSJohn Marino wide-character ncursesw headers with the ncurses library (report 6651ef6786aSJohn Marino by Aleksey Cheusov). 6661ef6786aSJohn Marino + correct workaround for xterm alternate-screen to work with/without 6671ef6786aSJohn Marino the fix made in ncurses that makes putp() always write to the 6681ef6786aSJohn Marino standard output (Debian #708829). 6691ef6786aSJohn Marino + improve limit-checks for checklist, in case the dialog is resized 6701ef6786aSJohn Marino (report by Ilya A Arkhipov). 6711ef6786aSJohn Marino + add --last-key option (adapted from patch by Jordi Pujol, Debian 6721ef6786aSJohn Marino #697607). 6731ef6786aSJohn Marino 6741ef6786aSJohn Marino2013/03/15 6751ef6786aSJohn Marino + update zh_TW.po, add an.po from 6761ef6786aSJohn Marino http://translationproject.org/latest/dialog/ 6771ef6786aSJohn Marino 6785382d832SPeter Avalos2012/12/30 - release 1.2 6795382d832SPeter Avalos + improve some older changelog entries to help with HTML'izing content. 6805940c9abSDaniel Fojt + various fixes/improvements for scrollbar appearance. 6815382d832SPeter Avalos + add mappings for some equivalent options provided by whiptail; 6825382d832SPeter Avalos add configure option --disable-whiptail to allow suppressing these. 6835382d832SPeter Avalos + add configure option --disable-Xdialog2 to allow suppressing the 6845382d832SPeter Avalos newer features, i.e., for cdialog 1.2 6855382d832SPeter Avalos + add --no-items option, for consistency. 6865382d832SPeter Avalos + add --no-tags option, like Xdialog. 6875382d832SPeter Avalos + add buildlist, rangebox and treeview dialogs, like Xdialog. 6885382d832SPeter Avalos + remove obsolete workaround for ncurses 4.2 scrolling in checklist 6895382d832SPeter Avalos and menubox. 6905382d832SPeter Avalos + improve dialog_helpfile() by preventing it from showing extra buttons 6915382d832SPeter Avalos (suggested by xDog Walker). 6925382d832SPeter Avalos + correct logic in formbox's scroll_next() function (report by xDog 6935382d832SPeter Avalos Walker). 6945382d832SPeter Avalos + fix a case with inputbox widget where preset input text is not shown 6955382d832SPeter Avalos until moving the cursor within the text (report by xDog Walker). 6965382d832SPeter Avalos + handle SIGCHLD in dialog_prgbox() to eliminate defunct processes 6975382d832SPeter Avalos (report by xDog Walker). 6985382d832SPeter Avalos + improve the way "hotkeys" are assigned to widget buttons by checking 6995382d832SPeter Avalos if a given key has already been used in the row of buttons (Debian 7005382d832SPeter Avalos #684933). 7015382d832SPeter Avalos + amend fix for --trace parsing from 2012/07/03, which sometimes 7025382d832SPeter Avalos skipped a parameter (report by xDog Walker). 7035382d832SPeter Avalos + drop copismall and install files from samples, which were essentially 7045382d832SPeter Avalos nonfunctional. 7055382d832SPeter Avalos + correct secondary border colors in samples/slackware.rc and 7065382d832SPeter Avalos samples/whiptail.rc 7075382d832SPeter Avalos + update gl.po, add ia.po from 7085382d832SPeter Avalos http://translationproject.org/latest/dialog/ 7095382d832SPeter Avalos + fix various issues reported by coverity scan. 7105382d832SPeter Avalos + miscellaneous configure script fixes/updates: 7115382d832SPeter Avalos + require autoconf 2.52+patches 7125382d832SPeter Avalos + support --datarootdir option 7135382d832SPeter Avalos + check for clang compiler 7145382d832SPeter Avalos + check for tinfo library when looking for ncurses 7155382d832SPeter Avalos + add 3rd parameter to AC_DEFINE for autoheader 7165382d832SPeter Avalos + remove unused macros from aclocal.m4 7175382d832SPeter Avalos + update config.guess, config.sub 7185382d832SPeter Avalos 7195382d832SPeter Avalos2012/07/06 7205382d832SPeter Avalos + modify samples/setup-tempfile to work with Tru64's shell. 7215382d832SPeter Avalos + modify inputmenu sample scripts to make them more portable: 7225382d832SPeter Avalos + use "id" rather than "$GROUPS", use sed to work with Solaris. 7235382d832SPeter Avalos + use sed to split-up the rename results to work with HPUX. 7245382d832SPeter Avalos + fix regression in msgbox (ArchLinux #30574) 7255382d832SPeter Avalos 7265382d832SPeter Avalos2012/07/03 7275382d832SPeter Avalos + modify prgbox widget to work with --extra-button, etc. 7285382d832SPeter Avalos + add case values to several widgets to allow for mouse-clicks with 7295382d832SPeter Avalos "--extra-button" and "--help-button" additions. 7305382d832SPeter Avalos + correct timebox widget's exit code for "--extra-button" when handing 7315382d832SPeter Avalos the "enter" key. 7325382d832SPeter Avalos + modify msgbox widget to honor "--extra-button". 7335382d832SPeter Avalos + corrected processing of "--trace" option, which did not update the 7345382d832SPeter Avalos index into command-line to point past its value. 7355382d832SPeter Avalos + add a check in dialog program for valid characters used in option, 7365382d832SPeter Avalos e.g., to generate an error if a script attempts to add option value 7375382d832SPeter Avalos using "=" rather than with whitespace. 7385382d832SPeter Avalos + add new command-line option --default-button and library function 7395382d832SPeter Avalos dlg_default_button() to retrieve the value set by the option 7405382d832SPeter Avalos to provide a way to set the default button directly rather than 7415382d832SPeter Avalos by combining --nook, etc. (patch by Zoltan Kelemen). 7425382d832SPeter Avalos + amend include of unctrl.h to apply only to the case where curses.h 7435382d832SPeter Avalos is included, to avoid conflict of ncurses' unctrl.h with a system 7445382d832SPeter Avalos implementation (report by Martin Roedlach) 7455382d832SPeter Avalos + add limit-check to dlg_toupper() in non-wide curses mode to work 7465382d832SPeter Avalos when non-character values such as arrow-key codes are passed to 7475382d832SPeter Avalos it (patch by Zoltan Kelemen). 7485382d832SPeter Avalos + override timeout value, e.g., as set via --timeout command-line 7495382d832SPeter Avalos option in pause widget because that interferes with pause's behavior 7505382d832SPeter Avalos (report by Jan Spitalnik). 7515382d832SPeter Avalos + modify samples/inputmenu* to allow ":" in renamed text (report by 7525382d832SPeter Avalos Andreas Stoewing). 7535382d832SPeter Avalos + modify double-quoting to make it more consistent, i.e., checklist 7545382d832SPeter Avalos output is quoted only when needed. This fixes the case where 7555382d832SPeter Avalos single-quotes were used whether or not needed, but also modifies 7565382d832SPeter Avalos older checklist behavior for double-quoting which always added those 7575382d832SPeter Avalos (Debian #663664). 7585382d832SPeter Avalos + correct exit-code used in inputmenu for "rename" button (Debian 7595382d832SPeter Avalos #673041, forwarded from Ubuntu #333909, patch by Lebedev Vadim). 7605382d832SPeter Avalos + update el.po and hr.po from 7615382d832SPeter Avalos http://translationproject.org/latest/dialog/ 7625382d832SPeter Avalos + use checkbashisms to clean up sample scripts. 7635382d832SPeter Avalos 7645382d832SPeter Avalos2012/02/15 7655382d832SPeter Avalos + modify menubox.c to use the same improvement as in checklist.c 7665382d832SPeter Avalos + improve auto width computation for checklist widget by using 7675382d832SPeter Avalos dlg_calc_list_width as in the non-auto case (Edho Arief). 7685382d832SPeter Avalos + eliminate some bashisms in the sample scripts (Pedro Giffuni). 7695382d832SPeter Avalos + makefile fixes from FreeBSD ports (Li-Wen Hsu): 7705382d832SPeter Avalos + make --with-package option of configure script work. 7715382d832SPeter Avalos + get LIBTOOL_VERSION from configure script, needed by 7725382d832SPeter Avalos ${LIBTOOL_VERSION} in LIBTOOL_CREATE (LIB_CREATE in configure and 7735382d832SPeter Avalos aclocal.m4) 7745382d832SPeter Avalos + update cs.po and sr.po from 7755382d832SPeter Avalos http://translationproject.org/latest/dialog/ 7765382d832SPeter Avalos + updated configure script macros, improving CF_XOPEN_SOURCE among 7775382d832SPeter Avalos other fixes. 7785382d832SPeter Avalos 7795382d832SPeter Avalos2011/10/20 7805382d832SPeter Avalos + fix --analyze warnings for clang versions 2.8, 2.9. 7815382d832SPeter Avalos + add configure check for lint program. 7825382d832SPeter Avalos + add check in dlg_getc() in case its window is freed as a side effect 7835382d832SPeter Avalos of removing callbacks. 7845382d832SPeter Avalos + fix logic in freeing subwindows (report by xDog Walker). 7855382d832SPeter Avalos + fix a regression in logic distinguishing between inputmenu and menu 7865382d832SPeter Avalos widgets (report by xDog Walker). 7875382d832SPeter Avalos + minor fixes to library manpage. 7885382d832SPeter Avalos 7895382d832SPeter Avalos2011/10/18 7905382d832SPeter Avalos + modify header-sh.in to work around limit on sed script length on 7915382d832SPeter Avalos HPUX. 7925382d832SPeter Avalos + add a special case of parameter parsing for "--trace" to the 7935382d832SPeter Avalos initialization done before calling init_dialog(), to allow users to 7945382d832SPeter Avalos capture the initial state of the parameter list before any options 7955382d832SPeter Avalos are processed and removed. This is only done if "--trace" is the 7965382d832SPeter Avalos first option, otherwise it is handled in the common options as before 7975382d832SPeter Avalos (report by xDog Walker). 7985382d832SPeter Avalos + modify samples/testdata-8bit, discarding $1 from the parameter list 7995382d832SPeter Avalos if it was used, so that the source'ing scripts can consistently use 8005382d832SPeter Avalos "$@" to insert parameters before the widget, e.g., as an alternative 8015382d832SPeter Avalos to using $DIALOGOPTS (report by xDog Walker). 8025382d832SPeter Avalos + modify treatment of function pointers in menubox.c, make 8035382d832SPeter Avalos dlg_renamed_menutext() and dlg_dummy_menutext() visible to library 8045382d832SPeter Avalos users (request by xDog Walker). 8055382d832SPeter Avalos + add dlg_count_real_columns(), use to modify centering for "--hline" 8065382d832SPeter Avalos text to account for "\Z"s (report by xDog Walker). 8075382d832SPeter Avalos + improve check in dlg_draw_arrows2() for conflict between the window 8085382d832SPeter Avalos title and up-arrow marker to take into account that the given window 8095382d832SPeter Avalos may not be the top-level window of the widget. 8105382d832SPeter Avalos + change width of page up/down mouse areas in fselect panes to use the 8115382d832SPeter Avalos full width of the panes rather than only the portion from the left 8125382d832SPeter Avalos margin to the up/down arrow. 8135382d832SPeter Avalos + add/use dlg_draw_box2() and dlg_draw_bottom_box2() to use the 8145382d832SPeter Avalos secondary borders. 8155382d832SPeter Avalos + modify rc-file read/write to accept/generate color values that refer 8165382d832SPeter Avalos to previously-processed items in the color table. This reduces the 8175382d832SPeter Avalos number of distinct colors that must be specified to set up a color 8185382d832SPeter Avalos scheme. 8195382d832SPeter Avalos + add color table entries for secondary borders, i.e., the ones that 8205382d832SPeter Avalos are normally drawn with the dialog's text-colors (Debian #641168). 8215382d832SPeter Avalos + modify fselect.c to scan the current directory if the input field 8225382d832SPeter Avalos happens to be empty (Debian #640905). 8235382d832SPeter Avalos + repeated the discussion of environment variables that can override 8245382d832SPeter Avalos the exit-status values in the manpage's return-codes section 8255382d832SPeter Avalos (Debian #642105). 8265382d832SPeter Avalos + add an example to the manpage showing how to override the form 8275382d832SPeter Avalos widget's keys used for field/button traversal (Debian #642108). 8285382d832SPeter Avalos + modify call to dlg_register_window() in formbox.c so that the editing 8295382d832SPeter Avalos bindings are attached to the form sub-window rather than the 8305382d832SPeter Avalos top-level dialog window. Also change the name by which the editing 8315382d832SPeter Avalos bindings are bound for editbox.c, fselect.c and inputbox.c, so that 8325382d832SPeter Avalos the editing and navigation bindings can be different. 8335382d832SPeter Avalos + correct logic in dlg_lookup_key() so that it matches the widget name 8345382d832SPeter Avalos before using a binding from .dialogrc, allowing the inner/outer 8355382d832SPeter Avalos windows of form and other editing widgets to have different bindings. 8365382d832SPeter Avalos + modify dlg_register_window() to call dlg_dump_window_keys() after 8375382d832SPeter Avalos its updates, via the --trace output, to supplement the manpage 8385382d832SPeter Avalos description of key bindings (Debian #642108). 8395382d832SPeter Avalos + add DLGK_FORM_PREV and DLGK_FORM_NEXT key-bindings to form.c, to 8405382d832SPeter Avalos allow binding a single key to traverse both form-fields and buttons 8415382d832SPeter Avalos (Debian #642108). 8425382d832SPeter Avalos + modify dlg_parse_rc() to check for error return from 8435382d832SPeter Avalos dlg_parse_bindkey(). 8445382d832SPeter Avalos + add function dlg_dump_window_keys(), to help with debugging widgets. 8455382d832SPeter Avalos + add CR, LF, TAB, FF and ESC to table of curses names to help make 8465382d832SPeter Avalos key bindings more readable. 8475382d832SPeter Avalos + update table of dialog key-names so that helpfile and trace are 8485382d832SPeter Avalos dumped properly. 8495382d832SPeter Avalos + correct dlg_dump_keys(), which was showing only the first item in 8505382d832SPeter Avalos the matched binding table. 8515382d832SPeter Avalos + save/restore window current position in dlg_update_mixedgauge(). 8525382d832SPeter Avalos + pass return-code from pause_for_ok() from dlg_progressbox() when 8535382d832SPeter Avalos pauseopt is set, rather than only DLG_OK. 8545382d832SPeter Avalos + call setlocale() in init_dialog() rather than relying on on-demand 8555382d832SPeter Avalos use within inputstr.c, since there are paths in textbox widget which 8565382d832SPeter Avalos do not exercise the latter (report by xDog Walker). 8575382d832SPeter Avalos + fix some places where checks for "\Z" were done without also checking 8585382d832SPeter Avalos dialog_vars.colors (report by Moray Henderson). 8595382d832SPeter Avalos + correct logic for DIALOGOPTS parsing so that the parse happens only 8605382d832SPeter Avalos once unless memory leak checking is enabled (report by xDog Walker). 8615382d832SPeter Avalos + remove an incorrect free() call in dlg_free_gauge() (report by xDog 8625382d832SPeter Avalos Walker). 8635382d832SPeter Avalos + modify dlg_trace_win() to log wide-characters (report by xDog Walker). 8645382d832SPeter Avalos + make traces shorter by skipping repeated ERR's, but showing the 8655382d832SPeter Avalos number skipped (report by xDog Walker). 8665382d832SPeter Avalos + improve description in manpage to distinguish program box and 8675382d832SPeter Avalos progress box from tailboxes (adapted from email by xDog Walker). 8685382d832SPeter Avalos + modify dlg_trace_win() so that it looks for the topmost window in a 8695382d832SPeter Avalos dialog. Because subwindows share space with the top window, tracing 8705382d832SPeter Avalos the latter shows the whole widget (report by xDog Walker). 8715382d832SPeter Avalos + expand tracing so that each window is traced before soliciting input, 8725382d832SPeter Avalos making the ^T feature to print a window on demand partly redundant 8735382d832SPeter Avalos (suggested by xDog Walker). 8745382d832SPeter Avalos + cosmetic change in dialog.h to avoid "*/*" strings from comments next 8755382d832SPeter Avalos to "*" (report by xDog Walker). 8765382d832SPeter Avalos + ensure result from dlg_align_columns() has trailing null on each 8775382d832SPeter Avalos string. Analysis was hindered by libc6's continuance of libc5's 8785382d832SPeter Avalos early-1990s misfeature of clearing the result from malloc, noting 8795382d832SPeter Avalos that libc6's documentation incorrectly claims that it does not do 8805382d832SPeter Avalos this (report by xDog Walker). 8815382d832SPeter Avalos 8825382d832SPeter Avalos2011/07/07 8835382d832SPeter Avalos + modify util.c to work better with old versions of ncurses: 8845382d832SPeter Avalos + suppress use of wchgat() before fix in 20060715 which is needed 8855382d832SPeter Avalos for simple shadow manipulation used here in 2011/06/30 (report 8865382d832SPeter Avalos by xDog Walker). 8875382d832SPeter Avalos + add a null-pointer check in dlg_print_scrolled() 8885382d832SPeter Avalos + fix a regression in dlg_getc() introduced by changes to intercept 8895382d832SPeter Avalos F1 for help-popup (report by xDog Walker). 8905382d832SPeter Avalos 8915382d832SPeter Avalos2011/06/30 8925382d832SPeter Avalos + correct license statement for prgbox.c (Debian #632198). 8935382d832SPeter Avalos + correct layout when "--colors" is used, by discounting characters in 8945382d832SPeter Avalos the escape sequences from the column counts (report by xDog Walker). 8955382d832SPeter Avalos + modify dlg_checklist() so that only one item in the list can 8965382d832SPeter Avalos initially be selected (report by xDog Walker). 8975382d832SPeter Avalos + add/use macro dlg_enter_buttoncode() to improve implementation of 8985382d832SPeter Avalos "--nook" option (report by xDog Walker). 8995382d832SPeter Avalos + add option "--no-nl-expand" to suppress the conversion of "\n" 9005382d832SPeter Avalos strings into newlines (request by xDog Walker). 9015382d832SPeter Avalos + modify LIB_CREATE symbol in makefile.in to include the library 9025382d832SPeter Avalos dependencies such as ncurses. This is needed when dynamically 9035382d832SPeter Avalos loading the library (report/analysis by xDog Walker). 9045382d832SPeter Avalos + modify dlg_exit_label() to suppress the Cancel button, for 9055382d832SPeter Avalos consistency. 9065382d832SPeter Avalos + modify dlg_exit_label() to honor the --nook option, except when there 9075382d832SPeter Avalos is no other button, e.g., the help-button. 9085382d832SPeter Avalos + modify dlg_exit_buttoncode() so that it returns the proper code for 9095382d832SPeter Avalos help-button (report by xDog Walker). 9105382d832SPeter Avalos + correct loop limit when processing "--column-separator" (report by 9115382d832SPeter Avalos xDog Walker). 9125382d832SPeter Avalos + modify handling of "--version" and "--help" to ensure that they are 9135382d832SPeter Avalos processed, and exit before widgets. Separate "--print-version" 9145382d832SPeter Avalos from "--version", allowing its output to be interspersed with 9155382d832SPeter Avalos widget output (report by xDog Walker). 9165382d832SPeter Avalos + correct a few places where "--version" or "--help" options went 9175382d832SPeter Avalos always to stdout rather than allowing redirection with the "--stderr" 9185382d832SPeter Avalos option (report by xDog Walker). 9195382d832SPeter Avalos + improve repainting after erasing a widget and its shadow. 9205382d832SPeter Avalos + add "--hline" and "--hfile" options for compatibility with FreeBSD 9215382d832SPeter Avalos dialog (request by Devin Teske). 9225382d832SPeter Avalos + add dialog version message when opening a trace file (request by 9235382d832SPeter Avalos xDog Walker). 9245382d832SPeter Avalos + show filename of rc-file in traces. 9255382d832SPeter Avalos + add piped-in data for gauge widget to traces. 9265382d832SPeter Avalos + add entrypoints to gauge widget, for allocating, updating and freeing 9275382d832SPeter Avalos the widget (adapted from patch by Stephen Hurd). 9285382d832SPeter Avalos + fix a reference to freed memory in the gauge widget. 9295382d832SPeter Avalos + fix --no-mouse option by actually closing the mouse (report by 9305382d832SPeter Avalos xDog Walker). 9315382d832SPeter Avalos + add sk.po from 9325382d832SPeter Avalos http://translationproject.org/latest/dialog/ 9335382d832SPeter Avalos + limit Solaris xpg4 portability fix for redefinition of ERR to cover 9345382d832SPeter Avalos the specific value found in <sys/regset.h>, in case an application 9355382d832SPeter Avalos includes dialog.h after curses.h (FreeBSD #156601, report by Jaakko 9365382d832SPeter Avalos Heinonen, Stephen Hurd). 9375382d832SPeter Avalos + updated configure macros: 9385382d832SPeter Avalos + CF_CURSES_CPPFLAGS, 9395382d832SPeter Avalos + CF_CURSES_LIBS, make checks for special libraries on hpux10 and 9405382d832SPeter Avalos sunos4 optional 9415382d832SPeter Avalos + CF_CURSES_FUNCS, workaround for bug in gcc 4.2.1 (FreeBSD 8.1) 9425382d832SPeter Avalos which caused part of test program to be omitted, i.e., when it saw 9435382d832SPeter Avalos two return-statements in a row it omitted the _first_ one. Also 9445382d832SPeter Avalos add expression to pointer check to help FreeBSD's linker decide it 9455382d832SPeter Avalos should be validated. Just an assignment was not enough. Also, add 9465382d832SPeter Avalos check for unctrl.h 9475382d832SPeter Avalos + CF_CURSES_HEADER, change order for curses.h / ncurses.h pairs to 9485382d832SPeter Avalos put ncurses.h first, which will tend to provide the same #define's 9495382d832SPeter Avalos as in CF_NCURSES_HEADER (report by Dennis Preiser). 9505382d832SPeter Avalos + CF_CURSES_TERM_H, modify to avoid spurious check for 9515382d832SPeter Avalos <curses.hterm.h> if there is no ncurses version. Look for 9525382d832SPeter Avalos ncurses's term.h anyway, to work around breakage by packagers who 9535382d832SPeter Avalos separate ncurses' header files. 9545382d832SPeter Avalos + CF_DISABLE_RPATH_HACK, fix garbled message 9555382d832SPeter Avalos + CF_LD_RPATH_OPT, add mirbsd 9565382d832SPeter Avalos + CF_MAKEFLAGS, filter out GNU make's entering/leaving messages. 9575382d832SPeter Avalos This only appeared when using the macro in a dpkg script, though it 9585382d832SPeter Avalos should have in other cases. 9595382d832SPeter Avalos + CF_RPATH_HACK, add a check for libraries not found, e.g., from 9605382d832SPeter Avalos suppressed functionality of gcc in linking from /usr/local/lib, and 9615382d832SPeter Avalos add a -L option to help work around this. 9625382d832SPeter Avalos + CF_XOPEN_SOURCE, workaround for cygwin to get ncurses' configure 9635382d832SPeter Avalos script to define _XOPEN_SOURCE_EXTENDED (cygwin's features.h 9645382d832SPeter Avalos doesn't do anything, so it needs a crutch). 9655382d832SPeter Avalos + update config.guess, config.sub 9665382d832SPeter Avalos 9675382d832SPeter Avalos2011/03/02 9685382d832SPeter Avalos + add --prgbox and --programbox (adapted from patch by David Boyd). 9695382d832SPeter Avalos + add sl.po from 9705382d832SPeter Avalos http://translationproject.org/latest/dialog/ 9715382d832SPeter Avalos + fix timeouts from 2011/01/18, which were being interpreted as 9725382d832SPeter Avalos milliseconds rather than seconds (report by Luis Moreira). 9735382d832SPeter Avalos 9745382d832SPeter Avalos2011/01/18 9755382d832SPeter Avalos + fix inconsistency in return-codes for textbox when help-button is 9765382d832SPeter Avalos used by making dlg_exit_buttoncode() a wrapper for 9775382d832SPeter Avalos dlg_ok_buttoncode(). 9785382d832SPeter Avalos + modify pause widget to use dlg_ok_buttoncode(), so help-button works. 9795382d832SPeter Avalos + correct two infobox sample scripts, which did not pass extra 9805382d832SPeter Avalos command-line parameters due to quoting problems. 9815382d832SPeter Avalos + add a limit-check to the timebox widget (patch by Garrett Cooper). 9825382d832SPeter Avalos + modify --trace option to also trace the command-line parameters. 9835382d832SPeter Avalos + account for combining characters when wrapping text (Debian #570634). 9845382d832SPeter Avalos + correct handling of SIGWINCH in gauge widget (Debian #305705). 9855382d832SPeter Avalos + add gauge_color, to make guage's progress-bar distinct from 9865382d832SPeter Avalos title_color (request by Dominic Derdau). 9875382d832SPeter Avalos + update fi.po from 9885382d832SPeter Avalos http://translationproject.org/latest/dialog/ 9895382d832SPeter Avalos as well as resync line-numbers in the other po-files. 9905382d832SPeter Avalos + modify configure script and dialog program to build with NetBSD's 9915382d832SPeter Avalos wide-character curses functions, including workarounds for its 9925382d832SPeter Avalos incorrect WACS_xxx definitions. Some of the UTF-8 examples work. 9935382d832SPeter Avalos + add back-tab for traversal of tailboxbg widgets, for symmetry with 9945382d832SPeter Avalos tab-traversal. 9955382d832SPeter Avalos + reduce flicker in tailboxbg by checking if the input file size has 9965382d832SPeter Avalos changed. 9975382d832SPeter Avalos + modify internals of callbacks to avoid blocking reads of their 9985382d832SPeter Avalos associated files by keyboard input. 9995382d832SPeter Avalos + add command-line option --no-mouse, to suppress use of mouse. 10005382d832SPeter Avalos + add configure option --enable-header-subdir to allow the header files 10015382d832SPeter Avalos to be installed into a subdirectory named for the package. 10025382d832SPeter Avalos + modify dlg_restore_vars() to retain the updated values of 10035382d832SPeter Avalos input_result and input_length, eliminating the need for a caller to 10045382d832SPeter Avalos provide their own user buffer (prompted by report by Thiago Bimbatti 10055382d832SPeter Avalos Felicio). 10065382d832SPeter Avalos + add a null-pointer check in show_result() for 10075382d832SPeter Avalos dialog_vars.input_result, and ensure it is set to null after freeing 10085382d832SPeter Avalos (prompted by report by Thiago Bimbatti Felicio). 10095382d832SPeter Avalos + change order of -I options in CPPFLAGS (report by Michel Feldheim) 10105382d832SPeter Avalos + modify pause-widget so that it no longer exits when an unrecognized 10115382d832SPeter Avalos key is pressed (patch by Creidieki M Crouch). 10125382d832SPeter Avalos + add --with-package option to configure script to allow renaming 10135382d832SPeter Avalos of the dialog program and library, to support the package scripts. 10145382d832SPeter Avalos + add Debian and RPM package scripts for test-builds. 10155382d832SPeter Avalos + several improvements to configure script: 10165382d832SPeter Avalos + quote params of ifelse() 10175382d832SPeter Avalos + change obsolete ${name-value} to standard ${name:-value} 10185382d832SPeter Avalos + use new macros CF_ADD_LIB/CF_ADD_LIBS to enforce consistency. 10195382d832SPeter Avalos + AM_GNU_GETTEXT, drop $MKINSTALLDIRS, use "mkdir -p" consistently. 10205382d832SPeter Avalos + CF_ADD_SUBDIR_PATH, workaround - if $prefix was not mkdir'd yet, no 10215382d832SPeter Avalos directories were added. 10225382d832SPeter Avalos + CF_BUNDLED_INTL, add --with-textdomain option, to use with lynx-dev 10235382d832SPeter Avalos package 10245382d832SPeter Avalos + CF_FIND_LINKAGE, simplify save/restore of $LIBS 10255382d832SPeter Avalos + CF_GCC_WARNINGS, fix for Mac OS X (compiler makes conftest.dSYM 10265382d832SPeter Avalos directory) 10275382d832SPeter Avalos + CF_HEADER_PATH, don't search for variations of everything in the 10285382d832SPeter Avalos current include-path 10295382d832SPeter Avalos + CF_WITH_CURSES_DIR, move the calls to CF_ADD_INCDIR and 10305382d832SPeter Avalos CF_ADD_LIBDIR for the curses-directory here, from 10315382d832SPeter Avalos CF_NCURSES_CPPFLAGS and CF_NCURSES_LDFLAGS, so it will work even 10325382d832SPeter Avalos with the default checking, e.g., no --with-ncurses, etc. 10335382d832SPeter Avalos + update config.guess, config.sub 10345382d832SPeter Avalos 10355382d832SPeter Avalos2010/04/28 10365382d832SPeter Avalos + several improvements to configure script: 10375382d832SPeter Avalos + modify CF_CURSES_TERM_H to handle cases such as cygwin where 10385382d832SPeter Avalos packager has installed curses.h and term.h in different 10395382d832SPeter Avalos directories, e.g., to wedge in a termcap library. 10405382d832SPeter Avalos + modify CF_XOPEN_SOURCE, adding special case for OpenSolaris 10415382d832SPeter Avalos + modify CF_MAKE_TAGS to add check for exctags and exetags, prefer to 10425382d832SPeter Avalos ctags and etags to work around pkgsrc (NetBSD) renaming. 10435382d832SPeter Avalos + correct CF_FIND_LINKAGE, setting cache variable for library_file in 10445382d832SPeter Avalos the special case where no directory search is made. 10455382d832SPeter Avalos + improve CF_GCC_VERSION, suppress stderr for c89 alias of gcc. 10465382d832SPeter Avalos + improve CF_GCC_WARNINGS, moving -W and -Wall into the list to 10475382d832SPeter Avalos check, since c89 alias for gcc complains about these options. 10485382d832SPeter Avalos + modify CF_HEADER_PATH, to not search for variations of everything 10495382d832SPeter Avalos in the current include-path 10505382d832SPeter Avalos + use "mkdir -p", remove mkdirs.sh 10515382d832SPeter Avalos + use CF_CURSES_HEADER to fill in possible subdirectory used for 10525382d832SPeter Avalos ncurses header filename. 10535382d832SPeter Avalos + modify CF_XOPEN_CURSES to work around current ncurse header loss of 10545382d832SPeter Avalos predefinition of _XOPEN_SOURCE_EXTENDED 10555382d832SPeter Avalos + add "--disable-rpath-hack" option, along with scripting to add 10565382d832SPeter Avalos rpath option to libraries found in unusual places. 10575382d832SPeter Avalos + modify pause widget to autosize like gauge, and to omit the area for 10585382d832SPeter Avalos buttons when none are displayed. 10595382d832SPeter Avalos + fix an infinite loop in dlg_button_layout() if there are no buttons 10605382d832SPeter Avalos to display (Debian #579390). 10615382d832SPeter Avalos + add makefile rules for generating html, etc., documentation from 10625382d832SPeter Avalos nroff. 1063*a8e38dc0SAntonio Huete Jimenez > patches by Samuel Martín Moro 10645382d832SPeter Avalos + reset errors in tailbox before reading new character. 10655382d832SPeter Avalos + modify dlg_draw_scrollbar(), omitting hiding percentages in boxes 10665382d832SPeter Avalos when no arrows or scrollbar are needed. 10675382d832SPeter Avalos + correct value of row for scrollbars in formbox. 10685382d832SPeter Avalos + update es.po from 10695382d832SPeter Avalos http://translationproject.org/latest/dialog/ 10705382d832SPeter Avalos 10715382d832SPeter Avalos2010/01/19 10725382d832SPeter Avalos + split up binding tables in inputbox and similar widgets to avoid 10735382d832SPeter Avalos conflict between cursor-key use for input-string versus navigation 10745382d832SPeter Avalos (report by slakmagik). 10755382d832SPeter Avalos + if strftime() is available, support --time-format option for timebox 10765382d832SPeter Avalos widget. 10775382d832SPeter Avalos + if strftime() is available, support --date-format option for calendar 10785382d832SPeter Avalos widget (request by Walter Harms). 10795382d832SPeter Avalos + build-fixes for linking to intl library in /usr/local 10805382d832SPeter Avalos + add --scrollbar option, use in most widgets to show a scrollbar on 10815382d832SPeter Avalos the right margin of the data. That is cosmetic, does not respond to 10825382d832SPeter Avalos the mouse. 10835382d832SPeter Avalos + reuse functions from msgbox to allow prompt for yesno box to be 10845382d832SPeter Avalos scrolled in a too-small window. 10855382d832SPeter Avalos + correct mapping of button-codes with --nook option (report by Lebedev 10865382d832SPeter Avalos Vadim). 10875382d832SPeter Avalos + cleanup sample scripts using new utility scripts setup-* and report-*, 10885382d832SPeter Avalos and allow command-line parameters to be added, for ad hoc testing. 10895382d832SPeter Avalos + correct change to tailbox widget from 2009/02/22 using 10905382d832SPeter Avalos dlg_button_layout(), which broke that widget. 10915382d832SPeter Avalos + document some of the portability caveats. 10925382d832SPeter Avalos + modify gauge widget to service callbacks (prompted by patch and 10935382d832SPeter Avalos comments by Frank Sorenson). 10945382d832SPeter Avalos + modify editbox to allow its input buffer to be larger than MAX_LEN 10955382d832SPeter Avalos unless bounded by the --max-input option, and add limit-checks for 10965382d832SPeter Avalos the buffer (report by slakmagik). 10975382d832SPeter Avalos + improve manpage description of --checklist (report by Isaac Good). 10985382d832SPeter Avalos + several improvements to configure script macros: CF_ADD_CFLAGS 10995382d832SPeter Avalos CF_CURSES_FUNCS CF_DISABLE_ECHO CF_GCC_ATTRIBUTES CF_MATH_LIB 11005382d832SPeter Avalos CF_POSIX_C_SOURCE CF_REMOVE_DEFINE CF_WITH_LIBTOOL CF_XOPEN_SOURCE 11015382d832SPeter Avalos + add is.po, lv.po, sw.po from 11025382d832SPeter Avalos http://translationproject.org/latest/dialog/ 11035382d832SPeter Avalos + update de.po, id.po, pl.po, pt_BR.po, vi.po from 11045382d832SPeter Avalos http://translationproject.org/latest/dialog/ 11055382d832SPeter Avalos 11065382d832SPeter Avalos2009/02/22 11075382d832SPeter Avalos + do not display top-arrows for scrolling if they would overwrite the 11085382d832SPeter Avalos title (report by slakmagik) 11095382d832SPeter Avalos + consistently use dlg_button_layout() when autosizing widgets (report 11105382d832SPeter Avalos by slakmagik). 11115382d832SPeter Avalos + add "-" and "+" bindings to timebox widget. 11125382d832SPeter Avalos + add "-" and "+" bindings to calendar widget (OpenSolaris #6739031). 11135382d832SPeter Avalos + review/fix other widgets to ensure that they exit on error, e.g., 11145382d832SPeter Avalos editbox.c 11155382d832SPeter Avalos + modify check in dlg_getc() to treat closure of either stdin or stdout 11165382d832SPeter Avalos as an error, rather than both. This is more stringent than the check 11175382d832SPeter Avalos added in 2007/07/04. 11185382d832SPeter Avalos + modify dlg_result_key() to map curses ERR to dialog's error exit 11195382d832SPeter Avalos (adapted from patch by Domagoj Pensa). 11205382d832SPeter Avalos + updated several configure script macros: 11215382d832SPeter Avalos + consistently append, rather then prepend, to $CFLAGS 11225382d832SPeter Avalos + add cases for AIX 6, mint, and dragonfly to CF_XOPEN_SOURCE 11235382d832SPeter Avalos + use $PATH_SEPARATOR rather than $PATHSEP 11245382d832SPeter Avalos + improve CF_FIND_LINKAGE, use in checks for more libraries, e.g., 11255382d832SPeter Avalos libutf8 and libiconv. 11265382d832SPeter Avalos + update da.po, ru.po from 11275382d832SPeter Avalos http://translationproject.org/latest/dialog/ 11285382d832SPeter Avalos + update config.guess, config.sub 11295382d832SPeter Avalos 11305382d832SPeter Avalos2008/08/19 11315382d832SPeter Avalos + amend changes to quoting; by default, the checklist widget quotes its 11325382d832SPeter Avalos output except when --separate-output is used (Debian #495600). 11335382d832SPeter Avalos + add eo.po from 11345382d832SPeter Avalos http://translationproject.org/latest/dialog/ 11355382d832SPeter Avalos 11365382d832SPeter Avalos2008/07/27 11375382d832SPeter Avalos + add pointer-check when closing piped input (cf: 2007/03/25) 11385382d832SPeter Avalos + use here-documents rather than echo, when passing backslashes in 11395382d832SPeter Avalos strings, to accommodate the Debian shell "dash" (Debian #489563). 11405382d832SPeter Avalos + recode several ".po" files to UTF-8 for consistency. 11415382d832SPeter Avalos + change --separator to be an alias for --output-separator, for 11425382d832SPeter Avalos compatibility with Xdialog. 11435382d832SPeter Avalos + add --output-separator option to allow scripts to change the output 11445382d832SPeter Avalos separator from a newline (for --separate-output) or a space. This 11455382d832SPeter Avalos applies to other widgets such as forms and editboxes which normally 11465382d832SPeter Avalos use a newline. 11475382d832SPeter Avalos + add --column-separator option, to tell where column-aligned data for 11485382d832SPeter Avalos radio/checkboxes or menus should be split into columns (request by 11495382d832SPeter Avalos Ben Dibbens). 11505382d832SPeter Avalos + add id.po, ku.po, lt.po, nb.po and update ca.po, fr.po, gl.po, ja.po, 11515382d832SPeter Avalos th.po from 11525382d832SPeter Avalos http://translationproject.org/latest/dialog/ 11535382d832SPeter Avalos + add "--quoted" option, to quote values returned by formbox, etc. 11545382d832SPeter Avalos + change names of EX/ES macros in dialog.1 to work around name- 11555382d832SPeter Avalos pollution caused by changes in Debian #470729. 11565382d832SPeter Avalos 11575382d832SPeter Avalos2008/03/16 11585382d832SPeter Avalos + modify dlg_mouse_wgetch() to loop only on errors that it detects, 11595382d832SPeter Avalos rather than on errors forwarded from dlg_getc(), in case those are 11605382d832SPeter Avalos due to a disconnected terminal (report by Anatoli Sakhnik). 11615382d832SPeter Avalos + allow "default" color in dialogrc file (request by Dashing). 11625382d832SPeter Avalos + fix an indexing error in formbox (Debian #469190, report by Dmitry 11635382d832SPeter Avalos Gomerman, patch by Vladimir Mezentsev). 11645382d832SPeter Avalos + add bindings for CTL/N, CTL/P to checklist, fselect and menubox 11655382d832SPeter Avalos widgets (prompted by discussion with John Gatewood Ham). 11665382d832SPeter Avalos + add be@latin.po, th.po and update zh_TW.po from 11675382d832SPeter Avalos http://translationproject.org/latest/dialog/ 1168*a8e38dc0SAntonio Huete Jimenez > patches by Peter Åstrand: 11695382d832SPeter Avalos + modify dlg_auto_sizefile() to ensure the computed height and width 11705382d832SPeter Avalos do not extend beyond the screen size. 11715382d832SPeter Avalos + use unctrl() to make inputstr.c work with Solaris curses. 11725382d832SPeter Avalos > patches by Yura Kalinichenko: 11735382d832SPeter Avalos + extend pause widget to use ok/cancel buttons (the former giving the 11745382d832SPeter Avalos same result as a timeout), rather than an exit-button. 11755382d832SPeter Avalos + fix initialization parameter of inputbox for multibyte characters. 11765382d832SPeter Avalos 11775382d832SPeter Avalos2007/10/28 11785382d832SPeter Avalos + improve layout of checklist.c, menubox.c, ensuring that the list fits 11795382d832SPeter Avalos within the available space (report by Gordon Schumacher). 11805382d832SPeter Avalos + undo removal of redundant chunk from checklist.c in 2007/02/27, 11815382d832SPeter Avalos since some scripts depend on this (Debian #443077). 11825382d832SPeter Avalos + update nl.po from 11835382d832SPeter Avalos http://translationproject.org/latest/dialog/ 11845382d832SPeter Avalos 11855382d832SPeter Avalos2007/09/30 11865382d832SPeter Avalos + correct cursor position in editbox after deleting past left margin 11875382d832SPeter Avalos (report by Joe McDonagh). 11885382d832SPeter Avalos + add "--no-ok" option (patch by Klaus Knopper). 11895382d832SPeter Avalos + modify "--file" option to allow it to read from sources other than 11905382d832SPeter Avalos a regular file (patch by Pieter van Beek). 11915382d832SPeter Avalos + improved hi.po (Hindi) (from Klaus Knopper). 11925382d832SPeter Avalos + fix masking of attributes in dlg_draw_shadow() which lost 11935382d832SPeter Avalos line-drawing bit (report by David Everly). 11945382d832SPeter Avalos + fix editbox widget to handle zero-length files (report by Joe 11955382d832SPeter Avalos McDonagh). 11965382d832SPeter Avalos + update "po" files eu.po ga.po it.po ms.po sv.po vi.po wa.po zh_CN.po 11975382d832SPeter Avalos from 11985382d832SPeter Avalos http://translationproject.org/latest/dialog/ 11995382d832SPeter Avalos 12005382d832SPeter Avalos2007/07/04 12015382d832SPeter Avalos + revise the resizable shadows so textbox's search dialog has text 12025382d832SPeter Avalos visible in the shadow again. 12035382d832SPeter Avalos + improve the prefixing of autoconf-related symbols in the installed 12045382d832SPeter Avalos header files, taking into account symbols which are not mentioned in 12055382d832SPeter Avalos dlg_config.h 12065382d832SPeter Avalos + add a check when ERR returned from wgetch() to ensure that the 12075382d832SPeter Avalos input/output streams are still valid. If that happens, force 12085382d832SPeter Avalos ESC to be returned, quitting dialog (report by Reiner Huober). 12095382d832SPeter Avalos + add extern "C" declarations to dlg_keys.h so the corresponding 12105382d832SPeter Avalos function declarations are exported to C++ as C symbols. 12115382d832SPeter Avalos + update config.guess, config.sub 12125382d832SPeter Avalos 12135382d832SPeter Avalos2007/06/04 12145382d832SPeter Avalos + fix a memory leak in editbox.c 12155382d832SPeter Avalos + revise change from 2007/02/27 which moved the logic for trimming 12165382d832SPeter Avalos option text out of the loop because that moved it before 12175382d832SPeter Avalos initialization of the "--trim" option. Put it back in the loop, but 12185382d832SPeter Avalos limit the tokens which are trimmed to cover only those for the 12195382d832SPeter Avalos current widget. Also ensure that all tokens for a widget are 12205382d832SPeter Avalos trimmed, rather than only the first, which is usually text (report by 12215382d832SPeter Avalos Lai Zit Seng). 12225382d832SPeter Avalos + add _FILE_OFFSET_BITS definition in CF_LARGEFILE configure macro. 12235382d832SPeter Avalos 12245382d832SPeter Avalos2007/05/28 12255382d832SPeter Avalos + revise changes needed to make textbox's searchbox handle ncurses 12265382d832SPeter Avalos resizing events, e.g., by handling the ERR in that code rather than 12275382d832SPeter Avalos in dlg_getc() (Debian #423732). 12285382d832SPeter Avalos 12295382d832SPeter Avalos2007/05/14 12305382d832SPeter Avalos + supply a repaint_text() call in tailbox.c which was bypassed because 12315382d832SPeter Avalos dlg_getc() now retries on ERR (Debian #423732, cf: 2007/02/27). 12325382d832SPeter Avalos + modify dlg_getc() to fix regression in 2007/02/27 for use of 12335382d832SPeter Avalos timeouts, broken by fixes to allow resizing of textbox (patch by 12345382d832SPeter Avalos Arnaud Fontaine, Debian #418905). 12355382d832SPeter Avalos + modify dlg_getc() to fix regression in use of TAB for traversal of 12365382d832SPeter Avalos tailboxbg widgets due to changes for user-definable key bindings 12375382d832SPeter Avalos (Debian #418917, cf: 2005/12/07). 12385382d832SPeter Avalos 12395382d832SPeter Avalos2007/04/09 12405382d832SPeter Avalos + add case in dlg_getc() to handle tab for traversing between widgets 12415382d832SPeter Avalos as in the samples/tailboxbg1 script. Normally the key binding 12425382d832SPeter Avalos overrides, except for the special case where multiple widgets are 12435382d832SPeter Avalos available. 12445382d832SPeter Avalos + add configure --with-libtool-opts, which passes its value to the 12455382d832SPeter Avalos library creation and linkage passes, e.g., 12465382d832SPeter Avalos --with-libtool-opts=-static 12475382d832SPeter Avalos to force the result to be static libraries (prompted by a related 12485382d832SPeter Avalos request by Santiago Vila). 12495382d832SPeter Avalos > several fixes based on Coverity scan: 12505382d832SPeter Avalos + fix memory leak in timebox, calendar widgets if the widget cannot 12515382d832SPeter Avalos be created. 12525382d832SPeter Avalos + fix memory leak in dlg_key.c if a user binding's storage cannot 12535382d832SPeter Avalos be allocated. 12545382d832SPeter Avalos + fix improperly delinked entry in dlg_del_window(). 12555382d832SPeter Avalos 12565382d832SPeter Avalos2007/03/25 12575382d832SPeter Avalos + improve mkdirs.sh to ignore error from mkdir if the target directory 12585382d832SPeter Avalos happens to already exist (suggested by Harald van Dijk). 12595382d832SPeter Avalos + amend documentation for --gauge to reflect longstanding quirk which 12605382d832SPeter Avalos allows it to read percentage from the first line after an "XXX" 12615382d832SPeter Avalos (Debian #415596). 12625382d832SPeter Avalos + fix makefile dependency so "configure && make install-lib" works. 12635382d832SPeter Avalos + fix resizing of msgbox; the message was not repainted (Debian 12645382d832SPeter Avalos #415022, patch by Brian Rolfe). 12655382d832SPeter Avalos + fix typo in makefile LIB_OBJECT symbol from 2007/02/27 changes. 12665382d832SPeter Avalos + improve CF_MBSTATE_T by including stdio.h, needed on Tru64 to make 12675382d832SPeter Avalos the test-compile work. 12685382d832SPeter Avalos + change makefile to install dialog.3 as part of install-lib rather 12695382d832SPeter Avalos than install-man (report by Thomas Klausner). 12705382d832SPeter Avalos + use $(INSTALL_SCRIPT) for installing dialog-config (report by 12715382d832SPeter Avalos Santiago Vila). 12725382d832SPeter Avalos 12735382d832SPeter Avalos2007/02/27 - release 1.1 12745382d832SPeter Avalos + mark as "dialog 1.1" 12755382d832SPeter Avalos + add dialog-config script, which provides applications with compile- 12765382d832SPeter Avalos and link-information for using the dialog library. 12775382d832SPeter Avalos + move calls to dlg_trim_string() out of loop in dialog.c, so each 12785382d832SPeter Avalos string is trimmed once (report by Ivanov Makcim). 12795382d832SPeter Avalos + modify textbox.c to allow resizing while the search box is presented. 12805382d832SPeter Avalos This relies on bug-fix in ncurses 5.6 20070224. 12815382d832SPeter Avalos + use dgettext() rather than gettext() to allow libdialog to use the 12825382d832SPeter Avalos messages installed for dialog (patch by Vajna Miklos). 12835382d832SPeter Avalos + modify inputbox to position the cursor initially at the end of any 12845382d832SPeter Avalos initial-text (request by Klaus Knopper). 12855382d832SPeter Avalos + add configure --with-valgrind for testing. 12865382d832SPeter Avalos + add --trace option, for debugging. 12875382d832SPeter Avalos + add --ascii-lines and --no-lines options to control the way the 12885382d832SPeter Avalos line-drawing characters are rendered (request by Klaus Knopper). 12895382d832SPeter Avalos + add --keep-tite option, to override suppression of smcup/rmcup 12905382d832SPeter Avalos (termcap ti/te) strings which would switch to xterm's alternate 12915382d832SPeter Avalos screen (Debian #380665). 12925382d832SPeter Avalos + modify fselect/dselect to use space-character as a completion 12935382d832SPeter Avalos operator like tab in shells (patch by Yoram Bar Haim). 12945382d832SPeter Avalos + remove a redundant chunk from checklist.c which reported status a 12955382d832SPeter Avalos second time if the help-button was pressed but no item-help option 12965382d832SPeter Avalos was in effect (Andre C Barros). 12975382d832SPeter Avalos + fix return-status from "dialog --pause" (Debian #409254). 12985382d832SPeter Avalos + add --mixedform and --mixedgauge dialogs based on patch from 12995382d832SPeter Avalos Kiran Cherupally. 13005382d832SPeter Avalos + add some notes on compatibility to the manpage. 13015382d832SPeter Avalos + add editbox dialog (compatible with Xdialog, Debian #368478). 13025382d832SPeter Avalos + add dselect dialog (compatible with Xdialog). 13035382d832SPeter Avalos + remove an incorrect initialization of .text_flen from 2005/12/07 13045382d832SPeter Avalos changes, which made all fields in a form editable (Debian #404045). 13055382d832SPeter Avalos + report error and exit if a filename given for the --file option 13065382d832SPeter Avalos cannot be opened (report by "Dog Walker"). 13075382d832SPeter Avalos + make --program-prefix, etc., work in configure script, e.g., to make 13085382d832SPeter Avalos program install as "cdialog". This does not alter the library name. 13095382d832SPeter Avalos + add install-bin, install-man (and uninstall) rules to makefile. 13105382d832SPeter Avalos + updates for configure script macros (originally vile, lynx, xterm): 13115382d832SPeter Avalos AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, CF_CURSES_CPPFLAGS, 13125382d832SPeter Avalos CF_CURSES_LIBS, CF_INCLUDE_DIRS, CF_LARGEFILE, CF_MAKEFLAGS, 13135382d832SPeter Avalos CF_PATH_SYNTAX, CF_SUBDIR_PATH, CF_SUBST, CF_WITH_DBMALLOC, 13145382d832SPeter Avalos CF_WITH_DMALLOC, CF_WITH_LIBTOOL and CF_XOPEN_SOURCE. 13155382d832SPeter Avalos + update config.guess, config.sub 13165382d832SPeter Avalos > adapted fixes from SuSE package (Werner Fink): 13175382d832SPeter Avalos + add some limit-checks in dlg_draw_shadow(). 13185382d832SPeter Avalos + make shadows resizable, using new dlg_move_window() in msgbox.c 13195382d832SPeter Avalos and yesno.c 13205382d832SPeter Avalos + add dialog_state.input, use this in end_dialog() to decide whether 13215382d832SPeter Avalos to close pipe inputs and call _exit(), or simply call exit(). 13225382d832SPeter Avalos + modify dlg_ctl_size() to check if the reason for failure is because 13235382d832SPeter Avalos shadows were used; retry in that case without shadows. 13245382d832SPeter Avalos + add signal catcher for SIGSEGV. 13255382d832SPeter Avalos 13265382d832SPeter Avalos2006/02/21 13275382d832SPeter Avalos + fix logic in split-out dlg_menu() to separate inputmenu and menu 13285382d832SPeter Avalos handling (report by Auke Kok). 13295382d832SPeter Avalos 13305382d832SPeter Avalos2006/01/26 13315382d832SPeter Avalos + fix fselect.c to compile properly with Intel compiler and largefile 13325382d832SPeter Avalos option. 13335382d832SPeter Avalos + improve configure script checks for curses headers to work around 13345382d832SPeter Avalos breakage in some packages, e.g., cygwin. 13355382d832SPeter Avalos + amend correction to menubox, fixes normal menus (Debian #349969). 13365382d832SPeter Avalos 13375382d832SPeter Avalos2006/01/19 13385382d832SPeter Avalos + completed dialog.3 manpage 13395382d832SPeter Avalos + modify configure script option --with-gauge to cover all flavors of 13405382d832SPeter Avalos the gauge (gauge, pause, progressbox). 13415382d832SPeter Avalos + add progressbox widget, a hybrid of gauge and tailbox (Reznic Valery). 13425382d832SPeter Avalos + fix a comparison in checklist.c to avoid unneeded arrows when the 13435382d832SPeter Avalos list happens to fit in the window (patch by Peter Postma). 13445382d832SPeter Avalos + correct wrapping computation in print_line() from 2005/11/07 changes 13455382d832SPeter Avalos (report by Barry Kauler). 13465382d832SPeter Avalos + update sv.po (comments only). 13475382d832SPeter Avalos http://www.iro.umontreal.ca/translation/maint/dialog/ 13485382d832SPeter Avalos + correct logic that passes the callback for menubox to do inputmenu 13495382d832SPeter Avalos operations from 2005/12/7 changes (report by Reznic Valery). 13505382d832SPeter Avalos 13515382d832SPeter Avalos2006/01/01 13525382d832SPeter Avalos + add a null-pointer check in dlg_register_buttons(), needed for the 13535382d832SPeter Avalos tailboxbg (Debian #345524). 13545382d832SPeter Avalos + fix a few memory leaks reported by valgrind. 13555382d832SPeter Avalos 13565382d832SPeter Avalos2005/12/19 13575382d832SPeter Avalos + correct return-values of new functions dlg_default_listitem() and 13585382d832SPeter Avalos dlg_default_formitem() (Debian #344002). 13595382d832SPeter Avalos + add Swedish translation (Debian #343303, by Daniel Nylander) 13605382d832SPeter Avalos + begin function-summaries in dialog.3 13615382d832SPeter Avalos + update config.guess, config.sub 13625382d832SPeter Avalos 13635382d832SPeter Avalos2005/12/07 13645382d832SPeter Avalos + change license to LGPL. 13655382d832SPeter Avalos + change naming convention in dlg_colors.h to make it easier to read, 13665382d832SPeter Avalos and incidentally remove the last chunk of code preventing relicense. 13675382d832SPeter Avalos + add --passwordform (request by Reznic Valery). 13685382d832SPeter Avalos + modify pause.c, msgbox.c to work with --help-button. 13695382d832SPeter Avalos + modify formbox.c, inputbox.c, textbox.c, yesno.c to work with extra 13705382d832SPeter Avalos button (adapted from Reznic Valery patch). 13715382d832SPeter Avalos + modify dlg_exit_label(), dlg_yes_labels() and dlg_ok_label() to allow 13725382d832SPeter Avalos help-button (prompted by Reznic Valery patch). 13735382d832SPeter Avalos + add zh_CN.po file from 13745382d832SPeter Avalos http://www.iro.umontreal.ca/translation/maint/dialog/ 13755382d832SPeter Avalos + provide alternate interfaces for dialog_checklist(), dialog_menu() 13765382d832SPeter Avalos and dialog_form(): dlg_checklist(), dlg_menu() and dlg_form() 13775382d832SPeter Avalos (discussion with Michael Gebetsroither). 13785382d832SPeter Avalos + add/use dlg_result_key() to allow binding function keys to the 13795382d832SPeter Avalos buttons. 13805382d832SPeter Avalos + implement user-definable key bindings in the rc-file. 13815382d832SPeter Avalos + modify inline cases for KEY_xxx values to use binding tables in new 13825382d832SPeter Avalos module dlg_keys.c 13835382d832SPeter Avalos + add several DIALOG_STATE items to the rc file: aspect, 13845382d832SPeter Avalos separate_widget, tab_len and visit_links 13855382d832SPeter Avalos + add a tab-adjustment to dlg_print_text() to improve solution from 13865382d832SPeter Avalos 2005/10/30, e.g., in the samples/form* scripts. 13875382d832SPeter Avalos + fix an off-by-one which made mouse-selection not work for menu items 13885382d832SPeter Avalos past the first page (GenToo #112024, patch by Harald van Dijk). 13895382d832SPeter Avalos 13905382d832SPeter Avalos2005/11/07 13915382d832SPeter Avalos + extend dlg_add_result() to allow caller to pass a null pointer 13925382d832SPeter Avalos for dialog_vars.input_result (Debian #336986). 13935382d832SPeter Avalos + correct length used for text portion of radio/checkboxes (report by 13945382d832SPeter Avalos Valentin Stoykov). 13955382d832SPeter Avalos + modify msgbox, textbox and center_label() to work properly for 13965382d832SPeter Avalos LANG=bg_BG.utf8 examples by Valentin Stoykov. 13975382d832SPeter Avalos + modify use of freopen() to work with opaque FILE type on DragonFly 13985382d832SPeter Avalos (report by Jeremy C Reed). 13995382d832SPeter Avalos + modify print_line() to compute columns, use that for the call to 14005382d832SPeter Avalos dlg_print_line(). Fix a few places where strlen() was used instead 14015382d832SPeter Avalos of dlg_count_columns() (reports by Valentin Stoykov). 14025382d832SPeter Avalos 14035382d832SPeter Avalos2005/10/30 14045382d832SPeter Avalos + reviewed changes since beginning development in 1999, decided that 14055382d832SPeter Avalos there are no appreciable portions of original code remaining. 14065382d832SPeter Avalos Marked sources to correspond. 14075382d832SPeter Avalos + improve cache performance for inputstr.c using tsearch() rather than 14085382d832SPeter Avalos a linked-list search (Debian #294853). 14095382d832SPeter Avalos + remove a special case for darwin in CF_XOPEN_SOURCE configure macro. 14105382d832SPeter Avalos + add ms.po file from 14115382d832SPeter Avalos http://www.iro.umontreal.ca/translation/maint/dialog/ 14125382d832SPeter Avalos + remove an assignment that caused the cursor to appear initially on a 14135382d832SPeter Avalos form field rather than button (Debian #333506). 14145382d832SPeter Avalos + modify buttons.c to count columns rather than bytes, fixing case 14155382d832SPeter Avalos where buttons were laid out incorrectly (report by Valentin Stoykov). 14165382d832SPeter Avalos + change dlg_print_text() to count columns rather than bytes, fixing 14175382d832SPeter Avalos case where fewer columns were displayed in menu than expected 14185382d832SPeter Avalos (report by Valentin Stoykov). 14195382d832SPeter Avalos 14205382d832SPeter Avalos2005/10/05 14215382d832SPeter Avalos + improve fix for dlg_does_output(), eliminating redundant leading 14225382d832SPeter Avalos separator. 14235382d832SPeter Avalos + fill background color for item-help text (report by Peter Postma). 14245382d832SPeter Avalos + correct interaction between --separate-output and --output-separator 14255382d832SPeter Avalos broken in 2005/09/11 fix for Debian #326918 (Debian #331440). 14265382d832SPeter Avalos + update config.guess, config.sub 14275382d832SPeter Avalos 14285382d832SPeter Avalos2005/09/11 14295382d832SPeter Avalos + undo doubled adjustment for left/right margins when wrapping text 14305382d832SPeter Avalos for msgbox, gauge and pause (report by Xyba). 14315382d832SPeter Avalos + correct position of scrolled text in formbox broken by 2004/12/19 14325382d832SPeter Avalos changes (report by Konrad Jelen). 14335382d832SPeter Avalos + call dlg_does_output() from dlg_add_result(), ensuring that 14345382d832SPeter Avalos separators are used when combining widgets such as formbox (report by 14355382d832SPeter Avalos John Suykerbuyk). 14365382d832SPeter Avalos + fix marker in textbox.c to make it disappear at the top of the file 14375382d832SPeter Avalos (report by Patrick J. Volkerding). 14385382d832SPeter Avalos + fix marker shown in arrows.c for checklists, etc., which was "(+)" 14395382d832SPeter Avalos where it should have been "(-)" (report/patch by Patrick J. 14405382d832SPeter Avalos Volkerding). 14415382d832SPeter Avalos + fix --input-fd (changes in glibc since 2003 made dialog hang on exit 14425382d832SPeter Avalos due to the way dialog updated stdin). 14435382d832SPeter Avalos + restore default value (a tab) for --separator or --separate-widget 14445382d832SPeter Avalos lost in 2003/11/26 changes (Debian #326918). 14455382d832SPeter Avalos + make several widgets handle SIGWINCH (calendar, checklist, formbox, 14465382d832SPeter Avalos fselect, inputbox, menubox, pause, tailbox, textbox, timebox). Only 14475382d832SPeter Avalos msgbox and yesno had been done before. Note that some still have 14485382d832SPeter Avalos fixed geometry requirements, so they cannot be shrunk below a given 14495382d832SPeter Avalos threshold. Also, these changes do not address traversal, e.g., for 14505382d832SPeter Avalos tailboxbg. 14515382d832SPeter Avalos + make gauge widget handle SIGWINCH with ncurses (Debian #305705). 14525382d832SPeter Avalos + add configure option to control whether largefile support is 14535382d832SPeter Avalos compiled-in (Debian #298882). 14545382d832SPeter Avalos + update eu.po (Debian #312622, patch by Piarres Egana). 14555382d832SPeter Avalos + add/update po files from 14565382d832SPeter Avalos http://www.iro.umontreal.ca/translation/maint/dialog/ 14575382d832SPeter Avalos fi.po, rw.po, sr.po, tr.po, zh_TW.po 14585382d832SPeter Avalos + fixes for configure script: 14595382d832SPeter Avalos + improve script for determining gcc version 14605382d832SPeter Avalos + improve checks for Intel compiler and related warning options 14615382d832SPeter Avalos + improve checks for defining _XOPEN_SOURCE (or alternatives) and 14625382d832SPeter Avalos _POSIX_C_SOURCE 14635382d832SPeter Avalos + update config.guess, config.sub 14645382d832SPeter Avalos 14655382d832SPeter Avalos2005/03/06 14665382d832SPeter Avalos + add/update po files from 14675382d832SPeter Avalos http://www.iro.umontreal.ca/translation/maint/dialog/ 14685382d832SPeter Avalos ga.po, it.po 14695382d832SPeter Avalos + revert last change for da.po; it was from an older version (report by 14705382d832SPeter Avalos Morten Brix Pedersen). 14715382d832SPeter Avalos 14725382d832SPeter Avalos2005/02/06 14735382d832SPeter Avalos + modify makefile.in so --disable-echo applies to libtool builds. 14745382d832SPeter Avalos + corrected malloc size used for editable fields in formbox widget to 14755382d832SPeter Avalos match the function which updates the corresponding buffer. 14765382d832SPeter Avalos + modify formbox widget's use of flen to allow negative values to be 14775382d832SPeter Avalos used to limit the length of the displayed field. 14785382d832SPeter Avalos + improve description in manpage of output from formbox widget 14795382d832SPeter Avalos (Debian #292418). 14805382d832SPeter Avalos + modify formbox widget to allow fields with flen==0 to display 14815382d832SPeter Avalos (Debian #292417). 14825382d832SPeter Avalos + improved configure macros CF_POSIX_C_SOURCE and CF_XOPEN_SOURCE, to 14835382d832SPeter Avalos avoid redefinition warnings on cygwin. 14845382d832SPeter Avalos + fix a typo in inputmenu-stdout found via "sh -n" (report by Steve 14855382d832SPeter Avalos Grubb). 14865382d832SPeter Avalos + add/update po files from 14875382d832SPeter Avalos http://www.iro.umontreal.ca/translation/maint/dialog/ 14885382d832SPeter Avalos ca.po, da.po, hu.po, nl.po, rm.po, ro.po, vi.po 14895382d832SPeter Avalos 14905382d832SPeter Avalos2005/01/16 14915382d832SPeter Avalos + add --args option to help with debugging scripts. 14925382d832SPeter Avalos + adapted some new po files from Debian package for whiptail: ar.po, 14935382d832SPeter Avalos bg.po, gl.po, hi.po, hr.po, mg.po, mk.po, ro.po, sq.po and zh_TW.po 14945382d832SPeter Avalos + update da.po (Morten Brix Pedersen). 14955382d832SPeter Avalos + add configure check for Intel 8.0 compiler, to set appropriate 14965382d832SPeter Avalos warning options. 14975382d832SPeter Avalos + update config.guess, config.sub 14985382d832SPeter Avalos 14995382d832SPeter Avalos2004/12/22 15005382d832SPeter Avalos + correct a typo in 2004/12/19 changes which caused width of multibyte 15015382d832SPeter Avalos characters to be incorrectly computed in some locales. 15025382d832SPeter Avalos + modify --version and --help options to write consistently to the 15035382d832SPeter Avalos standard output (report by Santiago Vila). 15045382d832SPeter Avalos + modify tailboxbg by resetting tty modes at the point where it forks a 15055382d832SPeter Avalos process to update the screen, rather than waiting until that process 15065382d832SPeter Avalos exits. This improves user feedback by making it apparent that dialog 15075382d832SPeter Avalos is no longer processing input after that point (Redhat #142538). 15085382d832SPeter Avalos + minor updates to some .po files using Babel Fish, comparing with lynx. 15095382d832SPeter Avalos + update es.po (Santiago Vila). 15105382d832SPeter Avalos + work around bug in NetBSD 1.6 curses which seems to be confused by 15115382d832SPeter Avalos reusing color pairs with different video attributes. The problem 15125382d832SPeter Avalos does not appear in NetBSD 2.0 curses (but its headers do not provide 15135382d832SPeter Avalos version info, so color-caching is not available for that 15145382d832SPeter Avalos configuration). 15155382d832SPeter Avalos + modify pause and gauge widgets to ensure that reverse-video progress 15165382d832SPeter Avalos bar is visible when the background is reversed, e.g., using the 15175382d832SPeter Avalos default non-color attributes. 15185382d832SPeter Avalos + use chtype rather than attr_t, to build with old Solaris curses, 15195382d832SPeter Avalos used in save/restore operation from 2004/09/20. 15205382d832SPeter Avalos 15215382d832SPeter Avalos2004/12/19 15225382d832SPeter Avalos + add pause-widget (patch by Yura Kalinichenko). 15235382d832SPeter Avalos + modify exit-code returned on selecting the "Help"-button when the 15245382d832SPeter Avalos --item-help option is given. Previously this returned the same code 15255382d832SPeter Avalos as "OK", since it combines output for "OK" with the help status. It 15265382d832SPeter Avalos now returns the help-code, but this can be overridden by setting the 15275382d832SPeter Avalos environment variable $DIALOG_ITEM_HELP (reports by Erika Pacholleck 15285382d832SPeter Avalos and Sebastian Muesch). 15295382d832SPeter Avalos + modify formbox widget so input-length is not limited to field-length 15305382d832SPeter Avalos (report by David Liebermann). 15315382d832SPeter Avalos + localize the label on the search box for textbox widget (report by 15325382d832SPeter Avalos Erika Pacholleck). 15335382d832SPeter Avalos + correct usage message detail for fselect, which listed an extra 15345382d832SPeter Avalos parameter (Debian #284008). 15355382d832SPeter Avalos + add include for <sys/select.h> in ui_getc.c to build with QNX 4.25 15365382d832SPeter Avalos using Watcom 10.6 (patch by Len Meakin). 15375382d832SPeter Avalos + modify behavior when no locale (or POSIX locale) is set to allow 15385382d832SPeter Avalos legacy interpretation of Latin-1 character set (Debian #284795). 15395382d832SPeter Avalos 15405382d832SPeter Avalos2004/11/18 15415382d832SPeter Avalos + correct computation of column width for menubox/checkbox tags, for 15425382d832SPeter Avalos multicolumn characters, e.g., the menubox-utf8 example. 15435382d832SPeter Avalos + correct calls to wbkgdset(), which set the background attribute but 15445382d832SPeter Avalos not the corresponding character (ncurses uses blank if none is given). 15455382d832SPeter Avalos + improve configure script check for _XOPEN_SOURCE and _POSIX_C_SOURCE. 15465382d832SPeter Avalos + improved limit-computation in show_message() to allow for scrolling 15475382d832SPeter Avalos very long messages. 15485382d832SPeter Avalos + adjust scrolling logic in msgbox to account for the one-line offset 15495382d832SPeter Avalos used by the logic which wraps text in a box, thus avoiding leaving 15505382d832SPeter Avalos an extra blank line (report by Maxim Sobolev). 15515382d832SPeter Avalos 15525382d832SPeter Avalos2004/09/20 15535382d832SPeter Avalos + add samples/whiptail.rc 15545382d832SPeter Avalos + add samples/dialog.py (noting that a later version of this exists 15555382d832SPeter Avalos as pythondialog, but this is relatively self-contained). Modified 15565382d832SPeter Avalos the script to accept the $DIALOG environment variable like the other 15575382d832SPeter Avalos sample scripts, to specify the path of the program to use. 15585382d832SPeter Avalos + modify the install rule for header-files so the autoconf names in 15595382d832SPeter Avalos dlg_config.h (and corresponding usage in dialog.h, etc), are altered 15605382d832SPeter Avalos from "HAVE_xxx" to "DLG_HAVE_xxx", etc. 15615382d832SPeter Avalos + add a check for getenv("HOME") in rc.c 15625382d832SPeter Avalos + add a call to end_dialog() in signal_handler for tailboxbg (from 15635382d832SPeter Avalos patch by Werner Fink). 15645382d832SPeter Avalos + correct initialization in checklist and radiobox for --default-item, 15655382d832SPeter Avalos scrolling as needed. 15665382d832SPeter Avalos + modify --visit-items option so that it puts the cursor initially on 15675382d832SPeter Avalos the list (in menubox, checklist and radiobox), accepts abbreviations 15685382d832SPeter Avalos for the buttons when the cursor is on the button-row, and otherwise 15695382d832SPeter Avalos (when --visit-items is given) abbreviations apply only to the list 15705382d832SPeter Avalos (report by Erika Pacholleck). 15715382d832SPeter Avalos + modify a few widgets (inputbox, textbox, yesno) to beep on unexpected 15725382d832SPeter Avalos input. 15735382d832SPeter Avalos + modify some msgbox widget to accept abbreviations of its button 15745382d832SPeter Avalos label, for consistency with other widgets (request by Erika 15755382d832SPeter Avalos Pacholleck). 15765382d832SPeter Avalos + corrected logic of dlg_char_to_button(), making it check only the 15775382d832SPeter Avalos first uppercase letter in each button label rather than all uppercase 15785382d832SPeter Avalos letters (report by Erika Pacholleck, cf: 2003/09/10). 15795382d832SPeter Avalos + improved description of --clear and --keep-window options (adapted 15805382d832SPeter Avalos from Erika Pacholleck). 15815382d832SPeter Avalos + move discussion of --beep and --beep-signal options to Obsolete 15825382d832SPeter Avalos Options section of manpage, remove these from the help-message 15835382d832SPeter Avalos (report by Erika Pacholleck). 15845382d832SPeter Avalos + bracket extern's in dialog.h with C++ extern "C" declaration, in case 15855382d832SPeter Avalos the library is used from a C++ application. 15865382d832SPeter Avalos + modify inputmenu examples to allow ESC to cancel the script. 15875382d832SPeter Avalos + modify inputmenu widget to cancel edit on a TAB or ESC. 15885382d832SPeter Avalos + modify inputmenu widget to use the same color scheme for the editable 15895382d832SPeter Avalos text as the inputbox widget. 15905382d832SPeter Avalos + modify samples/killall to work around differences in "cut" versions. 15915382d832SPeter Avalos + use the color-caching from the \Z logic when loading the ".rc" file, 15925382d832SPeter Avalos thereby reducing the number of color pairs required, and making it 15935382d832SPeter Avalos less likely that deriving color pairs for drawing arrows on a given 15945382d832SPeter Avalos background will run out of colors. 15955382d832SPeter Avalos + save/restore window attributes in dlg_draw_arrows() and similar 15965382d832SPeter Avalos functions, to allow widgets to draw arrows using the widget's 15975382d832SPeter Avalos background rather than a common/fixed value (request by Erika 15985382d832SPeter Avalos Pacholleck). 15995382d832SPeter Avalos + modify textbox widget so the down-arrow will be hidden when at the 16005382d832SPeter Avalos end of the file. (Modifying the up-arrow to be hidden is harder - 16015382d832SPeter Avalos will do this when implementing scrollbars). 16025382d832SPeter Avalos + correct off-by-one in fselect.c which left down-arrows showing at 16035382d832SPeter Avalos the bottom of directory- and file-lists (report by Erika Pacholleck). 16045382d832SPeter Avalos + improve display of percentages by omitting blanks where lines should 16055382d832SPeter Avalos be shown. 16065382d832SPeter Avalos + modify logic for \Z escapes to make those that set video attributes 16075382d832SPeter Avalos not clear the colors (report by Erika Pacholleck). 16085382d832SPeter Avalos + modify logic for \Z escapes to allow foreground and background 16095382d832SPeter Avalos colors to be the same, provided that bold attribute is set. 16105382d832SPeter Avalos Also improved the logic for choosing a background color when the 16115382d832SPeter Avalos foreground and background are the same (report by Erika Pacholleck). 16125382d832SPeter Avalos + updated configure script macro CF_XOPEN_SOURCE, ensuring that the 16135382d832SPeter Avalos _POSIX_C_SOURCE value is defined with a specific value (bug report 16145382d832SPeter Avalos originally for lynx). 16155382d832SPeter Avalos + fix configure script so that po/makefile is generated properly when 16165382d832SPeter Avalos the configure --srcdir --enable-nls options are used. 16175382d832SPeter Avalos + modify makefile.in to allow build/install from another directory, 16185382d832SPeter Avalos i.e., using configure --srcdir (patch by Mike Castle). 16195382d832SPeter Avalos + updated da.po (Debian #262587, Morten Brix Pedersen). 16205382d832SPeter Avalos + modify some sample scripts to avoid using grave quotes nested within 16215382d832SPeter Avalos double quotes with multiple file redirection, which does not work 16225382d832SPeter Avalos with Solaris /bin/sh (report/analysis by Eric Haller). 16235382d832SPeter Avalos + check for end of string immediately after a \Z escape to avoid 16245382d832SPeter Avalos displaying the null terminator as a ^@ (report by Erika Pacholleck). 16255382d832SPeter Avalos > patches by Erika Pacholleck: 16265382d832SPeter Avalos + modify calendar.c, fselect.c and timebox.c to use color scheme like 16275382d832SPeter Avalos other lists, using menubox colors rather than dialog colors. 16285382d832SPeter Avalos + correct charset for po/de.po, translate messages for "Help" and 16295382d832SPeter Avalos "Rename". 16305382d832SPeter Avalos + omit parentheses around percentage in textbox.c 16315382d832SPeter Avalos + correct a few mismatched attributes, e.g., searchbox_attr in textbox.c, 16325382d832SPeter Avalos percentage in msgbox.c, 16335382d832SPeter Avalos 16345382d832SPeter Avalos 16355382d832SPeter Avalos2004/07/31 16365382d832SPeter Avalos + add test scripts to cover zero-width column case. 16375382d832SPeter Avalos + remove limit checks from checklist.c and menubox.c (cf: 2004/07/28), 16385382d832SPeter Avalos since some scripts use zero-width columns (Debian #262411 and report 16395382d832SPeter Avalos by Kyle Sallee). 16405382d832SPeter Avalos 16415382d832SPeter Avalos2004/07/29 16425382d832SPeter Avalos + modify msgbox.c to only reserve space for percentage shown as part 16435382d832SPeter Avalos of scrollable text for the msgbox widget. This makes infobox look 16445382d832SPeter Avalos as it did before 2004/06/06 changes (report by Vinesh Christopher) 16455382d832SPeter Avalos 16465382d832SPeter Avalos2004/07/28 16475382d832SPeter Avalos + remove redundant calls to wtimeout() from widgets since wtimeout() 16485382d832SPeter Avalos is properly called from ui_getc() where it is controlled by the 16495382d832SPeter Avalos --timeout option (bug report by juanjo). 16505382d832SPeter Avalos + add limit checks in checklist.c and menubox.c for very narrow screens 16515382d832SPeter Avalos (prompted by Steve Grubb patch). 16525382d832SPeter Avalos + initialize step in dlg_draw_buttons() in case it is used to draw 16535382d832SPeter Avalos a vertical list of buttons (prompted by Steve Grubb patch). 16545382d832SPeter Avalos > fixes by Steve Grubb: 16555382d832SPeter Avalos + correct logic in checklist.c (cf: 2003/11/26 changes) which turned 16565382d832SPeter Avalos quoting on unnecessarily for radiobox, breaking some old scripts. 16575382d832SPeter Avalos + increase size of array in dlg_ok_labels() to avoid overrun if extra 1658*a8e38dc0SAntonio Huete Jimenez and help buttons are used (cf: 2002/06/22 changes). 16595382d832SPeter Avalos + initialize fkey variable in menubox.c and textbox.c (cf: 2003/07/12). 16605382d832SPeter Avalos 16615382d832SPeter Avalos2004/07/21 - release 1.0 16625382d832SPeter Avalos + minor updates for configure script, i.e., CF_XOPEN_SOURCE, 16635382d832SPeter Avalos CF_NCURSES_LIBS macros. 16645382d832SPeter Avalos + update config.guess, config.sub 16655382d832SPeter Avalos + add nl.po (Jacques Weewer). 16665382d832SPeter Avalos 16675382d832SPeter Avalos2004/06/06 16685382d832SPeter Avalos + add --visit-items option, which allows the user to tab to the item 16695382d832SPeter Avalos list in the checklist/radiobox and menubox widgets (request by 16705382d832SPeter Avalos Ari Moisio). 16715382d832SPeter Avalos + use wide-character line-drawing for up/down arrows when configured 16725382d832SPeter Avalos for wide-characters, gives better results with uxterm. 16735382d832SPeter Avalos + limit the number of times a --file option can be used, to prevent 16745382d832SPeter Avalos runaway recursion if a --file option is embedded within a file which 16755382d832SPeter Avalos is included. 16765382d832SPeter Avalos + improve discussion of wrapping in the manpage (Debian #251937). 16775382d832SPeter Avalos + modify msgbox to allow it to scroll vertically like textbox (Debian 16785382d832SPeter Avalos #233276). This only works with ncurses. 16795382d832SPeter Avalos + implement $DIALOGVARS environment variable to apply common options to 16805382d832SPeter Avalos dialog_vars when it is reset before processing other common options. 16815382d832SPeter Avalos + add --single-quoted option to control whether output is double-quoted 16825382d832SPeter Avalos with '"' or single-quoted with single-quotes. 16835382d832SPeter Avalos + revert the default quoting behavior of checklists to use 16845382d832SPeter Avalos double-quotes (report by Mark K Post regarding Slackware scripts). 16855382d832SPeter Avalos + add eu.po (Basque) (Piarres Beobide Egaa). 16865382d832SPeter Avalos + add ca.po (Catalan) (Jordi Mallach). 16875382d832SPeter Avalos 16885382d832SPeter Avalos2004/04/21 16895382d832SPeter Avalos + add a call to flushinp() to init_dialog(), to discard any typeahead 16905382d832SPeter Avalos before dialog is invoked (Debian #244746). 16915382d832SPeter Avalos + correct dlg_match_char() function, which was broken during rewrite 16925382d832SPeter Avalos to support wide-characters (Debian #244777). 16935382d832SPeter Avalos + improved ru.po, uses UTF-8 charset (Leonid Kanter, Redhat #119200). 16945382d832SPeter Avalos + correct position of shadow drawn for dialogs, which appeared to work 16955382d832SPeter Avalos for most versions of curses (other than NetBSD) but would have been 16965382d832SPeter Avalos visible for certain color schemes (discussion with Julian Coleman). 16975382d832SPeter Avalos + correct loop-exit in longest_word() (Tomas Heredia, forwarded by 16985382d832SPeter Avalos Santiago Vila). 16995382d832SPeter Avalos + add cy.po (Welsh) (Dafydd Harries). 17005382d832SPeter Avalos 17015382d832SPeter Avalos2004/03/16 17025382d832SPeter Avalos + modify quoting of results to use single-quote rather than double 17035382d832SPeter Avalos quote, and ensure that results containing a quote or backslash 17045382d832SPeter Avalos character are escaped (report by Florent Rougon) 17055382d832SPeter Avalos + remove an incorrect comparison from checklist which made cursor 17065382d832SPeter Avalos stick on the last line, from 2004/03/01 changes. 17075382d832SPeter Avalos 17085382d832SPeter Avalos2004/03/14 17095382d832SPeter Avalos + add a dependency to install library if "--with-libtool" is used. 17105382d832SPeter Avalos + add manpage for the library. 17115382d832SPeter Avalos + add "--file" 17125382d832SPeter Avalos + modify formbox.c to support "--help-status" like menubox. 17135382d832SPeter Avalos + modify checklist.c to add item name to the "HELP" string when 17145382d832SPeter Avalos "--help-button" is used and no --item-help option is given (Debian 17155382d832SPeter Avalos #236841, report/patch by Jorg Sommer). 17165382d832SPeter Avalos + rename colors.h to dlg_colors.h, install that when the library is 17175382d832SPeter Avalos installed. 17185382d832SPeter Avalos + add copyright notice to usage ("--help") message. 17195382d832SPeter Avalos + correct a missing bounds check for mouse-clicks in menubox (prompted 17205382d832SPeter Avalos by Debian #233044). 17215382d832SPeter Avalos + updated several configure-script macros: AM_GNU_GETTEXT, 17225382d832SPeter Avalos AM_WITH_NLS, CF_OUR_MESSAGES, CF_PROG_EXT, CF_WITH_DBMALLOC, 17235382d832SPeter Avalos CF_WITH_DMALLOC, CF_WITH_LIBTOOL, CF_XOPEN_SOURCE. 17245382d832SPeter Avalos 17255382d832SPeter Avalos2004/03/01 17265382d832SPeter Avalos + improve layout of calendar widget to allow for very long button 17275382d832SPeter Avalos labels (report by Santiago Vila). 17285382d832SPeter Avalos + correct logic for $DIALOG_TTY, broken in 2003/11/30. The environment 17295382d832SPeter Avalos variable must evaluate to a nonzero integer (report by Florent 17305382d832SPeter Avalos Rougon). 17315382d832SPeter Avalos + document interaction between "--default-no" and "--no-cancel" options 17325382d832SPeter Avalos in manpage (Debian #223488). 17335382d832SPeter Avalos + change configure script to use autoconf 2.52+patch, to work around 17345382d832SPeter Avalos issues with Estonian locale (report by Seemant Kulleen). 17355382d832SPeter Avalos + add uk.po (Ukrainian) (Debian #232441). 17365382d832SPeter Avalos + make --default-item apply to checklist widget (Debian #225255). 17375382d832SPeter Avalos + correct a missing check for --item-help when --help-status was given 17385382d832SPeter Avalos for checklist (Debian #232921). 17395382d832SPeter Avalos + correct a missing bounds check for mouse-clicks in checklist (Debian 17405382d832SPeter Avalos #233044). 17415382d832SPeter Avalos + update config.guess, config.sub 17425382d832SPeter Avalos 17435382d832SPeter Avalos2003/12/07 17445382d832SPeter Avalos + correct infinite loop in yesno widget when "--defaultno" option is 17455382d832SPeter Avalos combined with "--no-cancel" (Debian #223077). 17465382d832SPeter Avalos 17475382d832SPeter Avalos2003/11/30 17485382d832SPeter Avalos + suppress double-quotes added for "--help-status" option if the 17495382d832SPeter Avalos string does not contain any special characters. 17505382d832SPeter Avalos 17515382d832SPeter Avalos2003/11/26 17525382d832SPeter Avalos + add samples/sourcemage.rc, for comparison with slackware.rc 17535382d832SPeter Avalos + add "--insecure" option (request by Sean Mathews (DrWho@f34r.com)). 17545382d832SPeter Avalos + make "--defaultno" option apply to widgets which use OK/Cancel 17555382d832SPeter Avalos buttons as well (Debian #209030). 17565382d832SPeter Avalos + improve documentation of exit-codes for each widget in the manpage 17575382d832SPeter Avalos (Debian #217926). 17585382d832SPeter Avalos + add option "--keep-window" to suppress repainting after completing 17595382d832SPeter Avalos each widget (request by Ingo van Lil). 17605382d832SPeter Avalos + add options "--yes-label" and "--no-label" to allow override of the 17615382d832SPeter Avalos "Yes" and "No" strings (request by Christoph Zwerschke). 17625382d832SPeter Avalos + add option "--help-status" to allow script to restore a checklist 17635382d832SPeter Avalos or radiolist after processing an item-help string (Debian #209031). 17645382d832SPeter Avalos + modify width-calculation for non-formatted text to ensure it is 17655382d832SPeter Avalos wide enough for the longest word in the text (patch by Andrew Gaul). 17665382d832SPeter Avalos + modify dlg_index_columns() to count a newline as a single cell rather 17675382d832SPeter Avalos than 2 for the normal curses case. This fixes an off-by-one for 17685382d832SPeter Avalos the text-justification, shown in screen 2 of msgbox1 sample script. 17695382d832SPeter Avalos + fix dlg_char_to_button(); 2003/09/10 changes made it incorrectly 17705382d832SPeter Avalos ignore case of the labels. 17715382d832SPeter Avalos + change calendar's use of arrow keys so they are (as before 2002/06/22) 17725382d832SPeter Avalos interpreted within the day-grid as movement within that grid (request 17735382d832SPeter Avalos by David Anders). 17745382d832SPeter Avalos + correct missing initialization of last_getc variable in dlg_getc() 17755382d832SPeter Avalos (report/analysis by Victor Wodecki). 17765382d832SPeter Avalos + modify main program to make 17775382d832SPeter Avalos dialog --no-shadow --print-maxsize 17785382d832SPeter Avalos work. Normally dialog prints the screen size after subtracting the 17795382d832SPeter Avalos area reserved for shadows, but some applications may need the actual 17805382d832SPeter Avalos screen size (Debian #213424). 17815382d832SPeter Avalos + several related changes (Debian #213425): 17825382d832SPeter Avalos + separate the examples using "--stdout" and "--output-fd" from the 17835382d832SPeter Avalos normal usage examples. 17845382d832SPeter Avalos + add "--input-fd" option, provide a sample of its use. 17855382d832SPeter Avalos + modify init_dialog() to use initscr() unless a "--stdout" option 17865382d832SPeter Avalos was used. Some scripts relied on the coincidence that redirecting 17875382d832SPeter Avalos standard output from dialog would "work". Before this change 17885382d832SPeter Avalos init_dialog() assumed that redirected standard output was 17895382d832SPeter Avalos synonymous with "--stdout" option (not the intended behavior). 17905382d832SPeter Avalos + modify command-line parsing to look for "--stdout" and "--stderr" 17915382d832SPeter Avalos options first, allowing only one. 17925382d832SPeter Avalos + add a check for an environment variable $DIALOG_TTY which provides 17935382d832SPeter Avalos the older behavior, i.e., try to open the terminal directly if 17945382d832SPeter Avalos stdout is redirected. 17955382d832SPeter Avalos + interface changes, to make libdialog simpler to use: 17965382d832SPeter Avalos + rename all of the internal functions to begin with "dlg_", but 17975382d832SPeter Avalos provide compatibility with older names if the application defines 17985382d832SPeter Avalos __DIALOG_OLD_NAMES__. 17995382d832SPeter Avalos + add dialog_version() function, and corresponding DIALOG_VERSION and 18005382d832SPeter Avalos DIALOG_PATCHDATE definitions to dlg_config.h 18015382d832SPeter Avalos + eliminate remaining global variables such as screen_initialized in 18025382d832SPeter Avalos favor of dialog_state and dialog_vars. 18035382d832SPeter Avalos + move some data such as dialog_vars.output to dialog_state, since 18045382d832SPeter Avalos they are normally not reset between widgets. 18055382d832SPeter Avalos + change interfaces of dialog_yesno() and dialog_checklist() to use 18065382d832SPeter Avalos dialog_state.defaultno and dialog_vars.separate_output, making it 18075382d832SPeter Avalos simpler and more consistent. 18085382d832SPeter Avalos + improve configure script and related definitions: 18095382d832SPeter Avalos + add "--with-libtool" option to provide shared library support by 18105382d832SPeter Avalos libtool. 18115382d832SPeter Avalos + rename generated "config.h" to "dlg_config.h", so it can be 18125382d832SPeter Avalos installed without naming conflict. Added "dlg_config.h" to 18135382d832SPeter Avalos install-lib rule. 18145382d832SPeter Avalos + modify configure script and makefile to use EXEEXT and OBJEXT. 18155382d832SPeter Avalos + add "--enable-widec" option to control whether wide-curses features 18165382d832SPeter Avalos are compiled-in, rather than check for the existence of those in 18175382d832SPeter Avalos the curses library. This allows building with HPUX curses, which 18185382d832SPeter Avalos has abandoned legacy features while not quite supporting X/Open 18195382d832SPeter Avalos curses. 18205382d832SPeter Avalos + add configure check for getbegx(), etc., which are not provided on 18215382d832SPeter Avalos all platforms. 18225382d832SPeter Avalos + update config.guess, config.sub 18235382d832SPeter Avalos 18245382d832SPeter Avalos2003/10/02 18255382d832SPeter Avalos + update hu.po (Arpad Biro). 18265382d832SPeter Avalos + revert part of the 2003/08/18 change to "--stdout" option. Using 18275382d832SPeter Avalos stderr for screen output does not work well on several platforms 18285382d832SPeter Avalos since stdout's settings are affected (report by Kent Robotti). 18295382d832SPeter Avalos 18305382d832SPeter Avalos2003/09/24 18315382d832SPeter Avalos + modify tailbox to allow it to display files with arbitrarily long 18325382d832SPeter Avalos lines. 18335382d832SPeter Avalos + fix an infinite loop in tailbox, broken when making interface changes 18345382d832SPeter Avalos to dlg_getc() (report by Ingo van Lil). 18355382d832SPeter Avalos + amend fix for "--and-widget" to not treat "---" as an option (report 18365382d832SPeter Avalos by Kent Robotti). 18375382d832SPeter Avalos + updated es.po (Santiago Vila). 18385382d832SPeter Avalos 18395382d832SPeter Avalos2003/09/10 18405382d832SPeter Avalos + correct "RENAMED" result from inputmenu widget, which did not reset 18415382d832SPeter Avalos the result buffer, and did not account for scroll-offset (Debian 18425382d832SPeter Avalos #209336). 18435382d832SPeter Avalos + modify button, menu and checklist logic that matches a character to 18445382d832SPeter Avalos the beginning of a text field to support wide-characters (completes 18455382d832SPeter Avalos Debian #195674). 18465382d832SPeter Avalos + modify configure script to not use "head -1". 18475382d832SPeter Avalos 18485382d832SPeter Avalos2003/08/30 18495382d832SPeter Avalos + modify searchbox popup in textbox widget so one can simply press 18505382d832SPeter Avalos return on an empty input to cancel the popup. 18515382d832SPeter Avalos + modify error reporting to avoid clearing screen if a problem is 18525382d832SPeter Avalos found in the ".rc" file. 18535382d832SPeter Avalos + add color/attribute combinations for form widget (based on patch by 18545382d832SPeter Avalos Reznic Valery). 18555382d832SPeter Avalos + combine rc-file colors, attribute- and color-tables to obtain a 18565382d832SPeter Avalos single table for color values, which requires less work to add new 18575382d832SPeter Avalos entries. 18585382d832SPeter Avalos + modify fselect widget to make back-tab work again, since it was 18595382d832SPeter Avalos broken by the rewrite of dlg_edit_string(). 18605382d832SPeter Avalos + modify howmany_tags() so it will quit searching when it finds any 18615382d832SPeter Avalos option, not only "--and-widget" (Debian #206636). 18625382d832SPeter Avalos + correct call to dlg_print_text() in print_line(), which did not 18635382d832SPeter Avalos account for hidden characters (report/patch by David Poole). 18645382d832SPeter Avalos + modify print_button() to display properly if locale defines ok/cancel 18655382d832SPeter Avalos or yes/no buttons that contain multibyte characters. 18665382d832SPeter Avalos 18675382d832SPeter Avalos2003/08/20 18685382d832SPeter Avalos + correct an indexing error when deleting from the end of a line using 18695382d832SPeter Avalos KEY_DC; it happened to work on Linux because malloc() clears memory 18705382d832SPeter Avalos like calloc(). 18715382d832SPeter Avalos + add '\r' to case statement where '\n' is translated to KEY_ENTER to 18725382d832SPeter Avalos work around defect in NetBSD curses. 18735382d832SPeter Avalos + modify configure check for getparyx(), etc., which are implemented 18745382d832SPeter Avalos by NetBSD curses as functions rather than macros. 18755382d832SPeter Avalos + correct configure check for term.h, which may be <ncursesw/term.h> 18765382d832SPeter Avalos if ncursesw development headers are installed, but not ncurses 18775382d832SPeter Avalos development headers. Or they may not coincide (Debian #206287). 18785382d832SPeter Avalos 18795382d832SPeter Avalos2003/08/18 18805382d832SPeter Avalos + modify checklist.c and menubox.c to display tags properly if they 18815382d832SPeter Avalos contain wide-characters. 18825382d832SPeter Avalos + better solution for initializing curses when "--stdout" option is 18835382d832SPeter Avalos used, e.g., use stderr for the output if it is a tty. Also correct 18845382d832SPeter Avalos the error handling, so dialog exits with an error if it cannot 18855382d832SPeter Avalos find a way to do output (Debian #205509). 18865382d832SPeter Avalos + modify sample scripts to use consistent definition of $DIALOG 18875382d832SPeter Avalos (Debian #205508). 18885382d832SPeter Avalos + add UTF-8 examples inputbox6-utf8, inputbox6-utf8 (from Tomohiro 18895382d832SPeter Avalos Kubota, Debian #195674). 18905382d832SPeter Avalos + modify print_line() to work with wide-characters, e.g., so it handles 18915382d832SPeter Avalos wrapping for double-width characters. 18925382d832SPeter Avalos + cache results from multibyte character indices, speeds up cursor 18935382d832SPeter Avalos movement. 18945382d832SPeter Avalos + modify form widget to support scrolling and mouse-selection. 18955382d832SPeter Avalos + add form widget (based on patch by Reznic Valery). 18965382d832SPeter Avalos + correct mouse-handling for inputmenu widget. 18975382d832SPeter Avalos + corrections to menu.c: location of clearing operation, and height of 18985382d832SPeter Avalos rows in code for older ncurses versions (patch by Reznic Valery). 18995382d832SPeter Avalos + improve logic that compensates for xterm's alternate-screen by 19005382d832SPeter Avalos cancelling the rmcup/smcup strings after the rmcup has been issued. 19015382d832SPeter Avalos That ensures that dialog will not clear the screen on exit (report 19025382d832SPeter Avalos by Javier Kohen). 19035382d832SPeter Avalos + modify initialization between widgets to retain the values for the 19045382d832SPeter Avalos --aspect, --separate-widget and --tab-len options. 19055382d832SPeter Avalos + add --separator as an alias for --separate-widget (compatible with 19065382d832SPeter Avalos Xdialog). 19075382d832SPeter Avalos + correct handling of Xdialog's --icon and --wmclass options, whose 19085382d832SPeter Avalos parameter was not ignored. 19095382d832SPeter Avalos + correct logic for --separate-widget so its string is written before 19105382d832SPeter Avalos each output, rather than only for --and-widget option (report by 19115382d832SPeter Avalos Javier Kohen). 19125382d832SPeter Avalos + improve limit-check in center_label() for buttons.c (report by Tor 19135382d832SPeter Avalos Vidar Havstad). 19145382d832SPeter Avalos + correct layout of --menu widget, which reduced display width due to 19155382d832SPeter Avalos logic for --inputmenu being applied whether or not that configuration 19165382d832SPeter Avalos was used (reports by Javier Kohen, Dimitar Zhekov and MAL 19175382d832SPeter Avalos <mal@komcept.com>). Fixes Debian #201215. 19185382d832SPeter Avalos + modify gauge widget to support --begin option (Hans-Joachim Baader). 19195382d832SPeter Avalos + updated pl.po (Jaroslaw Swierczynski). 19205382d832SPeter Avalos + hide cursor while painting gauge. 19215382d832SPeter Avalos + add auto-sizing logic to gauge widget (reports by Javier Kohen and 19225382d832SPeter Avalos Robert Schubert). 19235382d832SPeter Avalos 19245382d832SPeter Avalos2003/07/20 19255382d832SPeter Avalos + rewrote inputstr.c, allowing it to enter and display wide-characters. 19265382d832SPeter Avalos Some nonprinting characters such as control/B can be edited as well. 19275382d832SPeter Avalos + modify timebox to allow user to type numbers into the fields. 19285382d832SPeter Avalos + change interfaces of dlg_getc(), mouse_wgetch(), etc., to add 19295382d832SPeter Avalos parameter that returns whether the result is really a function-key. 19305382d832SPeter Avalos This is needed to work with wide-character curses. 19315382d832SPeter Avalos + correct computation of week-number in calendar widget (report by 19325382d832SPeter Avalos Heiner Lamann). 19335382d832SPeter Avalos + updated configure script macros: 19345382d832SPeter Avalos + suppress -Winline with gcc 3.3, since it is broken. 19355382d832SPeter Avalos + fix caching bug in CF_UTF8_LIB 19365382d832SPeter Avalos + improved script for CF_BUNDLED_INTL. 19375382d832SPeter Avalos + update config.guess, config.sub 19385382d832SPeter Avalos 19395382d832SPeter Avalos2003/03/08 19405382d832SPeter Avalos + add null-pointer checks to some malloc calls which were overlooked. 19415382d832SPeter Avalos + correct logic in dlg_add_result(), which did not copy content of 19425382d832SPeter Avalos non-allocated buffer to the first allocation (report by Daniel 19435382d832SPeter Avalos Dupont). 19445382d832SPeter Avalos 19455382d832SPeter Avalos2003/03/02 19465382d832SPeter Avalos + correct an uninitialized value in dlg_add_result() (Debian #182683). 19475382d832SPeter Avalos 19485382d832SPeter Avalos2003/01/30 19495382d832SPeter Avalos + corrected print_line(), which subtracted the margin twice from the 19505382d832SPeter Avalos right-limit, making a string wrap unnecessarily (Debian #168823). 19515382d832SPeter Avalos + correct initial limit-check for arrows in checklist.c, which used 19525382d832SPeter Avalos the wrong variable, showing the bottom arrow when it should not 19535382d832SPeter Avalos (Debian #168823). 19545382d832SPeter Avalos + modify driver to always call show_result(), to simplify updates. 19555382d832SPeter Avalos + fix several memory leaks, important if dialog is run with a large 19565382d832SPeter Avalos number of widgets (report by albert.veli@telia.com forwarded by 19575382d832SPeter Avalos Santiago Vila). 19585382d832SPeter Avalos + check if the screen output is actually to the terminal before trying 19595382d832SPeter Avalos to suppress xterm's alternate screen mode (see 2000/01/18) (report by 19605382d832SPeter Avalos David Oliveira). 19615382d832SPeter Avalos + use dialog_vars.input_result consistently to return the text which is 19625382d832SPeter Avalos printed after a widget completes. In many cases, dialog now 19635382d832SPeter Avalos allocates enough space to hold the text, rather than use a fixed 19645382d832SPeter Avalos buffer. The checklist widget was writing directly to the output to 19655382d832SPeter Avalos avoid limits of the fixed buffer. 19665382d832SPeter Avalos + modify dialog.c to also write dialog_vars.input_result if the 19675382d832SPeter Avalos Help-button was pressed (request by Amon Ott). 19685382d832SPeter Avalos + add hu.po (Arpad Biro). 19695382d832SPeter Avalos + update fr.po, pt.po, pt_BR.po to add strings for "Help" button (patch 19705382d832SPeter Avalos by Frederic L W Meunier). 19715382d832SPeter Avalos + fix off-by-one error in menu.c, checklist.c (reported by 19725382d832SPeter Avalos Tomasz Wasiak 2002/09/15 and others: 19735382d832SPeter Avalos Andrew Gaul 2002/11/12, 19745382d832SPeter Avalos Tobias C Rittweiler 2002/11/19, 19755382d832SPeter Avalos Arpad Biro 2003/01/21). 19765382d832SPeter Avalos + updated configure script, improving checks for ncurses in various 19775382d832SPeter Avalos locations, updated NLS script to match lynx. Added --with-curses-dir 19785382d832SPeter Avalos option. 19795382d832SPeter Avalos > Tobias C Rittweiler: 19805382d832SPeter Avalos + make ifdef in mousewget.c consistent with usage in dialog.h 19815382d832SPeter Avalos + use beep() rather than flash() in dlg_edit_string(), for consistency 19825382d832SPeter Avalos with the other functions. 19835382d832SPeter Avalos + change order of buttons so extra button falls between Ok/Cancel. 19845382d832SPeter Avalos + fix so "dialog --print-maxsize" exits from curses. 19855382d832SPeter Avalos + add --inputmenu option. 19865382d832SPeter Avalos 19875382d832SPeter Avalos2002/08/14 19885382d832SPeter Avalos + modify checklist.c and menubox.c to treat the extra button like the 19895382d832SPeter Avalos "Ok" button by making dialog print the chosen items (request by 19905382d832SPeter Avalos Tobias C Rittweiler). 19915382d832SPeter Avalos + add examples checklist6 and menubox6 to illustrate the --colors 19925382d832SPeter Avalos option. 19935382d832SPeter Avalos + implement -colors option, which allows one to highlight words in the 19945382d832SPeter Avalos titles and most text areas with color or video attributes (adapted 19955382d832SPeter Avalos from patch by Tobias C Rittweiler). 19965382d832SPeter Avalos + add examples inputbox4, inputbox5 to illustrate how to use the 19975382d832SPeter Avalos --output-fd option, and how to use dialog without any temporary 19985382d832SPeter Avalos file at all. 19995382d832SPeter Avalos + add --output-fd option (Debian #153984). 20005382d832SPeter Avalos + documented vi-style keys for calendar, textbox widgets in manpage. 20015382d832SPeter Avalos 20025382d832SPeter Avalos2002/06/22 20035382d832SPeter Avalos + improve mouse handling, e.g., for up/down scrolling in calendar, 20045382d832SPeter Avalos checklist, etc. 20055382d832SPeter Avalos + add --extra-button and --extra-label options (adapted from patch 20065382d832SPeter Avalos by Tobias C Rittweiler). 20075382d832SPeter Avalos + correct displayed cursor position in inputbox when returning to the 20085382d832SPeter Avalos input area after traversing the buttons with tabs, etc. 20095382d832SPeter Avalos + add left/right arrows for traversal in calendar and timebox dialogs. 20105382d832SPeter Avalos + implement two new functions dlg_next_ok_buttonindex() and 20115382d832SPeter Avalos dlg_prev_ok_buttonindex(), using these to hide details about the 20125382d832SPeter Avalos traversal over buttons in several widgets. 20135382d832SPeter Avalos + modify checklist.c and menubox.c to verify if both --help-button and 20145382d832SPeter Avalos --item-help are specified before assuming that selecting the help 20155382d832SPeter Avalos button should cause the "HELP {item-help}" message to be printed 20165382d832SPeter Avalos (reported by Marcel Ritter). 20175382d832SPeter Avalos + modify init_dialog() to work around HP's broken tty driver (report by 20185382d832SPeter Avalos John Mudd). Specifically, the problem is that when opening /dev/tty 20195382d832SPeter Avalos directly (to support the --stdout option), the terminal does not 20205382d832SPeter Avalos change to raw mode. The workaround opens /dev/tty only as needed; 20215382d832SPeter Avalos the --stdout option does not work on HPUX but otherwise dialog works. 20225382d832SPeter Avalos + updated el.po (patch by kromJx <kromJx@crosswinds.net>). 20235382d832SPeter Avalos 20245382d832SPeter Avalos2002/05/19 - release 0.9b 20255382d832SPeter Avalos + add --no-collapse option to allow one to retain tabs and repeated 20265382d832SPeter Avalos blanks in a message box (request by Roberto Simoni). 20275382d832SPeter Avalos + use DLG_EXIT_ESC constant rather than -1's in several places. This 20285382d832SPeter Avalos has the effect of changing some exit-with-error cases to denote that 20295382d832SPeter Avalos the exit was because ESC was pressed (patch by Diego Alvarez, 20305382d832SPeter Avalos forward by Santiago Vila). 20315382d832SPeter Avalos + bump package version to 0.9b (with patch-date, as usual). 20325382d832SPeter Avalos + add --exit-label option (request by Roberto Simoni). 20335382d832SPeter Avalos + updated de.po to correct translation for "Cancel" (from Michael 20345382d832SPeter Avalos Piefel, Debian #146402). 20355382d832SPeter Avalos + use definitions from autoconf macro AC_HEADER_TIME to ensure that 20365382d832SPeter Avalos time() is properly prototyped. 20375382d832SPeter Avalos + update pl.po, adding translation for "Help" (patch by Jaroslaw 20385382d832SPeter Avalos Swierczynski <swiergot@hacking.pl>). 20395382d832SPeter Avalos + update COPYING file, to reflect address change of FSF (reported by 20405382d832SPeter Avalos Santiago Vila). 20415382d832SPeter Avalos + update some configuration script macros: CF_CHECK_CACHE, 20425382d832SPeter Avalos CF_CURSES_CPPFLAGS, CF_HEADER_PATH and CF_MAKEFLAGS. 20435382d832SPeter Avalos + correct misuse of "$with_XXX" variables in the configure script, 20445382d832SPeter Avalos which prevented configuration against curses library as opposed to 20455382d832SPeter Avalos ncurses. 20465382d832SPeter Avalos + update config.guess, config.sub 20475382d832SPeter Avalos 20485382d832SPeter Avalos2002/03/09 (a) 20495382d832SPeter Avalos + modify geometry of samples/fselect scripts to allow them to run in 20505382d832SPeter Avalos a 24x80 screen (report/patch by Santiago Vila). 20515382d832SPeter Avalos + correct exit-code for menubox.c when Cancel is pressed. This was 20525382d832SPeter Avalos unintentionally altered when adding --help-button (reported by 20535382d832SPeter Avalos Patrick J Volkerding) 20545382d832SPeter Avalos 20555382d832SPeter Avalos2002/03/09 20565382d832SPeter Avalos + add --timeout option, which forces the program to exit with an error 20575382d832SPeter Avalos if no user response is given within the specified number of seconds 20585382d832SPeter Avalos (request by <andrew@argoncorp.com>). 20595382d832SPeter Avalos + modify calendar widget to allow day/month/year values to default to 20605382d832SPeter Avalos the current date (request by <Ron.Perrella@bellsouth.com>). 20615382d832SPeter Avalos + modify display of buttons in checklist.c and menubox.c to handle the 20625382d832SPeter Avalos case where the button label is empty (Debian #134388). 20635382d832SPeter Avalos + extended logic for ok/cancel/help to make this work with checklist 20645382d832SPeter Avalos widget. 20655382d832SPeter Avalos + revert pt_BT.po, apply changes to pt.po (report by Frederic L W 20665382d832SPeter Avalos Meunier). 20675382d832SPeter Avalos > several changes from Stanislav Ievlev: 20685382d832SPeter Avalos + add options --help-button and --help-label to make menubox display a 20695382d832SPeter Avalos third button which can be used to return an exit code causing the 20705382d832SPeter Avalos calling script to show extended help information. 20715382d832SPeter Avalos + use home/end keys in input string-editing, e.g., inputbox. 20725382d832SPeter Avalos + add option --max-input to limit length of string returned by inputbox 20735382d832SPeter Avalos and other widgets which allow the user to edit a string. 20745382d832SPeter Avalos 20755382d832SPeter Avalos2001/12/02 20765382d832SPeter Avalos + add --ok-label and --cancel-label options (request by Kyle Sallee). 20775382d832SPeter Avalos + correct usage message for --fselect option (reported by Patrick J 20785382d832SPeter Avalos Volkerding). 20795382d832SPeter Avalos + add samples/debian.rc, for comparison with slackware.rc 20805382d832SPeter Avalos + corrected samples/slackware.rc, which was just the compiled-in 20815382d832SPeter Avalos default values (patch by Patrick J Volkerding). 20825382d832SPeter Avalos + modify search rule for rc-file to add a global rc file /etc/dialogrc 20835382d832SPeter Avalos (patch by Patrick J Volkerding). 20845382d832SPeter Avalos + updated pt_BR.po with modified entries for fselect.c (Frederic L W 20855382d832SPeter Avalos Meunier). 20865382d832SPeter Avalos + add pl.po (Swiergot <swiergot@l02.ids.czest.pl>). 20875382d832SPeter Avalos 20885382d832SPeter Avalos2001/11/11 20895382d832SPeter Avalos + modify command-line parsing to allow a "--" argument to act as an 20905382d832SPeter Avalos escape, so the next argument is not recognized as an option if it 20915382d832SPeter Avalos begins with "--". This is apparently one of popt's undocumented 20925382d832SPeter Avalos features, upon which some Debian scripts depend (Debian #116642). 20935382d832SPeter Avalos + add da.po (Morten Brix Pedersen <morten@wtf.dk>). 20945382d832SPeter Avalos + add an install-strip rule to makefile, changing the normal install 20955382d832SPeter Avalos rule to not strip the installed executable (based on discussion with 20965382d832SPeter Avalos Santiago Vila). 20975382d832SPeter Avalos + initialize my_output variable if user cannot open /dev/tty, e.g., if 20985382d832SPeter Avalos su'd to another user (patch by Richard Braakman (<dark@ssh.com>), Debian 20995382d832SPeter Avalos #117177). 21005382d832SPeter Avalos + add configure option --with-ncursesw, to allow configure/build with 21015382d832SPeter Avalos wide-character version of ncurses. 21025382d832SPeter Avalos 21035382d832SPeter Avalos2001/10/14 21045382d832SPeter Avalos + add option --ignore, to make dialog be ignore options that it does 21055382d832SPeter Avalos not recognize. 21065382d832SPeter Avalos + add option --trim, to trim literal newlines and repeated spaces from 21075382d832SPeter Avalos text that will be displayed. Add samples/msgbox2, which is the 21085382d832SPeter Avalos same as msgbox1, but using --trim (cf: change for Debian #102942). 21095382d832SPeter Avalos + minor correction to attributes for buttons.c to use active_attr on 21105382d832SPeter Avalos the right-side of a button. 21115382d832SPeter Avalos + add a sample dialog rc-file slackware.rc based on diffs in hdasetup 21125382d832SPeter Avalos package at 21135382d832SPeter Avalos http://ftp1.sourceforge.net/pub/mirrors/slackware/slackware/source/a/hdsetup/ 21145382d832SPeter Avalos (discussion with Frederic L W Meunier). 21155382d832SPeter Avalos + modify dialog.pl to avoid using a statically-named tempfile, allowing 21165382d832SPeter Avalos multiple processes to use this script (patch by James Ranson 21175382d832SPeter Avalos (<euclid80@yahoo.com>), Debian #110609). 21185382d832SPeter Avalos + correct fprintf() call in j_menu() function, i.e., "--menu" option, 21195382d832SPeter Avalos which did not guard against expanding '%' embedded in the parameters 21205382d832SPeter Avalos (Stavros Chatzistefanidis <sxatz@yahoo.com>). 21215382d832SPeter Avalos + add et.po (Ivar Smolin <okul@trenet.ee>). 21225382d832SPeter Avalos + update fr.po (Frederic L W Meunier). 21235382d832SPeter Avalos + modify to allow scripts to alter the exit codes, mainly to 21245382d832SPeter Avalos distinguish ESC and ERROR exits. This is done by setting a shell 21255382d832SPeter Avalos variable such as DIALOG_ESC to a new value (request by Petr Vandrovec 21265382d832SPeter Avalos (<vandrove@vc.cvut.cz>), Debian #99264) 21275382d832SPeter Avalos 21285382d832SPeter Avalos2001/08/27 21295382d832SPeter Avalos + use VPATH in makefile to support build with configure --srcdir, if 21305382d832SPeter Avalos the make program supports that. Note that samples/install/makefile 21315382d832SPeter Avalos is not generated, due to awkward limitation of autoconf script 21325382d832SPeter Avalos (reported by Frederic L W Meunier <0@pervalidus.net>). 21335382d832SPeter Avalos + add po/pt_BR.po (Frederic L W Meunier <0@pervalidus.net>). 21345382d832SPeter Avalos + correct sense of --enable/--disable shown in configure --help (report 21355382d832SPeter Avalos by Frederic L W Meunier <0@pervalidus.net>). 21365382d832SPeter Avalos + correct logic for --clear option, broken in 2000/07/02 (fixes Debian 21375382d832SPeter Avalos #110254). 21385382d832SPeter Avalos 21395382d832SPeter Avalos2001/08/11 21405382d832SPeter Avalos + porting fixes to work on AIX: flush output to work around bug in 21415382d832SPeter Avalos curses library, use ./killall in scripts to avoid conflict with 21425382d832SPeter Avalos AIX program by that name. 21435382d832SPeter Avalos + modify dlg_trim_string() to retain literal newlines if the string 21445382d832SPeter Avalos does not contain "\\n" strings, and to retain leading blanks on the 21455382d832SPeter Avalos resulting lines, for compatibility with older scripts (Debian 21465382d832SPeter Avalos #102942). 21475382d832SPeter Avalos + add charset specification to cs.po 21485382d832SPeter Avalos + change dates in CHANGES to consistent format, add el.po for Greek 21495382d832SPeter Avalos (patch by kromJx <kromJx@crosswinds.net>). 21505382d832SPeter Avalos + eliminate static globals (bss, data) from modules rc, tailbox, 21515382d832SPeter Avalos textbox using better parameter-passing convention, and const. 21525382d832SPeter Avalos + cleanup temporary files in a few of the sample scripts. 21535382d832SPeter Avalos + rewrote tailboxbg using select() rather than fork(), thereby 21545382d832SPeter Avalos eliminating lock-files. Only one process should be trying to display 21555382d832SPeter Avalos on the screen at any given time. 21565382d832SPeter Avalos + add error check to ensure that numeric parameters are really numbers. 21575382d832SPeter Avalos + correct off-by-one in error messages reporting too-few or too-many 21585382d832SPeter Avalos tokens for a given option (reported by George Mirchev). 21595382d832SPeter Avalos + fix typo in manpage, "textboxbg" where "tailboxbg" was meant 21605382d832SPeter Avalos (reported by George Mirchev <la@mail.techno-link.com>). 21615382d832SPeter Avalos + use DLG_EXIT_xxx symbols consistently for all exit codes. 21625382d832SPeter Avalos + updated es.po (patch by Santiago Vila). 21635382d832SPeter Avalos + updates for some configure script macros from lynx: CF_MAKEFLAGS, 21645382d832SPeter Avalos CF_NCURSES_VERSION, CF_PROG_EXT. 21655382d832SPeter Avalos + fixes to compile if <term.h> is included, e.g., when building with 21665382d832SPeter Avalos AIX curses (report by Suzi Dowson <Suzi.Dowson@capgemini.co.uk>). 21675382d832SPeter Avalos 21685382d832SPeter Avalos2001/05/27 21695382d832SPeter Avalos + updated dialog.pot 21705382d832SPeter Avalos + modify fselect.c to work with autosize, i.e., given height and width 21715382d832SPeter Avalos zero (report by Martin Povolny). 21725382d832SPeter Avalos + add a null-pointer check in justify_text(), needed by fselect.c 21735382d832SPeter Avalos + add several more options which dialog can safely ignore, from 21745382d832SPeter Avalos Xdialog 2.0.2 21755382d832SPeter Avalos + refinements for configure macros checking for $CPPFLAGS, from lynx. 21765382d832SPeter Avalos + update config.guess, config.sub to match autoconf 2.50 21775382d832SPeter Avalos > Martin Povolny <martin@solnet.cz>: 21785382d832SPeter Avalos + add cs.po 21795382d832SPeter Avalos + use nl_langinfo() to customize names for day-of-week, and month 21805382d832SPeter Avalos 21815382d832SPeter Avalos2001/05/11 21825382d832SPeter Avalos > Vincent Stemen <dialog@AdvancedResearch.org>: 21835382d832SPeter Avalos Fixed dialog.c to not pass menu items through dlg_trim_string(). 21845382d832SPeter Avalos Stripping extra spaces out of the menu items broke some of my 21855382d832SPeter Avalos scripts by altering the string that it compared to know which menu 21865382d832SPeter Avalos item was selected. There should be no need to do justification on 21875382d832SPeter Avalos the menu items, which are always one line, anyway. 21885382d832SPeter Avalos 21895382d832SPeter Avalos2001/04/29 21905382d832SPeter Avalos > Vincent Stemen <dialog@AdvancedResearch.org>: 21915382d832SPeter Avalos + rewrote the text justification code to be able to have preformatted 21925382d832SPeter Avalos text in the prompts with extra spaces like the older versions of 21935382d832SPeter Avalos dialog. If there are "\n" strings in the text, then extra spaces are 21945382d832SPeter Avalos preserved. Lines are always wrapped on word boundaries. 21955382d832SPeter Avalos + fixed --cr-wrap to break lines on '\n' (newline) characters and not 21965382d832SPeter Avalos add an extra line at the top and bottom of the text. It now works 21975382d832SPeter Avalos as the manual says it should. 21985382d832SPeter Avalos + it is no longer necessary to use "\n\" at the end of lines to escape 21995382d832SPeter Avalos the '\n' character. "\n" now works. However, the old way, "\n\" 22005382d832SPeter Avalos still works. 22015382d832SPeter Avalos + the fixes involved the following changes: 22025382d832SPeter Avalos - rewrote dlg_trim_string() to recognize preformatted text (know 22035382d832SPeter Avalos when not to strip extra spaces) and to pay attention to --cr-wrap. 22045382d832SPeter Avalos - rewrote justify_text() which now calls a new function in util.c, 22055382d832SPeter Avalos print_line(), to print each line and end it on a word boundary. 22065382d832SPeter Avalos - modified real_auto_size() to call a new function 22075382d832SPeter Avalos auto_size_preformated() to calculate the box size for preformatted 22085382d832SPeter Avalos text. 22095382d832SPeter Avalos - removed skip_blanks() and skip_text() since they are not used by 22105382d832SPeter Avalos the new justify_text(). 22115382d832SPeter Avalos - modified dialog.c to not call dlg_trim_string() on title strings 22125382d832SPeter Avalos so that titles retain their spaces. 22135382d832SPeter Avalos + modified the following demo files in the sample directory: 22145382d832SPeter Avalos - inputbox 22155382d832SPeter Avalos changed all "\n\" strings to "\n" to demonstrate the extra 22165382d832SPeter Avalos backslash is no longer needed. 22175382d832SPeter Avalos - inputbox1 22185382d832SPeter Avalos removed all the "\n\" strings from the end of the lines to 22195382d832SPeter Avalos properly demonstrate --cr-wrap. 22205382d832SPeter Avalos - msgbox1 22215382d832SPeter Avalos this sample was using "--aspect 9 --cr-wrap". Rewrote it to 22225382d832SPeter Avalos properly demonstrate --aspect. 9 is already dialog's default 22235382d832SPeter Avalos aspect ratio. It now creates several dialogs in sequence, 22245382d832SPeter Avalos demonstrating aspect ratios of 9, 12 and 6 and properly 22255382d832SPeter Avalos demonstrates --cr-wrap. 22265382d832SPeter Avalos + made the following changes to the manual (dialog.1). 22275382d832SPeter Avalos - rewrote the description of --aspect to be more understandable. 22285382d832SPeter Avalos - rewrote the description of --cr-wrap to be more correct and more 22295382d832SPeter Avalos detailed. It did say, "Otherwise, the text for each dialog will 22305382d832SPeter Avalos display on a single line.", which is not correct. It wraps the 22315382d832SPeter Avalos text to fit in the box. 22325382d832SPeter Avalos > T.Dickey: 22335382d832SPeter Avalos + use logic from menubox dialog in checklist to handle autosizing when 22345382d832SPeter Avalos list height is given as zero (fixes problem reported by Eric Veltman 22355382d832SPeter Avalos <eveltman@baan.nl>). 22365382d832SPeter Avalos + modify checklist and menubox dialogs to check for too-wide data, and 22375382d832SPeter Avalos truncate one or both of the name and text fields to fit (also 22385382d832SPeter Avalos reported by Eric Veltman). 22395382d832SPeter Avalos + corrected a few items from Vincent's patch: 22405382d832SPeter Avalos - use C89-style comments rather than C++ 22415382d832SPeter Avalos - restore logic in justify_text() which checks for win==0, needed to 22425382d832SPeter Avalos work with standard curses implementations other than ncurses. 22435382d832SPeter Avalos The first call on justify_text() passes a null pointer as a flag 22445382d832SPeter Avalos to indicate that checking should be done, but no screen updates. 22455382d832SPeter Avalos - avoid modifying the buffer in decode_percent(), otherwise a message 22465382d832SPeter Avalos containing a space or newline would be truncated at the whitespace. 22475382d832SPeter Avalos - modify dlg_button_x_step() and dlg_button_layout() slightly to 22485382d832SPeter Avalos work with altered print_autowrap(), etc. 22495382d832SPeter Avalos + fixes to build/work with SunOS 4.x 5lib curses 22505382d832SPeter Avalos 22515382d832SPeter Avalos2001/04/15 22525382d832SPeter Avalos + fix a memory leak in mouse_region(). 22535382d832SPeter Avalos + simplify handling of optional parameters with new functions 22545382d832SPeter Avalos optional_str() and optional_num(). 22555382d832SPeter Avalos + add calendar and timebox dialogs (compatible with Xdialog). 22565382d832SPeter Avalos + correct typo in fallback definition for getparyx, and remove void 22575382d832SPeter Avalos cast for mouse_open and mouse_close which prevented build with 22585382d832SPeter Avalos Sun's Solaris compiler. 22595382d832SPeter Avalos + rename --enable-lxdialog configure option to --enable-Xdialog 22605382d832SPeter Avalos + modify CF_NCURSES_CPPFLAGS macro to match more variations of ncurses 22615382d832SPeter Avalos header files. 22625382d832SPeter Avalos + update config.guess, config.sub 22635382d832SPeter Avalos + modify some configure script macros to avoid problems with buggy 22645382d832SPeter Avalos autoconf 2.49c which breaks changequote(). 22655382d832SPeter Avalos 22665382d832SPeter Avalos2001/01/15 22675382d832SPeter Avalos + small fix to revised real_auto_size() and justify_text() to avoid 22685382d832SPeter Avalos adding origin to box-width, which broke samples/wheel. 22695382d832SPeter Avalos + apply 1999/12/25 tempfile change to wheel and copismall samples. 22705382d832SPeter Avalos + add sample script for tailboxbg. 22715382d832SPeter Avalos + revised lock-file management to better ensure that locks are actually 22725382d832SPeter Avalos created by the tailbox subprocess(es). 22735382d832SPeter Avalos + correct hardcoded signal 15 in tailbox to SIGHUP to match 22745382d832SPeter Avalos documentation. Signal 15 is usually SIGTERM, which cannot be caught. 22755382d832SPeter Avalos + correct off-by-one comparison of return-value for arg_rest() which 22765382d832SPeter Avalos made 22775382d832SPeter Avalos dialog --gauge test 10 50 22785382d832SPeter Avalos dump core because it expected a 4th parameter (fixes Debian #80641). 22795382d832SPeter Avalos + resync config.sub, config.guess from 22805382d832SPeter Avalos http://subversions.gnu.org/cgi-bin/cvsweb/config/ (which finally have 22815382d832SPeter Avalos cases for OS/2 EMX), minor tweaks to related configure script macros. 22825382d832SPeter Avalos 22835382d832SPeter Avalos2000/12/17 22845382d832SPeter Avalos + restore treatment of predefined height/width in real_auto_size() 22855382d832SPeter Avalos which was lost in 2000/12/12 rewrite (report by Raphael Halimi 22865382d832SPeter Avalos <raphaelh@easynet.fr>). 22875382d832SPeter Avalos + updates for configure script macros AM_PATH_PROG_WITH_TEST, 22885382d832SPeter Avalos CF_CURSES_LIBS, CF_LIB_PREFIX, CF_PROG_EXT for $PATHSEP and $CFLAGS 22895382d832SPeter Avalos fixes. 22905382d832SPeter Avalos 22915382d832SPeter Avalos2000/12/13 22925382d832SPeter Avalos + correct change for create_lock(), which resulted in an infinite loop 22935382d832SPeter Avalos (patch by Chris Butler, <chrisb@debian.org>). 22945382d832SPeter Avalos 22955382d832SPeter Avalos2000/12/12 22965382d832SPeter Avalos + rewrote print_autowrap() and real_auto_size() to share common code 22975382d832SPeter Avalos justify_text(), which now does text flow even when the string 22985382d832SPeter Avalos contains newlines (fixes Debian #77199). 22995382d832SPeter Avalos + improve create_lock() function using open() with O_EXCL rather than 23005382d832SPeter Avalos fopen() (patch by Matt Kraai (<kraai@debian.org>), Debian #78951). 23015382d832SPeter Avalos + correct description of --fselect in man page (patch by Tomas Pospisek 23025382d832SPeter Avalos (<tpo@spin.ch>), Debian #77200). 23035382d832SPeter Avalos + add --no-cancel as alias for --nocancel for compatibility with 23045382d832SPeter Avalos Xdialog (report by Luis E Limon <luisl@abriasoft.com>). 23055382d832SPeter Avalos 23065382d832SPeter Avalos2000/10/27 23075382d832SPeter Avalos + some lint fixes using lclint (mostly void-casts, but some 23085382d832SPeter Avalos sign-extension fixes e.g., for ctype.h macros, and loop in 23095382d832SPeter Avalos dlg_char_to_button()). 23105382d832SPeter Avalos + modified to build/run on OS/2 EMX with ncurses. 23115382d832SPeter Avalos + minor changes to po/*.po (trim trailing blanks, provide explicit 23125382d832SPeter Avalos translation for "OK"), to work with Solaris gettext. 23135382d832SPeter Avalos + modified to allow this to build with archaic version (1.8.6) 23145382d832SPeter Avalos of ncurses on FreeBSD 3.1 (does not run). 23155382d832SPeter Avalos + update config.guess, config.sub from subversions.gnu.org 23165382d832SPeter Avalos 23175382d832SPeter Avalos2000/10/17 23185382d832SPeter Avalos + use new function sub_window() to check success/failure of calls to 23195382d832SPeter Avalos subwin(), printing an error message if it fails (fixes Debian #74903). 23205382d832SPeter Avalos + use combination of isatty/ttyname to look for workable tty device 23215382d832SPeter Avalos on systems which have no /dev/tty, e.g., BeOS. 23225382d832SPeter Avalos 23235382d832SPeter Avalos2000/10/08 23245382d832SPeter Avalos + change exiterr() to use stdarg.h, make some messages easier to 23255382d832SPeter Avalos understand. 23265382d832SPeter Avalos + add dialog_clear() 23275382d832SPeter Avalos + make samples/install/setup build. 23285382d832SPeter Avalos + implemented mouse support for buttons, e.g., in yesno dialog using 23295382d832SPeter Avalos ncurses (the gpm support no longer works, but is useful for reference) 23305382d832SPeter Avalos + add a configure check for chtype. 23315382d832SPeter Avalos + updates for configure script macros (CF_BUNDLED_INTL, CF_CURSES_LIBS, 23325382d832SPeter Avalos CF_GCC_ATTRIBUTES, CF_GCC_WARNINGS, CF_INCLUDE_DIRS), and scripts 23335382d832SPeter Avalos config.guess, config.sub 23345382d832SPeter Avalos + cleanup of item-help change, integrate with checklist and radiobox. 23355382d832SPeter Avalos + add ja.po, from Hirofumi Takeda <takepin@turbolinux.co.jp>. 23365382d832SPeter Avalos > patch by Marco Mariani <marcom@sferacarta.com> 23375382d832SPeter Avalos + add --item-help option, which makes menubox data interpreted as 23385382d832SPeter Avalos 3 columns rather than 2. The third column is displayed on the 23395382d832SPeter Avalos last line of the screen as a help/status message for the currently 23405382d832SPeter Avalos selected item. 23415382d832SPeter Avalos + add it.po, pt.po 23425382d832SPeter Avalos + change TAG_KEY_HL to FALSE, making unselected items in checklist 23435382d832SPeter Avalos easier to read on Linux console. 23445382d832SPeter Avalos 23455382d832SPeter Avalos2000/07/30 23465382d832SPeter Avalos + change real_auto_size() to allow it to be used for dialogs that have 23475382d832SPeter Avalos no prompt, e.g., fselect. Also, rather than requiring both height 23485382d832SPeter Avalos and width to be given as -1 for maximizing the dialog, allow either 23495382d832SPeter Avalos alone. 23505382d832SPeter Avalos + increase minimum height needed for autosized yesno dialog. 23515382d832SPeter Avalos + add --version as an alias for --print-version. 23525382d832SPeter Avalos + fix for build on Solaris without NLS (cannot redefine 'gettext()'). 23535382d832SPeter Avalos + add fselect dialog (compatible with Xdialog). 23545382d832SPeter Avalos + add --enable-lxdialog configure option. 23555382d832SPeter Avalos + use new configure macro CF_ARG_MSG_ENABLE to show progress with 23565382d832SPeter Avalos enable/disable switches. 23575382d832SPeter Avalos 23585382d832SPeter Avalos2000/07/02 23595382d832SPeter Avalos + implement --stdout and --stderr options as in Xdialog. 23605382d832SPeter Avalos + move logic that translates "\\n" into '\n' into main program to 23615382d832SPeter Avalos simplify logic that formats text. 23625382d832SPeter Avalos + make ifdef's for rc-file not specific to ncurses. 23635382d832SPeter Avalos + correct logic making percent parameter of gauge optional. 23645382d832SPeter Avalos 23655382d832SPeter Avalos2000/06/29 23665382d832SPeter Avalos + add alternate test-script for gauge, adapted from Xdialog. 23675382d832SPeter Avalos + modify gauge to make optional a percentage which was read at the 23685382d832SPeter Avalos beginning of the XXX-delimited message text, since clones of dialog 23695382d832SPeter Avalos are written to assume this is text. If the line is not a simple 23705382d832SPeter Avalos integer, dialog will treat it as text. 23715382d832SPeter Avalos + make the percent parameter of gauge optional, as in Xdialog. 23725382d832SPeter Avalos + undo one use of CharOf() in guage.c, an error. 23735382d832SPeter Avalos + fix configure macro AM_WITH_NLS to refrain from attempting to make a 23745382d832SPeter Avalos symbolic link into/libintl.h if we are not using the bundled intl 23755382d832SPeter Avalos directory from gettext (reported by Julian Coleman 23765382d832SPeter Avalos <J.D.Coleman@newcastle.ac.uk>). 23775382d832SPeter Avalos + add ru.po, from Michael Sobolev <mss@transas.com> 23785382d832SPeter Avalos + updates for config.guess, config.sub from tin. 23795382d832SPeter Avalos + updates for configure script macros: CF_MATH_LIB (improperly nested 23805382d832SPeter Avalos brackets/parenthesis) and CF_XOPEN_CURSES (make include of 23815382d832SPeter Avalos <*curses.h> depend on configure tests). 23825382d832SPeter Avalos 23835382d832SPeter Avalos2000/04/25 23845382d832SPeter Avalos + repaint screen when a control/L is pressed. 23855382d832SPeter Avalos + apply CharOf() macro to avoid sign-extension on calls to waddch(), 23865382d832SPeter Avalos fixes a problem with accented characters (reported by Santiago Vila). 23875382d832SPeter Avalos + add es.po, from Santiago Vila <sanvila@unex.es> 23885382d832SPeter Avalos 23895382d832SPeter Avalos2000/04/23 23905382d832SPeter Avalos + modified to use gettext (configure option --enable-nls). This uses 23915382d832SPeter Avalos gettext 0.10.35, which must be previously installed. (It can also 23925382d832SPeter Avalos use an included intl library, but I consider that to be a waste of 23935382d832SPeter Avalos disk space). 23945382d832SPeter Avalos + remove code in checklist/radiobox, menubox that try to use 23955382d832SPeter Avalos abbreviations for the OK/Cancel buttons since those conflict with the 23965382d832SPeter Avalos check for abbreviations in list entries, which are more useful. 23975382d832SPeter Avalos + moved padding of button labels out of string literals, into the 23985382d832SPeter Avalos logic of dlg_draw_buttons(). 23995382d832SPeter Avalos + resync/update with configure macros CF_CURSES_LIBS, CF_FIND_LIBRARY, 24005382d832SPeter Avalos CF_HEADER_PATH, CF_LIBRARY_PATH and CF_NCURSES_LIBS, as well as 24015382d832SPeter Avalos mkdirs.sh and config.guess. 24025382d832SPeter Avalos 24035382d832SPeter Avalos2000/02/22 24045382d832SPeter Avalos + add --default-item option, for menubox to set the default selection 24055382d832SPeter Avalos (fixes Debian #49796). 24065382d832SPeter Avalos + add sample scripts for --nocancel and --fb options with inputbox. 24075382d832SPeter Avalos + modify inputbox* sample scripts to show application errors, if any. 24085382d832SPeter Avalos + add --nocancel option, and ignore --noitem, --fb, --fullbutton, to 24095382d832SPeter Avalos make this compatible with whiptail scripts. (whiptail does not 24105382d832SPeter Avalos handle many dialog scripts however). 24115382d832SPeter Avalos + modify checklist/radiobox to handle home, end, nextpage, prevpage 24125382d832SPeter Avalos keys, as well as make the abbreviation search work for the whole 24135382d832SPeter Avalos list, not only the current page. 24145382d832SPeter Avalos + treat KEY_LL the same as KEY_END in checklist and textbox. 24155382d832SPeter Avalos + add logic for KEY_BTAB. 24165382d832SPeter Avalos + use new function dlg_draw_buttons() to better manage the layout of 24175382d832SPeter Avalos yes/no/ok/cancel buttons. 24185382d832SPeter Avalos + another pass of cleanup of dialog.c, makes it use a single table for 24195382d832SPeter Avalos lookup of option names and help-message. Eliminated numerous 24205382d832SPeter Avalos adjustments to 'offset' variable. 24215382d832SPeter Avalos + on initialization, check if standard input is from a terminal. If 24225382d832SPeter Avalos not, open /dev/tty (fixes Debian #57771) 24235382d832SPeter Avalos 24245382d832SPeter Avalos2000/02/05 24255382d832SPeter Avalos + implement inline editing in textbox.c search dialog. 24265382d832SPeter Avalos + revise inputbox.c, allowing inline editing with arrow-keys. removed 24275382d832SPeter Avalos redundant logic in that module. 24285382d832SPeter Avalos + correct a typo that prevented rc-file configuration from building. 24295382d832SPeter Avalos + correct ifdef's to compile/run if the curses implementation does not 24305382d832SPeter Avalos support color. 24315382d832SPeter Avalos 24325382d832SPeter Avalos2000/01/23 24335382d832SPeter Avalos + improve test-case for gauge. 24345382d832SPeter Avalos + change gauge.c to show progress in reverse-video, add a check for 24355382d832SPeter Avalos end-of-file in the loop for reading new messages. 24365382d832SPeter Avalos + use curses whline() function to simplify print_arrows() logic in 24375382d832SPeter Avalos checklist.c and menubox.c 24385382d832SPeter Avalos + use curses beep() function rather than hardcoded strings. 24395382d832SPeter Avalos + correct several compiler warnings for gcc -pedantic (mismatch of 24405382d832SPeter Avalos const, signed/unsigned). 24415382d832SPeter Avalos + modify exiterr() to avoid possible expansion of '%'. 24425382d832SPeter Avalos + change CF_MATH_LIB configure macro to allow specifying a particular 24435382d832SPeter Avalos test-function. For dialog, this should be sqrt(). The macro was 24445382d832SPeter Avalos originally written for ncurses, which needs sin(). However, that is 24455382d832SPeter Avalos a builtin function on the m68k port (reported by Roman Hodek 24465382d832SPeter Avalos <Roman.Hodek@informatik.uni-erlangen.de>, this fixes Debian #55553). 24475382d832SPeter Avalos 24485382d832SPeter Avalos2000/01/18 24495382d832SPeter Avalos + update manpage (Debian #25648). 24505382d832SPeter Avalos + modify configure test for math library to avoid using a constant 24515382d832SPeter Avalos parameter to the test function, lest gcc optimize the call away 24525382d832SPeter Avalos (fixes Debian #55553). 24535382d832SPeter Avalos + restructure help-message so actual problem is indicated. The original 24545382d832SPeter Avalos help-message is shown if no parameters are given, or if the --help 24555382d832SPeter Avalos option is specified alone. 24565382d832SPeter Avalos + suppress xterm's alternate screen mode by sending an exit_ca_mode 24575382d832SPeter Avalos after initscr if the terminal looks like xterm, e.g., has key_mouse 24585382d832SPeter Avalos defined, and has private-mode escapes in both enter_ca_mode and 24595382d832SPeter Avalos exit_ca_mode (fixes Debian #55181). 24605382d832SPeter Avalos + change yellow lettering on white to blue on white, since it offers 24615382d832SPeter Avalos better contrast (fixes Debian #51196). 24625382d832SPeter Avalos + use napms() rather than sleep(). 24635382d832SPeter Avalos + some cleanup/simplification of main program. Indent'd dialog.c and 24645382d832SPeter Avalos util.c 24655382d832SPeter Avalos + eliminate several places where repeated options are treated as 24665382d832SPeter Avalos an error, since they are really executed once anyway. 24675382d832SPeter Avalos 24685382d832SPeter Avalos2000/01/15 24695382d832SPeter Avalos + remove pre-autoconf Makefile 24705382d832SPeter Avalos + remove sleep's from a few of the sample scripts, which left users 24715382d832SPeter Avalos thinking that dialog was slow to complete an action. 24725382d832SPeter Avalos + rewrote infobox sample script, using dialog's --sleep option and 24735382d832SPeter Avalos a loop in the script. 24745382d832SPeter Avalos + change 'ch' variable in tailbox.c to an integer, because it is 24755382d832SPeter Avalos compared against EOF (fixes Debian #53157). 24765382d832SPeter Avalos + corrected mandir variable in makefile.in (reported by Santiago Vila). 24775382d832SPeter Avalos + small changes to sample scripts, from Debian: rename "guage" script 24785382d832SPeter Avalos to "gauge", change path to copy of GPL used in textbox. 24795382d832SPeter Avalos + add uninstall rule to makefile.in, fixed some dependencies so 24805382d832SPeter Avalos "make install" works without first doing "make all". 24815382d832SPeter Avalos 24825382d832SPeter Avalos1999/12/25 24835382d832SPeter Avalos + use more portable scheme for tempfile generation in samples. 24845382d832SPeter Avalos + add a configure script, prefer to not use the original Makefile 24855382d832SPeter Avalos because it works only with GNU make. 24865382d832SPeter Avalos + correct prototype of 'main()', which misused const. 24875382d832SPeter Avalos + modify guage.c to use fgets() rather than gets(). 24885382d832SPeter Avalos + merge changes from Debian package maintainer 24895382d832SPeter Avalos Santiago Vila <sanvila@ctv.es>: 24905382d832SPeter Avalos 24915382d832SPeter Avalos 1999/10/07 24925382d832SPeter Avalos + add a password dialog box (Debian #45964, patch by Joey Hess). 24935382d832SPeter Avalos + implement "--defaultno" option to specify if the default for 24945382d832SPeter Avalos the yes/no box is "No" (Debian #46076, patch by Joey Hess). 24955382d832SPeter Avalos 1999/03/10 24965382d832SPeter Avalos + modify input.c to clear the input field to the right of the 24975382d832SPeter Avalos given string, to help with screen-refresh 24985382d832SPeter Avalos 1998/12/08 24995382d832SPeter Avalos + check for list_height less than one in checklist.c (Debian 25005382d832SPeter Avalos #22239). 25015382d832SPeter Avalos 1998/10/21 25025382d832SPeter Avalos + use function wscrl() in preference to scroll() in checklist.c 25035382d832SPeter Avalos and menubox.c (unclear: in ncurses, scroll() is a macro that 25045382d832SPeter Avalos uses wscrl()). 25055382d832SPeter Avalos + remove the "-I/usr/include/ncurses" option from Makefile 25065382d832SPeter Avalos since Debian does not install ncurses' header files into 25075382d832SPeter Avalos that directory. 25085382d832SPeter Avalos 1998/09/12 25095382d832SPeter Avalos + simplify menubox.c using new functions print_arrows() and 25105382d832SPeter Avalos print_items(). add logic to handle KEY_NPAGE and KEY_PPAGE 25115382d832SPeter Avalos (Debian #26326). 25125382d832SPeter Avalos + modifications to provide sample scripts (Debian #26211): 25135382d832SPeter Avalos + change sample scripts to use Debian tempfile utility rather 25145382d832SPeter Avalos than putting files into /tmp. 25155382d832SPeter Avalos + change sample scripts to use 'dialog' from user's path 25165382d832SPeter Avalos rather than in the parent directory as in the build 25175382d832SPeter Avalos directory. 25185382d832SPeter Avalos + use the system copy of GPL rather than that in the build 25195382d832SPeter Avalos directory as an example for the textbox script. 25205382d832SPeter Avalos 25215382d832SPeter Avalos1999/11/27 25225382d832SPeter Avalos + fix some gcc warnings about ambiguous use of "else" 25235382d832SPeter Avalos 25245382d832SPeter Avalos1999/05/01 25255382d832SPeter Avalos + cleaned up some of the redundant code with new functions: 25265382d832SPeter Avalos box_x_ordinate 25275382d832SPeter Avalos box_y_ordinate 25285382d832SPeter Avalos draw_title 25295382d832SPeter Avalos draw_bottom_box 25305382d832SPeter Avalos new_window 25315382d832SPeter Avalos 25325382d832SPeter Avalos + modified msgbox.c and yesno.c to work with the KEY_RESIZE sigwinch 25335382d832SPeter Avalos handling in ncurses 4.2 25345382d832SPeter Avalos 25355382d832SPeter Avalos + corrected spelling of "gauge" 25365382d832SPeter Avalos 25375382d832SPeter AvalosThe relevant portions of the Debian change log for the original version 25385382d832SPeter Avalos(dialog-0.9a-12) are abstracted here, omitting details of their packaging: 25395382d832SPeter Avalos 25405382d832SPeter Avalos1998/05/24 25415382d832SPeter Avalos 25425382d832SPeter Avalos + Replaced guage.c by the one in dialog 0.6z, which is known to work. 25435382d832SPeter Avalos Fixes Debian #18284: unstable dialog. 25445382d832SPeter Avalos 25455382d832SPeter Avalos1997/12/16 25465382d832SPeter Avalos 25475382d832SPeter Avalos + dialog.c: dialog_input_result printed with "%s" format. This was 25485382d832SPeter Avalos Debian #9913, fixed by Bill Mitchell, but the change was lost. 25495382d832SPeter Avalos + Pristine source, .depend is not removed in clean target. Instead, it 25505382d832SPeter Avalos is made zero length (otherwise it would not work *without* fakeroot). 25515382d832SPeter Avalos + Added '^U' support in input box (Debian #9915, patch by Joey Hess). 25525382d832SPeter Avalos + Wrote patch to fix core-dumping problem (Debian #13170). Sven Rudolph 25535382d832SPeter Avalos <sr1@inf.tu-dresden.de>: 25545382d832SPeter Avalos 2555*a8e38dc0SAntonio Huete Jimenez-- vile:fk=utf-8 2556