Commit Graph

98 Commits

Author SHA1 Message Date
blymn
841a6ed66f Allow either the field_check or char_check pointers to be NULL, as
suggested in PR 18028.
2002-08-22 11:34:00 +00:00
blymn
67d86161c7 Added MLINK entries to link all function names to their respective
man page.
2002-08-11 11:57:44 +00:00
blymn
c4f23a93e4 Added extension to interface, set_field_printf which allows a printf
style setting of field buffers.
2002-08-09 14:15:12 +00:00
blymn
d0dbcd8f3c Fix null dereference in set_field_type. 2002-08-07 13:57:03 +00:00
blymn
d87fd85949 Prevent field scrolling when REQ_RIGHT_CHAR hits the RHS of the field. 2002-08-07 11:05:10 +00:00
wiz
6bce40bcab The argument of .Fn should look like this:
.Fn function_name "int first" "char *second"
not like this:
.Fn function_name "int first, char *second".
2002-08-06 12:44:34 +00:00
wiz
af9ce6b208 Fix mdoc. Closes lib/17855. 2002-08-06 12:35:39 +00:00
blymn
ad3d412058 set_field_opts and field_opts_on were both using the wrong pointer
resulting in libform crashing if O_STATIC was set on the default field.
2002-08-05 12:43:44 +00:00
blymn
8d09f0f70d Redraw field when the flags for the field change iff the field is
attached to a form and the form is posted.
2002-08-03 14:34:22 +00:00
blymn
93ae143731 Do not free the first element of the fields array. This fixes pr 17754. 2002-08-02 14:10:25 +00:00
blymn
4e295cd045 Allow REQ_RIGHT_CHAR to get to the end of the line. 2002-08-02 11:49:18 +00:00
blymn
a5ab810726 Refresh window after a driver command. 2002-08-02 11:48:02 +00:00
blymn
fa8f5d02f8 Reposition form cursor after field redrawn when setting a field value,
since the field set may not be the current one.  This fixes PR 17533.
2002-07-31 01:28:32 +00:00
blymn
90d6019c5e * Fix bad function reference. 2002-07-29 05:23:30 +00:00
blymn
d0d41d9fd4 * Fix cursor motion bugs referred to in pr 17480
* Handle cursor motion for justifications other than left justified.
2002-07-29 05:17:37 +00:00
blymn
ecd0dffb79 * Set character attributes when adding pad to field, null fields will
now be displayed correctly (fixes part 1 of pr 17480)
* Prevent field manipulations on null fields, the fields have nothing in
  them so they should not be manipulated.
2002-07-08 10:43:37 +00:00
blymn
8845943881 Prevent set_field_buffer from redrawing field that is attached to a form
when the form is not posted.
2002-07-04 10:51:02 +00:00
blymn
5ce770b15c Fixed typo in type declaration. 2002-06-19 14:12:57 +00:00
blymn
759e545dce * Major rework to allow the TAB character in fields. 2002-05-20 15:00:11 +00:00
wiz
f8d8496236 Two fixes by Patrick Welche, and two by me. 2002-02-20 17:45:42 +00:00
wiz
0b7fe888c8 Normalize Dd. 2002-02-20 11:30:57 +00:00
wiz
8a5f4f7cae Normalize Dd, use Nx. 2002-02-20 11:30:35 +00:00
wiz
b454907bfa Fix some markup, add menus(3) to SEE ALSO. 2002-02-20 11:30:07 +00:00
ross
9856438e91 generate & symbolically 2002-02-07 09:24:04 +00:00
ross
814f296b77 Generate <>& symbolically. 2002-02-07 07:00:09 +00:00
wiz
b9661d6129 Whitespace nits. 2002-01-15 02:47:02 +00:00
thorpej
c64b324a8f Fix -Wshadow warnings (gcc 3.1). 2001-12-31 01:04:46 +00:00
christos
c709268130 bump major because of libcurses bump. 2001-12-03 14:02:41 +00:00
blymn
ea62425208 Removed stray characters in comment block. 2001-09-27 07:56:34 +00:00
blymn
d70e5167de Added notes about differences between this libform and the original AT&T
implementation.
2001-08-05 02:13:19 +00:00
blymn
b3751f89f8 * Wrap field size checking into a function, makes if's more readable
* Fixed bad post character calculation on a dynamic single line field
  that has field contents greater than the field length and had scrolled.
2001-08-05 01:51:23 +00:00
blymn
cbb9312d8b line up function prototype names. 2001-07-18 12:27:53 +00:00
blymn
a818d9cc76 new_field argument list too long, use .Fo/.Fa/.Fc 2001-07-18 12:24:27 +00:00
blymn
46683adc25 Fix error returns. 2001-07-08 13:02:29 +00:00
blymn
11b49061bf ansify field_info prototype. 2001-07-08 13:01:21 +00:00
blymn
cc66fb4a40 Add missing function and make some error returns into proper eti.h
errors.
2001-07-08 12:15:06 +00:00
blymn
92f6cf54a6 Added man pages. 2001-07-08 12:12:38 +00:00
blymn
e1a3174b3e Add man pages for libform. 2001-07-08 12:10:28 +00:00
blymn
c2f6b938e1 The information in the README no longer applies. 2001-07-08 10:35:26 +00:00
blymn
2a68310bea Fix limits on dynamic fields. 2001-06-28 11:38:19 +00:00
blymn
68c74a663e * Fixed REQ_DEL_CHAR for multi-line fields.
* Fixed REQ_DEL_LINE for multi-line fields.
2001-06-23 13:34:01 +00:00
wiz
c03a48d64f withough -> without 2001-06-13 10:45:57 +00:00
blymn
b179973d9d * Make req_del_prev work in multiline field. 2001-06-04 11:44:30 +00:00
blymn
cf2022720d * Only line wrap buffer 0 in set_field_buffer since this is the
only one displayed.
2001-06-04 11:42:09 +00:00
blymn
d0d87c13ff * Fix forward word and backward word driver commands. 2001-05-25 13:46:15 +00:00
blymn
98181dccba * Fix some of the cursor motion commands to handle multiline fields
* Fix line wrapping code for multiline fields
2001-05-23 15:02:55 +00:00
blymn
3f76420b8a Fixed wrapping of multiline fields. 2001-05-16 11:51:16 +00:00
sommerfeld
4c8f741def Add #include <string.h> to correct compile problem on alpha 2001-05-12 14:46:24 +00:00
blymn
7ffbe072ab * Rototilled internals to make multiline fields work correctly. Some
bugs remain such as vertical scrolling is not working and the field
  is not correctly redrawn after being cleared.  There are bound to be
  others.
2001-05-11 14:04:48 +00:00
blymn
0a50f51b50 Changed check_field code to use standard library calls for checking
the IPV6 address.  This code was provided to me by Itojun, thanks for
that go to him :-)
2001-05-11 13:59:43 +00:00