Commit Graph

18 Commits

Author SHA1 Message Date
Jordan K. Hubbard
e6657d443e 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.
2000-12-14 02:35:22 +00:00
Alexey Zelkin
52a7c4d030 Remove -lncurses and -lmytinfo from LDFLAGS 2000-01-10 11:54:55 +00:00
Alexey Zelkin
c11c0da371 Cleanup warnings. 2000-01-10 11:52:10 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Jordan K. Hubbard
a53cd3d253 Add examples for tree functions.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:46 +00:00
Peter Wemm
fce15c9ab3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
Jordan K. Hubbard
1130b656e5 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.
1997-01-14 07:20:47 +00:00
Jordan K. Hubbard
fac5450c4f Somewhere along the way, multiple targets started working and nobody
noticed.
1996-12-14 16:40:05 +00:00
Jordan K. Hubbard
ae5b2dcf86 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.
1996-12-14 16:14:21 +00:00
Jordan K. Hubbard
73410b698a Round out the examples a little better in showing custom buttons in operation
more than once.
1996-07-02 01:03:56 +00:00
Jordan K. Hubbard
c50c22c798 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!).
1996-04-18 13:21:26 +00:00
Jordan K. Hubbard
6562be49a5 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.
1996-04-16 12:17:27 +00:00
Jordan K. Hubbard
f6284247b7 Make this properly respect obj dirs. 1996-04-07 03:34:35 +00:00
Jordan K. Hubbard
371a943ab5 Strive for a little more consistency with my examples. 1996-04-07 03:21:01 +00:00
Jordan K. Hubbard
b1c46b6825 Minor tweak to this test. 1996-02-08 11:55:15 +00:00
Jordan K. Hubbard
cd5e85eb47 Create individual tests for each dialog feature. 1996-01-01 03:45:32 +00:00
Jordan K. Hubbard
79b4be8ddf Add another test to round out the radiolist dialog suite.
Add more comments and attempt to make everything just that much
more understandable.
1995-12-23 14:53:07 +00:00
Jordan K. Hubbard
728c8dd9ac o Add some test code. 1995-12-23 01:10:32 +00:00