1139826Simp-- $Id: CHANGES,v 1.723 2021/01/17 20:21:41 tom Exp $
253541Sshin-- Thomas E. Dickey <dickey@invisible-island.net>
353541Sshin
453541SshinThis version of dialog was originally from a Debian snapshot.  I've done this
553541Sshinto it:
653541Sshin
753541Sshin2021/01/17
853541Sshin	+ updated dialog.pot
953541Sshin	+ add option --no-hot-list, to allow suppressing the hotkey feature
1053541Sshin	  from lists.
1153541Sshin	+ increase minimum height of inputbox to avoid input field overlapping
1253541Sshin	  with the button-box (report by Victor Ananjevsky).
1353541Sshin	+ modify options-parsing to permit a "no" on any boolean option and
1453541Sshin	  deprecating the "no" options without a "-" , e.g., generalizing on
1553541Sshin	  "--nook" equivalence to "--no-ok".
1653541Sshin
1753541Sshin2021/01/12
1853541Sshin	+ minor spelling fixes, per codespell
1953541Sshin	+ update configure macros, for quoting/escaping fixes per shellcheck
2053541Sshin	+ update config.guess, config.sub
2153541Sshin
2253541Sshin2020/11/26
2353541Sshin	+ modify configure script's compiler check to work around Xcode's
2453541Sshin	  useless aliases for standard C.
2553541Sshin	+ enable keep-tite feature for NetBSD 8 and up; earlier releases would
2653541Sshin	  dump core.
2753541Sshin	> new features/fixes (Glenn Herteg)
2853541Sshin	+ add option "--cursor-off-label"
2953541Sshin	+ add option "--erase-on-exit"
30139826Simp	+ fix errata in manpage.
3153541Sshin	+ fix logic: dlg_button_to_char() would return wrong value if no
32180305Srwatson	  uppercase was found
33180305Srwatson
3453541Sshin2020/11/25
3553541Sshin	+ add DIALOG_TIMEOUT to sample scripts, and use report-button more
3653541Sshin	  consistently to handle unexpected exit-status values.
3753541Sshin
3853541Sshin2020/11/24
3953541Sshin	+ add dlg_getenv_num() and dlg_getenv_str().
4053541Sshin	+ add DLG_EXIT_TIMEOUT to allow scripts to exit on an expired timeout
4153541Sshin	  with an exit-status different from DLG_EXIT_ERROR or DLG_EXIT_ESC
4253541Sshin	  (patch by Norbert Koch).
4353541Sshin
4453541Sshin2020/11/23
4553541Sshin	+ modify dlg_ok_label() and dlg_ok_labels() to ignore --no-ok if all
4653541Sshin	  buttons would be omitted.
4753541Sshin	+ add/use dlg_der_window() to account for derived windows just like
4853541Sshin	  subwindows, to fix regression in dlg_getc() in fselect/dselect
4953541Sshin	  widget.
5053541Sshin	+ modify several widgets to make their handling of --no-ok consistent
5153541Sshin	  with the majority of the widgets: editbox.c, menubox.c, msgbox.c,
5253541Sshin	  rangebox.c, textbox.c, timebox.c
5353541Sshin	+ add ^D as binding for new virtual key DLGK_LEAVE, which will close
5453541Sshin	  the current dialog by activating the currently-selected button.
5553541Sshin	+ improve manual-page description of --no-ok option (reports by
5653541Sshin	  Hans Mueller, Gil Delescluse).
5753541Sshin	+ modify configure script to make Solaris -R rpath feature work
5853541Sshin
5953541Sshin2020/11/21
6053541Sshin	+ fix regression in dlg_getc() caused by not taking into account
6153541Sshin	  subwindows used for input (report by Michael Wihl).
62174510Sobrien
63174510Sobrien2020/11/20
64174510Sobrien	+ add validity-checks for window pointer (report/testcase by Michael
6555009Sshin	  Wihl).
6678064Sume	+ improve configure macros:
6755009Sshin	  CF_CLANG_COMPILER: apply compiler-flags needed for test.
6853541Sshin	  CF_WITH_SCREEN_PDCURSES: use this to reduce X11-checks.
6995759Stanimura
70185435Sbz2020/11/17
7195759Stanimura	+ amend initialization for dlg_getc to fix regression in pause widget
7253541Sshin	  from 2020/03/27 changes (reports by Aidan Tessier, Norbert Koch,
7395759Stanimura	  Josmar Pierri).
74170689Srwatson	+ improve configure macros:
7553541Sshin	  CF_CLANG_COMPILER: split-out check for -Qunused-arguments to ensure
7695759Stanimura	  that clang supports it.  IBM xlclang does not.
7795759Stanimura	  CF_MIXEDCASE_FILENAMES: when cross-compiling to darwin (macOS),
7853541Sshin	  assume the filesystem doesn't support mixed-case
7953541Sshin
8095759Stanimura2020/09/21
81148385Sume	+ modify init_dialog's initialization of tab_len and aspect_ratio to
8253541Sshin	  avoid overwriting initialization done in process_common_options
8353541Sshin	  (report/patch by Rainer Weikusat, Debian #970508).
8495759Stanimura
8553541Sshin2020/09/13
86185571Sbz	+ fix out-of-order description for --tailbox vs --rangebox in manpage
8753541Sshin	  (report by Glenn Herteg).
8853541Sshin	+ updated configure-macros: compiler-warnings and shared-library
8953541Sshin	  options.  Changed configure --with-warnings to --enable-warnings for
9053541Sshin	  consistency.
91185571Sbz	+ update config.guess
92185571Sbz
9395759Stanimura2020/04/01
9462587Sitojun	+ updated sq.po from
95211501Sanchie		http://translationproject.org/latest/dialog/
9695759Stanimura
9756723Sshin2020/03/27
9853541Sshin	+ add clarification in manual page to show when the single/double
9995759Stanimura	  quotes may be needed (prompted by discussion with Danilo G Baio).
10053541Sshin	+ fix an extra ".exe" in makefile.in which prevented Cygwin build.
10195759Stanimura	+ fix most cppcheck warnings
10262587Sitojun	+ tailbox/tailboxbg's exit-button now works with mouse-clicks
103211501Sanchie	+ fix repainting while resizing for the editbox widget.
10453541Sshin	+ add configure-check for curses_exit() from ncurses 6.2
105171167Sgnn	+ fix a few memory leaks in fselect.c, mixedgauge.c when resizing.
106105199Ssam	+ fix inconsistency in dlg_string_to_argv() which made the checklist9
107105199Ssam	  example not work.
108171167Sgnn	+ add empty-string check in dlg_print_listitem() to avoid indexing past
109105199Ssam	  the end of the array of character-offsets.
11053541Sshin	+ improve handling of KEY_RESIZE by repainting the backtitle after
11153541Sshin	  clearing the screen (integrated patch by Rainer Weikusat, Debian
11253541Sshin	  #954185).
11353541Sshin	+ improve logic for wtimeout() calls which are used to set temporary
11453541Sshin	  non-blocking reads (prompted by patch by Rainer Weikusat, Debian
11553541Sshin	  #954220).
11653541Sshin	+ add "make check" rule.
11753541Sshin	+ updated configure-macros.
11853541Sshin
119195699Srwatson2020/02/28
120195699Srwatson	+ updated configure-macros, to work around ncurses vs xcode's c99 -W
121195727Srwatson	+ update config.guess
122195727Srwatson
123185348Szec2019/12/31
12453541Sshin	+ updated configure-macros.
12553541Sshin	+ update config.guess
12653541Sshin
127207369Sbz2019/12/10
128207369Sbz	+ correct rc-file lookup of "default" color (report by Grady Martin,
12953541Sshin	  cf: 2019/09/24).
130191672Sbms	+ fix several issues in the sample scripts reported by shellcheck.
131191672Sbms	+ fix a few spelling errors reported by codespell (report by Jens
132166938Sbms	  Schleusener).
133191672Sbms	+ correct check for return-value of isblank(), which is not necessarily
134191672Sbms	  0/1 (report/patch by Paul Cercueil, Peter Korsgaard, cf: 2018/05/31).
135191672Sbms
136191672Sbms2019/12/09
137195699Srwatson	+ amend change for parsing command-options before calling init_dialog,
138191672Sbms	  to handle --no-shadow, etc., which are initialized in init_dialog
139191672Sbms	  (report by Paul Cercueil, cf: 2018/06/21).
140191672Sbms	+ add dlg_trace_va_msg to manpage, symbol files.
141191672Sbms
142166938Sbms2019/11/10
143166938Sbms	+ improve layout of several widgets' data area when maximizing. 
144166938Sbms	+ modify dselect/fselect to work with autosizing (Debian #915949).
145166938Sbms	+ add error messages from dlg_exiterr() to trace file.
146194581Srdivacky	+ improve manual page description of escaping in key-bindings.
147166938Sbms	+ modify inputmenu to recognize the "Cancel" button and keys bound to
148166938Sbms	  that feature while editing a renamed menu item.
149180305Srwatson	+ revert one change, in form.c to the --last-key feature (Debian
150180305Srwatson	  #942025).
15153541Sshin	+ correct ordering of libraries in configure-script, which appended
15253541Sshin	  in a case where it should have prepended.
153171259Sdelphij	+ update config.guess, config.sub
15453541Sshin
155191672Sbms2019/09/26
15653541Sshin	+ improve dialog-config script's filtering of -L options using the
15753541Sshin	  linker default directories.
15853541Sshin	+ improve dialog-config script, adding a -L option corresponding to
15953541Sshin	  the configure --libdir option if it would be a duplicate (report by
16078064Sume	  Andrew Kosteltsev).
161121901Sume	+ build-fix for configure --disable-trace
16253541Sshin	+ updated pt.po from
163181803Sbz		http://translationproject.org/latest/dialog/
16478064Sume
16583934Sbrooks2019/09/24
166180305Srwatson	+ allow for underline- and reverse-video flags in the ".rc" file
16778064Sume	  (integrated patch by Richard Robbins).
168180305Srwatson
16953541Sshin2019/08/08
17078064Sume	+ amend change to --last-key feature to eliminate an unnecessary
171121901Sume	  separator (report by Gabriele Balducci).
17253541Sshin
173191672Sbms2019/08/06
174191672Sbms	+ extend --last-key feature to the remaining widgets which have
175181803Sbz	  ok/cancel buttons, and add logic to map keys which happen to be
176181803Sbz	  bound to ok/extra/cancel/help to simulate a button-press on the
177185435Sbz	  corresponding button (report by "sgewrk"). 
178186141Sbz
17953541Sshin2019/08/01
180186141Sbz	+ further fixes for dialog-config.in (report by Andrew Kosteltsev).
181186141Sbz
182180850Smav2019/07/28
18353541Sshin	+ modify dialog-config.in so that setting prefix or exec-prefix to
18453541Sshin	  a given value with --prefix=VALUE or --exec-prefix=VALUE has the
185180850Smav	  expected result of changing bindir, etc.
18653541Sshin	+ correct substitution for $LIBS value in dialog-config.in (report by
18753541Sshin	  Andrew Kosteltsev).
188180850Smav
189200473Sbz2019/07/24
190191672Sbms	+ modify dlg_will_resize() and dlg_result_key() functions to reduce
191191672Sbms	  the chance that dialog exits on a SIGWINCH (Debian #930775).
192191672Sbms	+ make test-package for the development headers/library
193191672Sbms	+ add --libs-only-L, etc., to dialog-config script (prompted by
194191672Sbms	  discussion with Andrew Kosteltsev).
195191672Sbms	+ fix a memory leak in gauge widget (Andrew Kosteltsev).
196191672Sbms	+ minor fix for CF_GCC_WARNINGS
197191672Sbms	+ update config.guess, config.sub
198191672Sbms
199191672Sbms2019/02/11
20078064Sume	+ modify to work with ncurses' threaded-library, which does not allow
201181803Sbz	  assignment to LINES/COLS (report by Marcus Roeckrath).
202151459Ssuz	+ correct clearing after text in progressbox from 2018/06/21 changes
20378064Sume	  for resizing (reports by David Boyd, Alan Somers).
204180932Smav	+ improved configure macros CF_GNU_SOURCE, CF_POSIX_C_SOURCE,
205181803Sbz	  CF_XOPEN_SOURCE
206180850Smav	+ update config.guess, config.sub
20778064Sume
20853541Sshin2018/11/07
209191672Sbms	+ convert ja.po to UTF-8 for consistency (suggested by Stanislav
210191672Sbms	  Brabec).
211191672Sbms	+ repair mis-encoded hi.po (report/analysis by Stanislav Brabec).
212191672Sbms
213191672Sbms2018/10/22
214191672Sbms	+ improved configure macros CF_CC_ENV_FLAGS, CF_LD_RPATH_OPT,
215191672Sbms	  CF_LIBRARY_PATH, CF_SHARED_OPTS, CF_WITH_MAN2HTML,
216191672Sbms	  CF_WITH_VERSIONED_SYMS from ncurses
217191672Sbms	+ add ast.po, from
218199518Sbms		http://translationproject.org/latest/dialog/
219199518Sbms
220199518Sbms2018/06/21
221199518Sbms	+ improve file-offset computation in textbox.c (Werner Fink).
222199518Sbms	+ fix an overlooked case with real_auto_size() to maximize when
223199518Sbms	  height or width is given as -1.
224199518Sbms	+ build-fixes for configure options "--disable-Xdialog2" and
225199518Sbms	  "--disable-form"
226199518Sbms	+ add traces for each widget to show its parameters.
227199518Sbms	+ modify color scheme for mixedgauge to use the dialog window colors,
228199518Sbms	  like the captions.
229199518Sbms	+ fix a too-small malloc in the mixedgauge widget.
230199518Sbms	+ fix a use-after-free in dlg_remove_callback().
231199518Sbms	+ improve handling of SIGWINCH for several widgets (Debian #865840).
232199518Sbms	  + menubox, the point of the Debian report was that it would be nice
233199518Sbms	    to increase the window size if the terminal size increases.  Did
234199518Sbms	    that as a special case less problematic than decreasing the
235191672Sbms	    terminal size.  Added samples/menubox11 to demonstrate by
236191672Sbms	    comparison with menubox10 a problem with debconf which puts extra
237199518Sbms	    newlines in the caption that interfere with autowrap.
238199518Sbms	  + progressbox and derived prgbox, programbox, now handle resizing.
239199518Sbms	  + yesno, window was cleared
240191672Sbms	+ add dlg_ttysize() to support new options, allowing scripts to obtain
241199518Sbms	  some text-formatting details without initializing the terminal.
242199518Sbms	+ add options --print-text-only, and --print-text-size for scripts that
243199518Sbms	  adjust the widget size according to how the captions are formatted.
244199518Sbms	+ improve dialog.pl:
245199518Sbms	  + add demo.pl, to demonstrate the functions
246199518Sbms	  + quote/escape string parameters passed to dialog.
247199518Sbms	  + ensure all "integer" parameters are really integers.
248199518Sbms	  + use actual screensize for list captions rather than assuming 24
249199518Sbms	    lines.
250199518Sbms	+ when trimming blanks, treat unconverted tabs the same as spaces.
251191672Sbms	+ correct parameter to test when trimming blanks from the script,
252191672Sbms	  e.g., with "--trim" (report by Jarno Suni).
253211301Sbz	+ improve documentation of the various whitespace-filtering options,
254191672Sbms	  to show which take precedence (Debian #867536, cf: Debian #102942).
255191672Sbms	+ modify msgbox.c, yesno.c to bind SCROLLKEY_BINDINGS before
256191672Sbms	  TRAVERSE_BINDINGS so that up/down arrow will by default scroll the
257186163Skmacy	  message up/down rather than be aliases for tab-traversal (report by
25853541Sshin	  Fredrik Kers).
25978064Sume	+ modify dump_one_binding() to show when a binding is overridden.
260171167Sgnn	+ improve format of trace-file, making comment-syntax consistent,
26178064Sume	  as well as showing argv-splitting as a series of comments.
26278064Sume	+ modify dlg_string_to_argv() to change the quoting behavior to be
26378064Sume	  more consistent with shell behavior (patch by Denilson Sa Maia).
264125396Sume	+ modify dlg_getc() to return ESC when a timeout expires, notifying
26578064Sume	  callers that a quit occurred rather than exiting the application
266181803Sbz	  (suggested by Rodrigo Freitas).
267180305Srwatson	+ modify handle_inputs() to ensure cursor-visibility is restored when
268105199Ssam	  there is no input character available (report by Guillaume Vareille).
269171167Sgnn	+ improve comment in manual page regarding which widgets can use the
27053541Sshin	  "--help-button" (prompted by discussion with Csanyi Pal).
271186223Sbz	+ add a check for valid object pointer in tailbox's main loop since
272186141Sbz	  the getc-callback may have been freed within ui_getc.c (report by
273121674Sume	  "David").
27453541Sshin	+ improved configure macros for ncurses: CF_GNU_SOURCE, CF_SHARED_OPTS,
27553541Sshin	  CF_CURSES_LIBS, CF_CURSES_FUNCS, CF_NCURSES_CONFIG
276186141Sbz	+ improved configure script checks for groff vs man2html: 
277121901Sume	  CF_PROG_GROFF and CF_WITH_MAN2HTML
27853541Sshin	+ build-fix from lynx for AM_WITH_NLS configure macro
27953541Sshin	+ update config.guess, config.sub
28053541Sshin
28153541Sshin2017/12/09
282181803Sbz	+ update ftp url in test-packages.
28397658Stanimura	+ modify test-packages to use recommended compiler/linker flags.
284186141Sbz	+ improved configure macros AM_WITH_NLS, CF_CC_ENV_FLAGS,
28553541Sshin	  CF_CURSES_LIBS, CF_NCURSES_CONFIG, CF_SHARED_OPTS, CF_WITH_LIBTOOL,
28653541Sshin	  CF__INTL_BODY.
287178377Srwatson	+ update config.guess, config.sub
28853541Sshin
28953541Sshin2017/05/09
29053541Sshin	+ improved configure macros CF_ADD_CFLAGS, CF_CC_ENV_FLAGS, and
291181803Sbz	  CF_SHARED_OPTS.
292171167Sgnn	+ updated hu.po and tr.po from
29378064Sume		http://translationproject.org/latest/dialog/
29478064Sume	+ update config.guess, config.sub
29578064Sume
296186170Skmacy2017/01/31
29778064Sume	+ use DLG_TRACE macro consistently to make "--disable-trace" configure
298181803Sbz	  option work.
299181803Sbz	+ modify buildlist widget to support option "--reorder" for to allow
300180305Srwatson	  user to reorder the data based on the sequence of selections
301178377Srwatson	  (discussion with Paraic O'Ceallaigh).
302105199Ssam	+ fill background color on unused parts of buildlist.
303171167Sgnn	+ fix a minor error in buildlist which let pageup switch columns.
304186163Skmacy	+ change several calls to dlg_trace_msg to prefix with "#" to make
305186223Sbz	  the trace logs more consistent for parsing.
306186141Sbz	+ add samples/run_test.sh
307121674Sume	+ further improve performance with very long command-lines by changes
308180305Srwatson	  to howmany_tags().
30953541Sshin	+ modify dlg_string_to_argv() to convert escaped double-quotes to
310186141Sbz	  plain double-quotes when within a double-quoted string.
311180305Srwatson	+ modify makefile to apply CFLAGS to linking
31253541Sshin	+ modify dlg_string_to_argv() to ignore escaped newlines except when
31353541Sshin	  quoted, fixing a problem with samples/checklist9.
31453541Sshin	+ interpret $DIALOGOPTS before expanding "--file", etc., to allow
315181803Sbz	  the environment variable to turn on tracing in that process.
31697658Stanimura	+ improve performance when processing very long command lines, e.g.,
317186141Sbz	  using "--file" by changing dialog_opts[] to an array of pointers to
318178377Srwatson	  the expanded argv[] (discussion with Lars Tauber).
31953541Sshin	+ modified autoconf macros
320181803Sbz	  + CF_CC_ENV_FLAGS amend the last change to move only the
32178064Sume	    preprocessor, optimization and warning flags to CPPFLAGS and
322181803Sbz	    CFLAGS, leaving the residue in CC.  That happens to work for gcc's
32353541Sshin	    various "model" options, but may require tuning for other compilers
32453541Sshin	  + CF_LARGEFILE workaround for clang exit-code vs warnings
32553541Sshin	  + CF_MATH_LIB quiet strict gcc warning
32653541Sshin	  + CF_WITH_LIBTOOL fix a few places in configure/build scripts where
32753541Sshin	    DESTDIR and rpath were combined
328180305Srwatson	  + CF_XOPEN_SOURCE add "uclinux" to list of Linux's
329180305Srwatson	+ update config.guess, config.sub
33053541Sshin
331181803Sbz2016/11/20
33253541Sshin	+ added fur.po (Friulian) from
333180305Srwatson		http://translationproject.org/latest/dialog/
33453541Sshin
33553541Sshin2016/08/28
33662587Sitojun	+ improve parsing and trace for "bindkey", to convert space to/from
337171259Sdelphij	  "\s", as well as handle octal escapes for single byte characters.
33862587Sitojun	+ change explicit checks for space character used for select or toggle
33962587Sitojun	  to make this rebindable to "TOGGLE" (prompted by discussion with
34062587Sitojun	  Paul van Tilburg).
34162587Sitojun	+ add default bindings for cursor left/right to formbox.  The cursor
34278064Sume	  left/right cases were replaced with rebindable symbols in 2005/12/07
34378064Sume	  without providing these keys as default values (report/patch by
344125776Sume	  Miroslav Lichvar).
345175162Sobrien	+ modified autoconf macros
34662587Sitojun	  + CF_PROG_LINT add cpplint to programs to use; drop ad hoc tdlint and
34762587Sitojun	    alint.
34862587Sitojun	  + CF_CC_ENV_FLAGS don't limit the check to -I, -U and -D options,
34962587Sitojun	    since the added options can include various compiler options before
35062587Sitojun	    and after preprocessor options.
35162587Sitojun	  + CF_GNU_SOURCE recent glibc (Debian 2.23-4 for example) has
35262587Sitojun	    misordered ifdef/checks for new symbol _DEFAULT_SOURCE, producing
35362587Sitojun	    warning messages when only _GNU_SOURCE is defined.  Add a followup
35462587Sitojun	    check to define _DEFAULT_SOURCE.
35562587Sitojun	  + CF_XOPEN_SOURCE use _GNU_SOURCE for cygwin headers, tested with
35662587Sitojun	    cygwin 2.3, 2.5 (patch by Corinna Vinschen).
35762587Sitojun	+ mention --no-collapse option in manual page description of
35862587Sitojun	  --tab-correct option.
35962587Sitojun	+ update config.guess, config.sub
360180305Srwatson
361180305Srwatson2016/04/24
362180305Srwatson	+ fix a special case in drawing shadow on a line-drawing cell where the
36362587Sitojun	  alternate-character set flag was lost (report by Martin Kravec).
36478064Sume	+ fix a regression from 2015/05/13 changes for escaping; it is
36562587Sitojun	  necessary to retain backslashes within quotes to make "\Z" escapes
36662587Sitojun	  work (report by Marcin Krol).
36762587Sitojun	+ fix test package for RPMs; changes in 2015 omitted symbolic links
368125776Sume	  for the library.
36978064Sume	+ fix typo in help message for "--buildlist" (report by Rihards Olups).
37062587Sitojun	+ modified autoconf macros
37162587Sitojun	  + CF_PROG_AR, CF_AR_FLAGS added to improve check for archive tool.
37262587Sitojun	  + CF_LD_RPATH_OPT, change FreeBSD to use -Wl,-rpath rather than
373125776Sume	    -rpath option.  According to FreeBSD #178732, either works since
37478064Sume	    FreeBSD 4.x; however scons does not accept anything except the
37562587Sitojun	    -Wl,-rpath form.
37662587Sitojun	  + CF_WITH_NCURSES_ETC, change from ncurses to check for pthreads
377181803Sbz	    dependency.
378180305Srwatson
37962587Sitojun2016/02/09
38062587Sitojun	+ modify editbox widget to add a trailing newline if the text has none
38153541Sshin	  to ensure the last line is not ignored (report by Florent Rougon).
382180305Srwatson	+ change mouse initialization to look for button-presses rather than
383180305Srwatson	  button-clicks, for better response.
38453541Sshin	+ modify dump_curses_key() to show mouse-coding in readable form.
38553541Sshin	+ correct mapping of mouse-clicks on the day-grid in calendar widget
38653541Sshin	  when "--week-start" is used to set the start of the week (report by
38753541Sshin	  Stefan Vogtner).
38853541Sshin	> integrated changes from Stefan Vogtner:
38953541Sshin	+ use Gregorian algorithm for leap year
39053541Sshin	+ use mktime if available; calendar was written just as it became
39153541Sshin	  standard.
39253541Sshin
39353541Sshin2016/01/26 - release 1.3
394120941Sume	+ correct --infobox documentation, which said it shows an OK button.
395211501Sanchie	+ fix a couple of place in test-scripts which referred to $SIG_TRAP
39653541Sshin	  rather than $SIG_QUIT
39753541Sshin	+ reorganize dialog.3, to use subsections for generating navigation
39853541Sshin	  pane, using man2html
39953541Sshin	+ add "--week-start" option for calendar widget (prompted by discussion
40053541Sshin	  with Stefan Vogtner).
40153541Sshin	+ add a limit-check in editbox.c to ensure that mouse-clicks outside
40253541Sshin	  the filled-in text area do not access past the end of the array
403148247Sume	  (report by Stefan Vogtner).
40453541Sshin	+ update configure macros from ncurses changes.
40553541Sshin	+ update config.guess, config.sub
406148385Sume
407211435Sume2015/09/20
408194777Sbz	+ decrease table value for minimum number of arguments for the widgets
40953541Sshin	  which use --no-items option (report by Raven Singularity).
41053541Sshin	+ update configure macros:
41153541Sshin	  + use $SHELL consistently, deprecate non-POSIX shell
41253541Sshin	  + PKG_CONFIG may simply be unset - fix
41353541Sshin	  + add option to allow changing ABI version, from ncurses6.
41453541Sshin
41553541Sshin2015/05/28
41653541Sshin	+ fixes for two autoconf macros, CF_ADD_INCDIR and CF_NCURSES_CONFIG
417186141Sbz	  from work on ncurses.
418178285Srwatson	+ build-fix for NetBSD curses (patch by Matthias Scheler).
41953541Sshin
42053541Sshin2015/05/13
421186170Skmacy	+ add configure option --with-install-prefix, like ncurses.
422148242Sume	+ add --with-screen and related configure options from ncurses-examples
423175630Sbz	  to allow building with ncurses6 test-packages.
424175630Sbz	+ update configure macros for improved coding style from lynx changes.
42553541Sshin	+ updated ro.po from
426121472Sume		http://translationproject.org/latest/dialog/
427148247Sume	+ update config.guess, config.sub
428148247Sume	> patches by Florent Rougon:
429148247Sume	+ fix two bugs in the "--file" option.
43053541Sshin	  + When the number of arguments read from the included file is 0, the
43153541Sshin	    code used to just skip over '--file' and its argument instead of
432148385Sume	    removing them from the argument list, causing "Error:  Unknown
433180305Srwatson	    option --file" later on.
434148385Sume	  + In the alternative case (at least one argument read from the file),
435148385Sume	    the previous code used to do '--j;' in order to "force rescan" of
436148385Sume	    the inserted arguments.  However, control then flowed to outer
437211435Sume	    blocks where a '++j;' counteracted this measure, causing "Error: 
438211435Sume	    Unknown option --msgbox" (for instance) later on.
439211435Sume	+ modify escaping in argv.c to be more uniform, whether or not the
440148385Sume	  backslash is found within a parameter.
441211435Sume
442148385Sume2015/02/25
443148385Sume	+ modify gauge widget to keep from erasing a second gauge widget, e.g.,
444148385Sume	  via the "--and-widget" option.  This is a cosmetic change to match
445148385Sume	  behavior of dialog 1.0 (report by Jason Orendorf).
446180305Srwatson	+ add configure option "--with-man2html"
447180305Srwatson	+ add configure options for versioned symbols, from ongoing work on
44853541Sshin	  ncurses.
44953541Sshin	+ update configure macros, e.g., for shared libraries
45053541Sshin
45153541Sshin2015/01/25
45253541Sshin	+ suppress highlighting of character which denotes an abbreviation or
45353541Sshin	  shortcut for the OK/Cancel and other buttons for these widgets, which
45453541Sshin	  use abbreviations for the list shown on the screen:  buildlist,
45553541Sshin	  checklist/radiobox, menubox, treeview (Debian #775295).
45653541Sshin	+ add grid up/left and down/right bindings in editbox.c as synonyms for
45753541Sshin	  field prev and next, respectively when handling the OK/Cancel buttons
45853541Sshin	  (Debian #775294).
45953541Sshin
46053541Sshin2014/09/11
461133592Srwatson	+ correct malloc-size for change to prgbox.
462133592Srwatson
463133592Srwatson2014/09/10
464133592Srwatson	+ fixes to make "-c" option work when passing command to shell for the
465133592Srwatson	  prgbox widget, for example in samples/prgbox2 (report by Korantin
46653541Sshin	  Auguste).
46753541Sshin
46853541Sshin2014/09/08
46953541Sshin	+ fix an out-of-bounds array index in buildlist widget (report by
47053541Sshin	  Cade Foster).
471194777Sbz
472194777Sbz2014/09/01
473194777Sbz	+ add configure check for groff, needed for html/ps/pdf output.
474121472Sume	+ update configure-script macros:
475207277Sbz	  + CF_ACVERSION_CHECK - work around another gratuitous incompatibility
476188144Sjamie	    introduced in 2.69
477188144Sjamie	  + CF_ADD_CFLAGS - workaround for ash-shell, e.g., with Minix
478194777Sbz	  + CF_ADD_LIBS - filter out duplicates
479148385Sume	  + CF_CURSES_FUNCS - improve workaround for weak-linkage, seems to fix
480148385Sume	    tests with NetBSD 6.1
481148385Sume	  + CF_INTEL_COMPILER - clean up the -no-gcc option which was leftover
482148385Sume	    from testing.
483148385Sume	  + CF_LIB_SUFFIX - change suffix for AIX shared libraries to ".so".
484148385Sume	  + CF_MAKEFLAGS - workaround for GNU make 4.0 incompatibility with
485148385Sume	    previous releases.
486148385Sume	  + CF_XOPEN_SOURCE - add cases for Minix, UnixWare and improve the
487148385Sume	    workaround for Solaris.
488148385Sume	+ improve comparison in compare_cache() function, in case difference
489148385Sume	  between pointers does not fit in int's.
490148385Sume	+ updated de.po, es.po, hu.po, lv.po from
491148385Sume		http://translationproject.org/latest/dialog/
492148385Sume	+ update config.guess, config.sub
493148385Sume
494148385Sume2014/02/19
495180305Srwatson	+ cleanup of manpages prompted by Gislason's comments.
496180305Srwatson	+ several changes to manpages to improve presentation (patches by
497180305Srwatson	  Bjarni I. Gislason, Debian #739180, Debian #739181)
49855009Sshin	  + use "\/" when transitioning from italic to normal font
499186141Sbz	  + correct an instance of "e.g,."
50055009Sshin	  + use "\e" rather than "\\" to present a literal "\"
501180305Srwatson	  + improve formatting of table header
502180305Srwatson	  + remove some excess space-characters
503180305Srwatson	  + change a reference 0-9 to use "through" as the connector
504180305Srwatson	  + use "\&" to separate "." from a space to make the space shorter
505180305Srwatson	  + change a list's TP macro parameters to make the hanging text align
506186141Sbz	    better with the adjacent paragraph
50753541Sshin	  + add comma in a few places before "and" in a list
50853541Sshin	  + separate units from numbers with a nonfillable space
50953541Sshin	  + replace "-" with en-dash in a few places
51053541Sshin	+ corrected argument indices after "--args" and "--file" to rescan the
51153541Sshin	  argument list after removing/substituting those options.
51253541Sshin	+ fix loops for "--file" option to handle cases with zero or no tokens at
51353541Sshin	  all substituted (Redhat #1066168).
51453541Sshin	+ add gd.po from
515180305Srwatson		http://translationproject.org/latest/dialog/
51653541Sshin
51753541Sshin2014/01/12
51853541Sshin	+ improve calculation for amount to scroll in programbox when an "Ok"
51953541Sshin	  button might obscure part of the data (report by Florent Rougon).
52053541Sshin	+ modify program to permit --separate-output to be used with buildlist
52153541Sshin	  and treeview widgets (report by Florent Rougon).
52253541Sshin	+ add list-height parameter to manpage description of --buildlist
52353541Sshin	  (report by Florent Rougon).
52453541Sshin	+ minor fixes to dialog.1 manpage; the reported problem was actually
52553541Sshin	  fixed in 20120703 (Debian #726233, patch by Bjarni Ingi Gislason).
52653541Sshin	+ add a "Hello World" example to dialog.3 manpage (prompted by
52753541Sshin	  discussions with Dustin Oprea, Kevin Ingwersen).
52853541Sshin	+ correct comparison in dlg_lookup_key() so that using "bindkey" with
52953541Sshin	  a "*" wildcard parameter works as documented (report by Stewart
53053541Sshin	  Benedict).
53153541Sshin	+ updated configure macros, fixes for clang and mingw.
53253541Sshin	+ update config.guess, config.sub
53353541Sshin
53453541Sshin2013/09/28
53553541Sshin	+ fix a regression in gauge widget from 2013/09/28 changes;
53653541Sshin	  dlg_reallocate_gauge() failed when no --title option was given
53753541Sshin	  (report by Tritonas Insomnia).
538211501Sanchie
539211501Sanchie2013/09/23
540211501Sanchie	+ fix samples/inputbox6-utf8, which had depended unnecessarily on bash.
541211501Sanchie	+ improve memory caching for wide-character manipulation in gauge
542211501Sanchie	  widget (report by Devin Teske).
543211501Sanchie	+ add dlg_reallocate_gauge (discussion with Devin Teske).
544211501Sanchie	+ updated configure macros to use msys changes from ncurses.
545211501Sanchie	+ update config.guess, config.sub
546211501Sanchie
547211501Sanchie2013/09/02
548211501Sanchie	+ modify makefile rule to make the ".png" filenames created by groff
549211501Sanchie	  predictable.
550211501Sanchie	+ add option --help-tags to allow scripts to get the item's tag field
551211501Sanchie	  consistently from help- and help-item button results rather than
552211501Sanchie	  getting the item's text for the latter (discussion with Florent
553211501Sanchie	  Rougon).
554211501Sanchie	+ correct manpage discussion of DIALOG_ITEM_HELP versus --item-help,
555148247Sume	  as well as --help-button return status (report by Florent Rougon).
55653541Sshin	+ correct limit used for --hline option (report by Devin Teske,
55753541Sshin	  cf: 2011/06/30).
55853541Sshin	+ do not print empty "[]" if a --hline option was given with an empty
559190964Srwatson	  value (report by Devin Teske).
56078064Sume	+ miscellaneous configure script fixes/updates.  In particular, add
561181803Sbz	  option --with-shared which builds shared libraries without a libtool
56253541Sshin	  dependency.
56353541Sshin	+ add FreeBSD port-files for test-builds.
56453541Sshin	+ update lt.po, add fa.po from
56553541Sshin		http://translationproject.org/latest/dialog/
56653541Sshin	+ update config.guess, config.sub
56753541Sshin
56853541Sshin2013/05/23
56953541Sshin	+ modify ifdef in arrows.c to work around packages which use the
570186170Skmacy	  wide-character ncursesw headers with the ncurses library (report
571148247Sume	  by Aleksey Cheusov).
57253541Sshin	+ correct workaround for xterm alternate-screen to work with/without
57378064Sume	  the fix made in ncurses that makes putp() always write to the
574178285Srwatson	  standard output (Debian #708829).
575120856Sume	+ improve limit-checks for checklist, in case the dialog is resized
57653541Sshin	  (report by Ilya A Arkhipov).
57753541Sshin	+ add --last-key option (adapted from patch by Jordi Pujol, Debian
57853541Sshin	  #697607).
57953541Sshin
58053541Sshin2013/03/15
58153541Sshin	+ update zh_TW.po, add an.po from
582171259Sdelphij		http://translationproject.org/latest/dialog/
58353541Sshin
58453541Sshin2012/12/30 - release 1.2
58553541Sshin	+ improve some older changelog entries to help with HTML'izing content.
58653541Sshin	+ various fixes/improvements for scrollbar appearance.
58753541Sshin	+ add mappings for some equivalent options provided by whiptail;
58853541Sshin	  add configure option --disable-whiptail to allow suppressing these.
58953541Sshin	+ add configure option --disable-Xdialog2 to allow suppressing the
59053541Sshin	  newer features, i.e., for cdialog 1.2
591120856Sume	+ add --no-items option, for consistency.
59253541Sshin	+ add --no-tags option, like Xdialog.
59353541Sshin	+ add buildlist, rangebox and treeview dialogs, like Xdialog.
59453541Sshin	+ remove obsolete workaround for ncurses 4.2 scrolling in checklist
59553541Sshin	  and menubox.
59653541Sshin	+ improve dialog_helpfile() by preventing it from showing extra buttons
59753541Sshin	  (suggested by xDog Walker).
59853541Sshin	+ correct logic in formbox's scroll_next() function (report by xDog
59953541Sshin	  Walker).
60056723Sshin	+ fix a case with inputbox widget where preset input text is not shown
60156723Sshin	  until moving the cursor within the text (report by xDog Walker).
60256723Sshin	+ handle SIGCHLD in dialog_prgbox() to eliminate defunct processes
60356723Sshin	  (report by xDog Walker).
60456723Sshin	+ improve the way "hotkeys" are assigned to widget buttons by checking
60556723Sshin	  if a given key has already been used in the row of buttons (Debian
60656723Sshin	  #684933).
607166938Sbms	+ amend fix for --trace parsing from 2012/07/03, which sometimes
608166938Sbms	  skipped a parameter (report by xDog Walker).
60956723Sshin	+ drop copismall and install files from samples, which were essentially
610121578Sume	  nonfunctional.
611121578Sume	+ correct secondary border colors in samples/slackware.rc and
612121578Sume	  samples/whiptail.rc
61353541Sshin	+ update gl.po, add ia.po from
61453541Sshin		http://translationproject.org/latest/dialog/
61553541Sshin	+ fix various issues reported by coverity scan.
61653541Sshin	+ miscellaneous configure script fixes/updates:
61753541Sshin	  + require autoconf 2.52+patches
61853541Sshin	  + support --datarootdir option
61953541Sshin	  + check for clang compiler
62053541Sshin	  + check for tinfo library when looking for ncurses
62156723Sshin	  + add 3rd parameter to AC_DEFINE for autoheader
62256723Sshin	  + remove unused macros from aclocal.m4
62356723Sshin	+ update config.guess, config.sub
62456723Sshin
62556723Sshin2012/07/06
62656723Sshin	+ modify samples/setup-tempfile to work with Tru64's shell.
62756723Sshin	+ modify inputmenu sample scripts to make them more portable:
628166938Sbms	  + use "id" rather than "$GROUPS", use sed to work with Solaris.
629166938Sbms	  + use sed to split-up the rename results to work with HPUX.
63056723Sshin	+ fix regression in msgbox (ArchLinux #30574)
631121578Sume
632121578Sume2012/07/03
633121578Sume	+ modify prgbox widget to work with --extra-button, etc.
63453541Sshin	+ add case values to several widgets to allow for mouse-clicks with
63553541Sshin	"--extra-button" and "--help-button" additions.
63653541Sshin	+ correct timebox widget's exit code for "--extra-button" when handing
63753541Sshin	  the "enter" key.
63853541Sshin	+ modify msgbox widget to honor "--extra-button".
63953541Sshin	+ corrected processing of "--trace" option, which did not update the
64053541Sshin	  index into command-line to point past its value.
64153541Sshin	+ add a check in dialog program for valid characters used in option,
64253541Sshin	  e.g., to generate an error if a script attempts to add option value
64353541Sshin	  using "=" rather than with whitespace.
64453541Sshin	+ add new command-line option --default-button and library function
64583366Sjulian	  dlg_default_button() to retrieve the value set by the option
64653541Sshin	  to provide a way to set the default button directly rather than
64753541Sshin	  by combining --nook, etc. (patch by Zoltan Kelemen).
648144261Ssam	+ amend include of unctrl.h to apply only to the case where curses.h
649157676Srwatson	  is included, to avoid conflict of ncurses' unctrl.h with a system
65053541Sshin	  implementation (report by Martin Roedlach)
65153541Sshin	+ add limit-check to dlg_toupper() in non-wide curses mode to work
652157374Srwatson	  when non-character values such as arrow-key codes are passed to
653180305Srwatson	  it (patch by Zoltan Kelemen).
654175630Sbz	+ override timeout value, e.g., as set via --timeout command-line
655175630Sbz	  option in pause widget because that interferes with pause's behavior
656180305Srwatson	  (report by Jan Spitalnik).
65755009Sshin	+ modify samples/inputmenu* to allow ":" in renamed text (report by
658157374Srwatson	  Andreas Stoewing).
659180305Srwatson	+ modify double-quoting to make it more consistent, i.e., checklist
660184214Sdes	  output is quoted only when needed.  This fixes the case where
661157374Srwatson	  single-quotes were used whether or not needed, but also modifies
662180305Srwatson	  older checklist behavior for double-quoting which always added those
663181803Sbz	  (Debian #663664).
664181803Sbz	+ correct exit-code used in inputmenu for "rename" button (Debian
665132714Srwatson	  #673041, forwarded from Ubuntu #333909, patch by Lebedev Vadim).
666181803Sbz	+ update el.po and hr.po from
667184205Sdes		http://translationproject.org/latest/dialog/
668180305Srwatson	+ use checkbashisms to clean up sample scripts.
669132714Srwatson
67053541Sshin2012/02/15
671181803Sbz	+ modify menubox.c to use the same improvement as in checklist.c
67253541Sshin	+ improve auto width computation for checklist widget by using
673186141Sbz	  dlg_calc_list_width as in the non-auto case (Edho Arief).
67453541Sshin	+ eliminate some bashisms in the sample scripts (Pedro Giffuni).
67553541Sshin	+ makefile fixes from FreeBSD ports (Li-Wen Hsu):
676144261Ssam	  + make --with-package option of configure script work.
67753541Sshin	  + get LIBTOOL_VERSION from configure script, needed by
678178285Srwatson	    ${LIBTOOL_VERSION} in LIBTOOL_CREATE (LIB_CREATE in configure and
679180305Srwatson	    aclocal.m4)
68053541Sshin	+ update cs.po and sr.po from
68153541Sshin		http://translationproject.org/latest/dialog/
682157370Srwatson	+ updated configure script macros, improving CF_XOPEN_SOURCE among
68353541Sshin	  other fixes.
68453541Sshin
68553541Sshin2011/10/20
68653541Sshin	+ fix --analyze warnings for clang versions 2.8, 2.9.
68753541Sshin	+ add configure check for lint program.
688157374Srwatson	+ add check in dlg_getc() in case its window is freed as a side effect
689160549Srwatson	  of removing callbacks.
690191672Sbms	+ fix logic in freeing subwindows (report by xDog Walker).
691166938Sbms	+ fix a regression in logic distinguishing between inputmenu and menu
69253541Sshin	  widgets (report by xDog Walker).
693181803Sbz	+ minor fixes to library manpage.
694178285Srwatson
695184205Sdes2011/10/18
696185344Sbz	+ modify header-sh.in to work around limit on sed script length on
697185370Sbz	  HPUX.
698181803Sbz	+ add a special case of parameter parsing for "--trace" to the
69953541Sshin	  initialization done before calling init_dialog(), to allow users to
70053541Sshin	  capture the initial state of the parameter list before any options
701160549Srwatson	  are processed and removed.  This is only done if "--trace" is the
702157366Srwatson	  first option, otherwise it is handled in the common options as before
70353541Sshin	  (report by xDog Walker).
70453541Sshin	+ modify samples/testdata-8bit, discarding $1 from the parameter list
705160549Srwatson	  if it was used, so that the source'ing scripts can consistently use
706160549Srwatson	  "$@" to insert parameters before the widget, e.g., as an alternative
707160549Srwatson	  to using $DIALOGOPTS (report by xDog Walker).
708160549Srwatson	+ modify treatment of function pointers in menubox.c, make
709160549Srwatson	  dlg_renamed_menutext() and dlg_dummy_menutext() visible to library
71053541Sshin	  users (request by xDog Walker).
71153541Sshin	+ add dlg_count_real_columns(), use to modify centering for "--hline"
71253541Sshin	  text to account for "\Z"s (report by xDog Walker).
713160549Srwatson	+ improve check in dlg_draw_arrows2() for conflict between the window
714160549Srwatson	  title and up-arrow marker to take into account that the given window
715160549Srwatson	  may not be the top-level window of the widget.
716160549Srwatson	+ change width of page up/down mouse areas in fselect panes to use the
717160549Srwatson	  full width of the panes rather than only the portion from the left
718160549Srwatson	  margin to the up/down arrow.
719160549Srwatson	+ add/use dlg_draw_box2() and dlg_draw_bottom_box2() to use the
720160549Srwatson	  secondary borders.
721160549Srwatson	+ modify rc-file read/write to accept/generate color values that refer
722160549Srwatson	  to previously-processed items in the color table.  This reduces the
723160549Srwatson	  number of distinct colors that must be specified to set up a color
72453541Sshin	  scheme.
72553541Sshin	+ add color table entries for secondary borders, i.e., the ones that
72653541Sshin	  are normally drawn with the dialog's text-colors (Debian #641168).
727180305Srwatson	+ modify fselect.c to scan the current directory if the input field
72853541Sshin	  happens to be empty (Debian #640905).
729180305Srwatson	+ repeated the discussion of environment variables that can override
730180305Srwatson	  the exit-status values in the manpage's return-codes section
731180305Srwatson	  (Debian #642105).
73297658Stanimura	+ add an example to the manpage showing how to override the form
733180305Srwatson	  widget's keys used for field/button traversal (Debian #642108).
73453541Sshin	+ modify call to dlg_register_window() in formbox.c so that the editing
735157366Srwatson	  bindings are attached to the form sub-window rather than the
736157374Srwatson	  top-level dialog window.  Also change the name by which the editing
73753541Sshin	  bindings are bound for editbox.c, fselect.c and inputbox.c, so that
73853541Sshin	  the editing and navigation bindings can be different.
73953541Sshin	+ correct logic in dlg_lookup_key() so that it matches the widget name
74083366Sjulian	  before using a binding from .dialogrc, allowing the inner/outer
74153541Sshin	  windows of form and other editing widgets to have different bindings.
742180305Srwatson	+ modify dlg_register_window() to call dlg_dump_window_keys() after
74353541Sshin	  its updates, via the --trace output, to supplement the manpage
744194760Srwatson	  description of key bindings (Debian #642108).
745148385Sume	+ add DLGK_FORM_PREV and DLGK_FORM_NEXT key-bindings to form.c, to
74653541Sshin	  allow binding a single key to traverse both form-fields and buttons
747180305Srwatson	  (Debian #642108).
748157374Srwatson	+ modify dlg_parse_rc() to check for error return from
749180305Srwatson	  dlg_parse_bindkey().
75053541Sshin	+ add function dlg_dump_window_keys(), to help with debugging widgets.
751180305Srwatson	+ add CR, LF, TAB, FF and ESC to table of curses names to help make
752188144Sjamie	  key bindings more readable.
753188144Sjamie	+ update table of dialog key-names so that helpfile and trace are
754181803Sbz	  dumped properly.
755180305Srwatson	+ correct dlg_dump_keys(), which was showing only the first item in
756181803Sbz	  the matched binding table.
757180305Srwatson	+ save/restore window current position in dlg_update_mixedgauge().
758148385Sume	+ pass return-code from pause_for_ok() from dlg_progressbox() when
75953541Sshin	  pauseopt is set, rather than only DLG_OK.
760194760Srwatson	+ call setlocale() in init_dialog() rather than relying on on-demand
761180305Srwatson	  use within inputstr.c, since there are paths in textbox widget which
762194760Srwatson	  do not exercise the latter (report by xDog Walker).
763194760Srwatson	+ fix some places where checks for "\Z" were done without also checking
76453541Sshin	  dialog_vars.colors (report by Moray Henderson).
76553541Sshin	+ correct logic for DIALOGOPTS parsing so that the parse happens only
766194760Srwatson	  once unless memory leak checking is enabled (report by xDog Walker).
767120856Sume	+ remove an incorrect free() call in dlg_free_gauge() (report by xDog
76853541Sshin	  Walker).
769194760Srwatson	+ modify dlg_trace_win() to log wide-characters (report by xDog Walker).
770194760Srwatson	+ make traces shorter by skipping repeated ERR's, but showing the
771181803Sbz	  number skipped (report by xDog Walker).
772178285Srwatson	+ improve description in manpage to distinguish program box and
77353541Sshin	  progress box from tailboxes (adapted from email by xDog Walker).
774178285Srwatson	+ modify dlg_trace_win() so that it looks for the topmost window in a
775181803Sbz	  dialog.  Because subwindows share space with the top window, tracing
776180305Srwatson	  the latter shows the whole widget (report by xDog Walker).
77753541Sshin	+ expand tracing so that each window is traced before soliciting input,
77853541Sshin	  making the ^T feature to print a window on demand partly redundant
77953541Sshin	  (suggested by xDog Walker).
78083366Sjulian	+ cosmetic change in dialog.h to avoid "*/*" strings from comments next
78153541Sshin	  to "*" (report by xDog Walker).
782180305Srwatson	+ ensure result from dlg_align_columns() has trailing null on each
78353541Sshin	  string.  Analysis was hindered by libc6's continuance of libc5's
784194777Sbz	  early-1990s misfeature of clearing the result from malloc, noting
785148385Sume	  that libc6's documentation incorrectly claims that it does not do
786148385Sume	  this (report by xDog Walker).
78753541Sshin
788180305Srwatson2011/07/07
789157374Srwatson	+ modify util.c to work better with old versions of ncurses:
790180305Srwatson	  + suppress use of wchgat() before fix in 20060715 which is needed
79153541Sshin	    for simple shadow manipulation used here in 2011/06/30 (report
792180305Srwatson	    by xDog Walker).
793181803Sbz	  + add a null-pointer check in dlg_print_scrolled()
794180305Srwatson	+ fix a regression in dlg_getc() introduced by changes to intercept
79553541Sshin	  F1 for help-popup (report by xDog Walker).
796180305Srwatson
797148385Sume2011/06/30
798148385Sume	+ correct license statement for prgbox.c (Debian #632198).
799180305Srwatson	+ correct layout when "--colors" is used, by discounting characters in
800180305Srwatson	  the escape sequences from the column counts (report by xDog Walker).
801180305Srwatson	+ modify dlg_checklist() so that only one item in the list can
802180305Srwatson	  initially be selected (report by xDog Walker).
803180305Srwatson	+ add/use macro dlg_enter_buttoncode() to improve implementation of
804180305Srwatson	  "--nook" option (report by xDog Walker).
805148385Sume	+ add option "--no-nl-expand" to suppress the conversion of "\n"
806181803Sbz	  strings into newlines (request by xDog Walker).
807148385Sume	+ modify LIB_CREATE symbol in makefile.in to include the library
808181803Sbz	  dependencies such as ncurses.  This is needed when dynamically
809180305Srwatson	  loading the library (report/analysis by xDog Walker).
810148385Sume	+ modify dlg_exit_label() to suppress the Cancel button, for
811181803Sbz	  consistency.
812178285Srwatson	+ modify dlg_exit_label() to honor the --nook option, except when there
81353541Sshin	  is no other button, e.g., the help-button.
814194777Sbz	+ modify dlg_exit_buttoncode() so that it returns the proper code for
815194777Sbz	  help-button (report by xDog Walker).
816194777Sbz	+ correct loop limit when processing "--column-separator" (report by
817178285Srwatson	  xDog Walker).
818181803Sbz	+ modify handling of "--version" and "--help" to ensure that they are
819194777Sbz	  processed, and exit before widgets.  Separate "--print-version"
820132714Srwatson	  from "--version", allowing its output to be interspersed with
821148385Sume	  widget output (report by xDog Walker).
822148385Sume	+ correct a few places where "--version" or "--help" options went
823148385Sume	  always to stdout rather than allowing redirection with the "--stderr"
824148385Sume	  option (report by xDog Walker).
825178285Srwatson	+ improve repainting after erasing a widget and its shadow.
826181803Sbz	+ add "--hline" and "--hfile" options for compatibility with FreeBSD
827180305Srwatson	  dialog (request by Devin Teske).
828148385Sume	+ add dialog version message when opening a trace file (request by
829148385Sume	  xDog Walker).
830194777Sbz	+ show filename of rc-file in traces.
83153541Sshin	+ add piped-in data for gauge widget to traces.
832178285Srwatson	+ add entrypoints to gauge widget, for allocating, updating and freeing
833181803Sbz	  the widget (adapted from patch by Stephen Hurd).
834180305Srwatson	+ fix a reference to freed memory in the gauge widget.
83553541Sshin	+ fix --no-mouse option by actually closing the mouse (report by
83653541Sshin	  xDog Walker).
83753541Sshin	+ add sk.po from
83853541Sshin		http://translationproject.org/latest/dialog/
83953541Sshin	+ limit Solaris xpg4 portability fix for redefinition of ERR to cover
840132714Srwatson	  the specific value found in <sys/regset.h>, in case an application
841132714Srwatson	  includes dialog.h after curses.h (FreeBSD #156601, report by Jaakko
842132714Srwatson	  Heinonen, Stephen Hurd).
843157374Srwatson	+ updated configure macros:
844180305Srwatson	  + CF_CURSES_CPPFLAGS,
845178285Srwatson	  + CF_CURSES_LIBS, make checks for special libraries on hpux10 and
84653541Sshin	    sunos4 optional
847178285Srwatson	  + CF_CURSES_FUNCS, workaround for bug in gcc 4.2.1 (FreeBSD 8.1)
848180305Srwatson	    which caused part of test program to be omitted, i.e., when it saw
84953541Sshin	    two return-statements in a row it omitted the _first_ one.  Also
85053541Sshin	    add expression to pointer check to help FreeBSD's linker decide it
85153541Sshin	    should be validated.  Just an assignment was not enough.  Also, add
85253541Sshin	    check for unctrl.h
853171260Sdelphij	  + CF_CURSES_HEADER, change order for curses.h / ncurses.h pairs to
85453541Sshin	    put ncurses.h first, which will tend to provide the same #define's
855180305Srwatson	    as in CF_NCURSES_HEADER (report by Dennis Preiser).
85653541Sshin	  + CF_CURSES_TERM_H, modify to avoid spurious check for
85753541Sshin	    <curses.hterm.h> if there is no ncurses version.  Look for
858132714Srwatson	    ncurses's term.h anyway, to work around breakage by packagers who
85953541Sshin	    separate ncurses' header files.
860180305Srwatson	  + CF_DISABLE_RPATH_HACK, fix garbled message
861157374Srwatson	  + CF_LD_RPATH_OPT, add mirbsd
862180305Srwatson	  + CF_MAKEFLAGS, filter out GNU make's entering/leaving messages.
863180305Srwatson	    This only appeared when using the macro in a dpkg script, though it
864132714Srwatson	    should have in other cases.
86553541Sshin	  + CF_RPATH_HACK, add a check for libraries not found, e.g., from
86653541Sshin	    suppressed functionality of gcc in linking from /usr/local/lib, and
86753541Sshin	    add a -L option to help work around this.
868180305Srwatson	  + CF_XOPEN_SOURCE, workaround for cygwin to get ncurses' configure
86953541Sshin	    script to define _XOPEN_SOURCE_EXTENDED (cygwin's features.h
87053541Sshin	    doesn't do anything, so it needs a crutch).
87153541Sshin	+ update config.guess, config.sub
87253541Sshin
87353541Sshin2011/03/02
874180990Srwatson	+ add --prgbox and --programbox (adapted from patch by David Boyd).
87553541Sshin	+ add sl.po from
876180990Srwatson		http://translationproject.org/latest/dialog/
877180990Srwatson	+ fix timeouts from 2011/01/18, which were being interpreted as
87853541Sshin	  milliseconds rather than seconds (report by Luis Moreira).
87953541Sshin
88053541Sshin2011/01/18
88153541Sshin	+ fix inconsistency in return-codes for textbox when help-button is
882180305Srwatson	  used by making dlg_exit_buttoncode() a wrapper for
88353541Sshin	  dlg_ok_buttoncode().
884148385Sume	+ modify pause widget to use dlg_ok_buttoncode(), so help-button works.
885148385Sume	+ correct two infobox sample scripts, which did not pass extra
886180305Srwatson	  command-line parameters due to quoting problems.
887148385Sume	+ add a limit-check to the timebox widget (patch by Garrett Cooper).
88862587Sitojun	+ modify --trace option to also trace the command-line parameters.
88962587Sitojun	+ account for combining characters when wrapping text (Debian #570634).
890148385Sume	+ correct handling of SIGWINCH in gauge widget (Debian #305705).
891148385Sume	+ add gauge_color, to make guage's progress-bar distinct from
892148385Sume	  title_color (request by Dominic Derdau).
893148385Sume	+ update fi.po from
894148385Sume		http://translationproject.org/latest/dialog/
895148385Sume	  as well as resync line-numbers in the other po-files.
896148385Sume	+ modify configure script and dialog program to build with NetBSD's
897148385Sume	  wide-character curses functions, including workarounds for its
898148385Sume	  incorrect WACS_xxx definitions.  Some of the UTF-8 examples work.
899148385Sume	+ add back-tab for traversal of tailboxbg widgets, for symmetry with
900148385Sume	  tab-traversal.
901148385Sume	+ reduce flicker in tailboxbg by checking if the input file size has
902148385Sume	  changed.
903148385Sume	+ modify internals of callbacks to avoid blocking reads of their
90453541Sshin	  associated files by keyboard input.
905132714Srwatson	+ add command-line option --no-mouse, to suppress use of mouse.
906132714Srwatson	+ add configure option --enable-header-subdir to allow the header files
90753541Sshin	  to be installed into a subdirectory named for the package.
90853541Sshin	+ modify dlg_restore_vars() to retain the updated values of
90953541Sshin	  input_result and input_length, eliminating the need for a caller to
910137386Sphk	  provide their own user buffer (prompted by report by Thiago Bimbatti
911137386Sphk	  Felicio).
912137386Sphk	+ add a null-pointer check in show_result() for
913137386Sphk	  dialog_vars.input_result, and ensure it is set to null after freeing
914137386Sphk	  (prompted by report by Thiago Bimbatti Felicio).
915137386Sphk	+ change order of -I options in CPPFLAGS (report by Michel Feldheim)
916137386Sphk	+ modify pause-widget so that it no longer exits when an unrecognized
917169462Srwatson	  key is pressed (patch by Creidieki M Crouch).
918137386Sphk	+ add --with-package option to configure script to allow renaming
919137386Sphk	  of the dialog program and library, to support the package scripts.
920169462Srwatson	+ add Debian and RPM package scripts for test-builds.
921160549Srwatson	+ several improvements to configure script:
92253541Sshin	  + quote params of ifelse()
923	  + change obsolete ${name-value} to standard ${name:-value}
924	  + use new macros CF_ADD_LIB/CF_ADD_LIBS to enforce consistency.
925	  + AM_GNU_GETTEXT, drop $MKINSTALLDIRS, use "mkdir -p" consistently.
926	  + CF_ADD_SUBDIR_PATH, workaround - if $prefix was not mkdir'd yet, no
927	    directories were added.
928	  + CF_BUNDLED_INTL, add --with-textdomain option, to use with lynx-dev
929	    package
930	  + CF_FIND_LINKAGE, simplify save/restore of $LIBS
931	  + CF_GCC_WARNINGS, fix for Mac OS X (compiler makes conftest.dSYM
932	    directory)
933	  + CF_HEADER_PATH, don't search for variations of everything in the
934	    current include-path
935	  + CF_WITH_CURSES_DIR, move the calls to CF_ADD_INCDIR and
936	    CF_ADD_LIBDIR for the curses-directory here, from
937	    CF_NCURSES_CPPFLAGS and CF_NCURSES_LDFLAGS, so it will work even
938	    with the default checking, e.g., no --with-ncurses, etc.
939	+ update config.guess, config.sub
940
9412010/04/28
942	+ several improvements to configure script:
943	  + modify CF_CURSES_TERM_H to handle cases such as cygwin where
944	    packager has installed curses.h and term.h in different
945	    directories, e.g., to wedge in a termcap library.
946	  + modify CF_XOPEN_SOURCE, adding special case for OpenSolaris
947	  + modify CF_MAKE_TAGS to add check for exctags and exetags, prefer to
948	    ctags and etags to work around pkgsrc (NetBSD) renaming.
949	  + correct CF_FIND_LINKAGE, setting cache variable for library_file in
950	    the special case where no directory search is made.
951	  + improve CF_GCC_VERSION, suppress stderr for c89 alias of gcc.
952	  + improve CF_GCC_WARNINGS, moving -W and -Wall into the list to
953	    check, since c89 alias for gcc complains about these options.
954	  + modify CF_HEADER_PATH, to not search for variations of everything
955	    in the current include-path
956	  + use "mkdir -p", remove mkdirs.sh
957	  + use CF_CURSES_HEADER to fill in possible subdirectory used for
958	    ncurses header filename.
959	  + modify CF_XOPEN_CURSES to work around current ncurse header loss of
960	    predefinition of _XOPEN_SOURCE_EXTENDED
961	  + add "--disable-rpath-hack" option, along with scripting to add
962	    rpath option to libraries found in unusual places.
963	+ modify pause widget to autosize like gauge, and to omit the area for
964	  buttons when none are displayed.
965	+ fix an infinite loop in dlg_button_layout() if there are no buttons
966	  to display (Debian #579390).
967	+ add makefile rules for generating html, etc., documentation from
968	  nroff.
969	> patches by Samuel Martin Moro
970	+ reset errors in tailbox before reading new character.
971	+ modify dlg_draw_scrollbar(), omitting hiding percentages in boxes
972	  when no arrows or scrollbar are needed.
973	+ correct value of row for scrollbars in formbox.
974	+ update es.po from
975		http://translationproject.org/latest/dialog/
976
9772010/01/19
978	+ split up binding tables in inputbox and similar widgets to avoid
979	  conflict between cursor-key use for input-string versus navigation
980	  (report by slakmagik).
981	+ if strftime() is available, support --time-format option for timebox
982	  widget.
983	+ if strftime() is available, support --date-format option for calendar
984	  widget (request by Walter Harms).
985	+ build-fixes for linking to intl library in /usr/local
986	+ add --scrollbar option, use in most widgets to show a scrollbar on
987	  the right margin of the data.  That is cosmetic, does not respond to
988	  the mouse.
989	+ reuse functions from msgbox to allow prompt for yesno box to be
990	  scrolled in a too-small window.
991	+ correct mapping of button-codes with --nook option (report by Lebedev
992	  Vadim).
993	+ cleanup sample scripts using new utility scripts setup-* and report-*,
994	  and allow command-line parameters to be added, for ad hoc testing.
995	+ correct change to tailbox widget from 2009/02/22 using
996	  dlg_button_layout(), which broke that widget.
997	+ document some of the portability caveats.
998	+ modify gauge widget to service callbacks (prompted by patch and
999	  comments by Frank Sorenson).
1000	+ modify editbox to allow its input buffer to be larger than MAX_LEN
1001	  unless bounded by the --max-input option, and add limit-checks for
1002	  the buffer (report by slakmagik).
1003	+ improve manpage description of --checklist (report by Isaac Good).
1004	+ several improvements to configure script macros:  CF_ADD_CFLAGS
1005	  CF_CURSES_FUNCS CF_DISABLE_ECHO CF_GCC_ATTRIBUTES CF_MATH_LIB
1006	  CF_POSIX_C_SOURCE CF_REMOVE_DEFINE CF_WITH_LIBTOOL CF_XOPEN_SOURCE
1007	+ add is.po, lv.po, sw.po from
1008		http://translationproject.org/latest/dialog/
1009	+ update de.po, id.po, pl.po, pt_BR.po, vi.po from
1010		http://translationproject.org/latest/dialog/
1011
10122009/02/22
1013	+ do not display top-arrows for scrolling if they would overwrite the
1014	  title (report by slakmagik)
1015	+ consistently use dlg_button_layout() when autosizing widgets (report
1016	  by slakmagik).
1017	+ add "-" and "+" bindings to timebox widget.
1018	+ add "-" and "+" bindings to calendar widget (OpenSolaris #6739031).
1019	+ review/fix other widgets to ensure that they exit on error, e.g.,
1020	  editbox.c
1021	+ modify check in dlg_getc() to treat closure of either stdin or stdout
1022	  as an error, rather than both.  This is more stringent than the check
1023	  added in 2007/07/04.
1024	+ modify dlg_result_key() to map curses ERR to dialog's error exit
1025	  (adapted from patch by Domagoj Pensa).
1026	+ updated several configure script macros:
1027	  + consistently append, rather then prepend, to $CFLAGS
1028	  + add cases for AIX 6, mint, and dragonfly to CF_XOPEN_SOURCE
1029	  + use $PATH_SEPARATOR rather than $PATHSEP
1030	  + improve CF_FIND_LINKAGE, use in checks for more libraries, e.g.,
1031	    libutf8 and libiconv.
1032	+ update da.po, ru.po from
1033		http://translationproject.org/latest/dialog/
1034	+ update config.guess, config.sub
1035
10362008/08/19
1037	+ amend changes to quoting; by default, the checklist widget quotes its
1038	  output except when --separate-output is used (Debian #495600).
1039	+ add eo.po from
1040		http://translationproject.org/latest/dialog/
1041
10422008/07/27
1043	+ add pointer-check when closing piped input (cf: 2007/03/25)
1044	+ use here-documents rather than echo, when passing backslashes in
1045	  strings, to accommodate the Debian shell "dash" (Debian #489563).
1046	+ recode several ".po" files to UTF-8 for consistency.
1047	+ change --separator to be an alias for --output-separator, for
1048	  compatibility with Xdialog.
1049	+ add --output-separator option to allow scripts to change the output
1050	  separator from a newline (for --separate-output) or a space.  This
1051	  applies to other widgets such as forms and editboxes which normally
1052	  use a newline.
1053	+ add --column-separator option, to tell where column-aligned data for
1054	  radio/checkboxes or menus should be split into columns (request by
1055	  Ben Dibbens).
1056	+ add id.po, ku.po, lt.po, nb.po and update ca.po, fr.po, gl.po, ja.po,
1057	  th.po from
1058		http://translationproject.org/latest/dialog/
1059	+ add "--quoted" option, to quote values returned by formbox, etc.
1060	+ change names of EX/ES macros in dialog.1 to work around name-
1061	  pollution caused by changes in Debian #470729.
1062
10632008/03/16
1064	+ modify dlg_mouse_wgetch() to loop only on errors that it detects,
1065	  rather than on errors forwarded from dlg_getc(), in case those are
1066	  due to a disconnected terminal (report by Anatoli Sakhnik).
1067	+ allow "default" color in dialogrc file (request by Dashing).
1068	+ fix an indexing error in formbox (Debian #469190, report by Dmitry
1069	  Gomerman, patch by Vladimir Mezentsev).
1070	+ add bindings for CTL/N, CTL/P to checklist, fselect and menubox
1071	  widgets (prompted by discussion with John Gatewood Ham).
1072	+ add be@latin.po, th.po and update zh_TW.po from
1073		http://translationproject.org/latest/dialog/
1074	> patches by Peter Astrand:
1075	  + modify dlg_auto_sizefile() to ensure the computed height and width
1076	    do not extend beyond the screen size.
1077	  + use unctrl() to make inputstr.c work with Solaris curses.
1078	> patches by Yura Kalinichenko:
1079	  + extend pause widget to use ok/cancel buttons (the former giving the
1080	    same result as a timeout), rather than an exit-button.
1081	  + fix initialization parameter of inputbox for multibyte characters.
1082
10832007/10/28
1084	+ improve layout of checklist.c, menubox.c, ensuring that the list fits
1085	  within the available space (report by Gordon Schumacher).
1086	+ undo removal of redundant chunk from checklist.c in 2007/02/27,
1087	  since some scripts depend on this (Debian #443077).
1088	+ update nl.po from
1089		http://translationproject.org/latest/dialog/
1090
10912007/09/30
1092	+ correct cursor position in editbox after deleting past left margin
1093	  (report by Joe McDonagh).
1094	+ add "--no-ok" option (patch by Klaus Knopper).
1095	+ modify "--file" option to allow it to read from sources other than
1096	  a regular file (patch by Pieter van Beek).
1097	+ improved hi.po (Hindi) (from Klaus Knopper).
1098	+ fix masking of attributes in dlg_draw_shadow() which lost
1099	  line-drawing bit (report by David Everly).
1100	+ fix editbox widget to handle zero-length files (report by Joe
1101	  McDonagh).
1102	+ update "po" files eu.po ga.po it.po ms.po sv.po vi.po wa.po zh_CN.po
1103	  from
1104		http://translationproject.org/latest/dialog/
1105
11062007/07/04
1107	+ revise the resizable shadows so textbox's search dialog has text
1108	  visible in the shadow again.
1109	+ improve the prefixing of autoconf-related symbols in the installed
1110	  header files, taking into account symbols which are not mentioned in
1111	  dlg_config.h
1112	+ add a check when ERR returned from wgetch() to ensure that the
1113	  input/output streams are still valid.  If that happens, force
1114	  ESC to be returned, quitting dialog (report by Reiner Huober).
1115	+ add extern "C" declarations to dlg_keys.h so the corresponding
1116	  function declarations are exported to C++ as C symbols.
1117	+ update config.guess, config.sub
1118
11192007/06/04
1120	+ fix a memory leak in editbox.c
1121	+ revise change from 2007/02/27 which moved the logic for trimming
1122	  option text out of the loop because that moved it before
1123	  initialization of the "--trim" option.  Put it back in the loop, but
1124	  limit the tokens which are trimmed to cover only those for the
1125	  current widget.  Also ensure that all tokens for a widget are
1126	  trimmed, rather than only the first, which is usually text (report by
1127	  Lai Zit Seng).
1128	+ add _FILE_OFFSET_BITS definition in CF_LARGEFILE configure macro.
1129
11302007/05/28
1131	+ revise changes needed to make textbox's searchbox handle ncurses
1132	  resizing events, e.g., by handling the ERR in that code rather than
1133	  in dlg_getc() (Debian #423732).
1134
11352007/05/14
1136	+ supply a repaint_text() call in tailbox.c which was bypassed because
1137	  dlg_getc() now retries on ERR (Debian #423732, cf: 2007/02/27).
1138	+ modify dlg_getc() to fix regression in 2007/02/27 for use of
1139	  timeouts, broken by fixes to allow resizing of textbox (patch by
1140	  Arnaud Fontaine, Debian #418905).
1141	+ modify dlg_getc() to fix regression in use of TAB for traversal of
1142	  tailboxbg widgets due to changes for user-definable key bindings
1143	  (Debian #418917, cf:  2005/12/07).
1144
11452007/04/09
1146	+ add case in dlg_getc() to handle tab for traversing between widgets
1147	  as in the samples/tailboxbg1 script.  Normally the key binding
1148	  overrides, except for the special case where multiple widgets are
1149	  available.
1150	+ add configure --with-libtool-opts, which passes its value to the
1151	  library creation and linkage passes, e.g.,
1152	  	--with-libtool-opts=-static
1153	  to force the result to be static libraries (prompted by a related
1154	  request by Santiago Vila).
1155	> several fixes based on Coverity scan:
1156	+ fix memory leak in timebox, calendar widgets if the widget cannot
1157	  be created.
1158	+ fix memory leak in dlg_key.c if a user binding's storage cannot
1159	  be allocated.
1160	+ fix improperly delinked entry in dlg_del_window().
1161
11622007/03/25
1163	+ improve mkdirs.sh to ignore error from mkdir if the target directory
1164	  happens to already exist (suggested by Harald van Dijk).
1165	+ amend documentation for --gauge to reflect longstanding quirk which
1166	  allows it to read percentage from the first line after an "XXX"
1167	  (Debian #415596).
1168	+ fix makefile dependency so "configure && make install-lib" works.
1169	+ fix resizing of msgbox; the message was not repainted (Debian
1170	  #415022, patch by Brian Rolfe).
1171	+ fix typo in makefile LIB_OBJECT symbol from 2007/02/27 changes.
1172	+ improve CF_MBSTATE_T by including stdio.h, needed on Tru64 to make
1173	  the test-compile work.
1174	+ change makefile to install dialog.3 as part of install-lib rather
1175	  than install-man (report by Thomas Klausner).
1176	+ use $(INSTALL_SCRIPT) for installing dialog-config (report by
1177	  Santiago Vila).
1178
11792007/02/27 - release 1.1
1180	+ mark as "dialog 1.1"
1181	+ add dialog-config script, which provides applications with compile-
1182	  and link-information for using the dialog library.
1183	+ move calls to dlg_trim_string() out of loop in dialog.c, so each
1184	  string is trimmed once (report by Ivanov Makcim).
1185	+ modify textbox.c to allow resizing while the search box is presented.
1186	  This relies on bug-fix in ncurses 5.6 20070224.
1187	+ use dgettext() rather than gettext() to allow libdialog to use the
1188	  messages installed for dialog (patch by Vajna Miklos).
1189	+ modify inputbox to position the cursor initially at the end of any
1190	  initial-text (request by Klaus Knopper).
1191	+ add configure --with-valgrind for testing.
1192	+ add --trace option, for debugging.
1193	+ add --ascii-lines and --no-lines options to control the way the
1194	  line-drawing characters are rendered (request by Klaus Knopper).
1195	+ add --keep-tite option, to override suppression of smcup/rmcup
1196	  (termcap ti/te) strings which would switch to xterm's alternate
1197	  screen (Debian #380665).
1198	+ modify fselect/dselect to use space-character as a completion
1199	  operator like tab in shells (patch by Yoram Bar Haim).
1200	+ remove a redundant chunk from checklist.c which reported status a
1201	  second time if the help-button was pressed but no item-help option
1202	  was in effect (Andre C Barros).
1203	+ fix return-status from "dialog --pause" (Debian #409254).
1204	+ add --mixedform and --mixedgauge dialogs based on patch from
1205	  Kiran Cherupally.
1206	+ add some notes on compatibility to the manpage.
1207	+ add editbox dialog (compatible with Xdialog, Debian #368478).
1208	+ add dselect dialog (compatible with Xdialog).
1209	+ remove an incorrect initialization of .text_flen from 2005/12/07
1210	  changes, which made all fields in a form editable (Debian #404045).
1211	+ report error and exit if a filename given for the --file option
1212	  cannot be opened (report by "Dog Walker").
1213	+ make --program-prefix, etc., work in configure script, e.g., to make
1214	  program install as "cdialog".  This does not alter the library name.
1215	+ add install-bin, install-man (and uninstall) rules to makefile.
1216	+ updates for configure script macros (originally vile, lynx, xterm):
1217	  AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, CF_CURSES_CPPFLAGS,
1218	  CF_CURSES_LIBS, CF_INCLUDE_DIRS, CF_LARGEFILE, CF_MAKEFLAGS,
1219	  CF_PATH_SYNTAX, CF_SUBDIR_PATH, CF_SUBST, CF_WITH_DBMALLOC,
1220	  CF_WITH_DMALLOC, CF_WITH_LIBTOOL and CF_XOPEN_SOURCE.
1221	+ update config.guess, config.sub
1222	> adapted fixes from SuSE package (Werner Fink):
1223	  + add some limit-checks in dlg_draw_shadow().
1224	  + make shadows resizable, using new dlg_move_window() in msgbox.c
1225	    and yesno.c
1226	  + add dialog_state.input, use this in end_dialog() to decide whether
1227	    to close pipe inputs and call _exit(), or simply call exit().
1228	  + modify dlg_ctl_size() to check if the reason for failure is because
1229	    shadows were used; retry in that case without shadows.
1230	  + add signal catcher for SIGSEGV.
1231
12322006/02/21
1233	+ fix logic in split-out dlg_menu() to separate inputmenu and menu
1234	  handling (report by Auke Kok).
1235
12362006/01/26
1237	+ fix fselect.c to compile properly with Intel compiler and largefile
1238	  option.
1239	+ improve configure script checks for curses headers to work around
1240	  breakage in some packages, e.g., cygwin.
1241	+ amend correction to menubox, fixes normal menus (Debian #349969).
1242
12432006/01/19
1244	+ completed dialog.3 manpage
1245	+ modify configure script option --with-gauge to cover all flavors of
1246	  the gauge (gauge, pause, progressbox).
1247	+ add progressbox widget, a hybrid of gauge and tailbox (Reznic Valery).
1248	+ fix a comparison in checklist.c to avoid unneeded arrows when the
1249	  list happens to fit in the window (patch by Peter Postma).
1250	+ correct wrapping computation in print_line() from 2005/11/07 changes
1251	  (report by Barry Kauler).
1252	+ update sv.po (comments only).
1253		http://www.iro.umontreal.ca/translation/maint/dialog/
1254	+ correct logic that passes the callback for menubox to do inputmenu
1255	  operations from 2005/12/7 changes (report by Reznic Valery).
1256
12572006/01/01
1258	+ add a null-pointer check in dlg_register_buttons(), needed for the
1259	  tailboxbg (Debian #345524).
1260	+ fix a few memory leaks reported by valgrind.
1261
12622005/12/19
1263	+ correct return-values of new functions dlg_default_listitem() and
1264	  dlg_default_formitem() (Debian #344002).
1265	+ add Swedish translation (Debian #343303, by Daniel Nylander)
1266	+ begin function-summaries in dialog.3
1267	+ update config.guess, config.sub
1268
12692005/12/07
1270	+ change license to LGPL.
1271	+ change naming convention in dlg_colors.h to make it easier to read,
1272	  and incidentally remove the last chunk of code preventing relicense.
1273	+ add --passwordform (request by Reznic Valery).
1274	+ modify pause.c, msgbox.c to work with --help-button.
1275	+ modify formbox.c, inputbox.c, textbox.c, yesno.c to work with extra
1276	  button (adapted from Reznic Valery patch).
1277	+ modify dlg_exit_label(), dlg_yes_labels() and dlg_ok_label() to allow
1278	  help-button (prompted by Reznic Valery patch).
1279	+ add zh_CN.po file from
1280		http://www.iro.umontreal.ca/translation/maint/dialog/
1281	+ provide alternate interfaces for dialog_checklist(), dialog_menu()
1282	  and dialog_form():  dlg_checklist(), dlg_menu() and dlg_form()
1283	  (discussion with Michael Gebetsroither).
1284	+ add/use dlg_result_key() to allow binding function keys to the
1285	  buttons.
1286	+ implement user-definable key bindings in the rc-file.
1287	+ modify inline cases for KEY_xxx values to use binding tables in new
1288	  module dlg_keys.c
1289	+ add several DIALOG_STATE items to the rc file:  aspect,
1290	  separate_widget, tab_len and visit_links
1291	+ add a tab-adjustment to dlg_print_text() to improve solution from
1292	  2005/10/30, e.g., in the samples/form* scripts.
1293	+ fix an off-by-one which made mouse-selection not work for menu items
1294	  past the first page (GenToo #112024, patch by Harald van Dijk).
1295
12962005/11/07
1297	+ extend dlg_add_result() to allow caller to pass a null pointer
1298	  for dialog_vars.input_result (Debian #336986).
1299	+ correct length used for text portion of radio/checkboxes (report by
1300	  Valentin Stoykov).
1301	+ modify msgbox, textbox and center_label() to work properly for
1302	  LANG=bg_BG.utf8 examples by Valentin Stoykov.
1303	+ modify use of freopen() to work with opaque FILE type on DragonFly
1304	  (report by Jeremy C Reed).
1305	+ modify print_line() to compute columns, use that for the call to
1306	  dlg_print_line().  Fix a few places where strlen() was used instead
1307	  of dlg_count_columns() (reports by Valentin Stoykov).
1308
13092005/10/30
1310	+ reviewed changes since beginning development in 1999, decided that
1311	  there are no appreciable portions of original code remaining.
1312	  Marked sources to correspond.
1313	+ improve cache performance for inputstr.c using tsearch() rather than
1314	  a linked-list search (Debian #294853).
1315	+ remove a special case for darwin in CF_XOPEN_SOURCE configure macro.
1316	+ add ms.po file from
1317		http://www.iro.umontreal.ca/translation/maint/dialog/
1318	+ remove an assignment that caused the cursor to appear initially on a
1319	  form field rather than button (Debian #333506).
1320	+ modify buttons.c to count columns rather than bytes, fixing case
1321	  where buttons were laid out incorrectly (report by Valentin Stoykov).
1322	+ change dlg_print_text() to count columns rather than bytes, fixing
1323	  case where fewer columns were displayed in menu than expected
1324	  (report by Valentin Stoykov).
1325
13262005/10/05
1327	+ improve fix for dlg_does_output(), eliminating redundant leading
1328	  separator.
1329	+ fill background color for item-help text (report by Peter Postma).
1330	+ correct interaction between --separate-output and --output-separator
1331	  broken in 2005/09/11 fix for Debian #326918 (Debian #331440).
1332	+ update config.guess, config.sub
1333
13342005/09/11
1335	+ undo doubled adjustment for left/right margins when wrapping text
1336	  for msgbox, gauge and pause (report by Xyba).
1337	+ correct position of scrolled text in formbox broken by 2004/12/19
1338	  changes (report by Konrad Jelen).
1339	+ call dlg_does_output() from dlg_add_result(), ensuring that
1340	  separators are used when combining widgets such as formbox (report by
1341	  John Suykerbuyk).
1342	+ fix marker in textbox.c to make it disappear at the top of the file
1343	  (report by Patrick J. Volkerding).
1344	+ fix marker shown in arrows.c for checklists, etc., which was "(+)"
1345	  where it should have been "(-)" (report/patch by Patrick J.
1346	  Volkerding).
1347	+ fix --input-fd (changes in glibc since 2003 made dialog hang on exit
1348	  due to the way dialog updated stdin).
1349	+ restore default value (a tab) for --separator or --separate-widget
1350	  lost in 2003/11/26 changes (Debian #326918).
1351	+ make several widgets handle SIGWINCH (calendar, checklist, formbox,
1352	  fselect, inputbox, menubox, pause, tailbox, textbox, timebox).  Only
1353	  msgbox and yesno had been done before.  Note that some still have
1354	  fixed geometry requirements, so they cannot be shrunk below a given
1355	  threshold.  Also, these changes do not address traversal, e.g., for
1356	  tailboxbg.
1357	+ make gauge widget handle SIGWINCH with ncurses (Debian #305705).
1358	+ add configure option to control whether largefile support is
1359	  compiled-in (Debian #298882).
1360	+ update eu.po (Debian #312622, patch by Piarres Egana).
1361	+ add/update po files from
1362		http://www.iro.umontreal.ca/translation/maint/dialog/
1363	  fi.po, rw.po, sr.po, tr.po, zh_TW.po
1364	+ fixes for configure script:
1365	  + improve script for determining gcc version
1366	  + improve checks for Intel compiler and related warning options
1367	  + improve checks for defining _XOPEN_SOURCE (or alternatives) and
1368	    _POSIX_C_SOURCE
1369	+ update config.guess, config.sub
1370
13712005/03/06
1372	+ add/update po files from
1373		http://www.iro.umontreal.ca/translation/maint/dialog/
1374	  ga.po, it.po
1375	+ revert last change for da.po; it was from an older version (report by
1376	  Morten Brix Pedersen).
1377
13782005/02/06
1379	+ modify makefile.in so --disable-echo applies to libtool builds.
1380	+ corrected malloc size used for editable fields in formbox widget to
1381	  match the function which updates the corresponding buffer.
1382	+ modify formbox widget's use of flen to allow negative values to be
1383	  used to limit the length of the displayed field.
1384	+ improve description in manpage of output from formbox widget
1385	  (Debian #292418).
1386	+ modify formbox widget to allow fields with flen==0 to display
1387	  (Debian #292417).
1388	+ improved configure macros CF_POSIX_C_SOURCE and CF_XOPEN_SOURCE, to
1389	  avoid redefinition warnings on cygwin.
1390	+ fix a typo in inputmenu-stdout found via "sh -n" (report by Steve
1391	  Grubb).
1392	+ add/update po files from
1393		http://www.iro.umontreal.ca/translation/maint/dialog/
1394	  ca.po, da.po, hu.po, nl.po, rm.po, ro.po, vi.po
1395
13962005/01/16
1397	+ add --args option to help with debugging scripts.
1398	+ adapted some new po files from Debian package for whiptail:  ar.po,
1399	  bg.po, gl.po, hi.po, hr.po, mg.po, mk.po, ro.po, sq.po and zh_TW.po
1400	+ update da.po (Morten Brix Pedersen).
1401	+ add configure check for Intel 8.0 compiler, to set appropriate
1402	  warning options.
1403	+ update config.guess, config.sub
1404
14052004/12/22
1406	+ correct a typo in 2004/12/19 changes which caused width of multibyte
1407	  characters to be incorrectly computed in some locales.
1408	+ modify --version and --help options to write consistently to the
1409	  standard output (report by Santiago Vila).
1410	+ modify tailboxbg by resetting tty modes at the point where it forks a
1411	  process to update the screen, rather than waiting until that process
1412	  exits.  This improves user feedback by making it apparent that dialog
1413	  is no longer processing input after that point (Redhat #142538).
1414	+ minor updates to some .po files using Babel Fish, comparing with lynx.
1415	+ update es.po (Santiago Vila).
1416	+ work around bug in NetBSD 1.6 curses which seems to be confused by
1417	  reusing color pairs with different video attributes.  The problem
1418	  does not appear in NetBSD 2.0 curses (but its headers do not provide
1419	  version info, so color-caching is not available for that
1420	  configuration).
1421	+ modify pause and gauge widgets to ensure that reverse-video progress
1422	  bar is visible when the background is reversed, e.g., using the
1423	  default non-color attributes.
1424	+ use chtype rather than attr_t, to build with old Solaris curses,
1425	  used in save/restore operation from 2004/09/20.
1426
14272004/12/19
1428	+ add pause-widget (patch by Yura Kalinichenko).
1429	+ modify exit-code returned on selecting the "Help"-button when the
1430	  --item-help option is given.  Previously this returned the same code
1431	  as "OK", since it combines output for "OK" with the help status.  It
1432	  now returns the help-code, but this can be overridden by setting the
1433	  environment variable $DIALOG_ITEM_HELP (reports by Erika Pacholleck
1434	  and Sebastian Muesch).
1435	+ modify formbox widget so input-length is not limited to field-length
1436	  (report by David Liebermann).
1437	+ localize the label on the search box for textbox widget (report by
1438	  Erika Pacholleck).
1439	+ correct usage message detail for fselect, which listed an extra
1440	  parameter (Debian #284008).
1441	+ add include for <sys/select.h> in ui_getc.c to build with QNX 4.25
1442	  using Watcom 10.6 (patch by Len Meakin).
1443	+ modify behavior when no locale (or POSIX locale) is set to allow
1444	  legacy interpretation of Latin-1 character set (Debian #284795).
1445
14462004/11/18
1447	+ correct computation of column width for menubox/checkbox tags, for
1448	  multicolumn characters, e.g., the menubox-utf8 example.
1449	+ correct calls to wbkgdset(), which set the background attribute but
1450	  not the corresponding character (ncurses uses blank if none is given).
1451	+ improve configure script check for _XOPEN_SOURCE and _POSIX_C_SOURCE.
1452	+ improved limit-computation in show_message() to allow for scrolling
1453	  very long messages.
1454	+ adjust scrolling logic in msgbox to account for the one-line offset
1455	  used by the logic which wraps text in a box, thus avoiding leaving
1456	  an extra blank line (report by Maxim Sobolev).
1457
14582004/09/20
1459	+ add samples/whiptail.rc
1460	+ add samples/dialog.py (noting that a later version of this exists
1461	  as pythondialog, but this is relatively self-contained).  Modified
1462	  the script to accept the $DIALOG environment variable like the other
1463	  sample scripts, to specify the path of the program to use.
1464	+ modify the install rule for header-files so the autoconf names in
1465	  dlg_config.h (and corresponding usage in dialog.h, etc), are altered
1466	  from "HAVE_xxx" to "DLG_HAVE_xxx", etc.
1467	+ add a check for getenv("HOME") in rc.c
1468	+ add a call to end_dialog() in signal_handler for tailboxbg (from
1469	  patch by Werner Fink).
1470	+ correct initialization in checklist and radiobox for --default-item,
1471	  scrolling as needed.
1472	+ modify --visit-items option so that it puts the cursor initially on
1473	  the list (in menubox, checklist and radiobox), accepts abbreviations
1474	  for the buttons when the cursor is on the button-row, and otherwise
1475	  (when --visit-items is given) abbreviations apply only to the list
1476	  (report by Erika Pacholleck).
1477	+ modify a few widgets (inputbox, textbox, yesno) to beep on unexpected
1478	  input.
1479	+ modify some msgbox widget to accept abbreviations of its button
1480	  label, for consistency with other widgets (request by Erika
1481	  Pacholleck).
1482	+ corrected logic of dlg_char_to_button(), making it check only the
1483	  first uppercase letter in each button label rather than all uppercase
1484	  letters (report by Erika Pacholleck, cf: 2003/09/10).
1485	+ improved description of --clear and --keep-window options (adapted
1486	  from Erika Pacholleck).
1487	+ move discussion of --beep and --beep-signal options to Obsolete
1488	  Options section of manpage, remove these from the help-message
1489	  (report by Erika Pacholleck).
1490	+ bracket extern's in dialog.h with C++ extern "C" declaration, in case
1491	  the library is used from a C++ application.
1492	+ modify inputmenu examples to allow ESC to cancel the script.
1493	+ modify inputmenu widget to cancel edit on a TAB or ESC.
1494	+ modify inputmenu widget to use the same color scheme for the editable
1495	  text as the inputbox widget.
1496	+ modify samples/killall to work around differences in "cut" versions.
1497	+ use the color-caching from the \Z logic when loading the ".rc" file,
1498	  thereby reducing the number of color pairs required, and making it
1499	  less likely that deriving color pairs for drawing arrows on a given
1500	  background will run out of colors.
1501	+ save/restore window attributes in dlg_draw_arrows() and similar
1502	  functions, to allow widgets to draw arrows using the widget's
1503	  background rather than a common/fixed value (request by Erika
1504	  Pacholleck).
1505	+ modify textbox widget so the down-arrow will be hidden when at the
1506	  end of the file.  (Modifying the up-arrow to be hidden is harder -
1507	  will do this when implementing scrollbars).
1508	+ correct off-by-one in fselect.c which left down-arrows showing at
1509	  the bottom of directory- and file-lists (report by Erika Pacholleck).
1510	+ improve display of percentages by omitting blanks where lines should
1511	  be shown.
1512	+ modify logic for \Z escapes to make those that set video attributes
1513	  not clear the colors (report by Erika Pacholleck).
1514	+ modify logic for \Z escapes to allow foreground and background
1515	  colors to be the same, provided that bold attribute is set.
1516	  Also improved the logic for choosing a background color when the
1517	  foreground and background are the same (report by Erika Pacholleck).
1518	+ updated configure script macro CF_XOPEN_SOURCE, ensuring that the
1519	  _POSIX_C_SOURCE value is defined with a specific value (bug report
1520	  originally for lynx).
1521	+ fix configure script so that po/makefile is generated properly when
1522	  the configure --srcdir --enable-nls options are used.
1523	+ modify makefile.in to allow build/install from another directory,
1524	  i.e., using configure --srcdir (patch by Mike Castle).
1525	+ updated da.po (Debian #262587, Morten Brix Pedersen).
1526	+ modify some sample scripts to avoid using grave quotes nested within
1527	  double quotes with multiple file redirection, which does not work
1528	  with Solaris /bin/sh (report/analysis by Eric Haller).
1529	+ check for end of string immediately after a \Z escape to avoid
1530	  displaying the null terminator as a ^@ (report by Erika Pacholleck).
1531	> patches by Erika Pacholleck:
1532	+ modify calendar.c, fselect.c and timebox.c to use color scheme like
1533	  other lists, using menubox colors rather than dialog colors.
1534	+ correct charset for po/de.po, translate messages for "Help" and
1535	  "Rename".
1536	+ omit parentheses around percentage in textbox.c
1537	+ correct a few mismatched attributes, e.g., searchbox_attr in textbox.c,
1538	  percentage in msgbox.c,
1539
1540
15412004/07/31
1542	+ add test scripts to cover zero-width column case.
1543	+ remove limit checks from checklist.c and menubox.c (cf: 2004/07/28),
1544	  since some scripts use zero-width columns (Debian #262411 and report
1545	  by Kyle Sallee).
1546
15472004/07/29
1548	+ modify msgbox.c to only reserve space for percentage shown as part
1549	  of scrollable text for the msgbox widget.  This makes infobox look
1550	  as it did before 2004/06/06 changes (report by Vinesh Christopher)
1551
15522004/07/28
1553	+ remove redundant calls to wtimeout() from widgets since wtimeout()
1554	  is properly called from ui_getc() where it is controlled by the
1555	  --timeout option (bug report by juanjo).
1556	+ add limit checks in checklist.c and menubox.c for very narrow screens
1557	  (prompted by Steve Grubb patch).
1558	+ initialize step in dlg_draw_buttons() in case it is used to draw
1559	  a vertical list of buttons (prompted by Steve Grubb patch).
1560	> fixes by Steve Grubb:
1561	+ correct logic in checklist.c (cf: 2003/11/26 changes) which turned
1562	  quoting on unnecessarily for radiobox, breaking some old scripts.
1563	+ increase size of array in dlg_ok_labels() to avoid overrun if extra
1564	  and help buttons are used (cf: 2002/06/12 changes).
1565	+ initialize fkey variable in menubox.c and textbox.c (cf: 2003/07/12).
1566
15672004/07/21 - release 1.0
1568	+ minor updates for configure script, i.e., CF_XOPEN_SOURCE,
1569	  CF_NCURSES_LIBS macros.
1570	+ update config.guess, config.sub
1571	+ add nl.po (Jacques Weewer).
1572
15732004/06/06
1574	+ add --visit-items option, which allows the user to tab to the item
1575	  list in the checklist/radiobox and menubox widgets (request by
1576	  Ari Moisio).
1577	+ use wide-character line-drawing for up/down arrows when configured
1578	  for wide-characters, gives better results with uxterm.
1579	+ limit the number of times a --file option can be used, to prevent
1580	  runaway recursion if a --file option is embedded within a file which
1581	  is included.
1582	+ improve discussion of wrapping in the manpage (Debian #251937).
1583	+ modify msgbox to allow it to scroll vertically like textbox (Debian
1584	  #233276).  This only works with ncurses.
1585	+ implement $DIALOGVARS environment variable to apply common options to
1586	  dialog_vars when it is reset before processing other common options.
1587	+ add --single-quoted option to control whether output is double-quoted
1588	  with '"' or single-quoted with single-quotes.
1589	+ revert the default quoting behavior of checklists to use
1590	  double-quotes (report by Mark K Post regarding Slackware scripts).
1591	+ add eu.po (Basque) (Piarres Beobide Egaa).
1592	+ add ca.po (Catalan) (Jordi Mallach).
1593
15942004/04/21
1595	+ add a call to flushinp() to init_dialog(), to discard any typeahead
1596	  before dialog is invoked (Debian #244746).
1597	+ correct dlg_match_char() function, which was broken during rewrite
1598	  to support wide-characters (Debian #244777).
1599	+ improved ru.po, uses UTF-8 charset (Leonid Kanter, Redhat #119200).
1600	+ correct position of shadow drawn for dialogs, which appeared to work
1601	  for most versions of curses (other than NetBSD) but would have been
1602	  visible for certain color schemes (discussion with Julian Coleman).
1603	+ correct loop-exit in longest_word() (Tomas Heredia, forwarded by
1604	  Santiago Vila).
1605	+ add cy.po (Welsh) (Dafydd Harries).
1606
16072004/03/16
1608	+ modify quoting of results to use single-quote rather than double
1609	  quote, and ensure that results containing a quote or backslash
1610	  character are escaped (report by Florent Rougon)
1611	+ remove an incorrect comparison from checklist which made cursor
1612	  stick on the last line, from 2004/03/01 changes.
1613
16142004/03/14
1615	+ add a dependency to install library if "--with-libtool" is used.
1616	+ add manpage for the library.
1617	+ add "--file"
1618	+ modify formbox.c to support "--help-status" like menubox.
1619	+ modify checklist.c to add item name to the "HELP" string when
1620	  "--help-button" is used and no --item-help option is given (Debian
1621	  #236841, report/patch by Jorg Sommer).
1622	+ rename colors.h to dlg_colors.h, install that when the library is
1623	  installed.
1624	+ add copyright notice to usage ("--help") message.
1625	+ correct a missing bounds check for mouse-clicks in menubox (prompted
1626	  by Debian #233044).
1627	+ updated several configure-script macros:  AM_GNU_GETTEXT,
1628	  AM_WITH_NLS, CF_OUR_MESSAGES, CF_PROG_EXT, CF_WITH_DBMALLOC,
1629	  CF_WITH_DMALLOC, CF_WITH_LIBTOOL, CF_XOPEN_SOURCE.
1630
16312004/03/01
1632	+ improve layout of calendar widget to allow for very long button
1633	  labels (report by Santiago Vila).
1634	+ correct logic for $DIALOG_TTY, broken in 2003/11/30.  The environment
1635	  variable must evaluate to a nonzero integer (report by Florent
1636	  Rougon).
1637	+ document interaction between "--default-no" and "--no-cancel" options
1638	  in manpage (Debian #223488).
1639	+ change configure script to use autoconf 2.52+patch, to work around
1640	  issues with Estonian locale (report by Seemant Kulleen).
1641	+ add uk.po (Ukrainian) (Debian #232441).
1642	+ make --default-item apply to checklist widget (Debian #225255).
1643	+ correct a missing check for --item-help when --help-status was given
1644	  for checklist (Debian #232921).
1645	+ correct a missing bounds check for mouse-clicks in checklist (Debian
1646	  #233044).
1647	+ update config.guess, config.sub
1648
16492003/12/07
1650	+ correct infinite loop in yesno widget when "--defaultno" option is
1651	  combined with "--no-cancel" (Debian #223077).
1652
16532003/11/30
1654	+ suppress double-quotes added for "--help-status" option if the
1655	  string does not contain any special characters.
1656
16572003/11/26
1658	+ add samples/sourcemage.rc, for comparison with slackware.rc
1659	+ add "--insecure" option (request by Sean Mathews (DrWho@f34r.com)).
1660	+ make "--defaultno" option apply to widgets which use OK/Cancel
1661	  buttons as well (Debian #209030).
1662	+ improve documentation of exit-codes for each widget in the manpage
1663	  (Debian #217926).
1664	+ add option "--keep-window" to suppress repainting after completing
1665	  each widget (request by Ingo van Lil).
1666	+ add options "--yes-label" and "--no-label" to allow override of the
1667	  "Yes" and "No" strings (request by Christoph Zwerschke).
1668	+ add option "--help-status" to allow script to restore a checklist
1669	  or radiolist after processing an item-help string (Debian #209031).
1670	+ modify width-calculation for non-formatted text to ensure it is
1671	  wide enough for the longest word in the text (patch by Andrew Gaul).
1672	+ modify dlg_index_columns() to count a newline as a single cell rather
1673	  than 2 for the normal curses case.  This fixes an off-by-one for
1674	  the text-justification, shown in screen 2 of msgbox1 sample script.
1675	+ fix dlg_char_to_button(); 2003/09/10 changes made it incorrectly
1676	  ignore case of the labels.
1677	+ change calendar's use of arrow keys so they are (as before 2002/06/22)
1678	  interpreted within the day-grid as movement within that grid (request
1679	  by David Anders).
1680	+ correct missing initialization of last_getc variable in dlg_getc()
1681	  (report/analysis by Victor Wodecki).
1682	+ modify main program to make
1683		dialog --no-shadow --print-maxsize
1684	  work.  Normally dialog prints the screen size after subtracting the
1685	  area reserved for shadows, but some applications may need the actual
1686	  screen size (Debian #213424).
1687	+ several related changes (Debian #213425):
1688	  + separate the examples using "--stdout" and "--output-fd" from the
1689	    normal usage examples.
1690	  + add "--input-fd" option, provide a sample of its use.
1691	  + modify init_dialog() to use initscr() unless a "--stdout" option
1692	    was used.  Some scripts relied on the coincidence that redirecting
1693	    standard output from dialog would "work".  Before this change
1694	    init_dialog() assumed that redirected standard output was
1695	    synonymous with "--stdout" option (not the intended behavior).
1696	  + modify command-line parsing to look for "--stdout" and "--stderr"
1697	    options first, allowing only one.
1698	  + add a check for an environment variable $DIALOG_TTY which provides
1699	    the older behavior, i.e., try to open the terminal directly if
1700	    stdout is redirected.
1701	+ interface changes, to make libdialog simpler to use:
1702	  + rename all of the internal functions to begin with "dlg_", but
1703	    provide compatibility with older names if the application defines
1704	    __DIALOG_OLD_NAMES__.
1705	  + add dialog_version() function, and corresponding DIALOG_VERSION and
1706	    DIALOG_PATCHDATE definitions to dlg_config.h
1707	  + eliminate remaining global variables such as screen_initialized in
1708	    favor of dialog_state and dialog_vars.
1709	  + move some data such as dialog_vars.output to dialog_state, since
1710	    they are normally not reset between widgets.
1711	  + change interfaces of dialog_yesno() and dialog_checklist() to use
1712	    dialog_state.defaultno and dialog_vars.separate_output, making it
1713	    simpler and more consistent.
1714	+ improve configure script and related definitions:
1715	  + add "--with-libtool" option to provide shared library support by
1716	    libtool.
1717	  + rename generated "config.h" to "dlg_config.h", so it can be
1718	    installed without naming conflict.  Added "dlg_config.h" to
1719	    install-lib rule.
1720	  + modify configure script and makefile to use EXEEXT and OBJEXT.
1721	  + add "--enable-widec" option to control whether wide-curses features
1722	    are compiled-in, rather than check for the existence of those in
1723	    the curses library.  This allows building with HPUX curses, which
1724	    has abandoned legacy features while not quite supporting X/Open
1725	    curses.
1726	  + add configure check for getbegx(), etc., which are not provided on
1727	    all platforms.
1728	+ update config.guess, config.sub
1729
17302003/10/02
1731	+ update hu.po (Arpad Biro).
1732	+ revert part of the 2003/08/18 change to "--stdout" option.  Using
1733	  stderr for screen output does not work well on several platforms
1734	  since stdout's settings are affected (report by Kent Robotti).
1735
17362003/09/24
1737	+ modify tailbox to allow it to display files with arbitrarily long
1738	  lines.
1739	+ fix an infinite loop in tailbox, broken when making interface changes
1740	  to dlg_getc() (report by Ingo van Lil).
1741	+ amend fix for "--and-widget" to not treat "---" as an option (report
1742	  by Kent Robotti).
1743	+ updated es.po (Santiago Vila).
1744
17452003/09/10
1746	+ correct "RENAMED" result from inputmenu widget, which did not reset
1747	  the result buffer, and did not account for scroll-offset (Debian
1748	  #209336).
1749	+ modify button, menu and checklist logic that matches a character to
1750	  the beginning of a text field to support wide-characters (completes
1751	  Debian #195674).
1752	+ modify configure script to not use "head -1".
1753
17542003/08/30
1755	+ modify searchbox popup in textbox widget so one can simply press
1756	  return on an empty input to cancel the popup.
1757	+ modify error reporting to avoid clearing screen if a problem is
1758	  found in the ".rc" file.
1759	+ add color/attribute combinations for form widget (based on patch by
1760	  Reznic Valery).
1761	+ combine rc-file colors, attribute- and color-tables to obtain a
1762	  single table for color values, which requires less work to add new
1763	  entries.
1764	+ modify fselect widget to make back-tab work again, since it was
1765	  broken by the rewrite of dlg_edit_string().
1766	+ modify howmany_tags() so it will quit searching when it finds any
1767	  option, not only "--and-widget" (Debian #206636).
1768	+ correct call to dlg_print_text() in print_line(), which did not
1769	  account for hidden characters (report/patch by David Poole).
1770	+ modify print_button() to display properly if locale defines ok/cancel
1771	  or yes/no buttons that contain multibyte characters.
1772
17732003/08/20
1774	+ correct an indexing error when deleting from the end of a line using
1775	  KEY_DC; it happened to work on Linux because malloc() clears memory
1776	  like calloc().
1777	+ add '\r' to case statement where '\n' is translated to KEY_ENTER to
1778	  work around defect in NetBSD curses.
1779	+ modify configure check for getparyx(), etc., which are implemented
1780	  by NetBSD curses as functions rather than macros.
1781	+ correct configure check for term.h, which may be <ncursesw/term.h>
1782	  if ncursesw development headers are installed, but not ncurses
1783	  development headers.  Or they may not coincide (Debian #206287).
1784
17852003/08/18
1786	+ modify checklist.c and menubox.c to display tags properly if they
1787	  contain wide-characters.
1788	+ better solution for initializing curses when "--stdout" option is
1789	  used, e.g., use stderr for the output if it is a tty.  Also correct
1790	  the error handling, so dialog exits with an error if it cannot
1791	  find a way to do output (Debian #205509).
1792	+ modify sample scripts to use consistent definition of $DIALOG
1793	  (Debian #205508).
1794	+ add UTF-8 examples inputbox6-utf8, inputbox6-utf8 (from Tomohiro
1795	  Kubota, Debian #195674).
1796	+ modify print_line() to work with wide-characters, e.g., so it handles
1797	  wrapping for double-width characters.
1798	+ cache results from multibyte character indices, speeds up cursor
1799	  movement.
1800	+ modify form widget to support scrolling and mouse-selection.
1801	+ add form widget (based on patch by Reznic Valery).
1802	+ correct mouse-handling for inputmenu widget.
1803	+ corrections to menu.c: location of clearing operation, and height of
1804	  rows in code for older ncurses versions (patch by Reznic Valery).
1805	+ improve logic that compensates for xterm's alternate-screen by
1806	  cancelling the rmcup/smcup strings after the rmcup has been issued.
1807	  That ensures that dialog will not clear the screen on exit (report
1808	  by Javier Kohen).
1809	+ modify initialization between widgets to retain the values for the
1810	  --aspect, --separate-widget and --tab-len options.
1811	+ add --separator as an alias for --separate-widget (compatible with
1812	  Xdialog).
1813	+ correct handling of Xdialog's --icon and --wmclass options, whose
1814	  parameter was not ignored.
1815	+ correct logic for --separate-widget so its string is written before
1816	  each output, rather than only for --and-widget option (report by
1817	  Javier Kohen).
1818	+ improve limit-check in center_label() for buttons.c (report by Tor
1819	  Vidar Havstad).
1820	+ correct layout of --menu widget, which reduced display width due to
1821	  logic for --inputmenu being applied whether or not that configuration
1822	  was used (reports by Javier Kohen, Dimitar Zhekov and MAL
1823	  <mal@komcept.com>).  Fixes Debian #201215.
1824	+ modify gauge widget to support --begin option (Hans-Joachim Baader).
1825	+ updated pl.po (Jaroslaw Swierczynski).
1826	+ hide cursor while painting gauge.
1827	+ add auto-sizing logic to gauge widget (reports by Javier Kohen and
1828	  Robert Schubert).
1829
18302003/07/20
1831	+ rewrote inputstr.c, allowing it to enter and display wide-characters.
1832	  Some nonprinting characters such as control/B can be edited as well.
1833	+ modify timebox to allow user to type numbers into the fields.
1834	+ change interfaces of dlg_getc(), mouse_wgetch(), etc., to add
1835	  parameter that returns whether the result is really a function-key.
1836	  This is needed to work with wide-character curses.
1837	+ correct computation of week-number in calendar widget (report by
1838	  Heiner Lamann).
1839	+ updated configure script macros:
1840	  + suppress -Winline with gcc 3.3, since it is broken.
1841	  + fix caching bug in CF_UTF8_LIB
1842	  + improved script for CF_BUNDLED_INTL.
1843	+ update config.guess, config.sub
1844
18452003/03/08
1846	+ add null-pointer checks to some malloc calls which were overlooked.
1847	+ correct logic in dlg_add_result(), which did not copy content of
1848	  non-allocated buffer to the first allocation (report by Daniel
1849	  Dupont).
1850
18512003/03/02
1852	+ correct an uninitialized value in dlg_add_result() (Debian #182683).
1853
18542003/01/30
1855	+ corrected print_line(), which subtracted the margin twice from the
1856	  right-limit, making a string wrap unnecessarily (Debian #168823).
1857	+ correct initial limit-check for arrows in checklist.c, which used
1858	  the wrong variable, showing the bottom arrow when it should not
1859	  (Debian #168823).
1860	+ modify driver to always call show_result(), to simplify updates.
1861	+ fix several memory leaks, important if dialog is run with a large
1862	  number of widgets (report by albert.veli@telia.com forwarded by
1863	  Santiago Vila).
1864	+ check if the screen output is actually to the terminal before trying
1865	  to suppress xterm's alternate screen mode (see 2000/01/18) (report by
1866	  David Oliveira).
1867	+ use dialog_vars.input_result consistently to return the text which is
1868	  printed after a widget completes.  In many cases, dialog now
1869	  allocates enough space to hold the text, rather than use a fixed
1870	  buffer.  The checklist widget was writing directly to the output to
1871	  avoid limits of the fixed buffer.
1872	+ modify dialog.c to also write dialog_vars.input_result if the
1873	  Help-button was pressed (request by Amon Ott).
1874	+ add hu.po (Arpad Biro).
1875	+ update fr.po, pt.po, pt_BR.po to add strings for "Help" button (patch
1876	  by Frederic L W Meunier).
1877	+ fix off-by-one error in menu.c, checklist.c (reported by
1878	  Tomasz Wasiak 2002/09/15 and others:
1879	  Andrew Gaul 2002/11/12,
1880	  Tobias C Rittweiler 2002/11/19,
1881	  Arpad Biro 2003/01/21).
1882	+ updated configure script, improving checks for ncurses in various
1883	  locations, updated NLS script to match lynx.  Added --with-curses-dir
1884	  option.
1885	> Tobias C Rittweiler:
1886	+ make ifdef in mousewget.c consistent with usage in dialog.h
1887	+ use beep() rather than flash() in dlg_edit_string(), for consistency
1888	  with the other functions.
1889	+ change order of buttons so extra button falls between Ok/Cancel.
1890	+ fix so "dialog --print-maxsize" exits from curses.
1891	+ add --inputmenu option.
1892
18932002/08/14
1894	+ modify checklist.c and menubox.c to treat the extra button like the
1895	  "Ok" button by making dialog print the chosen items (request by
1896	  Tobias C Rittweiler).
1897	+ add examples checklist6 and menubox6 to illustrate the --colors
1898	  option.
1899	+ implement -colors option, which allows one to highlight words in the
1900	  titles and most text areas with color or video attributes (adapted
1901	  from patch by Tobias C Rittweiler).
1902	+ add examples inputbox4, inputbox5 to illustrate how to use the
1903	  --output-fd option, and how to use dialog without any temporary
1904	  file at all.
1905	+ add --output-fd option (Debian #153984).
1906	+ documented vi-style keys for calendar, textbox widgets in manpage.
1907
19082002/06/22
1909	+ improve mouse handling, e.g., for up/down scrolling in calendar,
1910	  checklist, etc.
1911	+ add --extra-button and --extra-label options (adapted from patch
1912	  by Tobias C Rittweiler).
1913	+ correct displayed cursor position in inputbox when returning to the
1914	  input area after traversing the buttons with tabs, etc.
1915	+ add left/right arrows for traversal in calendar and timebox dialogs.
1916	+ implement two new functions dlg_next_ok_buttonindex() and
1917	  dlg_prev_ok_buttonindex(), using these to hide details about the
1918	  traversal over buttons in several widgets.
1919	+ modify checklist.c and menubox.c to verify if both --help-button and
1920	  --item-help are specified before assuming that selecting the help
1921	  button should cause the "HELP {item-help}" message to be printed
1922	  (reported by Marcel Ritter).
1923	+ modify init_dialog() to work around HP's broken tty driver (report by
1924	  John Mudd).  Specifically, the problem is that when opening /dev/tty
1925	  directly (to support the --stdout option), the terminal does not
1926	  change to raw mode.  The workaround opens /dev/tty only as needed;
1927	  the --stdout option does not work on HPUX but otherwise dialog works.
1928	+ updated el.po (patch by kromJx <kromJx@crosswinds.net>).
1929
19302002/05/19 - release 0.9b
1931	+ add --no-collapse option to allow one to retain tabs and repeated
1932	  blanks in a message box (request by Roberto Simoni).
1933	+ use DLG_EXIT_ESC constant rather than -1's in several places.  This
1934	  has the effect of changing some exit-with-error cases to denote that
1935	  the exit was because ESC was pressed (patch by Diego Alvarez,
1936	  forward by Santiago Vila).
1937	+ bump package version to 0.9b (with patch-date, as usual).
1938	+ add --exit-label option (request by Roberto Simoni).
1939	+ updated de.po to correct translation for "Cancel" (from Michael
1940	  Piefel, Debian #146402).
1941	+ use definitions from autoconf macro AC_HEADER_TIME to ensure that
1942	  time() is properly prototyped.
1943	+ update pl.po, adding translation for "Help" (patch by Jaroslaw
1944	  Swierczynski <swiergot@hacking.pl>).
1945	+ update COPYING file, to reflect address change of FSF (reported by
1946	  Santiago Vila).
1947	+ update some configuration script macros:  CF_CHECK_CACHE,
1948	  CF_CURSES_CPPFLAGS, CF_HEADER_PATH and CF_MAKEFLAGS.
1949	+ correct misuse of "$with_XXX" variables in the configure script,
1950	  which prevented configuration against curses library as opposed to
1951	  ncurses.
1952	+ update config.guess, config.sub
1953
19542002/03/09 (a)
1955	+ modify geometry of samples/fselect scripts to allow them to run in
1956	  a 24x80 screen (report/patch by Santiago Vila).
1957	+ correct exit-code for menubox.c when Cancel is pressed.  This was
1958	  unintentionally altered when adding --help-button (reported by
1959	  Patrick J Volkerding)
1960
19612002/03/09
1962	+ add --timeout option, which forces the program to exit with an error
1963	  if no user response is given within the specified number of seconds
1964	  (request by <andrew@argoncorp.com>).
1965	+ modify calendar widget to allow day/month/year values to default to
1966	  the current date (request by <Ron.Perrella@bellsouth.com>).
1967	+ modify display of buttons in checklist.c and menubox.c to handle the
1968	  case where the button label is empty (Debian #134388).
1969	+ extended logic for ok/cancel/help to make this work with checklist
1970	  widget.
1971	+ revert pt_BT.po, apply changes to pt.po (report by Frederic L W
1972	  Meunier).
1973	> several changes from Stanislav Ievlev:
1974	+ add options --help-button and --help-label to make menubox display a
1975	  third button which can be used to return an exit code causing the
1976	  calling script to show extended help information.
1977	+ use home/end keys in input string-editing, e.g., inputbox.
1978	+ add option --max-input to limit length of string returned by inputbox
1979	  and other widgets which allow the user to edit a string.
1980
19812001/12/02
1982	+ add --ok-label and --cancel-label options (request by Kyle Sallee).
1983	+ correct usage message for --fselect option (reported by Patrick J
1984	  Volkerding).
1985	+ add samples/debian.rc, for comparison with slackware.rc
1986	+ corrected samples/slackware.rc, which was just the compiled-in
1987	  default values (patch by Patrick J Volkerding).
1988	+ modify search rule for rc-file to add a global rc file /etc/dialogrc
1989	  (patch by Patrick J Volkerding).
1990	+ updated pt_BR.po with modified entries for fselect.c (Frederic L W
1991	  Meunier).
1992	+ add pl.po (Swiergot <swiergot@l02.ids.czest.pl>).
1993
19942001/11/11
1995	+ modify command-line parsing to allow a "--" argument to act as an
1996	  escape, so the next argument is not recognized as an option if it
1997	  begins with "--".  This is apparently one of popt's undocumented
1998	  features, upon which some Debian scripts depend (Debian #116642).
1999	+ add da.po (Morten Brix Pedersen <morten@wtf.dk>).
2000	+ add an install-strip rule to makefile, changing the normal install
2001	  rule to not strip the installed executable (based on discussion with
2002	  Santiago Vila).
2003	+ initialize my_output variable if user cannot open /dev/tty, e.g., if
2004	  su'd to another user (patch by Richard Braakman (<dark@ssh.com>), Debian
2005	  #117177).
2006	+ add configure option --with-ncursesw, to allow configure/build with
2007	  wide-character version of ncurses.
2008
20092001/10/14
2010	+ add option --ignore, to make dialog be ignore options that it does
2011	  not recognize.
2012	+ add option --trim, to trim literal newlines and repeated spaces from
2013	  text that will be displayed.  Add samples/msgbox2, which is the
2014	  same as msgbox1, but using --trim (cf: change for Debian #102942).
2015	+ minor correction to attributes for buttons.c to use active_attr on
2016	  the right-side of a button.
2017	+ add a sample dialog rc-file slackware.rc based on diffs in hdasetup
2018	  package at
2019		http://ftp1.sourceforge.net/pub/mirrors/slackware/slackware/source/a/hdsetup/
2020	  (discussion with Frederic L W Meunier).
2021	+ modify dialog.pl to avoid using a statically-named tempfile, allowing
2022	  multiple processes to use this script (patch by James Ranson
2023	  (<euclid80@yahoo.com>), Debian #110609).
2024	+ correct fprintf() call in j_menu() function, i.e., "--menu" option,
2025	  which did not guard against expanding '%' embedded in the parameters
2026	  (Stavros Chatzistefanidis <sxatz@yahoo.com>).
2027	+ add et.po (Ivar Smolin <okul@trenet.ee>).
2028	+ update fr.po (Frederic L W Meunier).
2029	+ modify to allow scripts to alter the exit codes, mainly to
2030	  distinguish ESC and ERROR exits.  This is done by setting a shell
2031	  variable such as DIALOG_ESC to a new value (request by Petr Vandrovec
2032	  (<vandrove@vc.cvut.cz>), Debian #99264)
2033
20342001/08/27
2035	+ use VPATH in makefile to support build with configure --srcdir, if
2036	  the make program supports that.  Note that samples/install/makefile
2037	  is not generated, due to awkward limitation of autoconf script
2038	  (reported by Frederic L W Meunier <0@pervalidus.net>).
2039	+ add po/pt_BR.po (Frederic L W Meunier <0@pervalidus.net>).
2040	+ correct sense of --enable/--disable shown in configure --help (report
2041	  by Frederic L W Meunier <0@pervalidus.net>).
2042	+ correct logic for --clear option, broken in 2000/07/02 (fixes Debian
2043	  #110254).
2044
20452001/08/11
2046	+ porting fixes to work on AIX: flush output to work around bug in
2047	  curses library, use ./killall in scripts to avoid conflict with
2048	  AIX program by that name.
2049	+ modify dlg_trim_string() to retain literal newlines if the string
2050	  does not contain "\\n" strings, and to retain leading blanks on the
2051	  resulting lines, for compatibility with older scripts (Debian
2052	  #102942).
2053	+ add charset specification to cs.po
2054	+ change dates in CHANGES to consistent format, add el.po for Greek
2055	  (patch by kromJx <kromJx@crosswinds.net>).
2056	+ eliminate static globals (bss, data) from modules rc, tailbox,
2057	  textbox using better parameter-passing convention, and const.
2058	+ cleanup temporary files in a few of the sample scripts.
2059	+ rewrote tailboxbg using select() rather than fork(), thereby
2060	  eliminating lock-files.  Only one process should be trying to display
2061	  on the screen at any given time.
2062	+ add error check to ensure that numeric parameters are really numbers.
2063	+ correct off-by-one in error messages reporting too-few or too-many
2064	  tokens for a given option (reported by George Mirchev).
2065	+ fix typo in manpage, "textboxbg" where "tailboxbg" was meant
2066	  (reported by George Mirchev <la@mail.techno-link.com>).
2067	+ use DLG_EXIT_xxx symbols consistently for all exit codes.
2068	+ updated es.po (patch by Santiago Vila).
2069	+ updates for some configure script macros from lynx:  CF_MAKEFLAGS,
2070	  CF_NCURSES_VERSION, CF_PROG_EXT.
2071	+ fixes to compile if <term.h> is included, e.g., when building with
2072	  AIX curses (report by Suzi Dowson <Suzi.Dowson@capgemini.co.uk>).
2073
20742001/05/27
2075	+ updated dialog.pot
2076	+ modify fselect.c to work with autosize, i.e., given height and width
2077	  zero (report by Martin Povolny).
2078	+ add a null-pointer check in justify_text(), needed by fselect.c
2079	+ add several more options which dialog can safely ignore, from
2080	  Xdialog 2.0.2
2081	+ refinements for configure macros checking for $CPPFLAGS, from lynx.
2082	+ update config.guess, config.sub to match autoconf 2.50
2083	> Martin Povolny <martin@solnet.cz>:
2084	+ add cs.po
2085	+ use nl_langinfo() to customize names for day-of-week, and month
2086
20872001/05/11
2088	> Vincent Stemen <dialog@AdvancedResearch.org>:
2089          Fixed dialog.c to not pass menu items through dlg_trim_string().
2090          Stripping extra spaces out of the menu items broke some of my
2091          scripts by altering the string that it compared to know which menu
2092          item was selected.  There should be no need to do justification on
2093          the menu items, which are always one line, anyway.
2094
20952001/04/29
2096	> Vincent Stemen <dialog@AdvancedResearch.org>:
2097	+ rewrote the text justification code to be able to have preformatted
2098	  text in the prompts with extra spaces like the older versions of
2099	  dialog.  If there are "\n" strings in the text, then extra spaces are
2100	  preserved.  Lines are always wrapped on word boundaries.
2101        + fixed --cr-wrap to break lines on '\n' (newline) characters and not
2102          add an extra line at the top and bottom of the text.  It now works
2103          as the manual says it should.
2104	+ it is no longer necessary to use "\n\" at the end of lines to escape
2105	  the '\n' character.  "\n" now works.  However, the old way, "\n\"
2106	  still works.
2107        + the fixes involved the following changes:
2108          - rewrote dlg_trim_string() to recognize preformatted text (know
2109            when not to strip extra spaces) and to pay attention to --cr-wrap.
2110          - rewrote justify_text() which now calls a new function in util.c,
2111            print_line(), to print each line and end it on a word boundary.
2112	  - modified real_auto_size() to call a new function
2113	    auto_size_preformated() to calculate the box size for preformatted
2114	    text.
2115          - removed skip_blanks() and skip_text() since they are not used by
2116            the new justify_text().
2117          - modified dialog.c to not call dlg_trim_string() on title strings
2118            so that titles retain their spaces.
2119        + modified the following demo files in the sample directory:
2120          - inputbox
2121	      changed all "\n\" strings to "\n" to demonstrate the extra
2122	      backslash is no longer needed.
2123          - inputbox1
2124              removed all the "\n\" strings from the end of the lines to
2125              properly demonstrate --cr-wrap.
2126          - msgbox1
2127	      this sample was using "--aspect 9 --cr-wrap".  Rewrote it to
2128	      properly demonstrate --aspect.  9 is already dialog's default
2129	      aspect ratio.  It now creates several dialogs in sequence,
2130	      demonstrating aspect ratios of 9, 12 and 6 and properly
2131	      demonstrates --cr-wrap.
2132        + made the following changes to the manual (dialog.1).
2133          - rewrote the description of --aspect to be more understandable.
2134          - rewrote the description of --cr-wrap to be more correct and more
2135            detailed.  It did say, "Otherwise, the text for each dialog will
2136            display on a single line.", which is not correct.  It wraps the
2137            text to fit in the box.
2138	> T.Dickey:
2139	+ use logic from menubox dialog in checklist to handle autosizing when
2140	  list height is given as zero (fixes problem reported by Eric Veltman
2141	  <eveltman@baan.nl>).
2142	+ modify checklist and menubox dialogs to check for too-wide data, and
2143	  truncate one or both of the name and text fields to fit (also
2144	  reported by Eric Veltman).
2145	+ corrected a few items from Vincent's patch:
2146	  - use C89-style comments rather than C++
2147	  - restore logic in justify_text() which checks for win==0, needed to
2148	    work with standard curses implementations other than ncurses.
2149	    The first call on justify_text() passes a null pointer as a flag
2150	    to indicate that checking should be done, but no screen updates.
2151	  - avoid modifying the buffer in decode_percent(), otherwise a message
2152	    containing a space or newline would be truncated at the whitespace.
2153	  - modify dlg_button_x_step() and dlg_button_layout() slightly to
2154	    work with altered print_autowrap(), etc.
2155	+ fixes to build/work with SunOS 4.x 5lib curses
2156
21572001/04/15
2158	+ fix a memory leak in mouse_region().
2159	+ simplify handling of optional parameters with new functions
2160	  optional_str() and optional_num().
2161	+ add calendar and timebox dialogs (compatible with Xdialog).
2162	+ correct typo in fallback definition for getparyx, and remove void
2163	  cast for mouse_open and mouse_close which prevented build with
2164	  Sun's Solaris compiler.
2165	+ rename --enable-lxdialog configure option to --enable-Xdialog
2166	+ modify CF_NCURSES_CPPFLAGS macro to match more variations of ncurses
2167	  header files.
2168	+ update config.guess, config.sub
2169	+ modify some configure script macros to avoid problems with buggy
2170	  autoconf 2.49c which breaks changequote().
2171
21722001/01/15
2173	+ small fix to revised real_auto_size() and justify_text() to avoid
2174	  adding origin to box-width, which broke samples/wheel.
2175	+ apply 1999/12/25 tempfile change to wheel and copismall samples.
2176	+ add sample script for tailboxbg.
2177	+ revised lock-file management to better ensure that locks are actually
2178	  created by the tailbox subprocess(es).
2179	+ correct hardcoded signal 15 in tailbox to SIGHUP to match
2180	  documentation.  Signal 15 is usually SIGTERM, which cannot be caught.
2181	+ correct off-by-one comparison of return-value for arg_rest() which
2182	  made
2183		dialog --gauge test 10 50
2184	  dump core because it expected a 4th parameter (fixes Debian #80641).
2185	+ resync config.sub, config.guess from
2186	  http://subversions.gnu.org/cgi-bin/cvsweb/config/ (which finally have
2187	  cases for OS/2 EMX), minor tweaks to related configure script macros.
2188
21892000/12/17
2190	+ restore treatment of predefined height/width in real_auto_size()
2191	  which was lost in 2000/12/12 rewrite (report by Raphael Halimi
2192	  <raphaelh@easynet.fr>).
2193	+ updates for configure script macros AM_PATH_PROG_WITH_TEST,
2194	  CF_CURSES_LIBS, CF_LIB_PREFIX, CF_PROG_EXT for $PATHSEP and $CFLAGS
2195	  fixes.
2196
21972000/12/13
2198	+ correct change for create_lock(), which resulted in an infinite loop
2199	  (patch by Chris Butler, <chrisb@debian.org>).
2200
22012000/12/12
2202	+ rewrote print_autowrap() and real_auto_size() to share common code
2203	  justify_text(), which now does text flow even when the string
2204	  contains newlines (fixes Debian #77199).
2205	+ improve create_lock() function using open() with O_EXCL rather than
2206	  fopen() (patch by Matt Kraai (<kraai@debian.org>), Debian #78951).
2207	+ correct description of --fselect in man page (patch by Tomas Pospisek
2208	  (<tpo@spin.ch>), Debian #77200).
2209	+ add --no-cancel as alias for --nocancel for compatibility with
2210	  Xdialog (report by Luis E Limon <luisl@abriasoft.com>).
2211
22122000/10/27
2213	+ some lint fixes using lclint (mostly void-casts, but some
2214	  sign-extension fixes e.g., for ctype.h macros, and loop in
2215	  dlg_char_to_button()).
2216	+ modified to build/run on OS/2 EMX with ncurses.
2217	+ minor changes to po/*.po (trim trailing blanks, provide explicit
2218	  translation for "OK"), to work with Solaris gettext.
2219	+ modified to allow this to build with archaic version (1.8.6)
2220	  of ncurses on FreeBSD 3.1 (does not run).
2221	+ update config.guess, config.sub from subversions.gnu.org
2222
22232000/10/17
2224	+ use new function sub_window() to check success/failure of calls to
2225	  subwin(), printing an error message if it fails (fixes Debian #74903).
2226	+ use combination of isatty/ttyname to look for workable tty device
2227	  on systems which have no /dev/tty, e.g., BeOS.
2228
22292000/10/08
2230	+ change exiterr() to use stdarg.h, make some messages easier to
2231	  understand.
2232	+ add dialog_clear()
2233	+ make samples/install/setup build.
2234	+ implemented mouse support for buttons, e.g., in yesno dialog using
2235	  ncurses (the gpm support no longer works, but is useful for reference)
2236	+ add a configure check for chtype.
2237	+ updates for configure script macros (CF_BUNDLED_INTL, CF_CURSES_LIBS,
2238	  CF_GCC_ATTRIBUTES, CF_GCC_WARNINGS, CF_INCLUDE_DIRS), and scripts
2239	  config.guess, config.sub
2240	+ cleanup of item-help change, integrate with checklist and radiobox.
2241	+ add ja.po, from Hirofumi Takeda <takepin@turbolinux.co.jp>.
2242	> patch by Marco Mariani <marcom@sferacarta.com>
2243	+ add --item-help option, which makes menubox data interpreted as
2244	  3 columns rather than 2.  The third column is displayed on the
2245	  last line of the screen as a help/status message for the currently
2246	  selected item.
2247	+ add it.po, pt.po
2248	+ change TAG_KEY_HL to FALSE, making unselected items in checklist
2249	  easier to read on Linux console.
2250
22512000/07/30
2252	+ change real_auto_size() to allow it to be used for dialogs that have
2253	  no prompt, e.g., fselect.  Also, rather than requiring both height
2254	  and width to be given as -1 for maximizing the dialog, allow either
2255	  alone.
2256	+ increase minimum height needed for autosized yesno dialog.
2257	+ add --version as an alias for --print-version.
2258	+ fix for build on Solaris without NLS (cannot redefine 'gettext()').
2259	+ add fselect dialog (compatible with Xdialog).
2260	+ add --enable-lxdialog configure option.
2261	+ use new configure macro CF_ARG_MSG_ENABLE to show progress with
2262	  enable/disable switches.
2263
22642000/07/02
2265	+ implement --stdout and --stderr options as in Xdialog.
2266	+ move logic that translates "\\n" into '\n' into main program to
2267	  simplify logic that formats text.
2268	+ make ifdef's for rc-file not specific to ncurses.
2269	+ correct logic making percent parameter of gauge optional.
2270
22712000/06/29
2272	+ add alternate test-script for gauge, adapted from Xdialog.
2273	+ modify gauge to make optional a percentage which was read at the
2274	  beginning of the XXX-delimited message text, since clones of dialog
2275	  are written to assume this is text.  If the line is not a simple
2276	  integer, dialog will treat it as text.
2277	+ make the percent parameter of gauge optional, as in Xdialog.
2278	+ undo one use of CharOf() in guage.c, an error.
2279	+ fix configure macro AM_WITH_NLS to refrain from attempting to make a
2280	  symbolic link into/libintl.h if we are not using the bundled intl
2281	  directory from gettext (reported by Julian Coleman
2282	  <J.D.Coleman@newcastle.ac.uk>).
2283	+ add ru.po, from Michael Sobolev <mss@transas.com>
2284	+ updates for config.guess, config.sub from tin.
2285	+ updates for configure script macros:  CF_MATH_LIB (improperly nested
2286	  brackets/parenthesis) and CF_XOPEN_CURSES (make include of
2287	  <*curses.h> depend on configure tests).
2288
22892000/04/25
2290	+ repaint screen when a control/L is pressed.
2291	+ apply CharOf() macro to avoid sign-extension on calls to waddch(),
2292	  fixes a problem with accented characters (reported by Santiago Vila).
2293	+ add es.po, from Santiago Vila <sanvila@unex.es>
2294
22952000/04/23
2296	+ modified to use gettext (configure option --enable-nls).  This uses
2297	  gettext 0.10.35, which must be previously installed.  (It can also
2298	  use an included intl library, but I consider that to be a waste of
2299	  disk space).
2300	+ remove code in checklist/radiobox, menubox that try to use
2301	  abbreviations for the OK/Cancel buttons since those conflict with the
2302	  check for abbreviations in list entries, which are more useful.
2303	+ moved padding of button labels out of string literals, into the
2304	  logic of dlg_draw_buttons().
2305	+ resync/update with configure macros CF_CURSES_LIBS, CF_FIND_LIBRARY,
2306	  CF_HEADER_PATH, CF_LIBRARY_PATH and CF_NCURSES_LIBS, as well as
2307	  mkdirs.sh and config.guess.
2308
23092000/02/22
2310	+ add --default-item option, for menubox to set the default selection
2311	  (fixes Debian #49796).
2312	+ add sample scripts for --nocancel and --fb options with inputbox.
2313	+ modify inputbox* sample scripts to show application errors, if any.
2314	+ add --nocancel option, and ignore --noitem, --fb, --fullbutton, to
2315	  make this compatible with whiptail scripts.  (whiptail does not
2316	  handle many dialog scripts however).
2317	+ modify checklist/radiobox to handle home, end, nextpage, prevpage
2318	  keys, as well as make the abbreviation search work for the whole
2319	  list, not only the current page.
2320	+ treat KEY_LL the same as KEY_END in checklist and textbox.
2321	+ add logic for KEY_BTAB.
2322	+ use new function dlg_draw_buttons() to better manage the layout of
2323	  yes/no/ok/cancel buttons.
2324	+ another pass of cleanup of dialog.c, makes it use a single table for
2325	  lookup of option names and help-message.  Eliminated numerous
2326	  adjustments to 'offset' variable.
2327	+ on initialization, check if standard input is from a terminal.  If
2328	  not, open /dev/tty (fixes Debian #57771)
2329
23302000/02/05
2331	+ implement inline editing in textbox.c search dialog.
2332	+ revise inputbox.c, allowing inline editing with arrow-keys.  removed
2333	  redundant logic in that module.
2334	+ correct a typo that prevented rc-file configuration from building.
2335	+ correct ifdef's to compile/run if the curses implementation does not
2336	  support color.
2337
23382000/01/23
2339	+ improve test-case for gauge.
2340	+ change gauge.c to show progress in reverse-video, add a check for
2341	  end-of-file in the loop for reading new messages.
2342	+ use curses whline() function to simplify print_arrows() logic in
2343	  checklist.c and menubox.c
2344	+ use curses beep() function rather than hardcoded strings.
2345	+ correct several compiler warnings for gcc -pedantic (mismatch of
2346	  const, signed/unsigned).
2347	+ modify exiterr() to avoid possible expansion of '%'.
2348	+ change CF_MATH_LIB configure macro to allow specifying a particular
2349	  test-function.  For dialog, this should be sqrt().  The macro was
2350	  originally written for ncurses, which needs sin().  However, that is
2351	  a builtin function on the m68k port (reported by Roman Hodek
2352	  <Roman.Hodek@informatik.uni-erlangen.de>, this fixes Debian #55553).
2353
23542000/01/18
2355	+ update manpage (Debian #25648).
2356	+ modify configure test for math library to avoid using a constant
2357	  parameter to the test function, lest gcc optimize the call away
2358	  (fixes Debian #55553).
2359	+ restructure help-message so actual problem is indicated.  The original
2360	  help-message is shown if no parameters are given, or if the --help
2361	  option is specified alone.
2362	+ suppress xterm's alternate screen mode by sending an exit_ca_mode
2363	  after initscr if the terminal looks like xterm, e.g., has key_mouse
2364	  defined, and has private-mode escapes in both enter_ca_mode and
2365	  exit_ca_mode (fixes Debian #55181).
2366	+ change yellow lettering on white to blue on white, since it offers
2367	  better contrast (fixes Debian #51196).
2368	+ use napms() rather than sleep().
2369	+ some cleanup/simplification of main program.  Indent'd dialog.c and
2370	  util.c
2371	+ eliminate several places where repeated options are treated as
2372	  an error, since they are really executed once anyway.
2373
23742000/01/15
2375	+ remove pre-autoconf Makefile
2376	+ remove sleep's from a few of the sample scripts, which left users
2377	  thinking that dialog was slow to complete an action.
2378	+ rewrote infobox sample script, using dialog's --sleep option and
2379	  a loop in the script.
2380	+ change 'ch' variable in tailbox.c to an integer, because it is
2381	  compared against EOF (fixes Debian #53157).
2382	+ corrected mandir variable in makefile.in (reported by Santiago Vila).
2383	+ small changes to sample scripts, from Debian: rename "guage" script
2384	  to "gauge", change path to copy of GPL used in textbox.
2385	+ add uninstall rule to makefile.in, fixed some dependencies so
2386	  "make install" works without first doing "make all".
2387
23881999/12/25
2389	+ use more portable scheme for tempfile generation in samples.
2390	+ add a configure script, prefer to not use the original Makefile
2391	  because it works only with GNU make.
2392	+ correct prototype of 'main()', which misused const.
2393	+ modify guage.c to use fgets() rather than gets().
2394	+ merge changes from Debian package maintainer
2395	  Santiago Vila <sanvila@ctv.es>:
2396
2397	  1999/10/07
2398		+ add a password dialog box (Debian #45964, patch by Joey Hess).
2399		+ implement "--defaultno" option to specify if the default for
2400		  the yes/no box is "No" (Debian #46076, patch by Joey Hess).
2401	  1999/03/10
2402		+ modify input.c to clear the input field to the right of the
2403		  given string, to help with screen-refresh
2404	  1998/12/08
2405		+ check for list_height less than one in checklist.c (Debian
2406		  #22239).
2407	  1998/10/21
2408		+ use function wscrl() in preference to scroll() in checklist.c
2409		  and menubox.c (unclear: in ncurses, scroll() is a macro that
2410		  uses wscrl()).
2411		+ remove the "-I/usr/include/ncurses" option from Makefile
2412		  since Debian does not install ncurses' header files into
2413		  that directory.
2414	  1998/09/12
2415		+ simplify menubox.c using new functions print_arrows() and
2416		  print_items().  add logic to handle KEY_NPAGE and KEY_PPAGE
2417		  (Debian #26326).
2418		+ modifications to provide sample scripts (Debian #26211):
2419		  + change sample scripts to use Debian tempfile utility rather
2420		    than putting files into /tmp.
2421		  + change sample scripts to use 'dialog' from user's path
2422		    rather than in the parent directory as in the build
2423		    directory.
2424		+ use the system copy of GPL rather than that in the build
2425		  directory as an example for the textbox script.
2426
24271999/11/27
2428	+ fix some gcc warnings about ambiguous use of "else"
2429
24301999/05/01
2431	+ cleaned up some of the redundant code with new functions:
2432		box_x_ordinate
2433		box_y_ordinate
2434		draw_title
2435		draw_bottom_box
2436		new_window
2437
2438	+ modified msgbox.c and yesno.c to work with the KEY_RESIZE sigwinch
2439	  handling in ncurses 4.2
2440
2441	+ corrected spelling of "gauge"
2442
2443The relevant portions of the Debian change log for the original version
2444(dialog-0.9a-12) are abstracted here, omitting details of their packaging:
2445
24461998/05/24
2447
2448	+ Replaced guage.c by the one in dialog 0.6z, which is known to work.
2449	  Fixes Debian #18284: unstable dialog.
2450
24511997/12/16
2452
2453	+ dialog.c:  dialog_input_result printed with "%s" format.  This was
2454	  Debian #9913, fixed by Bill Mitchell, but the change was lost.
2455	+ Pristine source, .depend is not removed in clean target.  Instead, it
2456	  is made zero length (otherwise it would not work *without* fakeroot).
2457	+ Added '^U' support in input box (Debian #9915, patch by Joey Hess).
2458	+ Wrote patch to fix core-dumping problem (Debian #13170).  Sven Rudolph
2459	  <sr1@inf.tu-dresden.de>:
2460
2461-- vile:fk=8bit
2462