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