CHANGES revision 251843
1251843Sbapt-- $Id: CHANGES,v 1.458 2013/05/24 00:23:22 tom Exp $ 2217309Snwhitehorn-- Thomas E. Dickey <dickey@invisible-island.net> 3217309Snwhitehorn 4217309SnwhitehornThis version of dialog was originally from a Debian snapshot. I've done this 5217309Snwhitehornto it: 6217309Snwhitehorn 7251843Sbapt2013/05/23 8251843Sbapt + modify ifdef in arrows.c to work around packages which use the 9251843Sbapt wide-character ncursesw headers with the ncurses library (report 10251843Sbapt by Aleksey Cheusov). 11251843Sbapt + correct workaround for xterm alternate-screen to work with/without 12251843Sbapt the fix made in ncurses that makes putp() always write to the 13251843Sbapt standard output (Debian #708829). 14251843Sbapt + improve limit-checks for checklist, in case the dialog is resized 15251843Sbapt (report by Ilya A Arkhipov). 16251843Sbapt + add --last-key option (adapted from patch by Jordi Pujol, Debian 17251843Sbapt #697607). 18251843Sbapt 19251843Sbapt2013/03/15 20251843Sbapt + update zh_TW.po, add an.po from 21251843Sbapt http://translationproject.org/latest/dialog/ 22251843Sbapt 23251843Sbapt2012/12/30 - release 1.2 24251843Sbapt + improve some older changelog entries to help with HTML'izing content. 25251843Sbapt + various fixes/improvments for scrollbar appearance. 26251843Sbapt + add mappings for some equivalent options provided by whiptail; 27251843Sbapt add configure option --disable-whiptail to allow suppressing these. 28251843Sbapt + add configure option --disable-Xdialog2 to allow suppressing the 29251843Sbapt newer features, i.e., for cdialog 1.2 30251843Sbapt + add --no-items option, for consistency. 31251843Sbapt + add --no-tags option, like Xdialog. 32251843Sbapt + add buildlist, rangebox and treeview dialogs, like Xdialog. 33251843Sbapt + remove obsolete workaround for ncurses 4.2 scrolling in checklist 34251843Sbapt and menubox. 35251843Sbapt + improve dialog_helpfile() by preventing it from showing extra buttons 36251843Sbapt (suggested by xDog Walker). 37251843Sbapt + correct logic in formbox's scroll_next() function (report by xDog 38251843Sbapt Walker). 39251843Sbapt + fix a case with inputbox widget where preset input text is not shown 40251843Sbapt until moving the cursor within the text (report by xDog Walker). 41251843Sbapt + handle SIGCHLD in dialog_prgbox() to eliminate defunct processes 42251843Sbapt (report by xDog Walker). 43251843Sbapt + improve the way "hotkeys" are assigned to widget buttons by checking 44251843Sbapt if a given key has already been used in the row of buttons (Debian 45251843Sbapt #684933). 46251843Sbapt + amend fix for --trace parsing from 2012/07/03, which sometimes 47251843Sbapt skipped a parameter (report by xDog Walker). 48251843Sbapt + drop copismall and install files from samples, which were essentially 49251843Sbapt nonfunctional. 50251843Sbapt + correct secondary border colors in samples/slackware.rc and 51251843Sbapt samples/whiptail.rc 52251843Sbapt + update gl.po, add ia.po from 53251843Sbapt http://translationproject.org/latest/dialog/ 54251843Sbapt + fix various issues reported by coverity scan. 55251843Sbapt + miscellaneous configure script fixes/updates: 56251843Sbapt + require autoconf 2.52+patches 57251843Sbapt + support --datarootdir option 58251843Sbapt + check for clang compiler 59251843Sbapt + check for tinfo library when looking for ncurses 60251843Sbapt + add 3rd parameter to AC_DEFINE for autoheader 61251843Sbapt + remove unused macros from aclocal.m4 62251843Sbapt + update config.guess, config.sub 63251843Sbapt 64251843Sbapt2012/07/06 65251843Sbapt + modify samples/setup-tempfile to work with Tru64's shell. 66251843Sbapt + modify inputmenu sample scripts to make them more portable: 67251843Sbapt + use "id" rather than "$GROUPS", use sed to work with Solaris. 68251843Sbapt + use sed to split-up the rename results to work with HPUX. 69251843Sbapt + fix regression in msgbox (ArchLinux #30574) 70251843Sbapt 71251843Sbapt2012/07/03 72251843Sbapt + modify prgbox widget to work with --extra-button, etc. 73251843Sbapt + add case values to several widgets to allow for mouse-clicks with 74251843Sbapt "--extra-button" and "--help-button" additions. 75251843Sbapt + correct timebox widget's exit code for "--extra-button" when handing 76251843Sbapt the "enter" key. 77251843Sbapt + modify msgbox widget to honor "--extra-button". 78251843Sbapt + corrected processing of "--trace" option, which did not update the 79251843Sbapt index into command-line to point past its value. 80251843Sbapt + add a check in dialog program for valid characters used in option, 81251843Sbapt e.g., to generate an error if a script attempts to add option value 82251843Sbapt using "=" rather than with whitespace. 83251843Sbapt + add new command-line option --default-button and library function 84251843Sbapt dlg_default_button() to retrieve the value set by the option 85251843Sbapt to provide a way to set the default button directly rather than 86251843Sbapt by combining --nook, etc. (patch by Zoltan Kelemen). 87251843Sbapt + amend include of unctrl.h to apply only to the case where curses.h 88251843Sbapt is included, to avoid conflict of ncurses' unctrl.h with a system 89251843Sbapt implementation (report by Martin Roedlach) 90251843Sbapt + add limit-check to dlg_toupper() in non-wide curses mode to work 91251843Sbapt when non-character values such as arrow-key codes are passed to 92251843Sbapt it (patch by Zoltan Kelemen). 93251843Sbapt + override timeout value, e.g., as set via --timeout command-line 94251843Sbapt option in pause widget because that interferes with pause's behavior 95251843Sbapt (report by Jan Spitalnik). 96251843Sbapt + modify samples/inputmenu* to allow ":" in renamed text (report by 97251843Sbapt Andreas Stoewing). 98251843Sbapt + modify double-quoting to make it more consistent, i.e., checklist 99251843Sbapt output is quoted only when needed. This fixes the case where 100251843Sbapt single-quotes were used whether or not needed, but also modifies 101251843Sbapt older checklist behavior for double-quoting which always added those 102251843Sbapt (Debian #663664). 103251843Sbapt + correct exit-code used in inputmenu for "rename" button (Debian 104251843Sbapt #673041, forwarded from Ubuntu #333909, patch by Lebedev Vadim). 105251843Sbapt + update el.po and hr.po from 106251843Sbapt http://translationproject.org/latest/dialog/ 107251843Sbapt + use checkbashisms to clean up sample scripts. 108251843Sbapt 109251843Sbapt2012/02/15 110251843Sbapt + modify menubox.c to use the same improvement as in checklist.c 111251843Sbapt + improve auto width computation for checklist widget by using 112251843Sbapt dlg_calc_list_width as in the non-auto case (Edho Arief). 113251843Sbapt + eliminate some bashisms in the sample scripts (Pedro Giffuni). 114251843Sbapt + makefile fixes from FreeBSD ports (Li-Wen Hsu): 115251843Sbapt + make --with-package option of configure script work. 116251843Sbapt + get LIBTOOL_VERSION from configure script, needed by 117251843Sbapt ${LIBTOOL_VERSION} in LIBTOOL_CREATE (LIB_CREATE in configure and 118251843Sbapt aclocal.m4) 119251843Sbapt + update cs.po and sr.po from 120251843Sbapt http://translationproject.org/latest/dialog/ 121251843Sbapt + updated configure script macros, improving CF_XOPEN_SOURCE among 122251843Sbapt other fixes. 123251843Sbapt 124251843Sbapt2011/10/20 125251843Sbapt + fix --analyze warnings for clang versions 2.8, 2.9. 126251843Sbapt + add configure check for lint program. 127251843Sbapt + add check in dlg_getc() in case its window is freed as a side effect 128251843Sbapt of removing callbacks. 129251843Sbapt + fix logic in freeing subwindows (report by xDog Walker). 130251843Sbapt + fix a regression in logic distinguishing between inputmenu and menu 131251843Sbapt widgets (report by xDog Walker). 132251843Sbapt + minor fixes to library manpage. 133251843Sbapt 134251843Sbapt2011/10/18 135251843Sbapt + modify header-sh.in to work around limit on sed script length on 136251843Sbapt HPUX. 137251843Sbapt + add a special case of parameter parsing for "--trace" to the 138251843Sbapt initialization done before calling init_dialog(), to allow users to 139251843Sbapt capture the initial state of the parameter list before any options 140251843Sbapt are processed and removed. This is only done if "--trace" is the 141251843Sbapt first option, otherwise it is handled in the common options as before 142251843Sbapt (report by xDog Walker). 143251843Sbapt + modify samples/testdata-8bit, discarding $1 from the parameter list 144251843Sbapt if it was used, so that the source'ing scripts can consistently use 145251843Sbapt "$@" to insert parameters before the widget, e.g., as an alternative 146251843Sbapt to using $DIALOGOPTS (report by xDog Walker). 147251843Sbapt + modify treatment of function pointers in menubox.c, make 148251843Sbapt dlg_renamed_menutext() and dlg_dummy_menutext() visible to library 149251843Sbapt users (request by xDog Walker). 150251843Sbapt + add dlg_count_real_columns(), use to modify centering for "--hline" 151251843Sbapt text to account for "\Z"s (report by xDog Walker). 152251843Sbapt + improve check in dlg_draw_arrows2() for conflict between the window 153251843Sbapt title and up-arrow marker to take into account that the given window 154251843Sbapt may not be the top-level window of the widget. 155251843Sbapt + change width of page up/down mouse areas in fselect panes to use the 156251843Sbapt full width of the panes rather than only the portion from the left 157251843Sbapt margin to the up/down arrow. 158251843Sbapt + add/use dlg_draw_box2() and dlg_draw_bottom_box2() to use the 159251843Sbapt secondary borders. 160251843Sbapt + modify rc-file read/write to accept/generate color values that refer 161251843Sbapt to previously-processed items in the color table. This reduces the 162251843Sbapt number of distinct colors that must be specified to set up a color 163251843Sbapt scheme. 164251843Sbapt + add color table entries for secondary borders, i.e., the ones that 165251843Sbapt are normally drawn with the dialog's text-colors (Debian #641168). 166251843Sbapt + modify fselect.c to scan the current directory if the input field 167251843Sbapt happens to be empty (Debian #640905). 168251843Sbapt + repeated the discussion of environment variables that can override 169251843Sbapt the exit-status values in the manpage's return-codes section 170251843Sbapt (Debian #642105). 171251843Sbapt + add an example to the manpage showing how to override the form 172251843Sbapt widget's keys used for field/button traversal (Debian #642108). 173251843Sbapt + modify call to dlg_register_window() in formbox.c so that the editing 174251843Sbapt bindings are attached to the form sub-window rather than the 175251843Sbapt top-level dialog window. Also change the name by which the editing 176251843Sbapt bindings are bound for editbox.c, fselect.c and inputbox.c, so that 177251843Sbapt the editing and navigation bindings can be different. 178251843Sbapt + correct logic in dlg_lookup_key() so that it matches the widget name 179251843Sbapt before using a binding from .dialogrc, allowing the inner/outer 180251843Sbapt windows of form and other editing widgets to have different bindings. 181251843Sbapt + modify dlg_register_window() to call dlg_dump_window_keys() after 182251843Sbapt its updates, via the --trace output, to supplement the manpage 183251843Sbapt description of key bindings (Debian #642108). 184251843Sbapt + add DLGK_FORM_PREV and DLGK_FORM_NEXT key-bindings to form.c, to 185251843Sbapt allow binding a single key to traverse both form-fields and buttons 186251843Sbapt (Debian #642108). 187251843Sbapt + modify dlg_parse_rc() to check for error return from 188251843Sbapt dlg_parse_bindkey(). 189251843Sbapt + add function dlg_dump_window_keys(), to help with debugging widgets. 190251843Sbapt + add CR, LF, TAB, FF and ESC to table of curses names to help make 191251843Sbapt key bindings more readable. 192251843Sbapt + update table of dialog key-names so that helpfile and trace are 193251843Sbapt dumped properly. 194251843Sbapt + correct dlg_dump_keys(), which was showing only the first item in 195251843Sbapt the matched binding table. 196251843Sbapt + save/restore window current position in dlg_update_mixedgauge(). 197251843Sbapt + pass return-code from pause_for_ok() from dlg_progressbox() when 198251843Sbapt pauseopt is set, rather than only DLG_OK. 199251843Sbapt + call setlocale() in init_dialog() rather than relying on on-demand 200251843Sbapt use within inputstr.c, since there are paths in textbox widget which 201251843Sbapt do not exercise the latter (report by xDog Walker). 202251843Sbapt + fix some places where checks for "\Z" were done without also checking 203251843Sbapt dialog_vars.colors (report by Moray Henderson). 204251843Sbapt + correct logic for DIALOGOPTS parsing so that the parse happens only 205251843Sbapt once unless memory leak checking is enabled (report by xDog Walker). 206251843Sbapt + remove an incorrect free() call in dlg_free_gauge() (report by xDog 207251843Sbapt Walker). 208251843Sbapt + modify dlg_trace_win() to log wide-characters (report by xDog Walker). 209251843Sbapt + make traces shorter by skipping repeated ERR's, but showing the 210251843Sbapt number skipped (report by xDog Walker). 211251843Sbapt + improve description in manpage to distinguish program box and 212251843Sbapt progress box from tailboxes (adapted from email by xDog Walker). 213251843Sbapt + modify dlg_trace_win() so that it looks for the topmost window in a 214251843Sbapt dialog. Because subwindows share space with the top window, tracing 215251843Sbapt the latter shows the whole widget (report by xDog Walker). 216251843Sbapt + expand tracing so that each window is traced before soliciting input, 217251843Sbapt making the ^T feature to print a window on demand partly redundant 218251843Sbapt (suggested by xDog Walker). 219251843Sbapt + cosmetic change in dialog.h to avoid "*/*" strings from comments next 220251843Sbapt to "*" (report by xDog Walker). 221251843Sbapt + ensure result from dlg_align_columns() has trailing null on each 222251843Sbapt string. Analysis was hindered by libc6's continuance of libc5's 223251843Sbapt early-1990s misfeature of clearing the result from malloc, noting 224251843Sbapt that libc6's documentation incorrectly claims that it does not do 225251843Sbapt this (report by xDog Walker). 226251843Sbapt 227224014Snwhitehorn2011/07/07 228224014Snwhitehorn + modify util.c to work better with old versions of ncurses: 229224014Snwhitehorn + suppress use of wchgat() before fix in 20060715 which is needed 230224014Snwhitehorn for simple shadow manipulation used here in 2011/06/30 (report 231224014Snwhitehorn by xDog Walker). 232224014Snwhitehorn + add a null-pointer check in dlg_print_scrolled() 233224014Snwhitehorn + fix a regression in dlg_getc() introduced by changes to intercept 234224014Snwhitehorn F1 for help-popup (report by xDog Walker). 235224014Snwhitehorn 236224014Snwhitehorn2011/06/30 237224014Snwhitehorn + correct license statement for prgbox.c (Debian #632198). 238224014Snwhitehorn + correct layout when "--colors" is used, by discounting characters in 239224014Snwhitehorn the escape sequences from the column counts (report by xDog Walker). 240224014Snwhitehorn + modify dlg_checklist() so that only one item in the list can 241224014Snwhitehorn initially be selected (report by xDog Walker). 242224014Snwhitehorn + add/use macro dlg_enter_buttoncode() to improve implementation of 243224014Snwhitehorn "--nook" option (report by xDog Walker). 244224014Snwhitehorn + add option "--no-nl-expand" to suppress the conversion of "\n" 245224014Snwhitehorn strings into newlines (request by xDog Walker). 246224014Snwhitehorn + modify LIB_CREATE symbol in makefile.in to include the library 247224014Snwhitehorn dependencies such as ncurses. This is needed when dynamically 248224014Snwhitehorn loading the library (report/analysis by xDog Walker). 249224014Snwhitehorn + modify dlg_exit_label() to suppress the Cancel button, for 250224014Snwhitehorn consistency. 251224014Snwhitehorn + modify dlg_exit_label() to honor the --nook option, except when there 252224014Snwhitehorn is no other button, e.g., the help-button. 253224014Snwhitehorn + modify dlg_exit_buttoncode() so that it returns the proper code for 254224014Snwhitehorn help-button (report by xDog Walker). 255224014Snwhitehorn + correct loop limit when processing "--column-separator" (report by 256224014Snwhitehorn xDog Walker). 257224014Snwhitehorn + modify handling of "--version" and "--help" to ensure that they are 258224014Snwhitehorn processed, and exit before widgets. Separate "--print-version" 259224014Snwhitehorn from "--version", allowing its output to be interspersed with 260224014Snwhitehorn widget output (report by xDog Walker). 261224014Snwhitehorn + correct a few places where "--version" or "--help" options went 262224014Snwhitehorn always to stdout rather than allowing redirection with the "--stderr" 263224014Snwhitehorn option (report by xDog Walker). 264224014Snwhitehorn + improve repainting after erasing a widget and its shadow. 265224014Snwhitehorn + add "--hline" and "--hfile" options for compatibility with FreeBSD 266224014Snwhitehorn dialog (request by Devin Teske). 267224014Snwhitehorn + add dialog version message when opening a trace file (request by 268224014Snwhitehorn xDog Walker). 269224014Snwhitehorn + show filename of rc-file in traces. 270224014Snwhitehorn + add piped-in data for gauge widget to traces. 271224014Snwhitehorn + add entrypoints to gauge widget, for allocating, updating and freeing 272224014Snwhitehorn the widget (adapted from patch by Stephen Hurd). 273224014Snwhitehorn + fix a reference to freed memory in the gauge widget. 274224014Snwhitehorn + fix --no-mouse option by actually closing the mouse (report by 275224014Snwhitehorn xDog Walker). 276224014Snwhitehorn + add sk.po from 277224014Snwhitehorn http://translationproject.org/latest/dialog/ 278224014Snwhitehorn + limit Solaris xpg4 portability fix for redefinition of ERR to cover 279224014Snwhitehorn the specific value found in <sys/regset.h>, in case an application 280224014Snwhitehorn includes dialog.h after curses.h (FreeBSD #156601, report by Jaakko 281224014Snwhitehorn Heinonen, Stephen Hurd). 282224014Snwhitehorn + updated configure macros: 283224014Snwhitehorn + CF_CURSES_CPPFLAGS, 284224014Snwhitehorn + CF_CURSES_LIBS, make checks for special libraries on hpux10 and 285224014Snwhitehorn sunos4 optional 286224014Snwhitehorn + CF_CURSES_FUNCS, workaround for bug in gcc 4.2.1 (FreeBSD 8.1) 287224014Snwhitehorn which caused part of test program to be omitted, i.e., when it saw 288224014Snwhitehorn two return-statements in a row it omitted the _first_ one. Also 289224014Snwhitehorn add expression to pointer check to help FreeBSD's linker decide it 290224014Snwhitehorn should be validated. Just an assignment was not enough. Also, add 291224014Snwhitehorn check for unctrl.h 292224014Snwhitehorn + CF_CURSES_HEADER, change order for curses.h / ncurses.h pairs to 293224014Snwhitehorn put ncurses.h first, which will tend to provide the same #define's 294224014Snwhitehorn as in CF_NCURSES_HEADER (report by Dennis Preiser). 295224014Snwhitehorn + CF_CURSES_TERM_H, modify to avoid spurious check for 296224014Snwhitehorn <curses.hterm.h> if there is no ncurses version. Look for 297224014Snwhitehorn ncurses's term.h anyway, to work around breakage by packagers who 298224014Snwhitehorn separate ncurses' header files. 299224014Snwhitehorn + CF_DISABLE_RPATH_HACK, fix garbled message 300224014Snwhitehorn + CF_LD_RPATH_OPT, add mirbsd 301224014Snwhitehorn + CF_MAKEFLAGS, filter out GNU make's entering/leaving messages. 302224014Snwhitehorn This only appeared when using the macro in a dpkg script, though it 303224014Snwhitehorn should have in other cases. 304224014Snwhitehorn + CF_RPATH_HACK, add a check for libraries not found, e.g., from 305224014Snwhitehorn suppressed functionality of gcc in linking from /usr/local/lib, and 306224014Snwhitehorn add a -L option to help work around this. 307224014Snwhitehorn + CF_XOPEN_SOURCE, workaround for cygwin to get ncurses' configure 308224014Snwhitehorn script to define _XOPEN_SOURCE_EXTENDED (cygwin's features.h 309224014Snwhitehorn doesn't do anything, so it needs a crutch). 310251843Sbapt + update config.guess, config.sub 311224014Snwhitehorn 312220749Snwhitehorn2011/03/02 313220749Snwhitehorn + add --prgbox and --programbox (adapted from patch by David Boyd). 314220749Snwhitehorn + add sl.po from 315220749Snwhitehorn http://translationproject.org/latest/dialog/ 316220749Snwhitehorn + fix timeouts from 2011/01/18, which were being interpreted as 317220749Snwhitehorn milliseconds rather than seconds (report by Luis Moreira). 318220749Snwhitehorn 319220749Snwhitehorn2011/01/18 320220749Snwhitehorn + fix inconsistency in return-codes for textbox when help-button is 321220749Snwhitehorn used by making dlg_exit_buttoncode() a wrapper for 322220749Snwhitehorn dlg_ok_buttoncode(). 323220749Snwhitehorn + modify pause widget to use dlg_ok_buttoncode(), so help-button works. 324220749Snwhitehorn + correct two infobox sample scripts, which did not pass extra 325220749Snwhitehorn command-line parameters due to quoting problems. 326220749Snwhitehorn + add a limit-check to the timebox widget (patch by Garrett Cooper). 327220749Snwhitehorn + modify --trace option to also trace the command-line parameters. 328220749Snwhitehorn + account for combining characters when wrapping text (Debian #570634). 329220749Snwhitehorn + correct handling of SIGWINCH in gauge widget (Debian #305705). 330220749Snwhitehorn + add gauge_color, to make guage's progress-bar distinct from 331220749Snwhitehorn title_color (request by Dominic Derdau). 332220749Snwhitehorn + update fi.po from 333220749Snwhitehorn http://translationproject.org/latest/dialog/ 334220749Snwhitehorn as well as resync line-numbers in the other po-files. 335220749Snwhitehorn + modify configure script and dialog program to build with NetBSD's 336220749Snwhitehorn wide-character curses functions, including workarounds for its 337220749Snwhitehorn incorrect WACS_xxx definitions. Some of the UTF-8 examples work. 338220749Snwhitehorn + add back-tab for traversal of tailboxbg widgets, for symmetry with 339220749Snwhitehorn tab-traversal. 340220749Snwhitehorn + reduce flicker in tailboxbg by checking if the input file size has 341220749Snwhitehorn changed. 342220749Snwhitehorn + modify internals of callbacks to avoid blocking reads of their 343220749Snwhitehorn associated files by keyboard input. 344220749Snwhitehorn + add command-line option --no-mouse, to suppress use of mouse. 345220749Snwhitehorn + add configure option --enable-header-subdir to allow the header files 346220749Snwhitehorn to be installed into a subdirectory named for the package. 347220749Snwhitehorn + modify dlg_restore_vars() to retain the updated values of 348220749Snwhitehorn input_result and input_length, eliminating the need for a caller to 349220749Snwhitehorn provide their own user buffer (prompted by report by Thiago Bimbatti 350220749Snwhitehorn Felicio). 351220749Snwhitehorn + add a null-pointer check in show_result() for 352220749Snwhitehorn dialog_vars.input_result, and ensure it is set to null after freeing 353220749Snwhitehorn (prompted by report by Thiago Bimbatti Felicio). 354220749Snwhitehorn + change order of -I options in CPPFLAGS (report by Michel Feldheim) 355220749Snwhitehorn + modify pause-widget so that it no longer exits when an unrecognized 356220749Snwhitehorn key is pressed (patch by Creidieki M Crouch). 357220749Snwhitehorn + add --with-package option to configure script to allow renaming 358220749Snwhitehorn of the dialog program and library, to support the package scripts. 359220749Snwhitehorn + add Debian and RPM package scripts for test-builds. 360220749Snwhitehorn + several improvements to configure script: 361220749Snwhitehorn + quote params of ifelse() 362220749Snwhitehorn + change obsolete ${name-value} to standard ${name:-value} 363220749Snwhitehorn + use new macros CF_ADD_LIB/CF_ADD_LIBS to enforce consistency. 364220749Snwhitehorn + AM_GNU_GETTEXT, drop $MKINSTALLDIRS, use "mkdir -p" consistently. 365220749Snwhitehorn + CF_ADD_SUBDIR_PATH, workaround - if $prefix was not mkdir'd yet, no 366220749Snwhitehorn directories were added. 367220749Snwhitehorn + CF_BUNDLED_INTL, add --with-textdomain option, to use with lynx-dev 368220749Snwhitehorn package 369220749Snwhitehorn + CF_FIND_LINKAGE, simplify save/restore of $LIBS 370220749Snwhitehorn + CF_GCC_WARNINGS, fix for Mac OS X (compiler makes conftest.dSYM 371220749Snwhitehorn directory) 372220749Snwhitehorn + CF_HEADER_PATH, don't search for variations of everything in the 373220749Snwhitehorn current include-path 374220749Snwhitehorn + CF_WITH_CURSES_DIR, move the calls to CF_ADD_INCDIR and 375220749Snwhitehorn CF_ADD_LIBDIR for the curses-directory here, from 376220749Snwhitehorn CF_NCURSES_CPPFLAGS and CF_NCURSES_LDFLAGS, so it will work even 377220749Snwhitehorn with the default checking, e.g., no --with-ncurses, etc. 378251843Sbapt + update config.guess, config.sub 379220749Snwhitehorn 380217309Snwhitehorn2010/04/28 381217309Snwhitehorn + several improvements to configure script: 382217309Snwhitehorn + modify CF_CURSES_TERM_H to handle cases such as cygwin where 383217309Snwhitehorn packager has installed curses.h and term.h in different 384217309Snwhitehorn directories, e.g., to wedge in a termcap library. 385217309Snwhitehorn + modify CF_XOPEN_SOURCE, adding special case for OpenSolaris 386217309Snwhitehorn + modify CF_MAKE_TAGS to add check for exctags and exetags, prefer to 387217309Snwhitehorn ctags and etags to work around pkgsrc (NetBSD) renaming. 388217309Snwhitehorn + correct CF_FIND_LINKAGE, setting cache variable for library_file in 389217309Snwhitehorn the special case where no directory search is made. 390217309Snwhitehorn + improve CF_GCC_VERSION, suppress stderr for c89 alias of gcc. 391217309Snwhitehorn + improve CF_GCC_WARNINGS, moving -W and -Wall into the list to 392217309Snwhitehorn check, since c89 alias for gcc complains about these options. 393217309Snwhitehorn + modify CF_HEADER_PATH, to not search for variations of everything 394217309Snwhitehorn in the current include-path 395217309Snwhitehorn + use "mkdir -p", remove mkdirs.sh 396217309Snwhitehorn + use CF_CURSES_HEADER to fill in possible subdirectory used for 397217309Snwhitehorn ncurses header filename. 398217309Snwhitehorn + modify CF_XOPEN_CURSES to work around current ncurse header loss of 399217309Snwhitehorn predefinition of _XOPEN_SOURCE_EXTENDED 400217309Snwhitehorn + add "--disable-rpath-hack" option, along with scripting to add 401217309Snwhitehorn rpath option to libraries found in unusual places. 402217309Snwhitehorn + modify pause widget to autosize like gauge, and to omit the area for 403217309Snwhitehorn buttons when none are displayed. 404217309Snwhitehorn + fix an infinite loop in dlg_button_layout() if there are no buttons 405217309Snwhitehorn to display (Debian #579390). 406217309Snwhitehorn + add makefile rules for generating html, etc., documentation from 407217309Snwhitehorn nroff. 408217309Snwhitehorn > patches by Samuel Mart�n Moro 409217309Snwhitehorn + reset errors in tailbox before reading new character. 410217309Snwhitehorn + modify dlg_draw_scrollbar(), omitting hiding percentages in boxes 411217309Snwhitehorn when no arrows or scrollbar are needed. 412217309Snwhitehorn + correct value of row for scrollbars in formbox. 413217309Snwhitehorn + update es.po from 414217309Snwhitehorn http://translationproject.org/latest/dialog/ 415217309Snwhitehorn 416217309Snwhitehorn2010/01/19 417217309Snwhitehorn + split up binding tables in inputbox and similar widgets to avoid 418217309Snwhitehorn conflict between cursor-key use for input-string versus navigation 419217309Snwhitehorn (report by slakmagik). 420217309Snwhitehorn + if strftime() is available, support --time-format option for timebox 421217309Snwhitehorn widget. 422217309Snwhitehorn + if strftime() is available, support --date-format option for calendar 423217309Snwhitehorn widget (request by Walter Harms). 424217309Snwhitehorn + build-fixes for linking to intl library in /usr/local 425217309Snwhitehorn + add --scrollbar option, use in most widgets to show a scrollbar on 426217309Snwhitehorn the right margin of the data. That is cosmetic, does not respond to 427217309Snwhitehorn the mouse. 428217309Snwhitehorn + reuse functions from msgbox to allow prompt for yesno box to be 429217309Snwhitehorn scrolled in a too-small window. 430217309Snwhitehorn + correct mapping of button-codes with --nook option (report by Lebedev 431217309Snwhitehorn Vadim). 432217309Snwhitehorn + cleanup sample scripts using new utility scripts setup-* and report-*, 433217309Snwhitehorn and allow command-line parameters to be added, for ad hoc testing. 434217309Snwhitehorn + correct change to tailbox widget from 2009/02/22 using 435217309Snwhitehorn dlg_button_layout(), which broke that widget. 436217309Snwhitehorn + document some of the portability caveats. 437217309Snwhitehorn + modify gauge widget to service callbacks (prompted by patch and 438217309Snwhitehorn comments by Frank Sorenson). 439217309Snwhitehorn + modify editbox to allow its input buffer to be larger than MAX_LEN 440217309Snwhitehorn unless bounded by the --max-input option, and add limit-checks for 441217309Snwhitehorn the buffer (report by slakmagik). 442217309Snwhitehorn + improve manpage description of --checklist (report by Isaac Good). 443217309Snwhitehorn + several improvements to configure script macros: CF_ADD_CFLAGS 444217309Snwhitehorn CF_CURSES_FUNCS CF_DISABLE_ECHO CF_GCC_ATTRIBUTES CF_MATH_LIB 445217309Snwhitehorn CF_POSIX_C_SOURCE CF_REMOVE_DEFINE CF_WITH_LIBTOOL CF_XOPEN_SOURCE 446217309Snwhitehorn + add is.po, lv.po, sw.po from 447217309Snwhitehorn http://translationproject.org/latest/dialog/ 448217309Snwhitehorn + update de.po, id.po, pl.po, pt_BR.po, vi.po from 449217309Snwhitehorn http://translationproject.org/latest/dialog/ 450217309Snwhitehorn 451217309Snwhitehorn2009/02/22 452217309Snwhitehorn + do not display top-arrows for scrolling if they would overwrite the 453217309Snwhitehorn title (report by slakmagik) 454217309Snwhitehorn + consistently use dlg_button_layout() when autosizing widgets (report 455217309Snwhitehorn by slakmagik). 456217309Snwhitehorn + add "-" and "+" bindings to timebox widget. 457217309Snwhitehorn + add "-" and "+" bindings to calendar widget (OpenSolaris #6739031). 458217309Snwhitehorn + review/fix other widgets to ensure that they exit on error, e.g., 459217309Snwhitehorn editbox.c 460217309Snwhitehorn + modify check in dlg_getc() to treat closure of either stdin or stdout 461217309Snwhitehorn as an error, rather than both. This is more stringent than the check 462217309Snwhitehorn added in 2007/07/04. 463217309Snwhitehorn + modify dlg_result_key() to map curses ERR to dialog's error exit 464217309Snwhitehorn (adapted from patch by Domagoj Pensa). 465217309Snwhitehorn + updated several configure script macros: 466217309Snwhitehorn + consistently append, rather then prepend, to $CFLAGS 467217309Snwhitehorn + add cases for AIX 6, mint, and dragonfly to CF_XOPEN_SOURCE 468217309Snwhitehorn + use $PATH_SEPARATOR rather than $PATHSEP 469217309Snwhitehorn + improve CF_FIND_LINKAGE, use in checks for more libraries, e.g., 470217309Snwhitehorn libutf8 and libiconv. 471217309Snwhitehorn + update da.po, ru.po from 472217309Snwhitehorn http://translationproject.org/latest/dialog/ 473251843Sbapt + update config.guess, config.sub 474217309Snwhitehorn 475217309Snwhitehorn2008/08/19 476217309Snwhitehorn + amend changes to quoting; by default, the checklist widget quotes its 477217309Snwhitehorn output except when --separate-output is used (Debian #495600). 478217309Snwhitehorn + add eo.po from 479217309Snwhitehorn http://translationproject.org/latest/dialog/ 480217309Snwhitehorn 481217309Snwhitehorn2008/07/27 482217309Snwhitehorn + add pointer-check when closing piped input (cf: 2007/03/25) 483217309Snwhitehorn + use here-documents rather than echo, when passing backslashes in 484217309Snwhitehorn strings, to accommodate the Debian shell "dash" (Debian #489563). 485217309Snwhitehorn + recode several ".po" files to UTF-8 for consistency. 486217309Snwhitehorn + change --separator to be an alias for --output-separator, for 487217309Snwhitehorn compatibility with Xdialog. 488217309Snwhitehorn + add --output-separator option to allow scripts to change the output 489217309Snwhitehorn separator from a newline (for --separate-output) or a space. This 490217309Snwhitehorn applies to other widgets such as forms and editboxes which normally 491217309Snwhitehorn use a newline. 492217309Snwhitehorn + add --column-separator option, to tell where column-aligned data for 493217309Snwhitehorn radio/checkboxes or menus should be split into columns (request by 494217309Snwhitehorn Ben Dibbens). 495217309Snwhitehorn + add id.po, ku.po, lt.po, nb.po and update ca.po, fr.po, gl.po, ja.po, 496217309Snwhitehorn th.po from 497217309Snwhitehorn http://translationproject.org/latest/dialog/ 498217309Snwhitehorn + add "--quoted" option, to quote values returned by formbox, etc. 499217309Snwhitehorn + change names of EX/ES macros in dialog.1 to work around name- 500217309Snwhitehorn pollution caused by changes in Debian #470729. 501217309Snwhitehorn 502217309Snwhitehorn2008/03/16 503217309Snwhitehorn + modify dlg_mouse_wgetch() to loop only on errors that it detects, 504217309Snwhitehorn rather than on errors forwarded from dlg_getc(), in case those are 505217309Snwhitehorn due to a disconnected terminal (report by Anatoli Sakhnik). 506217309Snwhitehorn + allow "default" color in dialogrc file (request by Dashing). 507217309Snwhitehorn + fix an indexing error in formbox (Debian #469190, report by Dmitry 508217309Snwhitehorn Gomerman, patch by Vladimir Mezentsev). 509217309Snwhitehorn + add bindings for CTL/N, CTL/P to checklist, fselect and menubox 510217309Snwhitehorn widgets (prompted by discussion with John Gatewood Ham). 511217309Snwhitehorn + add be@latin.po, th.po and update zh_TW.po from 512217309Snwhitehorn http://translationproject.org/latest/dialog/ 513217309Snwhitehorn > patches by Peter Astrand: 514217309Snwhitehorn + modify dlg_auto_sizefile() to ensure the computed height and width 515217309Snwhitehorn do not extend beyond the screen size. 516217309Snwhitehorn + use unctrl() to make inputstr.c work with Solaris curses. 517217309Snwhitehorn > patches by Yura Kalinichenko: 518217309Snwhitehorn + extend pause widget to use ok/cancel buttons (the former giving the 519217309Snwhitehorn same result as a timeout), rather than an exit-button. 520217309Snwhitehorn + fix initialization parameter of inputbox for multibyte characters. 521217309Snwhitehorn 522217309Snwhitehorn2007/10/28 523217309Snwhitehorn + improve layout of checklist.c, menubox.c, ensuring that the list fits 524217309Snwhitehorn within the available space (report by Gordon Schumacher). 525217309Snwhitehorn + undo removal of redundant chunk from checklist.c in 2007/02/27, 526217309Snwhitehorn since some scripts depend on this (Debian #443077). 527217309Snwhitehorn + update nl.po from 528217309Snwhitehorn http://translationproject.org/latest/dialog/ 529217309Snwhitehorn 530217309Snwhitehorn2007/09/30 531217309Snwhitehorn + correct cursor position in editbox after deleting past left margin 532217309Snwhitehorn (report by Joe McDonagh). 533217309Snwhitehorn + add "--no-ok" option (patch by Klaus Knopper). 534217309Snwhitehorn + modify "--file" option to allow it to read from sources other than 535217309Snwhitehorn a regular file (patch by Pieter van Beek). 536217309Snwhitehorn + improved hi.po (Hindi) (from Klaus Knopper). 537217309Snwhitehorn + fix masking of attributes in dlg_draw_shadow() which lost 538217309Snwhitehorn line-drawing bit (report by David Everly). 539217309Snwhitehorn + fix editbox widget to handle zero-length files (report by Joe 540217309Snwhitehorn McDonagh). 541217309Snwhitehorn + update "po" files eu.po ga.po it.po ms.po sv.po vi.po wa.po zh_CN.po 542217309Snwhitehorn from 543217309Snwhitehorn http://translationproject.org/latest/dialog/ 544217309Snwhitehorn 545217309Snwhitehorn2007/07/04 546217309Snwhitehorn + revise the resizable shadows so textbox's search dialog has text 547217309Snwhitehorn visible in the shadow again. 548217309Snwhitehorn + improve the prefixing of autoconf-related symbols in the installed 549217309Snwhitehorn header files, taking into account symbols which are not mentioned in 550217309Snwhitehorn dlg_config.h 551217309Snwhitehorn + add a check when ERR returned from wgetch() to ensure that the 552217309Snwhitehorn input/output streams are still valid. If that happens, force 553217309Snwhitehorn ESC to be returned, quitting dialog (report by Reiner Huober). 554217309Snwhitehorn + add extern "C" declarations to dlg_keys.h so the corresponding 555217309Snwhitehorn function declarations are exported to C++ as C symbols. 556251843Sbapt + update config.guess, config.sub 557217309Snwhitehorn 558217309Snwhitehorn2007/06/04 559217309Snwhitehorn + fix a memory leak in editbox.c 560217309Snwhitehorn + revise change from 2007/02/27 which moved the logic for trimming 561217309Snwhitehorn option text out of the loop because that moved it before 562217309Snwhitehorn initialization of the "--trim" option. Put it back in the loop, but 563217309Snwhitehorn limit the tokens which are trimmed to cover only those for the 564217309Snwhitehorn current widget. Also ensure that all tokens for a widget are 565217309Snwhitehorn trimmed, rather than only the first, which is usually text (report by 566217309Snwhitehorn Lai Zit Seng). 567217309Snwhitehorn + add _FILE_OFFSET_BITS definition in CF_LARGEFILE configure macro. 568217309Snwhitehorn 569217309Snwhitehorn2007/05/28 570217309Snwhitehorn + revise changes needed to make textbox's searchbox handle ncurses 571217309Snwhitehorn resizing events, e.g., by handling the ERR in that code rather than 572217309Snwhitehorn in dlg_getc() (Debian #423732). 573217309Snwhitehorn 574217309Snwhitehorn2007/05/14 575217309Snwhitehorn + supply a repaint_text() call in tailbox.c which was bypassed because 576217309Snwhitehorn dlg_getc() now retries on ERR (Debian #423732, cf: 2007/02/27). 577217309Snwhitehorn + modify dlg_getc() to fix regression in 2007/02/27 for use of 578217309Snwhitehorn timeouts, broken by fixes to allow resizing of textbox (patch by 579217309Snwhitehorn Arnaud Fontaine, Debian #418905). 580217309Snwhitehorn + modify dlg_getc() to fix regression in use of TAB for traversal of 581217309Snwhitehorn tailboxbg widgets due to changes for user-definable key bindings 582217309Snwhitehorn (Debian #418917, cf: 2005/12/07). 583217309Snwhitehorn 584217309Snwhitehorn2007/04/09 585217309Snwhitehorn + add case in dlg_getc() to handle tab for traversing between widgets 586217309Snwhitehorn as in the samples/tailboxbg1 script. Normally the key binding 587217309Snwhitehorn overrides, except for the special case where multiple widgets are 588217309Snwhitehorn available. 589217309Snwhitehorn + add configure --with-libtool-opts, which passes its value to the 590217309Snwhitehorn library creation and linkage passes, e.g., 591217309Snwhitehorn --with-libtool-opts=-static 592217309Snwhitehorn to force the result to be static libraries (prompted by a related 593217309Snwhitehorn request by Santiago Vila). 594217309Snwhitehorn > several fixes based on Coverity scan: 595217309Snwhitehorn + fix memory leak in timebox, calendar widgets if the widget cannot 596217309Snwhitehorn be created. 597217309Snwhitehorn + fix memory leak in dlg_key.c if a user binding's storage cannot 598217309Snwhitehorn be allocated. 599217309Snwhitehorn + fix improperly delinked entry in dlg_del_window(). 600217309Snwhitehorn 601217309Snwhitehorn2007/03/25 602217309Snwhitehorn + improve mkdirs.sh to ignore error from mkdir if the target directory 603217309Snwhitehorn happens to already exist (suggested by Harald van Dijk). 604217309Snwhitehorn + amend documentation for --gauge to reflect longstanding quirk which 605217309Snwhitehorn allows it to read percentage from the first line after an "XXX" 606217309Snwhitehorn (Debian #415596). 607217309Snwhitehorn + fix makefile dependency so "configure && make install-lib" works. 608217309Snwhitehorn + fix resizing of msgbox; the message was not repainted (Debian 609217309Snwhitehorn #415022, patch by Brian Rolfe). 610217309Snwhitehorn + fix typo in makefile LIB_OBJECT symbol from 2007/02/27 changes. 611217309Snwhitehorn + improve CF_MBSTATE_T by including stdio.h, needed on Tru64 to make 612217309Snwhitehorn the test-compile work. 613217309Snwhitehorn + change makefile to install dialog.3 as part of install-lib rather 614217309Snwhitehorn than install-man (report by Thomas Klausner). 615217309Snwhitehorn + use $(INSTALL_SCRIPT) for installing dialog-config (report by 616217309Snwhitehorn Santiago Vila). 617217309Snwhitehorn 618251843Sbapt2007/02/27 - release 1.1 619251843Sbapt + mark as "dialog 1.1" 620217309Snwhitehorn + add dialog-config script, which provides applications with compile- 621217309Snwhitehorn and link-information for using the dialog library. 622217309Snwhitehorn + move calls to dlg_trim_string() out of loop in dialog.c, so each 623217309Snwhitehorn string is trimmed once (report by Ivanov Makcim). 624217309Snwhitehorn + modify textbox.c to allow resizing while the search box is presented. 625217309Snwhitehorn This relies on bug-fix in ncurses 5.6 20070224. 626217309Snwhitehorn + use dgettext() rather than gettext() to allow libdialog to use the 627217309Snwhitehorn messages installed for dialog (patch by Vajna Miklos). 628217309Snwhitehorn + modify inputbox to position the cursor initially at the end of any 629217309Snwhitehorn initial-text (request by Klaus Knopper). 630217309Snwhitehorn + add configure --with-valgrind for testing. 631217309Snwhitehorn + add --trace option, for debugging. 632217309Snwhitehorn + add --ascii-lines and --no-lines options to control the way the 633217309Snwhitehorn line-drawing characters are rendered (request by Klaus Knopper). 634217309Snwhitehorn + add --keep-tite option, to override suppression of smcup/rmcup 635217309Snwhitehorn (termcap ti/te) strings which would switch to xterm's alternate 636217309Snwhitehorn screen (Debian #380665). 637217309Snwhitehorn + modify fselect/dselect to use space-character as a completion 638217309Snwhitehorn operator like tab in shells (patch by Yoram Bar Haim). 639217309Snwhitehorn + remove a redundant chunk from checklist.c which reported status a 640217309Snwhitehorn second time if the help-button was pressed but no item-help option 641217309Snwhitehorn was in effect (Andre C Barros). 642217309Snwhitehorn + fix return-status from "dialog --pause" (Debian #409254). 643217309Snwhitehorn + add --mixedform and --mixedgauge dialogs based on patch from 644217309Snwhitehorn Kiran Cherupally. 645217309Snwhitehorn + add some notes on compatibility to the manpage. 646217309Snwhitehorn + add editbox dialog (compatible with Xdialog, Debian #368478). 647217309Snwhitehorn + add dselect dialog (compatible with Xdialog). 648217309Snwhitehorn + remove an incorrect initialization of .text_flen from 2005/12/07 649217309Snwhitehorn changes, which made all fields in a form editable (Debian #404045). 650217309Snwhitehorn + report error and exit if a filename given for the --file option 651217309Snwhitehorn cannot be opened (report by "Dog Walker"). 652217309Snwhitehorn + make --program-prefix, etc., work in configure script, e.g., to make 653217309Snwhitehorn program install as "cdialog". This does not alter the library name. 654217309Snwhitehorn + add install-bin, install-man (and uninstall) rules to makefile. 655220749Snwhitehorn + updates for configure script macros (originally vile, lynx, xterm): 656217309Snwhitehorn AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, CF_CURSES_CPPFLAGS, 657217309Snwhitehorn CF_CURSES_LIBS, CF_INCLUDE_DIRS, CF_LARGEFILE, CF_MAKEFLAGS, 658217309Snwhitehorn CF_PATH_SYNTAX, CF_SUBDIR_PATH, CF_SUBST, CF_WITH_DBMALLOC, 659217309Snwhitehorn CF_WITH_DMALLOC, CF_WITH_LIBTOOL and CF_XOPEN_SOURCE. 660251843Sbapt + update config.guess, config.sub 661217309Snwhitehorn > adapted fixes from SuSE package (Werner Fink): 662217309Snwhitehorn + add some limit-checks in dlg_draw_shadow(). 663217309Snwhitehorn + make shadows resizable, using new dlg_move_window() in msgbox.c 664217309Snwhitehorn and yesno.c 665217309Snwhitehorn + add dialog_state.input, use this in end_dialog() to decide whether 666217309Snwhitehorn to close pipe inputs and call _exit(), or simply call exit(). 667217309Snwhitehorn + modify dlg_ctl_size() to check if the reason for failure is because 668217309Snwhitehorn shadows were used; retry in that case without shadows. 669217309Snwhitehorn + add signal catcher for SIGSEGV. 670217309Snwhitehorn 671217309Snwhitehorn2006/02/21 672217309Snwhitehorn + fix logic in split-out dlg_menu() to separate inputmenu and menu 673217309Snwhitehorn handling (report by Auke Kok). 674217309Snwhitehorn 675217309Snwhitehorn2006/01/26 676217309Snwhitehorn + fix fselect.c to compile properly with Intel compiler and largefile 677217309Snwhitehorn option. 678217309Snwhitehorn + improve configure script checks for curses headers to work around 679217309Snwhitehorn breakage in some packages, e.g., cygwin. 680217309Snwhitehorn + amend correction to menubox, fixes normal menus (Debian #349969). 681217309Snwhitehorn 682217309Snwhitehorn2006/01/19 683217309Snwhitehorn + completed dialog.3 manpage 684217309Snwhitehorn + modify configure script option --with-gauge to cover all flavors of 685217309Snwhitehorn the gauge (gauge, pause, progressbox). 686217309Snwhitehorn + add progressbox widget, a hybrid of gauge and tailbox (Reznic Valery). 687217309Snwhitehorn + fix a comparison in checklist.c to avoid unneeded arrows when the 688217309Snwhitehorn list happens to fit in the window (patch by Peter Postma). 689217309Snwhitehorn + correct wrapping computation in print_line() from 2005/11/07 changes 690217309Snwhitehorn (report by Barry Kauler). 691217309Snwhitehorn + update sv.po (comments only). 692217309Snwhitehorn http://www.iro.umontreal.ca/translation/maint/dialog/ 693217309Snwhitehorn + correct logic that passes the callback for menubox to do inputmenu 694217309Snwhitehorn operations from 2005/12/7 changes (report by Reznic Valery). 695217309Snwhitehorn 696217309Snwhitehorn2006/01/01 697217309Snwhitehorn + add a null-pointer check in dlg_register_buttons(), needed for the 698217309Snwhitehorn tailboxbg (Debian #345524). 699217309Snwhitehorn + fix a few memory leaks reported by valgrind. 700217309Snwhitehorn 701217309Snwhitehorn2005/12/19 702217309Snwhitehorn + correct return-values of new functions dlg_default_listitem() and 703217309Snwhitehorn dlg_default_formitem() (Debian #344002). 704217309Snwhitehorn + add Swedish translation (Debian #343303, by Daniel Nylander) 705217309Snwhitehorn + begin function-summaries in dialog.3 706217309Snwhitehorn + update config.guess, config.sub 707217309Snwhitehorn 708217309Snwhitehorn2005/12/07 709217309Snwhitehorn + change license to LGPL. 710217309Snwhitehorn + change naming convention in dlg_colors.h to make it easier to read, 711217309Snwhitehorn and incidentally remove the last chunk of code preventing relicense. 712217309Snwhitehorn + add --passwordform (request by Reznic Valery). 713217309Snwhitehorn + modify pause.c, msgbox.c to work with --help-button. 714217309Snwhitehorn + modify formbox.c, inputbox.c, textbox.c, yesno.c to work with extra 715217309Snwhitehorn button (adapted from Reznic Valery patch). 716217309Snwhitehorn + modify dlg_exit_label(), dlg_yes_labels() and dlg_ok_label() to allow 717217309Snwhitehorn help-button (prompted by Reznic Valery patch). 718217309Snwhitehorn + add zh_CN.po file from 719217309Snwhitehorn http://www.iro.umontreal.ca/translation/maint/dialog/ 720217309Snwhitehorn + provide alternate interfaces for dialog_checklist(), dialog_menu() 721217309Snwhitehorn and dialog_form(): dlg_checklist(), dlg_menu() and dlg_form() 722217309Snwhitehorn (discussion with Michael Gebetsroither). 723217309Snwhitehorn + add/use dlg_result_key() to allow binding function keys to the 724217309Snwhitehorn buttons. 725217309Snwhitehorn + implement user-definable key bindings in the rc-file. 726217309Snwhitehorn + modify inline cases for KEY_xxx values to use binding tables in new 727217309Snwhitehorn module dlg_keys.c 728217309Snwhitehorn + add several DIALOG_STATE items to the rc file: aspect, 729217309Snwhitehorn separate_widget, tab_len and visit_links 730217309Snwhitehorn + add a tab-adjustment to dlg_print_text() to improve solution from 731217309Snwhitehorn 2005/10/30, e.g., in the samples/form* scripts. 732217309Snwhitehorn + fix an off-by-one which made mouse-selection not work for menu items 733217309Snwhitehorn past the first page (GenToo #112024, patch by Harald van Dijk). 734217309Snwhitehorn 735217309Snwhitehorn2005/11/07 736217309Snwhitehorn + extend dlg_add_result() to allow caller to pass a null pointer 737217309Snwhitehorn for dialog_vars.input_result (Debian #336986). 738217309Snwhitehorn + correct length used for text portion of radio/checkboxes (report by 739217309Snwhitehorn Valentin Stoykov). 740217309Snwhitehorn + modify msgbox, textbox and center_label() to work properly for 741217309Snwhitehorn LANG=bg_BG.utf8 examples by Valentin Stoykov. 742217309Snwhitehorn + modify use of freopen() to work with opaque FILE type on DragonFly 743217309Snwhitehorn (report by Jeremy C Reed). 744217309Snwhitehorn + modify print_line() to compute columns, use that for the call to 745217309Snwhitehorn dlg_print_line(). Fix a few places where strlen() was used instead 746217309Snwhitehorn of dlg_count_columns() (reports by Valentin Stoykov). 747217309Snwhitehorn 748217309Snwhitehorn2005/10/30 749217309Snwhitehorn + reviewed changes since beginning development in 1999, decided that 750217309Snwhitehorn there are no appreciable portions of original code remaining. 751217309Snwhitehorn Marked sources to correspond. 752217309Snwhitehorn + improve cache performance for inputstr.c using tsearch() rather than 753217309Snwhitehorn a linked-list search (Debian #294853). 754217309Snwhitehorn + remove a special case for darwin in CF_XOPEN_SOURCE configure macro. 755217309Snwhitehorn + add ms.po file from 756217309Snwhitehorn http://www.iro.umontreal.ca/translation/maint/dialog/ 757217309Snwhitehorn + remove an assignment that caused the cursor to appear initially on a 758217309Snwhitehorn form field rather than button (Debian #333506). 759217309Snwhitehorn + modify buttons.c to count columns rather than bytes, fixing case 760217309Snwhitehorn where buttons were laid out incorrectly (report by Valentin Stoykov). 761217309Snwhitehorn + change dlg_print_text() to count columns rather than bytes, fixing 762217309Snwhitehorn case where fewer columns were displayed in menu than expected 763217309Snwhitehorn (report by Valentin Stoykov). 764217309Snwhitehorn 765217309Snwhitehorn2005/10/05 766217309Snwhitehorn + improve fix for dlg_does_output(), eliminating redundant leading 767217309Snwhitehorn separator. 768217309Snwhitehorn + fill background color for item-help text (report by Peter Postma). 769217309Snwhitehorn + correct interaction between --separate-output and --output-separator 770217309Snwhitehorn broken in 2005/09/11 fix for Debian #326918 (Debian #331440). 771217309Snwhitehorn + update config.guess, config.sub 772217309Snwhitehorn 773217309Snwhitehorn2005/09/11 774217309Snwhitehorn + undo doubled adjustment for left/right margins when wrapping text 775217309Snwhitehorn for msgbox, gauge and pause (report by Xyba). 776217309Snwhitehorn + correct position of scrolled text in formbox broken by 2004/12/19 777217309Snwhitehorn changes (report by Konrad Jelen). 778217309Snwhitehorn + call dlg_does_output() from dlg_add_result(), ensuring that 779217309Snwhitehorn separators are used when combining widgets such as formbox (report by 780217309Snwhitehorn John Suykerbuyk). 781217309Snwhitehorn + fix marker in textbox.c to make it disappear at the top of the file 782217309Snwhitehorn (report by Patrick J. Volkerding). 783217309Snwhitehorn + fix marker shown in arrows.c for checklists, etc., which was "(+)" 784220749Snwhitehorn where it should have been "(-)" (report/patch by Patrick J. 785217309Snwhitehorn Volkerding). 786217309Snwhitehorn + fix --input-fd (changes in glibc since 2003 made dialog hang on exit 787217309Snwhitehorn due to the way dialog updated stdin). 788217309Snwhitehorn + restore default value (a tab) for --separator or --separate-widget 789217309Snwhitehorn lost in 2003/11/26 changes (Debian #326918). 790217309Snwhitehorn + make several widgets handle SIGWINCH (calendar, checklist, formbox, 791217309Snwhitehorn fselect, inputbox, menubox, pause, tailbox, textbox, timebox). Only 792217309Snwhitehorn msgbox and yesno had been done before. Note that some still have 793217309Snwhitehorn fixed geometry requirements, so they cannot be shrunk below a given 794217309Snwhitehorn threshold. Also, these changes do not address traversal, e.g., for 795217309Snwhitehorn tailboxbg. 796217309Snwhitehorn + make gauge widget handle SIGWINCH with ncurses (Debian #305705). 797217309Snwhitehorn + add configure option to control whether largefile support is 798217309Snwhitehorn compiled-in (Debian #298882). 799217309Snwhitehorn + update eu.po (Debian #312622, patch by Piarres Egana). 800217309Snwhitehorn + add/update po files from 801217309Snwhitehorn http://www.iro.umontreal.ca/translation/maint/dialog/ 802217309Snwhitehorn fi.po, rw.po, sr.po, tr.po, zh_TW.po 803217309Snwhitehorn + fixes for configure script: 804217309Snwhitehorn + improve script for determining gcc version 805217309Snwhitehorn + improve checks for Intel compiler and related warning options 806217309Snwhitehorn + improve checks for defining _XOPEN_SOURCE (or alternatives) and 807217309Snwhitehorn _POSIX_C_SOURCE 808217309Snwhitehorn + update config.guess, config.sub 809217309Snwhitehorn 810217309Snwhitehorn2005/03/06 811217309Snwhitehorn + add/update po files from 812217309Snwhitehorn http://www.iro.umontreal.ca/translation/maint/dialog/ 813217309Snwhitehorn ga.po, it.po 814217309Snwhitehorn + revert last change for da.po; it was from an older version (report by 815217309Snwhitehorn Morten Brix Pedersen). 816217309Snwhitehorn 817217309Snwhitehorn2005/02/06 818217309Snwhitehorn + modify makefile.in so --disable-echo applies to libtool builds. 819217309Snwhitehorn + corrected malloc size used for editable fields in formbox widget to 820217309Snwhitehorn match the function which updates the corresponding buffer. 821217309Snwhitehorn + modify formbox widget's use of flen to allow negative values to be 822217309Snwhitehorn used to limit the length of the displayed field. 823217309Snwhitehorn + improve description in manpage of output from formbox widget 824217309Snwhitehorn (Debian #292418). 825217309Snwhitehorn + modify formbox widget to allow fields with flen==0 to display 826217309Snwhitehorn (Debian #292417). 827217309Snwhitehorn + improved configure macros CF_POSIX_C_SOURCE and CF_XOPEN_SOURCE, to 828217309Snwhitehorn avoid redefinition warnings on cygwin. 829217309Snwhitehorn + fix a typo in inputmenu-stdout found via "sh -n" (report by Steve 830217309Snwhitehorn Grubb). 831217309Snwhitehorn + add/update po files from 832217309Snwhitehorn http://www.iro.umontreal.ca/translation/maint/dialog/ 833217309Snwhitehorn ca.po, da.po, hu.po, nl.po, rm.po, ro.po, vi.po 834217309Snwhitehorn 835217309Snwhitehorn2005/01/16 836217309Snwhitehorn + add --args option to help with debugging scripts. 837217309Snwhitehorn + adapted some new po files from Debian package for whiptail: ar.po, 838217309Snwhitehorn bg.po, gl.po, hi.po, hr.po, mg.po, mk.po, ro.po, sq.po and zh_TW.po 839217309Snwhitehorn + update da.po (Morten Brix Pedersen). 840217309Snwhitehorn + add configure check for Intel 8.0 compiler, to set appropriate 841217309Snwhitehorn warning options. 842217309Snwhitehorn + update config.guess, config.sub 843217309Snwhitehorn 844217309Snwhitehorn2004/12/22 845217309Snwhitehorn + correct a typo in 2004/12/19 changes which caused width of multibyte 846217309Snwhitehorn characters to be incorrectly computed in some locales. 847217309Snwhitehorn + modify --version and --help options to write consistently to the 848217309Snwhitehorn standard output (report by Santiago Vila). 849217309Snwhitehorn + modify tailboxbg by resetting tty modes at the point where it forks a 850217309Snwhitehorn process to update the screen, rather than waiting until that process 851217309Snwhitehorn exits. This improves user feedback by making it apparent that dialog 852251843Sbapt is no longer processing input after that point (Redhat #142538). 853217309Snwhitehorn + minor updates to some .po files using Babel Fish, comparing with lynx. 854217309Snwhitehorn + update es.po (Santiago Vila). 855217309Snwhitehorn + work around bug in NetBSD 1.6 curses which seems to be confused by 856217309Snwhitehorn reusing color pairs with different video attributes. The problem 857217309Snwhitehorn does not appear in NetBSD 2.0 curses (but its headers do not provide 858217309Snwhitehorn version info, so color-caching is not available for that 859217309Snwhitehorn configuration). 860217309Snwhitehorn + modify pause and gauge widgets to ensure that reverse-video progress 861217309Snwhitehorn bar is visible when the background is reversed, e.g., using the 862217309Snwhitehorn default non-color attributes. 863217309Snwhitehorn + use chtype rather than attr_t, to build with old Solaris curses, 864217309Snwhitehorn used in save/restore operation from 2004/09/20. 865217309Snwhitehorn 866217309Snwhitehorn2004/12/19 867217309Snwhitehorn + add pause-widget (patch by Yura Kalinichenko). 868217309Snwhitehorn + modify exit-code returned on selecting the "Help"-button when the 869217309Snwhitehorn --item-help option is given. Previously this returned the same code 870217309Snwhitehorn as "OK", since it combines output for "OK" with the help status. It 871217309Snwhitehorn now returns the help-code, but this can be overridden by setting the 872217309Snwhitehorn environment variable $DIALOG_ITEM_HELP (reports by Erika Pacholleck 873217309Snwhitehorn and Sebastian Muesch). 874217309Snwhitehorn + modify formbox widget so input-length is not limited to field-length 875217309Snwhitehorn (report by David Liebermann). 876217309Snwhitehorn + localize the label on the search box for textbox widget (report by 877217309Snwhitehorn Erika Pacholleck). 878217309Snwhitehorn + correct usage message detail for fselect, which listed an extra 879217309Snwhitehorn parameter (Debian #284008). 880217309Snwhitehorn + add include for <sys/select.h> in ui_getc.c to build with QNX 4.25 881217309Snwhitehorn using Watcom 10.6 (patch by Len Meakin). 882217309Snwhitehorn + modify behavior when no locale (or POSIX locale) is set to allow 883217309Snwhitehorn legacy interpretation of Latin-1 character set (Debian #284795). 884217309Snwhitehorn 885217309Snwhitehorn2004/11/18 886217309Snwhitehorn + correct computation of column width for menubox/checkbox tags, for 887217309Snwhitehorn multicolumn characters, e.g., the menubox-utf8 example. 888217309Snwhitehorn + correct calls to wbkgdset(), which set the background attribute but 889217309Snwhitehorn not the corresponding character (ncurses uses blank if none is given). 890217309Snwhitehorn + improve configure script check for _XOPEN_SOURCE and _POSIX_C_SOURCE. 891217309Snwhitehorn + improved limit-computation in show_message() to allow for scrolling 892217309Snwhitehorn very long messages. 893217309Snwhitehorn + adjust scrolling logic in msgbox to account for the one-line offset 894217309Snwhitehorn used by the logic which wraps text in a box, thus avoiding leaving 895217309Snwhitehorn an extra blank line (report by Maxim Sobolev). 896217309Snwhitehorn 897217309Snwhitehorn2004/09/20 898217309Snwhitehorn + add samples/whiptail.rc 899217309Snwhitehorn + add samples/dialog.py (noting that a later version of this exists 900217309Snwhitehorn as pythondialog, but this is relatively self-contained). Modified 901217309Snwhitehorn the script to accept the $DIALOG environment variable like the other 902217309Snwhitehorn sample scripts, to specify the path of the program to use. 903217309Snwhitehorn + modify the install rule for header-files so the autoconf names in 904217309Snwhitehorn dlg_config.h (and corresponding usage in dialog.h, etc), are altered 905217309Snwhitehorn from "HAVE_xxx" to "DLG_HAVE_xxx", etc. 906217309Snwhitehorn + add a check for getenv("HOME") in rc.c 907217309Snwhitehorn + add a call to end_dialog() in signal_handler for tailboxbg (from 908217309Snwhitehorn patch by Werner Fink). 909217309Snwhitehorn + correct initialization in checklist and radiobox for --default-item, 910217309Snwhitehorn scrolling as needed. 911217309Snwhitehorn + modify --visit-items option so that it puts the cursor initially on 912217309Snwhitehorn the list (in menubox, checklist and radiobox), accepts abbreviations 913217309Snwhitehorn for the buttons when the cursor is on the button-row, and otherwise 914217309Snwhitehorn (when --visit-items is given) abbreviations apply only to the list 915217309Snwhitehorn (report by Erika Pacholleck). 916217309Snwhitehorn + modify a few widgets (inputbox, textbox, yesno) to beep on unexpected 917217309Snwhitehorn input. 918217309Snwhitehorn + modify some msgbox widget to accept abbreviations of its button 919217309Snwhitehorn label, for consistency with other widgets (request by Erika 920217309Snwhitehorn Pacholleck). 921217309Snwhitehorn + corrected logic of dlg_char_to_button(), making it check only the 922217309Snwhitehorn first uppercase letter in each button label rather than all uppercase 923217309Snwhitehorn letters (report by Erika Pacholleck, cf: 2003/09/10). 924217309Snwhitehorn + improved description of --clear and --keep-window options (adapted 925217309Snwhitehorn from Erika Pacholleck). 926217309Snwhitehorn + move discussion of --beep and --beep-signal options to Obsolete 927217309Snwhitehorn Options section of manpage, remove these from the help-message 928217309Snwhitehorn (report by Erika Pacholleck). 929217309Snwhitehorn + bracket extern's in dialog.h with C++ extern "C" declaration, in case 930217309Snwhitehorn the library is used from a C++ application. 931217309Snwhitehorn + modify inputmenu examples to allow ESC to cancel the script. 932217309Snwhitehorn + modify inputmenu widget to cancel edit on a TAB or ESC. 933217309Snwhitehorn + modify inputmenu widget to use the same color scheme for the editable 934217309Snwhitehorn text as the inputbox widget. 935217309Snwhitehorn + modify samples/killall to work around differences in "cut" versions. 936217309Snwhitehorn + use the color-caching from the \Z logic when loading the ".rc" file, 937217309Snwhitehorn thereby reducing the number of color pairs required, and making it 938217309Snwhitehorn less likely that deriving color pairs for drawing arrows on a given 939217309Snwhitehorn background will run out of colors. 940217309Snwhitehorn + save/restore window attributes in dlg_draw_arrows() and similar 941217309Snwhitehorn functions, to allow widgets to draw arrows using the widget's 942217309Snwhitehorn background rather than a common/fixed value (request by Erika 943217309Snwhitehorn Pacholleck). 944217309Snwhitehorn + modify textbox widget so the down-arrow will be hidden when at the 945217309Snwhitehorn end of the file. (Modifying the up-arrow to be hidden is harder - 946217309Snwhitehorn will do this when implementing scrollbars). 947217309Snwhitehorn + correct off-by-one in fselect.c which left down-arrows showing at 948217309Snwhitehorn the bottom of directory- and file-lists (report by Erika Pacholleck). 949217309Snwhitehorn + improve display of percentages by omitting blanks where lines should 950217309Snwhitehorn be shown. 951217309Snwhitehorn + modify logic for \Z escapes to make those that set video attributes 952217309Snwhitehorn not clear the colors (report by Erika Pacholleck). 953217309Snwhitehorn + modify logic for \Z escapes to allow foreground and background 954217309Snwhitehorn colors to be the same, provided that bold attribute is set. 955217309Snwhitehorn Also improved the logic for choosing a background color when the 956217309Snwhitehorn foreground and background are the same (report by Erika Pacholleck). 957224014Snwhitehorn + updated configure script macro CF_XOPEN_SOURCE, ensuring that the 958217309Snwhitehorn _POSIX_C_SOURCE value is defined with a specific value (bug report 959217309Snwhitehorn originally for lynx). 960217309Snwhitehorn + fix configure script so that po/makefile is generated properly when 961217309Snwhitehorn the configure --srcdir --enable-nls options are used. 962217309Snwhitehorn + modify makefile.in to allow build/install from another directory, 963217309Snwhitehorn i.e., using configure --srcdir (patch by Mike Castle). 964217309Snwhitehorn + updated da.po (Debian #262587, Morten Brix Pedersen). 965217309Snwhitehorn + modify some sample scripts to avoid using grave quotes nested within 966217309Snwhitehorn double quotes with multiple file redirection, which does not work 967217309Snwhitehorn with Solaris /bin/sh (report/analysis by Eric Haller). 968217309Snwhitehorn + check for end of string immediately after a \Z escape to avoid 969217309Snwhitehorn displaying the null terminator as a ^@ (report by Erika Pacholleck). 970217309Snwhitehorn > patches by Erika Pacholleck: 971217309Snwhitehorn + modify calendar.c, fselect.c and timebox.c to use color scheme like 972217309Snwhitehorn other lists, using menubox colors rather than dialog colors. 973217309Snwhitehorn + correct charset for po/de.po, translate messages for "Help" and 974217309Snwhitehorn "Rename". 975217309Snwhitehorn + omit parentheses around percentage in textbox.c 976217309Snwhitehorn + correct a few mismatched attributes, e.g., searchbox_attr in textbox.c, 977217309Snwhitehorn percentage in msgbox.c, 978217309Snwhitehorn 979217309Snwhitehorn 980217309Snwhitehorn2004/07/31 981217309Snwhitehorn + add test scripts to cover zero-width column case. 982217309Snwhitehorn + remove limit checks from checklist.c and menubox.c (cf: 2004/07/28), 983217309Snwhitehorn since some scripts use zero-width columns (Debian #262411 and report 984217309Snwhitehorn by Kyle Sallee). 985217309Snwhitehorn 986217309Snwhitehorn2004/07/29 987217309Snwhitehorn + modify msgbox.c to only reserve space for percentage shown as part 988217309Snwhitehorn of scrollable text for the msgbox widget. This makes infobox look 989217309Snwhitehorn as it did before 2004/06/06 changes (report by Vinesh Christopher) 990217309Snwhitehorn 991217309Snwhitehorn2004/07/28 992217309Snwhitehorn + remove redundant calls to wtimeout() from widgets since wtimeout() 993217309Snwhitehorn is properly called from ui_getc() where it is controlled by the 994217309Snwhitehorn --timeout option (bug report by juanjo). 995217309Snwhitehorn + add limit checks in checklist.c and menubox.c for very narrow screens 996217309Snwhitehorn (prompted by Steve Grubb patch). 997217309Snwhitehorn + initialize step in dlg_draw_buttons() in case it is used to draw 998217309Snwhitehorn a vertical list of buttons (prompted by Steve Grubb patch). 999217309Snwhitehorn > fixes by Steve Grubb: 1000217309Snwhitehorn + correct logic in checklist.c (cf: 2003/11/26 changes) which turned 1001217309Snwhitehorn quoting on unnecessarily for radiobox, breaking some old scripts. 1002217309Snwhitehorn + increase size of array in dlg_ok_labels() to avoid overrun if extra 1003217309Snwhitehorn and help buttons are used (cf: 2002/06/12 changes). 1004217309Snwhitehorn + initialize fkey variable in menubox.c and textbox.c (cf: 2003/07/12). 1005217309Snwhitehorn 1006217309Snwhitehorn2004/07/21 - release 1.0 1007217309Snwhitehorn + minor updates for configure script, i.e., CF_XOPEN_SOURCE, 1008217309Snwhitehorn CF_NCURSES_LIBS macros. 1009217309Snwhitehorn + update config.guess, config.sub 1010217309Snwhitehorn + add nl.po (Jacques Weewer). 1011217309Snwhitehorn 1012217309Snwhitehorn2004/06/06 1013217309Snwhitehorn + add --visit-items option, which allows the user to tab to the item 1014217309Snwhitehorn list in the checklist/radiobox and menubox widgets (request by 1015217309Snwhitehorn Ari Moisio). 1016217309Snwhitehorn + use wide-character line-drawing for up/down arrows when configured 1017217309Snwhitehorn for wide-characters, gives better results with uxterm. 1018217309Snwhitehorn + limit the number of times a --file option can be used, to prevent 1019217309Snwhitehorn runaway recursion if a --file option is embedded within a file which 1020217309Snwhitehorn is included. 1021217309Snwhitehorn + improve discussion of wrapping in the manpage (Debian #251937). 1022217309Snwhitehorn + modify msgbox to allow it to scroll vertically like textbox (Debian 1023217309Snwhitehorn #233276). This only works with ncurses. 1024217309Snwhitehorn + implement $DIALOGVARS environment variable to apply common options to 1025217309Snwhitehorn dialog_vars when it is reset before processing other common options. 1026217309Snwhitehorn + add --single-quoted option to control whether output is double-quoted 1027217309Snwhitehorn with '"' or single-quoted with single-quotes. 1028217309Snwhitehorn + revert the default quoting behavior of checklists to use 1029217309Snwhitehorn double-quotes (report by Mark K Post regarding Slackware scripts). 1030217309Snwhitehorn + add eu.po (Basque) (Piarres Beobide Egaa). 1031217309Snwhitehorn + add ca.po (Catalan) (Jordi Mallach). 1032217309Snwhitehorn 1033217309Snwhitehorn2004/04/21 1034217309Snwhitehorn + add a call to flushinp() to init_dialog(), to discard any typeahead 1035217309Snwhitehorn before dialog is invoked (Debian #244746). 1036217309Snwhitehorn + correct dlg_match_char() function, which was broken during rewrite 1037217309Snwhitehorn to support wide-characters (Debian #244777). 1038251843Sbapt + improved ru.po, uses UTF-8 charset (Leonid Kanter, Redhat #119200). 1039217309Snwhitehorn + correct position of shadow drawn for dialogs, which appeared to work 1040217309Snwhitehorn for most versions of curses (other than NetBSD) but would have been 1041217309Snwhitehorn visible for certain color schemes (discussion with Julian Coleman). 1042217309Snwhitehorn + correct loop-exit in longest_word() (Tomas Heredia, forwarded by 1043217309Snwhitehorn Santiago Vila). 1044217309Snwhitehorn + add cy.po (Welsh) (Dafydd Harries). 1045217309Snwhitehorn 1046217309Snwhitehorn2004/03/16 1047217309Snwhitehorn + modify quoting of results to use single-quote rather than double 1048217309Snwhitehorn quote, and ensure that results containing a quote or backslash 1049217309Snwhitehorn character are escaped (report by Florent Rougon) 1050217309Snwhitehorn + remove an incorrect comparison from checklist which made cursor 1051217309Snwhitehorn stick on the last line, from 2004/03/01 changes. 1052217309Snwhitehorn 1053217309Snwhitehorn2004/03/14 1054217309Snwhitehorn + add a dependency to install library if "--with-libtool" is used. 1055217309Snwhitehorn + add manpage for the library. 1056217309Snwhitehorn + add "--file" 1057217309Snwhitehorn + modify formbox.c to support "--help-status" like menubox. 1058217309Snwhitehorn + modify checklist.c to add item name to the "HELP" string when 1059217309Snwhitehorn "--help-button" is used and no --item-help option is given (Debian 1060217309Snwhitehorn #236841, report/patch by Jorg Sommer). 1061217309Snwhitehorn + rename colors.h to dlg_colors.h, install that when the library is 1062217309Snwhitehorn installed. 1063217309Snwhitehorn + add copyright notice to usage ("--help") message. 1064217309Snwhitehorn + correct a missing bounds check for mouse-clicks in menubox (prompted 1065217309Snwhitehorn by Debian #233044). 1066217309Snwhitehorn + updated several configure-script macros: AM_GNU_GETTEXT, 1067217309Snwhitehorn AM_WITH_NLS, CF_OUR_MESSAGES, CF_PROG_EXT, CF_WITH_DBMALLOC, 1068217309Snwhitehorn CF_WITH_DMALLOC, CF_WITH_LIBTOOL, CF_XOPEN_SOURCE. 1069217309Snwhitehorn 1070217309Snwhitehorn2004/03/01 1071217309Snwhitehorn + improve layout of calendar widget to allow for very long button 1072217309Snwhitehorn labels (report by Santiago Vila). 1073217309Snwhitehorn + correct logic for $DIALOG_TTY, broken in 2003/11/30. The environment 1074217309Snwhitehorn variable must evaluate to a nonzero integer (report by Florent 1075217309Snwhitehorn Rougon). 1076217309Snwhitehorn + document interaction between "--default-no" and "--no-cancel" options 1077217309Snwhitehorn in manpage (Debian #223488). 1078217309Snwhitehorn + change configure script to use autoconf 2.52+patch, to work around 1079217309Snwhitehorn issues with Estonian locale (report by Seemant Kulleen). 1080217309Snwhitehorn + add uk.po (Ukrainian) (Debian #232441). 1081217309Snwhitehorn + make --default-item apply to checklist widget (Debian #225255). 1082217309Snwhitehorn + correct a missing check for --item-help when --help-status was given 1083217309Snwhitehorn for checklist (Debian #232921). 1084217309Snwhitehorn + correct a missing bounds check for mouse-clicks in checklist (Debian 1085217309Snwhitehorn #233044). 1086217309Snwhitehorn + update config.guess, config.sub 1087217309Snwhitehorn 1088217309Snwhitehorn2003/12/07 1089217309Snwhitehorn + correct infinite loop in yesno widget when "--defaultno" option is 1090217309Snwhitehorn combined with "--no-cancel" (Debian #223077). 1091217309Snwhitehorn 1092217309Snwhitehorn2003/11/30 1093217309Snwhitehorn + suppress double-quotes added for "--help-status" option if the 1094217309Snwhitehorn string does not contain any special characters. 1095217309Snwhitehorn 1096217309Snwhitehorn2003/11/26 1097217309Snwhitehorn + add samples/sourcemage.rc, for comparison with slackware.rc 1098217309Snwhitehorn + add "--insecure" option (request by Sean Mathews (DrWho@f34r.com)). 1099217309Snwhitehorn + make "--defaultno" option apply to widgets which use OK/Cancel 1100217309Snwhitehorn buttons as well (Debian #209030). 1101217309Snwhitehorn + improve documentation of exit-codes for each widget in the manpage 1102217309Snwhitehorn (Debian #217926). 1103217309Snwhitehorn + add option "--keep-window" to suppress repainting after completing 1104217309Snwhitehorn each widget (request by Ingo van Lil). 1105217309Snwhitehorn + add options "--yes-label" and "--no-label" to allow override of the 1106217309Snwhitehorn "Yes" and "No" strings (request by Christoph Zwerschke). 1107217309Snwhitehorn + add option "--help-status" to allow script to restore a checklist 1108217309Snwhitehorn or radiolist after processing an item-help string (Debian #209031). 1109217309Snwhitehorn + modify width-calculation for non-formatted text to ensure it is 1110217309Snwhitehorn wide enough for the longest word in the text (patch by Andrew Gaul). 1111217309Snwhitehorn + modify dlg_index_columns() to count a newline as a single cell rather 1112217309Snwhitehorn than 2 for the normal curses case. This fixes an off-by-one for 1113217309Snwhitehorn the text-justification, shown in screen 2 of msgbox1 sample script. 1114217309Snwhitehorn + fix dlg_char_to_button(); 2003/09/10 changes made it incorrectly 1115217309Snwhitehorn ignore case of the labels. 1116217309Snwhitehorn + change calendar's use of arrow keys so they are (as before 2002/06/22) 1117217309Snwhitehorn interpreted within the day-grid as movement within that grid (request 1118217309Snwhitehorn by David Anders). 1119217309Snwhitehorn + correct missing initialization of last_getc variable in dlg_getc() 1120217309Snwhitehorn (report/analysis by Victor Wodecki). 1121217309Snwhitehorn + modify main program to make 1122217309Snwhitehorn dialog --no-shadow --print-maxsize 1123217309Snwhitehorn work. Normally dialog prints the screen size after subtracting the 1124217309Snwhitehorn area reserved for shadows, but some applications may need the actual 1125217309Snwhitehorn screen size (Debian #213424). 1126217309Snwhitehorn + several related changes (Debian #213425): 1127217309Snwhitehorn + separate the examples using "--stdout" and "--output-fd" from the 1128217309Snwhitehorn normal usage examples. 1129217309Snwhitehorn + add "--input-fd" option, provide a sample of its use. 1130217309Snwhitehorn + modify init_dialog() to use initscr() unless a "--stdout" option 1131217309Snwhitehorn was used. Some scripts relied on the coincidence that redirecting 1132217309Snwhitehorn standard output from dialog would "work". Before this change 1133217309Snwhitehorn init_dialog() assumed that redirected standard output was 1134217309Snwhitehorn synonymous with "--stdout" option (not the intended behavior). 1135217309Snwhitehorn + modify command-line parsing to look for "--stdout" and "--stderr" 1136217309Snwhitehorn options first, allowing only one. 1137217309Snwhitehorn + add a check for an environment variable $DIALOG_TTY which provides 1138217309Snwhitehorn the older behavior, i.e., try to open the terminal directly if 1139217309Snwhitehorn stdout is redirected. 1140217309Snwhitehorn + interface changes, to make libdialog simpler to use: 1141217309Snwhitehorn + rename all of the internal functions to begin with "dlg_", but 1142217309Snwhitehorn provide compatibility with older names if the application defines 1143217309Snwhitehorn __DIALOG_OLD_NAMES__. 1144217309Snwhitehorn + add dialog_version() function, and corresponding DIALOG_VERSION and 1145217309Snwhitehorn DIALOG_PATCHDATE definitions to dlg_config.h 1146217309Snwhitehorn + eliminate remaining global variables such as screen_initialized in 1147217309Snwhitehorn favor of dialog_state and dialog_vars. 1148217309Snwhitehorn + move some data such as dialog_vars.output to dialog_state, since 1149217309Snwhitehorn they are normally not reset between widgets. 1150217309Snwhitehorn + change interfaces of dialog_yesno() and dialog_checklist() to use 1151217309Snwhitehorn dialog_state.defaultno and dialog_vars.separate_output, making it 1152217309Snwhitehorn simpler and more consistent. 1153217309Snwhitehorn + improve configure script and related definitions: 1154217309Snwhitehorn + add "--with-libtool" option to provide shared library support by 1155217309Snwhitehorn libtool. 1156217309Snwhitehorn + rename generated "config.h" to "dlg_config.h", so it can be 1157217309Snwhitehorn installed without naming conflict. Added "dlg_config.h" to 1158217309Snwhitehorn install-lib rule. 1159217309Snwhitehorn + modify configure script and makefile to use EXEEXT and OBJEXT. 1160217309Snwhitehorn + add "--enable-widec" option to control whether wide-curses features 1161217309Snwhitehorn are compiled-in, rather than check for the existence of those in 1162217309Snwhitehorn the curses library. This allows building with HPUX curses, which 1163217309Snwhitehorn has abandoned legacy features while not quite supporting X/Open 1164217309Snwhitehorn curses. 1165217309Snwhitehorn + add configure check for getbegx(), etc., which are not provided on 1166217309Snwhitehorn all platforms. 1167217309Snwhitehorn + update config.guess, config.sub 1168217309Snwhitehorn 1169217309Snwhitehorn2003/10/02 1170217309Snwhitehorn + update hu.po (Arpad Biro). 1171217309Snwhitehorn + revert part of the 2003/08/18 change to "--stdout" option. Using 1172217309Snwhitehorn stderr for screen output does not work well on several platforms 1173217309Snwhitehorn since stdout's settings are affected (report by Kent Robotti). 1174217309Snwhitehorn 1175217309Snwhitehorn2003/09/24 1176217309Snwhitehorn + modify tailbox to allow it to display files with arbitrarily long 1177217309Snwhitehorn lines. 1178217309Snwhitehorn + fix an infinite loop in tailbox, broken when making interface changes 1179217309Snwhitehorn to dlg_getc() (report by Ingo van Lil). 1180217309Snwhitehorn + amend fix for "--and-widget" to not treat "---" as an option (report 1181217309Snwhitehorn by Kent Robotti). 1182217309Snwhitehorn + updated es.po (Santiago Vila). 1183217309Snwhitehorn 1184217309Snwhitehorn2003/09/10 1185217309Snwhitehorn + correct "RENAMED" result from inputmenu widget, which did not reset 1186217309Snwhitehorn the result buffer, and did not account for scroll-offset (Debian 1187217309Snwhitehorn #209336). 1188217309Snwhitehorn + modify button, menu and checklist logic that matches a character to 1189217309Snwhitehorn the beginning of a text field to support wide-characters (completes 1190217309Snwhitehorn Debian #195674). 1191217309Snwhitehorn + modify configure script to not use "head -1". 1192217309Snwhitehorn 1193217309Snwhitehorn2003/08/30 1194217309Snwhitehorn + modify searchbox popup in textbox widget so one can simply press 1195217309Snwhitehorn return on an empty input to cancel the popup. 1196217309Snwhitehorn + modify error reporting to avoid clearing screen if a problem is 1197217309Snwhitehorn found in the ".rc" file. 1198217309Snwhitehorn + add color/attribute combinations for form widget (based on patch by 1199217309Snwhitehorn Reznic Valery). 1200217309Snwhitehorn + combine rc-file colors, attribute- and color-tables to obtain a 1201217309Snwhitehorn single table for color values, which requires less work to add new 1202217309Snwhitehorn entries. 1203217309Snwhitehorn + modify fselect widget to make back-tab work again, since it was 1204217309Snwhitehorn broken by the rewrite of dlg_edit_string(). 1205217309Snwhitehorn + modify howmany_tags() so it will quit searching when it finds any 1206217309Snwhitehorn option, not only "--and-widget" (Debian #206636). 1207217309Snwhitehorn + correct call to dlg_print_text() in print_line(), which did not 1208217309Snwhitehorn account for hidden characters (report/patch by David Poole). 1209217309Snwhitehorn + modify print_button() to display properly if locale defines ok/cancel 1210217309Snwhitehorn or yes/no buttons that contain multibyte characters. 1211217309Snwhitehorn 1212217309Snwhitehorn2003/08/20 1213217309Snwhitehorn + correct an indexing error when deleting from the end of a line using 1214217309Snwhitehorn KEY_DC; it happened to work on Linux because malloc() clears memory 1215217309Snwhitehorn like calloc(). 1216217309Snwhitehorn + add '\r' to case statement where '\n' is translated to KEY_ENTER to 1217217309Snwhitehorn work around defect in NetBSD curses. 1218217309Snwhitehorn + modify configure check for getparyx(), etc., which are implemented 1219217309Snwhitehorn by NetBSD curses as functions rather than macros. 1220217309Snwhitehorn + correct configure check for term.h, which may be <ncursesw/term.h> 1221217309Snwhitehorn if ncursesw development headers are installed, but not ncurses 1222217309Snwhitehorn development headers. Or they may not coincide (Debian #206287). 1223217309Snwhitehorn 1224217309Snwhitehorn2003/08/18 1225217309Snwhitehorn + modify checklist.c and menubox.c to display tags properly if they 1226217309Snwhitehorn contain wide-characters. 1227217309Snwhitehorn + better solution for initializing curses when "--stdout" option is 1228217309Snwhitehorn used, e.g., use stderr for the output if it is a tty. Also correct 1229217309Snwhitehorn the error handling, so dialog exits with an error if it cannot 1230217309Snwhitehorn find a way to do output (Debian #205509). 1231217309Snwhitehorn + modify sample scripts to use consistent definition of $DIALOG 1232217309Snwhitehorn (Debian #205508). 1233217309Snwhitehorn + add UTF-8 examples inputbox6-utf8, inputbox6-utf8 (from Tomohiro 1234217309Snwhitehorn Kubota, Debian #195674). 1235217309Snwhitehorn + modify print_line() to work with wide-characters, e.g., so it handles 1236217309Snwhitehorn wrapping for double-width characters. 1237217309Snwhitehorn + cache results from multibyte character indices, speeds up cursor 1238217309Snwhitehorn movement. 1239217309Snwhitehorn + modify form widget to support scrolling and mouse-selection. 1240217309Snwhitehorn + add form widget (based on patch by Reznic Valery). 1241217309Snwhitehorn + correct mouse-handling for inputmenu widget. 1242217309Snwhitehorn + corrections to menu.c: location of clearing operation, and height of 1243217309Snwhitehorn rows in code for older ncurses versions (patch by Reznic Valery). 1244217309Snwhitehorn + improve logic that compensates for xterm's alternate-screen by 1245217309Snwhitehorn cancelling the rmcup/smcup strings after the rmcup has been issued. 1246217309Snwhitehorn That ensures that dialog will not clear the screen on exit (report 1247217309Snwhitehorn by Javier Kohen). 1248217309Snwhitehorn + modify initialization between widgets to retain the values for the 1249217309Snwhitehorn --aspect, --separate-widget and --tab-len options. 1250217309Snwhitehorn + add --separator as an alias for --separate-widget (compatible with 1251217309Snwhitehorn Xdialog). 1252217309Snwhitehorn + correct handling of Xdialog's --icon and --wmclass options, whose 1253217309Snwhitehorn parameter was not ignored. 1254217309Snwhitehorn + correct logic for --separate-widget so its string is written before 1255217309Snwhitehorn each output, rather than only for --and-widget option (report by 1256217309Snwhitehorn Javier Kohen). 1257217309Snwhitehorn + improve limit-check in center_label() for buttons.c (report by Tor 1258217309Snwhitehorn Vidar Havstad). 1259217309Snwhitehorn + correct layout of --menu widget, which reduced display width due to 1260217309Snwhitehorn logic for --inputmenu being applied whether or not that configuration 1261217309Snwhitehorn was used (reports by Javier Kohen, Dimitar Zhekov and MAL 1262217309Snwhitehorn <mal@komcept.com>). Fixes Debian #201215. 1263217309Snwhitehorn + modify gauge widget to support --begin option (Hans-Joachim Baader). 1264217309Snwhitehorn + updated pl.po (Jaroslaw Swierczynski). 1265217309Snwhitehorn + hide cursor while painting gauge. 1266217309Snwhitehorn + add auto-sizing logic to gauge widget (reports by Javier Kohen and 1267217309Snwhitehorn Robert Schubert). 1268217309Snwhitehorn 1269217309Snwhitehorn2003/07/20 1270217309Snwhitehorn + rewrote inputstr.c, allowing it to enter and display wide-characters. 1271217309Snwhitehorn Some nonprinting characters such as control/B can be edited as well. 1272217309Snwhitehorn + modify timebox to allow user to type numbers into the fields. 1273217309Snwhitehorn + change interfaces of dlg_getc(), mouse_wgetch(), etc., to add 1274217309Snwhitehorn parameter that returns whether the result is really a function-key. 1275217309Snwhitehorn This is needed to work with wide-character curses. 1276217309Snwhitehorn + correct computation of week-number in calendar widget (report by 1277217309Snwhitehorn Heiner Lamann). 1278217309Snwhitehorn + updated configure script macros: 1279217309Snwhitehorn + suppress -Winline with gcc 3.3, since it is broken. 1280217309Snwhitehorn + fix caching bug in CF_UTF8_LIB 1281217309Snwhitehorn + improved script for CF_BUNDLED_INTL. 1282217309Snwhitehorn + update config.guess, config.sub 1283217309Snwhitehorn 1284217309Snwhitehorn2003/03/08 1285217309Snwhitehorn + add null-pointer checks to some malloc calls which were overlooked. 1286217309Snwhitehorn + correct logic in dlg_add_result(), which did not copy content of 1287217309Snwhitehorn non-allocated buffer to the first allocation (report by Daniel 1288217309Snwhitehorn Dupont). 1289217309Snwhitehorn 1290217309Snwhitehorn2003/03/02 1291217309Snwhitehorn + correct an uninitialized value in dlg_add_result() (Debian #182683). 1292217309Snwhitehorn 1293217309Snwhitehorn2003/01/30 1294217309Snwhitehorn + corrected print_line(), which subtracted the margin twice from the 1295217309Snwhitehorn right-limit, making a string wrap unnecessarily (Debian #168823). 1296217309Snwhitehorn + correct initial limit-check for arrows in checklist.c, which used 1297217309Snwhitehorn the wrong variable, showing the bottom arrow when it should not 1298217309Snwhitehorn (Debian #168823). 1299217309Snwhitehorn + modify driver to always call show_result(), to simplify updates. 1300217309Snwhitehorn + fix several memory leaks, important if dialog is run with a large 1301217309Snwhitehorn number of widgets (report by albert.veli@telia.com forwarded by 1302217309Snwhitehorn Santiago Vila). 1303217309Snwhitehorn + check if the screen output is actually to the terminal before trying 1304217309Snwhitehorn to suppress xterm's alternate screen mode (see 2000/01/18) (report by 1305217309Snwhitehorn David Oliveira). 1306217309Snwhitehorn + use dialog_vars.input_result consistently to return the text which is 1307217309Snwhitehorn printed after a widget completes. In many cases, dialog now 1308217309Snwhitehorn allocates enough space to hold the text, rather than use a fixed 1309217309Snwhitehorn buffer. The checklist widget was writing directly to the output to 1310217309Snwhitehorn avoid limits of the fixed buffer. 1311217309Snwhitehorn + modify dialog.c to also write dialog_vars.input_result if the 1312217309Snwhitehorn Help-button was pressed (request by Amon Ott). 1313217309Snwhitehorn + add hu.po (Arpad Biro). 1314217309Snwhitehorn + update fr.po, pt.po, pt_BR.po to add strings for "Help" button (patch 1315217309Snwhitehorn by Frederic L W Meunier). 1316217309Snwhitehorn + fix off-by-one error in menu.c, checklist.c (reported by 1317217309Snwhitehorn Tomasz Wasiak 2002/09/15 and others: 1318217309Snwhitehorn Andrew Gaul 2002/11/12, 1319217309Snwhitehorn Tobias C Rittweiler 2002/11/19, 1320217309Snwhitehorn Arpad Biro 2003/01/21). 1321217309Snwhitehorn + updated configure script, improving checks for ncurses in various 1322217309Snwhitehorn locations, updated NLS script to match lynx. Added --with-curses-dir 1323217309Snwhitehorn option. 1324217309Snwhitehorn > Tobias C Rittweiler: 1325217309Snwhitehorn + make ifdef in mousewget.c consistent with usage in dialog.h 1326217309Snwhitehorn + use beep() rather than flash() in dlg_edit_string(), for consistency 1327217309Snwhitehorn with the other functions. 1328217309Snwhitehorn + change order of buttons so extra button falls between Ok/Cancel. 1329217309Snwhitehorn + fix so "dialog --print-maxsize" exits from curses. 1330217309Snwhitehorn + add --inputmenu option. 1331217309Snwhitehorn 1332217309Snwhitehorn2002/08/14 1333217309Snwhitehorn + modify checklist.c and menubox.c to treat the extra button like the 1334217309Snwhitehorn "Ok" button by making dialog print the chosen items (request by 1335217309Snwhitehorn Tobias C Rittweiler). 1336217309Snwhitehorn + add examples checklist6 and menubox6 to illustrate the --colors 1337217309Snwhitehorn option. 1338217309Snwhitehorn + implement -colors option, which allows one to highlight words in the 1339217309Snwhitehorn titles and most text areas with color or video attributes (adapted 1340217309Snwhitehorn from patch by Tobias C Rittweiler). 1341217309Snwhitehorn + add examples inputbox4, inputbox5 to illustrate how to use the 1342217309Snwhitehorn --output-fd option, and how to use dialog without any temporary 1343217309Snwhitehorn file at all. 1344217309Snwhitehorn + add --output-fd option (Debian #153984). 1345217309Snwhitehorn + documented vi-style keys for calendar, textbox widgets in manpage. 1346217309Snwhitehorn 1347217309Snwhitehorn2002/06/22 1348217309Snwhitehorn + improve mouse handling, e.g., for up/down scrolling in calendar, 1349217309Snwhitehorn checklist, etc. 1350217309Snwhitehorn + add --extra-button and --extra-label options (adapted from patch 1351217309Snwhitehorn by Tobias C Rittweiler). 1352217309Snwhitehorn + correct displayed cursor position in inputbox when returning to the 1353217309Snwhitehorn input area after traversing the buttons with tabs, etc. 1354217309Snwhitehorn + add left/right arrows for traversal in calendar and timebox dialogs. 1355217309Snwhitehorn + implement two new functions dlg_next_ok_buttonindex() and 1356217309Snwhitehorn dlg_prev_ok_buttonindex(), using these to hide details about the 1357217309Snwhitehorn traversal over buttons in several widgets. 1358217309Snwhitehorn + modify checklist.c and menubox.c to verify if both --help-button and 1359217309Snwhitehorn --item-help are specified before assuming that selecting the help 1360217309Snwhitehorn button should cause the "HELP {item-help}" message to be printed 1361217309Snwhitehorn (reported by Marcel Ritter). 1362217309Snwhitehorn + modify init_dialog() to work around HP's broken tty driver (report by 1363217309Snwhitehorn John Mudd). Specifically, the problem is that when opening /dev/tty 1364217309Snwhitehorn directly (to support the --stdout option), the terminal does not 1365217309Snwhitehorn change to raw mode. The workaround opens /dev/tty only as needed; 1366217309Snwhitehorn the --stdout option does not work on HPUX but otherwise dialog works. 1367217309Snwhitehorn + updated el.po (patch by kromJx <kromJx@crosswinds.net>). 1368217309Snwhitehorn 1369251843Sbapt2002/05/19 - release 0.9b 1370217309Snwhitehorn + add --no-collapse option to allow one to retain tabs and repeated 1371217309Snwhitehorn blanks in a message box (request by Roberto Simoni). 1372217309Snwhitehorn + use DLG_EXIT_ESC constant rather than -1's in several places. This 1373217309Snwhitehorn has the effect of changing some exit-with-error cases to denote that 1374217309Snwhitehorn the exit was because ESC was pressed (patch by Diego Alvarez, 1375217309Snwhitehorn forward by Santiago Vila). 1376217309Snwhitehorn + bump package version to 0.9b (with patch-date, as usual). 1377217309Snwhitehorn + add --exit-label option (request by Roberto Simoni). 1378217309Snwhitehorn + updated de.po to correct translation for "Cancel" (from Michael 1379217309Snwhitehorn Piefel, Debian #146402). 1380217309Snwhitehorn + use definitions from autoconf macro AC_HEADER_TIME to ensure that 1381217309Snwhitehorn time() is properly prototyped. 1382217309Snwhitehorn + update pl.po, adding translation for "Help" (patch by Jaroslaw 1383217309Snwhitehorn Swierczynski <swiergot@hacking.pl>). 1384217309Snwhitehorn + update COPYING file, to reflect address change of FSF (reported by 1385217309Snwhitehorn Santiago Vila). 1386217309Snwhitehorn + update some configuration script macros: CF_CHECK_CACHE, 1387217309Snwhitehorn CF_CURSES_CPPFLAGS, CF_HEADER_PATH and CF_MAKEFLAGS. 1388217309Snwhitehorn + correct misuse of "$with_XXX" variables in the configure script, 1389217309Snwhitehorn which prevented configuration against curses library as opposed to 1390217309Snwhitehorn ncurses. 1391217309Snwhitehorn + update config.guess, config.sub 1392217309Snwhitehorn 1393217309Snwhitehorn2002/03/09 (a) 1394217309Snwhitehorn + modify geometry of samples/fselect scripts to allow them to run in 1395217309Snwhitehorn a 24x80 screen (report/patch by Santiago Vila). 1396217309Snwhitehorn + correct exit-code for menubox.c when Cancel is pressed. This was 1397217309Snwhitehorn unintentionally altered when adding --help-button (reported by 1398217309Snwhitehorn Patrick J Volkerding) 1399217309Snwhitehorn 1400217309Snwhitehorn2002/03/09 1401217309Snwhitehorn + add --timeout option, which forces the program to exit with an error 1402217309Snwhitehorn if no user response is given within the specified number of seconds 1403217309Snwhitehorn (request by <andrew@argoncorp.com>). 1404217309Snwhitehorn + modify calendar widget to allow day/month/year values to default to 1405217309Snwhitehorn the current date (request by <Ron.Perrella@bellsouth.com>). 1406217309Snwhitehorn + modify display of buttons in checklist.c and menubox.c to handle the 1407217309Snwhitehorn case where the button label is empty (Debian #134388). 1408217309Snwhitehorn + extended logic for ok/cancel/help to make this work with checklist 1409217309Snwhitehorn widget. 1410217309Snwhitehorn + revert pt_BT.po, apply changes to pt.po (report by Frederic L W 1411217309Snwhitehorn Meunier). 1412217309Snwhitehorn > several changes from Stanislav Ievlev: 1413217309Snwhitehorn + add options --help-button and --help-label to make menubox display a 1414217309Snwhitehorn third button which can be used to return an exit code causing the 1415217309Snwhitehorn calling script to show extended help information. 1416217309Snwhitehorn + use home/end keys in input string-editing, e.g., inputbox. 1417217309Snwhitehorn + add option --max-input to limit length of string returned by inputbox 1418217309Snwhitehorn and other widgets which allow the user to edit a string. 1419217309Snwhitehorn 1420217309Snwhitehorn2001/12/02 1421217309Snwhitehorn + add --ok-label and --cancel-label options (request by Kyle Sallee). 1422217309Snwhitehorn + correct usage message for --fselect option (reported by Patrick J 1423217309Snwhitehorn Volkerding). 1424217309Snwhitehorn + add samples/debian.rc, for comparison with slackware.rc 1425217309Snwhitehorn + corrected samples/slackware.rc, which was just the compiled-in 1426217309Snwhitehorn default values (patch by Patrick J Volkerding). 1427217309Snwhitehorn + modify search rule for rc-file to add a global rc file /etc/dialogrc 1428217309Snwhitehorn (patch by Patrick J Volkerding). 1429217309Snwhitehorn + updated pt_BR.po with modified entries for fselect.c (Frederic L W 1430217309Snwhitehorn Meunier). 1431217309Snwhitehorn + add pl.po (Swiergot <swiergot@l02.ids.czest.pl>). 1432217309Snwhitehorn 1433217309Snwhitehorn2001/11/11 1434217309Snwhitehorn + modify command-line parsing to allow a "--" argument to act as an 1435217309Snwhitehorn escape, so the next argument is not recognized as an option if it 1436217309Snwhitehorn begins with "--". This is apparently one of popt's undocumented 1437217309Snwhitehorn features, upon which some Debian scripts depend (Debian #116642). 1438217309Snwhitehorn + add da.po (Morten Brix Pedersen <morten@wtf.dk>). 1439217309Snwhitehorn + add an install-strip rule to makefile, changing the normal install 1440217309Snwhitehorn rule to not strip the installed executable (based on discussion with 1441217309Snwhitehorn Santiago Vila). 1442217309Snwhitehorn + initialize my_output variable if user cannot open /dev/tty, e.g., if 1443217309Snwhitehorn su'd to another user (patch by Richard Braakman (<dark@ssh.com>), Debian 1444217309Snwhitehorn #117177). 1445217309Snwhitehorn + add configure option --with-ncursesw, to allow configure/build with 1446217309Snwhitehorn wide-character version of ncurses. 1447217309Snwhitehorn 1448217309Snwhitehorn2001/10/14 1449217309Snwhitehorn + add option --ignore, to make dialog be ignore options that it does 1450217309Snwhitehorn not recognize. 1451217309Snwhitehorn + add option --trim, to trim literal newlines and repeated spaces from 1452217309Snwhitehorn text that will be displayed. Add samples/msgbox2, which is the 1453217309Snwhitehorn same as msgbox1, but using --trim (cf: change for Debian #102942). 1454217309Snwhitehorn + minor correction to attributes for buttons.c to use active_attr on 1455217309Snwhitehorn the right-side of a button. 1456217309Snwhitehorn + add a sample dialog rc-file slackware.rc based on diffs in hdasetup 1457217309Snwhitehorn package at 1458217309Snwhitehorn http://ftp1.sourceforge.net/pub/mirrors/slackware/slackware/source/a/hdsetup/ 1459217309Snwhitehorn (discussion with Frederic L W Meunier). 1460217309Snwhitehorn + modify dialog.pl to avoid using a statically-named tempfile, allowing 1461217309Snwhitehorn multiple processes to use this script (patch by James Ranson 1462217309Snwhitehorn (<euclid80@yahoo.com>), Debian #110609). 1463217309Snwhitehorn + correct fprintf() call in j_menu() function, i.e., "--menu" option, 1464217309Snwhitehorn which did not guard against expanding '%' embedded in the parameters 1465217309Snwhitehorn (Stavros Chatzistefanidis <sxatz@yahoo.com>). 1466217309Snwhitehorn + add et.po (Ivar Smolin <okul@trenet.ee>). 1467217309Snwhitehorn + update fr.po (Frederic L W Meunier). 1468217309Snwhitehorn + modify to allow scripts to alter the exit codes, mainly to 1469217309Snwhitehorn distinguish ESC and ERROR exits. This is done by setting a shell 1470217309Snwhitehorn variable such as DIALOG_ESC to a new value (request by Petr Vandrovec 1471217309Snwhitehorn (<vandrove@vc.cvut.cz>), Debian #99264) 1472217309Snwhitehorn 1473217309Snwhitehorn2001/08/27 1474217309Snwhitehorn + use VPATH in makefile to support build with configure --srcdir, if 1475217309Snwhitehorn the make program supports that. Note that samples/install/makefile 1476217309Snwhitehorn is not generated, due to awkward limitation of autoconf script 1477217309Snwhitehorn (reported by Frederic L W Meunier <0@pervalidus.net>). 1478217309Snwhitehorn + add po/pt_BR.po (Frederic L W Meunier <0@pervalidus.net>). 1479217309Snwhitehorn + correct sense of --enable/--disable shown in configure --help (report 1480217309Snwhitehorn by Frederic L W Meunier <0@pervalidus.net>). 1481217309Snwhitehorn + correct logic for --clear option, broken in 2000/07/02 (fixes Debian 1482217309Snwhitehorn #110254). 1483217309Snwhitehorn 1484217309Snwhitehorn2001/08/11 1485217309Snwhitehorn + porting fixes to work on AIX: flush output to work around bug in 1486217309Snwhitehorn curses library, use ./killall in scripts to avoid conflict with 1487217309Snwhitehorn AIX program by that name. 1488217309Snwhitehorn + modify dlg_trim_string() to retain literal newlines if the string 1489217309Snwhitehorn does not contain "\\n" strings, and to retain leading blanks on the 1490217309Snwhitehorn resulting lines, for compatibility with older scripts (Debian 1491217309Snwhitehorn #102942). 1492217309Snwhitehorn + add charset specification to cs.po 1493217309Snwhitehorn + change dates in CHANGES to consistent format, add el.po for Greek 1494217309Snwhitehorn (patch by kromJx <kromJx@crosswinds.net>). 1495217309Snwhitehorn + eliminate static globals (bss, data) from modules rc, tailbox, 1496217309Snwhitehorn textbox using better parameter-passing convention, and const. 1497217309Snwhitehorn + cleanup temporary files in a few of the sample scripts. 1498217309Snwhitehorn + rewrote tailboxbg using select() rather than fork(), thereby 1499217309Snwhitehorn eliminating lock-files. Only one process should be trying to display 1500217309Snwhitehorn on the screen at any given time. 1501217309Snwhitehorn + add error check to ensure that numeric parameters are really numbers. 1502217309Snwhitehorn + correct off-by-one in error messages reporting too-few or too-many 1503217309Snwhitehorn tokens for a given option (reported by George Mirchev). 1504217309Snwhitehorn + fix typo in manpage, "textboxbg" where "tailboxbg" was meant 1505217309Snwhitehorn (reported by George Mirchev <la@mail.techno-link.com>). 1506217309Snwhitehorn + use DLG_EXIT_xxx symbols consistently for all exit codes. 1507217309Snwhitehorn + updated es.po (patch by Santiago Vila). 1508217309Snwhitehorn + updates for some configure script macros from lynx: CF_MAKEFLAGS, 1509217309Snwhitehorn CF_NCURSES_VERSION, CF_PROG_EXT. 1510217309Snwhitehorn + fixes to compile if <term.h> is included, e.g., when building with 1511217309Snwhitehorn AIX curses (report by Suzi Dowson <Suzi.Dowson@capgemini.co.uk>). 1512217309Snwhitehorn 1513217309Snwhitehorn2001/05/27 1514217309Snwhitehorn + updated dialog.pot 1515217309Snwhitehorn + modify fselect.c to work with autosize, i.e., given height and width 1516217309Snwhitehorn zero (report by Martin Povolny). 1517217309Snwhitehorn + add a null-pointer check in justify_text(), needed by fselect.c 1518217309Snwhitehorn + add several more options which dialog can safely ignore, from 1519217309Snwhitehorn Xdialog 2.0.2 1520217309Snwhitehorn + refinements for configure macros checking for $CPPFLAGS, from lynx. 1521217309Snwhitehorn + update config.guess, config.sub to match autoconf 2.50 1522217309Snwhitehorn > Martin Povolny <martin@solnet.cz>: 1523217309Snwhitehorn + add cs.po 1524217309Snwhitehorn + use nl_langinfo() to customize names for day-of-week, and month 1525217309Snwhitehorn 1526217309Snwhitehorn2001/05/11 1527217309Snwhitehorn > Vincent Stemen <dialog@AdvancedResearch.org>: 1528217309Snwhitehorn Fixed dialog.c to not pass menu items through dlg_trim_string(). 1529217309Snwhitehorn Stripping extra spaces out of the menu items broke some of my 1530217309Snwhitehorn scripts by altering the string that it compared to know which menu 1531217309Snwhitehorn item was selected. There should be no need to do justification on 1532217309Snwhitehorn the menu items, which are always one line, anyway. 1533217309Snwhitehorn 1534217309Snwhitehorn2001/04/29 1535217309Snwhitehorn > Vincent Stemen <dialog@AdvancedResearch.org>: 1536217309Snwhitehorn + rewrote the text justification code to be able to have preformatted 1537217309Snwhitehorn text in the prompts with extra spaces like the older versions of 1538217309Snwhitehorn dialog. If there are "\n" strings in the text, then extra spaces are 1539217309Snwhitehorn preserved. Lines are always wrapped on word boundaries. 1540217309Snwhitehorn + fixed --cr-wrap to break lines on '\n' (newline) characters and not 1541217309Snwhitehorn add an extra line at the top and bottom of the text. It now works 1542217309Snwhitehorn as the manual says it should. 1543217309Snwhitehorn + it is no longer necessary to use "\n\" at the end of lines to escape 1544217309Snwhitehorn the '\n' character. "\n" now works. However, the old way, "\n\" 1545217309Snwhitehorn still works. 1546217309Snwhitehorn + the fixes involved the following changes: 1547217309Snwhitehorn - rewrote dlg_trim_string() to recognize preformatted text (know 1548217309Snwhitehorn when not to strip extra spaces) and to pay attention to --cr-wrap. 1549217309Snwhitehorn - rewrote justify_text() which now calls a new function in util.c, 1550217309Snwhitehorn print_line(), to print each line and end it on a word boundary. 1551217309Snwhitehorn - modified real_auto_size() to call a new function 1552217309Snwhitehorn auto_size_preformated() to calculate the box size for preformatted 1553217309Snwhitehorn text. 1554217309Snwhitehorn - removed skip_blanks() and skip_text() since they are not used by 1555217309Snwhitehorn the new justify_text(). 1556217309Snwhitehorn - modified dialog.c to not call dlg_trim_string() on title strings 1557217309Snwhitehorn so that titles retain their spaces. 1558217309Snwhitehorn + modified the following demo files in the sample directory: 1559217309Snwhitehorn - inputbox 1560217309Snwhitehorn changed all "\n\" strings to "\n" to demonstrate the extra 1561217309Snwhitehorn backslash is no longer needed. 1562217309Snwhitehorn - inputbox1 1563217309Snwhitehorn removed all the "\n\" strings from the end of the lines to 1564217309Snwhitehorn properly demonstrate --cr-wrap. 1565217309Snwhitehorn - msgbox1 1566217309Snwhitehorn this sample was using "--aspect 9 --cr-wrap". Rewrote it to 1567217309Snwhitehorn properly demonstrate --aspect. 9 is already dialog's default 1568217309Snwhitehorn aspect ratio. It now creates several dialogs in sequence, 1569217309Snwhitehorn demonstrating aspect ratios of 9, 12 and 6 and properly 1570217309Snwhitehorn demonstrates --cr-wrap. 1571217309Snwhitehorn + made the following changes to the manual (dialog.1). 1572217309Snwhitehorn - rewrote the description of --aspect to be more understandable. 1573217309Snwhitehorn - rewrote the description of --cr-wrap to be more correct and more 1574217309Snwhitehorn detailed. It did say, "Otherwise, the text for each dialog will 1575217309Snwhitehorn display on a single line.", which is not correct. It wraps the 1576217309Snwhitehorn text to fit in the box. 1577217309Snwhitehorn > T.Dickey: 1578217309Snwhitehorn + use logic from menubox dialog in checklist to handle autosizing when 1579217309Snwhitehorn list height is given as zero (fixes problem reported by Eric Veltman 1580217309Snwhitehorn <eveltman@baan.nl>). 1581217309Snwhitehorn + modify checklist and menubox dialogs to check for too-wide data, and 1582217309Snwhitehorn truncate one or both of the name and text fields to fit (also 1583217309Snwhitehorn reported by Eric Veltman). 1584217309Snwhitehorn + corrected a few items from Vincent's patch: 1585217309Snwhitehorn - use C89-style comments rather than C++ 1586217309Snwhitehorn - restore logic in justify_text() which checks for win==0, needed to 1587217309Snwhitehorn work with standard curses implementations other than ncurses. 1588217309Snwhitehorn The first call on justify_text() passes a null pointer as a flag 1589217309Snwhitehorn to indicate that checking should be done, but no screen updates. 1590217309Snwhitehorn - avoid modifying the buffer in decode_percent(), otherwise a message 1591217309Snwhitehorn containing a space or newline would be truncated at the whitespace. 1592217309Snwhitehorn - modify dlg_button_x_step() and dlg_button_layout() slightly to 1593217309Snwhitehorn work with altered print_autowrap(), etc. 1594217309Snwhitehorn + fixes to build/work with SunOS 4.x 5lib curses 1595217309Snwhitehorn 1596217309Snwhitehorn2001/04/15 1597217309Snwhitehorn + fix a memory leak in mouse_region(). 1598217309Snwhitehorn + simplify handling of optional parameters with new functions 1599217309Snwhitehorn optional_str() and optional_num(). 1600217309Snwhitehorn + add calendar and timebox dialogs (compatible with Xdialog). 1601217309Snwhitehorn + correct typo in fallback definition for getparyx, and remove void 1602217309Snwhitehorn cast for mouse_open and mouse_close which prevented build with 1603217309Snwhitehorn Sun's Solaris compiler. 1604217309Snwhitehorn + rename --enable-lxdialog configure option to --enable-Xdialog 1605217309Snwhitehorn + modify CF_NCURSES_CPPFLAGS macro to match more variations of ncurses 1606217309Snwhitehorn header files. 1607217309Snwhitehorn + update config.guess, config.sub 1608217309Snwhitehorn + modify some configure script macros to avoid problems with buggy 1609217309Snwhitehorn autoconf 2.49c which breaks changequote(). 1610217309Snwhitehorn 1611217309Snwhitehorn2001/01/15 1612217309Snwhitehorn + small fix to revised real_auto_size() and justify_text() to avoid 1613217309Snwhitehorn adding origin to box-width, which broke samples/wheel. 1614217309Snwhitehorn + apply 1999/12/25 tempfile change to wheel and copismall samples. 1615217309Snwhitehorn + add sample script for tailboxbg. 1616217309Snwhitehorn + revised lock-file management to better ensure that locks are actually 1617217309Snwhitehorn created by the tailbox subprocess(es). 1618217309Snwhitehorn + correct hardcoded signal 15 in tailbox to SIGHUP to match 1619217309Snwhitehorn documentation. Signal 15 is usually SIGTERM, which cannot be caught. 1620217309Snwhitehorn + correct off-by-one comparison of return-value for arg_rest() which 1621217309Snwhitehorn made 1622217309Snwhitehorn dialog --gauge test 10 50 1623217309Snwhitehorn dump core because it expected a 4th parameter (fixes Debian #80641). 1624217309Snwhitehorn + resync config.sub, config.guess from 1625217309Snwhitehorn http://subversions.gnu.org/cgi-bin/cvsweb/config/ (which finally have 1626217309Snwhitehorn cases for OS/2 EMX), minor tweaks to related configure script macros. 1627217309Snwhitehorn 1628217309Snwhitehorn2000/12/17 1629217309Snwhitehorn + restore treatment of predefined height/width in real_auto_size() 1630217309Snwhitehorn which was lost in 2000/12/12 rewrite (report by Raphael Halimi 1631217309Snwhitehorn <raphaelh@easynet.fr>). 1632217309Snwhitehorn + updates for configure script macros AM_PATH_PROG_WITH_TEST, 1633217309Snwhitehorn CF_CURSES_LIBS, CF_LIB_PREFIX, CF_PROG_EXT for $PATHSEP and $CFLAGS 1634217309Snwhitehorn fixes. 1635217309Snwhitehorn 1636217309Snwhitehorn2000/12/13 1637217309Snwhitehorn + correct change for create_lock(), which resulted in an infinite loop 1638217309Snwhitehorn (patch by Chris Butler, <chrisb@debian.org>). 1639217309Snwhitehorn 1640217309Snwhitehorn2000/12/12 1641217309Snwhitehorn + rewrote print_autowrap() and real_auto_size() to share common code 1642217309Snwhitehorn justify_text(), which now does text flow even when the string 1643217309Snwhitehorn contains newlines (fixes Debian #77199). 1644217309Snwhitehorn + improve create_lock() function using open() with O_EXCL rather than 1645217309Snwhitehorn fopen() (patch by Matt Kraai (<kraai@debian.org>), Debian #78951). 1646217309Snwhitehorn + correct description of --fselect in man page (patch by Tomas Pospisek 1647217309Snwhitehorn (<tpo@spin.ch>), Debian #77200). 1648217309Snwhitehorn + add --no-cancel as alias for --nocancel for compatibility with 1649217309Snwhitehorn Xdialog (report by Luis E Limon <luisl@abriasoft.com>). 1650217309Snwhitehorn 1651217309Snwhitehorn2000/10/27 1652217309Snwhitehorn + some lint fixes using lclint (mostly void-casts, but some 1653217309Snwhitehorn sign-extension fixes e.g., for ctype.h macros, and loop in 1654217309Snwhitehorn dlg_char_to_button()). 1655217309Snwhitehorn + modified to build/run on OS/2 EMX with ncurses. 1656217309Snwhitehorn + minor changes to po/*.po (trim trailing blanks, provide explicit 1657217309Snwhitehorn translation for "OK"), to work with Solaris gettext. 1658217309Snwhitehorn + modified to allow this to build with archaic version (1.8.6) 1659217309Snwhitehorn of ncurses on FreeBSD 3.1 (does not run). 1660217309Snwhitehorn + update config.guess, config.sub from subversions.gnu.org 1661217309Snwhitehorn 1662217309Snwhitehorn2000/10/17 1663217309Snwhitehorn + use new function sub_window() to check success/failure of calls to 1664217309Snwhitehorn subwin(), printing an error message if it fails (fixes Debian #74903). 1665217309Snwhitehorn + use combination of isatty/ttyname to look for workable tty device 1666217309Snwhitehorn on systems which have no /dev/tty, e.g., BeOS. 1667217309Snwhitehorn 1668217309Snwhitehorn2000/10/08 1669217309Snwhitehorn + change exiterr() to use stdarg.h, make some messages easier to 1670217309Snwhitehorn understand. 1671217309Snwhitehorn + add dialog_clear() 1672217309Snwhitehorn + make samples/install/setup build. 1673217309Snwhitehorn + implemented mouse support for buttons, e.g., in yesno dialog using 1674217309Snwhitehorn ncurses (the gpm support no longer works, but is useful for reference) 1675217309Snwhitehorn + add a configure check for chtype. 1676217309Snwhitehorn + updates for configure script macros (CF_BUNDLED_INTL, CF_CURSES_LIBS, 1677217309Snwhitehorn CF_GCC_ATTRIBUTES, CF_GCC_WARNINGS, CF_INCLUDE_DIRS), and scripts 1678217309Snwhitehorn config.guess, config.sub 1679217309Snwhitehorn + cleanup of item-help change, integrate with checklist and radiobox. 1680217309Snwhitehorn + add ja.po, from Hirofumi Takeda <takepin@turbolinux.co.jp>. 1681217309Snwhitehorn > patch by Marco Mariani <marcom@sferacarta.com> 1682217309Snwhitehorn + add --item-help option, which makes menubox data interpreted as 1683217309Snwhitehorn 3 columns rather than 2. The third column is displayed on the 1684217309Snwhitehorn last line of the screen as a help/status message for the currently 1685217309Snwhitehorn selected item. 1686217309Snwhitehorn + add it.po, pt.po 1687217309Snwhitehorn + change TAG_KEY_HL to FALSE, making unselected items in checklist 1688217309Snwhitehorn easier to read on Linux console. 1689217309Snwhitehorn 1690217309Snwhitehorn2000/07/30 1691217309Snwhitehorn + change real_auto_size() to allow it to be used for dialogs that have 1692217309Snwhitehorn no prompt, e.g., fselect. Also, rather than requiring both height 1693217309Snwhitehorn and width to be given as -1 for maximizing the dialog, allow either 1694217309Snwhitehorn alone. 1695217309Snwhitehorn + increase minimum height needed for autosized yesno dialog. 1696217309Snwhitehorn + add --version as an alias for --print-version. 1697217309Snwhitehorn + fix for build on Solaris without NLS (cannot redefine 'gettext()'). 1698217309Snwhitehorn + add fselect dialog (compatible with Xdialog). 1699217309Snwhitehorn + add --enable-lxdialog configure option. 1700217309Snwhitehorn + use new configure macro CF_ARG_MSG_ENABLE to show progress with 1701217309Snwhitehorn enable/disable switches. 1702217309Snwhitehorn 1703217309Snwhitehorn2000/07/02 1704217309Snwhitehorn + implement --stdout and --stderr options as in Xdialog. 1705217309Snwhitehorn + move logic that translates "\\n" into '\n' into main program to 1706217309Snwhitehorn simplify logic that formats text. 1707217309Snwhitehorn + make ifdef's for rc-file not specific to ncurses. 1708217309Snwhitehorn + correct logic making percent parameter of gauge optional. 1709217309Snwhitehorn 1710217309Snwhitehorn2000/06/29 1711217309Snwhitehorn + add alternate test-script for gauge, adapted from Xdialog. 1712217309Snwhitehorn + modify gauge to make optional a percentage which was read at the 1713217309Snwhitehorn beginning of the XXX-delimited message text, since clones of dialog 1714217309Snwhitehorn are written to assume this is text. If the line is not a simple 1715217309Snwhitehorn integer, dialog will treat it as text. 1716217309Snwhitehorn + make the percent parameter of gauge optional, as in Xdialog. 1717217309Snwhitehorn + undo one use of CharOf() in guage.c, an error. 1718217309Snwhitehorn + fix configure macro AM_WITH_NLS to refrain from attempting to make a 1719217309Snwhitehorn symbolic link into/libintl.h if we are not using the bundled intl 1720217309Snwhitehorn directory from gettext (reported by Julian Coleman 1721217309Snwhitehorn <J.D.Coleman@newcastle.ac.uk>). 1722217309Snwhitehorn + add ru.po, from Michael Sobolev <mss@transas.com> 1723217309Snwhitehorn + updates for config.guess, config.sub from tin. 1724217309Snwhitehorn + updates for configure script macros: CF_MATH_LIB (improperly nested 1725217309Snwhitehorn brackets/parenthesis) and CF_XOPEN_CURSES (make include of 1726217309Snwhitehorn <*curses.h> depend on configure tests). 1727217309Snwhitehorn 1728217309Snwhitehorn2000/04/25 1729217309Snwhitehorn + repaint screen when a control/L is pressed. 1730217309Snwhitehorn + apply CharOf() macro to avoid sign-extension on calls to waddch(), 1731217309Snwhitehorn fixes a problem with accented characters (reported by Santiago Vila). 1732217309Snwhitehorn + add es.po, from Santiago Vila <sanvila@unex.es> 1733217309Snwhitehorn 1734217309Snwhitehorn2000/04/23 1735217309Snwhitehorn + modified to use gettext (configure option --enable-nls). This uses 1736217309Snwhitehorn gettext 0.10.35, which must be previously installed. (It can also 1737217309Snwhitehorn use an included intl library, but I consider that to be a waste of 1738217309Snwhitehorn disk space). 1739217309Snwhitehorn + remove code in checklist/radiobox, menubox that try to use 1740217309Snwhitehorn abbreviations for the OK/Cancel buttons since those conflict with the 1741217309Snwhitehorn check for abbreviations in list entries, which are more useful. 1742217309Snwhitehorn + moved padding of button labels out of string literals, into the 1743217309Snwhitehorn logic of dlg_draw_buttons(). 1744217309Snwhitehorn + resync/update with configure macros CF_CURSES_LIBS, CF_FIND_LIBRARY, 1745217309Snwhitehorn CF_HEADER_PATH, CF_LIBRARY_PATH and CF_NCURSES_LIBS, as well as 1746217309Snwhitehorn mkdirs.sh and config.guess. 1747217309Snwhitehorn 1748217309Snwhitehorn2000/02/22 1749217309Snwhitehorn + add --default-item option, for menubox to set the default selection 1750217309Snwhitehorn (fixes Debian #49796). 1751217309Snwhitehorn + add sample scripts for --nocancel and --fb options with inputbox. 1752217309Snwhitehorn + modify inputbox* sample scripts to show application errors, if any. 1753217309Snwhitehorn + add --nocancel option, and ignore --noitem, --fb, --fullbutton, to 1754217309Snwhitehorn make this compatible with whiptail scripts. (whiptail does not 1755217309Snwhitehorn handle many dialog scripts however). 1756217309Snwhitehorn + modify checklist/radiobox to handle home, end, nextpage, prevpage 1757217309Snwhitehorn keys, as well as make the abbreviation search work for the whole 1758217309Snwhitehorn list, not only the current page. 1759217309Snwhitehorn + treat KEY_LL the same as KEY_END in checklist and textbox. 1760217309Snwhitehorn + add logic for KEY_BTAB. 1761217309Snwhitehorn + use new function dlg_draw_buttons() to better manage the layout of 1762217309Snwhitehorn yes/no/ok/cancel buttons. 1763217309Snwhitehorn + another pass of cleanup of dialog.c, makes it use a single table for 1764217309Snwhitehorn lookup of option names and help-message. Eliminated numerous 1765217309Snwhitehorn adjustments to 'offset' variable. 1766217309Snwhitehorn + on initialization, check if standard input is from a terminal. If 1767217309Snwhitehorn not, open /dev/tty (fixes Debian #57771) 1768217309Snwhitehorn 1769217309Snwhitehorn2000/02/05 1770217309Snwhitehorn + implement inline editing in textbox.c search dialog. 1771217309Snwhitehorn + revise inputbox.c, allowing inline editing with arrow-keys. removed 1772217309Snwhitehorn redundant logic in that module. 1773217309Snwhitehorn + correct a typo that prevented rc-file configuration from building. 1774217309Snwhitehorn + correct ifdef's to compile/run if the curses implementation does not 1775217309Snwhitehorn support color. 1776217309Snwhitehorn 1777217309Snwhitehorn2000/01/23 1778217309Snwhitehorn + improve test-case for gauge. 1779217309Snwhitehorn + change gauge.c to show progress in reverse-video, add a check for 1780217309Snwhitehorn end-of-file in the loop for reading new messages. 1781217309Snwhitehorn + use curses whline() function to simplify print_arrows() logic in 1782217309Snwhitehorn checklist.c and menubox.c 1783217309Snwhitehorn + use curses beep() function rather than hardcoded strings. 1784217309Snwhitehorn + correct several compiler warnings for gcc -pedantic (mismatch of 1785217309Snwhitehorn const, signed/unsigned). 1786217309Snwhitehorn + modify exiterr() to avoid possible expansion of '%'. 1787217309Snwhitehorn + change CF_MATH_LIB configure macro to allow specifying a particular 1788217309Snwhitehorn test-function. For dialog, this should be sqrt(). The macro was 1789217309Snwhitehorn originally written for ncurses, which needs sin(). However, that is 1790217309Snwhitehorn a builtin function on the m68k port (reported by Roman Hodek 1791217309Snwhitehorn <Roman.Hodek@informatik.uni-erlangen.de>, this fixes Debian #55553). 1792217309Snwhitehorn 1793217309Snwhitehorn2000/01/18 1794217309Snwhitehorn + update manpage (Debian #25648). 1795217309Snwhitehorn + modify configure test for math library to avoid using a constant 1796217309Snwhitehorn parameter to the test function, lest gcc optimize the call away 1797217309Snwhitehorn (fixes Debian #55553). 1798217309Snwhitehorn + restructure help-message so actual problem is indicated. The original 1799217309Snwhitehorn help-message is shown if no parameters are given, or if the --help 1800217309Snwhitehorn option is specified alone. 1801217309Snwhitehorn + suppress xterm's alternate screen mode by sending an exit_ca_mode 1802217309Snwhitehorn after initscr if the terminal looks like xterm, e.g., has key_mouse 1803217309Snwhitehorn defined, and has private-mode escapes in both enter_ca_mode and 1804217309Snwhitehorn exit_ca_mode (fixes Debian #55181). 1805217309Snwhitehorn + change yellow lettering on white to blue on white, since it offers 1806217309Snwhitehorn better contrast (fixes Debian #51196). 1807217309Snwhitehorn + use napms() rather than sleep(). 1808217309Snwhitehorn + some cleanup/simplification of main program. Indent'd dialog.c and 1809217309Snwhitehorn util.c 1810217309Snwhitehorn + eliminate several places where repeated options are treated as 1811217309Snwhitehorn an error, since they are really executed once anyway. 1812217309Snwhitehorn 1813217309Snwhitehorn2000/01/15 1814217309Snwhitehorn + remove pre-autoconf Makefile 1815217309Snwhitehorn + remove sleep's from a few of the sample scripts, which left users 1816217309Snwhitehorn thinking that dialog was slow to complete an action. 1817217309Snwhitehorn + rewrote infobox sample script, using dialog's --sleep option and 1818217309Snwhitehorn a loop in the script. 1819217309Snwhitehorn + change 'ch' variable in tailbox.c to an integer, because it is 1820217309Snwhitehorn compared against EOF (fixes Debian #53157). 1821217309Snwhitehorn + corrected mandir variable in makefile.in (reported by Santiago Vila). 1822217309Snwhitehorn + small changes to sample scripts, from Debian: rename "guage" script 1823217309Snwhitehorn to "gauge", change path to copy of GPL used in textbox. 1824217309Snwhitehorn + add uninstall rule to makefile.in, fixed some dependencies so 1825217309Snwhitehorn "make install" works without first doing "make all". 1826217309Snwhitehorn 1827217309Snwhitehorn1999/12/25 1828217309Snwhitehorn + use more portable scheme for tempfile generation in samples. 1829217309Snwhitehorn + add a configure script, prefer to not use the original Makefile 1830217309Snwhitehorn because it works only with GNU make. 1831217309Snwhitehorn + correct prototype of 'main()', which misused const. 1832217309Snwhitehorn + modify guage.c to use fgets() rather than gets(). 1833217309Snwhitehorn + merge changes from Debian package maintainer 1834217309Snwhitehorn Santiago Vila <sanvila@ctv.es>: 1835217309Snwhitehorn 1836217309Snwhitehorn 1999/10/07 1837251843Sbapt + add a password dialog box (Debian #45964, patch by Joey Hess). 1838217309Snwhitehorn + implement "--defaultno" option to specify if the default for 1839251843Sbapt the yes/no box is "No" (Debian #46076, patch by Joey Hess). 1840217309Snwhitehorn 1999/03/10 1841217309Snwhitehorn + modify input.c to clear the input field to the right of the 1842251843Sbapt given string, to help with screen-refresh 1843217309Snwhitehorn 1998/12/08 1844251843Sbapt + check for list_height less than one in checklist.c (Debian 1845251843Sbapt #22239). 1846217309Snwhitehorn 1998/10/21 1847217309Snwhitehorn + use function wscrl() in preference to scroll() in checklist.c 1848217309Snwhitehorn and menubox.c (unclear: in ncurses, scroll() is a macro that 1849217309Snwhitehorn uses wscrl()). 1850217309Snwhitehorn + remove the "-I/usr/include/ncurses" option from Makefile 1851217309Snwhitehorn since Debian does not install ncurses' header files into 1852217309Snwhitehorn that directory. 1853217309Snwhitehorn 1998/09/12 1854217309Snwhitehorn + simplify menubox.c using new functions print_arrows() and 1855251843Sbapt print_items(). add logic to handle KEY_NPAGE and KEY_PPAGE 1856251843Sbapt (Debian #26326). 1857251843Sbapt + modifications to provide sample scripts (Debian #26211): 1858251843Sbapt + change sample scripts to use Debian tempfile utility rather 1859251843Sbapt than putting files into /tmp. 1860251843Sbapt + change sample scripts to use 'dialog' from user's path 1861251843Sbapt rather than in the parent directory as in the build 1862251843Sbapt directory. 1863217309Snwhitehorn + use the system copy of GPL rather than that in the build 1864217309Snwhitehorn directory as an example for the textbox script. 1865217309Snwhitehorn 1866217309Snwhitehorn1999/11/27 1867217309Snwhitehorn + fix some gcc warnings about ambiguous use of "else" 1868217309Snwhitehorn 1869217309Snwhitehorn1999/05/01 1870217309Snwhitehorn + cleaned up some of the redundant code with new functions: 1871217309Snwhitehorn box_x_ordinate 1872217309Snwhitehorn box_y_ordinate 1873217309Snwhitehorn draw_title 1874217309Snwhitehorn draw_bottom_box 1875217309Snwhitehorn new_window 1876217309Snwhitehorn 1877217309Snwhitehorn + modified msgbox.c and yesno.c to work with the KEY_RESIZE sigwinch 1878217309Snwhitehorn handling in ncurses 4.2 1879217309Snwhitehorn 1880217309Snwhitehorn + corrected spelling of "gauge" 1881217309Snwhitehorn 1882217309SnwhitehornThe relevant portions of the Debian change log for the original version 1883217309Snwhitehorn(dialog-0.9a-12) are abstracted here, omitting details of their packaging: 1884217309Snwhitehorn 1885217309Snwhitehorn1998/05/24 1886217309Snwhitehorn 1887217309Snwhitehorn + Replaced guage.c by the one in dialog 0.6z, which is known to work. 1888251843Sbapt Fixes Debian #18284: unstable dialog. 1889217309Snwhitehorn 1890217309Snwhitehorn1997/12/16 1891217309Snwhitehorn 1892217309Snwhitehorn + dialog.c: dialog_input_result printed with "%s" format. This was 1893251843Sbapt Debian #9913, fixed by Bill Mitchell, but the change was lost. 1894217309Snwhitehorn + Pristine source, .depend is not removed in clean target. Instead, it 1895251843Sbapt is made zero length (otherwise it would not work *without* fakeroot). 1896251843Sbapt + Added '^U' support in input box (Debian #9915, patch by Joey Hess). 1897251843Sbapt + Wrote patch to fix core-dumping problem (Debian #13170). Sven Rudolph 1898217309Snwhitehorn <sr1@inf.tu-dresden.de>: 1899217309Snwhitehorn 1900217309Snwhitehorn-- vile:fk=8bit 1901