1*a96ef450SBaptiste Daroussin-- $Id: CHANGES,v 1.723 2021/01/17 20:21:41 tom Exp $ 24c8945a0SNathan Whitehorn-- Thomas E. Dickey <dickey@invisible-island.net> 34c8945a0SNathan Whitehorn 44c8945a0SNathan WhitehornThis version of dialog was originally from a Debian snapshot. I've done this 54c8945a0SNathan Whitehornto it: 64c8945a0SNathan Whitehorn 7*a96ef450SBaptiste Daroussin2021/01/17 8*a96ef450SBaptiste Daroussin + updated dialog.pot 9*a96ef450SBaptiste Daroussin + add option --no-hot-list, to allow suppressing the hotkey feature 10*a96ef450SBaptiste Daroussin from lists. 11*a96ef450SBaptiste Daroussin + increase minimum height of inputbox to avoid input field overlapping 12*a96ef450SBaptiste Daroussin with the button-box (report by Victor Ananjevsky). 13*a96ef450SBaptiste Daroussin + modify options-parsing to permit a "no" on any boolean option and 14*a96ef450SBaptiste Daroussin deprecating the "no" options without a "-" , e.g., generalizing on 15*a96ef450SBaptiste Daroussin "--nook" equivalence to "--no-ok". 16*a96ef450SBaptiste Daroussin 17*a96ef450SBaptiste Daroussin2021/01/12 18*a96ef450SBaptiste Daroussin + minor spelling fixes, per codespell 19*a96ef450SBaptiste Daroussin + update configure macros, for quoting/escaping fixes per shellcheck 20*a96ef450SBaptiste Daroussin + update config.guess, config.sub 21*a96ef450SBaptiste Daroussin 22*a96ef450SBaptiste Daroussin2020/11/26 23*a96ef450SBaptiste Daroussin + modify configure script's compiler check to work around Xcode's 24*a96ef450SBaptiste Daroussin useless aliases for standard C. 25*a96ef450SBaptiste Daroussin + enable keep-tite feature for NetBSD 8 and up; earlier releases would 26*a96ef450SBaptiste Daroussin dump core. 27*a96ef450SBaptiste Daroussin > new features/fixes (Glenn Herteg) 28*a96ef450SBaptiste Daroussin + add option "--cursor-off-label" 29*a96ef450SBaptiste Daroussin + add option "--erase-on-exit" 30*a96ef450SBaptiste Daroussin + fix errata in manpage. 31*a96ef450SBaptiste Daroussin + fix logic: dlg_button_to_char() would return wrong value if no 32*a96ef450SBaptiste Daroussin uppercase was found 33*a96ef450SBaptiste Daroussin 34*a96ef450SBaptiste Daroussin2020/11/25 35*a96ef450SBaptiste Daroussin + add DIALOG_TIMEOUT to sample scripts, and use report-button more 36*a96ef450SBaptiste Daroussin consistently to handle unexpected exit-status values. 37*a96ef450SBaptiste Daroussin 38*a96ef450SBaptiste Daroussin2020/11/24 39*a96ef450SBaptiste Daroussin + add dlg_getenv_num() and dlg_getenv_str(). 40*a96ef450SBaptiste Daroussin + add DLG_EXIT_TIMEOUT to allow scripts to exit on an expired timeout 41*a96ef450SBaptiste Daroussin with an exit-status different from DLG_EXIT_ERROR or DLG_EXIT_ESC 42*a96ef450SBaptiste Daroussin (patch by Norbert Koch). 43*a96ef450SBaptiste Daroussin 44*a96ef450SBaptiste Daroussin2020/11/23 45*a96ef450SBaptiste Daroussin + modify dlg_ok_label() and dlg_ok_labels() to ignore --no-ok if all 46*a96ef450SBaptiste Daroussin buttons would be omitted. 47*a96ef450SBaptiste Daroussin + add/use dlg_der_window() to account for derived windows just like 48*a96ef450SBaptiste Daroussin subwindows, to fix regression in dlg_getc() in fselect/dselect 49*a96ef450SBaptiste Daroussin widget. 50*a96ef450SBaptiste Daroussin + modify several widgets to make their handling of --no-ok consistent 51*a96ef450SBaptiste Daroussin with the majority of the widgets: editbox.c, menubox.c, msgbox.c, 52*a96ef450SBaptiste Daroussin rangebox.c, textbox.c, timebox.c 53*a96ef450SBaptiste Daroussin + add ^D as binding for new virtual key DLGK_LEAVE, which will close 54*a96ef450SBaptiste Daroussin the current dialog by activating the currently-selected button. 55*a96ef450SBaptiste Daroussin + improve manual-page description of --no-ok option (reports by 56*a96ef450SBaptiste Daroussin Hans Mueller, Gil Delescluse). 57*a96ef450SBaptiste Daroussin + modify configure script to make Solaris -R rpath feature work 58*a96ef450SBaptiste Daroussin 59*a96ef450SBaptiste Daroussin2020/11/21 60*a96ef450SBaptiste Daroussin + fix regression in dlg_getc() caused by not taking into account 61*a96ef450SBaptiste Daroussin subwindows used for input (report by Michael Wihl). 62*a96ef450SBaptiste Daroussin 63*a96ef450SBaptiste Daroussin2020/11/20 64*a96ef450SBaptiste Daroussin + add validity-checks for window pointer (report/testcase by Michael 65*a96ef450SBaptiste Daroussin Wihl). 66*a96ef450SBaptiste Daroussin + improve configure macros: 67*a96ef450SBaptiste Daroussin CF_CLANG_COMPILER: apply compiler-flags needed for test. 68*a96ef450SBaptiste Daroussin CF_WITH_SCREEN_PDCURSES: use this to reduce X11-checks. 69*a96ef450SBaptiste Daroussin 70*a96ef450SBaptiste Daroussin2020/11/17 71*a96ef450SBaptiste Daroussin + amend initialization for dlg_getc to fix regression in pause widget 72*a96ef450SBaptiste Daroussin from 2020/03/27 changes (reports by Aidan Tessier, Norbert Koch, 73*a96ef450SBaptiste Daroussin Josmar Pierri). 74*a96ef450SBaptiste Daroussin + improve configure macros: 75*a96ef450SBaptiste Daroussin CF_CLANG_COMPILER: split-out check for -Qunused-arguments to ensure 76*a96ef450SBaptiste Daroussin that clang supports it. IBM xlclang does not. 77*a96ef450SBaptiste Daroussin CF_MIXEDCASE_FILENAMES: when cross-compiling to darwin (macOS), 78*a96ef450SBaptiste Daroussin assume the filesystem doesn't support mixed-case 79*a96ef450SBaptiste Daroussin 80*a96ef450SBaptiste Daroussin2020/09/21 81*a96ef450SBaptiste Daroussin + modify init_dialog's initialization of tab_len and aspect_ratio to 82*a96ef450SBaptiste Daroussin avoid overwriting initialization done in process_common_options 83*a96ef450SBaptiste Daroussin (report/patch by Rainer Weikusat, Debian #970508). 84*a96ef450SBaptiste Daroussin 85*a96ef450SBaptiste Daroussin2020/09/13 86*a96ef450SBaptiste Daroussin + fix out-of-order description for --tailbox vs --rangebox in manpage 87*a96ef450SBaptiste Daroussin (report by Glenn Herteg). 88*a96ef450SBaptiste Daroussin + updated configure-macros: compiler-warnings and shared-library 89*a96ef450SBaptiste Daroussin options. Changed configure --with-warnings to --enable-warnings for 90*a96ef450SBaptiste Daroussin consistency. 91*a96ef450SBaptiste Daroussin + update config.guess 92*a96ef450SBaptiste Daroussin 93*a96ef450SBaptiste Daroussin2020/04/01 94*a96ef450SBaptiste Daroussin + updated sq.po from 95*a96ef450SBaptiste Daroussin http://translationproject.org/latest/dialog/ 96*a96ef450SBaptiste Daroussin 97*a96ef450SBaptiste Daroussin2020/03/27 98*a96ef450SBaptiste Daroussin + add clarification in manual page to show when the single/double 99*a96ef450SBaptiste Daroussin quotes may be needed (prompted by discussion with Danilo G Baio). 100*a96ef450SBaptiste Daroussin + fix an extra ".exe" in makefile.in which prevented Cygwin build. 101*a96ef450SBaptiste Daroussin + fix most cppcheck warnings 102*a96ef450SBaptiste Daroussin + tailbox/tailboxbg's exit-button now works with mouse-clicks 103*a96ef450SBaptiste Daroussin + fix repainting while resizing for the editbox widget. 104*a96ef450SBaptiste Daroussin + add configure-check for curses_exit() from ncurses 6.2 105*a96ef450SBaptiste Daroussin + fix a few memory leaks in fselect.c, mixedgauge.c when resizing. 106*a96ef450SBaptiste Daroussin + fix inconsistency in dlg_string_to_argv() which made the checklist9 107*a96ef450SBaptiste Daroussin example not work. 108*a96ef450SBaptiste Daroussin + add empty-string check in dlg_print_listitem() to avoid indexing past 109*a96ef450SBaptiste Daroussin the end of the array of character-offsets. 110*a96ef450SBaptiste Daroussin + improve handling of KEY_RESIZE by repainting the backtitle after 111*a96ef450SBaptiste Daroussin clearing the screen (integrated patch by Rainer Weikusat, Debian 112*a96ef450SBaptiste Daroussin #954185). 113*a96ef450SBaptiste Daroussin + improve logic for wtimeout() calls which are used to set temporary 114*a96ef450SBaptiste Daroussin non-blocking reads (prompted by patch by Rainer Weikusat, Debian 115*a96ef450SBaptiste Daroussin #954220). 116*a96ef450SBaptiste Daroussin + add "make check" rule. 117*a96ef450SBaptiste Daroussin + updated configure-macros. 118*a96ef450SBaptiste Daroussin 119*a96ef450SBaptiste Daroussin2020/02/28 120*a96ef450SBaptiste Daroussin + updated configure-macros, to work around ncurses vs xcode's c99 -W 121*a96ef450SBaptiste Daroussin + update config.guess 122*a96ef450SBaptiste Daroussin 123*a96ef450SBaptiste Daroussin2019/12/31 124*a96ef450SBaptiste Daroussin + updated configure-macros. 125*a96ef450SBaptiste Daroussin + update config.guess 126*a96ef450SBaptiste Daroussin 127*a96ef450SBaptiste Daroussin2019/12/10 128*a96ef450SBaptiste Daroussin + correct rc-file lookup of "default" color (report by Grady Martin, 129*a96ef450SBaptiste Daroussin cf: 2019/09/24). 130*a96ef450SBaptiste Daroussin + fix several issues in the sample scripts reported by shellcheck. 131*a96ef450SBaptiste Daroussin + fix a few spelling errors reported by codespell (report by Jens 132*a96ef450SBaptiste Daroussin Schleusener). 133*a96ef450SBaptiste Daroussin + correct check for return-value of isblank(), which is not necessarily 134*a96ef450SBaptiste Daroussin 0/1 (report/patch by Paul Cercueil, Peter Korsgaard, cf: 2018/05/31). 135*a96ef450SBaptiste Daroussin 136*a96ef450SBaptiste Daroussin2019/12/09 137*a96ef450SBaptiste Daroussin + amend change for parsing command-options before calling init_dialog, 138*a96ef450SBaptiste Daroussin to handle --no-shadow, etc., which are initialized in init_dialog 139*a96ef450SBaptiste Daroussin (report by Paul Cercueil, cf: 2018/06/21). 140*a96ef450SBaptiste Daroussin + add dlg_trace_va_msg to manpage, symbol files. 141*a96ef450SBaptiste Daroussin 142*a96ef450SBaptiste Daroussin2019/11/10 143*a96ef450SBaptiste Daroussin + improve layout of several widgets' data area when maximizing. 144*a96ef450SBaptiste Daroussin + modify dselect/fselect to work with autosizing (Debian #915949). 145*a96ef450SBaptiste Daroussin + add error messages from dlg_exiterr() to trace file. 146*a96ef450SBaptiste Daroussin + improve manual page description of escaping in key-bindings. 147*a96ef450SBaptiste Daroussin + modify inputmenu to recognize the "Cancel" button and keys bound to 148*a96ef450SBaptiste Daroussin that feature while editing a renamed menu item. 149*a96ef450SBaptiste Daroussin + revert one change, in form.c to the --last-key feature (Debian 150*a96ef450SBaptiste Daroussin #942025). 151*a96ef450SBaptiste Daroussin + correct ordering of libraries in configure-script, which appended 152*a96ef450SBaptiste Daroussin in a case where it should have prepended. 153*a96ef450SBaptiste Daroussin + update config.guess, config.sub 154*a96ef450SBaptiste Daroussin 155*a96ef450SBaptiste Daroussin2019/09/26 156*a96ef450SBaptiste Daroussin + improve dialog-config script's filtering of -L options using the 157*a96ef450SBaptiste Daroussin linker default directories. 158*a96ef450SBaptiste Daroussin + improve dialog-config script, adding a -L option corresponding to 159*a96ef450SBaptiste Daroussin the configure --libdir option if it would be a duplicate (report by 160*a96ef450SBaptiste Daroussin Andrew Kosteltsev). 161*a96ef450SBaptiste Daroussin + build-fix for configure --disable-trace 162*a96ef450SBaptiste Daroussin + updated pt.po from 163*a96ef450SBaptiste Daroussin http://translationproject.org/latest/dialog/ 164*a96ef450SBaptiste Daroussin 165*a96ef450SBaptiste Daroussin2019/09/24 166*a96ef450SBaptiste Daroussin + allow for underline- and reverse-video flags in the ".rc" file 167*a96ef450SBaptiste Daroussin (integrated patch by Richard Robbins). 168*a96ef450SBaptiste Daroussin 169*a96ef450SBaptiste Daroussin2019/08/08 170*a96ef450SBaptiste Daroussin + amend change to --last-key feature to eliminate an unnecessary 171*a96ef450SBaptiste Daroussin separator (report by Gabriele Balducci). 172*a96ef450SBaptiste Daroussin 173*a96ef450SBaptiste Daroussin2019/08/06 174*a96ef450SBaptiste Daroussin + extend --last-key feature to the remaining widgets which have 175*a96ef450SBaptiste Daroussin ok/cancel buttons, and add logic to map keys which happen to be 176*a96ef450SBaptiste Daroussin bound to ok/extra/cancel/help to simulate a button-press on the 177*a96ef450SBaptiste Daroussin corresponding button (report by "sgewrk"). 178*a96ef450SBaptiste Daroussin 179*a96ef450SBaptiste Daroussin2019/08/01 180*a96ef450SBaptiste Daroussin + further fixes for dialog-config.in (report by Andrew Kosteltsev). 181*a96ef450SBaptiste Daroussin 182*a96ef450SBaptiste Daroussin2019/07/28 183*a96ef450SBaptiste Daroussin + modify dialog-config.in so that setting prefix or exec-prefix to 184*a96ef450SBaptiste Daroussin a given value with --prefix=VALUE or --exec-prefix=VALUE has the 185*a96ef450SBaptiste Daroussin expected result of changing bindir, etc. 186*a96ef450SBaptiste Daroussin + correct substitution for $LIBS value in dialog-config.in (report by 187*a96ef450SBaptiste Daroussin Andrew Kosteltsev). 188*a96ef450SBaptiste Daroussin 189*a96ef450SBaptiste Daroussin2019/07/24 190*a96ef450SBaptiste Daroussin + modify dlg_will_resize() and dlg_result_key() functions to reduce 191*a96ef450SBaptiste Daroussin the chance that dialog exits on a SIGWINCH (Debian #930775). 192*a96ef450SBaptiste Daroussin + make test-package for the development headers/library 193*a96ef450SBaptiste Daroussin + add --libs-only-L, etc., to dialog-config script (prompted by 194*a96ef450SBaptiste Daroussin discussion with Andrew Kosteltsev). 195*a96ef450SBaptiste Daroussin + fix a memory leak in gauge widget (Andrew Kosteltsev). 196*a96ef450SBaptiste Daroussin + minor fix for CF_GCC_WARNINGS 197*a96ef450SBaptiste Daroussin + update config.guess, config.sub 198*a96ef450SBaptiste Daroussin 199*a96ef450SBaptiste Daroussin2019/02/11 200*a96ef450SBaptiste Daroussin + modify to work with ncurses' threaded-library, which does not allow 201*a96ef450SBaptiste Daroussin assignment to LINES/COLS (report by Marcus Roeckrath). 202*a96ef450SBaptiste Daroussin + correct clearing after text in progressbox from 2018/06/21 changes 203*a96ef450SBaptiste Daroussin for resizing (reports by David Boyd, Alan Somers). 204*a96ef450SBaptiste Daroussin + improved configure macros CF_GNU_SOURCE, CF_POSIX_C_SOURCE, 205*a96ef450SBaptiste Daroussin CF_XOPEN_SOURCE 206*a96ef450SBaptiste Daroussin + update config.guess, config.sub 207*a96ef450SBaptiste Daroussin 208*a96ef450SBaptiste Daroussin2018/11/07 209*a96ef450SBaptiste Daroussin + convert ja.po to UTF-8 for consistency (suggested by Stanislav 210*a96ef450SBaptiste Daroussin Brabec). 211*a96ef450SBaptiste Daroussin + repair mis-encoded hi.po (report/analysis by Stanislav Brabec). 212*a96ef450SBaptiste Daroussin 213*a96ef450SBaptiste Daroussin2018/10/22 214*a96ef450SBaptiste Daroussin + improved configure macros CF_CC_ENV_FLAGS, CF_LD_RPATH_OPT, 215*a96ef450SBaptiste Daroussin CF_LIBRARY_PATH, CF_SHARED_OPTS, CF_WITH_MAN2HTML, 216*a96ef450SBaptiste Daroussin CF_WITH_VERSIONED_SYMS from ncurses 217*a96ef450SBaptiste Daroussin + add ast.po, from 218*a96ef450SBaptiste Daroussin http://translationproject.org/latest/dialog/ 219*a96ef450SBaptiste Daroussin 220f4f33ea0SBaptiste Daroussin2018/06/21 221f4f33ea0SBaptiste Daroussin + improve file-offset computation in textbox.c (Werner Fink). 222f4f33ea0SBaptiste Daroussin + fix an overlooked case with real_auto_size() to maximize when 223f4f33ea0SBaptiste Daroussin height or width is given as -1. 224f4f33ea0SBaptiste Daroussin + build-fixes for configure options "--disable-Xdialog2" and 225f4f33ea0SBaptiste Daroussin "--disable-form" 226f4f33ea0SBaptiste Daroussin + add traces for each widget to show its parameters. 227f4f33ea0SBaptiste Daroussin + modify color scheme for mixedgauge to use the dialog window colors, 228f4f33ea0SBaptiste Daroussin like the captions. 229f4f33ea0SBaptiste Daroussin + fix a too-small malloc in the mixedgauge widget. 230f4f33ea0SBaptiste Daroussin + fix a use-after-free in dlg_remove_callback(). 231f4f33ea0SBaptiste Daroussin + improve handling of SIGWINCH for several widgets (Debian #865840). 232f4f33ea0SBaptiste Daroussin + menubox, the point of the Debian report was that it would be nice 233f4f33ea0SBaptiste Daroussin to increase the window size if the terminal size increases. Did 234f4f33ea0SBaptiste Daroussin that as a special case less problematic than decreasing the 235f4f33ea0SBaptiste Daroussin terminal size. Added samples/menubox11 to demonstrate by 236f4f33ea0SBaptiste Daroussin comparison with menubox10 a problem with debconf which puts extra 237f4f33ea0SBaptiste Daroussin newlines in the caption that interfere with autowrap. 238f4f33ea0SBaptiste Daroussin + progressbox and derived prgbox, programbox, now handle resizing. 239f4f33ea0SBaptiste Daroussin + yesno, window was cleared 240f4f33ea0SBaptiste Daroussin + add dlg_ttysize() to support new options, allowing scripts to obtain 241f4f33ea0SBaptiste Daroussin some text-formatting details without initializing the terminal. 242f4f33ea0SBaptiste Daroussin + add options --print-text-only, and --print-text-size for scripts that 243f4f33ea0SBaptiste Daroussin adjust the widget size according to how the captions are formatted. 244f4f33ea0SBaptiste Daroussin + improve dialog.pl: 245f4f33ea0SBaptiste Daroussin + add demo.pl, to demonstrate the functions 246f4f33ea0SBaptiste Daroussin + quote/escape string parameters passed to dialog. 247f4f33ea0SBaptiste Daroussin + ensure all "integer" parameters are really integers. 248f4f33ea0SBaptiste Daroussin + use actual screensize for list captions rather than assuming 24 249f4f33ea0SBaptiste Daroussin lines. 250f4f33ea0SBaptiste Daroussin + when trimming blanks, treat unconverted tabs the same as spaces. 251f4f33ea0SBaptiste Daroussin + correct parameter to test when trimming blanks from the script, 252f4f33ea0SBaptiste Daroussin e.g., with "--trim" (report by Jarno Suni). 253f4f33ea0SBaptiste Daroussin + improve documentation of the various whitespace-filtering options, 254f4f33ea0SBaptiste Daroussin to show which take precedence (Debian #867536, cf: Debian #102942). 255f4f33ea0SBaptiste Daroussin + modify msgbox.c, yesno.c to bind SCROLLKEY_BINDINGS before 256f4f33ea0SBaptiste Daroussin TRAVERSE_BINDINGS so that up/down arrow will by default scroll the 257f4f33ea0SBaptiste Daroussin message up/down rather than be aliases for tab-traversal (report by 258f4f33ea0SBaptiste Daroussin Fredrik Kers). 259f4f33ea0SBaptiste Daroussin + modify dump_one_binding() to show when a binding is overridden. 260f4f33ea0SBaptiste Daroussin + improve format of trace-file, making comment-syntax consistent, 261f4f33ea0SBaptiste Daroussin as well as showing argv-splitting as a series of comments. 262f4f33ea0SBaptiste Daroussin + modify dlg_string_to_argv() to change the quoting behavior to be 263f4f33ea0SBaptiste Daroussin more consistent with shell behavior (patch by Denilson Sa Maia). 264f4f33ea0SBaptiste Daroussin + modify dlg_getc() to return ESC when a timeout expires, notifying 265f4f33ea0SBaptiste Daroussin callers that a quit occurred rather than exiting the application 266f4f33ea0SBaptiste Daroussin (suggested by Rodrigo Freitas). 267f4f33ea0SBaptiste Daroussin + modify handle_inputs() to ensure cursor-visibility is restored when 268f4f33ea0SBaptiste Daroussin there is no input character available (report by Guillaume Vareille). 269f4f33ea0SBaptiste Daroussin + improve comment in manual page regarding which widgets can use the 270f4f33ea0SBaptiste Daroussin "--help-button" (prompted by discussion with Csanyi Pal). 271f4f33ea0SBaptiste Daroussin + add a check for valid object pointer in tailbox's main loop since 272f4f33ea0SBaptiste Daroussin the getc-callback may have been freed within ui_getc.c (report by 273f4f33ea0SBaptiste Daroussin "David"). 274f4f33ea0SBaptiste Daroussin + improved configure macros for ncurses: CF_GNU_SOURCE, CF_SHARED_OPTS, 275f4f33ea0SBaptiste Daroussin CF_CURSES_LIBS, CF_CURSES_FUNCS, CF_NCURSES_CONFIG 276f4f33ea0SBaptiste Daroussin + improved configure script checks for groff vs man2html: 277f4f33ea0SBaptiste Daroussin CF_PROG_GROFF and CF_WITH_MAN2HTML 278f4f33ea0SBaptiste Daroussin + build-fix from lynx for AM_WITH_NLS configure macro 279f4f33ea0SBaptiste Daroussin + update config.guess, config.sub 280f4f33ea0SBaptiste Daroussin 281f4f33ea0SBaptiste Daroussin2017/12/09 282f4f33ea0SBaptiste Daroussin + update ftp url in test-packages. 283f4f33ea0SBaptiste Daroussin + modify test-packages to use recommended compiler/linker flags. 284f4f33ea0SBaptiste Daroussin + improved configure macros AM_WITH_NLS, CF_CC_ENV_FLAGS, 285f4f33ea0SBaptiste Daroussin CF_CURSES_LIBS, CF_NCURSES_CONFIG, CF_SHARED_OPTS, CF_WITH_LIBTOOL, 286f4f33ea0SBaptiste Daroussin CF__INTL_BODY. 287f4f33ea0SBaptiste Daroussin + update config.guess, config.sub 288f4f33ea0SBaptiste Daroussin 289f4f33ea0SBaptiste Daroussin2017/05/09 290f4f33ea0SBaptiste Daroussin + improved configure macros CF_ADD_CFLAGS, CF_CC_ENV_FLAGS, and 291f4f33ea0SBaptiste Daroussin CF_SHARED_OPTS. 292f4f33ea0SBaptiste Daroussin + updated hu.po and tr.po from 293f4f33ea0SBaptiste Daroussin http://translationproject.org/latest/dialog/ 294f4f33ea0SBaptiste Daroussin + update config.guess, config.sub 295f4f33ea0SBaptiste Daroussin 296f4f33ea0SBaptiste Daroussin2017/01/31 297f4f33ea0SBaptiste Daroussin + use DLG_TRACE macro consistently to make "--disable-trace" configure 298f4f33ea0SBaptiste Daroussin option work. 299f4f33ea0SBaptiste Daroussin + modify buildlist widget to support option "--reorder" for to allow 300f4f33ea0SBaptiste Daroussin user to reorder the data based on the sequence of selections 301f4f33ea0SBaptiste Daroussin (discussion with Paraic O'Ceallaigh). 302f4f33ea0SBaptiste Daroussin + fill background color on unused parts of buildlist. 303f4f33ea0SBaptiste Daroussin + fix a minor error in buildlist which let pageup switch columns. 304f4f33ea0SBaptiste Daroussin + change several calls to dlg_trace_msg to prefix with "#" to make 305f4f33ea0SBaptiste Daroussin the trace logs more consistent for parsing. 306f4f33ea0SBaptiste Daroussin + add samples/run_test.sh 307f4f33ea0SBaptiste Daroussin + further improve performance with very long command-lines by changes 308f4f33ea0SBaptiste Daroussin to howmany_tags(). 309f4f33ea0SBaptiste Daroussin + modify dlg_string_to_argv() to convert escaped double-quotes to 310f4f33ea0SBaptiste Daroussin plain double-quotes when within a double-quoted string. 311f4f33ea0SBaptiste Daroussin + modify makefile to apply CFLAGS to linking 312f4f33ea0SBaptiste Daroussin + modify dlg_string_to_argv() to ignore escaped newlines except when 313f4f33ea0SBaptiste Daroussin quoted, fixing a problem with samples/checklist9. 314f4f33ea0SBaptiste Daroussin + interpret $DIALOGOPTS before expanding "--file", etc., to allow 315f4f33ea0SBaptiste Daroussin the environment variable to turn on tracing in that process. 316f4f33ea0SBaptiste Daroussin + improve performance when processing very long command lines, e.g., 317f4f33ea0SBaptiste Daroussin using "--file" by changing dialog_opts[] to an array of pointers to 318f4f33ea0SBaptiste Daroussin the expanded argv[] (discussion with Lars Tauber). 319f4f33ea0SBaptiste Daroussin + modified autoconf macros 320f4f33ea0SBaptiste Daroussin + CF_CC_ENV_FLAGS amend the last change to move only the 321f4f33ea0SBaptiste Daroussin preprocessor, optimization and warning flags to CPPFLAGS and 322f4f33ea0SBaptiste Daroussin CFLAGS, leaving the residue in CC. That happens to work for gcc's 323f4f33ea0SBaptiste Daroussin various "model" options, but may require tuning for other compilers 324f4f33ea0SBaptiste Daroussin + CF_LARGEFILE workaround for clang exit-code vs warnings 325f4f33ea0SBaptiste Daroussin + CF_MATH_LIB quiet strict gcc warning 326f4f33ea0SBaptiste Daroussin + CF_WITH_LIBTOOL fix a few places in configure/build scripts where 327f4f33ea0SBaptiste Daroussin DESTDIR and rpath were combined 328f4f33ea0SBaptiste Daroussin + CF_XOPEN_SOURCE add "uclinux" to list of Linux's 329f4f33ea0SBaptiste Daroussin + update config.guess, config.sub 330f4f33ea0SBaptiste Daroussin 331f4f33ea0SBaptiste Daroussin2016/11/20 332f4f33ea0SBaptiste Daroussin + added fur.po (Friulian) from 333f4f33ea0SBaptiste Daroussin http://translationproject.org/latest/dialog/ 334f4f33ea0SBaptiste Daroussin 335f4f33ea0SBaptiste Daroussin2016/08/28 336f4f33ea0SBaptiste Daroussin + improve parsing and trace for "bindkey", to convert space to/from 337f4f33ea0SBaptiste Daroussin "\s", as well as handle octal escapes for single byte characters. 338f4f33ea0SBaptiste Daroussin + change explicit checks for space character used for select or toggle 339f4f33ea0SBaptiste Daroussin to make this rebindable to "TOGGLE" (prompted by discussion with 340f4f33ea0SBaptiste Daroussin Paul van Tilburg). 341f4f33ea0SBaptiste Daroussin + add default bindings for cursor left/right to formbox. The cursor 342f4f33ea0SBaptiste Daroussin left/right cases were replaced with rebindable symbols in 2005/12/07 343f4f33ea0SBaptiste Daroussin without providing these keys as default values (report/patch by 344f4f33ea0SBaptiste Daroussin Miroslav Lichvar). 345f4f33ea0SBaptiste Daroussin + modified autoconf macros 346f4f33ea0SBaptiste Daroussin + CF_PROG_LINT add cpplint to programs to use; drop ad hoc tdlint and 347f4f33ea0SBaptiste Daroussin alint. 348f4f33ea0SBaptiste Daroussin + CF_CC_ENV_FLAGS don't limit the check to -I, -U and -D options, 349f4f33ea0SBaptiste Daroussin since the added options can include various compiler options before 350f4f33ea0SBaptiste Daroussin and after preprocessor options. 351f4f33ea0SBaptiste Daroussin + CF_GNU_SOURCE recent glibc (Debian 2.23-4 for example) has 352f4f33ea0SBaptiste Daroussin misordered ifdef/checks for new symbol _DEFAULT_SOURCE, producing 353f4f33ea0SBaptiste Daroussin warning messages when only _GNU_SOURCE is defined. Add a followup 354f4f33ea0SBaptiste Daroussin check to define _DEFAULT_SOURCE. 355f4f33ea0SBaptiste Daroussin + CF_XOPEN_SOURCE use _GNU_SOURCE for cygwin headers, tested with 356f4f33ea0SBaptiste Daroussin cygwin 2.3, 2.5 (patch by Corinna Vinschen). 357f4f33ea0SBaptiste Daroussin + mention --no-collapse option in manual page description of 358f4f33ea0SBaptiste Daroussin --tab-correct option. 359f4f33ea0SBaptiste Daroussin + update config.guess, config.sub 360f4f33ea0SBaptiste Daroussin 361f4f33ea0SBaptiste Daroussin2016/04/24 362f4f33ea0SBaptiste Daroussin + fix a special case in drawing shadow on a line-drawing cell where the 363f4f33ea0SBaptiste Daroussin alternate-character set flag was lost (report by Martin Kravec). 364f4f33ea0SBaptiste Daroussin + fix a regression from 2015/05/13 changes for escaping; it is 365f4f33ea0SBaptiste Daroussin necessary to retain backslashes within quotes to make "\Z" escapes 366f4f33ea0SBaptiste Daroussin work (report by Marcin Krol). 367f4f33ea0SBaptiste Daroussin + fix test package for RPMs; changes in 2015 omitted symbolic links 368f4f33ea0SBaptiste Daroussin for the library. 369f4f33ea0SBaptiste Daroussin + fix typo in help message for "--buildlist" (report by Rihards Olups). 370f4f33ea0SBaptiste Daroussin + modified autoconf macros 371f4f33ea0SBaptiste Daroussin + CF_PROG_AR, CF_AR_FLAGS added to improve check for archive tool. 372f4f33ea0SBaptiste Daroussin + CF_LD_RPATH_OPT, change FreeBSD to use -Wl,-rpath rather than 373f4f33ea0SBaptiste Daroussin -rpath option. According to FreeBSD #178732, either works since 374f4f33ea0SBaptiste Daroussin FreeBSD 4.x; however scons does not accept anything except the 375f4f33ea0SBaptiste Daroussin -Wl,-rpath form. 376f4f33ea0SBaptiste Daroussin + CF_WITH_NCURSES_ETC, change from ncurses to check for pthreads 377f4f33ea0SBaptiste Daroussin dependency. 378f4f33ea0SBaptiste Daroussin 379f4f33ea0SBaptiste Daroussin2016/02/09 380f4f33ea0SBaptiste Daroussin + modify editbox widget to add a trailing newline if the text has none 381f4f33ea0SBaptiste Daroussin to ensure the last line is not ignored (report by Florent Rougon). 382f4f33ea0SBaptiste Daroussin + change mouse initialization to look for button-presses rather than 383f4f33ea0SBaptiste Daroussin button-clicks, for better response. 384f4f33ea0SBaptiste Daroussin + modify dump_curses_key() to show mouse-coding in readable form. 385f4f33ea0SBaptiste Daroussin + correct mapping of mouse-clicks on the day-grid in calendar widget 386f4f33ea0SBaptiste Daroussin when "--week-start" is used to set the start of the week (report by 387f4f33ea0SBaptiste Daroussin Stefan Vogtner). 388f4f33ea0SBaptiste Daroussin > integrated changes from Stefan Vogtner: 389f4f33ea0SBaptiste Daroussin + use Gregorian algorithm for leap year 390f4f33ea0SBaptiste Daroussin + use mktime if available; calendar was written just as it became 391f4f33ea0SBaptiste Daroussin standard. 392f4f33ea0SBaptiste Daroussin 393f4f33ea0SBaptiste Daroussin2016/01/26 - release 1.3 394f4f33ea0SBaptiste Daroussin + correct --infobox documentation, which said it shows an OK button. 395f4f33ea0SBaptiste Daroussin + fix a couple of place in test-scripts which referred to $SIG_TRAP 396f4f33ea0SBaptiste Daroussin rather than $SIG_QUIT 397f4f33ea0SBaptiste Daroussin + reorganize dialog.3, to use subsections for generating navigation 398f4f33ea0SBaptiste Daroussin pane, using man2html 399f4f33ea0SBaptiste Daroussin + add "--week-start" option for calendar widget (prompted by discussion 400f4f33ea0SBaptiste Daroussin with Stefan Vogtner). 401f4f33ea0SBaptiste Daroussin + add a limit-check in editbox.c to ensure that mouse-clicks outside 402f4f33ea0SBaptiste Daroussin the filled-in text area do not access past the end of the array 403f4f33ea0SBaptiste Daroussin (report by Stefan Vogtner). 404f4f33ea0SBaptiste Daroussin + update configure macros from ncurses changes. 405f4f33ea0SBaptiste Daroussin + update config.guess, config.sub 406f4f33ea0SBaptiste Daroussin 407f4f33ea0SBaptiste Daroussin2015/09/20 408f4f33ea0SBaptiste Daroussin + decrease table value for minimum number of arguments for the widgets 409f4f33ea0SBaptiste Daroussin which use --no-items option (report by Raven Singularity). 410f4f33ea0SBaptiste Daroussin + update configure macros: 411f4f33ea0SBaptiste Daroussin + use $SHELL consistently, deprecate non-POSIX shell 412f4f33ea0SBaptiste Daroussin + PKG_CONFIG may simply be unset - fix 413f4f33ea0SBaptiste Daroussin + add option to allow changing ABI version, from ncurses6. 414f4f33ea0SBaptiste Daroussin 415f4f33ea0SBaptiste Daroussin2015/05/28 416f4f33ea0SBaptiste Daroussin + fixes for two autoconf macros, CF_ADD_INCDIR and CF_NCURSES_CONFIG 417f4f33ea0SBaptiste Daroussin from work on ncurses. 418f4f33ea0SBaptiste Daroussin + build-fix for NetBSD curses (patch by Matthias Scheler). 419f4f33ea0SBaptiste Daroussin 420f4f33ea0SBaptiste Daroussin2015/05/13 421f4f33ea0SBaptiste Daroussin + add configure option --with-install-prefix, like ncurses. 422f4f33ea0SBaptiste Daroussin + add --with-screen and related configure options from ncurses-examples 423f4f33ea0SBaptiste Daroussin to allow building with ncurses6 test-packages. 424f4f33ea0SBaptiste Daroussin + update configure macros for improved coding style from lynx changes. 425f4f33ea0SBaptiste Daroussin + updated ro.po from 426f4f33ea0SBaptiste Daroussin http://translationproject.org/latest/dialog/ 427f4f33ea0SBaptiste Daroussin + update config.guess, config.sub 428f4f33ea0SBaptiste Daroussin > patches by Florent Rougon: 429f4f33ea0SBaptiste Daroussin + fix two bugs in the "--file" option. 430f4f33ea0SBaptiste Daroussin + When the number of arguments read from the included file is 0, the 431f4f33ea0SBaptiste Daroussin code used to just skip over '--file' and its argument instead of 432f4f33ea0SBaptiste Daroussin removing them from the argument list, causing "Error: Unknown 433f4f33ea0SBaptiste Daroussin option --file" later on. 434f4f33ea0SBaptiste Daroussin + In the alternative case (at least one argument read from the file), 435f4f33ea0SBaptiste Daroussin the previous code used to do '--j;' in order to "force rescan" of 436f4f33ea0SBaptiste Daroussin the inserted arguments. However, control then flowed to outer 437f4f33ea0SBaptiste Daroussin blocks where a '++j;' counteracted this measure, causing "Error: 438f4f33ea0SBaptiste Daroussin Unknown option --msgbox" (for instance) later on. 439f4f33ea0SBaptiste Daroussin + modify escaping in argv.c to be more uniform, whether or not the 440f4f33ea0SBaptiste Daroussin backslash is found within a parameter. 441f4f33ea0SBaptiste Daroussin 442f4f33ea0SBaptiste Daroussin2015/02/25 443f4f33ea0SBaptiste Daroussin + modify gauge widget to keep from erasing a second gauge widget, e.g., 444f4f33ea0SBaptiste Daroussin via the "--and-widget" option. This is a cosmetic change to match 445f4f33ea0SBaptiste Daroussin behavior of dialog 1.0 (report by Jason Orendorf). 446f4f33ea0SBaptiste Daroussin + add configure option "--with-man2html" 447f4f33ea0SBaptiste Daroussin + add configure options for versioned symbols, from ongoing work on 448f4f33ea0SBaptiste Daroussin ncurses. 449f4f33ea0SBaptiste Daroussin + update configure macros, e.g., for shared libraries 450f4f33ea0SBaptiste Daroussin 451f4f33ea0SBaptiste Daroussin2015/01/25 452f4f33ea0SBaptiste Daroussin + suppress highlighting of character which denotes an abbreviation or 453f4f33ea0SBaptiste Daroussin shortcut for the OK/Cancel and other buttons for these widgets, which 454f4f33ea0SBaptiste Daroussin use abbreviations for the list shown on the screen: buildlist, 455f4f33ea0SBaptiste Daroussin checklist/radiobox, menubox, treeview (Debian #775295). 456f4f33ea0SBaptiste Daroussin + add grid up/left and down/right bindings in editbox.c as synonyms for 457f4f33ea0SBaptiste Daroussin field prev and next, respectively when handling the OK/Cancel buttons 458f4f33ea0SBaptiste Daroussin (Debian #775294). 459f4f33ea0SBaptiste Daroussin 460f4f33ea0SBaptiste Daroussin2014/09/11 461f4f33ea0SBaptiste Daroussin + correct malloc-size for change to prgbox. 462f4f33ea0SBaptiste Daroussin 463f4f33ea0SBaptiste Daroussin2014/09/10 464f4f33ea0SBaptiste Daroussin + fixes to make "-c" option work when passing command to shell for the 465f4f33ea0SBaptiste Daroussin prgbox widget, for example in samples/prgbox2 (report by Korantin 466f4f33ea0SBaptiste Daroussin Auguste). 467f4f33ea0SBaptiste Daroussin 468f4f33ea0SBaptiste Daroussin2014/09/08 469f4f33ea0SBaptiste Daroussin + fix an out-of-bounds array index in buildlist widget (report by 470f4f33ea0SBaptiste Daroussin Cade Foster). 471f4f33ea0SBaptiste Daroussin 472f4f33ea0SBaptiste Daroussin2014/09/01 473f4f33ea0SBaptiste Daroussin + add configure check for groff, needed for html/ps/pdf output. 474f4f33ea0SBaptiste Daroussin + update configure-script macros: 475f4f33ea0SBaptiste Daroussin + CF_ACVERSION_CHECK - work around another gratuitous incompatibility 476f4f33ea0SBaptiste Daroussin introduced in 2.69 477f4f33ea0SBaptiste Daroussin + CF_ADD_CFLAGS - workaround for ash-shell, e.g., with Minix 478f4f33ea0SBaptiste Daroussin + CF_ADD_LIBS - filter out duplicates 479f4f33ea0SBaptiste Daroussin + CF_CURSES_FUNCS - improve workaround for weak-linkage, seems to fix 480f4f33ea0SBaptiste Daroussin tests with NetBSD 6.1 481f4f33ea0SBaptiste Daroussin + CF_INTEL_COMPILER - clean up the -no-gcc option which was leftover 482f4f33ea0SBaptiste Daroussin from testing. 483f4f33ea0SBaptiste Daroussin + CF_LIB_SUFFIX - change suffix for AIX shared libraries to ".so". 484f4f33ea0SBaptiste Daroussin + CF_MAKEFLAGS - workaround for GNU make 4.0 incompatibility with 485f4f33ea0SBaptiste Daroussin previous releases. 486f4f33ea0SBaptiste Daroussin + CF_XOPEN_SOURCE - add cases for Minix, UnixWare and improve the 487f4f33ea0SBaptiste Daroussin workaround for Solaris. 488f4f33ea0SBaptiste Daroussin + improve comparison in compare_cache() function, in case difference 489f4f33ea0SBaptiste Daroussin between pointers does not fit in int's. 490f4f33ea0SBaptiste Daroussin + updated de.po, es.po, hu.po, lv.po from 491f4f33ea0SBaptiste Daroussin http://translationproject.org/latest/dialog/ 492f4f33ea0SBaptiste Daroussin + update config.guess, config.sub 493f4f33ea0SBaptiste Daroussin 494f4f33ea0SBaptiste Daroussin2014/02/19 495f4f33ea0SBaptiste Daroussin + cleanup of manpages prompted by Gislason's comments. 496f4f33ea0SBaptiste Daroussin + several changes to manpages to improve presentation (patches by 497f4f33ea0SBaptiste Daroussin Bjarni I. Gislason, Debian #739180, Debian #739181) 498f4f33ea0SBaptiste Daroussin + use "\/" when transitioning from italic to normal font 499f4f33ea0SBaptiste Daroussin + correct an instance of "e.g,." 500f4f33ea0SBaptiste Daroussin + use "\e" rather than "\\" to present a literal "\" 501f4f33ea0SBaptiste Daroussin + improve formatting of table header 502f4f33ea0SBaptiste Daroussin + remove some excess space-characters 503f4f33ea0SBaptiste Daroussin + change a reference 0-9 to use "through" as the connector 504f4f33ea0SBaptiste Daroussin + use "\&" to separate "." from a space to make the space shorter 505f4f33ea0SBaptiste Daroussin + change a list's TP macro parameters to make the hanging text align 506f4f33ea0SBaptiste Daroussin better with the adjacent paragraph 507f4f33ea0SBaptiste Daroussin + add comma in a few places before "and" in a list 508f4f33ea0SBaptiste Daroussin + separate units from numbers with a nonfillable space 509f4f33ea0SBaptiste Daroussin + replace "-" with en-dash in a few places 510f4f33ea0SBaptiste Daroussin + corrected argument indices after "--args" and "--file" to rescan the 511f4f33ea0SBaptiste Daroussin argument list after removing/substituting those options. 512f4f33ea0SBaptiste Daroussin + fix loops for "--file" option to handle cases with zero or no tokens at 513f4f33ea0SBaptiste Daroussin all substituted (Redhat #1066168). 514f4f33ea0SBaptiste Daroussin + add gd.po from 515f4f33ea0SBaptiste Daroussin http://translationproject.org/latest/dialog/ 516f4f33ea0SBaptiste Daroussin 517f4f33ea0SBaptiste Daroussin2014/01/12 518f4f33ea0SBaptiste Daroussin + improve calculation for amount to scroll in programbox when an "Ok" 519f4f33ea0SBaptiste Daroussin button might obscure part of the data (report by Florent Rougon). 520f4f33ea0SBaptiste Daroussin + modify program to permit --separate-output to be used with buildlist 521f4f33ea0SBaptiste Daroussin and treeview widgets (report by Florent Rougon). 522f4f33ea0SBaptiste Daroussin + add list-height parameter to manpage description of --buildlist 523f4f33ea0SBaptiste Daroussin (report by Florent Rougon). 524f4f33ea0SBaptiste Daroussin + minor fixes to dialog.1 manpage; the reported problem was actually 525f4f33ea0SBaptiste Daroussin fixed in 20120703 (Debian #726233, patch by Bjarni Ingi Gislason). 526f4f33ea0SBaptiste Daroussin + add a "Hello World" example to dialog.3 manpage (prompted by 527f4f33ea0SBaptiste Daroussin discussions with Dustin Oprea, Kevin Ingwersen). 528f4f33ea0SBaptiste Daroussin + correct comparison in dlg_lookup_key() so that using "bindkey" with 529f4f33ea0SBaptiste Daroussin a "*" wildcard parameter works as documented (report by Stewart 530f4f33ea0SBaptiste Daroussin Benedict). 531f4f33ea0SBaptiste Daroussin + updated configure macros, fixes for clang and mingw. 532f4f33ea0SBaptiste Daroussin + update config.guess, config.sub 533f4f33ea0SBaptiste Daroussin 534f4f33ea0SBaptiste Daroussin2013/09/28 535f4f33ea0SBaptiste Daroussin + fix a regression in gauge widget from 2013/09/28 changes; 536f4f33ea0SBaptiste Daroussin dlg_reallocate_gauge() failed when no --title option was given 537f4f33ea0SBaptiste Daroussin (report by Tritonas Insomnia). 538f4f33ea0SBaptiste Daroussin 539febdb468SDevin Teske2013/09/23 540febdb468SDevin Teske + fix samples/inputbox6-utf8, which had depended unnecessarily on bash. 541febdb468SDevin Teske + improve memory caching for wide-character manipulation in gauge 542febdb468SDevin Teske widget (report by Devin Teske). 543febdb468SDevin Teske + add dlg_reallocate_gauge (discussion with Devin Teske). 544febdb468SDevin Teske + updated configure macros to use msys changes from ncurses. 545febdb468SDevin Teske + update config.guess, config.sub 546febdb468SDevin Teske 547febdb468SDevin Teske2013/09/02 548febdb468SDevin Teske + modify makefile rule to make the ".png" filenames created by groff 549febdb468SDevin Teske predictable. 550febdb468SDevin Teske + add option --help-tags to allow scripts to get the item's tag field 551febdb468SDevin Teske consistently from help- and help-item button results rather than 552febdb468SDevin Teske getting the item's text for the latter (discussion with Florent 553febdb468SDevin Teske Rougon). 554febdb468SDevin Teske + correct manpage discussion of DIALOG_ITEM_HELP versus --item-help, 555febdb468SDevin Teske as well as --help-button return status (report by Florent Rougon). 556febdb468SDevin Teske + correct limit used for --hline option (report by Devin Teske, 557febdb468SDevin Teske cf: 2011/06/30). 558febdb468SDevin Teske + do not print empty "[]" if a --hline option was given with an empty 559febdb468SDevin Teske value (report by Devin Teske). 560febdb468SDevin Teske + miscellaneous configure script fixes/updates. In particular, add 561febdb468SDevin Teske option --with-shared which builds shared libraries without a libtool 562febdb468SDevin Teske dependency. 563febdb468SDevin Teske + add FreeBSD port-files for test-builds. 564febdb468SDevin Teske + update lt.po, add fa.po from 565febdb468SDevin Teske http://translationproject.org/latest/dialog/ 566febdb468SDevin Teske + update config.guess, config.sub 567febdb468SDevin Teske 5682a3e3873SBaptiste Daroussin2013/05/23 5692a3e3873SBaptiste Daroussin + modify ifdef in arrows.c to work around packages which use the 5702a3e3873SBaptiste Daroussin wide-character ncursesw headers with the ncurses library (report 5712a3e3873SBaptiste Daroussin by Aleksey Cheusov). 5722a3e3873SBaptiste Daroussin + correct workaround for xterm alternate-screen to work with/without 5732a3e3873SBaptiste Daroussin the fix made in ncurses that makes putp() always write to the 5742a3e3873SBaptiste Daroussin standard output (Debian #708829). 5752a3e3873SBaptiste Daroussin + improve limit-checks for checklist, in case the dialog is resized 5762a3e3873SBaptiste Daroussin (report by Ilya A Arkhipov). 5772a3e3873SBaptiste Daroussin + add --last-key option (adapted from patch by Jordi Pujol, Debian 5782a3e3873SBaptiste Daroussin #697607). 5792a3e3873SBaptiste Daroussin 5802a3e3873SBaptiste Daroussin2013/03/15 5812a3e3873SBaptiste Daroussin + update zh_TW.po, add an.po from 5822a3e3873SBaptiste Daroussin http://translationproject.org/latest/dialog/ 5832a3e3873SBaptiste Daroussin 5842a3e3873SBaptiste Daroussin2012/12/30 - release 1.2 5852a3e3873SBaptiste Daroussin + improve some older changelog entries to help with HTML'izing content. 586*a96ef450SBaptiste Daroussin + various fixes/improvements for scrollbar appearance. 5872a3e3873SBaptiste Daroussin + add mappings for some equivalent options provided by whiptail; 5882a3e3873SBaptiste Daroussin add configure option --disable-whiptail to allow suppressing these. 5892a3e3873SBaptiste Daroussin + add configure option --disable-Xdialog2 to allow suppressing the 5902a3e3873SBaptiste Daroussin newer features, i.e., for cdialog 1.2 5912a3e3873SBaptiste Daroussin + add --no-items option, for consistency. 5922a3e3873SBaptiste Daroussin + add --no-tags option, like Xdialog. 5932a3e3873SBaptiste Daroussin + add buildlist, rangebox and treeview dialogs, like Xdialog. 5942a3e3873SBaptiste Daroussin + remove obsolete workaround for ncurses 4.2 scrolling in checklist 5952a3e3873SBaptiste Daroussin and menubox. 5962a3e3873SBaptiste Daroussin + improve dialog_helpfile() by preventing it from showing extra buttons 5972a3e3873SBaptiste Daroussin (suggested by xDog Walker). 5982a3e3873SBaptiste Daroussin + correct logic in formbox's scroll_next() function (report by xDog 5992a3e3873SBaptiste Daroussin Walker). 6002a3e3873SBaptiste Daroussin + fix a case with inputbox widget where preset input text is not shown 6012a3e3873SBaptiste Daroussin until moving the cursor within the text (report by xDog Walker). 6022a3e3873SBaptiste Daroussin + handle SIGCHLD in dialog_prgbox() to eliminate defunct processes 6032a3e3873SBaptiste Daroussin (report by xDog Walker). 6042a3e3873SBaptiste Daroussin + improve the way "hotkeys" are assigned to widget buttons by checking 6052a3e3873SBaptiste Daroussin if a given key has already been used in the row of buttons (Debian 6062a3e3873SBaptiste Daroussin #684933). 6072a3e3873SBaptiste Daroussin + amend fix for --trace parsing from 2012/07/03, which sometimes 6082a3e3873SBaptiste Daroussin skipped a parameter (report by xDog Walker). 6092a3e3873SBaptiste Daroussin + drop copismall and install files from samples, which were essentially 6102a3e3873SBaptiste Daroussin nonfunctional. 6112a3e3873SBaptiste Daroussin + correct secondary border colors in samples/slackware.rc and 6122a3e3873SBaptiste Daroussin samples/whiptail.rc 6132a3e3873SBaptiste Daroussin + update gl.po, add ia.po from 6142a3e3873SBaptiste Daroussin http://translationproject.org/latest/dialog/ 6152a3e3873SBaptiste Daroussin + fix various issues reported by coverity scan. 6162a3e3873SBaptiste Daroussin + miscellaneous configure script fixes/updates: 6172a3e3873SBaptiste Daroussin + require autoconf 2.52+patches 6182a3e3873SBaptiste Daroussin + support --datarootdir option 6192a3e3873SBaptiste Daroussin + check for clang compiler 6202a3e3873SBaptiste Daroussin + check for tinfo library when looking for ncurses 6212a3e3873SBaptiste Daroussin + add 3rd parameter to AC_DEFINE for autoheader 6222a3e3873SBaptiste Daroussin + remove unused macros from aclocal.m4 6232a3e3873SBaptiste Daroussin + update config.guess, config.sub 6242a3e3873SBaptiste Daroussin 6252a3e3873SBaptiste Daroussin2012/07/06 6262a3e3873SBaptiste Daroussin + modify samples/setup-tempfile to work with Tru64's shell. 6272a3e3873SBaptiste Daroussin + modify inputmenu sample scripts to make them more portable: 6282a3e3873SBaptiste Daroussin + use "id" rather than "$GROUPS", use sed to work with Solaris. 6292a3e3873SBaptiste Daroussin + use sed to split-up the rename results to work with HPUX. 6302a3e3873SBaptiste Daroussin + fix regression in msgbox (ArchLinux #30574) 6312a3e3873SBaptiste Daroussin 6322a3e3873SBaptiste Daroussin2012/07/03 6332a3e3873SBaptiste Daroussin + modify prgbox widget to work with --extra-button, etc. 6342a3e3873SBaptiste Daroussin + add case values to several widgets to allow for mouse-clicks with 6352a3e3873SBaptiste Daroussin "--extra-button" and "--help-button" additions. 6362a3e3873SBaptiste Daroussin + correct timebox widget's exit code for "--extra-button" when handing 6372a3e3873SBaptiste Daroussin the "enter" key. 6382a3e3873SBaptiste Daroussin + modify msgbox widget to honor "--extra-button". 6392a3e3873SBaptiste Daroussin + corrected processing of "--trace" option, which did not update the 6402a3e3873SBaptiste Daroussin index into command-line to point past its value. 6412a3e3873SBaptiste Daroussin + add a check in dialog program for valid characters used in option, 6422a3e3873SBaptiste Daroussin e.g., to generate an error if a script attempts to add option value 6432a3e3873SBaptiste Daroussin using "=" rather than with whitespace. 6442a3e3873SBaptiste Daroussin + add new command-line option --default-button and library function 6452a3e3873SBaptiste Daroussin dlg_default_button() to retrieve the value set by the option 6462a3e3873SBaptiste Daroussin to provide a way to set the default button directly rather than 6472a3e3873SBaptiste Daroussin by combining --nook, etc. (patch by Zoltan Kelemen). 6482a3e3873SBaptiste Daroussin + amend include of unctrl.h to apply only to the case where curses.h 6492a3e3873SBaptiste Daroussin is included, to avoid conflict of ncurses' unctrl.h with a system 6502a3e3873SBaptiste Daroussin implementation (report by Martin Roedlach) 6512a3e3873SBaptiste Daroussin + add limit-check to dlg_toupper() in non-wide curses mode to work 6522a3e3873SBaptiste Daroussin when non-character values such as arrow-key codes are passed to 6532a3e3873SBaptiste Daroussin it (patch by Zoltan Kelemen). 6542a3e3873SBaptiste Daroussin + override timeout value, e.g., as set via --timeout command-line 6552a3e3873SBaptiste Daroussin option in pause widget because that interferes with pause's behavior 6562a3e3873SBaptiste Daroussin (report by Jan Spitalnik). 6572a3e3873SBaptiste Daroussin + modify samples/inputmenu* to allow ":" in renamed text (report by 6582a3e3873SBaptiste Daroussin Andreas Stoewing). 6592a3e3873SBaptiste Daroussin + modify double-quoting to make it more consistent, i.e., checklist 6602a3e3873SBaptiste Daroussin output is quoted only when needed. This fixes the case where 6612a3e3873SBaptiste Daroussin single-quotes were used whether or not needed, but also modifies 6622a3e3873SBaptiste Daroussin older checklist behavior for double-quoting which always added those 6632a3e3873SBaptiste Daroussin (Debian #663664). 6642a3e3873SBaptiste Daroussin + correct exit-code used in inputmenu for "rename" button (Debian 6652a3e3873SBaptiste Daroussin #673041, forwarded from Ubuntu #333909, patch by Lebedev Vadim). 6662a3e3873SBaptiste Daroussin + update el.po and hr.po from 6672a3e3873SBaptiste Daroussin http://translationproject.org/latest/dialog/ 6682a3e3873SBaptiste Daroussin + use checkbashisms to clean up sample scripts. 6692a3e3873SBaptiste Daroussin 6702a3e3873SBaptiste Daroussin2012/02/15 6712a3e3873SBaptiste Daroussin + modify menubox.c to use the same improvement as in checklist.c 6722a3e3873SBaptiste Daroussin + improve auto width computation for checklist widget by using 6732a3e3873SBaptiste Daroussin dlg_calc_list_width as in the non-auto case (Edho Arief). 6742a3e3873SBaptiste Daroussin + eliminate some bashisms in the sample scripts (Pedro Giffuni). 6752a3e3873SBaptiste Daroussin + makefile fixes from FreeBSD ports (Li-Wen Hsu): 6762a3e3873SBaptiste Daroussin + make --with-package option of configure script work. 6772a3e3873SBaptiste Daroussin + get LIBTOOL_VERSION from configure script, needed by 6782a3e3873SBaptiste Daroussin ${LIBTOOL_VERSION} in LIBTOOL_CREATE (LIB_CREATE in configure and 6792a3e3873SBaptiste Daroussin aclocal.m4) 6802a3e3873SBaptiste Daroussin + update cs.po and sr.po from 6812a3e3873SBaptiste Daroussin http://translationproject.org/latest/dialog/ 6822a3e3873SBaptiste Daroussin + updated configure script macros, improving CF_XOPEN_SOURCE among 6832a3e3873SBaptiste Daroussin other fixes. 6842a3e3873SBaptiste Daroussin 6852a3e3873SBaptiste Daroussin2011/10/20 6862a3e3873SBaptiste Daroussin + fix --analyze warnings for clang versions 2.8, 2.9. 6872a3e3873SBaptiste Daroussin + add configure check for lint program. 6882a3e3873SBaptiste Daroussin + add check in dlg_getc() in case its window is freed as a side effect 6892a3e3873SBaptiste Daroussin of removing callbacks. 6902a3e3873SBaptiste Daroussin + fix logic in freeing subwindows (report by xDog Walker). 6912a3e3873SBaptiste Daroussin + fix a regression in logic distinguishing between inputmenu and menu 6922a3e3873SBaptiste Daroussin widgets (report by xDog Walker). 6932a3e3873SBaptiste Daroussin + minor fixes to library manpage. 6942a3e3873SBaptiste Daroussin 6952a3e3873SBaptiste Daroussin2011/10/18 6962a3e3873SBaptiste Daroussin + modify header-sh.in to work around limit on sed script length on 6972a3e3873SBaptiste Daroussin HPUX. 6982a3e3873SBaptiste Daroussin + add a special case of parameter parsing for "--trace" to the 6992a3e3873SBaptiste Daroussin initialization done before calling init_dialog(), to allow users to 7002a3e3873SBaptiste Daroussin capture the initial state of the parameter list before any options 7012a3e3873SBaptiste Daroussin are processed and removed. This is only done if "--trace" is the 7022a3e3873SBaptiste Daroussin first option, otherwise it is handled in the common options as before 7032a3e3873SBaptiste Daroussin (report by xDog Walker). 7042a3e3873SBaptiste Daroussin + modify samples/testdata-8bit, discarding $1 from the parameter list 7052a3e3873SBaptiste Daroussin if it was used, so that the source'ing scripts can consistently use 7062a3e3873SBaptiste Daroussin "$@" to insert parameters before the widget, e.g., as an alternative 7072a3e3873SBaptiste Daroussin to using $DIALOGOPTS (report by xDog Walker). 7082a3e3873SBaptiste Daroussin + modify treatment of function pointers in menubox.c, make 7092a3e3873SBaptiste Daroussin dlg_renamed_menutext() and dlg_dummy_menutext() visible to library 7102a3e3873SBaptiste Daroussin users (request by xDog Walker). 7112a3e3873SBaptiste Daroussin + add dlg_count_real_columns(), use to modify centering for "--hline" 7122a3e3873SBaptiste Daroussin text to account for "\Z"s (report by xDog Walker). 7132a3e3873SBaptiste Daroussin + improve check in dlg_draw_arrows2() for conflict between the window 7142a3e3873SBaptiste Daroussin title and up-arrow marker to take into account that the given window 7152a3e3873SBaptiste Daroussin may not be the top-level window of the widget. 7162a3e3873SBaptiste Daroussin + change width of page up/down mouse areas in fselect panes to use the 7172a3e3873SBaptiste Daroussin full width of the panes rather than only the portion from the left 7182a3e3873SBaptiste Daroussin margin to the up/down arrow. 7192a3e3873SBaptiste Daroussin + add/use dlg_draw_box2() and dlg_draw_bottom_box2() to use the 7202a3e3873SBaptiste Daroussin secondary borders. 7212a3e3873SBaptiste Daroussin + modify rc-file read/write to accept/generate color values that refer 7222a3e3873SBaptiste Daroussin to previously-processed items in the color table. This reduces the 7232a3e3873SBaptiste Daroussin number of distinct colors that must be specified to set up a color 7242a3e3873SBaptiste Daroussin scheme. 7252a3e3873SBaptiste Daroussin + add color table entries for secondary borders, i.e., the ones that 7262a3e3873SBaptiste Daroussin are normally drawn with the dialog's text-colors (Debian #641168). 7272a3e3873SBaptiste Daroussin + modify fselect.c to scan the current directory if the input field 7282a3e3873SBaptiste Daroussin happens to be empty (Debian #640905). 7292a3e3873SBaptiste Daroussin + repeated the discussion of environment variables that can override 7302a3e3873SBaptiste Daroussin the exit-status values in the manpage's return-codes section 7312a3e3873SBaptiste Daroussin (Debian #642105). 7322a3e3873SBaptiste Daroussin + add an example to the manpage showing how to override the form 7332a3e3873SBaptiste Daroussin widget's keys used for field/button traversal (Debian #642108). 7342a3e3873SBaptiste Daroussin + modify call to dlg_register_window() in formbox.c so that the editing 7352a3e3873SBaptiste Daroussin bindings are attached to the form sub-window rather than the 7362a3e3873SBaptiste Daroussin top-level dialog window. Also change the name by which the editing 7372a3e3873SBaptiste Daroussin bindings are bound for editbox.c, fselect.c and inputbox.c, so that 7382a3e3873SBaptiste Daroussin the editing and navigation bindings can be different. 7392a3e3873SBaptiste Daroussin + correct logic in dlg_lookup_key() so that it matches the widget name 7402a3e3873SBaptiste Daroussin before using a binding from .dialogrc, allowing the inner/outer 7412a3e3873SBaptiste Daroussin windows of form and other editing widgets to have different bindings. 7422a3e3873SBaptiste Daroussin + modify dlg_register_window() to call dlg_dump_window_keys() after 7432a3e3873SBaptiste Daroussin its updates, via the --trace output, to supplement the manpage 7442a3e3873SBaptiste Daroussin description of key bindings (Debian #642108). 7452a3e3873SBaptiste Daroussin + add DLGK_FORM_PREV and DLGK_FORM_NEXT key-bindings to form.c, to 7462a3e3873SBaptiste Daroussin allow binding a single key to traverse both form-fields and buttons 7472a3e3873SBaptiste Daroussin (Debian #642108). 7482a3e3873SBaptiste Daroussin + modify dlg_parse_rc() to check for error return from 7492a3e3873SBaptiste Daroussin dlg_parse_bindkey(). 7502a3e3873SBaptiste Daroussin + add function dlg_dump_window_keys(), to help with debugging widgets. 7512a3e3873SBaptiste Daroussin + add CR, LF, TAB, FF and ESC to table of curses names to help make 7522a3e3873SBaptiste Daroussin key bindings more readable. 7532a3e3873SBaptiste Daroussin + update table of dialog key-names so that helpfile and trace are 7542a3e3873SBaptiste Daroussin dumped properly. 7552a3e3873SBaptiste Daroussin + correct dlg_dump_keys(), which was showing only the first item in 7562a3e3873SBaptiste Daroussin the matched binding table. 7572a3e3873SBaptiste Daroussin + save/restore window current position in dlg_update_mixedgauge(). 7582a3e3873SBaptiste Daroussin + pass return-code from pause_for_ok() from dlg_progressbox() when 7592a3e3873SBaptiste Daroussin pauseopt is set, rather than only DLG_OK. 7602a3e3873SBaptiste Daroussin + call setlocale() in init_dialog() rather than relying on on-demand 7612a3e3873SBaptiste Daroussin use within inputstr.c, since there are paths in textbox widget which 7622a3e3873SBaptiste Daroussin do not exercise the latter (report by xDog Walker). 7632a3e3873SBaptiste Daroussin + fix some places where checks for "\Z" were done without also checking 7642a3e3873SBaptiste Daroussin dialog_vars.colors (report by Moray Henderson). 7652a3e3873SBaptiste Daroussin + correct logic for DIALOGOPTS parsing so that the parse happens only 7662a3e3873SBaptiste Daroussin once unless memory leak checking is enabled (report by xDog Walker). 7672a3e3873SBaptiste Daroussin + remove an incorrect free() call in dlg_free_gauge() (report by xDog 7682a3e3873SBaptiste Daroussin Walker). 7692a3e3873SBaptiste Daroussin + modify dlg_trace_win() to log wide-characters (report by xDog Walker). 7702a3e3873SBaptiste Daroussin + make traces shorter by skipping repeated ERR's, but showing the 7712a3e3873SBaptiste Daroussin number skipped (report by xDog Walker). 7722a3e3873SBaptiste Daroussin + improve description in manpage to distinguish program box and 7732a3e3873SBaptiste Daroussin progress box from tailboxes (adapted from email by xDog Walker). 7742a3e3873SBaptiste Daroussin + modify dlg_trace_win() so that it looks for the topmost window in a 7752a3e3873SBaptiste Daroussin dialog. Because subwindows share space with the top window, tracing 7762a3e3873SBaptiste Daroussin the latter shows the whole widget (report by xDog Walker). 7772a3e3873SBaptiste Daroussin + expand tracing so that each window is traced before soliciting input, 7782a3e3873SBaptiste Daroussin making the ^T feature to print a window on demand partly redundant 7792a3e3873SBaptiste Daroussin (suggested by xDog Walker). 7802a3e3873SBaptiste Daroussin + cosmetic change in dialog.h to avoid "*/*" strings from comments next 7812a3e3873SBaptiste Daroussin to "*" (report by xDog Walker). 7822a3e3873SBaptiste Daroussin + ensure result from dlg_align_columns() has trailing null on each 7832a3e3873SBaptiste Daroussin string. Analysis was hindered by libc6's continuance of libc5's 7842a3e3873SBaptiste Daroussin early-1990s misfeature of clearing the result from malloc, noting 7852a3e3873SBaptiste Daroussin that libc6's documentation incorrectly claims that it does not do 7862a3e3873SBaptiste Daroussin this (report by xDog Walker). 7872a3e3873SBaptiste Daroussin 788682c9e0fSNathan Whitehorn2011/07/07 789682c9e0fSNathan Whitehorn + modify util.c to work better with old versions of ncurses: 790682c9e0fSNathan Whitehorn + suppress use of wchgat() before fix in 20060715 which is needed 791682c9e0fSNathan Whitehorn for simple shadow manipulation used here in 2011/06/30 (report 792682c9e0fSNathan Whitehorn by xDog Walker). 793682c9e0fSNathan Whitehorn + add a null-pointer check in dlg_print_scrolled() 794682c9e0fSNathan Whitehorn + fix a regression in dlg_getc() introduced by changes to intercept 795682c9e0fSNathan Whitehorn F1 for help-popup (report by xDog Walker). 796682c9e0fSNathan Whitehorn 797682c9e0fSNathan Whitehorn2011/06/30 798682c9e0fSNathan Whitehorn + correct license statement for prgbox.c (Debian #632198). 799682c9e0fSNathan Whitehorn + correct layout when "--colors" is used, by discounting characters in 800682c9e0fSNathan Whitehorn the escape sequences from the column counts (report by xDog Walker). 801682c9e0fSNathan Whitehorn + modify dlg_checklist() so that only one item in the list can 802682c9e0fSNathan Whitehorn initially be selected (report by xDog Walker). 803682c9e0fSNathan Whitehorn + add/use macro dlg_enter_buttoncode() to improve implementation of 804682c9e0fSNathan Whitehorn "--nook" option (report by xDog Walker). 805682c9e0fSNathan Whitehorn + add option "--no-nl-expand" to suppress the conversion of "\n" 806682c9e0fSNathan Whitehorn strings into newlines (request by xDog Walker). 807682c9e0fSNathan Whitehorn + modify LIB_CREATE symbol in makefile.in to include the library 808682c9e0fSNathan Whitehorn dependencies such as ncurses. This is needed when dynamically 809682c9e0fSNathan Whitehorn loading the library (report/analysis by xDog Walker). 810682c9e0fSNathan Whitehorn + modify dlg_exit_label() to suppress the Cancel button, for 811682c9e0fSNathan Whitehorn consistency. 812682c9e0fSNathan Whitehorn + modify dlg_exit_label() to honor the --nook option, except when there 813682c9e0fSNathan Whitehorn is no other button, e.g., the help-button. 814682c9e0fSNathan Whitehorn + modify dlg_exit_buttoncode() so that it returns the proper code for 815682c9e0fSNathan Whitehorn help-button (report by xDog Walker). 816682c9e0fSNathan Whitehorn + correct loop limit when processing "--column-separator" (report by 817682c9e0fSNathan Whitehorn xDog Walker). 818682c9e0fSNathan Whitehorn + modify handling of "--version" and "--help" to ensure that they are 819682c9e0fSNathan Whitehorn processed, and exit before widgets. Separate "--print-version" 820682c9e0fSNathan Whitehorn from "--version", allowing its output to be interspersed with 821682c9e0fSNathan Whitehorn widget output (report by xDog Walker). 822682c9e0fSNathan Whitehorn + correct a few places where "--version" or "--help" options went 823682c9e0fSNathan Whitehorn always to stdout rather than allowing redirection with the "--stderr" 824682c9e0fSNathan Whitehorn option (report by xDog Walker). 825682c9e0fSNathan Whitehorn + improve repainting after erasing a widget and its shadow. 826682c9e0fSNathan Whitehorn + add "--hline" and "--hfile" options for compatibility with FreeBSD 827682c9e0fSNathan Whitehorn dialog (request by Devin Teske). 828682c9e0fSNathan Whitehorn + add dialog version message when opening a trace file (request by 829682c9e0fSNathan Whitehorn xDog Walker). 830682c9e0fSNathan Whitehorn + show filename of rc-file in traces. 831682c9e0fSNathan Whitehorn + add piped-in data for gauge widget to traces. 832682c9e0fSNathan Whitehorn + add entrypoints to gauge widget, for allocating, updating and freeing 833682c9e0fSNathan Whitehorn the widget (adapted from patch by Stephen Hurd). 834682c9e0fSNathan Whitehorn + fix a reference to freed memory in the gauge widget. 835682c9e0fSNathan Whitehorn + fix --no-mouse option by actually closing the mouse (report by 836682c9e0fSNathan Whitehorn xDog Walker). 837682c9e0fSNathan Whitehorn + add sk.po from 838682c9e0fSNathan Whitehorn http://translationproject.org/latest/dialog/ 839682c9e0fSNathan Whitehorn + limit Solaris xpg4 portability fix for redefinition of ERR to cover 840682c9e0fSNathan Whitehorn the specific value found in <sys/regset.h>, in case an application 841682c9e0fSNathan Whitehorn includes dialog.h after curses.h (FreeBSD #156601, report by Jaakko 842682c9e0fSNathan Whitehorn Heinonen, Stephen Hurd). 843682c9e0fSNathan Whitehorn + updated configure macros: 844682c9e0fSNathan Whitehorn + CF_CURSES_CPPFLAGS, 845682c9e0fSNathan Whitehorn + CF_CURSES_LIBS, make checks for special libraries on hpux10 and 846682c9e0fSNathan Whitehorn sunos4 optional 847682c9e0fSNathan Whitehorn + CF_CURSES_FUNCS, workaround for bug in gcc 4.2.1 (FreeBSD 8.1) 848682c9e0fSNathan Whitehorn which caused part of test program to be omitted, i.e., when it saw 849682c9e0fSNathan Whitehorn two return-statements in a row it omitted the _first_ one. Also 850682c9e0fSNathan Whitehorn add expression to pointer check to help FreeBSD's linker decide it 851682c9e0fSNathan Whitehorn should be validated. Just an assignment was not enough. Also, add 852682c9e0fSNathan Whitehorn check for unctrl.h 853682c9e0fSNathan Whitehorn + CF_CURSES_HEADER, change order for curses.h / ncurses.h pairs to 854682c9e0fSNathan Whitehorn put ncurses.h first, which will tend to provide the same #define's 855682c9e0fSNathan Whitehorn as in CF_NCURSES_HEADER (report by Dennis Preiser). 856682c9e0fSNathan Whitehorn + CF_CURSES_TERM_H, modify to avoid spurious check for 857682c9e0fSNathan Whitehorn <curses.hterm.h> if there is no ncurses version. Look for 858682c9e0fSNathan Whitehorn ncurses's term.h anyway, to work around breakage by packagers who 859682c9e0fSNathan Whitehorn separate ncurses' header files. 860682c9e0fSNathan Whitehorn + CF_DISABLE_RPATH_HACK, fix garbled message 861682c9e0fSNathan Whitehorn + CF_LD_RPATH_OPT, add mirbsd 862682c9e0fSNathan Whitehorn + CF_MAKEFLAGS, filter out GNU make's entering/leaving messages. 863682c9e0fSNathan Whitehorn This only appeared when using the macro in a dpkg script, though it 864682c9e0fSNathan Whitehorn should have in other cases. 865682c9e0fSNathan Whitehorn + CF_RPATH_HACK, add a check for libraries not found, e.g., from 866682c9e0fSNathan Whitehorn suppressed functionality of gcc in linking from /usr/local/lib, and 867682c9e0fSNathan Whitehorn add a -L option to help work around this. 868682c9e0fSNathan Whitehorn + CF_XOPEN_SOURCE, workaround for cygwin to get ncurses' configure 869682c9e0fSNathan Whitehorn script to define _XOPEN_SOURCE_EXTENDED (cygwin's features.h 870682c9e0fSNathan Whitehorn doesn't do anything, so it needs a crutch). 8712a3e3873SBaptiste Daroussin + update config.guess, config.sub 872682c9e0fSNathan Whitehorn 8737a1c0d96SNathan Whitehorn2011/03/02 8747a1c0d96SNathan Whitehorn + add --prgbox and --programbox (adapted from patch by David Boyd). 8757a1c0d96SNathan Whitehorn + add sl.po from 8767a1c0d96SNathan Whitehorn http://translationproject.org/latest/dialog/ 8777a1c0d96SNathan Whitehorn + fix timeouts from 2011/01/18, which were being interpreted as 8787a1c0d96SNathan Whitehorn milliseconds rather than seconds (report by Luis Moreira). 8797a1c0d96SNathan Whitehorn 8807a1c0d96SNathan Whitehorn2011/01/18 8817a1c0d96SNathan Whitehorn + fix inconsistency in return-codes for textbox when help-button is 8827a1c0d96SNathan Whitehorn used by making dlg_exit_buttoncode() a wrapper for 8837a1c0d96SNathan Whitehorn dlg_ok_buttoncode(). 8847a1c0d96SNathan Whitehorn + modify pause widget to use dlg_ok_buttoncode(), so help-button works. 8857a1c0d96SNathan Whitehorn + correct two infobox sample scripts, which did not pass extra 8867a1c0d96SNathan Whitehorn command-line parameters due to quoting problems. 8877a1c0d96SNathan Whitehorn + add a limit-check to the timebox widget (patch by Garrett Cooper). 8887a1c0d96SNathan Whitehorn + modify --trace option to also trace the command-line parameters. 8897a1c0d96SNathan Whitehorn + account for combining characters when wrapping text (Debian #570634). 8907a1c0d96SNathan Whitehorn + correct handling of SIGWINCH in gauge widget (Debian #305705). 8917a1c0d96SNathan Whitehorn + add gauge_color, to make guage's progress-bar distinct from 8927a1c0d96SNathan Whitehorn title_color (request by Dominic Derdau). 8937a1c0d96SNathan Whitehorn + update fi.po from 8947a1c0d96SNathan Whitehorn http://translationproject.org/latest/dialog/ 8957a1c0d96SNathan Whitehorn as well as resync line-numbers in the other po-files. 8967a1c0d96SNathan Whitehorn + modify configure script and dialog program to build with NetBSD's 8977a1c0d96SNathan Whitehorn wide-character curses functions, including workarounds for its 8987a1c0d96SNathan Whitehorn incorrect WACS_xxx definitions. Some of the UTF-8 examples work. 8997a1c0d96SNathan Whitehorn + add back-tab for traversal of tailboxbg widgets, for symmetry with 9007a1c0d96SNathan Whitehorn tab-traversal. 9017a1c0d96SNathan Whitehorn + reduce flicker in tailboxbg by checking if the input file size has 9027a1c0d96SNathan Whitehorn changed. 9037a1c0d96SNathan Whitehorn + modify internals of callbacks to avoid blocking reads of their 9047a1c0d96SNathan Whitehorn associated files by keyboard input. 9057a1c0d96SNathan Whitehorn + add command-line option --no-mouse, to suppress use of mouse. 9067a1c0d96SNathan Whitehorn + add configure option --enable-header-subdir to allow the header files 9077a1c0d96SNathan Whitehorn to be installed into a subdirectory named for the package. 9087a1c0d96SNathan Whitehorn + modify dlg_restore_vars() to retain the updated values of 9097a1c0d96SNathan Whitehorn input_result and input_length, eliminating the need for a caller to 9107a1c0d96SNathan Whitehorn provide their own user buffer (prompted by report by Thiago Bimbatti 9117a1c0d96SNathan Whitehorn Felicio). 9127a1c0d96SNathan Whitehorn + add a null-pointer check in show_result() for 9137a1c0d96SNathan Whitehorn dialog_vars.input_result, and ensure it is set to null after freeing 9147a1c0d96SNathan Whitehorn (prompted by report by Thiago Bimbatti Felicio). 9157a1c0d96SNathan Whitehorn + change order of -I options in CPPFLAGS (report by Michel Feldheim) 9167a1c0d96SNathan Whitehorn + modify pause-widget so that it no longer exits when an unrecognized 9177a1c0d96SNathan Whitehorn key is pressed (patch by Creidieki M Crouch). 9187a1c0d96SNathan Whitehorn + add --with-package option to configure script to allow renaming 9197a1c0d96SNathan Whitehorn of the dialog program and library, to support the package scripts. 9207a1c0d96SNathan Whitehorn + add Debian and RPM package scripts for test-builds. 9217a1c0d96SNathan Whitehorn + several improvements to configure script: 9227a1c0d96SNathan Whitehorn + quote params of ifelse() 9237a1c0d96SNathan Whitehorn + change obsolete ${name-value} to standard ${name:-value} 9247a1c0d96SNathan Whitehorn + use new macros CF_ADD_LIB/CF_ADD_LIBS to enforce consistency. 9257a1c0d96SNathan Whitehorn + AM_GNU_GETTEXT, drop $MKINSTALLDIRS, use "mkdir -p" consistently. 9267a1c0d96SNathan Whitehorn + CF_ADD_SUBDIR_PATH, workaround - if $prefix was not mkdir'd yet, no 9277a1c0d96SNathan Whitehorn directories were added. 9287a1c0d96SNathan Whitehorn + CF_BUNDLED_INTL, add --with-textdomain option, to use with lynx-dev 9297a1c0d96SNathan Whitehorn package 9307a1c0d96SNathan Whitehorn + CF_FIND_LINKAGE, simplify save/restore of $LIBS 9317a1c0d96SNathan Whitehorn + CF_GCC_WARNINGS, fix for Mac OS X (compiler makes conftest.dSYM 9327a1c0d96SNathan Whitehorn directory) 9337a1c0d96SNathan Whitehorn + CF_HEADER_PATH, don't search for variations of everything in the 9347a1c0d96SNathan Whitehorn current include-path 9357a1c0d96SNathan Whitehorn + CF_WITH_CURSES_DIR, move the calls to CF_ADD_INCDIR and 9367a1c0d96SNathan Whitehorn CF_ADD_LIBDIR for the curses-directory here, from 9377a1c0d96SNathan Whitehorn CF_NCURSES_CPPFLAGS and CF_NCURSES_LDFLAGS, so it will work even 9387a1c0d96SNathan Whitehorn with the default checking, e.g., no --with-ncurses, etc. 9392a3e3873SBaptiste Daroussin + update config.guess, config.sub 9407a1c0d96SNathan Whitehorn 9414c8945a0SNathan Whitehorn2010/04/28 9424c8945a0SNathan Whitehorn + several improvements to configure script: 9434c8945a0SNathan Whitehorn + modify CF_CURSES_TERM_H to handle cases such as cygwin where 9444c8945a0SNathan Whitehorn packager has installed curses.h and term.h in different 9454c8945a0SNathan Whitehorn directories, e.g., to wedge in a termcap library. 9464c8945a0SNathan Whitehorn + modify CF_XOPEN_SOURCE, adding special case for OpenSolaris 9474c8945a0SNathan Whitehorn + modify CF_MAKE_TAGS to add check for exctags and exetags, prefer to 9484c8945a0SNathan Whitehorn ctags and etags to work around pkgsrc (NetBSD) renaming. 9494c8945a0SNathan Whitehorn + correct CF_FIND_LINKAGE, setting cache variable for library_file in 9504c8945a0SNathan Whitehorn the special case where no directory search is made. 9514c8945a0SNathan Whitehorn + improve CF_GCC_VERSION, suppress stderr for c89 alias of gcc. 9524c8945a0SNathan Whitehorn + improve CF_GCC_WARNINGS, moving -W and -Wall into the list to 9534c8945a0SNathan Whitehorn check, since c89 alias for gcc complains about these options. 9544c8945a0SNathan Whitehorn + modify CF_HEADER_PATH, to not search for variations of everything 9554c8945a0SNathan Whitehorn in the current include-path 9564c8945a0SNathan Whitehorn + use "mkdir -p", remove mkdirs.sh 9574c8945a0SNathan Whitehorn + use CF_CURSES_HEADER to fill in possible subdirectory used for 9584c8945a0SNathan Whitehorn ncurses header filename. 9594c8945a0SNathan Whitehorn + modify CF_XOPEN_CURSES to work around current ncurse header loss of 9604c8945a0SNathan Whitehorn predefinition of _XOPEN_SOURCE_EXTENDED 9614c8945a0SNathan Whitehorn + add "--disable-rpath-hack" option, along with scripting to add 9624c8945a0SNathan Whitehorn rpath option to libraries found in unusual places. 9634c8945a0SNathan Whitehorn + modify pause widget to autosize like gauge, and to omit the area for 9644c8945a0SNathan Whitehorn buttons when none are displayed. 9654c8945a0SNathan Whitehorn + fix an infinite loop in dlg_button_layout() if there are no buttons 9664c8945a0SNathan Whitehorn to display (Debian #579390). 9674c8945a0SNathan Whitehorn + add makefile rules for generating html, etc., documentation from 9684c8945a0SNathan Whitehorn nroff. 969f4f33ea0SBaptiste Daroussin > patches by Samuel Martin Moro 9704c8945a0SNathan Whitehorn + reset errors in tailbox before reading new character. 9714c8945a0SNathan Whitehorn + modify dlg_draw_scrollbar(), omitting hiding percentages in boxes 9724c8945a0SNathan Whitehorn when no arrows or scrollbar are needed. 9734c8945a0SNathan Whitehorn + correct value of row for scrollbars in formbox. 9744c8945a0SNathan Whitehorn + update es.po from 9754c8945a0SNathan Whitehorn http://translationproject.org/latest/dialog/ 9764c8945a0SNathan Whitehorn 9774c8945a0SNathan Whitehorn2010/01/19 9784c8945a0SNathan Whitehorn + split up binding tables in inputbox and similar widgets to avoid 9794c8945a0SNathan Whitehorn conflict between cursor-key use for input-string versus navigation 9804c8945a0SNathan Whitehorn (report by slakmagik). 9814c8945a0SNathan Whitehorn + if strftime() is available, support --time-format option for timebox 9824c8945a0SNathan Whitehorn widget. 9834c8945a0SNathan Whitehorn + if strftime() is available, support --date-format option for calendar 9844c8945a0SNathan Whitehorn widget (request by Walter Harms). 9854c8945a0SNathan Whitehorn + build-fixes for linking to intl library in /usr/local 9864c8945a0SNathan Whitehorn + add --scrollbar option, use in most widgets to show a scrollbar on 9874c8945a0SNathan Whitehorn the right margin of the data. That is cosmetic, does not respond to 9884c8945a0SNathan Whitehorn the mouse. 9894c8945a0SNathan Whitehorn + reuse functions from msgbox to allow prompt for yesno box to be 9904c8945a0SNathan Whitehorn scrolled in a too-small window. 9914c8945a0SNathan Whitehorn + correct mapping of button-codes with --nook option (report by Lebedev 9924c8945a0SNathan Whitehorn Vadim). 9934c8945a0SNathan Whitehorn + cleanup sample scripts using new utility scripts setup-* and report-*, 9944c8945a0SNathan Whitehorn and allow command-line parameters to be added, for ad hoc testing. 9954c8945a0SNathan Whitehorn + correct change to tailbox widget from 2009/02/22 using 9964c8945a0SNathan Whitehorn dlg_button_layout(), which broke that widget. 9974c8945a0SNathan Whitehorn + document some of the portability caveats. 9984c8945a0SNathan Whitehorn + modify gauge widget to service callbacks (prompted by patch and 9994c8945a0SNathan Whitehorn comments by Frank Sorenson). 10004c8945a0SNathan Whitehorn + modify editbox to allow its input buffer to be larger than MAX_LEN 10014c8945a0SNathan Whitehorn unless bounded by the --max-input option, and add limit-checks for 10024c8945a0SNathan Whitehorn the buffer (report by slakmagik). 10034c8945a0SNathan Whitehorn + improve manpage description of --checklist (report by Isaac Good). 10044c8945a0SNathan Whitehorn + several improvements to configure script macros: CF_ADD_CFLAGS 10054c8945a0SNathan Whitehorn CF_CURSES_FUNCS CF_DISABLE_ECHO CF_GCC_ATTRIBUTES CF_MATH_LIB 10064c8945a0SNathan Whitehorn CF_POSIX_C_SOURCE CF_REMOVE_DEFINE CF_WITH_LIBTOOL CF_XOPEN_SOURCE 10074c8945a0SNathan Whitehorn + add is.po, lv.po, sw.po from 10084c8945a0SNathan Whitehorn http://translationproject.org/latest/dialog/ 10094c8945a0SNathan Whitehorn + update de.po, id.po, pl.po, pt_BR.po, vi.po from 10104c8945a0SNathan Whitehorn http://translationproject.org/latest/dialog/ 10114c8945a0SNathan Whitehorn 10124c8945a0SNathan Whitehorn2009/02/22 10134c8945a0SNathan Whitehorn + do not display top-arrows for scrolling if they would overwrite the 10144c8945a0SNathan Whitehorn title (report by slakmagik) 10154c8945a0SNathan Whitehorn + consistently use dlg_button_layout() when autosizing widgets (report 10164c8945a0SNathan Whitehorn by slakmagik). 10174c8945a0SNathan Whitehorn + add "-" and "+" bindings to timebox widget. 10184c8945a0SNathan Whitehorn + add "-" and "+" bindings to calendar widget (OpenSolaris #6739031). 10194c8945a0SNathan Whitehorn + review/fix other widgets to ensure that they exit on error, e.g., 10204c8945a0SNathan Whitehorn editbox.c 10214c8945a0SNathan Whitehorn + modify check in dlg_getc() to treat closure of either stdin or stdout 10224c8945a0SNathan Whitehorn as an error, rather than both. This is more stringent than the check 10234c8945a0SNathan Whitehorn added in 2007/07/04. 10244c8945a0SNathan Whitehorn + modify dlg_result_key() to map curses ERR to dialog's error exit 10254c8945a0SNathan Whitehorn (adapted from patch by Domagoj Pensa). 10264c8945a0SNathan Whitehorn + updated several configure script macros: 10274c8945a0SNathan Whitehorn + consistently append, rather then prepend, to $CFLAGS 10284c8945a0SNathan Whitehorn + add cases for AIX 6, mint, and dragonfly to CF_XOPEN_SOURCE 10294c8945a0SNathan Whitehorn + use $PATH_SEPARATOR rather than $PATHSEP 10304c8945a0SNathan Whitehorn + improve CF_FIND_LINKAGE, use in checks for more libraries, e.g., 10314c8945a0SNathan Whitehorn libutf8 and libiconv. 10324c8945a0SNathan Whitehorn + update da.po, ru.po from 10334c8945a0SNathan Whitehorn http://translationproject.org/latest/dialog/ 10342a3e3873SBaptiste Daroussin + update config.guess, config.sub 10354c8945a0SNathan Whitehorn 10364c8945a0SNathan Whitehorn2008/08/19 10374c8945a0SNathan Whitehorn + amend changes to quoting; by default, the checklist widget quotes its 10384c8945a0SNathan Whitehorn output except when --separate-output is used (Debian #495600). 10394c8945a0SNathan Whitehorn + add eo.po from 10404c8945a0SNathan Whitehorn http://translationproject.org/latest/dialog/ 10414c8945a0SNathan Whitehorn 10424c8945a0SNathan Whitehorn2008/07/27 10434c8945a0SNathan Whitehorn + add pointer-check when closing piped input (cf: 2007/03/25) 10444c8945a0SNathan Whitehorn + use here-documents rather than echo, when passing backslashes in 10454c8945a0SNathan Whitehorn strings, to accommodate the Debian shell "dash" (Debian #489563). 10464c8945a0SNathan Whitehorn + recode several ".po" files to UTF-8 for consistency. 10474c8945a0SNathan Whitehorn + change --separator to be an alias for --output-separator, for 10484c8945a0SNathan Whitehorn compatibility with Xdialog. 10494c8945a0SNathan Whitehorn + add --output-separator option to allow scripts to change the output 10504c8945a0SNathan Whitehorn separator from a newline (for --separate-output) or a space. This 10514c8945a0SNathan Whitehorn applies to other widgets such as forms and editboxes which normally 10524c8945a0SNathan Whitehorn use a newline. 10534c8945a0SNathan Whitehorn + add --column-separator option, to tell where column-aligned data for 10544c8945a0SNathan Whitehorn radio/checkboxes or menus should be split into columns (request by 10554c8945a0SNathan Whitehorn Ben Dibbens). 10564c8945a0SNathan Whitehorn + add id.po, ku.po, lt.po, nb.po and update ca.po, fr.po, gl.po, ja.po, 10574c8945a0SNathan Whitehorn th.po from 10584c8945a0SNathan Whitehorn http://translationproject.org/latest/dialog/ 10594c8945a0SNathan Whitehorn + add "--quoted" option, to quote values returned by formbox, etc. 10604c8945a0SNathan Whitehorn + change names of EX/ES macros in dialog.1 to work around name- 10614c8945a0SNathan Whitehorn pollution caused by changes in Debian #470729. 10624c8945a0SNathan Whitehorn 10634c8945a0SNathan Whitehorn2008/03/16 10644c8945a0SNathan Whitehorn + modify dlg_mouse_wgetch() to loop only on errors that it detects, 10654c8945a0SNathan Whitehorn rather than on errors forwarded from dlg_getc(), in case those are 10664c8945a0SNathan Whitehorn due to a disconnected terminal (report by Anatoli Sakhnik). 10674c8945a0SNathan Whitehorn + allow "default" color in dialogrc file (request by Dashing). 10684c8945a0SNathan Whitehorn + fix an indexing error in formbox (Debian #469190, report by Dmitry 10694c8945a0SNathan Whitehorn Gomerman, patch by Vladimir Mezentsev). 10704c8945a0SNathan Whitehorn + add bindings for CTL/N, CTL/P to checklist, fselect and menubox 10714c8945a0SNathan Whitehorn widgets (prompted by discussion with John Gatewood Ham). 10724c8945a0SNathan Whitehorn + add be@latin.po, th.po and update zh_TW.po from 10734c8945a0SNathan Whitehorn http://translationproject.org/latest/dialog/ 10744c8945a0SNathan Whitehorn > patches by Peter Astrand: 10754c8945a0SNathan Whitehorn + modify dlg_auto_sizefile() to ensure the computed height and width 10764c8945a0SNathan Whitehorn do not extend beyond the screen size. 10774c8945a0SNathan Whitehorn + use unctrl() to make inputstr.c work with Solaris curses. 10784c8945a0SNathan Whitehorn > patches by Yura Kalinichenko: 10794c8945a0SNathan Whitehorn + extend pause widget to use ok/cancel buttons (the former giving the 10804c8945a0SNathan Whitehorn same result as a timeout), rather than an exit-button. 10814c8945a0SNathan Whitehorn + fix initialization parameter of inputbox for multibyte characters. 10824c8945a0SNathan Whitehorn 10834c8945a0SNathan Whitehorn2007/10/28 10844c8945a0SNathan Whitehorn + improve layout of checklist.c, menubox.c, ensuring that the list fits 10854c8945a0SNathan Whitehorn within the available space (report by Gordon Schumacher). 10864c8945a0SNathan Whitehorn + undo removal of redundant chunk from checklist.c in 2007/02/27, 10874c8945a0SNathan Whitehorn since some scripts depend on this (Debian #443077). 10884c8945a0SNathan Whitehorn + update nl.po from 10894c8945a0SNathan Whitehorn http://translationproject.org/latest/dialog/ 10904c8945a0SNathan Whitehorn 10914c8945a0SNathan Whitehorn2007/09/30 10924c8945a0SNathan Whitehorn + correct cursor position in editbox after deleting past left margin 10934c8945a0SNathan Whitehorn (report by Joe McDonagh). 10944c8945a0SNathan Whitehorn + add "--no-ok" option (patch by Klaus Knopper). 10954c8945a0SNathan Whitehorn + modify "--file" option to allow it to read from sources other than 10964c8945a0SNathan Whitehorn a regular file (patch by Pieter van Beek). 10974c8945a0SNathan Whitehorn + improved hi.po (Hindi) (from Klaus Knopper). 10984c8945a0SNathan Whitehorn + fix masking of attributes in dlg_draw_shadow() which lost 10994c8945a0SNathan Whitehorn line-drawing bit (report by David Everly). 11004c8945a0SNathan Whitehorn + fix editbox widget to handle zero-length files (report by Joe 11014c8945a0SNathan Whitehorn McDonagh). 11024c8945a0SNathan Whitehorn + update "po" files eu.po ga.po it.po ms.po sv.po vi.po wa.po zh_CN.po 11034c8945a0SNathan Whitehorn from 11044c8945a0SNathan Whitehorn http://translationproject.org/latest/dialog/ 11054c8945a0SNathan Whitehorn 11064c8945a0SNathan Whitehorn2007/07/04 11074c8945a0SNathan Whitehorn + revise the resizable shadows so textbox's search dialog has text 11084c8945a0SNathan Whitehorn visible in the shadow again. 11094c8945a0SNathan Whitehorn + improve the prefixing of autoconf-related symbols in the installed 11104c8945a0SNathan Whitehorn header files, taking into account symbols which are not mentioned in 11114c8945a0SNathan Whitehorn dlg_config.h 11124c8945a0SNathan Whitehorn + add a check when ERR returned from wgetch() to ensure that the 11134c8945a0SNathan Whitehorn input/output streams are still valid. If that happens, force 11144c8945a0SNathan Whitehorn ESC to be returned, quitting dialog (report by Reiner Huober). 11154c8945a0SNathan Whitehorn + add extern "C" declarations to dlg_keys.h so the corresponding 11164c8945a0SNathan Whitehorn function declarations are exported to C++ as C symbols. 11172a3e3873SBaptiste Daroussin + update config.guess, config.sub 11184c8945a0SNathan Whitehorn 11194c8945a0SNathan Whitehorn2007/06/04 11204c8945a0SNathan Whitehorn + fix a memory leak in editbox.c 11214c8945a0SNathan Whitehorn + revise change from 2007/02/27 which moved the logic for trimming 11224c8945a0SNathan Whitehorn option text out of the loop because that moved it before 11234c8945a0SNathan Whitehorn initialization of the "--trim" option. Put it back in the loop, but 11244c8945a0SNathan Whitehorn limit the tokens which are trimmed to cover only those for the 11254c8945a0SNathan Whitehorn current widget. Also ensure that all tokens for a widget are 11264c8945a0SNathan Whitehorn trimmed, rather than only the first, which is usually text (report by 11274c8945a0SNathan Whitehorn Lai Zit Seng). 11284c8945a0SNathan Whitehorn + add _FILE_OFFSET_BITS definition in CF_LARGEFILE configure macro. 11294c8945a0SNathan Whitehorn 11304c8945a0SNathan Whitehorn2007/05/28 11314c8945a0SNathan Whitehorn + revise changes needed to make textbox's searchbox handle ncurses 11324c8945a0SNathan Whitehorn resizing events, e.g., by handling the ERR in that code rather than 11334c8945a0SNathan Whitehorn in dlg_getc() (Debian #423732). 11344c8945a0SNathan Whitehorn 11354c8945a0SNathan Whitehorn2007/05/14 11364c8945a0SNathan Whitehorn + supply a repaint_text() call in tailbox.c which was bypassed because 11374c8945a0SNathan Whitehorn dlg_getc() now retries on ERR (Debian #423732, cf: 2007/02/27). 11384c8945a0SNathan Whitehorn + modify dlg_getc() to fix regression in 2007/02/27 for use of 11394c8945a0SNathan Whitehorn timeouts, broken by fixes to allow resizing of textbox (patch by 11404c8945a0SNathan Whitehorn Arnaud Fontaine, Debian #418905). 11414c8945a0SNathan Whitehorn + modify dlg_getc() to fix regression in use of TAB for traversal of 11424c8945a0SNathan Whitehorn tailboxbg widgets due to changes for user-definable key bindings 11434c8945a0SNathan Whitehorn (Debian #418917, cf: 2005/12/07). 11444c8945a0SNathan Whitehorn 11454c8945a0SNathan Whitehorn2007/04/09 11464c8945a0SNathan Whitehorn + add case in dlg_getc() to handle tab for traversing between widgets 11474c8945a0SNathan Whitehorn as in the samples/tailboxbg1 script. Normally the key binding 11484c8945a0SNathan Whitehorn overrides, except for the special case where multiple widgets are 11494c8945a0SNathan Whitehorn available. 11504c8945a0SNathan Whitehorn + add configure --with-libtool-opts, which passes its value to the 11514c8945a0SNathan Whitehorn library creation and linkage passes, e.g., 11524c8945a0SNathan Whitehorn --with-libtool-opts=-static 11534c8945a0SNathan Whitehorn to force the result to be static libraries (prompted by a related 11544c8945a0SNathan Whitehorn request by Santiago Vila). 11554c8945a0SNathan Whitehorn > several fixes based on Coverity scan: 11564c8945a0SNathan Whitehorn + fix memory leak in timebox, calendar widgets if the widget cannot 11574c8945a0SNathan Whitehorn be created. 11584c8945a0SNathan Whitehorn + fix memory leak in dlg_key.c if a user binding's storage cannot 11594c8945a0SNathan Whitehorn be allocated. 11604c8945a0SNathan Whitehorn + fix improperly delinked entry in dlg_del_window(). 11614c8945a0SNathan Whitehorn 11624c8945a0SNathan Whitehorn2007/03/25 11634c8945a0SNathan Whitehorn + improve mkdirs.sh to ignore error from mkdir if the target directory 11644c8945a0SNathan Whitehorn happens to already exist (suggested by Harald van Dijk). 11654c8945a0SNathan Whitehorn + amend documentation for --gauge to reflect longstanding quirk which 11664c8945a0SNathan Whitehorn allows it to read percentage from the first line after an "XXX" 11674c8945a0SNathan Whitehorn (Debian #415596). 11684c8945a0SNathan Whitehorn + fix makefile dependency so "configure && make install-lib" works. 11694c8945a0SNathan Whitehorn + fix resizing of msgbox; the message was not repainted (Debian 11704c8945a0SNathan Whitehorn #415022, patch by Brian Rolfe). 11714c8945a0SNathan Whitehorn + fix typo in makefile LIB_OBJECT symbol from 2007/02/27 changes. 11724c8945a0SNathan Whitehorn + improve CF_MBSTATE_T by including stdio.h, needed on Tru64 to make 11734c8945a0SNathan Whitehorn the test-compile work. 11744c8945a0SNathan Whitehorn + change makefile to install dialog.3 as part of install-lib rather 11754c8945a0SNathan Whitehorn than install-man (report by Thomas Klausner). 11764c8945a0SNathan Whitehorn + use $(INSTALL_SCRIPT) for installing dialog-config (report by 11774c8945a0SNathan Whitehorn Santiago Vila). 11784c8945a0SNathan Whitehorn 11792a3e3873SBaptiste Daroussin2007/02/27 - release 1.1 11802a3e3873SBaptiste Daroussin + mark as "dialog 1.1" 11814c8945a0SNathan Whitehorn + add dialog-config script, which provides applications with compile- 11824c8945a0SNathan Whitehorn and link-information for using the dialog library. 11834c8945a0SNathan Whitehorn + move calls to dlg_trim_string() out of loop in dialog.c, so each 11844c8945a0SNathan Whitehorn string is trimmed once (report by Ivanov Makcim). 11854c8945a0SNathan Whitehorn + modify textbox.c to allow resizing while the search box is presented. 11864c8945a0SNathan Whitehorn This relies on bug-fix in ncurses 5.6 20070224. 11874c8945a0SNathan Whitehorn + use dgettext() rather than gettext() to allow libdialog to use the 11884c8945a0SNathan Whitehorn messages installed for dialog (patch by Vajna Miklos). 11894c8945a0SNathan Whitehorn + modify inputbox to position the cursor initially at the end of any 11904c8945a0SNathan Whitehorn initial-text (request by Klaus Knopper). 11914c8945a0SNathan Whitehorn + add configure --with-valgrind for testing. 11924c8945a0SNathan Whitehorn + add --trace option, for debugging. 11934c8945a0SNathan Whitehorn + add --ascii-lines and --no-lines options to control the way the 11944c8945a0SNathan Whitehorn line-drawing characters are rendered (request by Klaus Knopper). 11954c8945a0SNathan Whitehorn + add --keep-tite option, to override suppression of smcup/rmcup 11964c8945a0SNathan Whitehorn (termcap ti/te) strings which would switch to xterm's alternate 11974c8945a0SNathan Whitehorn screen (Debian #380665). 11984c8945a0SNathan Whitehorn + modify fselect/dselect to use space-character as a completion 11994c8945a0SNathan Whitehorn operator like tab in shells (patch by Yoram Bar Haim). 12004c8945a0SNathan Whitehorn + remove a redundant chunk from checklist.c which reported status a 12014c8945a0SNathan Whitehorn second time if the help-button was pressed but no item-help option 12024c8945a0SNathan Whitehorn was in effect (Andre C Barros). 12034c8945a0SNathan Whitehorn + fix return-status from "dialog --pause" (Debian #409254). 12044c8945a0SNathan Whitehorn + add --mixedform and --mixedgauge dialogs based on patch from 12054c8945a0SNathan Whitehorn Kiran Cherupally. 12064c8945a0SNathan Whitehorn + add some notes on compatibility to the manpage. 12074c8945a0SNathan Whitehorn + add editbox dialog (compatible with Xdialog, Debian #368478). 12084c8945a0SNathan Whitehorn + add dselect dialog (compatible with Xdialog). 12094c8945a0SNathan Whitehorn + remove an incorrect initialization of .text_flen from 2005/12/07 12104c8945a0SNathan Whitehorn changes, which made all fields in a form editable (Debian #404045). 12114c8945a0SNathan Whitehorn + report error and exit if a filename given for the --file option 12124c8945a0SNathan Whitehorn cannot be opened (report by "Dog Walker"). 12134c8945a0SNathan Whitehorn + make --program-prefix, etc., work in configure script, e.g., to make 12144c8945a0SNathan Whitehorn program install as "cdialog". This does not alter the library name. 12154c8945a0SNathan Whitehorn + add install-bin, install-man (and uninstall) rules to makefile. 12164c8945a0SNathan Whitehorn + updates for configure script macros (originally vile, lynx, xterm): 12174c8945a0SNathan Whitehorn AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, CF_CURSES_CPPFLAGS, 12184c8945a0SNathan Whitehorn CF_CURSES_LIBS, CF_INCLUDE_DIRS, CF_LARGEFILE, CF_MAKEFLAGS, 12194c8945a0SNathan Whitehorn CF_PATH_SYNTAX, CF_SUBDIR_PATH, CF_SUBST, CF_WITH_DBMALLOC, 12204c8945a0SNathan Whitehorn CF_WITH_DMALLOC, CF_WITH_LIBTOOL and CF_XOPEN_SOURCE. 12212a3e3873SBaptiste Daroussin + update config.guess, config.sub 12224c8945a0SNathan Whitehorn > adapted fixes from SuSE package (Werner Fink): 12234c8945a0SNathan Whitehorn + add some limit-checks in dlg_draw_shadow(). 12244c8945a0SNathan Whitehorn + make shadows resizable, using new dlg_move_window() in msgbox.c 12254c8945a0SNathan Whitehorn and yesno.c 12264c8945a0SNathan Whitehorn + add dialog_state.input, use this in end_dialog() to decide whether 12274c8945a0SNathan Whitehorn to close pipe inputs and call _exit(), or simply call exit(). 12284c8945a0SNathan Whitehorn + modify dlg_ctl_size() to check if the reason for failure is because 12294c8945a0SNathan Whitehorn shadows were used; retry in that case without shadows. 12304c8945a0SNathan Whitehorn + add signal catcher for SIGSEGV. 12314c8945a0SNathan Whitehorn 12324c8945a0SNathan Whitehorn2006/02/21 12334c8945a0SNathan Whitehorn + fix logic in split-out dlg_menu() to separate inputmenu and menu 12344c8945a0SNathan Whitehorn handling (report by Auke Kok). 12354c8945a0SNathan Whitehorn 12364c8945a0SNathan Whitehorn2006/01/26 12374c8945a0SNathan Whitehorn + fix fselect.c to compile properly with Intel compiler and largefile 12384c8945a0SNathan Whitehorn option. 12394c8945a0SNathan Whitehorn + improve configure script checks for curses headers to work around 12404c8945a0SNathan Whitehorn breakage in some packages, e.g., cygwin. 12414c8945a0SNathan Whitehorn + amend correction to menubox, fixes normal menus (Debian #349969). 12424c8945a0SNathan Whitehorn 12434c8945a0SNathan Whitehorn2006/01/19 12444c8945a0SNathan Whitehorn + completed dialog.3 manpage 12454c8945a0SNathan Whitehorn + modify configure script option --with-gauge to cover all flavors of 12464c8945a0SNathan Whitehorn the gauge (gauge, pause, progressbox). 12474c8945a0SNathan Whitehorn + add progressbox widget, a hybrid of gauge and tailbox (Reznic Valery). 12484c8945a0SNathan Whitehorn + fix a comparison in checklist.c to avoid unneeded arrows when the 12494c8945a0SNathan Whitehorn list happens to fit in the window (patch by Peter Postma). 12504c8945a0SNathan Whitehorn + correct wrapping computation in print_line() from 2005/11/07 changes 12514c8945a0SNathan Whitehorn (report by Barry Kauler). 12524c8945a0SNathan Whitehorn + update sv.po (comments only). 12534c8945a0SNathan Whitehorn http://www.iro.umontreal.ca/translation/maint/dialog/ 12544c8945a0SNathan Whitehorn + correct logic that passes the callback for menubox to do inputmenu 12554c8945a0SNathan Whitehorn operations from 2005/12/7 changes (report by Reznic Valery). 12564c8945a0SNathan Whitehorn 12574c8945a0SNathan Whitehorn2006/01/01 12584c8945a0SNathan Whitehorn + add a null-pointer check in dlg_register_buttons(), needed for the 12594c8945a0SNathan Whitehorn tailboxbg (Debian #345524). 12604c8945a0SNathan Whitehorn + fix a few memory leaks reported by valgrind. 12614c8945a0SNathan Whitehorn 12624c8945a0SNathan Whitehorn2005/12/19 12634c8945a0SNathan Whitehorn + correct return-values of new functions dlg_default_listitem() and 12644c8945a0SNathan Whitehorn dlg_default_formitem() (Debian #344002). 12654c8945a0SNathan Whitehorn + add Swedish translation (Debian #343303, by Daniel Nylander) 12664c8945a0SNathan Whitehorn + begin function-summaries in dialog.3 12674c8945a0SNathan Whitehorn + update config.guess, config.sub 12684c8945a0SNathan Whitehorn 12694c8945a0SNathan Whitehorn2005/12/07 12704c8945a0SNathan Whitehorn + change license to LGPL. 12714c8945a0SNathan Whitehorn + change naming convention in dlg_colors.h to make it easier to read, 12724c8945a0SNathan Whitehorn and incidentally remove the last chunk of code preventing relicense. 12734c8945a0SNathan Whitehorn + add --passwordform (request by Reznic Valery). 12744c8945a0SNathan Whitehorn + modify pause.c, msgbox.c to work with --help-button. 12754c8945a0SNathan Whitehorn + modify formbox.c, inputbox.c, textbox.c, yesno.c to work with extra 12764c8945a0SNathan Whitehorn button (adapted from Reznic Valery patch). 12774c8945a0SNathan Whitehorn + modify dlg_exit_label(), dlg_yes_labels() and dlg_ok_label() to allow 12784c8945a0SNathan Whitehorn help-button (prompted by Reznic Valery patch). 12794c8945a0SNathan Whitehorn + add zh_CN.po file from 12804c8945a0SNathan Whitehorn http://www.iro.umontreal.ca/translation/maint/dialog/ 12814c8945a0SNathan Whitehorn + provide alternate interfaces for dialog_checklist(), dialog_menu() 12824c8945a0SNathan Whitehorn and dialog_form(): dlg_checklist(), dlg_menu() and dlg_form() 12834c8945a0SNathan Whitehorn (discussion with Michael Gebetsroither). 12844c8945a0SNathan Whitehorn + add/use dlg_result_key() to allow binding function keys to the 12854c8945a0SNathan Whitehorn buttons. 12864c8945a0SNathan Whitehorn + implement user-definable key bindings in the rc-file. 12874c8945a0SNathan Whitehorn + modify inline cases for KEY_xxx values to use binding tables in new 12884c8945a0SNathan Whitehorn module dlg_keys.c 12894c8945a0SNathan Whitehorn + add several DIALOG_STATE items to the rc file: aspect, 12904c8945a0SNathan Whitehorn separate_widget, tab_len and visit_links 12914c8945a0SNathan Whitehorn + add a tab-adjustment to dlg_print_text() to improve solution from 12924c8945a0SNathan Whitehorn 2005/10/30, e.g., in the samples/form* scripts. 12934c8945a0SNathan Whitehorn + fix an off-by-one which made mouse-selection not work for menu items 12944c8945a0SNathan Whitehorn past the first page (GenToo #112024, patch by Harald van Dijk). 12954c8945a0SNathan Whitehorn 12964c8945a0SNathan Whitehorn2005/11/07 12974c8945a0SNathan Whitehorn + extend dlg_add_result() to allow caller to pass a null pointer 12984c8945a0SNathan Whitehorn for dialog_vars.input_result (Debian #336986). 12994c8945a0SNathan Whitehorn + correct length used for text portion of radio/checkboxes (report by 13004c8945a0SNathan Whitehorn Valentin Stoykov). 13014c8945a0SNathan Whitehorn + modify msgbox, textbox and center_label() to work properly for 13024c8945a0SNathan Whitehorn LANG=bg_BG.utf8 examples by Valentin Stoykov. 13034c8945a0SNathan Whitehorn + modify use of freopen() to work with opaque FILE type on DragonFly 13044c8945a0SNathan Whitehorn (report by Jeremy C Reed). 13054c8945a0SNathan Whitehorn + modify print_line() to compute columns, use that for the call to 13064c8945a0SNathan Whitehorn dlg_print_line(). Fix a few places where strlen() was used instead 13074c8945a0SNathan Whitehorn of dlg_count_columns() (reports by Valentin Stoykov). 13084c8945a0SNathan Whitehorn 13094c8945a0SNathan Whitehorn2005/10/30 13104c8945a0SNathan Whitehorn + reviewed changes since beginning development in 1999, decided that 13114c8945a0SNathan Whitehorn there are no appreciable portions of original code remaining. 13124c8945a0SNathan Whitehorn Marked sources to correspond. 13134c8945a0SNathan Whitehorn + improve cache performance for inputstr.c using tsearch() rather than 13144c8945a0SNathan Whitehorn a linked-list search (Debian #294853). 13154c8945a0SNathan Whitehorn + remove a special case for darwin in CF_XOPEN_SOURCE configure macro. 13164c8945a0SNathan Whitehorn + add ms.po file from 13174c8945a0SNathan Whitehorn http://www.iro.umontreal.ca/translation/maint/dialog/ 13184c8945a0SNathan Whitehorn + remove an assignment that caused the cursor to appear initially on a 13194c8945a0SNathan Whitehorn form field rather than button (Debian #333506). 13204c8945a0SNathan Whitehorn + modify buttons.c to count columns rather than bytes, fixing case 13214c8945a0SNathan Whitehorn where buttons were laid out incorrectly (report by Valentin Stoykov). 13224c8945a0SNathan Whitehorn + change dlg_print_text() to count columns rather than bytes, fixing 13234c8945a0SNathan Whitehorn case where fewer columns were displayed in menu than expected 13244c8945a0SNathan Whitehorn (report by Valentin Stoykov). 13254c8945a0SNathan Whitehorn 13264c8945a0SNathan Whitehorn2005/10/05 13274c8945a0SNathan Whitehorn + improve fix for dlg_does_output(), eliminating redundant leading 13284c8945a0SNathan Whitehorn separator. 13294c8945a0SNathan Whitehorn + fill background color for item-help text (report by Peter Postma). 13304c8945a0SNathan Whitehorn + correct interaction between --separate-output and --output-separator 13314c8945a0SNathan Whitehorn broken in 2005/09/11 fix for Debian #326918 (Debian #331440). 13324c8945a0SNathan Whitehorn + update config.guess, config.sub 13334c8945a0SNathan Whitehorn 13344c8945a0SNathan Whitehorn2005/09/11 13354c8945a0SNathan Whitehorn + undo doubled adjustment for left/right margins when wrapping text 13364c8945a0SNathan Whitehorn for msgbox, gauge and pause (report by Xyba). 13374c8945a0SNathan Whitehorn + correct position of scrolled text in formbox broken by 2004/12/19 13384c8945a0SNathan Whitehorn changes (report by Konrad Jelen). 13394c8945a0SNathan Whitehorn + call dlg_does_output() from dlg_add_result(), ensuring that 13404c8945a0SNathan Whitehorn separators are used when combining widgets such as formbox (report by 13414c8945a0SNathan Whitehorn John Suykerbuyk). 13424c8945a0SNathan Whitehorn + fix marker in textbox.c to make it disappear at the top of the file 13434c8945a0SNathan Whitehorn (report by Patrick J. Volkerding). 13444c8945a0SNathan Whitehorn + fix marker shown in arrows.c for checklists, etc., which was "(+)" 13454c8945a0SNathan Whitehorn where it should have been "(-)" (report/patch by Patrick J. 13464c8945a0SNathan Whitehorn Volkerding). 13474c8945a0SNathan Whitehorn + fix --input-fd (changes in glibc since 2003 made dialog hang on exit 13484c8945a0SNathan Whitehorn due to the way dialog updated stdin). 13494c8945a0SNathan Whitehorn + restore default value (a tab) for --separator or --separate-widget 13504c8945a0SNathan Whitehorn lost in 2003/11/26 changes (Debian #326918). 13514c8945a0SNathan Whitehorn + make several widgets handle SIGWINCH (calendar, checklist, formbox, 13524c8945a0SNathan Whitehorn fselect, inputbox, menubox, pause, tailbox, textbox, timebox). Only 13534c8945a0SNathan Whitehorn msgbox and yesno had been done before. Note that some still have 13544c8945a0SNathan Whitehorn fixed geometry requirements, so they cannot be shrunk below a given 13554c8945a0SNathan Whitehorn threshold. Also, these changes do not address traversal, e.g., for 13564c8945a0SNathan Whitehorn tailboxbg. 13574c8945a0SNathan Whitehorn + make gauge widget handle SIGWINCH with ncurses (Debian #305705). 13584c8945a0SNathan Whitehorn + add configure option to control whether largefile support is 13594c8945a0SNathan Whitehorn compiled-in (Debian #298882). 13604c8945a0SNathan Whitehorn + update eu.po (Debian #312622, patch by Piarres Egana). 13614c8945a0SNathan Whitehorn + add/update po files from 13624c8945a0SNathan Whitehorn http://www.iro.umontreal.ca/translation/maint/dialog/ 13634c8945a0SNathan Whitehorn fi.po, rw.po, sr.po, tr.po, zh_TW.po 13644c8945a0SNathan Whitehorn + fixes for configure script: 13654c8945a0SNathan Whitehorn + improve script for determining gcc version 13664c8945a0SNathan Whitehorn + improve checks for Intel compiler and related warning options 13674c8945a0SNathan Whitehorn + improve checks for defining _XOPEN_SOURCE (or alternatives) and 13684c8945a0SNathan Whitehorn _POSIX_C_SOURCE 13694c8945a0SNathan Whitehorn + update config.guess, config.sub 13704c8945a0SNathan Whitehorn 13714c8945a0SNathan Whitehorn2005/03/06 13724c8945a0SNathan Whitehorn + add/update po files from 13734c8945a0SNathan Whitehorn http://www.iro.umontreal.ca/translation/maint/dialog/ 13744c8945a0SNathan Whitehorn ga.po, it.po 13754c8945a0SNathan Whitehorn + revert last change for da.po; it was from an older version (report by 13764c8945a0SNathan Whitehorn Morten Brix Pedersen). 13774c8945a0SNathan Whitehorn 13784c8945a0SNathan Whitehorn2005/02/06 13794c8945a0SNathan Whitehorn + modify makefile.in so --disable-echo applies to libtool builds. 13804c8945a0SNathan Whitehorn + corrected malloc size used for editable fields in formbox widget to 13814c8945a0SNathan Whitehorn match the function which updates the corresponding buffer. 13824c8945a0SNathan Whitehorn + modify formbox widget's use of flen to allow negative values to be 13834c8945a0SNathan Whitehorn used to limit the length of the displayed field. 13844c8945a0SNathan Whitehorn + improve description in manpage of output from formbox widget 13854c8945a0SNathan Whitehorn (Debian #292418). 13864c8945a0SNathan Whitehorn + modify formbox widget to allow fields with flen==0 to display 13874c8945a0SNathan Whitehorn (Debian #292417). 13884c8945a0SNathan Whitehorn + improved configure macros CF_POSIX_C_SOURCE and CF_XOPEN_SOURCE, to 13894c8945a0SNathan Whitehorn avoid redefinition warnings on cygwin. 13904c8945a0SNathan Whitehorn + fix a typo in inputmenu-stdout found via "sh -n" (report by Steve 13914c8945a0SNathan Whitehorn Grubb). 13924c8945a0SNathan Whitehorn + add/update po files from 13934c8945a0SNathan Whitehorn http://www.iro.umontreal.ca/translation/maint/dialog/ 13944c8945a0SNathan Whitehorn ca.po, da.po, hu.po, nl.po, rm.po, ro.po, vi.po 13954c8945a0SNathan Whitehorn 13964c8945a0SNathan Whitehorn2005/01/16 13974c8945a0SNathan Whitehorn + add --args option to help with debugging scripts. 13984c8945a0SNathan Whitehorn + adapted some new po files from Debian package for whiptail: ar.po, 13994c8945a0SNathan Whitehorn bg.po, gl.po, hi.po, hr.po, mg.po, mk.po, ro.po, sq.po and zh_TW.po 14004c8945a0SNathan Whitehorn + update da.po (Morten Brix Pedersen). 14014c8945a0SNathan Whitehorn + add configure check for Intel 8.0 compiler, to set appropriate 14024c8945a0SNathan Whitehorn warning options. 14034c8945a0SNathan Whitehorn + update config.guess, config.sub 14044c8945a0SNathan Whitehorn 14054c8945a0SNathan Whitehorn2004/12/22 14064c8945a0SNathan Whitehorn + correct a typo in 2004/12/19 changes which caused width of multibyte 14074c8945a0SNathan Whitehorn characters to be incorrectly computed in some locales. 14084c8945a0SNathan Whitehorn + modify --version and --help options to write consistently to the 14094c8945a0SNathan Whitehorn standard output (report by Santiago Vila). 14104c8945a0SNathan Whitehorn + modify tailboxbg by resetting tty modes at the point where it forks a 14114c8945a0SNathan Whitehorn process to update the screen, rather than waiting until that process 14124c8945a0SNathan Whitehorn exits. This improves user feedback by making it apparent that dialog 14132a3e3873SBaptiste Daroussin is no longer processing input after that point (Redhat #142538). 14144c8945a0SNathan Whitehorn + minor updates to some .po files using Babel Fish, comparing with lynx. 14154c8945a0SNathan Whitehorn + update es.po (Santiago Vila). 14164c8945a0SNathan Whitehorn + work around bug in NetBSD 1.6 curses which seems to be confused by 14174c8945a0SNathan Whitehorn reusing color pairs with different video attributes. The problem 14184c8945a0SNathan Whitehorn does not appear in NetBSD 2.0 curses (but its headers do not provide 14194c8945a0SNathan Whitehorn version info, so color-caching is not available for that 14204c8945a0SNathan Whitehorn configuration). 14214c8945a0SNathan Whitehorn + modify pause and gauge widgets to ensure that reverse-video progress 14224c8945a0SNathan Whitehorn bar is visible when the background is reversed, e.g., using the 14234c8945a0SNathan Whitehorn default non-color attributes. 14244c8945a0SNathan Whitehorn + use chtype rather than attr_t, to build with old Solaris curses, 14254c8945a0SNathan Whitehorn used in save/restore operation from 2004/09/20. 14264c8945a0SNathan Whitehorn 14274c8945a0SNathan Whitehorn2004/12/19 14284c8945a0SNathan Whitehorn + add pause-widget (patch by Yura Kalinichenko). 14294c8945a0SNathan Whitehorn + modify exit-code returned on selecting the "Help"-button when the 14304c8945a0SNathan Whitehorn --item-help option is given. Previously this returned the same code 14314c8945a0SNathan Whitehorn as "OK", since it combines output for "OK" with the help status. It 14324c8945a0SNathan Whitehorn now returns the help-code, but this can be overridden by setting the 14334c8945a0SNathan Whitehorn environment variable $DIALOG_ITEM_HELP (reports by Erika Pacholleck 14344c8945a0SNathan Whitehorn and Sebastian Muesch). 14354c8945a0SNathan Whitehorn + modify formbox widget so input-length is not limited to field-length 14364c8945a0SNathan Whitehorn (report by David Liebermann). 14374c8945a0SNathan Whitehorn + localize the label on the search box for textbox widget (report by 14384c8945a0SNathan Whitehorn Erika Pacholleck). 14394c8945a0SNathan Whitehorn + correct usage message detail for fselect, which listed an extra 14404c8945a0SNathan Whitehorn parameter (Debian #284008). 14414c8945a0SNathan Whitehorn + add include for <sys/select.h> in ui_getc.c to build with QNX 4.25 14424c8945a0SNathan Whitehorn using Watcom 10.6 (patch by Len Meakin). 14434c8945a0SNathan Whitehorn + modify behavior when no locale (or POSIX locale) is set to allow 14444c8945a0SNathan Whitehorn legacy interpretation of Latin-1 character set (Debian #284795). 14454c8945a0SNathan Whitehorn 14464c8945a0SNathan Whitehorn2004/11/18 14474c8945a0SNathan Whitehorn + correct computation of column width for menubox/checkbox tags, for 14484c8945a0SNathan Whitehorn multicolumn characters, e.g., the menubox-utf8 example. 14494c8945a0SNathan Whitehorn + correct calls to wbkgdset(), which set the background attribute but 14504c8945a0SNathan Whitehorn not the corresponding character (ncurses uses blank if none is given). 14514c8945a0SNathan Whitehorn + improve configure script check for _XOPEN_SOURCE and _POSIX_C_SOURCE. 14524c8945a0SNathan Whitehorn + improved limit-computation in show_message() to allow for scrolling 14534c8945a0SNathan Whitehorn very long messages. 14544c8945a0SNathan Whitehorn + adjust scrolling logic in msgbox to account for the one-line offset 14554c8945a0SNathan Whitehorn used by the logic which wraps text in a box, thus avoiding leaving 14564c8945a0SNathan Whitehorn an extra blank line (report by Maxim Sobolev). 14574c8945a0SNathan Whitehorn 14584c8945a0SNathan Whitehorn2004/09/20 14594c8945a0SNathan Whitehorn + add samples/whiptail.rc 14604c8945a0SNathan Whitehorn + add samples/dialog.py (noting that a later version of this exists 14614c8945a0SNathan Whitehorn as pythondialog, but this is relatively self-contained). Modified 14624c8945a0SNathan Whitehorn the script to accept the $DIALOG environment variable like the other 14634c8945a0SNathan Whitehorn sample scripts, to specify the path of the program to use. 14644c8945a0SNathan Whitehorn + modify the install rule for header-files so the autoconf names in 14654c8945a0SNathan Whitehorn dlg_config.h (and corresponding usage in dialog.h, etc), are altered 14664c8945a0SNathan Whitehorn from "HAVE_xxx" to "DLG_HAVE_xxx", etc. 14674c8945a0SNathan Whitehorn + add a check for getenv("HOME") in rc.c 14684c8945a0SNathan Whitehorn + add a call to end_dialog() in signal_handler for tailboxbg (from 14694c8945a0SNathan Whitehorn patch by Werner Fink). 14704c8945a0SNathan Whitehorn + correct initialization in checklist and radiobox for --default-item, 14714c8945a0SNathan Whitehorn scrolling as needed. 14724c8945a0SNathan Whitehorn + modify --visit-items option so that it puts the cursor initially on 14734c8945a0SNathan Whitehorn the list (in menubox, checklist and radiobox), accepts abbreviations 14744c8945a0SNathan Whitehorn for the buttons when the cursor is on the button-row, and otherwise 14754c8945a0SNathan Whitehorn (when --visit-items is given) abbreviations apply only to the list 14764c8945a0SNathan Whitehorn (report by Erika Pacholleck). 14774c8945a0SNathan Whitehorn + modify a few widgets (inputbox, textbox, yesno) to beep on unexpected 14784c8945a0SNathan Whitehorn input. 14794c8945a0SNathan Whitehorn + modify some msgbox widget to accept abbreviations of its button 14804c8945a0SNathan Whitehorn label, for consistency with other widgets (request by Erika 14814c8945a0SNathan Whitehorn Pacholleck). 14824c8945a0SNathan Whitehorn + corrected logic of dlg_char_to_button(), making it check only the 14834c8945a0SNathan Whitehorn first uppercase letter in each button label rather than all uppercase 14844c8945a0SNathan Whitehorn letters (report by Erika Pacholleck, cf: 2003/09/10). 14854c8945a0SNathan Whitehorn + improved description of --clear and --keep-window options (adapted 14864c8945a0SNathan Whitehorn from Erika Pacholleck). 14874c8945a0SNathan Whitehorn + move discussion of --beep and --beep-signal options to Obsolete 14884c8945a0SNathan Whitehorn Options section of manpage, remove these from the help-message 14894c8945a0SNathan Whitehorn (report by Erika Pacholleck). 14904c8945a0SNathan Whitehorn + bracket extern's in dialog.h with C++ extern "C" declaration, in case 14914c8945a0SNathan Whitehorn the library is used from a C++ application. 14924c8945a0SNathan Whitehorn + modify inputmenu examples to allow ESC to cancel the script. 14934c8945a0SNathan Whitehorn + modify inputmenu widget to cancel edit on a TAB or ESC. 14944c8945a0SNathan Whitehorn + modify inputmenu widget to use the same color scheme for the editable 14954c8945a0SNathan Whitehorn text as the inputbox widget. 14964c8945a0SNathan Whitehorn + modify samples/killall to work around differences in "cut" versions. 14974c8945a0SNathan Whitehorn + use the color-caching from the \Z logic when loading the ".rc" file, 14984c8945a0SNathan Whitehorn thereby reducing the number of color pairs required, and making it 14994c8945a0SNathan Whitehorn less likely that deriving color pairs for drawing arrows on a given 15004c8945a0SNathan Whitehorn background will run out of colors. 15014c8945a0SNathan Whitehorn + save/restore window attributes in dlg_draw_arrows() and similar 15024c8945a0SNathan Whitehorn functions, to allow widgets to draw arrows using the widget's 15034c8945a0SNathan Whitehorn background rather than a common/fixed value (request by Erika 15044c8945a0SNathan Whitehorn Pacholleck). 15054c8945a0SNathan Whitehorn + modify textbox widget so the down-arrow will be hidden when at the 15064c8945a0SNathan Whitehorn end of the file. (Modifying the up-arrow to be hidden is harder - 15074c8945a0SNathan Whitehorn will do this when implementing scrollbars). 15084c8945a0SNathan Whitehorn + correct off-by-one in fselect.c which left down-arrows showing at 15094c8945a0SNathan Whitehorn the bottom of directory- and file-lists (report by Erika Pacholleck). 15104c8945a0SNathan Whitehorn + improve display of percentages by omitting blanks where lines should 15114c8945a0SNathan Whitehorn be shown. 15124c8945a0SNathan Whitehorn + modify logic for \Z escapes to make those that set video attributes 15134c8945a0SNathan Whitehorn not clear the colors (report by Erika Pacholleck). 15144c8945a0SNathan Whitehorn + modify logic for \Z escapes to allow foreground and background 15154c8945a0SNathan Whitehorn colors to be the same, provided that bold attribute is set. 15164c8945a0SNathan Whitehorn Also improved the logic for choosing a background color when the 15174c8945a0SNathan Whitehorn foreground and background are the same (report by Erika Pacholleck). 1518682c9e0fSNathan Whitehorn + updated configure script macro CF_XOPEN_SOURCE, ensuring that the 15194c8945a0SNathan Whitehorn _POSIX_C_SOURCE value is defined with a specific value (bug report 15204c8945a0SNathan Whitehorn originally for lynx). 15214c8945a0SNathan Whitehorn + fix configure script so that po/makefile is generated properly when 15224c8945a0SNathan Whitehorn the configure --srcdir --enable-nls options are used. 15234c8945a0SNathan Whitehorn + modify makefile.in to allow build/install from another directory, 15244c8945a0SNathan Whitehorn i.e., using configure --srcdir (patch by Mike Castle). 15254c8945a0SNathan Whitehorn + updated da.po (Debian #262587, Morten Brix Pedersen). 15264c8945a0SNathan Whitehorn + modify some sample scripts to avoid using grave quotes nested within 15274c8945a0SNathan Whitehorn double quotes with multiple file redirection, which does not work 15284c8945a0SNathan Whitehorn with Solaris /bin/sh (report/analysis by Eric Haller). 15294c8945a0SNathan Whitehorn + check for end of string immediately after a \Z escape to avoid 15304c8945a0SNathan Whitehorn displaying the null terminator as a ^@ (report by Erika Pacholleck). 15314c8945a0SNathan Whitehorn > patches by Erika Pacholleck: 15324c8945a0SNathan Whitehorn + modify calendar.c, fselect.c and timebox.c to use color scheme like 15334c8945a0SNathan Whitehorn other lists, using menubox colors rather than dialog colors. 15344c8945a0SNathan Whitehorn + correct charset for po/de.po, translate messages for "Help" and 15354c8945a0SNathan Whitehorn "Rename". 15364c8945a0SNathan Whitehorn + omit parentheses around percentage in textbox.c 15374c8945a0SNathan Whitehorn + correct a few mismatched attributes, e.g., searchbox_attr in textbox.c, 15384c8945a0SNathan Whitehorn percentage in msgbox.c, 15394c8945a0SNathan Whitehorn 15404c8945a0SNathan Whitehorn 15414c8945a0SNathan Whitehorn2004/07/31 15424c8945a0SNathan Whitehorn + add test scripts to cover zero-width column case. 15434c8945a0SNathan Whitehorn + remove limit checks from checklist.c and menubox.c (cf: 2004/07/28), 15444c8945a0SNathan Whitehorn since some scripts use zero-width columns (Debian #262411 and report 15454c8945a0SNathan Whitehorn by Kyle Sallee). 15464c8945a0SNathan Whitehorn 15474c8945a0SNathan Whitehorn2004/07/29 15484c8945a0SNathan Whitehorn + modify msgbox.c to only reserve space for percentage shown as part 15494c8945a0SNathan Whitehorn of scrollable text for the msgbox widget. This makes infobox look 15504c8945a0SNathan Whitehorn as it did before 2004/06/06 changes (report by Vinesh Christopher) 15514c8945a0SNathan Whitehorn 15524c8945a0SNathan Whitehorn2004/07/28 15534c8945a0SNathan Whitehorn + remove redundant calls to wtimeout() from widgets since wtimeout() 15544c8945a0SNathan Whitehorn is properly called from ui_getc() where it is controlled by the 15554c8945a0SNathan Whitehorn --timeout option (bug report by juanjo). 15564c8945a0SNathan Whitehorn + add limit checks in checklist.c and menubox.c for very narrow screens 15574c8945a0SNathan Whitehorn (prompted by Steve Grubb patch). 15584c8945a0SNathan Whitehorn + initialize step in dlg_draw_buttons() in case it is used to draw 15594c8945a0SNathan Whitehorn a vertical list of buttons (prompted by Steve Grubb patch). 15604c8945a0SNathan Whitehorn > fixes by Steve Grubb: 15614c8945a0SNathan Whitehorn + correct logic in checklist.c (cf: 2003/11/26 changes) which turned 15624c8945a0SNathan Whitehorn quoting on unnecessarily for radiobox, breaking some old scripts. 15634c8945a0SNathan Whitehorn + increase size of array in dlg_ok_labels() to avoid overrun if extra 15644c8945a0SNathan Whitehorn and help buttons are used (cf: 2002/06/12 changes). 15654c8945a0SNathan Whitehorn + initialize fkey variable in menubox.c and textbox.c (cf: 2003/07/12). 15664c8945a0SNathan Whitehorn 15674c8945a0SNathan Whitehorn2004/07/21 - release 1.0 15684c8945a0SNathan Whitehorn + minor updates for configure script, i.e., CF_XOPEN_SOURCE, 15694c8945a0SNathan Whitehorn CF_NCURSES_LIBS macros. 15704c8945a0SNathan Whitehorn + update config.guess, config.sub 15714c8945a0SNathan Whitehorn + add nl.po (Jacques Weewer). 15724c8945a0SNathan Whitehorn 15734c8945a0SNathan Whitehorn2004/06/06 15744c8945a0SNathan Whitehorn + add --visit-items option, which allows the user to tab to the item 15754c8945a0SNathan Whitehorn list in the checklist/radiobox and menubox widgets (request by 15764c8945a0SNathan Whitehorn Ari Moisio). 15774c8945a0SNathan Whitehorn + use wide-character line-drawing for up/down arrows when configured 15784c8945a0SNathan Whitehorn for wide-characters, gives better results with uxterm. 15794c8945a0SNathan Whitehorn + limit the number of times a --file option can be used, to prevent 15804c8945a0SNathan Whitehorn runaway recursion if a --file option is embedded within a file which 15814c8945a0SNathan Whitehorn is included. 15824c8945a0SNathan Whitehorn + improve discussion of wrapping in the manpage (Debian #251937). 15834c8945a0SNathan Whitehorn + modify msgbox to allow it to scroll vertically like textbox (Debian 15844c8945a0SNathan Whitehorn #233276). This only works with ncurses. 15854c8945a0SNathan Whitehorn + implement $DIALOGVARS environment variable to apply common options to 15864c8945a0SNathan Whitehorn dialog_vars when it is reset before processing other common options. 15874c8945a0SNathan Whitehorn + add --single-quoted option to control whether output is double-quoted 15884c8945a0SNathan Whitehorn with '"' or single-quoted with single-quotes. 15894c8945a0SNathan Whitehorn + revert the default quoting behavior of checklists to use 15904c8945a0SNathan Whitehorn double-quotes (report by Mark K Post regarding Slackware scripts). 15914c8945a0SNathan Whitehorn + add eu.po (Basque) (Piarres Beobide Egaa). 15924c8945a0SNathan Whitehorn + add ca.po (Catalan) (Jordi Mallach). 15934c8945a0SNathan Whitehorn 15944c8945a0SNathan Whitehorn2004/04/21 15954c8945a0SNathan Whitehorn + add a call to flushinp() to init_dialog(), to discard any typeahead 15964c8945a0SNathan Whitehorn before dialog is invoked (Debian #244746). 15974c8945a0SNathan Whitehorn + correct dlg_match_char() function, which was broken during rewrite 15984c8945a0SNathan Whitehorn to support wide-characters (Debian #244777). 15992a3e3873SBaptiste Daroussin + improved ru.po, uses UTF-8 charset (Leonid Kanter, Redhat #119200). 16004c8945a0SNathan Whitehorn + correct position of shadow drawn for dialogs, which appeared to work 16014c8945a0SNathan Whitehorn for most versions of curses (other than NetBSD) but would have been 16024c8945a0SNathan Whitehorn visible for certain color schemes (discussion with Julian Coleman). 16034c8945a0SNathan Whitehorn + correct loop-exit in longest_word() (Tomas Heredia, forwarded by 16044c8945a0SNathan Whitehorn Santiago Vila). 16054c8945a0SNathan Whitehorn + add cy.po (Welsh) (Dafydd Harries). 16064c8945a0SNathan Whitehorn 16074c8945a0SNathan Whitehorn2004/03/16 16084c8945a0SNathan Whitehorn + modify quoting of results to use single-quote rather than double 16094c8945a0SNathan Whitehorn quote, and ensure that results containing a quote or backslash 16104c8945a0SNathan Whitehorn character are escaped (report by Florent Rougon) 16114c8945a0SNathan Whitehorn + remove an incorrect comparison from checklist which made cursor 16124c8945a0SNathan Whitehorn stick on the last line, from 2004/03/01 changes. 16134c8945a0SNathan Whitehorn 16144c8945a0SNathan Whitehorn2004/03/14 16154c8945a0SNathan Whitehorn + add a dependency to install library if "--with-libtool" is used. 16164c8945a0SNathan Whitehorn + add manpage for the library. 16174c8945a0SNathan Whitehorn + add "--file" 16184c8945a0SNathan Whitehorn + modify formbox.c to support "--help-status" like menubox. 16194c8945a0SNathan Whitehorn + modify checklist.c to add item name to the "HELP" string when 16204c8945a0SNathan Whitehorn "--help-button" is used and no --item-help option is given (Debian 16214c8945a0SNathan Whitehorn #236841, report/patch by Jorg Sommer). 16224c8945a0SNathan Whitehorn + rename colors.h to dlg_colors.h, install that when the library is 16234c8945a0SNathan Whitehorn installed. 16244c8945a0SNathan Whitehorn + add copyright notice to usage ("--help") message. 16254c8945a0SNathan Whitehorn + correct a missing bounds check for mouse-clicks in menubox (prompted 16264c8945a0SNathan Whitehorn by Debian #233044). 16274c8945a0SNathan Whitehorn + updated several configure-script macros: AM_GNU_GETTEXT, 16284c8945a0SNathan Whitehorn AM_WITH_NLS, CF_OUR_MESSAGES, CF_PROG_EXT, CF_WITH_DBMALLOC, 16294c8945a0SNathan Whitehorn CF_WITH_DMALLOC, CF_WITH_LIBTOOL, CF_XOPEN_SOURCE. 16304c8945a0SNathan Whitehorn 16314c8945a0SNathan Whitehorn2004/03/01 16324c8945a0SNathan Whitehorn + improve layout of calendar widget to allow for very long button 16334c8945a0SNathan Whitehorn labels (report by Santiago Vila). 16344c8945a0SNathan Whitehorn + correct logic for $DIALOG_TTY, broken in 2003/11/30. The environment 16354c8945a0SNathan Whitehorn variable must evaluate to a nonzero integer (report by Florent 16364c8945a0SNathan Whitehorn Rougon). 16374c8945a0SNathan Whitehorn + document interaction between "--default-no" and "--no-cancel" options 16384c8945a0SNathan Whitehorn in manpage (Debian #223488). 16394c8945a0SNathan Whitehorn + change configure script to use autoconf 2.52+patch, to work around 16404c8945a0SNathan Whitehorn issues with Estonian locale (report by Seemant Kulleen). 16414c8945a0SNathan Whitehorn + add uk.po (Ukrainian) (Debian #232441). 16424c8945a0SNathan Whitehorn + make --default-item apply to checklist widget (Debian #225255). 16434c8945a0SNathan Whitehorn + correct a missing check for --item-help when --help-status was given 16444c8945a0SNathan Whitehorn for checklist (Debian #232921). 16454c8945a0SNathan Whitehorn + correct a missing bounds check for mouse-clicks in checklist (Debian 16464c8945a0SNathan Whitehorn #233044). 16474c8945a0SNathan Whitehorn + update config.guess, config.sub 16484c8945a0SNathan Whitehorn 16494c8945a0SNathan Whitehorn2003/12/07 16504c8945a0SNathan Whitehorn + correct infinite loop in yesno widget when "--defaultno" option is 16514c8945a0SNathan Whitehorn combined with "--no-cancel" (Debian #223077). 16524c8945a0SNathan Whitehorn 16534c8945a0SNathan Whitehorn2003/11/30 16544c8945a0SNathan Whitehorn + suppress double-quotes added for "--help-status" option if the 16554c8945a0SNathan Whitehorn string does not contain any special characters. 16564c8945a0SNathan Whitehorn 16574c8945a0SNathan Whitehorn2003/11/26 16584c8945a0SNathan Whitehorn + add samples/sourcemage.rc, for comparison with slackware.rc 16594c8945a0SNathan Whitehorn + add "--insecure" option (request by Sean Mathews (DrWho@f34r.com)). 16604c8945a0SNathan Whitehorn + make "--defaultno" option apply to widgets which use OK/Cancel 16614c8945a0SNathan Whitehorn buttons as well (Debian #209030). 16624c8945a0SNathan Whitehorn + improve documentation of exit-codes for each widget in the manpage 16634c8945a0SNathan Whitehorn (Debian #217926). 16644c8945a0SNathan Whitehorn + add option "--keep-window" to suppress repainting after completing 16654c8945a0SNathan Whitehorn each widget (request by Ingo van Lil). 16664c8945a0SNathan Whitehorn + add options "--yes-label" and "--no-label" to allow override of the 16674c8945a0SNathan Whitehorn "Yes" and "No" strings (request by Christoph Zwerschke). 16684c8945a0SNathan Whitehorn + add option "--help-status" to allow script to restore a checklist 16694c8945a0SNathan Whitehorn or radiolist after processing an item-help string (Debian #209031). 16704c8945a0SNathan Whitehorn + modify width-calculation for non-formatted text to ensure it is 16714c8945a0SNathan Whitehorn wide enough for the longest word in the text (patch by Andrew Gaul). 16724c8945a0SNathan Whitehorn + modify dlg_index_columns() to count a newline as a single cell rather 16734c8945a0SNathan Whitehorn than 2 for the normal curses case. This fixes an off-by-one for 16744c8945a0SNathan Whitehorn the text-justification, shown in screen 2 of msgbox1 sample script. 16754c8945a0SNathan Whitehorn + fix dlg_char_to_button(); 2003/09/10 changes made it incorrectly 16764c8945a0SNathan Whitehorn ignore case of the labels. 16774c8945a0SNathan Whitehorn + change calendar's use of arrow keys so they are (as before 2002/06/22) 16784c8945a0SNathan Whitehorn interpreted within the day-grid as movement within that grid (request 16794c8945a0SNathan Whitehorn by David Anders). 16804c8945a0SNathan Whitehorn + correct missing initialization of last_getc variable in dlg_getc() 16814c8945a0SNathan Whitehorn (report/analysis by Victor Wodecki). 16824c8945a0SNathan Whitehorn + modify main program to make 16834c8945a0SNathan Whitehorn dialog --no-shadow --print-maxsize 16844c8945a0SNathan Whitehorn work. Normally dialog prints the screen size after subtracting the 16854c8945a0SNathan Whitehorn area reserved for shadows, but some applications may need the actual 16864c8945a0SNathan Whitehorn screen size (Debian #213424). 16874c8945a0SNathan Whitehorn + several related changes (Debian #213425): 16884c8945a0SNathan Whitehorn + separate the examples using "--stdout" and "--output-fd" from the 16894c8945a0SNathan Whitehorn normal usage examples. 16904c8945a0SNathan Whitehorn + add "--input-fd" option, provide a sample of its use. 16914c8945a0SNathan Whitehorn + modify init_dialog() to use initscr() unless a "--stdout" option 16924c8945a0SNathan Whitehorn was used. Some scripts relied on the coincidence that redirecting 16934c8945a0SNathan Whitehorn standard output from dialog would "work". Before this change 16944c8945a0SNathan Whitehorn init_dialog() assumed that redirected standard output was 16954c8945a0SNathan Whitehorn synonymous with "--stdout" option (not the intended behavior). 16964c8945a0SNathan Whitehorn + modify command-line parsing to look for "--stdout" and "--stderr" 16974c8945a0SNathan Whitehorn options first, allowing only one. 16984c8945a0SNathan Whitehorn + add a check for an environment variable $DIALOG_TTY which provides 16994c8945a0SNathan Whitehorn the older behavior, i.e., try to open the terminal directly if 17004c8945a0SNathan Whitehorn stdout is redirected. 17014c8945a0SNathan Whitehorn + interface changes, to make libdialog simpler to use: 17024c8945a0SNathan Whitehorn + rename all of the internal functions to begin with "dlg_", but 17034c8945a0SNathan Whitehorn provide compatibility with older names if the application defines 17044c8945a0SNathan Whitehorn __DIALOG_OLD_NAMES__. 17054c8945a0SNathan Whitehorn + add dialog_version() function, and corresponding DIALOG_VERSION and 17064c8945a0SNathan Whitehorn DIALOG_PATCHDATE definitions to dlg_config.h 17074c8945a0SNathan Whitehorn + eliminate remaining global variables such as screen_initialized in 17084c8945a0SNathan Whitehorn favor of dialog_state and dialog_vars. 17094c8945a0SNathan Whitehorn + move some data such as dialog_vars.output to dialog_state, since 17104c8945a0SNathan Whitehorn they are normally not reset between widgets. 17114c8945a0SNathan Whitehorn + change interfaces of dialog_yesno() and dialog_checklist() to use 17124c8945a0SNathan Whitehorn dialog_state.defaultno and dialog_vars.separate_output, making it 17134c8945a0SNathan Whitehorn simpler and more consistent. 17144c8945a0SNathan Whitehorn + improve configure script and related definitions: 17154c8945a0SNathan Whitehorn + add "--with-libtool" option to provide shared library support by 17164c8945a0SNathan Whitehorn libtool. 17174c8945a0SNathan Whitehorn + rename generated "config.h" to "dlg_config.h", so it can be 17184c8945a0SNathan Whitehorn installed without naming conflict. Added "dlg_config.h" to 17194c8945a0SNathan Whitehorn install-lib rule. 17204c8945a0SNathan Whitehorn + modify configure script and makefile to use EXEEXT and OBJEXT. 17214c8945a0SNathan Whitehorn + add "--enable-widec" option to control whether wide-curses features 17224c8945a0SNathan Whitehorn are compiled-in, rather than check for the existence of those in 17234c8945a0SNathan Whitehorn the curses library. This allows building with HPUX curses, which 17244c8945a0SNathan Whitehorn has abandoned legacy features while not quite supporting X/Open 17254c8945a0SNathan Whitehorn curses. 17264c8945a0SNathan Whitehorn + add configure check for getbegx(), etc., which are not provided on 17274c8945a0SNathan Whitehorn all platforms. 17284c8945a0SNathan Whitehorn + update config.guess, config.sub 17294c8945a0SNathan Whitehorn 17304c8945a0SNathan Whitehorn2003/10/02 17314c8945a0SNathan Whitehorn + update hu.po (Arpad Biro). 17324c8945a0SNathan Whitehorn + revert part of the 2003/08/18 change to "--stdout" option. Using 17334c8945a0SNathan Whitehorn stderr for screen output does not work well on several platforms 17344c8945a0SNathan Whitehorn since stdout's settings are affected (report by Kent Robotti). 17354c8945a0SNathan Whitehorn 17364c8945a0SNathan Whitehorn2003/09/24 17374c8945a0SNathan Whitehorn + modify tailbox to allow it to display files with arbitrarily long 17384c8945a0SNathan Whitehorn lines. 17394c8945a0SNathan Whitehorn + fix an infinite loop in tailbox, broken when making interface changes 17404c8945a0SNathan Whitehorn to dlg_getc() (report by Ingo van Lil). 17414c8945a0SNathan Whitehorn + amend fix for "--and-widget" to not treat "---" as an option (report 17424c8945a0SNathan Whitehorn by Kent Robotti). 17434c8945a0SNathan Whitehorn + updated es.po (Santiago Vila). 17444c8945a0SNathan Whitehorn 17454c8945a0SNathan Whitehorn2003/09/10 17464c8945a0SNathan Whitehorn + correct "RENAMED" result from inputmenu widget, which did not reset 17474c8945a0SNathan Whitehorn the result buffer, and did not account for scroll-offset (Debian 17484c8945a0SNathan Whitehorn #209336). 17494c8945a0SNathan Whitehorn + modify button, menu and checklist logic that matches a character to 17504c8945a0SNathan Whitehorn the beginning of a text field to support wide-characters (completes 17514c8945a0SNathan Whitehorn Debian #195674). 17524c8945a0SNathan Whitehorn + modify configure script to not use "head -1". 17534c8945a0SNathan Whitehorn 17544c8945a0SNathan Whitehorn2003/08/30 17554c8945a0SNathan Whitehorn + modify searchbox popup in textbox widget so one can simply press 17564c8945a0SNathan Whitehorn return on an empty input to cancel the popup. 17574c8945a0SNathan Whitehorn + modify error reporting to avoid clearing screen if a problem is 17584c8945a0SNathan Whitehorn found in the ".rc" file. 17594c8945a0SNathan Whitehorn + add color/attribute combinations for form widget (based on patch by 17604c8945a0SNathan Whitehorn Reznic Valery). 17614c8945a0SNathan Whitehorn + combine rc-file colors, attribute- and color-tables to obtain a 17624c8945a0SNathan Whitehorn single table for color values, which requires less work to add new 17634c8945a0SNathan Whitehorn entries. 17644c8945a0SNathan Whitehorn + modify fselect widget to make back-tab work again, since it was 17654c8945a0SNathan Whitehorn broken by the rewrite of dlg_edit_string(). 17664c8945a0SNathan Whitehorn + modify howmany_tags() so it will quit searching when it finds any 17674c8945a0SNathan Whitehorn option, not only "--and-widget" (Debian #206636). 17684c8945a0SNathan Whitehorn + correct call to dlg_print_text() in print_line(), which did not 17694c8945a0SNathan Whitehorn account for hidden characters (report/patch by David Poole). 17704c8945a0SNathan Whitehorn + modify print_button() to display properly if locale defines ok/cancel 17714c8945a0SNathan Whitehorn or yes/no buttons that contain multibyte characters. 17724c8945a0SNathan Whitehorn 17734c8945a0SNathan Whitehorn2003/08/20 17744c8945a0SNathan Whitehorn + correct an indexing error when deleting from the end of a line using 17754c8945a0SNathan Whitehorn KEY_DC; it happened to work on Linux because malloc() clears memory 17764c8945a0SNathan Whitehorn like calloc(). 17774c8945a0SNathan Whitehorn + add '\r' to case statement where '\n' is translated to KEY_ENTER to 17784c8945a0SNathan Whitehorn work around defect in NetBSD curses. 17794c8945a0SNathan Whitehorn + modify configure check for getparyx(), etc., which are implemented 17804c8945a0SNathan Whitehorn by NetBSD curses as functions rather than macros. 17814c8945a0SNathan Whitehorn + correct configure check for term.h, which may be <ncursesw/term.h> 17824c8945a0SNathan Whitehorn if ncursesw development headers are installed, but not ncurses 17834c8945a0SNathan Whitehorn development headers. Or they may not coincide (Debian #206287). 17844c8945a0SNathan Whitehorn 17854c8945a0SNathan Whitehorn2003/08/18 17864c8945a0SNathan Whitehorn + modify checklist.c and menubox.c to display tags properly if they 17874c8945a0SNathan Whitehorn contain wide-characters. 17884c8945a0SNathan Whitehorn + better solution for initializing curses when "--stdout" option is 17894c8945a0SNathan Whitehorn used, e.g., use stderr for the output if it is a tty. Also correct 17904c8945a0SNathan Whitehorn the error handling, so dialog exits with an error if it cannot 17914c8945a0SNathan Whitehorn find a way to do output (Debian #205509). 17924c8945a0SNathan Whitehorn + modify sample scripts to use consistent definition of $DIALOG 17934c8945a0SNathan Whitehorn (Debian #205508). 17944c8945a0SNathan Whitehorn + add UTF-8 examples inputbox6-utf8, inputbox6-utf8 (from Tomohiro 17954c8945a0SNathan Whitehorn Kubota, Debian #195674). 17964c8945a0SNathan Whitehorn + modify print_line() to work with wide-characters, e.g., so it handles 17974c8945a0SNathan Whitehorn wrapping for double-width characters. 17984c8945a0SNathan Whitehorn + cache results from multibyte character indices, speeds up cursor 17994c8945a0SNathan Whitehorn movement. 18004c8945a0SNathan Whitehorn + modify form widget to support scrolling and mouse-selection. 18014c8945a0SNathan Whitehorn + add form widget (based on patch by Reznic Valery). 18024c8945a0SNathan Whitehorn + correct mouse-handling for inputmenu widget. 18034c8945a0SNathan Whitehorn + corrections to menu.c: location of clearing operation, and height of 18044c8945a0SNathan Whitehorn rows in code for older ncurses versions (patch by Reznic Valery). 18054c8945a0SNathan Whitehorn + improve logic that compensates for xterm's alternate-screen by 18064c8945a0SNathan Whitehorn cancelling the rmcup/smcup strings after the rmcup has been issued. 18074c8945a0SNathan Whitehorn That ensures that dialog will not clear the screen on exit (report 18084c8945a0SNathan Whitehorn by Javier Kohen). 18094c8945a0SNathan Whitehorn + modify initialization between widgets to retain the values for the 18104c8945a0SNathan Whitehorn --aspect, --separate-widget and --tab-len options. 18114c8945a0SNathan Whitehorn + add --separator as an alias for --separate-widget (compatible with 18124c8945a0SNathan Whitehorn Xdialog). 18134c8945a0SNathan Whitehorn + correct handling of Xdialog's --icon and --wmclass options, whose 18144c8945a0SNathan Whitehorn parameter was not ignored. 18154c8945a0SNathan Whitehorn + correct logic for --separate-widget so its string is written before 18164c8945a0SNathan Whitehorn each output, rather than only for --and-widget option (report by 18174c8945a0SNathan Whitehorn Javier Kohen). 18184c8945a0SNathan Whitehorn + improve limit-check in center_label() for buttons.c (report by Tor 18194c8945a0SNathan Whitehorn Vidar Havstad). 18204c8945a0SNathan Whitehorn + correct layout of --menu widget, which reduced display width due to 18214c8945a0SNathan Whitehorn logic for --inputmenu being applied whether or not that configuration 18224c8945a0SNathan Whitehorn was used (reports by Javier Kohen, Dimitar Zhekov and MAL 18234c8945a0SNathan Whitehorn <mal@komcept.com>). Fixes Debian #201215. 18244c8945a0SNathan Whitehorn + modify gauge widget to support --begin option (Hans-Joachim Baader). 18254c8945a0SNathan Whitehorn + updated pl.po (Jaroslaw Swierczynski). 18264c8945a0SNathan Whitehorn + hide cursor while painting gauge. 18274c8945a0SNathan Whitehorn + add auto-sizing logic to gauge widget (reports by Javier Kohen and 18284c8945a0SNathan Whitehorn Robert Schubert). 18294c8945a0SNathan Whitehorn 18304c8945a0SNathan Whitehorn2003/07/20 18314c8945a0SNathan Whitehorn + rewrote inputstr.c, allowing it to enter and display wide-characters. 18324c8945a0SNathan Whitehorn Some nonprinting characters such as control/B can be edited as well. 18334c8945a0SNathan Whitehorn + modify timebox to allow user to type numbers into the fields. 18344c8945a0SNathan Whitehorn + change interfaces of dlg_getc(), mouse_wgetch(), etc., to add 18354c8945a0SNathan Whitehorn parameter that returns whether the result is really a function-key. 18364c8945a0SNathan Whitehorn This is needed to work with wide-character curses. 18374c8945a0SNathan Whitehorn + correct computation of week-number in calendar widget (report by 18384c8945a0SNathan Whitehorn Heiner Lamann). 18394c8945a0SNathan Whitehorn + updated configure script macros: 18404c8945a0SNathan Whitehorn + suppress -Winline with gcc 3.3, since it is broken. 18414c8945a0SNathan Whitehorn + fix caching bug in CF_UTF8_LIB 18424c8945a0SNathan Whitehorn + improved script for CF_BUNDLED_INTL. 18434c8945a0SNathan Whitehorn + update config.guess, config.sub 18444c8945a0SNathan Whitehorn 18454c8945a0SNathan Whitehorn2003/03/08 18464c8945a0SNathan Whitehorn + add null-pointer checks to some malloc calls which were overlooked. 18474c8945a0SNathan Whitehorn + correct logic in dlg_add_result(), which did not copy content of 18484c8945a0SNathan Whitehorn non-allocated buffer to the first allocation (report by Daniel 18494c8945a0SNathan Whitehorn Dupont). 18504c8945a0SNathan Whitehorn 18514c8945a0SNathan Whitehorn2003/03/02 18524c8945a0SNathan Whitehorn + correct an uninitialized value in dlg_add_result() (Debian #182683). 18534c8945a0SNathan Whitehorn 18544c8945a0SNathan Whitehorn2003/01/30 18554c8945a0SNathan Whitehorn + corrected print_line(), which subtracted the margin twice from the 18564c8945a0SNathan Whitehorn right-limit, making a string wrap unnecessarily (Debian #168823). 18574c8945a0SNathan Whitehorn + correct initial limit-check for arrows in checklist.c, which used 18584c8945a0SNathan Whitehorn the wrong variable, showing the bottom arrow when it should not 18594c8945a0SNathan Whitehorn (Debian #168823). 18604c8945a0SNathan Whitehorn + modify driver to always call show_result(), to simplify updates. 18614c8945a0SNathan Whitehorn + fix several memory leaks, important if dialog is run with a large 18624c8945a0SNathan Whitehorn number of widgets (report by albert.veli@telia.com forwarded by 18634c8945a0SNathan Whitehorn Santiago Vila). 18644c8945a0SNathan Whitehorn + check if the screen output is actually to the terminal before trying 18654c8945a0SNathan Whitehorn to suppress xterm's alternate screen mode (see 2000/01/18) (report by 18664c8945a0SNathan Whitehorn David Oliveira). 18674c8945a0SNathan Whitehorn + use dialog_vars.input_result consistently to return the text which is 18684c8945a0SNathan Whitehorn printed after a widget completes. In many cases, dialog now 18694c8945a0SNathan Whitehorn allocates enough space to hold the text, rather than use a fixed 18704c8945a0SNathan Whitehorn buffer. The checklist widget was writing directly to the output to 18714c8945a0SNathan Whitehorn avoid limits of the fixed buffer. 18724c8945a0SNathan Whitehorn + modify dialog.c to also write dialog_vars.input_result if the 18734c8945a0SNathan Whitehorn Help-button was pressed (request by Amon Ott). 18744c8945a0SNathan Whitehorn + add hu.po (Arpad Biro). 18754c8945a0SNathan Whitehorn + update fr.po, pt.po, pt_BR.po to add strings for "Help" button (patch 18764c8945a0SNathan Whitehorn by Frederic L W Meunier). 18774c8945a0SNathan Whitehorn + fix off-by-one error in menu.c, checklist.c (reported by 18784c8945a0SNathan Whitehorn Tomasz Wasiak 2002/09/15 and others: 18794c8945a0SNathan Whitehorn Andrew Gaul 2002/11/12, 18804c8945a0SNathan Whitehorn Tobias C Rittweiler 2002/11/19, 18814c8945a0SNathan Whitehorn Arpad Biro 2003/01/21). 18824c8945a0SNathan Whitehorn + updated configure script, improving checks for ncurses in various 18834c8945a0SNathan Whitehorn locations, updated NLS script to match lynx. Added --with-curses-dir 18844c8945a0SNathan Whitehorn option. 18854c8945a0SNathan Whitehorn > Tobias C Rittweiler: 18864c8945a0SNathan Whitehorn + make ifdef in mousewget.c consistent with usage in dialog.h 18874c8945a0SNathan Whitehorn + use beep() rather than flash() in dlg_edit_string(), for consistency 18884c8945a0SNathan Whitehorn with the other functions. 18894c8945a0SNathan Whitehorn + change order of buttons so extra button falls between Ok/Cancel. 18904c8945a0SNathan Whitehorn + fix so "dialog --print-maxsize" exits from curses. 18914c8945a0SNathan Whitehorn + add --inputmenu option. 18924c8945a0SNathan Whitehorn 18934c8945a0SNathan Whitehorn2002/08/14 18944c8945a0SNathan Whitehorn + modify checklist.c and menubox.c to treat the extra button like the 18954c8945a0SNathan Whitehorn "Ok" button by making dialog print the chosen items (request by 18964c8945a0SNathan Whitehorn Tobias C Rittweiler). 18974c8945a0SNathan Whitehorn + add examples checklist6 and menubox6 to illustrate the --colors 18984c8945a0SNathan Whitehorn option. 18994c8945a0SNathan Whitehorn + implement -colors option, which allows one to highlight words in the 19004c8945a0SNathan Whitehorn titles and most text areas with color or video attributes (adapted 19014c8945a0SNathan Whitehorn from patch by Tobias C Rittweiler). 19024c8945a0SNathan Whitehorn + add examples inputbox4, inputbox5 to illustrate how to use the 19034c8945a0SNathan Whitehorn --output-fd option, and how to use dialog without any temporary 19044c8945a0SNathan Whitehorn file at all. 19054c8945a0SNathan Whitehorn + add --output-fd option (Debian #153984). 19064c8945a0SNathan Whitehorn + documented vi-style keys for calendar, textbox widgets in manpage. 19074c8945a0SNathan Whitehorn 19084c8945a0SNathan Whitehorn2002/06/22 19094c8945a0SNathan Whitehorn + improve mouse handling, e.g., for up/down scrolling in calendar, 19104c8945a0SNathan Whitehorn checklist, etc. 19114c8945a0SNathan Whitehorn + add --extra-button and --extra-label options (adapted from patch 19124c8945a0SNathan Whitehorn by Tobias C Rittweiler). 19134c8945a0SNathan Whitehorn + correct displayed cursor position in inputbox when returning to the 19144c8945a0SNathan Whitehorn input area after traversing the buttons with tabs, etc. 19154c8945a0SNathan Whitehorn + add left/right arrows for traversal in calendar and timebox dialogs. 19164c8945a0SNathan Whitehorn + implement two new functions dlg_next_ok_buttonindex() and 19174c8945a0SNathan Whitehorn dlg_prev_ok_buttonindex(), using these to hide details about the 19184c8945a0SNathan Whitehorn traversal over buttons in several widgets. 19194c8945a0SNathan Whitehorn + modify checklist.c and menubox.c to verify if both --help-button and 19204c8945a0SNathan Whitehorn --item-help are specified before assuming that selecting the help 19214c8945a0SNathan Whitehorn button should cause the "HELP {item-help}" message to be printed 19224c8945a0SNathan Whitehorn (reported by Marcel Ritter). 19234c8945a0SNathan Whitehorn + modify init_dialog() to work around HP's broken tty driver (report by 19244c8945a0SNathan Whitehorn John Mudd). Specifically, the problem is that when opening /dev/tty 19254c8945a0SNathan Whitehorn directly (to support the --stdout option), the terminal does not 19264c8945a0SNathan Whitehorn change to raw mode. The workaround opens /dev/tty only as needed; 19274c8945a0SNathan Whitehorn the --stdout option does not work on HPUX but otherwise dialog works. 19284c8945a0SNathan Whitehorn + updated el.po (patch by kromJx <kromJx@crosswinds.net>). 19294c8945a0SNathan Whitehorn 19302a3e3873SBaptiste Daroussin2002/05/19 - release 0.9b 19314c8945a0SNathan Whitehorn + add --no-collapse option to allow one to retain tabs and repeated 19324c8945a0SNathan Whitehorn blanks in a message box (request by Roberto Simoni). 19334c8945a0SNathan Whitehorn + use DLG_EXIT_ESC constant rather than -1's in several places. This 19344c8945a0SNathan Whitehorn has the effect of changing some exit-with-error cases to denote that 19354c8945a0SNathan Whitehorn the exit was because ESC was pressed (patch by Diego Alvarez, 19364c8945a0SNathan Whitehorn forward by Santiago Vila). 19374c8945a0SNathan Whitehorn + bump package version to 0.9b (with patch-date, as usual). 19384c8945a0SNathan Whitehorn + add --exit-label option (request by Roberto Simoni). 19394c8945a0SNathan Whitehorn + updated de.po to correct translation for "Cancel" (from Michael 19404c8945a0SNathan Whitehorn Piefel, Debian #146402). 19414c8945a0SNathan Whitehorn + use definitions from autoconf macro AC_HEADER_TIME to ensure that 19424c8945a0SNathan Whitehorn time() is properly prototyped. 19434c8945a0SNathan Whitehorn + update pl.po, adding translation for "Help" (patch by Jaroslaw 19444c8945a0SNathan Whitehorn Swierczynski <swiergot@hacking.pl>). 19454c8945a0SNathan Whitehorn + update COPYING file, to reflect address change of FSF (reported by 19464c8945a0SNathan Whitehorn Santiago Vila). 19474c8945a0SNathan Whitehorn + update some configuration script macros: CF_CHECK_CACHE, 19484c8945a0SNathan Whitehorn CF_CURSES_CPPFLAGS, CF_HEADER_PATH and CF_MAKEFLAGS. 19494c8945a0SNathan Whitehorn + correct misuse of "$with_XXX" variables in the configure script, 19504c8945a0SNathan Whitehorn which prevented configuration against curses library as opposed to 19514c8945a0SNathan Whitehorn ncurses. 19524c8945a0SNathan Whitehorn + update config.guess, config.sub 19534c8945a0SNathan Whitehorn 19544c8945a0SNathan Whitehorn2002/03/09 (a) 19554c8945a0SNathan Whitehorn + modify geometry of samples/fselect scripts to allow them to run in 19564c8945a0SNathan Whitehorn a 24x80 screen (report/patch by Santiago Vila). 19574c8945a0SNathan Whitehorn + correct exit-code for menubox.c when Cancel is pressed. This was 19584c8945a0SNathan Whitehorn unintentionally altered when adding --help-button (reported by 19594c8945a0SNathan Whitehorn Patrick J Volkerding) 19604c8945a0SNathan Whitehorn 19614c8945a0SNathan Whitehorn2002/03/09 19624c8945a0SNathan Whitehorn + add --timeout option, which forces the program to exit with an error 19634c8945a0SNathan Whitehorn if no user response is given within the specified number of seconds 19644c8945a0SNathan Whitehorn (request by <andrew@argoncorp.com>). 19654c8945a0SNathan Whitehorn + modify calendar widget to allow day/month/year values to default to 19664c8945a0SNathan Whitehorn the current date (request by <Ron.Perrella@bellsouth.com>). 19674c8945a0SNathan Whitehorn + modify display of buttons in checklist.c and menubox.c to handle the 19684c8945a0SNathan Whitehorn case where the button label is empty (Debian #134388). 19694c8945a0SNathan Whitehorn + extended logic for ok/cancel/help to make this work with checklist 19704c8945a0SNathan Whitehorn widget. 19714c8945a0SNathan Whitehorn + revert pt_BT.po, apply changes to pt.po (report by Frederic L W 19724c8945a0SNathan Whitehorn Meunier). 19734c8945a0SNathan Whitehorn > several changes from Stanislav Ievlev: 19744c8945a0SNathan Whitehorn + add options --help-button and --help-label to make menubox display a 19754c8945a0SNathan Whitehorn third button which can be used to return an exit code causing the 19764c8945a0SNathan Whitehorn calling script to show extended help information. 19774c8945a0SNathan Whitehorn + use home/end keys in input string-editing, e.g., inputbox. 19784c8945a0SNathan Whitehorn + add option --max-input to limit length of string returned by inputbox 19794c8945a0SNathan Whitehorn and other widgets which allow the user to edit a string. 19804c8945a0SNathan Whitehorn 19814c8945a0SNathan Whitehorn2001/12/02 19824c8945a0SNathan Whitehorn + add --ok-label and --cancel-label options (request by Kyle Sallee). 19834c8945a0SNathan Whitehorn + correct usage message for --fselect option (reported by Patrick J 19844c8945a0SNathan Whitehorn Volkerding). 19854c8945a0SNathan Whitehorn + add samples/debian.rc, for comparison with slackware.rc 19864c8945a0SNathan Whitehorn + corrected samples/slackware.rc, which was just the compiled-in 19874c8945a0SNathan Whitehorn default values (patch by Patrick J Volkerding). 19884c8945a0SNathan Whitehorn + modify search rule for rc-file to add a global rc file /etc/dialogrc 19894c8945a0SNathan Whitehorn (patch by Patrick J Volkerding). 19904c8945a0SNathan Whitehorn + updated pt_BR.po with modified entries for fselect.c (Frederic L W 19914c8945a0SNathan Whitehorn Meunier). 19924c8945a0SNathan Whitehorn + add pl.po (Swiergot <swiergot@l02.ids.czest.pl>). 19934c8945a0SNathan Whitehorn 19944c8945a0SNathan Whitehorn2001/11/11 19954c8945a0SNathan Whitehorn + modify command-line parsing to allow a "--" argument to act as an 19964c8945a0SNathan Whitehorn escape, so the next argument is not recognized as an option if it 19974c8945a0SNathan Whitehorn begins with "--". This is apparently one of popt's undocumented 19984c8945a0SNathan Whitehorn features, upon which some Debian scripts depend (Debian #116642). 19994c8945a0SNathan Whitehorn + add da.po (Morten Brix Pedersen <morten@wtf.dk>). 20004c8945a0SNathan Whitehorn + add an install-strip rule to makefile, changing the normal install 20014c8945a0SNathan Whitehorn rule to not strip the installed executable (based on discussion with 20024c8945a0SNathan Whitehorn Santiago Vila). 20034c8945a0SNathan Whitehorn + initialize my_output variable if user cannot open /dev/tty, e.g., if 20044c8945a0SNathan Whitehorn su'd to another user (patch by Richard Braakman (<dark@ssh.com>), Debian 20054c8945a0SNathan Whitehorn #117177). 20064c8945a0SNathan Whitehorn + add configure option --with-ncursesw, to allow configure/build with 20074c8945a0SNathan Whitehorn wide-character version of ncurses. 20084c8945a0SNathan Whitehorn 20094c8945a0SNathan Whitehorn2001/10/14 20104c8945a0SNathan Whitehorn + add option --ignore, to make dialog be ignore options that it does 20114c8945a0SNathan Whitehorn not recognize. 20124c8945a0SNathan Whitehorn + add option --trim, to trim literal newlines and repeated spaces from 20134c8945a0SNathan Whitehorn text that will be displayed. Add samples/msgbox2, which is the 20144c8945a0SNathan Whitehorn same as msgbox1, but using --trim (cf: change for Debian #102942). 20154c8945a0SNathan Whitehorn + minor correction to attributes for buttons.c to use active_attr on 20164c8945a0SNathan Whitehorn the right-side of a button. 20174c8945a0SNathan Whitehorn + add a sample dialog rc-file slackware.rc based on diffs in hdasetup 20184c8945a0SNathan Whitehorn package at 20194c8945a0SNathan Whitehorn http://ftp1.sourceforge.net/pub/mirrors/slackware/slackware/source/a/hdsetup/ 20204c8945a0SNathan Whitehorn (discussion with Frederic L W Meunier). 20214c8945a0SNathan Whitehorn + modify dialog.pl to avoid using a statically-named tempfile, allowing 20224c8945a0SNathan Whitehorn multiple processes to use this script (patch by James Ranson 20234c8945a0SNathan Whitehorn (<euclid80@yahoo.com>), Debian #110609). 20244c8945a0SNathan Whitehorn + correct fprintf() call in j_menu() function, i.e., "--menu" option, 20254c8945a0SNathan Whitehorn which did not guard against expanding '%' embedded in the parameters 20264c8945a0SNathan Whitehorn (Stavros Chatzistefanidis <sxatz@yahoo.com>). 20274c8945a0SNathan Whitehorn + add et.po (Ivar Smolin <okul@trenet.ee>). 20284c8945a0SNathan Whitehorn + update fr.po (Frederic L W Meunier). 20294c8945a0SNathan Whitehorn + modify to allow scripts to alter the exit codes, mainly to 20304c8945a0SNathan Whitehorn distinguish ESC and ERROR exits. This is done by setting a shell 20314c8945a0SNathan Whitehorn variable such as DIALOG_ESC to a new value (request by Petr Vandrovec 20324c8945a0SNathan Whitehorn (<vandrove@vc.cvut.cz>), Debian #99264) 20334c8945a0SNathan Whitehorn 20344c8945a0SNathan Whitehorn2001/08/27 20354c8945a0SNathan Whitehorn + use VPATH in makefile to support build with configure --srcdir, if 20364c8945a0SNathan Whitehorn the make program supports that. Note that samples/install/makefile 20374c8945a0SNathan Whitehorn is not generated, due to awkward limitation of autoconf script 20384c8945a0SNathan Whitehorn (reported by Frederic L W Meunier <0@pervalidus.net>). 20394c8945a0SNathan Whitehorn + add po/pt_BR.po (Frederic L W Meunier <0@pervalidus.net>). 20404c8945a0SNathan Whitehorn + correct sense of --enable/--disable shown in configure --help (report 20414c8945a0SNathan Whitehorn by Frederic L W Meunier <0@pervalidus.net>). 20424c8945a0SNathan Whitehorn + correct logic for --clear option, broken in 2000/07/02 (fixes Debian 20434c8945a0SNathan Whitehorn #110254). 20444c8945a0SNathan Whitehorn 20454c8945a0SNathan Whitehorn2001/08/11 20464c8945a0SNathan Whitehorn + porting fixes to work on AIX: flush output to work around bug in 20474c8945a0SNathan Whitehorn curses library, use ./killall in scripts to avoid conflict with 20484c8945a0SNathan Whitehorn AIX program by that name. 20494c8945a0SNathan Whitehorn + modify dlg_trim_string() to retain literal newlines if the string 20504c8945a0SNathan Whitehorn does not contain "\\n" strings, and to retain leading blanks on the 20514c8945a0SNathan Whitehorn resulting lines, for compatibility with older scripts (Debian 20524c8945a0SNathan Whitehorn #102942). 20534c8945a0SNathan Whitehorn + add charset specification to cs.po 20544c8945a0SNathan Whitehorn + change dates in CHANGES to consistent format, add el.po for Greek 20554c8945a0SNathan Whitehorn (patch by kromJx <kromJx@crosswinds.net>). 20564c8945a0SNathan Whitehorn + eliminate static globals (bss, data) from modules rc, tailbox, 20574c8945a0SNathan Whitehorn textbox using better parameter-passing convention, and const. 20584c8945a0SNathan Whitehorn + cleanup temporary files in a few of the sample scripts. 20594c8945a0SNathan Whitehorn + rewrote tailboxbg using select() rather than fork(), thereby 20604c8945a0SNathan Whitehorn eliminating lock-files. Only one process should be trying to display 20614c8945a0SNathan Whitehorn on the screen at any given time. 20624c8945a0SNathan Whitehorn + add error check to ensure that numeric parameters are really numbers. 20634c8945a0SNathan Whitehorn + correct off-by-one in error messages reporting too-few or too-many 20644c8945a0SNathan Whitehorn tokens for a given option (reported by George Mirchev). 20654c8945a0SNathan Whitehorn + fix typo in manpage, "textboxbg" where "tailboxbg" was meant 20664c8945a0SNathan Whitehorn (reported by George Mirchev <la@mail.techno-link.com>). 20674c8945a0SNathan Whitehorn + use DLG_EXIT_xxx symbols consistently for all exit codes. 20684c8945a0SNathan Whitehorn + updated es.po (patch by Santiago Vila). 20694c8945a0SNathan Whitehorn + updates for some configure script macros from lynx: CF_MAKEFLAGS, 20704c8945a0SNathan Whitehorn CF_NCURSES_VERSION, CF_PROG_EXT. 20714c8945a0SNathan Whitehorn + fixes to compile if <term.h> is included, e.g., when building with 20724c8945a0SNathan Whitehorn AIX curses (report by Suzi Dowson <Suzi.Dowson@capgemini.co.uk>). 20734c8945a0SNathan Whitehorn 20744c8945a0SNathan Whitehorn2001/05/27 20754c8945a0SNathan Whitehorn + updated dialog.pot 20764c8945a0SNathan Whitehorn + modify fselect.c to work with autosize, i.e., given height and width 20774c8945a0SNathan Whitehorn zero (report by Martin Povolny). 20784c8945a0SNathan Whitehorn + add a null-pointer check in justify_text(), needed by fselect.c 20794c8945a0SNathan Whitehorn + add several more options which dialog can safely ignore, from 20804c8945a0SNathan Whitehorn Xdialog 2.0.2 20814c8945a0SNathan Whitehorn + refinements for configure macros checking for $CPPFLAGS, from lynx. 20824c8945a0SNathan Whitehorn + update config.guess, config.sub to match autoconf 2.50 20834c8945a0SNathan Whitehorn > Martin Povolny <martin@solnet.cz>: 20844c8945a0SNathan Whitehorn + add cs.po 20854c8945a0SNathan Whitehorn + use nl_langinfo() to customize names for day-of-week, and month 20864c8945a0SNathan Whitehorn 20874c8945a0SNathan Whitehorn2001/05/11 20884c8945a0SNathan Whitehorn > Vincent Stemen <dialog@AdvancedResearch.org>: 20894c8945a0SNathan Whitehorn Fixed dialog.c to not pass menu items through dlg_trim_string(). 20904c8945a0SNathan Whitehorn Stripping extra spaces out of the menu items broke some of my 20914c8945a0SNathan Whitehorn scripts by altering the string that it compared to know which menu 20924c8945a0SNathan Whitehorn item was selected. There should be no need to do justification on 20934c8945a0SNathan Whitehorn the menu items, which are always one line, anyway. 20944c8945a0SNathan Whitehorn 20954c8945a0SNathan Whitehorn2001/04/29 20964c8945a0SNathan Whitehorn > Vincent Stemen <dialog@AdvancedResearch.org>: 20974c8945a0SNathan Whitehorn + rewrote the text justification code to be able to have preformatted 20984c8945a0SNathan Whitehorn text in the prompts with extra spaces like the older versions of 20994c8945a0SNathan Whitehorn dialog. If there are "\n" strings in the text, then extra spaces are 21004c8945a0SNathan Whitehorn preserved. Lines are always wrapped on word boundaries. 21014c8945a0SNathan Whitehorn + fixed --cr-wrap to break lines on '\n' (newline) characters and not 21024c8945a0SNathan Whitehorn add an extra line at the top and bottom of the text. It now works 21034c8945a0SNathan Whitehorn as the manual says it should. 21044c8945a0SNathan Whitehorn + it is no longer necessary to use "\n\" at the end of lines to escape 21054c8945a0SNathan Whitehorn the '\n' character. "\n" now works. However, the old way, "\n\" 21064c8945a0SNathan Whitehorn still works. 21074c8945a0SNathan Whitehorn + the fixes involved the following changes: 21084c8945a0SNathan Whitehorn - rewrote dlg_trim_string() to recognize preformatted text (know 21094c8945a0SNathan Whitehorn when not to strip extra spaces) and to pay attention to --cr-wrap. 21104c8945a0SNathan Whitehorn - rewrote justify_text() which now calls a new function in util.c, 21114c8945a0SNathan Whitehorn print_line(), to print each line and end it on a word boundary. 21124c8945a0SNathan Whitehorn - modified real_auto_size() to call a new function 21134c8945a0SNathan Whitehorn auto_size_preformated() to calculate the box size for preformatted 21144c8945a0SNathan Whitehorn text. 21154c8945a0SNathan Whitehorn - removed skip_blanks() and skip_text() since they are not used by 21164c8945a0SNathan Whitehorn the new justify_text(). 21174c8945a0SNathan Whitehorn - modified dialog.c to not call dlg_trim_string() on title strings 21184c8945a0SNathan Whitehorn so that titles retain their spaces. 21194c8945a0SNathan Whitehorn + modified the following demo files in the sample directory: 21204c8945a0SNathan Whitehorn - inputbox 21214c8945a0SNathan Whitehorn changed all "\n\" strings to "\n" to demonstrate the extra 21224c8945a0SNathan Whitehorn backslash is no longer needed. 21234c8945a0SNathan Whitehorn - inputbox1 21244c8945a0SNathan Whitehorn removed all the "\n\" strings from the end of the lines to 21254c8945a0SNathan Whitehorn properly demonstrate --cr-wrap. 21264c8945a0SNathan Whitehorn - msgbox1 21274c8945a0SNathan Whitehorn this sample was using "--aspect 9 --cr-wrap". Rewrote it to 21284c8945a0SNathan Whitehorn properly demonstrate --aspect. 9 is already dialog's default 21294c8945a0SNathan Whitehorn aspect ratio. It now creates several dialogs in sequence, 21304c8945a0SNathan Whitehorn demonstrating aspect ratios of 9, 12 and 6 and properly 21314c8945a0SNathan Whitehorn demonstrates --cr-wrap. 21324c8945a0SNathan Whitehorn + made the following changes to the manual (dialog.1). 21334c8945a0SNathan Whitehorn - rewrote the description of --aspect to be more understandable. 21344c8945a0SNathan Whitehorn - rewrote the description of --cr-wrap to be more correct and more 21354c8945a0SNathan Whitehorn detailed. It did say, "Otherwise, the text for each dialog will 21364c8945a0SNathan Whitehorn display on a single line.", which is not correct. It wraps the 21374c8945a0SNathan Whitehorn text to fit in the box. 21384c8945a0SNathan Whitehorn > T.Dickey: 21394c8945a0SNathan Whitehorn + use logic from menubox dialog in checklist to handle autosizing when 21404c8945a0SNathan Whitehorn list height is given as zero (fixes problem reported by Eric Veltman 21414c8945a0SNathan Whitehorn <eveltman@baan.nl>). 21424c8945a0SNathan Whitehorn + modify checklist and menubox dialogs to check for too-wide data, and 21434c8945a0SNathan Whitehorn truncate one or both of the name and text fields to fit (also 21444c8945a0SNathan Whitehorn reported by Eric Veltman). 21454c8945a0SNathan Whitehorn + corrected a few items from Vincent's patch: 21464c8945a0SNathan Whitehorn - use C89-style comments rather than C++ 21474c8945a0SNathan Whitehorn - restore logic in justify_text() which checks for win==0, needed to 21484c8945a0SNathan Whitehorn work with standard curses implementations other than ncurses. 21494c8945a0SNathan Whitehorn The first call on justify_text() passes a null pointer as a flag 21504c8945a0SNathan Whitehorn to indicate that checking should be done, but no screen updates. 21514c8945a0SNathan Whitehorn - avoid modifying the buffer in decode_percent(), otherwise a message 21524c8945a0SNathan Whitehorn containing a space or newline would be truncated at the whitespace. 21534c8945a0SNathan Whitehorn - modify dlg_button_x_step() and dlg_button_layout() slightly to 21544c8945a0SNathan Whitehorn work with altered print_autowrap(), etc. 21554c8945a0SNathan Whitehorn + fixes to build/work with SunOS 4.x 5lib curses 21564c8945a0SNathan Whitehorn 21574c8945a0SNathan Whitehorn2001/04/15 21584c8945a0SNathan Whitehorn + fix a memory leak in mouse_region(). 21594c8945a0SNathan Whitehorn + simplify handling of optional parameters with new functions 21604c8945a0SNathan Whitehorn optional_str() and optional_num(). 21614c8945a0SNathan Whitehorn + add calendar and timebox dialogs (compatible with Xdialog). 21624c8945a0SNathan Whitehorn + correct typo in fallback definition for getparyx, and remove void 21634c8945a0SNathan Whitehorn cast for mouse_open and mouse_close which prevented build with 21644c8945a0SNathan Whitehorn Sun's Solaris compiler. 21654c8945a0SNathan Whitehorn + rename --enable-lxdialog configure option to --enable-Xdialog 21664c8945a0SNathan Whitehorn + modify CF_NCURSES_CPPFLAGS macro to match more variations of ncurses 21674c8945a0SNathan Whitehorn header files. 21684c8945a0SNathan Whitehorn + update config.guess, config.sub 21694c8945a0SNathan Whitehorn + modify some configure script macros to avoid problems with buggy 21704c8945a0SNathan Whitehorn autoconf 2.49c which breaks changequote(). 21714c8945a0SNathan Whitehorn 21724c8945a0SNathan Whitehorn2001/01/15 21734c8945a0SNathan Whitehorn + small fix to revised real_auto_size() and justify_text() to avoid 21744c8945a0SNathan Whitehorn adding origin to box-width, which broke samples/wheel. 21754c8945a0SNathan Whitehorn + apply 1999/12/25 tempfile change to wheel and copismall samples. 21764c8945a0SNathan Whitehorn + add sample script for tailboxbg. 21774c8945a0SNathan Whitehorn + revised lock-file management to better ensure that locks are actually 21784c8945a0SNathan Whitehorn created by the tailbox subprocess(es). 21794c8945a0SNathan Whitehorn + correct hardcoded signal 15 in tailbox to SIGHUP to match 21804c8945a0SNathan Whitehorn documentation. Signal 15 is usually SIGTERM, which cannot be caught. 21814c8945a0SNathan Whitehorn + correct off-by-one comparison of return-value for arg_rest() which 21824c8945a0SNathan Whitehorn made 21834c8945a0SNathan Whitehorn dialog --gauge test 10 50 21844c8945a0SNathan Whitehorn dump core because it expected a 4th parameter (fixes Debian #80641). 21854c8945a0SNathan Whitehorn + resync config.sub, config.guess from 21864c8945a0SNathan Whitehorn http://subversions.gnu.org/cgi-bin/cvsweb/config/ (which finally have 21874c8945a0SNathan Whitehorn cases for OS/2 EMX), minor tweaks to related configure script macros. 21884c8945a0SNathan Whitehorn 21894c8945a0SNathan Whitehorn2000/12/17 21904c8945a0SNathan Whitehorn + restore treatment of predefined height/width in real_auto_size() 21914c8945a0SNathan Whitehorn which was lost in 2000/12/12 rewrite (report by Raphael Halimi 21924c8945a0SNathan Whitehorn <raphaelh@easynet.fr>). 21934c8945a0SNathan Whitehorn + updates for configure script macros AM_PATH_PROG_WITH_TEST, 21944c8945a0SNathan Whitehorn CF_CURSES_LIBS, CF_LIB_PREFIX, CF_PROG_EXT for $PATHSEP and $CFLAGS 21954c8945a0SNathan Whitehorn fixes. 21964c8945a0SNathan Whitehorn 21974c8945a0SNathan Whitehorn2000/12/13 21984c8945a0SNathan Whitehorn + correct change for create_lock(), which resulted in an infinite loop 21994c8945a0SNathan Whitehorn (patch by Chris Butler, <chrisb@debian.org>). 22004c8945a0SNathan Whitehorn 22014c8945a0SNathan Whitehorn2000/12/12 22024c8945a0SNathan Whitehorn + rewrote print_autowrap() and real_auto_size() to share common code 22034c8945a0SNathan Whitehorn justify_text(), which now does text flow even when the string 22044c8945a0SNathan Whitehorn contains newlines (fixes Debian #77199). 22054c8945a0SNathan Whitehorn + improve create_lock() function using open() with O_EXCL rather than 22064c8945a0SNathan Whitehorn fopen() (patch by Matt Kraai (<kraai@debian.org>), Debian #78951). 22074c8945a0SNathan Whitehorn + correct description of --fselect in man page (patch by Tomas Pospisek 22084c8945a0SNathan Whitehorn (<tpo@spin.ch>), Debian #77200). 22094c8945a0SNathan Whitehorn + add --no-cancel as alias for --nocancel for compatibility with 22104c8945a0SNathan Whitehorn Xdialog (report by Luis E Limon <luisl@abriasoft.com>). 22114c8945a0SNathan Whitehorn 22124c8945a0SNathan Whitehorn2000/10/27 22134c8945a0SNathan Whitehorn + some lint fixes using lclint (mostly void-casts, but some 22144c8945a0SNathan Whitehorn sign-extension fixes e.g., for ctype.h macros, and loop in 22154c8945a0SNathan Whitehorn dlg_char_to_button()). 22164c8945a0SNathan Whitehorn + modified to build/run on OS/2 EMX with ncurses. 22174c8945a0SNathan Whitehorn + minor changes to po/*.po (trim trailing blanks, provide explicit 22184c8945a0SNathan Whitehorn translation for "OK"), to work with Solaris gettext. 22194c8945a0SNathan Whitehorn + modified to allow this to build with archaic version (1.8.6) 22204c8945a0SNathan Whitehorn of ncurses on FreeBSD 3.1 (does not run). 22214c8945a0SNathan Whitehorn + update config.guess, config.sub from subversions.gnu.org 22224c8945a0SNathan Whitehorn 22234c8945a0SNathan Whitehorn2000/10/17 22244c8945a0SNathan Whitehorn + use new function sub_window() to check success/failure of calls to 22254c8945a0SNathan Whitehorn subwin(), printing an error message if it fails (fixes Debian #74903). 22264c8945a0SNathan Whitehorn + use combination of isatty/ttyname to look for workable tty device 22274c8945a0SNathan Whitehorn on systems which have no /dev/tty, e.g., BeOS. 22284c8945a0SNathan Whitehorn 22294c8945a0SNathan Whitehorn2000/10/08 22304c8945a0SNathan Whitehorn + change exiterr() to use stdarg.h, make some messages easier to 22314c8945a0SNathan Whitehorn understand. 22324c8945a0SNathan Whitehorn + add dialog_clear() 22334c8945a0SNathan Whitehorn + make samples/install/setup build. 22344c8945a0SNathan Whitehorn + implemented mouse support for buttons, e.g., in yesno dialog using 22354c8945a0SNathan Whitehorn ncurses (the gpm support no longer works, but is useful for reference) 22364c8945a0SNathan Whitehorn + add a configure check for chtype. 22374c8945a0SNathan Whitehorn + updates for configure script macros (CF_BUNDLED_INTL, CF_CURSES_LIBS, 22384c8945a0SNathan Whitehorn CF_GCC_ATTRIBUTES, CF_GCC_WARNINGS, CF_INCLUDE_DIRS), and scripts 22394c8945a0SNathan Whitehorn config.guess, config.sub 22404c8945a0SNathan Whitehorn + cleanup of item-help change, integrate with checklist and radiobox. 22414c8945a0SNathan Whitehorn + add ja.po, from Hirofumi Takeda <takepin@turbolinux.co.jp>. 22424c8945a0SNathan Whitehorn > patch by Marco Mariani <marcom@sferacarta.com> 22434c8945a0SNathan Whitehorn + add --item-help option, which makes menubox data interpreted as 22444c8945a0SNathan Whitehorn 3 columns rather than 2. The third column is displayed on the 22454c8945a0SNathan Whitehorn last line of the screen as a help/status message for the currently 22464c8945a0SNathan Whitehorn selected item. 22474c8945a0SNathan Whitehorn + add it.po, pt.po 22484c8945a0SNathan Whitehorn + change TAG_KEY_HL to FALSE, making unselected items in checklist 22494c8945a0SNathan Whitehorn easier to read on Linux console. 22504c8945a0SNathan Whitehorn 22514c8945a0SNathan Whitehorn2000/07/30 22524c8945a0SNathan Whitehorn + change real_auto_size() to allow it to be used for dialogs that have 22534c8945a0SNathan Whitehorn no prompt, e.g., fselect. Also, rather than requiring both height 22544c8945a0SNathan Whitehorn and width to be given as -1 for maximizing the dialog, allow either 22554c8945a0SNathan Whitehorn alone. 22564c8945a0SNathan Whitehorn + increase minimum height needed for autosized yesno dialog. 22574c8945a0SNathan Whitehorn + add --version as an alias for --print-version. 22584c8945a0SNathan Whitehorn + fix for build on Solaris without NLS (cannot redefine 'gettext()'). 22594c8945a0SNathan Whitehorn + add fselect dialog (compatible with Xdialog). 22604c8945a0SNathan Whitehorn + add --enable-lxdialog configure option. 22614c8945a0SNathan Whitehorn + use new configure macro CF_ARG_MSG_ENABLE to show progress with 22624c8945a0SNathan Whitehorn enable/disable switches. 22634c8945a0SNathan Whitehorn 22644c8945a0SNathan Whitehorn2000/07/02 22654c8945a0SNathan Whitehorn + implement --stdout and --stderr options as in Xdialog. 22664c8945a0SNathan Whitehorn + move logic that translates "\\n" into '\n' into main program to 22674c8945a0SNathan Whitehorn simplify logic that formats text. 22684c8945a0SNathan Whitehorn + make ifdef's for rc-file not specific to ncurses. 22694c8945a0SNathan Whitehorn + correct logic making percent parameter of gauge optional. 22704c8945a0SNathan Whitehorn 22714c8945a0SNathan Whitehorn2000/06/29 22724c8945a0SNathan Whitehorn + add alternate test-script for gauge, adapted from Xdialog. 22734c8945a0SNathan Whitehorn + modify gauge to make optional a percentage which was read at the 22744c8945a0SNathan Whitehorn beginning of the XXX-delimited message text, since clones of dialog 22754c8945a0SNathan Whitehorn are written to assume this is text. If the line is not a simple 22764c8945a0SNathan Whitehorn integer, dialog will treat it as text. 22774c8945a0SNathan Whitehorn + make the percent parameter of gauge optional, as in Xdialog. 22784c8945a0SNathan Whitehorn + undo one use of CharOf() in guage.c, an error. 22794c8945a0SNathan Whitehorn + fix configure macro AM_WITH_NLS to refrain from attempting to make a 22804c8945a0SNathan Whitehorn symbolic link into/libintl.h if we are not using the bundled intl 22814c8945a0SNathan Whitehorn directory from gettext (reported by Julian Coleman 22824c8945a0SNathan Whitehorn <J.D.Coleman@newcastle.ac.uk>). 22834c8945a0SNathan Whitehorn + add ru.po, from Michael Sobolev <mss@transas.com> 22844c8945a0SNathan Whitehorn + updates for config.guess, config.sub from tin. 22854c8945a0SNathan Whitehorn + updates for configure script macros: CF_MATH_LIB (improperly nested 22864c8945a0SNathan Whitehorn brackets/parenthesis) and CF_XOPEN_CURSES (make include of 22874c8945a0SNathan Whitehorn <*curses.h> depend on configure tests). 22884c8945a0SNathan Whitehorn 22894c8945a0SNathan Whitehorn2000/04/25 22904c8945a0SNathan Whitehorn + repaint screen when a control/L is pressed. 22914c8945a0SNathan Whitehorn + apply CharOf() macro to avoid sign-extension on calls to waddch(), 22924c8945a0SNathan Whitehorn fixes a problem with accented characters (reported by Santiago Vila). 22934c8945a0SNathan Whitehorn + add es.po, from Santiago Vila <sanvila@unex.es> 22944c8945a0SNathan Whitehorn 22954c8945a0SNathan Whitehorn2000/04/23 22964c8945a0SNathan Whitehorn + modified to use gettext (configure option --enable-nls). This uses 22974c8945a0SNathan Whitehorn gettext 0.10.35, which must be previously installed. (It can also 22984c8945a0SNathan Whitehorn use an included intl library, but I consider that to be a waste of 22994c8945a0SNathan Whitehorn disk space). 23004c8945a0SNathan Whitehorn + remove code in checklist/radiobox, menubox that try to use 23014c8945a0SNathan Whitehorn abbreviations for the OK/Cancel buttons since those conflict with the 23024c8945a0SNathan Whitehorn check for abbreviations in list entries, which are more useful. 23034c8945a0SNathan Whitehorn + moved padding of button labels out of string literals, into the 23044c8945a0SNathan Whitehorn logic of dlg_draw_buttons(). 23054c8945a0SNathan Whitehorn + resync/update with configure macros CF_CURSES_LIBS, CF_FIND_LIBRARY, 23064c8945a0SNathan Whitehorn CF_HEADER_PATH, CF_LIBRARY_PATH and CF_NCURSES_LIBS, as well as 23074c8945a0SNathan Whitehorn mkdirs.sh and config.guess. 23084c8945a0SNathan Whitehorn 23094c8945a0SNathan Whitehorn2000/02/22 23104c8945a0SNathan Whitehorn + add --default-item option, for menubox to set the default selection 23114c8945a0SNathan Whitehorn (fixes Debian #49796). 23124c8945a0SNathan Whitehorn + add sample scripts for --nocancel and --fb options with inputbox. 23134c8945a0SNathan Whitehorn + modify inputbox* sample scripts to show application errors, if any. 23144c8945a0SNathan Whitehorn + add --nocancel option, and ignore --noitem, --fb, --fullbutton, to 23154c8945a0SNathan Whitehorn make this compatible with whiptail scripts. (whiptail does not 23164c8945a0SNathan Whitehorn handle many dialog scripts however). 23174c8945a0SNathan Whitehorn + modify checklist/radiobox to handle home, end, nextpage, prevpage 23184c8945a0SNathan Whitehorn keys, as well as make the abbreviation search work for the whole 23194c8945a0SNathan Whitehorn list, not only the current page. 23204c8945a0SNathan Whitehorn + treat KEY_LL the same as KEY_END in checklist and textbox. 23214c8945a0SNathan Whitehorn + add logic for KEY_BTAB. 23224c8945a0SNathan Whitehorn + use new function dlg_draw_buttons() to better manage the layout of 23234c8945a0SNathan Whitehorn yes/no/ok/cancel buttons. 23244c8945a0SNathan Whitehorn + another pass of cleanup of dialog.c, makes it use a single table for 23254c8945a0SNathan Whitehorn lookup of option names and help-message. Eliminated numerous 23264c8945a0SNathan Whitehorn adjustments to 'offset' variable. 23274c8945a0SNathan Whitehorn + on initialization, check if standard input is from a terminal. If 23284c8945a0SNathan Whitehorn not, open /dev/tty (fixes Debian #57771) 23294c8945a0SNathan Whitehorn 23304c8945a0SNathan Whitehorn2000/02/05 23314c8945a0SNathan Whitehorn + implement inline editing in textbox.c search dialog. 23324c8945a0SNathan Whitehorn + revise inputbox.c, allowing inline editing with arrow-keys. removed 23334c8945a0SNathan Whitehorn redundant logic in that module. 23344c8945a0SNathan Whitehorn + correct a typo that prevented rc-file configuration from building. 23354c8945a0SNathan Whitehorn + correct ifdef's to compile/run if the curses implementation does not 23364c8945a0SNathan Whitehorn support color. 23374c8945a0SNathan Whitehorn 23384c8945a0SNathan Whitehorn2000/01/23 23394c8945a0SNathan Whitehorn + improve test-case for gauge. 23404c8945a0SNathan Whitehorn + change gauge.c to show progress in reverse-video, add a check for 23414c8945a0SNathan Whitehorn end-of-file in the loop for reading new messages. 23424c8945a0SNathan Whitehorn + use curses whline() function to simplify print_arrows() logic in 23434c8945a0SNathan Whitehorn checklist.c and menubox.c 23444c8945a0SNathan Whitehorn + use curses beep() function rather than hardcoded strings. 23454c8945a0SNathan Whitehorn + correct several compiler warnings for gcc -pedantic (mismatch of 23464c8945a0SNathan Whitehorn const, signed/unsigned). 23474c8945a0SNathan Whitehorn + modify exiterr() to avoid possible expansion of '%'. 23484c8945a0SNathan Whitehorn + change CF_MATH_LIB configure macro to allow specifying a particular 23494c8945a0SNathan Whitehorn test-function. For dialog, this should be sqrt(). The macro was 23504c8945a0SNathan Whitehorn originally written for ncurses, which needs sin(). However, that is 23514c8945a0SNathan Whitehorn a builtin function on the m68k port (reported by Roman Hodek 23524c8945a0SNathan Whitehorn <Roman.Hodek@informatik.uni-erlangen.de>, this fixes Debian #55553). 23534c8945a0SNathan Whitehorn 23544c8945a0SNathan Whitehorn2000/01/18 23554c8945a0SNathan Whitehorn + update manpage (Debian #25648). 23564c8945a0SNathan Whitehorn + modify configure test for math library to avoid using a constant 23574c8945a0SNathan Whitehorn parameter to the test function, lest gcc optimize the call away 23584c8945a0SNathan Whitehorn (fixes Debian #55553). 23594c8945a0SNathan Whitehorn + restructure help-message so actual problem is indicated. The original 23604c8945a0SNathan Whitehorn help-message is shown if no parameters are given, or if the --help 23614c8945a0SNathan Whitehorn option is specified alone. 23624c8945a0SNathan Whitehorn + suppress xterm's alternate screen mode by sending an exit_ca_mode 23634c8945a0SNathan Whitehorn after initscr if the terminal looks like xterm, e.g., has key_mouse 23644c8945a0SNathan Whitehorn defined, and has private-mode escapes in both enter_ca_mode and 23654c8945a0SNathan Whitehorn exit_ca_mode (fixes Debian #55181). 23664c8945a0SNathan Whitehorn + change yellow lettering on white to blue on white, since it offers 23674c8945a0SNathan Whitehorn better contrast (fixes Debian #51196). 23684c8945a0SNathan Whitehorn + use napms() rather than sleep(). 23694c8945a0SNathan Whitehorn + some cleanup/simplification of main program. Indent'd dialog.c and 23704c8945a0SNathan Whitehorn util.c 23714c8945a0SNathan Whitehorn + eliminate several places where repeated options are treated as 23724c8945a0SNathan Whitehorn an error, since they are really executed once anyway. 23734c8945a0SNathan Whitehorn 23744c8945a0SNathan Whitehorn2000/01/15 23754c8945a0SNathan Whitehorn + remove pre-autoconf Makefile 23764c8945a0SNathan Whitehorn + remove sleep's from a few of the sample scripts, which left users 23774c8945a0SNathan Whitehorn thinking that dialog was slow to complete an action. 23784c8945a0SNathan Whitehorn + rewrote infobox sample script, using dialog's --sleep option and 23794c8945a0SNathan Whitehorn a loop in the script. 23804c8945a0SNathan Whitehorn + change 'ch' variable in tailbox.c to an integer, because it is 23814c8945a0SNathan Whitehorn compared against EOF (fixes Debian #53157). 23824c8945a0SNathan Whitehorn + corrected mandir variable in makefile.in (reported by Santiago Vila). 23834c8945a0SNathan Whitehorn + small changes to sample scripts, from Debian: rename "guage" script 23844c8945a0SNathan Whitehorn to "gauge", change path to copy of GPL used in textbox. 23854c8945a0SNathan Whitehorn + add uninstall rule to makefile.in, fixed some dependencies so 23864c8945a0SNathan Whitehorn "make install" works without first doing "make all". 23874c8945a0SNathan Whitehorn 23884c8945a0SNathan Whitehorn1999/12/25 23894c8945a0SNathan Whitehorn + use more portable scheme for tempfile generation in samples. 23904c8945a0SNathan Whitehorn + add a configure script, prefer to not use the original Makefile 23914c8945a0SNathan Whitehorn because it works only with GNU make. 23924c8945a0SNathan Whitehorn + correct prototype of 'main()', which misused const. 23934c8945a0SNathan Whitehorn + modify guage.c to use fgets() rather than gets(). 23944c8945a0SNathan Whitehorn + merge changes from Debian package maintainer 23954c8945a0SNathan Whitehorn Santiago Vila <sanvila@ctv.es>: 23964c8945a0SNathan Whitehorn 23974c8945a0SNathan Whitehorn 1999/10/07 23982a3e3873SBaptiste Daroussin + add a password dialog box (Debian #45964, patch by Joey Hess). 23994c8945a0SNathan Whitehorn + implement "--defaultno" option to specify if the default for 24002a3e3873SBaptiste Daroussin the yes/no box is "No" (Debian #46076, patch by Joey Hess). 24014c8945a0SNathan Whitehorn 1999/03/10 24024c8945a0SNathan Whitehorn + modify input.c to clear the input field to the right of the 24032a3e3873SBaptiste Daroussin given string, to help with screen-refresh 24044c8945a0SNathan Whitehorn 1998/12/08 24052a3e3873SBaptiste Daroussin + check for list_height less than one in checklist.c (Debian 24062a3e3873SBaptiste Daroussin #22239). 24074c8945a0SNathan Whitehorn 1998/10/21 24084c8945a0SNathan Whitehorn + use function wscrl() in preference to scroll() in checklist.c 24094c8945a0SNathan Whitehorn and menubox.c (unclear: in ncurses, scroll() is a macro that 24104c8945a0SNathan Whitehorn uses wscrl()). 24114c8945a0SNathan Whitehorn + remove the "-I/usr/include/ncurses" option from Makefile 24124c8945a0SNathan Whitehorn since Debian does not install ncurses' header files into 24134c8945a0SNathan Whitehorn that directory. 24144c8945a0SNathan Whitehorn 1998/09/12 24154c8945a0SNathan Whitehorn + simplify menubox.c using new functions print_arrows() and 24162a3e3873SBaptiste Daroussin print_items(). add logic to handle KEY_NPAGE and KEY_PPAGE 24172a3e3873SBaptiste Daroussin (Debian #26326). 24182a3e3873SBaptiste Daroussin + modifications to provide sample scripts (Debian #26211): 24194c8945a0SNathan Whitehorn + change sample scripts to use Debian tempfile utility rather 24204c8945a0SNathan Whitehorn than putting files into /tmp. 24212a3e3873SBaptiste Daroussin + change sample scripts to use 'dialog' from user's path 24222a3e3873SBaptiste Daroussin rather than in the parent directory as in the build 24232a3e3873SBaptiste Daroussin directory. 24244c8945a0SNathan Whitehorn + use the system copy of GPL rather than that in the build 24254c8945a0SNathan Whitehorn directory as an example for the textbox script. 24264c8945a0SNathan Whitehorn 24274c8945a0SNathan Whitehorn1999/11/27 24284c8945a0SNathan Whitehorn + fix some gcc warnings about ambiguous use of "else" 24294c8945a0SNathan Whitehorn 24304c8945a0SNathan Whitehorn1999/05/01 24314c8945a0SNathan Whitehorn + cleaned up some of the redundant code with new functions: 24324c8945a0SNathan Whitehorn box_x_ordinate 24334c8945a0SNathan Whitehorn box_y_ordinate 24344c8945a0SNathan Whitehorn draw_title 24354c8945a0SNathan Whitehorn draw_bottom_box 24364c8945a0SNathan Whitehorn new_window 24374c8945a0SNathan Whitehorn 24384c8945a0SNathan Whitehorn + modified msgbox.c and yesno.c to work with the KEY_RESIZE sigwinch 24394c8945a0SNathan Whitehorn handling in ncurses 4.2 24404c8945a0SNathan Whitehorn 24414c8945a0SNathan Whitehorn + corrected spelling of "gauge" 24424c8945a0SNathan Whitehorn 24434c8945a0SNathan WhitehornThe relevant portions of the Debian change log for the original version 24444c8945a0SNathan Whitehorn(dialog-0.9a-12) are abstracted here, omitting details of their packaging: 24454c8945a0SNathan Whitehorn 24464c8945a0SNathan Whitehorn1998/05/24 24474c8945a0SNathan Whitehorn 24484c8945a0SNathan Whitehorn + Replaced guage.c by the one in dialog 0.6z, which is known to work. 24492a3e3873SBaptiste Daroussin Fixes Debian #18284: unstable dialog. 24504c8945a0SNathan Whitehorn 24514c8945a0SNathan Whitehorn1997/12/16 24524c8945a0SNathan Whitehorn 24534c8945a0SNathan Whitehorn + dialog.c: dialog_input_result printed with "%s" format. This was 24542a3e3873SBaptiste Daroussin Debian #9913, fixed by Bill Mitchell, but the change was lost. 24554c8945a0SNathan Whitehorn + Pristine source, .depend is not removed in clean target. Instead, it 24562a3e3873SBaptiste Daroussin is made zero length (otherwise it would not work *without* fakeroot). 24572a3e3873SBaptiste Daroussin + Added '^U' support in input box (Debian #9915, patch by Joey Hess). 24582a3e3873SBaptiste Daroussin + Wrote patch to fix core-dumping problem (Debian #13170). Sven Rudolph 24594c8945a0SNathan Whitehorn <sr1@inf.tu-dresden.de>: 24604c8945a0SNathan Whitehorn 24614c8945a0SNathan Whitehorn-- vile:fk=8bit 2462