History log of /freebsd-11-stable/gnu/lib/libdialog/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


/freebsd-11-stable/MAINTAINERS
/freebsd-11-stable/cddl
/freebsd-11-stable/cddl/contrib/opensolaris
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs
/freebsd-11-stable/contrib/amd
/freebsd-11-stable/contrib/apr
/freebsd-11-stable/contrib/apr-util
/freebsd-11-stable/contrib/atf
/freebsd-11-stable/contrib/binutils
/freebsd-11-stable/contrib/bmake
/freebsd-11-stable/contrib/byacc
/freebsd-11-stable/contrib/bzip2
/freebsd-11-stable/contrib/com_err
/freebsd-11-stable/contrib/compiler-rt
/freebsd-11-stable/contrib/dialog
/freebsd-11-stable/contrib/dma
/freebsd-11-stable/contrib/dtc
/freebsd-11-stable/contrib/ee
/freebsd-11-stable/contrib/elftoolchain
/freebsd-11-stable/contrib/elftoolchain/ar
/freebsd-11-stable/contrib/elftoolchain/brandelf
/freebsd-11-stable/contrib/elftoolchain/elfdump
/freebsd-11-stable/contrib/expat
/freebsd-11-stable/contrib/file
/freebsd-11-stable/contrib/gcc
/freebsd-11-stable/contrib/gcclibs/libgomp
/freebsd-11-stable/contrib/gdb
/freebsd-11-stable/contrib/gdtoa
/freebsd-11-stable/contrib/groff
/freebsd-11-stable/contrib/ipfilter
/freebsd-11-stable/contrib/ldns
/freebsd-11-stable/contrib/ldns-host
/freebsd-11-stable/contrib/less
/freebsd-11-stable/contrib/libarchive
/freebsd-11-stable/contrib/libarchive/cpio
/freebsd-11-stable/contrib/libarchive/libarchive
/freebsd-11-stable/contrib/libarchive/libarchive_fe
/freebsd-11-stable/contrib/libarchive/tar
/freebsd-11-stable/contrib/libc++
/freebsd-11-stable/contrib/libc-vis
/freebsd-11-stable/contrib/libcxxrt
/freebsd-11-stable/contrib/libexecinfo
/freebsd-11-stable/contrib/libpcap
/freebsd-11-stable/contrib/libstdc++
/freebsd-11-stable/contrib/libucl
/freebsd-11-stable/contrib/libxo
/freebsd-11-stable/contrib/llvm
/freebsd-11-stable/contrib/llvm/projects/libunwind
/freebsd-11-stable/contrib/llvm/tools/clang
/freebsd-11-stable/contrib/llvm/tools/lldb
/freebsd-11-stable/contrib/llvm/tools/llvm-dwarfdump
/freebsd-11-stable/contrib/llvm/tools/llvm-lto
/freebsd-11-stable/contrib/mdocml
/freebsd-11-stable/contrib/mtree
/freebsd-11-stable/contrib/ncurses
/freebsd-11-stable/contrib/netcat
/freebsd-11-stable/contrib/ntp
/freebsd-11-stable/contrib/nvi
/freebsd-11-stable/contrib/one-true-awk
/freebsd-11-stable/contrib/openbsm
/freebsd-11-stable/contrib/openpam
/freebsd-11-stable/contrib/openresolv
/freebsd-11-stable/contrib/pf
/freebsd-11-stable/contrib/sendmail
/freebsd-11-stable/contrib/serf
/freebsd-11-stable/contrib/sqlite3
/freebsd-11-stable/contrib/subversion
/freebsd-11-stable/contrib/tcpdump
/freebsd-11-stable/contrib/tcsh
/freebsd-11-stable/contrib/tnftp
/freebsd-11-stable/contrib/top
/freebsd-11-stable/contrib/top/install-sh
/freebsd-11-stable/contrib/tzcode/stdtime
/freebsd-11-stable/contrib/tzcode/zic
/freebsd-11-stable/contrib/tzdata
/freebsd-11-stable/contrib/unbound
/freebsd-11-stable/contrib/vis
/freebsd-11-stable/contrib/wpa
/freebsd-11-stable/contrib/xz
/freebsd-11-stable/crypto/heimdal
/freebsd-11-stable/crypto/openssh
/freebsd-11-stable/crypto/openssl
/freebsd-11-stable/gnu/lib
/freebsd-11-stable/gnu/usr.bin/binutils
/freebsd-11-stable/gnu/usr.bin/cc/cc_tools
/freebsd-11-stable/gnu/usr.bin/gdb
/freebsd-11-stable/lib/libc/locale/ascii.c
/freebsd-11-stable/sys/cddl/contrib/opensolaris
/freebsd-11-stable/sys/contrib/dev/acpica
/freebsd-11-stable/sys/contrib/ipfilter
/freebsd-11-stable/sys/contrib/libfdt
/freebsd-11-stable/sys/contrib/octeon-sdk
/freebsd-11-stable/sys/contrib/x86emu
/freebsd-11-stable/sys/contrib/xz-embedded
/freebsd-11-stable/usr.sbin/bhyve/atkbdc.h
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.c
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.h
/freebsd-11-stable/usr.sbin/bhyve/console.c
/freebsd-11-stable/usr.sbin/bhyve/console.h
/freebsd-11-stable/usr.sbin/bhyve/pci_fbuf.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.h
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.c
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.h
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.c
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.h
/freebsd-11-stable/usr.sbin/bhyve/rfb.c
/freebsd-11-stable/usr.sbin/bhyve/rfb.h
/freebsd-11-stable/usr.sbin/bhyve/sockstream.c
/freebsd-11-stable/usr.sbin/bhyve/sockstream.h
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.c
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.h
/freebsd-11-stable/usr.sbin/bhyve/usb_mouse.c
/freebsd-11-stable/usr.sbin/bhyve/vga.c
/freebsd-11-stable/usr.sbin/bhyve/vga.h
291307 25-Nov-2015 bdrewery

META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.

This both avoids some dependencies on xinstall.host and allows
bootstrapping on older releases to work due to lack of at least 'install -l'
support.

Sponsored by: EMC / Isilon Storage Division


284345 13-Jun-2015 sjg

Add META_MODE support.

Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision: D2796
Reviewed by: brooks imp


275077 25-Nov-2014 bapt

Convert to LIBADD
Reduce overlinking


274226 07-Nov-2014 bapt

libdialog has to be linked to libncursesw and libm


255852 24-Sep-2013 dteske

Update dialog to 1.2-20130923.

Approved by: re (marius)


252129 23-Jun-2013 bapt

Bump shlib for dialog because ABI has changed when version 1.2 was imported

Reviewed by: kib


251845 17-Jun-2013 bapt

lower the WARNS to 1 again until I have more time to figure out the problems with WARNS=4

Reported by: gavin


251843 17-Jun-2013 bapt

Update dialog to 1.2-20130523
Level up WARNS


244850 30-Dec-2012 nwhitehorn

Revert r241818 that updated dialog to 20120706. This turns out to horribly
break mixed form dialogs in conjunction with the FreeBSD termcap, making
the bsdinstall partition editor Add dialog, among other things, completely
nonfunctional. This restores dialog 20110707.


241818 21-Oct-2012 nwhitehorn

Update dialog to 20120706: includes minor useability enhancements and
fixes for warnings encountered with clang.


224014 14-Jul-2011 nwhitehorn

Update dialog to 1.1-20110707.


220749 17-Apr-2011 nwhitehorn

Update dialog to version 1.1-20110302.


218331 05-Feb-2011 nwhitehorn

Enable wide character support in libdialog.


217309 12-Jan-2011 nwhitehorn

Update dialog to version 20100428. This changes the license under which
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new
features and a new and better libdialog API. The existing libdialog will
be kept temporarily as libodialog for compatibility purposes until sade,
sysinstall and tzsetup have been either updated or replaced.

__FreeBSD_version is now 900030.

Discussed on: -current
Approved by: core
Obtained from: http://invisible-island.net/dialog


211731 24-Aug-2010 imp

Create a checklist and call one of the *printw() functions from the
selected() callback. When the dialog first appears, you will not see
the printed statement on the dialog, if you move down one, you will,
move up again and it now appears. I am assuming that you call a
*printw() function on a line in the dialog box of course.

The fix, from the pr:
This is a hack at best, I looked at the redraw code in
dialog_checklist() and took the minimal amount of it out to do
a simple "refresh" right after the items are drawn. This
doesn't hurt anything and makes the library work like it
should. There is probably a better way however =).

PR: 148609
Submitted by: John Hixson


209200 15-Jun-2010 ae

Make all tests in libdialog compilable.
Fix coredump in menu3.c.

Approved by: kib (mentor)


195767 19-Jul-2009 kensmith

Bump the version of all non-symbol-versioned shared libraries in
preparation for 8.0-RELEASE. Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.

Reviewed by: kib
Approved by: re (rwatson)


171951 24-Aug-2007 ache

Fix stack overflow with too many items return list in 'dialog' program.
(Noticed in ghostscript-gpl core dump)

Approved by: re@ (bmah)


170925 18-Jun-2007 rafan

- Bump share library version which were missed in last bump

Reported by: jhb
Discussed with: deischen, des, doubg, harti
Approved by: re (kensmith)


156813 17-Mar-2006 ru

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


149321 20-Aug-2005 trhodes

Do not place paragraph information post-macro unless required by mdoc(7).


148297 22-Jul-2005 kensmith

Bump the shared library version number of all libraries that have not
been bumped since RELENG_5.

Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)


145413 22-Apr-2005 trhodes

Enforce style.Makefile(5).

Glanced at by: ru (some time ago).


141946 15-Feb-2005 ru

Expand contractions.


141846 13-Feb-2005 ru

Expand *n't contractions.


140410 18-Jan-2005 ru

Sort sections.


139669 04-Jan-2005 phantom

Fix 'redraw' of checklist box. It is occurs in situation when size of
checklist box is strictly set via command line, but amount of checklist
items less than height of checklist box. In this case bottom part
of box was not redrawn (occurs when passing focus behind of 'Cancel' button
while configuring any FreeBSD port OPTIONS)

MFC after: 3 days


139119 21-Dec-2004 ru

NOHTML -> NO_HTML


136666 18-Oct-2004 ru

Replaced afterinstall: with FILES.


131490 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


131472 02-Jul-2004 ru

Removed trailing whitespace.


126257 26-Feb-2004 eric

Test data before using it.

Of course, libdialog is still chock-full of similar bugs, but it's been
multiple years and no one has any better suggestions so the bugs will just
be dealt with case-by-case.

PR: 28221


125503 05-Feb-2004 ru

Fixed style of DPADD and LDADD assignments as per style.Makefile(5).


116020 08-Jun-2003 charnier

The .Fn function


114603 03-May-2003 obrien

Use __FBSDID over rcsid[].


114602 03-May-2003 obrien

This is WARNS=2 clean.


104997 12-Oct-2002 kris

Disallow libdialog to be used in setugid applications; it is chock full
of buffer overflows.

MFC after: 3 days


104073 28-Sep-2002 peter

Zap now-unused SHLIB_MINOR


103140 09-Sep-2002 wollman

Quiet another annoying warning.


100872 29-Jul-2002 ru

Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by: bde


100313 18-Jul-2002 ru

s/${INSTALL} -c/${INSTALL} ${COPY}/


98195 13-Jun-2002 dougb

In addition to exiting the dialog via ESC, the user could also have
exited via \r, \n, or ' ' (space); all of which are valid,
non-error responses.


97788 03-Jun-2002 mike

Use POSIX macros for wait(2)-style status information instead of the
deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int
confusion.


97623 30-May-2002 wollman

Add used includes of <stdlib.h>.


96462 12-May-2002 ru

Added new bsd.incs.mk which handles installing of header files
via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files. Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1. Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

kerberos5/lib/libtelnet/Makefile
lib/libbz2/Makefile
lib/libdevinfo/Makefile
lib/libform/Makefile
lib/libisc/Makefile
lib/libmenu/Makefile
lib/libmilter/Makefile
lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD. Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".


87087 29-Nov-2001 ru

Fixed memory leak in dialog_gauge(3).

PR: gnu/32260
Submitted by: Igor Pokrovsky <tiamat@telegraph.spb.ru>
MFC after: 3 days


84397 03-Oct-2001 bde

Fixed missing return type in synopsis.


84306 01-Oct-2001 ru

mdoc(7) police: Use the new .In macro for #include statements.


82613 31-Aug-2001 eric

Properly move cursor when home and end keys are used.


81331 09-Aug-2001 eric

Handle keys consistently.


81232 07-Aug-2001 ru

dialog(3) -> dialog_noyes(3).


80844 01-Aug-2001 eric

Update man page to actually match the source.

PR: 7456


80375 26-Jul-2001 eric

Properly update cursor position when the list is scrolled.


80372 26-Jul-2001 eric

Handle keys consistently.


79843 18-Jul-2001 eric

Improve the interface provided by libdialog. Move a cursor around over
the components and trigger actions based on its position. This reduces
the need to remember the functions of various keys, and makes the
interface more consistant across library.
~


79528 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


79452 09-Jul-2001 brian

Fix the type of the NULL arg to execl()

Idea from: Theo de Raadt <deraadt@openbsd.org>


75670 18-Apr-2001 ru

mdoc(7) police: normalize .Nd.


74861 27-Mar-2001 ru

MAN[1-9] -> MAN.


72986 24-Feb-2001 jkh

Properly orient the buttons for yes/no and no/yes so that POLA is
observed. This fixes the "no/yes box jumps buttons around" problem.

PR: gnu/24487
Submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>


71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


70974 12-Jan-2001 ru

mdoc(7) police: Ft/Vt now accept punctuation-type arguments.


70395 27-Dec-2000 ru

Prepare for mdoc(7)NG.


70004 14-Dec-2000 jkh

Add a new function, dialog_noyes(), for sysinstall to be able to
present questinos with a different default answer. Somebody submitted
a patch to me once which did something this but I lost it (my bad) so
I'm just going to re-implement it with thanks to whomever it was who
gave me the idea.


69000 21-Nov-2000 ru

mdoc(7) police: Add a missing `.Sm on' request.


67176 15-Oct-2000 brian

include <sys/types.h>


65915 16-Sep-2000 ache

Remove unneded -lmytinfo


55816 11-Jan-2000 green

This is the second half of unbreaking the world build. Add a -DNOHTML
corollary for -DNOINFO and -DNOMAN. I'll fix this properly (add
specific HTML doc magic) in the .mk files later; right now, just
unbreak the world.


55813 11-Jan-2000 green

*draws his sword*
I smite thee, vile buildworld breakage!

The story is that these were added to beforeinstall improperly. In our
beforeinstall, a full mtree has not been populated. Since the tree is
not populated, we explode from missing directories on doc install. It
should not be done in beforeinstall (includes) anyway.


55792 11-Jan-2000 jkh

This change was mis-identified as the problem, sorry. It appears to be
an anomaly restricted only to the alpha in FreeBSD-current (weird).


55791 11-Jan-2000 jkh

Back out the previous change to install the examples - it breaks the release builds.


55755 10-Jan-2000 phantom

Install contents of the TESTS subdirectory to /usr/share/examples/libdialog


55753 10-Jan-2000 phantom

Remove -lncurses and -lmytinfo from LDFLAGS


55752 10-Jan-2000 phantom

Cleanup warnings.


55743 10-Jan-2000 phantom

Completely reconstruct page. Make it mdoc(7) style compatible also :)
Page still needs some work about english refinements and some actualization.


54720 17-Dec-1999 jkh

*Really* make space accelerators work; no wonder Brian McGovern was
confused! I fat-fingered the first commit.


54585 14-Dec-1999 jkh

Prevent spaces from being interpreted as accelerators.


51794 29-Sep-1999 marcel

sigset_t change (part 5 of 5)
-----------------------------

Most of the userland changes are in libc. For both the alpha
and the i386 setjmp has been changed to accomodate for the
new sigset_t. Internally, libc is mostly rewritten to use the
new syscalls. The exception is in compat-43/sigcompat.c

The POSIX thread library has also been rewritten to use the
new sigset_t. Except, that it currently only handles NSIG
signals instead of the maximum _SIG_MAXSIG. This should not
be a problem because current applications don't use any
signals higher than NSIG.

There are version bumps for the following libraries:
libdialog
libreadline
libc
libc_r
libedit
libftpio
libss

These libraries either a) have one of the modified structures
visible in the interface, or b) use sigset_t internally and
may cause breakage if new binaries are used against libraries
that don't have the sigset_t change. This not an immediate
issue, but will be as soon as applications start using the
new range to its fullest.

NOTE: libncurses already had an version bump and has not been
given one now.

NOTE: doscmd is a real casualty and has been disconnected for
the moment. Reconnection will eventually happen after
doscmd has been fixed. I'm aware that being the last one
to touch it, I'm automaticly promoted to being maintainer.
According to good taste this means that I will receive a
badge which either will be glued or mechanically stapled,
drilled or otherwise violently forced onto me :-)

NOTE: pcvt/vttest cannot be compiled with -traditional. The
change cause sys/types to be included along the way which
contains the const and volatile modifiers. I don't consider
this a solution, but more a workaround.


50631 30-Aug-1999 peter

#include <termios.h>


50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


49825 15-Aug-1999 mpp

Various man page cleanup:

- Sort xrefs
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR: doc/13144
Submitted by: Alexey M. Zelkin <phantom@cris.net>


46077 25-Apr-1999 imp

Use braces to avoid potentially ambiguous else clause.
main's return type is int not void.

Reviewed by: obrien and chuckr


44483 05-Mar-1999 bde

Don't use backslash-newline to split the too-long line for
".Fn dialog_ftree ...", since my synopsis checker doesn't support it
and no other too-long .Fn lines are split.


39888 02-Oct-1998 jkh

Add documentation for new tree functions.
Submitted by: Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>


39816 30-Sep-1998 jkh

Add missing free().
Submitted by: Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>


39765 29-Sep-1998 jkh

Add examples for tree functions.
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>


39764 29-Sep-1998 jkh

Add support for saved trees.
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>


39718 28-Sep-1998 jkh

Update tree function and remove gratuitous .h file.
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>


39698 28-Sep-1998 jkh

Unbump the minor number; guess this doesn't happen in the ELF world
anymore and maybe we should nuke the meaning if MINOR altogether. :)


39677 26-Sep-1998 jkh

Add some new functionality which I promised to add over a year a go and
shamefully dropped on the floor. I need to add it now since it does a
minor number bump, but otherwise the current functionality of libdialog
is unchanged (in all its evil glory) and the change is non-intrusive.
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>


39052 10-Sep-1998 imp

Fix bogus length restriction on readlink. Use sizeof(buf) - 1 rather
than the size of the directory name. Fix style bug which increased
the number of lines > 80 characters by one.

Pointed out by: bde


39013 09-Sep-1998 imp

Use size of structure rather than hard coded 256 in readlink. This change
either came from OpenBSD, or was inspired by work done there.


38461 20-Aug-1998 jb

Change the aux field type to long instead of int so that it is large
enough to hold a man-sized pointer.


36692 06-Jun-1998 jkoshy

Spelling corrections.

PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>


30333 12-Oct-1997 jkh

Fix improperly re-entrant code which caused the menu spammage we've
been seeing since 2.2.1.
Pointed-in-the-right-direction by: phk


24871 13-Apr-1997 bde

Fixed synopsis. There was a missing arg, 3 args with the wrong type,
and many apparent dependendcies on <sys/types.h> from use of u_char.
<dialog.h> avoids u_char, so avoid it here too.


24389 29-Mar-1997 jkh

YAMF22


23220 28-Feb-1997 ache

Fix various overflows for items longer then menu width.
Fix cursor place after PgUp/PgDn.

Should go into 2.2
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>


22996 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


22879 18-Feb-1997 ache

When wrong directory choosed and chdir failed, directory name
was not reset to old name causing any file choosen put error
diagnostic about wrong directory, fix it by resetting back
to old name after chdir failed.

Add \r as alias to \n, some telnets have problem with that.

Should go into 2.2
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su> & me


21790 17-Jan-1997 jkh

Go on one of my periodic rampages through this code, trying to make
it DTRT. In the process, discover the usual 10-15 evil bogons which
have been lurking in it for years. This closes, for one thing, the
recent report Mike Smith made about nested checklist menus returning
with the scrolling region messed up.


21697 15-Jan-1997 jkh

Allow emacs-style next/prev characters as well as arrow keys so that
I can offer this as a consistent feature.


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


20924 26-Dec-1996 joerg

Pull the fix from rev 1.31.2.1; i've accidentally committed it to
2.2 first.


20446 14-Dec-1996 jkh

Somewhere along the way, multiple targets started working and nobody
noticed.


20442 14-Dec-1996 jkh

Add another hateful global to libdialog (what the heck, there are already
so many). For now, the only extended attribute implemented is NO ECHO,
useful for things like passwords. See TESTS/input2.c for an example.
This should go into 2.2.


20359 12-Dec-1996 jkh

Line up some of these OK boxes properly again.


18682 04-Oct-1996 jkh

"CONTINUE" was just too long. Make it a nice "OK" now.


18485 24-Sep-1996 bde

Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications. Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.


18078 06-Sep-1996 jkh

Make button highlighting more visible on B/W displays.


17984 01-Sep-1996 jkh

Collapse some common arrow key handling semantics from sysinstall into
PollObj(), simplifying code which uses it.


17935 30-Aug-1996 peter

cmp -s || install -c ==> install -C


17575 13-Aug-1996 jkh

Reverse my patch which erroneously removed the library dependencies
for a library. They're needed.


17518 11-Aug-1996 jkh

Throw some unnecessary dreck out of this Makefile.


17098 11-Jul-1996 jkh

1. Remove some ancient bogons from when I initially added dialogMenuItem
support.
2. Have message boxes say "Continue" instead of "Exit"


17092 11-Jul-1996 jkh

Fix a couple of whoopers which somehow went undetected until now.


16973 05-Jul-1996 jkh

Add missing dialog_clear() calls.


16888 02-Jul-1996 jkh

Round out the examples a little better in showing custom buttons in operation
more than once.


15418 28-Apr-1996 jkh

Fix the OK/Cancel accellerator bogon I introduced a few days back.


15410 27-Apr-1996 jkh

Fix what I just broke with DITEM_LEAVE_MENU


15406 27-Apr-1996 jkh

Fix a bogon with ok/cancel callback usage.


15382 25-Apr-1996 jkh

More custom hackery to deal with issues discovered in sysinstall.


15380 25-Apr-1996 jkh

Allow some post-fire actions to be combined in ways that weren't
possible before.


15376 25-Apr-1996 jkh

alloca() was being called with highly bogus arguments due to brain
fade. Fixed.


15354 23-Apr-1996 jkh

Cosmetic tweaks.


15323 20-Apr-1996 jkh

Another bug fix for the DITEM_REDRAW case.


15322 20-Apr-1996 jkh

Make the DITEM_RECREATE option work properly.


15306 19-Apr-1996 jkh

Fix a bug which did not properly bias checklist items by their scroll
factor.


15290 18-Apr-1996 jkh

Remove a long-standing window leak I just noticed.


15289 18-Apr-1996 jkh

Remove the special-case behavior for fire actions that return
DITEM_FAILURE - formerly they would simply act as an implicit "continue",
but this is wrong. If you want this behavior, you should now return
with the DITEM_CONTINUE flag set.

Also make the semantics of DITEM_RESTORE quite a bit different - rather
than restore the screen back to pre-menu state, we restore the menu
itself. This is more correct for a variety of reasons when dealing with
nested menus (whoops!).


15273 16-Apr-1996 jkh

More changes to attempt to make this whole new dialog scheme more
robust. The new "fire" actions, while affording signficantly more
interactivity to libdialog, come at a cost - if the fire action trashes
the screen then you're not going to be in Kansas anymore when you
come back to the menu and there had better be considerable extra
smarts in place for coping with such a situation. These changes are my
attempt to do just that.


15240 13-Apr-1996 jkh

Remove some of the grot I added to try and save/restore screen contents.
This shouldn't be done here, it should be done in the client as needed.


15143 08-Apr-1996 jkh

Save screen before calling any fire() callbacks - you never know what
they might do to the screen.


15142 08-Apr-1996 jkh

Refresh dialogs if a callback action fails.


15090 07-Apr-1996 jkh

Make this properly respect obj dirs.


15089 07-Apr-1996 jkh

Strive for a little more consistency with my examples.


15044 05-Apr-1996 jkh

Add an `aux' field for some other gunk I'm doing.


14003 09-Feb-1996 mpp

Add some missing MLINKS, correct some cross references, correct some
file locations and some minor formatting/style problems.


13987 09-Feb-1996 mpp

Added some missing MLINKS for section 3 man pages.
Also corrected a few minor formatting errors, file location and cross
references in some of the section 3 man pages.

This shuts up a lot of the output from "manck" for section 3.


13969 08-Feb-1996 jkh

Minor tweak to this test.


13373 10-Jan-1996 jkh

Fix small bug with negative item_no.


13232 05-Jan-1996 jkh

Refresh before calling selection hook.


13136 01-Jan-1996 jkh

Create individual tests for each dialog feature.


13135 01-Jan-1996 jkh

Next round of changes - make dialog boxes drawable at arbitrary X,Y locations
and add selection traversal callbacks so context-sensitive behavior can
even be implemented for individual menu items. These work around the two
largest issues holding me back with some of my sysinstall changes.


12987 23-Dec-1995 jkh

Add another test to round out the radiolist dialog suite.
Add more comments and attempt to make everything just that much
more understandable.


12984 23-Dec-1995 jkh

o Add some test code.


12983 23-Dec-1995 jkh

Add changes to:
o Support a new, fully backwards-compatible API for controling
individual items in dialog menus.
o Write a man page.
o Add some test code.


9970 06-Aug-1995 bde

Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.


8858 30-May-1995 rgrimes

Remove trailing whitespace.


8804 28-May-1995 jkh

Don't make TAB and BACK-TAB destroy field contents incorrectly.
Submitted by: gibbs


8553 16-May-1995 ache

Remove extra argument from mesgbox


8551 16-May-1995 ache

Call mesgbox instead of msgbox for long descriptions


8548 16-May-1995 jkh

Changes to support the new dialog_dselect() features required to fix
pkg_install. dialog_dselect() wasn't very useful before.
Submitted by: Marc van Kempen <wmbfmk@urc.tue.nl>


8535 15-May-1995 ache

Fix draw shadow bug, when shadow reaches end of the screen,
bringed by devmenu or tzsetup f.e.


8344 08-May-1995 ache

Fix nasty shadow bug sneaked in Marc's commit.
Implement ^K and KEY_EOL as clear end of line
Move common code from line_edit to static function
Cosmetique changes in textbox


8268 04-May-1995 ache

Bump major number instead of minor: old functions arguments was changed too


8247 03-May-1995 ache

Bump minor number


8191 30-Apr-1995 ache

Handle too long strings correctly in print_autowrap()
Submitted by: Marc van Kempen <wmbdmr@urc.tue.nl>


7975 21-Apr-1995 jkh

Hastily back out my previous change to install ui_objects.h; upon further
examination, I'm not entirely sure this was meant to be public. It's not
idempotent or anything. I'll make pkg_manage deal with it another way
until it's been confirmed one way or the other by Marc.


7974 21-Apr-1995 jkh

Also install new ui_objects.h header file. I'm not sure how I feel about
these Makefile constructs - surely there's a better way?


7959 20-Apr-1995 ache

Upgrade.
Submitted by: Marc van Kempen <wmbfmk@urc.tue.nl>


7330 24-Mar-1995 ache

Get rid of strtok(), it is depricated inside libs


7237 22-Mar-1995 jkh

This just exited on most errors, some of which were legitimate and
I don't *want* to cause my application to be exited! Some of the fprintfs()
should probably be calls to some dialog error menu popup anyway.


7203 21-Mar-1995 ache

Saved scroll fixed.


6818 02-Mar-1995 ache

Fix arrows printout for non-arrows keys in menubox
Move arrows printout to single kernel function
Add PgUp/PgDn/Home/End to checkbox and radiobox


6674 23-Feb-1995 ache

Simplify notify()
Fix dupwin usage, now it really restore screen
Disable helpline while helpfile displayed
Fix helpfile borders
Fix mesgbox range computing


6458 15-Feb-1995 ache

file selector, helpline, helpfile and more, with my fixes
Submitted by: wmbfmk@urc.tue.nl


6345 13-Feb-1995 ache

Much better error handling added.


6035 30-Jan-1995 ache

Add more range/argument checking
Submitted by: charnier@lirmm.fr


5654 16-Jan-1995 ache

Back out bkgd() function usage, it acts not from
common sense but from sysv standard


4904 02-Dec-1994 ache

Use new bkgd() function to produce background


4688 20-Nov-1994 ache

Add ^X,^B,^F,^E,^A
Implement KEY_DC/^D
Fix some displaying errors
Add more beeps on reaching edges


4667 19-Nov-1994 ache

Automatically turn off insert mode when end of field reached
in line_edit().


4666 19-Nov-1994 ache

Highlight only flen sized part while editing in line_edit()


4664 19-Nov-1994 ache

Highlight only space available for editing


4658 18-Nov-1994 ache

silently restrict all boxes to LINES, COLS


4591 18-Nov-1994 ache

Draw passed line with passed attrs on enter of line_edit()
and redraw it with default attrs on exit.


4584 18-Nov-1994 ache

Add new parameter to line_edit: field length (-1 means unlimited)


4582 18-Nov-1994 ache

Save/restore attrs in line_edit now


4581 17-Nov-1994 ache

Use newscr instead of curscr in shadows code


4575 17-Nov-1994 ache

Use wnoutrefresh() in clear_norefresh


4574 17-Nov-1994 ache

Add dialog_clear_norefresh() function


4565 17-Nov-1994 ache

Fix original bug with wrong calculated dims for items list.
Add args check for functions when autosizing impossible.


4527 16-Nov-1994 ache

Full autosizing support, now you can pass -1, -1 for any
string


4515 15-Nov-1994 ache

Make shadow more 'real': now shadowed letters appearse as dim ones.


4496 15-Nov-1994 ache

Fix bug: only one second-level shadow drawed


4344 10-Nov-1994 ache

Additionly use erase char from termios
Implement kill line by ^U or kill char from termios


4071 02-Nov-1994 ache

Now line_edit() uses passed string as initial prompt


4068 02-Nov-1994 jkh

Translate README to english. :-)


4024 31-Oct-1994 ache

Add pointer check after each newwin/subwin with error diagnostic


3957 28-Oct-1994 jkh

Add a -I${.CURDIR} so that the next time Andrew changes dialog.h, the
whole build doesn't fall over before installation.


3953 28-Oct-1994 ache

Add refresh after each line of program output,
some pgms may have long waiting time between output lines.


3950 28-Oct-1994 ache

Implement dialog_prgbox() function which allows run program
(via pipe) with output to dialog box


3855 25-Oct-1994 paul

Added refresh() to dialog_clear so that it actually
clears the screen.
Reviewed by:
Submitted by:
Obtained from:


3827 24-Oct-1994 ache

Make dialog attributes visible from outside (for direct usage
in pgms)


3756 21-Oct-1994 ache

Fix dialog_clear() to clear windows.


3754 21-Oct-1994 ache

Implement line_edit() function (full line editor) which may called
externally.
Rewrite inputbox/textbox to use this function.


3740 20-Oct-1994 ache

Declare more functions externally.
Don't forget to use 'make beforeinstall'...


3716 19-Oct-1994 ache

Don't exit silently, if initscr failed; put error message


3715 19-Oct-1994 ache

Check initscr() for NULL


3524 12-Oct-1994 ache

SHARED_LDADD --> LDADD


3516 11-Oct-1994 ache

This commit was generated by cvs2svn to compensate for changes in r3515,
which included commits to RCS files with non-trunk default branches.