Commit Graph
107 Commits
Author SHA1 Message Date
Steve Price d7ae2737b6 MFC: bring in Bruce's fixes from revision 1.6. 1998-02-15 21:37:54 +00:00
Jordan K. Hubbard 148c7080c0 MFC: now properly reentrant. 1997-10-12 12:10:05 +00:00
Jordan K. Hubbard 668b5184c8 Close PR#3105 - message box cursor positioning was off.
Submitted-By: "Kenneth R. Westerback" <[email protected]>
1997-03-29 19:50:51 +00:00
Joerg Wunsch 7213b30c36 YAMFC (rev 1.31: overflow and cursor placement fixes) 1997-03-02 14:35:57 +00:00
Joerg Wunsch b0da4f99a3 YAMFC (rev 1.5, and 1.7 respectively) 1997-02-22 18:08:04 +00:00
Jordan K. Hubbard 943b5ee50a Merge:
1.32      +50 -40    src/gnu/lib/libdialog/checklist.c
  1.9       +4 -0      src/gnu/lib/libdialog/dialog.priv.h
  1.30      +74 -65    src/gnu/lib/libdialog/menubox.c
  1.34      +61 -52    src/gnu/lib/libdialog/radiolist.c

From -current [do people like that format better?]
1997-01-17 08:28:42 +00:00
Jordan K. Hubbard 71aa8f61b0 Merge emacs command support from -current 1997-01-15 04:33:27 +00:00
Joerg Wunsch 271c7565fa Remove a bogus free() to a variable that was alloca'ed.
Mmmmaybe closes PR # misc/2281: sysinstall panics...
1996-12-26 18:46:13 +00:00
cvs2svn 33317389ba This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'. 1996-12-20 21:52:12 +00:00
Jordan K. Hubbard b5d4a968bf Merge simplification of Makefile. 1996-12-14 23:54:42 +00:00
Jordan K. Hubbard 13a9ed8dc4 Merge from -current so that sysinstall can stay the same in 2.2 and 3.0 (the
user.c changes in sysinstall require the no-echo string fields which these
patches implement).
1996-12-14 16:18:15 +00:00
Jordan K. Hubbard 3581ef2de9 YAMFC 1996-12-12 11:06:32 +00:00
Jordan K. Hubbard 3cd2d3f69a "CONTINUE" was just too long. Make it a nice "OK" now. 1996-10-04 13:06:48 +00:00
Bruce Evans 0c8ea4d48c 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
Jordan K. Hubbard e36f5f6c56 Make button highlighting more visible on B/W displays. 1996-09-06 09:36:45 +00:00
Jordan K. Hubbard 09059a0b45 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 Wemm 345be915f7 cmp -s || install -c ==> install -C 1996-08-30 02:12:07 +00:00
Jordan K. Hubbard 71a074386a Reverse my patch which erroneously removed the library dependencies
for a library.  They're needed.
1996-08-13 12:46:10 +00:00
Jordan K. Hubbard 8a80fd427c Throw some unnecessary dreck out of this Makefile. 1996-08-11 17:21:20 +00:00
Jordan K. Hubbard 15232ab26e 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
Jordan K. Hubbard 1cca289947 Fix a couple of whoopers which somehow went undetected until now. 1996-07-11 11:15:28 +00:00
Jordan K. Hubbard 3bd9961585 Add missing dialog_clear() calls. 1996-07-05 07:42:23 +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 d1efb9fdc2 Fix the OK/Cancel accellerator bogon I introduced a few days back. 1996-04-28 02:13:07 +00:00
Jordan K. Hubbard 1e702eb8a5 Fix what I just broke with DITEM_LEAVE_MENU 1996-04-27 07:09:41 +00:00
Jordan K. Hubbard 396df2aa3a Fix a bogon with ok/cancel callback usage. 1996-04-27 01:52:15 +00:00
Jordan K. Hubbard 7af0a5dbaf More custom hackery to deal with issues discovered in sysinstall. 1996-04-25 17:27:18 +00:00
Jordan K. Hubbard ab112e9f34 Allow some post-fire actions to be combined in ways that weren't
possible before.
1996-04-25 13:34:37 +00:00
Jordan K. Hubbard 02836a445d alloca() was being called with highly bogus arguments due to brain
fade.  Fixed.
1996-04-25 01:50:18 +00:00
Jordan K. Hubbard 5553e30b48 Cosmetic tweaks. 1996-04-23 01:25:04 +00:00
Jordan K. Hubbard 7b75f15fa7 Another bug fix for the DITEM_REDRAW case. 1996-04-20 01:56:06 +00:00
Jordan K. Hubbard 060882c315 Make the DITEM_RECREATE option work properly. 1996-04-20 01:28:20 +00:00
Jordan K. Hubbard d83f3d7544 Fix a bug which did not properly bias checklist items by their scroll
factor.
1996-04-19 10:39:16 +00:00
Jordan K. Hubbard 806a609d46 Remove a long-standing window leak I just noticed. 1996-04-18 13:36:39 +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 056985cc17 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
Jordan K. Hubbard de16e2a457 Save screen before calling any fire() callbacks - you never know what
they might do to the screen.
1996-04-08 10:28:07 +00:00
Jordan K. Hubbard 3d681421e0 Refresh dialogs if a callback action fails. 1996-04-08 10:02:55 +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 b376966fbf Add an `aux' field for some other gunk I'm doing. 1996-04-05 02:29:12 +00:00
Mike Pritchard 6fad16fd59 Add some missing MLINKS, correct some cross references, correct some
file locations and some minor formatting/style problems.
1996-02-09 16:20:10 +00:00
Mike Pritchard c211e812bb 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.
1996-02-09 00:45:45 +00:00
Jordan K. Hubbard b1c46b6825 Minor tweak to this test. 1996-02-08 11:55:15 +00:00
Jordan K. Hubbard 52abcf2c37 Fix small bug with negative item_no. 1996-01-10 13:57:46 +00:00
Jordan K. Hubbard 24b935d90e Refresh before calling selection hook. 1996-01-05 04:00:51 +00:00
Jordan K. Hubbard cd5e85eb47 Create individual tests for each dialog feature. 1996-01-01 03:45:32 +00:00
Jordan K. Hubbard 738c371d22 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.
1996-01-01 03:43:58 +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