msaitoh
54c9821e53
"s/ are are / are /" in comment. No functional change.
2018-11-08 06:34:40 +00:00
christos
23a151b438
PR/50919: David Binderman: Re-do all the debug stuff in a more sustainable way.
2016-03-09 19:47:13 +00:00
christos
f1abc9f9db
goodbye CIRCLEQ, welcome TAILQ
2013-11-26 01:17:00 +00:00
mbalmer
8b29ccb36a
Fix typo.
2013-01-19 16:11:03 +00:00
joerg
896c6d5b09
Save space, kill some ()
2011-05-23 20:43:02 +00:00
tnozaki
50eb6aadde
cast isblank(3)'s argument to unsigned char.
2010-05-13 17:52:11 +00:00
roy
98eb889579
Userland now builds and uses terminfo instead of termcap.
...
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
christos
98527081b1
make debug build work.
2006-04-09 00:44:40 +00:00
christos
2ca947f5e7
Coverity CID 107[123]: Leave the assertions in the code, not only when DEBUG
...
is set.
2006-03-19 20:08:09 +00:00
blymn
19f07fb20a
* Rewrote internal handling of multiline field line data to fix a bug
...
where a newly opened line would immediately get wrapped out of existence.
The old method of handling lines in a multiline field did not cope with
this elegantly.
* Added new field flag O_REFORMAT which, when set, returns the field
buffer with newlines inserted where the line wrapped. Previously, there
was no way of preserving the on screen format of a multiline field.
* Added new file gdbinit which contains a macro to verify and print
the multiline field line data structure.
* Bumped libform major number due to changes in the _form_field structure.
2004-11-24 11:57:09 +00:00
lukem
a2ed7b2d73
use __RCSID()
2003-03-09 00:57:17 +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
blymn
4e295cd045
Allow REQ_RIGHT_CHAR to get to the end of the line.
2002-08-02 11:49:18 +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
759e545dce
* Major rework to allow the TAB character in fields.
2002-05-20 15:00:11 +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
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
blymn
b179973d9d
* Make req_del_prev work in multiline field.
2001-06-04 11:44:30 +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
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
a773c5b773
* Fix horizontal scrolling
...
* Fix cursor positioning at the end of a static field
* Fix the end field request handler.
2001-04-06 05:03:22 +00:00
blymn
4aa1a8e86c
* Fix wrapping behaviour - O_WRAP turns on/off wrapping on word
...
boundaries.
* Only justify static fields and only scroll dynamic fields.
* Handle O_PUBLIC and O_VISIBLE flags when drawing field.
* Changes to support new curses window handling.
2001-03-25 12:32:53 +00:00
blymn
af82d72d3e
Avoid trying to wrap a single row field.
2001-02-15 05:21:26 +00:00
blymn
cf4178992e
Check NULL0K _before_ PASSOK and clean up the PASSOK logic.
2001-02-10 14:55:18 +00:00
blymn
3d2346b6d0
* Moved field overflow check into _formi_add_char to allow overwriting a
...
full field.
* Fixed buf0_status being reset so O_BLANK now works correctly.
2001-02-06 00:02:25 +00:00
blymn
d7aa2675c9
Fixed the counting of rows in the field.
...
Fixed O_NULLOK handling in field validation
2001-02-03 12:38:47 +00:00
blymn
99af4c1003
Added field and character checking.
2001-01-30 06:44:42 +00:00
blymn
91a2e44938
Fix off by one bug in field scrolling decision when inserting chars.
2001-01-23 02:01:56 +00:00
blymn
2746300fb2
Don't manipulate a field with a null string pointer.
...
Cleaned up debug code to handle null string pointer case too.
2001-01-22 01:07:33 +00:00
blymn
bcd5895d31
Fixed segv if a field that never had buffer 0 set has characters added
...
to it.
2001-01-18 23:53:10 +00:00
blymn
fde37c21e6
* Stop next/prev field commands wrapping
...
* Made debug file open a function call that can be called multiple
times.
* Fixed the enum type.
2001-01-18 05:42:23 +00:00
blymn
c021922626
Multiple fixes:
...
* A debug version of libform will be build if DEBUG_FORMS is defined
* Can no longer edit fields that do not have O_EDIT set
* Changed background attribute to A_NORMAL like ncurses
* Fixed truncation of field contents when content length == field length
* Current field is set to first visible & active field on form post
2001-01-16 01:02:47 +00:00
blymn
af28ef95ea
* Changed type of userptr to be void * (now matches ncurses)
...
* Bumped lib major version due to above.
* Changed debug output to go to a file instead of stderr, the file gets
opened when the form is posted iff one is not already open.
2001-01-04 12:30:37 +00:00
blymn
4185942834
Added early release version of libform - please be gentle.
2000-12-17 12:04:30 +00:00