xref: /dragonfly/contrib/dialog/CHANGES (revision 029e6489)
1-- $Id: CHANGES,v 1.683 2020/03/27 21:14:23 tom Exp $
2-- Thomas E. Dickey <dickey@invisible-island.net>
3
4This version of dialog was originally from a Debian snapshot.  I've done this
5to it:
6
72020/03/27
8	+ add clarification in manual page to show when the single/double
9	  quotes may be needed (prompted by discussion with Danilo G Baio).
10	+ fix an extra ".exe" in makefile.in which prevented Cygwin build.
11	+ fix most cppcheck warnings
12	+ tailbox/tailboxbg's exit-button now works with mouse-clicks
13	+ fix repainting while resizing for the editbox widget.
14	+ add configure-check for curses_exit() from ncurses 6.2
15	+ fix a few memory leaks in fselect.c, mixedgauge.c when resizing.
16	+ fix inconsistency in dlg_string_to_argv() which made the checklist9
17	  example not work.
18	+ add empty-string check in dlg_print_listitem() to avoid indexing past
19	  the end of the array of character-offsets.
20	+ improve handling of KEY_RESIZE by repainting the backtitle after
21	  clearing the screen (integrated patch by Rainer Weikusat, Debian
22	  #954185).
23	+ improve logic for wtimeout() calls which are used to set temporary
24	  non-blocking reads (prompted by patch by Rainer Weikusat, Debian
25	  #954220).
26	+ add "make check" rule.
27	+ updated configure-macros.
28
292020/02/28
30	+ updated configure-macros, to work around ncurses vs xcode's c99 -W
31	+ update config.guess
32
332019/12/31
34	+ updated configure-macros.
35	+ update config.guess
36
372019/12/10
38	+ correct rc-file lookup of "default" color (report by Grady Martin,
39	  cf: 2019/09/24).
40	+ fix several issues in the sample scripts reported by shellcheck.
41	+ fix a few spelling errors reported by codespell (report by Jens
42	  Schleusener).
43	+ correct check for return-value of isblank(), which is not necessarily
44	  0/1 (report/patch by Paul Cercueil, Peter Korsgaard, cf: 2018/05/31).
45
462019/12/09
47	+ amend change for parsing command-options before calling init_dialog,
48	  to handle --no-shadow, etc., which are initialized in init_dialog
49	  (report by Paul Cercueil, cf: 2018/06/21).
50	+ add dlg_trace_va_msg to manpage, symbol files.
51
522019/11/10
53	+ improve layout of several widgets' data area when maximizing.
54	+ modify dselect/fselect to work with autosizing (Debian #915949).
55	+ add error messages from dlg_exiterr() to trace file.
56	+ improve manual page description of escaping in key-bindings.
57	+ modify inputmenu to recognize the "Cancel" button and keys bound to
58	  that feature while editing a renamed menu item.
59	+ revert one change, in form.c to the --last-key feature (Debian
60	  #942025).
61	+ correct ordering of libraries in configure-script, which appended
62	  in a case where it should have prepended.
63	+ update config.guess, config.sub
64
652019/09/26
66	+ improve dialog-config script's filtering of -L options using the
67	  linker default directories.
68	+ improve dialog-config script, adding a -L option corresponding to
69	  the configure --libdir option if it would be a duplicate (report by
70	  Andrew Kosteltsev).
71	+ build-fix for configure --disable-trace
72	+ updated pt.po from
73		http://translationproject.org/latest/dialog/
74
752019/09/24
76	+ allow for underline- and reverse-video flags in the ".rc" file
77	  (integrated patch by Richard Robbins).
78
792019/08/08
80	+ amend change to --last-key feature to eliminate an unnecessary
81	  separator (report by Gabriele Balducci).
82
832019/08/06
84	+ extend --last-key feature to the remaining widgets which have
85	  ok/cancel buttons, and add logic to map keys which happen to be
86	  bound to ok/extra/cancel/help to simulate a button-press on the
87	  corresponding button (report by "sgewrk").
88
892019/08/01
90	+ further fixes for dialog-config.in (report by Andrew Kosteltsev).
91
922019/07/28
93	+ modify dialog-config.in so that setting prefix or exec-prefix to
94	  a given value with --prefix=VALUE or --exec-prefix=VALUE has the
95	  expected result of changing bindir, etc.
96	+ correct substitution for $LIBS value in dialog-config.in (report by
97	  Andrew Kosteltsev).
98
992019/07/24
100	+ modify dlg_will_resize() and dlg_result_key() functions to reduce
101	  the chance that dialog exits on a SIGWINCH (Debian #930775).
102	+ make test-package for the development headers/library
103	+ add --libs-only-L, etc., to dialog-config script (prompted by
104	  discussion with Andrew Kosteltsev).
105	+ fix a memory leak in gauge widget (Andrew Kosteltsev).
106	+ minor fix for CF_GCC_WARNINGS
107	+ update config.guess, config.sub
108
1092019/02/11
110	+ modify to work with ncurses' threaded-library, which does not allow
111	  assignment to LINES/COLS (report by Marcus Roeckrath).
112	+ correct clearing after text in progressbox from 2018/06/21 changes
113	  for resizing (reports by David Boyd, Alan Somers).
114	+ improved configure macros CF_GNU_SOURCE, CF_POSIX_C_SOURCE,
115	  CF_XOPEN_SOURCE
116	+ update config.guess, config.sub
117
1182018/11/07
119	+ convert ja.po to UTF-8 for consistency (suggested by Stanislav
120	  Brabec).
121	+ repair mis-encoded hi.po (report/analysis by Stanislav Brabec).
122
1232018/10/22
124	+ improved configure macros CF_CC_ENV_FLAGS, CF_LD_RPATH_OPT,
125	  CF_LIBRARY_PATH, CF_SHARED_OPTS, CF_WITH_MAN2HTML,
126	  CF_WITH_VERSIONED_SYMS from ncurses
127	+ add ast.po, from
128		http://translationproject.org/latest/dialog/
129
1302018/06/21
131	+ improve file-offset computation in textbox.c (Werner Fink).
132	+ fix an overlooked case with real_auto_size() to maximize when
133	  height or width is given as -1.
134	+ build-fixes for configure options "--disable-Xdialog2" and
135	  "--disable-form"
136	+ add traces for each widget to show its parameters.
137	+ modify color scheme for mixedgauge to use the dialog window colors,
138	  like the captions.
139	+ fix a too-small malloc in the mixedgauge widget.
140	+ fix a use-after-free in dlg_remove_callback().
141	+ improve handling of SIGWINCH for several widgets (Debian #865840).
142	  + menubox, the point of the Debian report was that it would be nice
143	    to increase the window size if the terminal size increases.  Did
144	    that as a special case less problematic than decreasing the
145	    terminal size.  Added samples/menubox11 to demonstrate by
146	    comparison with menubox10 a problem with debconf which puts extra
147	    newlines in the caption that interfere with autowrap.
148	  + progressbox and derived prgbox, programbox, now handle resizing.
149	  + yesno, window was cleared
150	+ add dlg_ttysize() to support new options, allowing scripts to obtain
151	  some text-formatting details without initializing the terminal.
152	+ add options --print-text-only, and --print-text-size for scripts that
153	  adjust the widget size according to how the captions are formatted.
154	+ improve dialog.pl:
155	  + add demo.pl, to demonstrate the functions
156	  + quote/escape string parameters passed to dialog.
157	  + ensure all "integer" parameters are really integers.
158	  + use actual screensize for list captions rather than assuming 24
159	    lines.
160	+ when trimming blanks, treat unconverted tabs the same as spaces.
161	+ correct parameter to test when trimming blanks from the script,
162	  e.g., with "--trim" (report by Jarno Suni).
163	+ improve documentation of the various whitespace-filtering options,
164	  to show which take precedence (Debian #867536, cf: Debian #102942).
165	+ modify msgbox.c, yesno.c to bind SCROLLKEY_BINDINGS before
166	  TRAVERSE_BINDINGS so that up/down arrow will by default scroll the
167	  message up/down rather than be aliases for tab-traversal (report by
168	  Fredrik Kers).
169	+ modify dump_one_binding() to show when a binding is overridden.
170	+ improve format of trace-file, making comment-syntax consistent,
171	  as well as showing argv-splitting as a series of comments.
172	+ modify dlg_string_to_argv() to change the quoting behavior to be
173	  more consistent with shell behavior (patch by Denilson Sa Maia).
174	+ modify dlg_getc() to return ESC when a timeout expires, notifying
175	  callers that a quit occurred rather than exiting the application
176	  (suggested by Rodrigo Freitas).
177	+ modify handle_inputs() to ensure cursor-visibility is restored when
178	  there is no input character available (report by Guillaume Vareille).
179	+ improve comment in manual page regarding which widgets can use the
180	  "--help-button" (prompted by discussion with Csanyi Pal).
181	+ add a check for valid object pointer in tailbox's main loop since
182	  the getc-callback may have been freed within ui_getc.c (report by
183	  "David").
184	+ improved configure macros for ncurses: CF_GNU_SOURCE, CF_SHARED_OPTS,
185	  CF_CURSES_LIBS, CF_CURSES_FUNCS, CF_NCURSES_CONFIG
186	+ improved configure script checks for groff vs man2html:
187	  CF_PROG_GROFF and CF_WITH_MAN2HTML
188	+ build-fix from lynx for AM_WITH_NLS configure macro
189	+ update config.guess, config.sub
190
1912017/12/09
192	+ update ftp url in test-packages.
193	+ modify test-packages to use recommended compiler/linker flags.
194	+ improved configure macros AM_WITH_NLS, CF_CC_ENV_FLAGS,
195	  CF_CURSES_LIBS, CF_NCURSES_CONFIG, CF_SHARED_OPTS, CF_WITH_LIBTOOL,
196	  CF__INTL_BODY.
197	+ update config.guess, config.sub
198
1992017/05/09
200	+ improved configure macros CF_ADD_CFLAGS, CF_CC_ENV_FLAGS, and
201	  CF_SHARED_OPTS.
202	+ updated hu.po and tr.po from
203		http://translationproject.org/latest/dialog/
204	+ update config.guess, config.sub
205
2062017/01/31
207	+ use DLG_TRACE macro consistently to make "--disable-trace" configure
208	  option work.
209	+ modify buildlist widget to support option "--reorder" for to allow
210	  user to reorder the data based on the sequence of selections
211	  (discussion with Paraic O'Ceallaigh).
212	+ fill background color on unused parts of buildlist.
213	+ fix a minor error in buildlist which let pageup switch columns.
214	+ change several calls to dlg_trace_msg to prefix with "#" to make
215	  the trace logs more consistent for parsing.
216	+ add samples/run_test.sh
217	+ further improve performance with very long command-lines by changes
218	  to howmany_tags().
219	+ modify dlg_string_to_argv() to convert escaped double-quotes to
220	  plain double-quotes when within a double-quoted string.
221	+ modify makefile to apply CFLAGS to linking
222	+ modify dlg_string_to_argv() to ignore escaped newlines except when
223	  quoted, fixing a problem with samples/checklist9.
224	+ interpret $DIALOGOPTS before expanding "--file", etc., to allow
225	  the environment variable to turn on tracing in that process.
226	+ improve performance when processing very long command lines, e.g.,
227	  using "--file" by changing dialog_opts[] to an array of pointers to
228	  the expanded argv[] (discussion with Lars Tauber).
229	+ modified autoconf macros
230	  + CF_CC_ENV_FLAGS amend the last change to move only the
231	    preprocessor, optimization and warning flags to CPPFLAGS and
232	    CFLAGS, leaving the residue in CC.  That happens to work for gcc's
233	    various "model" options, but may require tuning for other compilers
234	  + CF_LARGEFILE workaround for clang exit-code vs warnings
235	  + CF_MATH_LIB quiet strict gcc warning
236	  + CF_WITH_LIBTOOL fix a few places in configure/build scripts where
237	    DESTDIR and rpath were combined
238	  + CF_XOPEN_SOURCE add "uclinux" to list of Linux's
239	+ update config.guess, config.sub
240
2412016/11/20
242	+ added fur.po (Friulian) from
243		http://translationproject.org/latest/dialog/
244
2452016/08/28
246	+ improve parsing and trace for "bindkey", to convert space to/from
247	  "\s", as well as handle octal escapes for single byte characters.
248	+ change explicit checks for space character used for select or toggle
249	  to make this rebindable to "TOGGLE" (prompted by discussion with
250	  Paul van Tilburg).
251	+ add default bindings for cursor left/right to formbox.  The cursor
252	  left/right cases were replaced with rebindable symbols in 2005/12/07
253	  without providing these keys as default values (report/patch by
254	  Miroslav Lichvar).
255	+ modified autoconf macros
256	  + CF_PROG_LINT add cpplint to programs to use; drop ad hoc tdlint and
257	    alint.
258	  + CF_CC_ENV_FLAGS don't limit the check to -I, -U and -D options,
259	    since the added options can include various compiler options before
260	    and after preprocessor options.
261	  + CF_GNU_SOURCE recent glibc (Debian 2.23-4 for example) has
262	    misordered ifdef/checks for new symbol _DEFAULT_SOURCE, producing
263	    warning messages when only _GNU_SOURCE is defined.  Add a followup
264	    check to define _DEFAULT_SOURCE.
265	  + CF_XOPEN_SOURCE use _GNU_SOURCE for cygwin headers, tested with
266	    cygwin 2.3, 2.5 (patch by Corinna Vinschen).
267	+ mention --no-collapse option in manual page description of
268	  --tab-correct option.
269	+ update config.guess, config.sub
270
2712016/04/24
272	+ fix a special case in drawing shadow on a line-drawing cell where the
273	  alternate-character set flag was lost (report by Martin Kravec).
274	+ fix a regression from 2015/05/13 changes for escaping; it is
275	  necessary to retain backslashes within quotes to make "\Z" escapes
276	  work (report by Marcin Krol).
277	+ fix test package for RPMs; changes in 2015 omitted symbolic links
278	  for the library.
279	+ fix typo in help message for "--buildlist" (report by Rihards Olups).
280	+ modified autoconf macros
281	  + CF_PROG_AR, CF_AR_FLAGS added to improve check for archive tool.
282	  + CF_LD_RPATH_OPT, change FreeBSD to use -Wl,-rpath rather than
283	    -rpath option.  According to FreeBSD #178732, either works since
284	    FreeBSD 4.x; however scons does not accept anything except the
285	    -Wl,-rpath form.
286	  + CF_WITH_NCURSES_ETC, change from ncurses to check for pthreads
287	    dependency.
288
2892016/02/09
290	+ modify editbox widget to add a trailing newline if the text has none
291	  to ensure the last line is not ignored (report by Florent Rougon).
292	+ change mouse initialization to look for button-presses rather than
293	  button-clicks, for better response.
294	+ modify dump_curses_key() to show mouse-coding in readable form.
295	+ correct mapping of mouse-clicks on the day-grid in calendar widget
296	  when "--week-start" is used to set the start of the week (report by
297	  Stefan Vogtner).
298	> integrated changes from Stefan Vogtner:
299	+ use Gregorian algorithm for leap year
300	+ use mktime if available; calendar was written just as it became
301	  standard.
302
3032016/01/26 - release 1.3
304	+ correct --infobox documentation, which said it shows an OK button.
305	+ fix a couple of place in test-scripts which referred to $SIG_TRAP
306	  rather than $SIG_QUIT
307	+ reorganize dialog.3, to use subsections for generating navigation
308	  pane, using man2html
309	+ add "--week-start" option for calendar widget (prompted by discussion
310	  with Stefan Vogtner).
311	+ add a limit-check in editbox.c to ensure that mouse-clicks outside
312	  the filled-in text area do not access past the end of the array
313	  (report by Stefan Vogtner).
314	+ update configure macros from ncurses changes.
315	+ update config.guess, config.sub
316
3172015/09/20
318	+ decrease table value for minimum number of arguments for the widgets
319	  which use --no-items option (report by Raven Singularity).
320	+ update configure macros:
321	  + use $SHELL consistently, deprecate non-POSIX shell
322	  + PKG_CONFIG may simply be unset - fix
323	  + add option to allow changing ABI version, from ncurses6.
324
3252015/05/28
326	+ fixes for two autoconf macros, CF_ADD_INCDIR and CF_NCURSES_CONFIG
327	  from work on ncurses.
328	+ build-fix for NetBSD curses (patch by Matthias Scheler).
329
3302015/05/13
331	+ add configure option --with-install-prefix, like ncurses.
332	+ add --with-screen and related configure options from ncurses-examples
333	  to allow building with ncurses6 test-packages.
334	+ update configure macros for improved coding style from lynx changes.
335	+ updated ro.po from
336		http://translationproject.org/latest/dialog/
337	+ update config.guess, config.sub
338	> patches by Florent Rougon:
339	+ fix two bugs in the "--file" option.
340	  + When the number of arguments read from the included file is 0, the
341	    code used to just skip over '--file' and its argument instead of
342	    removing them from the argument list, causing "Error:  Unknown
343	    option --file" later on.
344	  + In the alternative case (at least one argument read from the file),
345	    the previous code used to do '--j;' in order to "force rescan" of
346	    the inserted arguments.  However, control then flowed to outer
347	    blocks where a '++j;' counteracted this measure, causing "Error:
348	    Unknown option --msgbox" (for instance) later on.
349	+ modify escaping in argv.c to be more uniform, whether or not the
350	  backslash is found within a parameter.
351
3522015/02/25
353	+ modify gauge widget to keep from erasing a second gauge widget, e.g.,
354	  via the "--and-widget" option.  This is a cosmetic change to match
355	  behavior of dialog 1.0 (report by Jason Orendorf).
356	+ add configure option "--with-man2html"
357	+ add configure options for versioned symbols, from ongoing work on
358	  ncurses.
359	+ update configure macros, e.g., for shared libraries
360
3612015/01/25
362	+ suppress highlighting of character which denotes an abbreviation or
363	  shortcut for the OK/Cancel and other buttons for these widgets, which
364	  use abbreviations for the list shown on the screen:  buildlist,
365	  checklist/radiobox, menubox, treeview (Debian #775295).
366	+ add grid up/left and down/right bindings in editbox.c as synonyms for
367	  field prev and next, respectively when handling the OK/Cancel buttons
368	  (Debian #775294).
369
3702014/09/11
371	+ correct malloc-size for change to prgbox.
372
3732014/09/10
374	+ fixes to make "-c" option work when passing command to shell for the
375	  prgbox widget, for example in samples/prgbox2 (report by Korantin
376	  Auguste).
377
3782014/09/08
379	+ fix an out-of-bounds array index in buildlist widget (report by
380	  Cade Foster).
381
3822014/09/01
383	+ add configure check for groff, needed for html/ps/pdf output.
384	+ update configure-script macros:
385	  + CF_ACVERSION_CHECK - work around another gratuitous incompatibility
386	    introduced in 2.69
387	  + CF_ADD_CFLAGS - workaround for ash-shell, e.g., with Minix
388	  + CF_ADD_LIBS - filter out duplicates
389	  + CF_CURSES_FUNCS - improve workaround for weak-linkage, seems to fix
390	    tests with NetBSD 6.1
391	  + CF_INTEL_COMPILER - clean up the -no-gcc option which was leftover
392	    from testing.
393	  + CF_LIB_SUFFIX - change suffix for AIX shared libraries to ".so".
394	  + CF_MAKEFLAGS - workaround for GNU make 4.0 incompatibility with
395	    previous releases.
396	  + CF_XOPEN_SOURCE - add cases for Minix, UnixWare and improve the
397	    workaround for Solaris.
398	+ improve comparison in compare_cache() function, in case difference
399	  between pointers does not fit in int's.
400	+ updated de.po, es.po, hu.po, lv.po from
401		http://translationproject.org/latest/dialog/
402	+ update config.guess, config.sub
403
4042014/02/19
405	+ cleanup of manpages prompted by Gislason's comments.
406	+ several changes to manpages to improve presentation (patches by
407	  Bjarni I. Gislason, Debian #739180, Debian #739181)
408	  + use "\/" when transitioning from italic to normal font
409	  + correct an instance of "e.g,."
410	  + use "\e" rather than "\\" to present a literal "\"
411	  + improve formatting of table header
412	  + remove some excess space-characters
413	  + change a reference 0-9 to use "through" as the connector
414	  + use "\&" to separate "." from a space to make the space shorter
415	  + change a list's TP macro parameters to make the hanging text align
416	    better with the adjacent paragraph
417	  + add comma in a few places before "and" in a list
418	  + separate units from numbers with a nonfillable space
419	  + replace "-" with en-dash in a few places
420	+ corrected argument indices after "--args" and "--file" to rescan the
421	  argument list after removing/substituting those options.
422	+ fix loops for "--file" option to handle cases with zero or no tokens at
423	  all substituted (Redhat #1066168).
424	+ add gd.po from
425		http://translationproject.org/latest/dialog/
426
4272014/01/12
428	+ improve calculation for amount to scroll in programbox when an "Ok"
429	  button might obscure part of the data (report by Florent Rougon).
430	+ modify program to permit --separate-output to be used with buildlist
431	  and treeview widgets (report by Florent Rougon).
432	+ add list-height parameter to manpage description of --buildlist
433	  (report by Florent Rougon).
434	+ minor fixes to dialog.1 manpage; the reported problem was actually
435	  fixed in 20120703 (Debian #726233, patch by Bjarni Ingi Gislason).
436	+ add a "Hello World" example to dialog.3 manpage (prompted by
437	  discussions with Dustin Oprea, Kevin Ingwersen).
438	+ correct comparison in dlg_lookup_key() so that using "bindkey" with
439	  a "*" wildcard parameter works as documented (report by Stewart
440	  Benedict).
441	+ updated configure macros, fixes for clang and mingw.
442	+ update config.guess, config.sub
443
4442013/09/28
445	+ fix a regression in gauge widget from 2013/09/28 changes;
446	  dlg_reallocate_gauge() failed when no --title option was given
447	  (report by Tritonas Insomnia).
448
4492013/09/23
450	+ fix samples/inputbox6-utf8, which had depended unnecessarily on bash.
451	+ improve memory caching for wide-character manipulation in gauge
452	  widget (report by Devin Teske).
453	+ add dlg_reallocate_gauge (discussion with Devin Teske).
454	+ updated configure macros to use msys changes from ncurses.
455	+ update config.guess, config.sub
456
4572013/09/02
458	+ modify makefile rule to make the ".png" filenames created by groff
459	  predictable.
460	+ add option --help-tags to allow scripts to get the item's tag field
461	  consistently from help- and help-item button results rather than
462	  getting the item's text for the latter (discussion with Florent
463	  Rougon).
464	+ correct manpage discussion of DIALOG_ITEM_HELP versus --item-help,
465	  as well as --help-button return status (report by Florent Rougon).
466	+ correct limit used for --hline option (report by Devin Teske,
467	  cf: 2011/06/30).
468	+ do not print empty "[]" if a --hline option was given with an empty
469	  value (report by Devin Teske).
470	+ miscellaneous configure script fixes/updates.  In particular, add
471	  option --with-shared which builds shared libraries without a libtool
472	  dependency.
473	+ add FreeBSD port-files for test-builds.
474	+ update lt.po, add fa.po from
475		http://translationproject.org/latest/dialog/
476	+ update config.guess, config.sub
477
4782013/05/23
479	+ modify ifdef in arrows.c to work around packages which use the
480	  wide-character ncursesw headers with the ncurses library (report
481	  by Aleksey Cheusov).
482	+ correct workaround for xterm alternate-screen to work with/without
483	  the fix made in ncurses that makes putp() always write to the
484	  standard output (Debian #708829).
485	+ improve limit-checks for checklist, in case the dialog is resized
486	  (report by Ilya A Arkhipov).
487	+ add --last-key option (adapted from patch by Jordi Pujol, Debian
488	  #697607).
489
4902013/03/15
491	+ update zh_TW.po, add an.po from
492		http://translationproject.org/latest/dialog/
493
4942012/12/30 - release 1.2
495	+ improve some older changelog entries to help with HTML'izing content.
496	+ various fixes/improvements for scrollbar appearance.
497	+ add mappings for some equivalent options provided by whiptail;
498	  add configure option --disable-whiptail to allow suppressing these.
499	+ add configure option --disable-Xdialog2 to allow suppressing the
500	  newer features, i.e., for cdialog 1.2
501	+ add --no-items option, for consistency.
502	+ add --no-tags option, like Xdialog.
503	+ add buildlist, rangebox and treeview dialogs, like Xdialog.
504	+ remove obsolete workaround for ncurses 4.2 scrolling in checklist
505	  and menubox.
506	+ improve dialog_helpfile() by preventing it from showing extra buttons
507	  (suggested by xDog Walker).
508	+ correct logic in formbox's scroll_next() function (report by xDog
509	  Walker).
510	+ fix a case with inputbox widget where preset input text is not shown
511	  until moving the cursor within the text (report by xDog Walker).
512	+ handle SIGCHLD in dialog_prgbox() to eliminate defunct processes
513	  (report by xDog Walker).
514	+ improve the way "hotkeys" are assigned to widget buttons by checking
515	  if a given key has already been used in the row of buttons (Debian
516	  #684933).
517	+ amend fix for --trace parsing from 2012/07/03, which sometimes
518	  skipped a parameter (report by xDog Walker).
519	+ drop copismall and install files from samples, which were essentially
520	  nonfunctional.
521	+ correct secondary border colors in samples/slackware.rc and
522	  samples/whiptail.rc
523	+ update gl.po, add ia.po from
524		http://translationproject.org/latest/dialog/
525	+ fix various issues reported by coverity scan.
526	+ miscellaneous configure script fixes/updates:
527	  + require autoconf 2.52+patches
528	  + support --datarootdir option
529	  + check for clang compiler
530	  + check for tinfo library when looking for ncurses
531	  + add 3rd parameter to AC_DEFINE for autoheader
532	  + remove unused macros from aclocal.m4
533	+ update config.guess, config.sub
534
5352012/07/06
536	+ modify samples/setup-tempfile to work with Tru64's shell.
537	+ modify inputmenu sample scripts to make them more portable:
538	  + use "id" rather than "$GROUPS", use sed to work with Solaris.
539	  + use sed to split-up the rename results to work with HPUX.
540	+ fix regression in msgbox (ArchLinux #30574)
541
5422012/07/03
543	+ modify prgbox widget to work with --extra-button, etc.
544	+ add case values to several widgets to allow for mouse-clicks with
545	"--extra-button" and "--help-button" additions.
546	+ correct timebox widget's exit code for "--extra-button" when handing
547	  the "enter" key.
548	+ modify msgbox widget to honor "--extra-button".
549	+ corrected processing of "--trace" option, which did not update the
550	  index into command-line to point past its value.
551	+ add a check in dialog program for valid characters used in option,
552	  e.g., to generate an error if a script attempts to add option value
553	  using "=" rather than with whitespace.
554	+ add new command-line option --default-button and library function
555	  dlg_default_button() to retrieve the value set by the option
556	  to provide a way to set the default button directly rather than
557	  by combining --nook, etc. (patch by Zoltan Kelemen).
558	+ amend include of unctrl.h to apply only to the case where curses.h
559	  is included, to avoid conflict of ncurses' unctrl.h with a system
560	  implementation (report by Martin Roedlach)
561	+ add limit-check to dlg_toupper() in non-wide curses mode to work
562	  when non-character values such as arrow-key codes are passed to
563	  it (patch by Zoltan Kelemen).
564	+ override timeout value, e.g., as set via --timeout command-line
565	  option in pause widget because that interferes with pause's behavior
566	  (report by Jan Spitalnik).
567	+ modify samples/inputmenu* to allow ":" in renamed text (report by
568	  Andreas Stoewing).
569	+ modify double-quoting to make it more consistent, i.e., checklist
570	  output is quoted only when needed.  This fixes the case where
571	  single-quotes were used whether or not needed, but also modifies
572	  older checklist behavior for double-quoting which always added those
573	  (Debian #663664).
574	+ correct exit-code used in inputmenu for "rename" button (Debian
575	  #673041, forwarded from Ubuntu #333909, patch by Lebedev Vadim).
576	+ update el.po and hr.po from
577		http://translationproject.org/latest/dialog/
578	+ use checkbashisms to clean up sample scripts.
579
5802012/02/15
581	+ modify menubox.c to use the same improvement as in checklist.c
582	+ improve auto width computation for checklist widget by using
583	  dlg_calc_list_width as in the non-auto case (Edho Arief).
584	+ eliminate some bashisms in the sample scripts (Pedro Giffuni).
585	+ makefile fixes from FreeBSD ports (Li-Wen Hsu):
586	  + make --with-package option of configure script work.
587	  + get LIBTOOL_VERSION from configure script, needed by
588	    ${LIBTOOL_VERSION} in LIBTOOL_CREATE (LIB_CREATE in configure and
589	    aclocal.m4)
590	+ update cs.po and sr.po from
591		http://translationproject.org/latest/dialog/
592	+ updated configure script macros, improving CF_XOPEN_SOURCE among
593	  other fixes.
594
5952011/10/20
596	+ fix --analyze warnings for clang versions 2.8, 2.9.
597	+ add configure check for lint program.
598	+ add check in dlg_getc() in case its window is freed as a side effect
599	  of removing callbacks.
600	+ fix logic in freeing subwindows (report by xDog Walker).
601	+ fix a regression in logic distinguishing between inputmenu and menu
602	  widgets (report by xDog Walker).
603	+ minor fixes to library manpage.
604
6052011/10/18
606	+ modify header-sh.in to work around limit on sed script length on
607	  HPUX.
608	+ add a special case of parameter parsing for "--trace" to the
609	  initialization done before calling init_dialog(), to allow users to
610	  capture the initial state of the parameter list before any options
611	  are processed and removed.  This is only done if "--trace" is the
612	  first option, otherwise it is handled in the common options as before
613	  (report by xDog Walker).
614	+ modify samples/testdata-8bit, discarding $1 from the parameter list
615	  if it was used, so that the source'ing scripts can consistently use
616	  "$@" to insert parameters before the widget, e.g., as an alternative
617	  to using $DIALOGOPTS (report by xDog Walker).
618	+ modify treatment of function pointers in menubox.c, make
619	  dlg_renamed_menutext() and dlg_dummy_menutext() visible to library
620	  users (request by xDog Walker).
621	+ add dlg_count_real_columns(), use to modify centering for "--hline"
622	  text to account for "\Z"s (report by xDog Walker).
623	+ improve check in dlg_draw_arrows2() for conflict between the window
624	  title and up-arrow marker to take into account that the given window
625	  may not be the top-level window of the widget.
626	+ change width of page up/down mouse areas in fselect panes to use the
627	  full width of the panes rather than only the portion from the left
628	  margin to the up/down arrow.
629	+ add/use dlg_draw_box2() and dlg_draw_bottom_box2() to use the
630	  secondary borders.
631	+ modify rc-file read/write to accept/generate color values that refer
632	  to previously-processed items in the color table.  This reduces the
633	  number of distinct colors that must be specified to set up a color
634	  scheme.
635	+ add color table entries for secondary borders, i.e., the ones that
636	  are normally drawn with the dialog's text-colors (Debian #641168).
637	+ modify fselect.c to scan the current directory if the input field
638	  happens to be empty (Debian #640905).
639	+ repeated the discussion of environment variables that can override
640	  the exit-status values in the manpage's return-codes section
641	  (Debian #642105).
642	+ add an example to the manpage showing how to override the form
643	  widget's keys used for field/button traversal (Debian #642108).
644	+ modify call to dlg_register_window() in formbox.c so that the editing
645	  bindings are attached to the form sub-window rather than the
646	  top-level dialog window.  Also change the name by which the editing
647	  bindings are bound for editbox.c, fselect.c and inputbox.c, so that
648	  the editing and navigation bindings can be different.
649	+ correct logic in dlg_lookup_key() so that it matches the widget name
650	  before using a binding from .dialogrc, allowing the inner/outer
651	  windows of form and other editing widgets to have different bindings.
652	+ modify dlg_register_window() to call dlg_dump_window_keys() after
653	  its updates, via the --trace output, to supplement the manpage
654	  description of key bindings (Debian #642108).
655	+ add DLGK_FORM_PREV and DLGK_FORM_NEXT key-bindings to form.c, to
656	  allow binding a single key to traverse both form-fields and buttons
657	  (Debian #642108).
658	+ modify dlg_parse_rc() to check for error return from
659	  dlg_parse_bindkey().
660	+ add function dlg_dump_window_keys(), to help with debugging widgets.
661	+ add CR, LF, TAB, FF and ESC to table of curses names to help make
662	  key bindings more readable.
663	+ update table of dialog key-names so that helpfile and trace are
664	  dumped properly.
665	+ correct dlg_dump_keys(), which was showing only the first item in
666	  the matched binding table.
667	+ save/restore window current position in dlg_update_mixedgauge().
668	+ pass return-code from pause_for_ok() from dlg_progressbox() when
669	  pauseopt is set, rather than only DLG_OK.
670	+ call setlocale() in init_dialog() rather than relying on on-demand
671	  use within inputstr.c, since there are paths in textbox widget which
672	  do not exercise the latter (report by xDog Walker).
673	+ fix some places where checks for "\Z" were done without also checking
674	  dialog_vars.colors (report by Moray Henderson).
675	+ correct logic for DIALOGOPTS parsing so that the parse happens only
676	  once unless memory leak checking is enabled (report by xDog Walker).
677	+ remove an incorrect free() call in dlg_free_gauge() (report by xDog
678	  Walker).
679	+ modify dlg_trace_win() to log wide-characters (report by xDog Walker).
680	+ make traces shorter by skipping repeated ERR's, but showing the
681	  number skipped (report by xDog Walker).
682	+ improve description in manpage to distinguish program box and
683	  progress box from tailboxes (adapted from email by xDog Walker).
684	+ modify dlg_trace_win() so that it looks for the topmost window in a
685	  dialog.  Because subwindows share space with the top window, tracing
686	  the latter shows the whole widget (report by xDog Walker).
687	+ expand tracing so that each window is traced before soliciting input,
688	  making the ^T feature to print a window on demand partly redundant
689	  (suggested by xDog Walker).
690	+ cosmetic change in dialog.h to avoid "*/*" strings from comments next
691	  to "*" (report by xDog Walker).
692	+ ensure result from dlg_align_columns() has trailing null on each
693	  string.  Analysis was hindered by libc6's continuance of libc5's
694	  early-1990s misfeature of clearing the result from malloc, noting
695	  that libc6's documentation incorrectly claims that it does not do
696	  this (report by xDog Walker).
697
6982011/07/07
699	+ modify util.c to work better with old versions of ncurses:
700	  + suppress use of wchgat() before fix in 20060715 which is needed
701	    for simple shadow manipulation used here in 2011/06/30 (report
702	    by xDog Walker).
703	  + add a null-pointer check in dlg_print_scrolled()
704	+ fix a regression in dlg_getc() introduced by changes to intercept
705	  F1 for help-popup (report by xDog Walker).
706
7072011/06/30
708	+ correct license statement for prgbox.c (Debian #632198).
709	+ correct layout when "--colors" is used, by discounting characters in
710	  the escape sequences from the column counts (report by xDog Walker).
711	+ modify dlg_checklist() so that only one item in the list can
712	  initially be selected (report by xDog Walker).
713	+ add/use macro dlg_enter_buttoncode() to improve implementation of
714	  "--nook" option (report by xDog Walker).
715	+ add option "--no-nl-expand" to suppress the conversion of "\n"
716	  strings into newlines (request by xDog Walker).
717	+ modify LIB_CREATE symbol in makefile.in to include the library
718	  dependencies such as ncurses.  This is needed when dynamically
719	  loading the library (report/analysis by xDog Walker).
720	+ modify dlg_exit_label() to suppress the Cancel button, for
721	  consistency.
722	+ modify dlg_exit_label() to honor the --nook option, except when there
723	  is no other button, e.g., the help-button.
724	+ modify dlg_exit_buttoncode() so that it returns the proper code for
725	  help-button (report by xDog Walker).
726	+ correct loop limit when processing "--column-separator" (report by
727	  xDog Walker).
728	+ modify handling of "--version" and "--help" to ensure that they are
729	  processed, and exit before widgets.  Separate "--print-version"
730	  from "--version", allowing its output to be interspersed with
731	  widget output (report by xDog Walker).
732	+ correct a few places where "--version" or "--help" options went
733	  always to stdout rather than allowing redirection with the "--stderr"
734	  option (report by xDog Walker).
735	+ improve repainting after erasing a widget and its shadow.
736	+ add "--hline" and "--hfile" options for compatibility with FreeBSD
737	  dialog (request by Devin Teske).
738	+ add dialog version message when opening a trace file (request by
739	  xDog Walker).
740	+ show filename of rc-file in traces.
741	+ add piped-in data for gauge widget to traces.
742	+ add entrypoints to gauge widget, for allocating, updating and freeing
743	  the widget (adapted from patch by Stephen Hurd).
744	+ fix a reference to freed memory in the gauge widget.
745	+ fix --no-mouse option by actually closing the mouse (report by
746	  xDog Walker).
747	+ add sk.po from
748		http://translationproject.org/latest/dialog/
749	+ limit Solaris xpg4 portability fix for redefinition of ERR to cover
750	  the specific value found in <sys/regset.h>, in case an application
751	  includes dialog.h after curses.h (FreeBSD #156601, report by Jaakko
752	  Heinonen, Stephen Hurd).
753	+ updated configure macros:
754	  + CF_CURSES_CPPFLAGS,
755	  + CF_CURSES_LIBS, make checks for special libraries on hpux10 and
756	    sunos4 optional
757	  + CF_CURSES_FUNCS, workaround for bug in gcc 4.2.1 (FreeBSD 8.1)
758	    which caused part of test program to be omitted, i.e., when it saw
759	    two return-statements in a row it omitted the _first_ one.  Also
760	    add expression to pointer check to help FreeBSD's linker decide it
761	    should be validated.  Just an assignment was not enough.  Also, add
762	    check for unctrl.h
763	  + CF_CURSES_HEADER, change order for curses.h / ncurses.h pairs to
764	    put ncurses.h first, which will tend to provide the same #define's
765	    as in CF_NCURSES_HEADER (report by Dennis Preiser).
766	  + CF_CURSES_TERM_H, modify to avoid spurious check for
767	    <curses.hterm.h> if there is no ncurses version.  Look for
768	    ncurses's term.h anyway, to work around breakage by packagers who
769	    separate ncurses' header files.
770	  + CF_DISABLE_RPATH_HACK, fix garbled message
771	  + CF_LD_RPATH_OPT, add mirbsd
772	  + CF_MAKEFLAGS, filter out GNU make's entering/leaving messages.
773	    This only appeared when using the macro in a dpkg script, though it
774	    should have in other cases.
775	  + CF_RPATH_HACK, add a check for libraries not found, e.g., from
776	    suppressed functionality of gcc in linking from /usr/local/lib, and
777	    add a -L option to help work around this.
778	  + CF_XOPEN_SOURCE, workaround for cygwin to get ncurses' configure
779	    script to define _XOPEN_SOURCE_EXTENDED (cygwin's features.h
780	    doesn't do anything, so it needs a crutch).
781	+ update config.guess, config.sub
782
7832011/03/02
784	+ add --prgbox and --programbox (adapted from patch by David Boyd).
785	+ add sl.po from
786		http://translationproject.org/latest/dialog/
787	+ fix timeouts from 2011/01/18, which were being interpreted as
788	  milliseconds rather than seconds (report by Luis Moreira).
789
7902011/01/18
791	+ fix inconsistency in return-codes for textbox when help-button is
792	  used by making dlg_exit_buttoncode() a wrapper for
793	  dlg_ok_buttoncode().
794	+ modify pause widget to use dlg_ok_buttoncode(), so help-button works.
795	+ correct two infobox sample scripts, which did not pass extra
796	  command-line parameters due to quoting problems.
797	+ add a limit-check to the timebox widget (patch by Garrett Cooper).
798	+ modify --trace option to also trace the command-line parameters.
799	+ account for combining characters when wrapping text (Debian #570634).
800	+ correct handling of SIGWINCH in gauge widget (Debian #305705).
801	+ add gauge_color, to make guage's progress-bar distinct from
802	  title_color (request by Dominic Derdau).
803	+ update fi.po from
804		http://translationproject.org/latest/dialog/
805	  as well as resync line-numbers in the other po-files.
806	+ modify configure script and dialog program to build with NetBSD's
807	  wide-character curses functions, including workarounds for its
808	  incorrect WACS_xxx definitions.  Some of the UTF-8 examples work.
809	+ add back-tab for traversal of tailboxbg widgets, for symmetry with
810	  tab-traversal.
811	+ reduce flicker in tailboxbg by checking if the input file size has
812	  changed.
813	+ modify internals of callbacks to avoid blocking reads of their
814	  associated files by keyboard input.
815	+ add command-line option --no-mouse, to suppress use of mouse.
816	+ add configure option --enable-header-subdir to allow the header files
817	  to be installed into a subdirectory named for the package.
818	+ modify dlg_restore_vars() to retain the updated values of
819	  input_result and input_length, eliminating the need for a caller to
820	  provide their own user buffer (prompted by report by Thiago Bimbatti
821	  Felicio).
822	+ add a null-pointer check in show_result() for
823	  dialog_vars.input_result, and ensure it is set to null after freeing
824	  (prompted by report by Thiago Bimbatti Felicio).
825	+ change order of -I options in CPPFLAGS (report by Michel Feldheim)
826	+ modify pause-widget so that it no longer exits when an unrecognized
827	  key is pressed (patch by Creidieki M Crouch).
828	+ add --with-package option to configure script to allow renaming
829	  of the dialog program and library, to support the package scripts.
830	+ add Debian and RPM package scripts for test-builds.
831	+ several improvements to configure script:
832	  + quote params of ifelse()
833	  + change obsolete ${name-value} to standard ${name:-value}
834	  + use new macros CF_ADD_LIB/CF_ADD_LIBS to enforce consistency.
835	  + AM_GNU_GETTEXT, drop $MKINSTALLDIRS, use "mkdir -p" consistently.
836	  + CF_ADD_SUBDIR_PATH, workaround - if $prefix was not mkdir'd yet, no
837	    directories were added.
838	  + CF_BUNDLED_INTL, add --with-textdomain option, to use with lynx-dev
839	    package
840	  + CF_FIND_LINKAGE, simplify save/restore of $LIBS
841	  + CF_GCC_WARNINGS, fix for Mac OS X (compiler makes conftest.dSYM
842	    directory)
843	  + CF_HEADER_PATH, don't search for variations of everything in the
844	    current include-path
845	  + CF_WITH_CURSES_DIR, move the calls to CF_ADD_INCDIR and
846	    CF_ADD_LIBDIR for the curses-directory here, from
847	    CF_NCURSES_CPPFLAGS and CF_NCURSES_LDFLAGS, so it will work even
848	    with the default checking, e.g., no --with-ncurses, etc.
849	+ update config.guess, config.sub
850
8512010/04/28
852	+ several improvements to configure script:
853	  + modify CF_CURSES_TERM_H to handle cases such as cygwin where
854	    packager has installed curses.h and term.h in different
855	    directories, e.g., to wedge in a termcap library.
856	  + modify CF_XOPEN_SOURCE, adding special case for OpenSolaris
857	  + modify CF_MAKE_TAGS to add check for exctags and exetags, prefer to
858	    ctags and etags to work around pkgsrc (NetBSD) renaming.
859	  + correct CF_FIND_LINKAGE, setting cache variable for library_file in
860	    the special case where no directory search is made.
861	  + improve CF_GCC_VERSION, suppress stderr for c89 alias of gcc.
862	  + improve CF_GCC_WARNINGS, moving -W and -Wall into the list to
863	    check, since c89 alias for gcc complains about these options.
864	  + modify CF_HEADER_PATH, to not search for variations of everything
865	    in the current include-path
866	  + use "mkdir -p", remove mkdirs.sh
867	  + use CF_CURSES_HEADER to fill in possible subdirectory used for
868	    ncurses header filename.
869	  + modify CF_XOPEN_CURSES to work around current ncurse header loss of
870	    predefinition of _XOPEN_SOURCE_EXTENDED
871	  + add "--disable-rpath-hack" option, along with scripting to add
872	    rpath option to libraries found in unusual places.
873	+ modify pause widget to autosize like gauge, and to omit the area for
874	  buttons when none are displayed.
875	+ fix an infinite loop in dlg_button_layout() if there are no buttons
876	  to display (Debian #579390).
877	+ add makefile rules for generating html, etc., documentation from
878	  nroff.
879	> patches by Samuel Martin Moro
880	+ reset errors in tailbox before reading new character.
881	+ modify dlg_draw_scrollbar(), omitting hiding percentages in boxes
882	  when no arrows or scrollbar are needed.
883	+ correct value of row for scrollbars in formbox.
884	+ update es.po from
885		http://translationproject.org/latest/dialog/
886
8872010/01/19
888	+ split up binding tables in inputbox and similar widgets to avoid
889	  conflict between cursor-key use for input-string versus navigation
890	  (report by slakmagik).
891	+ if strftime() is available, support --time-format option for timebox
892	  widget.
893	+ if strftime() is available, support --date-format option for calendar
894	  widget (request by Walter Harms).
895	+ build-fixes for linking to intl library in /usr/local
896	+ add --scrollbar option, use in most widgets to show a scrollbar on
897	  the right margin of the data.  That is cosmetic, does not respond to
898	  the mouse.
899	+ reuse functions from msgbox to allow prompt for yesno box to be
900	  scrolled in a too-small window.
901	+ correct mapping of button-codes with --nook option (report by Lebedev
902	  Vadim).
903	+ cleanup sample scripts using new utility scripts setup-* and report-*,
904	  and allow command-line parameters to be added, for ad hoc testing.
905	+ correct change to tailbox widget from 2009/02/22 using
906	  dlg_button_layout(), which broke that widget.
907	+ document some of the portability caveats.
908	+ modify gauge widget to service callbacks (prompted by patch and
909	  comments by Frank Sorenson).
910	+ modify editbox to allow its input buffer to be larger than MAX_LEN
911	  unless bounded by the --max-input option, and add limit-checks for
912	  the buffer (report by slakmagik).
913	+ improve manpage description of --checklist (report by Isaac Good).
914	+ several improvements to configure script macros:  CF_ADD_CFLAGS
915	  CF_CURSES_FUNCS CF_DISABLE_ECHO CF_GCC_ATTRIBUTES CF_MATH_LIB
916	  CF_POSIX_C_SOURCE CF_REMOVE_DEFINE CF_WITH_LIBTOOL CF_XOPEN_SOURCE
917	+ add is.po, lv.po, sw.po from
918		http://translationproject.org/latest/dialog/
919	+ update de.po, id.po, pl.po, pt_BR.po, vi.po from
920		http://translationproject.org/latest/dialog/
921
9222009/02/22
923	+ do not display top-arrows for scrolling if they would overwrite the
924	  title (report by slakmagik)
925	+ consistently use dlg_button_layout() when autosizing widgets (report
926	  by slakmagik).
927	+ add "-" and "+" bindings to timebox widget.
928	+ add "-" and "+" bindings to calendar widget (OpenSolaris #6739031).
929	+ review/fix other widgets to ensure that they exit on error, e.g.,
930	  editbox.c
931	+ modify check in dlg_getc() to treat closure of either stdin or stdout
932	  as an error, rather than both.  This is more stringent than the check
933	  added in 2007/07/04.
934	+ modify dlg_result_key() to map curses ERR to dialog's error exit
935	  (adapted from patch by Domagoj Pensa).
936	+ updated several configure script macros:
937	  + consistently append, rather then prepend, to $CFLAGS
938	  + add cases for AIX 6, mint, and dragonfly to CF_XOPEN_SOURCE
939	  + use $PATH_SEPARATOR rather than $PATHSEP
940	  + improve CF_FIND_LINKAGE, use in checks for more libraries, e.g.,
941	    libutf8 and libiconv.
942	+ update da.po, ru.po from
943		http://translationproject.org/latest/dialog/
944	+ update config.guess, config.sub
945
9462008/08/19
947	+ amend changes to quoting; by default, the checklist widget quotes its
948	  output except when --separate-output is used (Debian #495600).
949	+ add eo.po from
950		http://translationproject.org/latest/dialog/
951
9522008/07/27
953	+ add pointer-check when closing piped input (cf: 2007/03/25)
954	+ use here-documents rather than echo, when passing backslashes in
955	  strings, to accommodate the Debian shell "dash" (Debian #489563).
956	+ recode several ".po" files to UTF-8 for consistency.
957	+ change --separator to be an alias for --output-separator, for
958	  compatibility with Xdialog.
959	+ add --output-separator option to allow scripts to change the output
960	  separator from a newline (for --separate-output) or a space.  This
961	  applies to other widgets such as forms and editboxes which normally
962	  use a newline.
963	+ add --column-separator option, to tell where column-aligned data for
964	  radio/checkboxes or menus should be split into columns (request by
965	  Ben Dibbens).
966	+ add id.po, ku.po, lt.po, nb.po and update ca.po, fr.po, gl.po, ja.po,
967	  th.po from
968		http://translationproject.org/latest/dialog/
969	+ add "--quoted" option, to quote values returned by formbox, etc.
970	+ change names of EX/ES macros in dialog.1 to work around name-
971	  pollution caused by changes in Debian #470729.
972
9732008/03/16
974	+ modify dlg_mouse_wgetch() to loop only on errors that it detects,
975	  rather than on errors forwarded from dlg_getc(), in case those are
976	  due to a disconnected terminal (report by Anatoli Sakhnik).
977	+ allow "default" color in dialogrc file (request by Dashing).
978	+ fix an indexing error in formbox (Debian #469190, report by Dmitry
979	  Gomerman, patch by Vladimir Mezentsev).
980	+ add bindings for CTL/N, CTL/P to checklist, fselect and menubox
981	  widgets (prompted by discussion with John Gatewood Ham).
982	+ add be@latin.po, th.po and update zh_TW.po from
983		http://translationproject.org/latest/dialog/
984	> patches by Peter Astrand:
985	  + modify dlg_auto_sizefile() to ensure the computed height and width
986	    do not extend beyond the screen size.
987	  + use unctrl() to make inputstr.c work with Solaris curses.
988	> patches by Yura Kalinichenko:
989	  + extend pause widget to use ok/cancel buttons (the former giving the
990	    same result as a timeout), rather than an exit-button.
991	  + fix initialization parameter of inputbox for multibyte characters.
992
9932007/10/28
994	+ improve layout of checklist.c, menubox.c, ensuring that the list fits
995	  within the available space (report by Gordon Schumacher).
996	+ undo removal of redundant chunk from checklist.c in 2007/02/27,
997	  since some scripts depend on this (Debian #443077).
998	+ update nl.po from
999		http://translationproject.org/latest/dialog/
1000
10012007/09/30
1002	+ correct cursor position in editbox after deleting past left margin
1003	  (report by Joe McDonagh).
1004	+ add "--no-ok" option (patch by Klaus Knopper).
1005	+ modify "--file" option to allow it to read from sources other than
1006	  a regular file (patch by Pieter van Beek).
1007	+ improved hi.po (Hindi) (from Klaus Knopper).
1008	+ fix masking of attributes in dlg_draw_shadow() which lost
1009	  line-drawing bit (report by David Everly).
1010	+ fix editbox widget to handle zero-length files (report by Joe
1011	  McDonagh).
1012	+ update "po" files eu.po ga.po it.po ms.po sv.po vi.po wa.po zh_CN.po
1013	  from
1014		http://translationproject.org/latest/dialog/
1015
10162007/07/04
1017	+ revise the resizable shadows so textbox's search dialog has text
1018	  visible in the shadow again.
1019	+ improve the prefixing of autoconf-related symbols in the installed
1020	  header files, taking into account symbols which are not mentioned in
1021	  dlg_config.h
1022	+ add a check when ERR returned from wgetch() to ensure that the
1023	  input/output streams are still valid.  If that happens, force
1024	  ESC to be returned, quitting dialog (report by Reiner Huober).
1025	+ add extern "C" declarations to dlg_keys.h so the corresponding
1026	  function declarations are exported to C++ as C symbols.
1027	+ update config.guess, config.sub
1028
10292007/06/04
1030	+ fix a memory leak in editbox.c
1031	+ revise change from 2007/02/27 which moved the logic for trimming
1032	  option text out of the loop because that moved it before
1033	  initialization of the "--trim" option.  Put it back in the loop, but
1034	  limit the tokens which are trimmed to cover only those for the
1035	  current widget.  Also ensure that all tokens for a widget are
1036	  trimmed, rather than only the first, which is usually text (report by
1037	  Lai Zit Seng).
1038	+ add _FILE_OFFSET_BITS definition in CF_LARGEFILE configure macro.
1039
10402007/05/28
1041	+ revise changes needed to make textbox's searchbox handle ncurses
1042	  resizing events, e.g., by handling the ERR in that code rather than
1043	  in dlg_getc() (Debian #423732).
1044
10452007/05/14
1046	+ supply a repaint_text() call in tailbox.c which was bypassed because
1047	  dlg_getc() now retries on ERR (Debian #423732, cf: 2007/02/27).
1048	+ modify dlg_getc() to fix regression in 2007/02/27 for use of
1049	  timeouts, broken by fixes to allow resizing of textbox (patch by
1050	  Arnaud Fontaine, Debian #418905).
1051	+ modify dlg_getc() to fix regression in use of TAB for traversal of
1052	  tailboxbg widgets due to changes for user-definable key bindings
1053	  (Debian #418917, cf:  2005/12/07).
1054
10552007/04/09
1056	+ add case in dlg_getc() to handle tab for traversing between widgets
1057	  as in the samples/tailboxbg1 script.  Normally the key binding
1058	  overrides, except for the special case where multiple widgets are
1059	  available.
1060	+ add configure --with-libtool-opts, which passes its value to the
1061	  library creation and linkage passes, e.g.,
1062	  	--with-libtool-opts=-static
1063	  to force the result to be static libraries (prompted by a related
1064	  request by Santiago Vila).
1065	> several fixes based on Coverity scan:
1066	+ fix memory leak in timebox, calendar widgets if the widget cannot
1067	  be created.
1068	+ fix memory leak in dlg_key.c if a user binding's storage cannot
1069	  be allocated.
1070	+ fix improperly delinked entry in dlg_del_window().
1071
10722007/03/25
1073	+ improve mkdirs.sh to ignore error from mkdir if the target directory
1074	  happens to already exist (suggested by Harald van Dijk).
1075	+ amend documentation for --gauge to reflect longstanding quirk which
1076	  allows it to read percentage from the first line after an "XXX"
1077	  (Debian #415596).
1078	+ fix makefile dependency so "configure && make install-lib" works.
1079	+ fix resizing of msgbox; the message was not repainted (Debian
1080	  #415022, patch by Brian Rolfe).
1081	+ fix typo in makefile LIB_OBJECT symbol from 2007/02/27 changes.
1082	+ improve CF_MBSTATE_T by including stdio.h, needed on Tru64 to make
1083	  the test-compile work.
1084	+ change makefile to install dialog.3 as part of install-lib rather
1085	  than install-man (report by Thomas Klausner).
1086	+ use $(INSTALL_SCRIPT) for installing dialog-config (report by
1087	  Santiago Vila).
1088
10892007/02/27 - release 1.1
1090	+ mark as "dialog 1.1"
1091	+ add dialog-config script, which provides applications with compile-
1092	  and link-information for using the dialog library.
1093	+ move calls to dlg_trim_string() out of loop in dialog.c, so each
1094	  string is trimmed once (report by Ivanov Makcim).
1095	+ modify textbox.c to allow resizing while the search box is presented.
1096	  This relies on bug-fix in ncurses 5.6 20070224.
1097	+ use dgettext() rather than gettext() to allow libdialog to use the
1098	  messages installed for dialog (patch by Vajna Miklos).
1099	+ modify inputbox to position the cursor initially at the end of any
1100	  initial-text (request by Klaus Knopper).
1101	+ add configure --with-valgrind for testing.
1102	+ add --trace option, for debugging.
1103	+ add --ascii-lines and --no-lines options to control the way the
1104	  line-drawing characters are rendered (request by Klaus Knopper).
1105	+ add --keep-tite option, to override suppression of smcup/rmcup
1106	  (termcap ti/te) strings which would switch to xterm's alternate
1107	  screen (Debian #380665).
1108	+ modify fselect/dselect to use space-character as a completion
1109	  operator like tab in shells (patch by Yoram Bar Haim).
1110	+ remove a redundant chunk from checklist.c which reported status a
1111	  second time if the help-button was pressed but no item-help option
1112	  was in effect (Andre C Barros).
1113	+ fix return-status from "dialog --pause" (Debian #409254).
1114	+ add --mixedform and --mixedgauge dialogs based on patch from
1115	  Kiran Cherupally.
1116	+ add some notes on compatibility to the manpage.
1117	+ add editbox dialog (compatible with Xdialog, Debian #368478).
1118	+ add dselect dialog (compatible with Xdialog).
1119	+ remove an incorrect initialization of .text_flen from 2005/12/07
1120	  changes, which made all fields in a form editable (Debian #404045).
1121	+ report error and exit if a filename given for the --file option
1122	  cannot be opened (report by "Dog Walker").
1123	+ make --program-prefix, etc., work in configure script, e.g., to make
1124	  program install as "cdialog".  This does not alter the library name.
1125	+ add install-bin, install-man (and uninstall) rules to makefile.
1126	+ updates for configure script macros (originally vile, lynx, xterm):
1127	  AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, CF_CURSES_CPPFLAGS,
1128	  CF_CURSES_LIBS, CF_INCLUDE_DIRS, CF_LARGEFILE, CF_MAKEFLAGS,
1129	  CF_PATH_SYNTAX, CF_SUBDIR_PATH, CF_SUBST, CF_WITH_DBMALLOC,
1130	  CF_WITH_DMALLOC, CF_WITH_LIBTOOL and CF_XOPEN_SOURCE.
1131	+ update config.guess, config.sub
1132	> adapted fixes from SuSE package (Werner Fink):
1133	  + add some limit-checks in dlg_draw_shadow().
1134	  + make shadows resizable, using new dlg_move_window() in msgbox.c
1135	    and yesno.c
1136	  + add dialog_state.input, use this in end_dialog() to decide whether
1137	    to close pipe inputs and call _exit(), or simply call exit().
1138	  + modify dlg_ctl_size() to check if the reason for failure is because
1139	    shadows were used; retry in that case without shadows.
1140	  + add signal catcher for SIGSEGV.
1141
11422006/02/21
1143	+ fix logic in split-out dlg_menu() to separate inputmenu and menu
1144	  handling (report by Auke Kok).
1145
11462006/01/26
1147	+ fix fselect.c to compile properly with Intel compiler and largefile
1148	  option.
1149	+ improve configure script checks for curses headers to work around
1150	  breakage in some packages, e.g., cygwin.
1151	+ amend correction to menubox, fixes normal menus (Debian #349969).
1152
11532006/01/19
1154	+ completed dialog.3 manpage
1155	+ modify configure script option --with-gauge to cover all flavors of
1156	  the gauge (gauge, pause, progressbox).
1157	+ add progressbox widget, a hybrid of gauge and tailbox (Reznic Valery).
1158	+ fix a comparison in checklist.c to avoid unneeded arrows when the
1159	  list happens to fit in the window (patch by Peter Postma).
1160	+ correct wrapping computation in print_line() from 2005/11/07 changes
1161	  (report by Barry Kauler).
1162	+ update sv.po (comments only).
1163		http://www.iro.umontreal.ca/translation/maint/dialog/
1164	+ correct logic that passes the callback for menubox to do inputmenu
1165	  operations from 2005/12/7 changes (report by Reznic Valery).
1166
11672006/01/01
1168	+ add a null-pointer check in dlg_register_buttons(), needed for the
1169	  tailboxbg (Debian #345524).
1170	+ fix a few memory leaks reported by valgrind.
1171
11722005/12/19
1173	+ correct return-values of new functions dlg_default_listitem() and
1174	  dlg_default_formitem() (Debian #344002).
1175	+ add Swedish translation (Debian #343303, by Daniel Nylander)
1176	+ begin function-summaries in dialog.3
1177	+ update config.guess, config.sub
1178
11792005/12/07
1180	+ change license to LGPL.
1181	+ change naming convention in dlg_colors.h to make it easier to read,
1182	  and incidentally remove the last chunk of code preventing relicense.
1183	+ add --passwordform (request by Reznic Valery).
1184	+ modify pause.c, msgbox.c to work with --help-button.
1185	+ modify formbox.c, inputbox.c, textbox.c, yesno.c to work with extra
1186	  button (adapted from Reznic Valery patch).
1187	+ modify dlg_exit_label(), dlg_yes_labels() and dlg_ok_label() to allow
1188	  help-button (prompted by Reznic Valery patch).
1189	+ add zh_CN.po file from
1190		http://www.iro.umontreal.ca/translation/maint/dialog/
1191	+ provide alternate interfaces for dialog_checklist(), dialog_menu()
1192	  and dialog_form():  dlg_checklist(), dlg_menu() and dlg_form()
1193	  (discussion with Michael Gebetsroither).
1194	+ add/use dlg_result_key() to allow binding function keys to the
1195	  buttons.
1196	+ implement user-definable key bindings in the rc-file.
1197	+ modify inline cases for KEY_xxx values to use binding tables in new
1198	  module dlg_keys.c
1199	+ add several DIALOG_STATE items to the rc file:  aspect,
1200	  separate_widget, tab_len and visit_links
1201	+ add a tab-adjustment to dlg_print_text() to improve solution from
1202	  2005/10/30, e.g., in the samples/form* scripts.
1203	+ fix an off-by-one which made mouse-selection not work for menu items
1204	  past the first page (GenToo #112024, patch by Harald van Dijk).
1205
12062005/11/07
1207	+ extend dlg_add_result() to allow caller to pass a null pointer
1208	  for dialog_vars.input_result (Debian #336986).
1209	+ correct length used for text portion of radio/checkboxes (report by
1210	  Valentin Stoykov).
1211	+ modify msgbox, textbox and center_label() to work properly for
1212	  LANG=bg_BG.utf8 examples by Valentin Stoykov.
1213	+ modify use of freopen() to work with opaque FILE type on DragonFly
1214	  (report by Jeremy C Reed).
1215	+ modify print_line() to compute columns, use that for the call to
1216	  dlg_print_line().  Fix a few places where strlen() was used instead
1217	  of dlg_count_columns() (reports by Valentin Stoykov).
1218
12192005/10/30
1220	+ reviewed changes since beginning development in 1999, decided that
1221	  there are no appreciable portions of original code remaining.
1222	  Marked sources to correspond.
1223	+ improve cache performance for inputstr.c using tsearch() rather than
1224	  a linked-list search (Debian #294853).
1225	+ remove a special case for darwin in CF_XOPEN_SOURCE configure macro.
1226	+ add ms.po file from
1227		http://www.iro.umontreal.ca/translation/maint/dialog/
1228	+ remove an assignment that caused the cursor to appear initially on a
1229	  form field rather than button (Debian #333506).
1230	+ modify buttons.c to count columns rather than bytes, fixing case
1231	  where buttons were laid out incorrectly (report by Valentin Stoykov).
1232	+ change dlg_print_text() to count columns rather than bytes, fixing
1233	  case where fewer columns were displayed in menu than expected
1234	  (report by Valentin Stoykov).
1235
12362005/10/05
1237	+ improve fix for dlg_does_output(), eliminating redundant leading
1238	  separator.
1239	+ fill background color for item-help text (report by Peter Postma).
1240	+ correct interaction between --separate-output and --output-separator
1241	  broken in 2005/09/11 fix for Debian #326918 (Debian #331440).
1242	+ update config.guess, config.sub
1243
12442005/09/11
1245	+ undo doubled adjustment for left/right margins when wrapping text
1246	  for msgbox, gauge and pause (report by Xyba).
1247	+ correct position of scrolled text in formbox broken by 2004/12/19
1248	  changes (report by Konrad Jelen).
1249	+ call dlg_does_output() from dlg_add_result(), ensuring that
1250	  separators are used when combining widgets such as formbox (report by
1251	  John Suykerbuyk).
1252	+ fix marker in textbox.c to make it disappear at the top of the file
1253	  (report by Patrick J. Volkerding).
1254	+ fix marker shown in arrows.c for checklists, etc., which was "(+)"
1255	  where it should have been "(-)" (report/patch by Patrick J.
1256	  Volkerding).
1257	+ fix --input-fd (changes in glibc since 2003 made dialog hang on exit
1258	  due to the way dialog updated stdin).
1259	+ restore default value (a tab) for --separator or --separate-widget
1260	  lost in 2003/11/26 changes (Debian #326918).
1261	+ make several widgets handle SIGWINCH (calendar, checklist, formbox,
1262	  fselect, inputbox, menubox, pause, tailbox, textbox, timebox).  Only
1263	  msgbox and yesno had been done before.  Note that some still have
1264	  fixed geometry requirements, so they cannot be shrunk below a given
1265	  threshold.  Also, these changes do not address traversal, e.g., for
1266	  tailboxbg.
1267	+ make gauge widget handle SIGWINCH with ncurses (Debian #305705).
1268	+ add configure option to control whether largefile support is
1269	  compiled-in (Debian #298882).
1270	+ update eu.po (Debian #312622, patch by Piarres Egana).
1271	+ add/update po files from
1272		http://www.iro.umontreal.ca/translation/maint/dialog/
1273	  fi.po, rw.po, sr.po, tr.po, zh_TW.po
1274	+ fixes for configure script:
1275	  + improve script for determining gcc version
1276	  + improve checks for Intel compiler and related warning options
1277	  + improve checks for defining _XOPEN_SOURCE (or alternatives) and
1278	    _POSIX_C_SOURCE
1279	+ update config.guess, config.sub
1280
12812005/03/06
1282	+ add/update po files from
1283		http://www.iro.umontreal.ca/translation/maint/dialog/
1284	  ga.po, it.po
1285	+ revert last change for da.po; it was from an older version (report by
1286	  Morten Brix Pedersen).
1287
12882005/02/06
1289	+ modify makefile.in so --disable-echo applies to libtool builds.
1290	+ corrected malloc size used for editable fields in formbox widget to
1291	  match the function which updates the corresponding buffer.
1292	+ modify formbox widget's use of flen to allow negative values to be
1293	  used to limit the length of the displayed field.
1294	+ improve description in manpage of output from formbox widget
1295	  (Debian #292418).
1296	+ modify formbox widget to allow fields with flen==0 to display
1297	  (Debian #292417).
1298	+ improved configure macros CF_POSIX_C_SOURCE and CF_XOPEN_SOURCE, to
1299	  avoid redefinition warnings on cygwin.
1300	+ fix a typo in inputmenu-stdout found via "sh -n" (report by Steve
1301	  Grubb).
1302	+ add/update po files from
1303		http://www.iro.umontreal.ca/translation/maint/dialog/
1304	  ca.po, da.po, hu.po, nl.po, rm.po, ro.po, vi.po
1305
13062005/01/16
1307	+ add --args option to help with debugging scripts.
1308	+ adapted some new po files from Debian package for whiptail:  ar.po,
1309	  bg.po, gl.po, hi.po, hr.po, mg.po, mk.po, ro.po, sq.po and zh_TW.po
1310	+ update da.po (Morten Brix Pedersen).
1311	+ add configure check for Intel 8.0 compiler, to set appropriate
1312	  warning options.
1313	+ update config.guess, config.sub
1314
13152004/12/22
1316	+ correct a typo in 2004/12/19 changes which caused width of multibyte
1317	  characters to be incorrectly computed in some locales.
1318	+ modify --version and --help options to write consistently to the
1319	  standard output (report by Santiago Vila).
1320	+ modify tailboxbg by resetting tty modes at the point where it forks a
1321	  process to update the screen, rather than waiting until that process
1322	  exits.  This improves user feedback by making it apparent that dialog
1323	  is no longer processing input after that point (Redhat #142538).
1324	+ minor updates to some .po files using Babel Fish, comparing with lynx.
1325	+ update es.po (Santiago Vila).
1326	+ work around bug in NetBSD 1.6 curses which seems to be confused by
1327	  reusing color pairs with different video attributes.  The problem
1328	  does not appear in NetBSD 2.0 curses (but its headers do not provide
1329	  version info, so color-caching is not available for that
1330	  configuration).
1331	+ modify pause and gauge widgets to ensure that reverse-video progress
1332	  bar is visible when the background is reversed, e.g., using the
1333	  default non-color attributes.
1334	+ use chtype rather than attr_t, to build with old Solaris curses,
1335	  used in save/restore operation from 2004/09/20.
1336
13372004/12/19
1338	+ add pause-widget (patch by Yura Kalinichenko).
1339	+ modify exit-code returned on selecting the "Help"-button when the
1340	  --item-help option is given.  Previously this returned the same code
1341	  as "OK", since it combines output for "OK" with the help status.  It
1342	  now returns the help-code, but this can be overridden by setting the
1343	  environment variable $DIALOG_ITEM_HELP (reports by Erika Pacholleck
1344	  and Sebastian Muesch).
1345	+ modify formbox widget so input-length is not limited to field-length
1346	  (report by David Liebermann).
1347	+ localize the label on the search box for textbox widget (report by
1348	  Erika Pacholleck).
1349	+ correct usage message detail for fselect, which listed an extra
1350	  parameter (Debian #284008).
1351	+ add include for <sys/select.h> in ui_getc.c to build with QNX 4.25
1352	  using Watcom 10.6 (patch by Len Meakin).
1353	+ modify behavior when no locale (or POSIX locale) is set to allow
1354	  legacy interpretation of Latin-1 character set (Debian #284795).
1355
13562004/11/18
1357	+ correct computation of column width for menubox/checkbox tags, for
1358	  multicolumn characters, e.g., the menubox-utf8 example.
1359	+ correct calls to wbkgdset(), which set the background attribute but
1360	  not the corresponding character (ncurses uses blank if none is given).
1361	+ improve configure script check for _XOPEN_SOURCE and _POSIX_C_SOURCE.
1362	+ improved limit-computation in show_message() to allow for scrolling
1363	  very long messages.
1364	+ adjust scrolling logic in msgbox to account for the one-line offset
1365	  used by the logic which wraps text in a box, thus avoiding leaving
1366	  an extra blank line (report by Maxim Sobolev).
1367
13682004/09/20
1369	+ add samples/whiptail.rc
1370	+ add samples/dialog.py (noting that a later version of this exists
1371	  as pythondialog, but this is relatively self-contained).  Modified
1372	  the script to accept the $DIALOG environment variable like the other
1373	  sample scripts, to specify the path of the program to use.
1374	+ modify the install rule for header-files so the autoconf names in
1375	  dlg_config.h (and corresponding usage in dialog.h, etc), are altered
1376	  from "HAVE_xxx" to "DLG_HAVE_xxx", etc.
1377	+ add a check for getenv("HOME") in rc.c
1378	+ add a call to end_dialog() in signal_handler for tailboxbg (from
1379	  patch by Werner Fink).
1380	+ correct initialization in checklist and radiobox for --default-item,
1381	  scrolling as needed.
1382	+ modify --visit-items option so that it puts the cursor initially on
1383	  the list (in menubox, checklist and radiobox), accepts abbreviations
1384	  for the buttons when the cursor is on the button-row, and otherwise
1385	  (when --visit-items is given) abbreviations apply only to the list
1386	  (report by Erika Pacholleck).
1387	+ modify a few widgets (inputbox, textbox, yesno) to beep on unexpected
1388	  input.
1389	+ modify some msgbox widget to accept abbreviations of its button
1390	  label, for consistency with other widgets (request by Erika
1391	  Pacholleck).
1392	+ corrected logic of dlg_char_to_button(), making it check only the
1393	  first uppercase letter in each button label rather than all uppercase
1394	  letters (report by Erika Pacholleck, cf: 2003/09/10).
1395	+ improved description of --clear and --keep-window options (adapted
1396	  from Erika Pacholleck).
1397	+ move discussion of --beep and --beep-signal options to Obsolete
1398	  Options section of manpage, remove these from the help-message
1399	  (report by Erika Pacholleck).
1400	+ bracket extern's in dialog.h with C++ extern "C" declaration, in case
1401	  the library is used from a C++ application.
1402	+ modify inputmenu examples to allow ESC to cancel the script.
1403	+ modify inputmenu widget to cancel edit on a TAB or ESC.
1404	+ modify inputmenu widget to use the same color scheme for the editable
1405	  text as the inputbox widget.
1406	+ modify samples/killall to work around differences in "cut" versions.
1407	+ use the color-caching from the \Z logic when loading the ".rc" file,
1408	  thereby reducing the number of color pairs required, and making it
1409	  less likely that deriving color pairs for drawing arrows on a given
1410	  background will run out of colors.
1411	+ save/restore window attributes in dlg_draw_arrows() and similar
1412	  functions, to allow widgets to draw arrows using the widget's
1413	  background rather than a common/fixed value (request by Erika
1414	  Pacholleck).
1415	+ modify textbox widget so the down-arrow will be hidden when at the
1416	  end of the file.  (Modifying the up-arrow to be hidden is harder -
1417	  will do this when implementing scrollbars).
1418	+ correct off-by-one in fselect.c which left down-arrows showing at
1419	  the bottom of directory- and file-lists (report by Erika Pacholleck).
1420	+ improve display of percentages by omitting blanks where lines should
1421	  be shown.
1422	+ modify logic for \Z escapes to make those that set video attributes
1423	  not clear the colors (report by Erika Pacholleck).
1424	+ modify logic for \Z escapes to allow foreground and background
1425	  colors to be the same, provided that bold attribute is set.
1426	  Also improved the logic for choosing a background color when the
1427	  foreground and background are the same (report by Erika Pacholleck).
1428	+ updated configure script macro CF_XOPEN_SOURCE, ensuring that the
1429	  _POSIX_C_SOURCE value is defined with a specific value (bug report
1430	  originally for lynx).
1431	+ fix configure script so that po/makefile is generated properly when
1432	  the configure --srcdir --enable-nls options are used.
1433	+ modify makefile.in to allow build/install from another directory,
1434	  i.e., using configure --srcdir (patch by Mike Castle).
1435	+ updated da.po (Debian #262587, Morten Brix Pedersen).
1436	+ modify some sample scripts to avoid using grave quotes nested within
1437	  double quotes with multiple file redirection, which does not work
1438	  with Solaris /bin/sh (report/analysis by Eric Haller).
1439	+ check for end of string immediately after a \Z escape to avoid
1440	  displaying the null terminator as a ^@ (report by Erika Pacholleck).
1441	> patches by Erika Pacholleck:
1442	+ modify calendar.c, fselect.c and timebox.c to use color scheme like
1443	  other lists, using menubox colors rather than dialog colors.
1444	+ correct charset for po/de.po, translate messages for "Help" and
1445	  "Rename".
1446	+ omit parentheses around percentage in textbox.c
1447	+ correct a few mismatched attributes, e.g., searchbox_attr in textbox.c,
1448	  percentage in msgbox.c,
1449
1450
14512004/07/31
1452	+ add test scripts to cover zero-width column case.
1453	+ remove limit checks from checklist.c and menubox.c (cf: 2004/07/28),
1454	  since some scripts use zero-width columns (Debian #262411 and report
1455	  by Kyle Sallee).
1456
14572004/07/29
1458	+ modify msgbox.c to only reserve space for percentage shown as part
1459	  of scrollable text for the msgbox widget.  This makes infobox look
1460	  as it did before 2004/06/06 changes (report by Vinesh Christopher)
1461
14622004/07/28
1463	+ remove redundant calls to wtimeout() from widgets since wtimeout()
1464	  is properly called from ui_getc() where it is controlled by the
1465	  --timeout option (bug report by juanjo).
1466	+ add limit checks in checklist.c and menubox.c for very narrow screens
1467	  (prompted by Steve Grubb patch).
1468	+ initialize step in dlg_draw_buttons() in case it is used to draw
1469	  a vertical list of buttons (prompted by Steve Grubb patch).
1470	> fixes by Steve Grubb:
1471	+ correct logic in checklist.c (cf: 2003/11/26 changes) which turned
1472	  quoting on unnecessarily for radiobox, breaking some old scripts.
1473	+ increase size of array in dlg_ok_labels() to avoid overrun if extra
1474	  and help buttons are used (cf: 2002/06/12 changes).
1475	+ initialize fkey variable in menubox.c and textbox.c (cf: 2003/07/12).
1476
14772004/07/21 - release 1.0
1478	+ minor updates for configure script, i.e., CF_XOPEN_SOURCE,
1479	  CF_NCURSES_LIBS macros.
1480	+ update config.guess, config.sub
1481	+ add nl.po (Jacques Weewer).
1482
14832004/06/06
1484	+ add --visit-items option, which allows the user to tab to the item
1485	  list in the checklist/radiobox and menubox widgets (request by
1486	  Ari Moisio).
1487	+ use wide-character line-drawing for up/down arrows when configured
1488	  for wide-characters, gives better results with uxterm.
1489	+ limit the number of times a --file option can be used, to prevent
1490	  runaway recursion if a --file option is embedded within a file which
1491	  is included.
1492	+ improve discussion of wrapping in the manpage (Debian #251937).
1493	+ modify msgbox to allow it to scroll vertically like textbox (Debian
1494	  #233276).  This only works with ncurses.
1495	+ implement $DIALOGVARS environment variable to apply common options to
1496	  dialog_vars when it is reset before processing other common options.
1497	+ add --single-quoted option to control whether output is double-quoted
1498	  with '"' or single-quoted with single-quotes.
1499	+ revert the default quoting behavior of checklists to use
1500	  double-quotes (report by Mark K Post regarding Slackware scripts).
1501	+ add eu.po (Basque) (Piarres Beobide Egaa).
1502	+ add ca.po (Catalan) (Jordi Mallach).
1503
15042004/04/21
1505	+ add a call to flushinp() to init_dialog(), to discard any typeahead
1506	  before dialog is invoked (Debian #244746).
1507	+ correct dlg_match_char() function, which was broken during rewrite
1508	  to support wide-characters (Debian #244777).
1509	+ improved ru.po, uses UTF-8 charset (Leonid Kanter, Redhat #119200).
1510	+ correct position of shadow drawn for dialogs, which appeared to work
1511	  for most versions of curses (other than NetBSD) but would have been
1512	  visible for certain color schemes (discussion with Julian Coleman).
1513	+ correct loop-exit in longest_word() (Tomas Heredia, forwarded by
1514	  Santiago Vila).
1515	+ add cy.po (Welsh) (Dafydd Harries).
1516
15172004/03/16
1518	+ modify quoting of results to use single-quote rather than double
1519	  quote, and ensure that results containing a quote or backslash
1520	  character are escaped (report by Florent Rougon)
1521	+ remove an incorrect comparison from checklist which made cursor
1522	  stick on the last line, from 2004/03/01 changes.
1523
15242004/03/14
1525	+ add a dependency to install library if "--with-libtool" is used.
1526	+ add manpage for the library.
1527	+ add "--file"
1528	+ modify formbox.c to support "--help-status" like menubox.
1529	+ modify checklist.c to add item name to the "HELP" string when
1530	  "--help-button" is used and no --item-help option is given (Debian
1531	  #236841, report/patch by Jorg Sommer).
1532	+ rename colors.h to dlg_colors.h, install that when the library is
1533	  installed.
1534	+ add copyright notice to usage ("--help") message.
1535	+ correct a missing bounds check for mouse-clicks in menubox (prompted
1536	  by Debian #233044).
1537	+ updated several configure-script macros:  AM_GNU_GETTEXT,
1538	  AM_WITH_NLS, CF_OUR_MESSAGES, CF_PROG_EXT, CF_WITH_DBMALLOC,
1539	  CF_WITH_DMALLOC, CF_WITH_LIBTOOL, CF_XOPEN_SOURCE.
1540
15412004/03/01
1542	+ improve layout of calendar widget to allow for very long button
1543	  labels (report by Santiago Vila).
1544	+ correct logic for $DIALOG_TTY, broken in 2003/11/30.  The environment
1545	  variable must evaluate to a nonzero integer (report by Florent
1546	  Rougon).
1547	+ document interaction between "--default-no" and "--no-cancel" options
1548	  in manpage (Debian #223488).
1549	+ change configure script to use autoconf 2.52+patch, to work around
1550	  issues with Estonian locale (report by Seemant Kulleen).
1551	+ add uk.po (Ukrainian) (Debian #232441).
1552	+ make --default-item apply to checklist widget (Debian #225255).
1553	+ correct a missing check for --item-help when --help-status was given
1554	  for checklist (Debian #232921).
1555	+ correct a missing bounds check for mouse-clicks in checklist (Debian
1556	  #233044).
1557	+ update config.guess, config.sub
1558
15592003/12/07
1560	+ correct infinite loop in yesno widget when "--defaultno" option is
1561	  combined with "--no-cancel" (Debian #223077).
1562
15632003/11/30
1564	+ suppress double-quotes added for "--help-status" option if the
1565	  string does not contain any special characters.
1566
15672003/11/26
1568	+ add samples/sourcemage.rc, for comparison with slackware.rc
1569	+ add "--insecure" option (request by Sean Mathews (DrWho@f34r.com)).
1570	+ make "--defaultno" option apply to widgets which use OK/Cancel
1571	  buttons as well (Debian #209030).
1572	+ improve documentation of exit-codes for each widget in the manpage
1573	  (Debian #217926).
1574	+ add option "--keep-window" to suppress repainting after completing
1575	  each widget (request by Ingo van Lil).
1576	+ add options "--yes-label" and "--no-label" to allow override of the
1577	  "Yes" and "No" strings (request by Christoph Zwerschke).
1578	+ add option "--help-status" to allow script to restore a checklist
1579	  or radiolist after processing an item-help string (Debian #209031).
1580	+ modify width-calculation for non-formatted text to ensure it is
1581	  wide enough for the longest word in the text (patch by Andrew Gaul).
1582	+ modify dlg_index_columns() to count a newline as a single cell rather
1583	  than 2 for the normal curses case.  This fixes an off-by-one for
1584	  the text-justification, shown in screen 2 of msgbox1 sample script.
1585	+ fix dlg_char_to_button(); 2003/09/10 changes made it incorrectly
1586	  ignore case of the labels.
1587	+ change calendar's use of arrow keys so they are (as before 2002/06/22)
1588	  interpreted within the day-grid as movement within that grid (request
1589	  by David Anders).
1590	+ correct missing initialization of last_getc variable in dlg_getc()
1591	  (report/analysis by Victor Wodecki).
1592	+ modify main program to make
1593		dialog --no-shadow --print-maxsize
1594	  work.  Normally dialog prints the screen size after subtracting the
1595	  area reserved for shadows, but some applications may need the actual
1596	  screen size (Debian #213424).
1597	+ several related changes (Debian #213425):
1598	  + separate the examples using "--stdout" and "--output-fd" from the
1599	    normal usage examples.
1600	  + add "--input-fd" option, provide a sample of its use.
1601	  + modify init_dialog() to use initscr() unless a "--stdout" option
1602	    was used.  Some scripts relied on the coincidence that redirecting
1603	    standard output from dialog would "work".  Before this change
1604	    init_dialog() assumed that redirected standard output was
1605	    synonymous with "--stdout" option (not the intended behavior).
1606	  + modify command-line parsing to look for "--stdout" and "--stderr"
1607	    options first, allowing only one.
1608	  + add a check for an environment variable $DIALOG_TTY which provides
1609	    the older behavior, i.e., try to open the terminal directly if
1610	    stdout is redirected.
1611	+ interface changes, to make libdialog simpler to use:
1612	  + rename all of the internal functions to begin with "dlg_", but
1613	    provide compatibility with older names if the application defines
1614	    __DIALOG_OLD_NAMES__.
1615	  + add dialog_version() function, and corresponding DIALOG_VERSION and
1616	    DIALOG_PATCHDATE definitions to dlg_config.h
1617	  + eliminate remaining global variables such as screen_initialized in
1618	    favor of dialog_state and dialog_vars.
1619	  + move some data such as dialog_vars.output to dialog_state, since
1620	    they are normally not reset between widgets.
1621	  + change interfaces of dialog_yesno() and dialog_checklist() to use
1622	    dialog_state.defaultno and dialog_vars.separate_output, making it
1623	    simpler and more consistent.
1624	+ improve configure script and related definitions:
1625	  + add "--with-libtool" option to provide shared library support by
1626	    libtool.
1627	  + rename generated "config.h" to "dlg_config.h", so it can be
1628	    installed without naming conflict.  Added "dlg_config.h" to
1629	    install-lib rule.
1630	  + modify configure script and makefile to use EXEEXT and OBJEXT.
1631	  + add "--enable-widec" option to control whether wide-curses features
1632	    are compiled-in, rather than check for the existence of those in
1633	    the curses library.  This allows building with HPUX curses, which
1634	    has abandoned legacy features while not quite supporting X/Open
1635	    curses.
1636	  + add configure check for getbegx(), etc., which are not provided on
1637	    all platforms.
1638	+ update config.guess, config.sub
1639
16402003/10/02
1641	+ update hu.po (Arpad Biro).
1642	+ revert part of the 2003/08/18 change to "--stdout" option.  Using
1643	  stderr for screen output does not work well on several platforms
1644	  since stdout's settings are affected (report by Kent Robotti).
1645
16462003/09/24
1647	+ modify tailbox to allow it to display files with arbitrarily long
1648	  lines.
1649	+ fix an infinite loop in tailbox, broken when making interface changes
1650	  to dlg_getc() (report by Ingo van Lil).
1651	+ amend fix for "--and-widget" to not treat "---" as an option (report
1652	  by Kent Robotti).
1653	+ updated es.po (Santiago Vila).
1654
16552003/09/10
1656	+ correct "RENAMED" result from inputmenu widget, which did not reset
1657	  the result buffer, and did not account for scroll-offset (Debian
1658	  #209336).
1659	+ modify button, menu and checklist logic that matches a character to
1660	  the beginning of a text field to support wide-characters (completes
1661	  Debian #195674).
1662	+ modify configure script to not use "head -1".
1663
16642003/08/30
1665	+ modify searchbox popup in textbox widget so one can simply press
1666	  return on an empty input to cancel the popup.
1667	+ modify error reporting to avoid clearing screen if a problem is
1668	  found in the ".rc" file.
1669	+ add color/attribute combinations for form widget (based on patch by
1670	  Reznic Valery).
1671	+ combine rc-file colors, attribute- and color-tables to obtain a
1672	  single table for color values, which requires less work to add new
1673	  entries.
1674	+ modify fselect widget to make back-tab work again, since it was
1675	  broken by the rewrite of dlg_edit_string().
1676	+ modify howmany_tags() so it will quit searching when it finds any
1677	  option, not only "--and-widget" (Debian #206636).
1678	+ correct call to dlg_print_text() in print_line(), which did not
1679	  account for hidden characters (report/patch by David Poole).
1680	+ modify print_button() to display properly if locale defines ok/cancel
1681	  or yes/no buttons that contain multibyte characters.
1682
16832003/08/20
1684	+ correct an indexing error when deleting from the end of a line using
1685	  KEY_DC; it happened to work on Linux because malloc() clears memory
1686	  like calloc().
1687	+ add '\r' to case statement where '\n' is translated to KEY_ENTER to
1688	  work around defect in NetBSD curses.
1689	+ modify configure check for getparyx(), etc., which are implemented
1690	  by NetBSD curses as functions rather than macros.
1691	+ correct configure check for term.h, which may be <ncursesw/term.h>
1692	  if ncursesw development headers are installed, but not ncurses
1693	  development headers.  Or they may not coincide (Debian #206287).
1694
16952003/08/18
1696	+ modify checklist.c and menubox.c to display tags properly if they
1697	  contain wide-characters.
1698	+ better solution for initializing curses when "--stdout" option is
1699	  used, e.g., use stderr for the output if it is a tty.  Also correct
1700	  the error handling, so dialog exits with an error if it cannot
1701	  find a way to do output (Debian #205509).
1702	+ modify sample scripts to use consistent definition of $DIALOG
1703	  (Debian #205508).
1704	+ add UTF-8 examples inputbox6-utf8, inputbox6-utf8 (from Tomohiro
1705	  Kubota, Debian #195674).
1706	+ modify print_line() to work with wide-characters, e.g., so it handles
1707	  wrapping for double-width characters.
1708	+ cache results from multibyte character indices, speeds up cursor
1709	  movement.
1710	+ modify form widget to support scrolling and mouse-selection.
1711	+ add form widget (based on patch by Reznic Valery).
1712	+ correct mouse-handling for inputmenu widget.
1713	+ corrections to menu.c: location of clearing operation, and height of
1714	  rows in code for older ncurses versions (patch by Reznic Valery).
1715	+ improve logic that compensates for xterm's alternate-screen by
1716	  cancelling the rmcup/smcup strings after the rmcup has been issued.
1717	  That ensures that dialog will not clear the screen on exit (report
1718	  by Javier Kohen).
1719	+ modify initialization between widgets to retain the values for the
1720	  --aspect, --separate-widget and --tab-len options.
1721	+ add --separator as an alias for --separate-widget (compatible with
1722	  Xdialog).
1723	+ correct handling of Xdialog's --icon and --wmclass options, whose
1724	  parameter was not ignored.
1725	+ correct logic for --separate-widget so its string is written before
1726	  each output, rather than only for --and-widget option (report by
1727	  Javier Kohen).
1728	+ improve limit-check in center_label() for buttons.c (report by Tor
1729	  Vidar Havstad).
1730	+ correct layout of --menu widget, which reduced display width due to
1731	  logic for --inputmenu being applied whether or not that configuration
1732	  was used (reports by Javier Kohen, Dimitar Zhekov and MAL
1733	  <mal@komcept.com>).  Fixes Debian #201215.
1734	+ modify gauge widget to support --begin option (Hans-Joachim Baader).
1735	+ updated pl.po (Jaroslaw Swierczynski).
1736	+ hide cursor while painting gauge.
1737	+ add auto-sizing logic to gauge widget (reports by Javier Kohen and
1738	  Robert Schubert).
1739
17402003/07/20
1741	+ rewrote inputstr.c, allowing it to enter and display wide-characters.
1742	  Some nonprinting characters such as control/B can be edited as well.
1743	+ modify timebox to allow user to type numbers into the fields.
1744	+ change interfaces of dlg_getc(), mouse_wgetch(), etc., to add
1745	  parameter that returns whether the result is really a function-key.
1746	  This is needed to work with wide-character curses.
1747	+ correct computation of week-number in calendar widget (report by
1748	  Heiner Lamann).
1749	+ updated configure script macros:
1750	  + suppress -Winline with gcc 3.3, since it is broken.
1751	  + fix caching bug in CF_UTF8_LIB
1752	  + improved script for CF_BUNDLED_INTL.
1753	+ update config.guess, config.sub
1754
17552003/03/08
1756	+ add null-pointer checks to some malloc calls which were overlooked.
1757	+ correct logic in dlg_add_result(), which did not copy content of
1758	  non-allocated buffer to the first allocation (report by Daniel
1759	  Dupont).
1760
17612003/03/02
1762	+ correct an uninitialized value in dlg_add_result() (Debian #182683).
1763
17642003/01/30
1765	+ corrected print_line(), which subtracted the margin twice from the
1766	  right-limit, making a string wrap unnecessarily (Debian #168823).
1767	+ correct initial limit-check for arrows in checklist.c, which used
1768	  the wrong variable, showing the bottom arrow when it should not
1769	  (Debian #168823).
1770	+ modify driver to always call show_result(), to simplify updates.
1771	+ fix several memory leaks, important if dialog is run with a large
1772	  number of widgets (report by albert.veli@telia.com forwarded by
1773	  Santiago Vila).
1774	+ check if the screen output is actually to the terminal before trying
1775	  to suppress xterm's alternate screen mode (see 2000/01/18) (report by
1776	  David Oliveira).
1777	+ use dialog_vars.input_result consistently to return the text which is
1778	  printed after a widget completes.  In many cases, dialog now
1779	  allocates enough space to hold the text, rather than use a fixed
1780	  buffer.  The checklist widget was writing directly to the output to
1781	  avoid limits of the fixed buffer.
1782	+ modify dialog.c to also write dialog_vars.input_result if the
1783	  Help-button was pressed (request by Amon Ott).
1784	+ add hu.po (Arpad Biro).
1785	+ update fr.po, pt.po, pt_BR.po to add strings for "Help" button (patch
1786	  by Frederic L W Meunier).
1787	+ fix off-by-one error in menu.c, checklist.c (reported by
1788	  Tomasz Wasiak 2002/09/15 and others:
1789	  Andrew Gaul 2002/11/12,
1790	  Tobias C Rittweiler 2002/11/19,
1791	  Arpad Biro 2003/01/21).
1792	+ updated configure script, improving checks for ncurses in various
1793	  locations, updated NLS script to match lynx.  Added --with-curses-dir
1794	  option.
1795	> Tobias C Rittweiler:
1796	+ make ifdef in mousewget.c consistent with usage in dialog.h
1797	+ use beep() rather than flash() in dlg_edit_string(), for consistency
1798	  with the other functions.
1799	+ change order of buttons so extra button falls between Ok/Cancel.
1800	+ fix so "dialog --print-maxsize" exits from curses.
1801	+ add --inputmenu option.
1802
18032002/08/14
1804	+ modify checklist.c and menubox.c to treat the extra button like the
1805	  "Ok" button by making dialog print the chosen items (request by
1806	  Tobias C Rittweiler).
1807	+ add examples checklist6 and menubox6 to illustrate the --colors
1808	  option.
1809	+ implement -colors option, which allows one to highlight words in the
1810	  titles and most text areas with color or video attributes (adapted
1811	  from patch by Tobias C Rittweiler).
1812	+ add examples inputbox4, inputbox5 to illustrate how to use the
1813	  --output-fd option, and how to use dialog without any temporary
1814	  file at all.
1815	+ add --output-fd option (Debian #153984).
1816	+ documented vi-style keys for calendar, textbox widgets in manpage.
1817
18182002/06/22
1819	+ improve mouse handling, e.g., for up/down scrolling in calendar,
1820	  checklist, etc.
1821	+ add --extra-button and --extra-label options (adapted from patch
1822	  by Tobias C Rittweiler).
1823	+ correct displayed cursor position in inputbox when returning to the
1824	  input area after traversing the buttons with tabs, etc.
1825	+ add left/right arrows for traversal in calendar and timebox dialogs.
1826	+ implement two new functions dlg_next_ok_buttonindex() and
1827	  dlg_prev_ok_buttonindex(), using these to hide details about the
1828	  traversal over buttons in several widgets.
1829	+ modify checklist.c and menubox.c to verify if both --help-button and
1830	  --item-help are specified before assuming that selecting the help
1831	  button should cause the "HELP {item-help}" message to be printed
1832	  (reported by Marcel Ritter).
1833	+ modify init_dialog() to work around HP's broken tty driver (report by
1834	  John Mudd).  Specifically, the problem is that when opening /dev/tty
1835	  directly (to support the --stdout option), the terminal does not
1836	  change to raw mode.  The workaround opens /dev/tty only as needed;
1837	  the --stdout option does not work on HPUX but otherwise dialog works.
1838	+ updated el.po (patch by kromJx <kromJx@crosswinds.net>).
1839
18402002/05/19 - release 0.9b
1841	+ add --no-collapse option to allow one to retain tabs and repeated
1842	  blanks in a message box (request by Roberto Simoni).
1843	+ use DLG_EXIT_ESC constant rather than -1's in several places.  This
1844	  has the effect of changing some exit-with-error cases to denote that
1845	  the exit was because ESC was pressed (patch by Diego Alvarez,
1846	  forward by Santiago Vila).
1847	+ bump package version to 0.9b (with patch-date, as usual).
1848	+ add --exit-label option (request by Roberto Simoni).
1849	+ updated de.po to correct translation for "Cancel" (from Michael
1850	  Piefel, Debian #146402).
1851	+ use definitions from autoconf macro AC_HEADER_TIME to ensure that
1852	  time() is properly prototyped.
1853	+ update pl.po, adding translation for "Help" (patch by Jaroslaw
1854	  Swierczynski <swiergot@hacking.pl>).
1855	+ update COPYING file, to reflect address change of FSF (reported by
1856	  Santiago Vila).
1857	+ update some configuration script macros:  CF_CHECK_CACHE,
1858	  CF_CURSES_CPPFLAGS, CF_HEADER_PATH and CF_MAKEFLAGS.
1859	+ correct misuse of "$with_XXX" variables in the configure script,
1860	  which prevented configuration against curses library as opposed to
1861	  ncurses.
1862	+ update config.guess, config.sub
1863
18642002/03/09 (a)
1865	+ modify geometry of samples/fselect scripts to allow them to run in
1866	  a 24x80 screen (report/patch by Santiago Vila).
1867	+ correct exit-code for menubox.c when Cancel is pressed.  This was
1868	  unintentionally altered when adding --help-button (reported by
1869	  Patrick J Volkerding)
1870
18712002/03/09
1872	+ add --timeout option, which forces the program to exit with an error
1873	  if no user response is given within the specified number of seconds
1874	  (request by <andrew@argoncorp.com>).
1875	+ modify calendar widget to allow day/month/year values to default to
1876	  the current date (request by <Ron.Perrella@bellsouth.com>).
1877	+ modify display of buttons in checklist.c and menubox.c to handle the
1878	  case where the button label is empty (Debian #134388).
1879	+ extended logic for ok/cancel/help to make this work with checklist
1880	  widget.
1881	+ revert pt_BT.po, apply changes to pt.po (report by Frederic L W
1882	  Meunier).
1883	> several changes from Stanislav Ievlev:
1884	+ add options --help-button and --help-label to make menubox display a
1885	  third button which can be used to return an exit code causing the
1886	  calling script to show extended help information.
1887	+ use home/end keys in input string-editing, e.g., inputbox.
1888	+ add option --max-input to limit length of string returned by inputbox
1889	  and other widgets which allow the user to edit a string.
1890
18912001/12/02
1892	+ add --ok-label and --cancel-label options (request by Kyle Sallee).
1893	+ correct usage message for --fselect option (reported by Patrick J
1894	  Volkerding).
1895	+ add samples/debian.rc, for comparison with slackware.rc
1896	+ corrected samples/slackware.rc, which was just the compiled-in
1897	  default values (patch by Patrick J Volkerding).
1898	+ modify search rule for rc-file to add a global rc file /etc/dialogrc
1899	  (patch by Patrick J Volkerding).
1900	+ updated pt_BR.po with modified entries for fselect.c (Frederic L W
1901	  Meunier).
1902	+ add pl.po (Swiergot <swiergot@l02.ids.czest.pl>).
1903
19042001/11/11
1905	+ modify command-line parsing to allow a "--" argument to act as an
1906	  escape, so the next argument is not recognized as an option if it
1907	  begins with "--".  This is apparently one of popt's undocumented
1908	  features, upon which some Debian scripts depend (Debian #116642).
1909	+ add da.po (Morten Brix Pedersen <morten@wtf.dk>).
1910	+ add an install-strip rule to makefile, changing the normal install
1911	  rule to not strip the installed executable (based on discussion with
1912	  Santiago Vila).
1913	+ initialize my_output variable if user cannot open /dev/tty, e.g., if
1914	  su'd to another user (patch by Richard Braakman (<dark@ssh.com>), Debian
1915	  #117177).
1916	+ add configure option --with-ncursesw, to allow configure/build with
1917	  wide-character version of ncurses.
1918
19192001/10/14
1920	+ add option --ignore, to make dialog be ignore options that it does
1921	  not recognize.
1922	+ add option --trim, to trim literal newlines and repeated spaces from
1923	  text that will be displayed.  Add samples/msgbox2, which is the
1924	  same as msgbox1, but using --trim (cf: change for Debian #102942).
1925	+ minor correction to attributes for buttons.c to use active_attr on
1926	  the right-side of a button.
1927	+ add a sample dialog rc-file slackware.rc based on diffs in hdasetup
1928	  package at
1929		http://ftp1.sourceforge.net/pub/mirrors/slackware/slackware/source/a/hdsetup/
1930	  (discussion with Frederic L W Meunier).
1931	+ modify dialog.pl to avoid using a statically-named tempfile, allowing
1932	  multiple processes to use this script (patch by James Ranson
1933	  (<euclid80@yahoo.com>), Debian #110609).
1934	+ correct fprintf() call in j_menu() function, i.e., "--menu" option,
1935	  which did not guard against expanding '%' embedded in the parameters
1936	  (Stavros Chatzistefanidis <sxatz@yahoo.com>).
1937	+ add et.po (Ivar Smolin <okul@trenet.ee>).
1938	+ update fr.po (Frederic L W Meunier).
1939	+ modify to allow scripts to alter the exit codes, mainly to
1940	  distinguish ESC and ERROR exits.  This is done by setting a shell
1941	  variable such as DIALOG_ESC to a new value (request by Petr Vandrovec
1942	  (<vandrove@vc.cvut.cz>), Debian #99264)
1943
19442001/08/27
1945	+ use VPATH in makefile to support build with configure --srcdir, if
1946	  the make program supports that.  Note that samples/install/makefile
1947	  is not generated, due to awkward limitation of autoconf script
1948	  (reported by Frederic L W Meunier <0@pervalidus.net>).
1949	+ add po/pt_BR.po (Frederic L W Meunier <0@pervalidus.net>).
1950	+ correct sense of --enable/--disable shown in configure --help (report
1951	  by Frederic L W Meunier <0@pervalidus.net>).
1952	+ correct logic for --clear option, broken in 2000/07/02 (fixes Debian
1953	  #110254).
1954
19552001/08/11
1956	+ porting fixes to work on AIX: flush output to work around bug in
1957	  curses library, use ./killall in scripts to avoid conflict with
1958	  AIX program by that name.
1959	+ modify dlg_trim_string() to retain literal newlines if the string
1960	  does not contain "\\n" strings, and to retain leading blanks on the
1961	  resulting lines, for compatibility with older scripts (Debian
1962	  #102942).
1963	+ add charset specification to cs.po
1964	+ change dates in CHANGES to consistent format, add el.po for Greek
1965	  (patch by kromJx <kromJx@crosswinds.net>).
1966	+ eliminate static globals (bss, data) from modules rc, tailbox,
1967	  textbox using better parameter-passing convention, and const.
1968	+ cleanup temporary files in a few of the sample scripts.
1969	+ rewrote tailboxbg using select() rather than fork(), thereby
1970	  eliminating lock-files.  Only one process should be trying to display
1971	  on the screen at any given time.
1972	+ add error check to ensure that numeric parameters are really numbers.
1973	+ correct off-by-one in error messages reporting too-few or too-many
1974	  tokens for a given option (reported by George Mirchev).
1975	+ fix typo in manpage, "textboxbg" where "tailboxbg" was meant
1976	  (reported by George Mirchev <la@mail.techno-link.com>).
1977	+ use DLG_EXIT_xxx symbols consistently for all exit codes.
1978	+ updated es.po (patch by Santiago Vila).
1979	+ updates for some configure script macros from lynx:  CF_MAKEFLAGS,
1980	  CF_NCURSES_VERSION, CF_PROG_EXT.
1981	+ fixes to compile if <term.h> is included, e.g., when building with
1982	  AIX curses (report by Suzi Dowson <Suzi.Dowson@capgemini.co.uk>).
1983
19842001/05/27
1985	+ updated dialog.pot
1986	+ modify fselect.c to work with autosize, i.e., given height and width
1987	  zero (report by Martin Povolny).
1988	+ add a null-pointer check in justify_text(), needed by fselect.c
1989	+ add several more options which dialog can safely ignore, from
1990	  Xdialog 2.0.2
1991	+ refinements for configure macros checking for $CPPFLAGS, from lynx.
1992	+ update config.guess, config.sub to match autoconf 2.50
1993	> Martin Povolny <martin@solnet.cz>:
1994	+ add cs.po
1995	+ use nl_langinfo() to customize names for day-of-week, and month
1996
19972001/05/11
1998	> Vincent Stemen <dialog@AdvancedResearch.org>:
1999          Fixed dialog.c to not pass menu items through dlg_trim_string().
2000          Stripping extra spaces out of the menu items broke some of my
2001          scripts by altering the string that it compared to know which menu
2002          item was selected.  There should be no need to do justification on
2003          the menu items, which are always one line, anyway.
2004
20052001/04/29
2006	> Vincent Stemen <dialog@AdvancedResearch.org>:
2007	+ rewrote the text justification code to be able to have preformatted
2008	  text in the prompts with extra spaces like the older versions of
2009	  dialog.  If there are "\n" strings in the text, then extra spaces are
2010	  preserved.  Lines are always wrapped on word boundaries.
2011        + fixed --cr-wrap to break lines on '\n' (newline) characters and not
2012          add an extra line at the top and bottom of the text.  It now works
2013          as the manual says it should.
2014	+ it is no longer necessary to use "\n\" at the end of lines to escape
2015	  the '\n' character.  "\n" now works.  However, the old way, "\n\"
2016	  still works.
2017        + the fixes involved the following changes:
2018          - rewrote dlg_trim_string() to recognize preformatted text (know
2019            when not to strip extra spaces) and to pay attention to --cr-wrap.
2020          - rewrote justify_text() which now calls a new function in util.c,
2021            print_line(), to print each line and end it on a word boundary.
2022	  - modified real_auto_size() to call a new function
2023	    auto_size_preformated() to calculate the box size for preformatted
2024	    text.
2025          - removed skip_blanks() and skip_text() since they are not used by
2026            the new justify_text().
2027          - modified dialog.c to not call dlg_trim_string() on title strings
2028            so that titles retain their spaces.
2029        + modified the following demo files in the sample directory:
2030          - inputbox
2031	      changed all "\n\" strings to "\n" to demonstrate the extra
2032	      backslash is no longer needed.
2033          - inputbox1
2034              removed all the "\n\" strings from the end of the lines to
2035              properly demonstrate --cr-wrap.
2036          - msgbox1
2037	      this sample was using "--aspect 9 --cr-wrap".  Rewrote it to
2038	      properly demonstrate --aspect.  9 is already dialog's default
2039	      aspect ratio.  It now creates several dialogs in sequence,
2040	      demonstrating aspect ratios of 9, 12 and 6 and properly
2041	      demonstrates --cr-wrap.
2042        + made the following changes to the manual (dialog.1).
2043          - rewrote the description of --aspect to be more understandable.
2044          - rewrote the description of --cr-wrap to be more correct and more
2045            detailed.  It did say, "Otherwise, the text for each dialog will
2046            display on a single line.", which is not correct.  It wraps the
2047            text to fit in the box.
2048	> T.Dickey:
2049	+ use logic from menubox dialog in checklist to handle autosizing when
2050	  list height is given as zero (fixes problem reported by Eric Veltman
2051	  <eveltman@baan.nl>).
2052	+ modify checklist and menubox dialogs to check for too-wide data, and
2053	  truncate one or both of the name and text fields to fit (also
2054	  reported by Eric Veltman).
2055	+ corrected a few items from Vincent's patch:
2056	  - use C89-style comments rather than C++
2057	  - restore logic in justify_text() which checks for win==0, needed to
2058	    work with standard curses implementations other than ncurses.
2059	    The first call on justify_text() passes a null pointer as a flag
2060	    to indicate that checking should be done, but no screen updates.
2061	  - avoid modifying the buffer in decode_percent(), otherwise a message
2062	    containing a space or newline would be truncated at the whitespace.
2063	  - modify dlg_button_x_step() and dlg_button_layout() slightly to
2064	    work with altered print_autowrap(), etc.
2065	+ fixes to build/work with SunOS 4.x 5lib curses
2066
20672001/04/15
2068	+ fix a memory leak in mouse_region().
2069	+ simplify handling of optional parameters with new functions
2070	  optional_str() and optional_num().
2071	+ add calendar and timebox dialogs (compatible with Xdialog).
2072	+ correct typo in fallback definition for getparyx, and remove void
2073	  cast for mouse_open and mouse_close which prevented build with
2074	  Sun's Solaris compiler.
2075	+ rename --enable-lxdialog configure option to --enable-Xdialog
2076	+ modify CF_NCURSES_CPPFLAGS macro to match more variations of ncurses
2077	  header files.
2078	+ update config.guess, config.sub
2079	+ modify some configure script macros to avoid problems with buggy
2080	  autoconf 2.49c which breaks changequote().
2081
20822001/01/15
2083	+ small fix to revised real_auto_size() and justify_text() to avoid
2084	  adding origin to box-width, which broke samples/wheel.
2085	+ apply 1999/12/25 tempfile change to wheel and copismall samples.
2086	+ add sample script for tailboxbg.
2087	+ revised lock-file management to better ensure that locks are actually
2088	  created by the tailbox subprocess(es).
2089	+ correct hardcoded signal 15 in tailbox to SIGHUP to match
2090	  documentation.  Signal 15 is usually SIGTERM, which cannot be caught.
2091	+ correct off-by-one comparison of return-value for arg_rest() which
2092	  made
2093		dialog --gauge test 10 50
2094	  dump core because it expected a 4th parameter (fixes Debian #80641).
2095	+ resync config.sub, config.guess from
2096	  http://subversions.gnu.org/cgi-bin/cvsweb/config/ (which finally have
2097	  cases for OS/2 EMX), minor tweaks to related configure script macros.
2098
20992000/12/17
2100	+ restore treatment of predefined height/width in real_auto_size()
2101	  which was lost in 2000/12/12 rewrite (report by Raphael Halimi
2102	  <raphaelh@easynet.fr>).
2103	+ updates for configure script macros AM_PATH_PROG_WITH_TEST,
2104	  CF_CURSES_LIBS, CF_LIB_PREFIX, CF_PROG_EXT for $PATHSEP and $CFLAGS
2105	  fixes.
2106
21072000/12/13
2108	+ correct change for create_lock(), which resulted in an infinite loop
2109	  (patch by Chris Butler, <chrisb@debian.org>).
2110
21112000/12/12
2112	+ rewrote print_autowrap() and real_auto_size() to share common code
2113	  justify_text(), which now does text flow even when the string
2114	  contains newlines (fixes Debian #77199).
2115	+ improve create_lock() function using open() with O_EXCL rather than
2116	  fopen() (patch by Matt Kraai (<kraai@debian.org>), Debian #78951).
2117	+ correct description of --fselect in man page (patch by Tomas Pospisek
2118	  (<tpo@spin.ch>), Debian #77200).
2119	+ add --no-cancel as alias for --nocancel for compatibility with
2120	  Xdialog (report by Luis E Limon <luisl@abriasoft.com>).
2121
21222000/10/27
2123	+ some lint fixes using lclint (mostly void-casts, but some
2124	  sign-extension fixes e.g., for ctype.h macros, and loop in
2125	  dlg_char_to_button()).
2126	+ modified to build/run on OS/2 EMX with ncurses.
2127	+ minor changes to po/*.po (trim trailing blanks, provide explicit
2128	  translation for "OK"), to work with Solaris gettext.
2129	+ modified to allow this to build with archaic version (1.8.6)
2130	  of ncurses on FreeBSD 3.1 (does not run).
2131	+ update config.guess, config.sub from subversions.gnu.org
2132
21332000/10/17
2134	+ use new function sub_window() to check success/failure of calls to
2135	  subwin(), printing an error message if it fails (fixes Debian #74903).
2136	+ use combination of isatty/ttyname to look for workable tty device
2137	  on systems which have no /dev/tty, e.g., BeOS.
2138
21392000/10/08
2140	+ change exiterr() to use stdarg.h, make some messages easier to
2141	  understand.
2142	+ add dialog_clear()
2143	+ make samples/install/setup build.
2144	+ implemented mouse support for buttons, e.g., in yesno dialog using
2145	  ncurses (the gpm support no longer works, but is useful for reference)
2146	+ add a configure check for chtype.
2147	+ updates for configure script macros (CF_BUNDLED_INTL, CF_CURSES_LIBS,
2148	  CF_GCC_ATTRIBUTES, CF_GCC_WARNINGS, CF_INCLUDE_DIRS), and scripts
2149	  config.guess, config.sub
2150	+ cleanup of item-help change, integrate with checklist and radiobox.
2151	+ add ja.po, from Hirofumi Takeda <takepin@turbolinux.co.jp>.
2152	> patch by Marco Mariani <marcom@sferacarta.com>
2153	+ add --item-help option, which makes menubox data interpreted as
2154	  3 columns rather than 2.  The third column is displayed on the
2155	  last line of the screen as a help/status message for the currently
2156	  selected item.
2157	+ add it.po, pt.po
2158	+ change TAG_KEY_HL to FALSE, making unselected items in checklist
2159	  easier to read on Linux console.
2160
21612000/07/30
2162	+ change real_auto_size() to allow it to be used for dialogs that have
2163	  no prompt, e.g., fselect.  Also, rather than requiring both height
2164	  and width to be given as -1 for maximizing the dialog, allow either
2165	  alone.
2166	+ increase minimum height needed for autosized yesno dialog.
2167	+ add --version as an alias for --print-version.
2168	+ fix for build on Solaris without NLS (cannot redefine 'gettext()').
2169	+ add fselect dialog (compatible with Xdialog).
2170	+ add --enable-lxdialog configure option.
2171	+ use new configure macro CF_ARG_MSG_ENABLE to show progress with
2172	  enable/disable switches.
2173
21742000/07/02
2175	+ implement --stdout and --stderr options as in Xdialog.
2176	+ move logic that translates "\\n" into '\n' into main program to
2177	  simplify logic that formats text.
2178	+ make ifdef's for rc-file not specific to ncurses.
2179	+ correct logic making percent parameter of gauge optional.
2180
21812000/06/29
2182	+ add alternate test-script for gauge, adapted from Xdialog.
2183	+ modify gauge to make optional a percentage which was read at the
2184	  beginning of the XXX-delimited message text, since clones of dialog
2185	  are written to assume this is text.  If the line is not a simple
2186	  integer, dialog will treat it as text.
2187	+ make the percent parameter of gauge optional, as in Xdialog.
2188	+ undo one use of CharOf() in guage.c, an error.
2189	+ fix configure macro AM_WITH_NLS to refrain from attempting to make a
2190	  symbolic link into/libintl.h if we are not using the bundled intl
2191	  directory from gettext (reported by Julian Coleman
2192	  <J.D.Coleman@newcastle.ac.uk>).
2193	+ add ru.po, from Michael Sobolev <mss@transas.com>
2194	+ updates for config.guess, config.sub from tin.
2195	+ updates for configure script macros:  CF_MATH_LIB (improperly nested
2196	  brackets/parenthesis) and CF_XOPEN_CURSES (make include of
2197	  <*curses.h> depend on configure tests).
2198
21992000/04/25
2200	+ repaint screen when a control/L is pressed.
2201	+ apply CharOf() macro to avoid sign-extension on calls to waddch(),
2202	  fixes a problem with accented characters (reported by Santiago Vila).
2203	+ add es.po, from Santiago Vila <sanvila@unex.es>
2204
22052000/04/23
2206	+ modified to use gettext (configure option --enable-nls).  This uses
2207	  gettext 0.10.35, which must be previously installed.  (It can also
2208	  use an included intl library, but I consider that to be a waste of
2209	  disk space).
2210	+ remove code in checklist/radiobox, menubox that try to use
2211	  abbreviations for the OK/Cancel buttons since those conflict with the
2212	  check for abbreviations in list entries, which are more useful.
2213	+ moved padding of button labels out of string literals, into the
2214	  logic of dlg_draw_buttons().
2215	+ resync/update with configure macros CF_CURSES_LIBS, CF_FIND_LIBRARY,
2216	  CF_HEADER_PATH, CF_LIBRARY_PATH and CF_NCURSES_LIBS, as well as
2217	  mkdirs.sh and config.guess.
2218
22192000/02/22
2220	+ add --default-item option, for menubox to set the default selection
2221	  (fixes Debian #49796).
2222	+ add sample scripts for --nocancel and --fb options with inputbox.
2223	+ modify inputbox* sample scripts to show application errors, if any.
2224	+ add --nocancel option, and ignore --noitem, --fb, --fullbutton, to
2225	  make this compatible with whiptail scripts.  (whiptail does not
2226	  handle many dialog scripts however).
2227	+ modify checklist/radiobox to handle home, end, nextpage, prevpage
2228	  keys, as well as make the abbreviation search work for the whole
2229	  list, not only the current page.
2230	+ treat KEY_LL the same as KEY_END in checklist and textbox.
2231	+ add logic for KEY_BTAB.
2232	+ use new function dlg_draw_buttons() to better manage the layout of
2233	  yes/no/ok/cancel buttons.
2234	+ another pass of cleanup of dialog.c, makes it use a single table for
2235	  lookup of option names and help-message.  Eliminated numerous
2236	  adjustments to 'offset' variable.
2237	+ on initialization, check if standard input is from a terminal.  If
2238	  not, open /dev/tty (fixes Debian #57771)
2239
22402000/02/05
2241	+ implement inline editing in textbox.c search dialog.
2242	+ revise inputbox.c, allowing inline editing with arrow-keys.  removed
2243	  redundant logic in that module.
2244	+ correct a typo that prevented rc-file configuration from building.
2245	+ correct ifdef's to compile/run if the curses implementation does not
2246	  support color.
2247
22482000/01/23
2249	+ improve test-case for gauge.
2250	+ change gauge.c to show progress in reverse-video, add a check for
2251	  end-of-file in the loop for reading new messages.
2252	+ use curses whline() function to simplify print_arrows() logic in
2253	  checklist.c and menubox.c
2254	+ use curses beep() function rather than hardcoded strings.
2255	+ correct several compiler warnings for gcc -pedantic (mismatch of
2256	  const, signed/unsigned).
2257	+ modify exiterr() to avoid possible expansion of '%'.
2258	+ change CF_MATH_LIB configure macro to allow specifying a particular
2259	  test-function.  For dialog, this should be sqrt().  The macro was
2260	  originally written for ncurses, which needs sin().  However, that is
2261	  a builtin function on the m68k port (reported by Roman Hodek
2262	  <Roman.Hodek@informatik.uni-erlangen.de>, this fixes Debian #55553).
2263
22642000/01/18
2265	+ update manpage (Debian #25648).
2266	+ modify configure test for math library to avoid using a constant
2267	  parameter to the test function, lest gcc optimize the call away
2268	  (fixes Debian #55553).
2269	+ restructure help-message so actual problem is indicated.  The original
2270	  help-message is shown if no parameters are given, or if the --help
2271	  option is specified alone.
2272	+ suppress xterm's alternate screen mode by sending an exit_ca_mode
2273	  after initscr if the terminal looks like xterm, e.g., has key_mouse
2274	  defined, and has private-mode escapes in both enter_ca_mode and
2275	  exit_ca_mode (fixes Debian #55181).
2276	+ change yellow lettering on white to blue on white, since it offers
2277	  better contrast (fixes Debian #51196).
2278	+ use napms() rather than sleep().
2279	+ some cleanup/simplification of main program.  Indent'd dialog.c and
2280	  util.c
2281	+ eliminate several places where repeated options are treated as
2282	  an error, since they are really executed once anyway.
2283
22842000/01/15
2285	+ remove pre-autoconf Makefile
2286	+ remove sleep's from a few of the sample scripts, which left users
2287	  thinking that dialog was slow to complete an action.
2288	+ rewrote infobox sample script, using dialog's --sleep option and
2289	  a loop in the script.
2290	+ change 'ch' variable in tailbox.c to an integer, because it is
2291	  compared against EOF (fixes Debian #53157).
2292	+ corrected mandir variable in makefile.in (reported by Santiago Vila).
2293	+ small changes to sample scripts, from Debian: rename "guage" script
2294	  to "gauge", change path to copy of GPL used in textbox.
2295	+ add uninstall rule to makefile.in, fixed some dependencies so
2296	  "make install" works without first doing "make all".
2297
22981999/12/25
2299	+ use more portable scheme for tempfile generation in samples.
2300	+ add a configure script, prefer to not use the original Makefile
2301	  because it works only with GNU make.
2302	+ correct prototype of 'main()', which misused const.
2303	+ modify guage.c to use fgets() rather than gets().
2304	+ merge changes from Debian package maintainer
2305	  Santiago Vila <sanvila@ctv.es>:
2306
2307	  1999/10/07
2308		+ add a password dialog box (Debian #45964, patch by Joey Hess).
2309		+ implement "--defaultno" option to specify if the default for
2310		  the yes/no box is "No" (Debian #46076, patch by Joey Hess).
2311	  1999/03/10
2312		+ modify input.c to clear the input field to the right of the
2313		  given string, to help with screen-refresh
2314	  1998/12/08
2315		+ check for list_height less than one in checklist.c (Debian
2316		  #22239).
2317	  1998/10/21
2318		+ use function wscrl() in preference to scroll() in checklist.c
2319		  and menubox.c (unclear: in ncurses, scroll() is a macro that
2320		  uses wscrl()).
2321		+ remove the "-I/usr/include/ncurses" option from Makefile
2322		  since Debian does not install ncurses' header files into
2323		  that directory.
2324	  1998/09/12
2325		+ simplify menubox.c using new functions print_arrows() and
2326		  print_items().  add logic to handle KEY_NPAGE and KEY_PPAGE
2327		  (Debian #26326).
2328		+ modifications to provide sample scripts (Debian #26211):
2329		  + change sample scripts to use Debian tempfile utility rather
2330		    than putting files into /tmp.
2331		  + change sample scripts to use 'dialog' from user's path
2332		    rather than in the parent directory as in the build
2333		    directory.
2334		+ use the system copy of GPL rather than that in the build
2335		  directory as an example for the textbox script.
2336
23371999/11/27
2338	+ fix some gcc warnings about ambiguous use of "else"
2339
23401999/05/01
2341	+ cleaned up some of the redundant code with new functions:
2342		box_x_ordinate
2343		box_y_ordinate
2344		draw_title
2345		draw_bottom_box
2346		new_window
2347
2348	+ modified msgbox.c and yesno.c to work with the KEY_RESIZE sigwinch
2349	  handling in ncurses 4.2
2350
2351	+ corrected spelling of "gauge"
2352
2353The relevant portions of the Debian change log for the original version
2354(dialog-0.9a-12) are abstracted here, omitting details of their packaging:
2355
23561998/05/24
2357
2358	+ Replaced guage.c by the one in dialog 0.6z, which is known to work.
2359	  Fixes Debian #18284: unstable dialog.
2360
23611997/12/16
2362
2363	+ dialog.c:  dialog_input_result printed with "%s" format.  This was
2364	  Debian #9913, fixed by Bill Mitchell, but the change was lost.
2365	+ Pristine source, .depend is not removed in clean target.  Instead, it
2366	  is made zero length (otherwise it would not work *without* fakeroot).
2367	+ Added '^U' support in input box (Debian #9915, patch by Joey Hess).
2368	+ Wrote patch to fix core-dumping problem (Debian #13170).  Sven Rudolph
2369	  <sr1@inf.tu-dresden.de>:
2370
2371-- vile:fk=8bit
2372