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
Jordan K. Hubbard
728c8dd9ac
o Add some test code.
1995-12-23 01:10:32 +00:00
Jordan K. Hubbard
fa8dc2c075
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.
1995-12-23 01:10:20 +00:00
Bruce Evans
48cfb668fc
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.
1995-08-06 12:24:38 +00:00
Rodney W. Grimes
4399be3cbd
Remove trailing whitespace.
1995-05-30 05:05:38 +00:00
Jordan K. Hubbard
267e12ca09
Don't make TAB and BACK-TAB destroy field contents incorrectly.
...
Submitted by: gibbs
1995-05-28 03:36:05 +00:00
Andrey A. Chernov
a66edb3187
Remove extra argument from mesgbox
1995-05-16 10:17:13 +00:00
Andrey A. Chernov
05b91f7dce
Call mesgbox instead of msgbox for long descriptions
1995-05-16 06:09:28 +00:00
Jordan K. Hubbard
64b91eadc2
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>
1995-05-16 01:31:40 +00:00
Andrey A. Chernov
0ae932377a
Fix draw shadow bug, when shadow reaches end of the screen,
...
bringed by devmenu or tzsetup f.e.
1995-05-15 16:40:02 +00:00
Andrey A. Chernov
883c5f31fa
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
1995-05-08 01:43:52 +00:00
Andrey A. Chernov
8c18198a0c
Bump major number instead of minor: old functions arguments was changed too
1995-05-04 09:45:29 +00:00
Andrey A. Chernov
fbe3680005
Bump minor number
1995-05-03 18:54:09 +00:00
Andrey A. Chernov
1ccc95ada5
Handle too long strings correctly in print_autowrap()
...
Submitted by: Marc van Kempen <wmbdmr@urc.tue.nl>
1995-04-30 19:43:53 +00:00
Jordan K. Hubbard
6e9cd00afe
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.
1995-04-21 10:18:33 +00:00
Jordan K. Hubbard
effc53c83c
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?
1995-04-21 10:15:31 +00:00
Andrey A. Chernov
7f6e7c13b5
Upgrade.
...
Submitted by: Marc van Kempen <wmbfmk@urc.tue.nl>
1995-04-20 17:39:37 +00:00
Andrey A. Chernov
ed42ac9324
Get rid of strtok(), it is depricated inside libs
1995-03-24 17:59:48 +00:00
Jordan K. Hubbard
3bdf20c2d4
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.
1995-03-22 02:06:06 +00:00
Andrey A. Chernov
ee02f1d697
Saved scroll fixed.
1995-03-21 01:06:07 +00:00
Andrey A. Chernov
2270889953
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
1995-03-02 01:03:39 +00:00
Andrey A. Chernov
fdcf149868
Simplify notify()
...
Fix dupwin usage, now it really restore screen
Disable helpline while helpfile displayed
Fix helpfile borders
Fix mesgbox range computing
1995-02-23 22:36:56 +00:00
Andrey A. Chernov
895aadbcfb
file selector, helpline, helpfile and more, with my fixes
...
Submitted by: wmbfmk@urc.tue.nl
1995-02-15 19:44:08 +00:00
Andrey A. Chernov
7b5de861cd
Much better error handling added.
1995-02-13 18:51:50 +00:00
Andrey A. Chernov
255ec70534
Add more range/argument checking
...
Submitted by: charnier@lirmm.fr
1995-01-30 14:11:58 +00:00
Andrey A. Chernov
1d8834adda
Back out bkgd() function usage, it acts not from
...
common sense but from sysv standard
1995-01-16 17:22:35 +00:00
Andrey A. Chernov
9b50f2c60a
Use new bkgd() function to produce background
1994-12-02 19:49:17 +00:00
Andrey A. Chernov
ef849892d9
Add ^X,^B,^F,^E,^A
...
Implement KEY_DC/^D
Fix some displaying errors
Add more beeps on reaching edges
1994-11-20 00:21:02 +00:00
Andrey A. Chernov
2c154e8124
Automatically turn off insert mode when end of field reached
...
in line_edit().
1994-11-19 10:22:12 +00:00