Commit Graph

54 Commits

Author SHA1 Message Date
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
Andrey A. Chernov
5fa4b99ccf Highlight only flen sized part while editing in line_edit() 1994-11-19 09:58:34 +00:00
Andrey A. Chernov
3fa6f2210c Highlight only space available for editing 1994-11-19 00:45:02 +00:00
Andrey A. Chernov
852ffa1977 silently restrict all boxes to LINES, COLS 1994-11-18 22:49:09 +00:00
Andrey A. Chernov
df5add3f69 Draw passed line with passed attrs on enter of line_edit()
and redraw it with default attrs on exit.
1994-11-18 01:46:32 +00:00
Andrey A. Chernov
a9e8a652cb Add new parameter to line_edit: field length (-1 means unlimited) 1994-11-18 01:02:42 +00:00
Andrey A. Chernov
f9c9c70b70 Save/restore attrs in line_edit now 1994-11-18 00:30:06 +00:00
Andrey A. Chernov
45cb79a377 Use newscr instead of curscr in shadows code 1994-11-17 23:54:24 +00:00
Andrey A. Chernov
934a5f3e30 Use wnoutrefresh() in clear_norefresh 1994-11-17 23:08:57 +00:00
Andrey A. Chernov
1a796bb52a Add dialog_clear_norefresh() function 1994-11-17 22:52:05 +00:00
Andrey A. Chernov
04339572bc Fix original bug with wrong calculated dims for items list.
Add args check for functions when autosizing impossible.
1994-11-17 19:21:51 +00:00
Andrey A. Chernov
5f5d7caab1 Full autosizing support, now you can pass -1, -1 for any
string
1994-11-16 14:37:37 +00:00
Andrey A. Chernov
81301998fc Make shadow more 'real': now shadowed letters appearse as dim ones. 1994-11-15 17:32:05 +00:00
Andrey A. Chernov
fb05aa973e Fix bug: only one second-level shadow drawed 1994-11-15 12:42:14 +00:00
Andrey A. Chernov
af39413d8c Additionly use erase char from termios
Implement kill line by ^U or kill char from termios
1994-11-10 15:16:46 +00:00
Andrey A. Chernov
76ab56f350 Now line_edit() uses passed string as initial prompt 1994-11-02 01:40:34 +00:00
Jordan K. Hubbard
2af60dc4f7 Translate README to english. :-) 1994-11-02 00:39:42 +00:00
Andrey A. Chernov
9570a6deea Add pointer check after each newwin/subwin with error diagnostic 1994-10-31 04:02:31 +00:00
Jordan K. Hubbard
faa28a39e9 Add a -I${.CURDIR} so that the next time Andrew changes dialog.h, the
whole build doesn't fall over before installation.
1994-10-28 05:36:38 +00:00
Andrey A. Chernov
646556067f Add refresh after each line of program output,
some pgms may have long waiting time between output lines.
1994-10-28 04:05:32 +00:00
Andrey A. Chernov
3f20de5a5f Implement dialog_prgbox() function which allows run program
(via pipe) with output to dialog box
1994-10-28 03:08:28 +00:00
Paul Richards
0adfb6eb99 Added refresh() to dialog_clear so that it actually
clears the screen.
Reviewed by:
Submitted by:
Obtained from:
1994-10-25 15:10:27 +00:00
Andrey A. Chernov
2e1e6f4685 Make dialog attributes visible from outside (for direct usage
in pgms)
1994-10-24 05:09:45 +00:00
Andrey A. Chernov
d60b2c616a Fix dialog_clear() to clear windows. 1994-10-21 17:52:19 +00:00
Andrey A. Chernov
2a9cdd71dd Implement line_edit() function (full line editor) which may called
externally.
Rewrite inputbox/textbox to use this function.
1994-10-21 15:42:30 +00:00
Andrey A. Chernov
8a585590ef Declare more functions externally.
Don't forget to use 'make beforeinstall'...
1994-10-20 21:56:45 +00:00