bde
402c0ea9be
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.
1999-03-05 14:43:29 +00:00
jkh
cc238ccf3e
Add documentation for new tree functions.
...
Submitted by: Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:23:47 +00:00
jkh
8519f5f0a0
Add missing free().
...
Submitted by: Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:09:12 +00:00
jkh
8064cb05e7
Add examples for tree functions.
...
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:46 +00:00
jkh
2447cf8621
Add support for saved trees.
...
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:36 +00:00
jkh
f9db8b1233
Update tree function and remove gratuitous .h file.
...
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-28 16:12:49 +00:00
jkh
d9a7d2ce1a
Unbump the minor number; guess this doesn't happen in the ELF world
...
anymore and maybe we should nuke the meaning if MINOR altogether. :)
1998-09-28 00:52:53 +00:00
jkh
a27c9f956a
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>
1998-09-26 12:29:57 +00:00
imp
4da8db7501
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
1998-09-10 16:14:29 +00:00
imp
e38600c29f
Use size of structure rather than hard coded 256 in readlink. This change
...
either came from OpenBSD, or was inspired by work done there.
1998-09-09 17:12:58 +00:00
jb
3d49984384
Change the aux field type to long instead of int so that it is large
...
enough to hold a man-sized pointer.
1998-08-20 21:39:28 +00:00
jkoshy
0d7d76d982
Spelling corrections.
...
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00
jkh
90cf2421d2
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
1997-10-12 12:09:46 +00:00
bde
815bc7a10e
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.
1997-04-13 12:36:42 +00:00
jkh
7325fee01e
YAMF22
1997-03-29 19:51:48 +00:00
ache
48e0c6e052
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>
1997-02-28 19:18:47 +00:00
peter
245ba20d12
Revert $FreeBSD$ to $Id$
1997-02-22 15:48:31 +00:00
ache
97cd1933ff
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
1997-02-18 14:26:24 +00:00
jkh
83c2f5687e
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.
1997-01-17 08:19:19 +00:00
jkh
aaad85f64d
Allow emacs-style next/prev characters as well as arrow keys so that
...
I can offer this as a consistent feature.
1997-01-15 02:50:48 +00:00
jkh
808a36ef65
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
joerg
3ff0051e69
Pull the fix from rev 1.31.2.1; i've accidentally committed it to
...
2.2 first.
1996-12-26 18:47:11 +00:00
jkh
0f43fda518
Somewhere along the way, multiple targets started working and nobody
...
noticed.
1996-12-14 16:40:05 +00:00
jkh
f3966ba4db
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
jkh
9c09bbeddd
Line up some of these OK boxes properly again.
1996-12-12 11:05:59 +00:00
jkh
82c3fac15a
"CONTINUE" was just too long. Make it a nice "OK" now.
1996-10-04 13:06:48 +00:00
bde
d2512c2bf9
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.
1996-09-24 08:08:11 +00:00
jkh
b134bdd0bc
Make button highlighting more visible on B/W displays.
1996-09-06 09:36:45 +00:00
jkh
caca6152f0
Collapse some common arrow key handling semantics from sysinstall into
...
PollObj(), simplifying code which uses it.
1996-09-01 08:16:00 +00:00
peter
3f709de38c
cmp -s || install -c ==> install -C
1996-08-30 02:12:07 +00:00
jkh
36270d5e25
Reverse my patch which erroneously removed the library dependencies
...
for a library. They're needed.
1996-08-13 12:46:10 +00:00
jkh
1a72bf5044
Throw some unnecessary dreck out of this Makefile.
1996-08-11 17:21:20 +00:00
jkh
d79c848b15
1. Remove some ancient bogons from when I initially added dialogMenuItem
...
support.
2. Have message boxes say "Continue" instead of "Exit"
1996-07-11 18:22:16 +00:00
jkh
eef290ac5f
Fix a couple of whoopers which somehow went undetected until now.
1996-07-11 11:15:28 +00:00
jkh
14ae3a02bd
Add missing dialog_clear() calls.
1996-07-05 07:42:23 +00:00
jkh
0e821da241
Round out the examples a little better in showing custom buttons in operation
...
more than once.
1996-07-02 01:03:56 +00:00
jkh
87634a8e4d
Fix the OK/Cancel accellerator bogon I introduced a few days back.
1996-04-28 02:13:07 +00:00
jkh
c223a865ba
Fix what I just broke with DITEM_LEAVE_MENU
1996-04-27 07:09:41 +00:00
jkh
96b3d4b605
Fix a bogon with ok/cancel callback usage.
1996-04-27 01:52:15 +00:00
jkh
bd013f51f7
More custom hackery to deal with issues discovered in sysinstall.
1996-04-25 17:27:18 +00:00
jkh
826192f359
Allow some post-fire actions to be combined in ways that weren't
...
possible before.
1996-04-25 13:34:37 +00:00
jkh
84accdee09
alloca() was being called with highly bogus arguments due to brain
...
fade. Fixed.
1996-04-25 01:50:18 +00:00
jkh
70a317a618
Cosmetic tweaks.
1996-04-23 01:25:04 +00:00
jkh
3530e10a1a
Another bug fix for the DITEM_REDRAW case.
1996-04-20 01:56:06 +00:00
jkh
e1617c234c
Make the DITEM_RECREATE option work properly.
1996-04-20 01:28:20 +00:00
jkh
2ee0ebfbc4
Fix a bug which did not properly bias checklist items by their scroll
...
factor.
1996-04-19 10:39:16 +00:00
jkh
a4dd56c7c9
Remove a long-standing window leak I just noticed.
1996-04-18 13:36:39 +00:00
jkh
adeba4991f
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
jkh
24a0bc2e77
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
jkh
e9d88ac949
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.
1996-04-13 13:13:32 +00:00