Commit Graph

127 Commits

Author SHA1 Message Date
blymn 69869e5c1a Restructured driver character insert to allow overwrite of full field
without autoskipping.
2001-02-05 23:59:52 +00:00
blymn 644e74211b Made the field wrapping function available to other modules. 2001-02-03 12:41:08 +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 7ce7b46217 Buffer now wrapped and redrawn when buffer is set. 2001-02-03 12:35:14 +00:00
blymn 043f30d2d2 Reset offsets when a new field is entered. 2001-02-03 12:33:17 +00:00
blymn 99af4c1003 Added field and character checking. 2001-01-30 06:44:42 +00:00
blymn 790e1a7fb4 When buffers are created they are given an empty string instead of just
being set to NULL.  Stops us returning a NULL pointer for buffers that
are never set.
2001-01-30 06:33:51 +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 6334f1911b Added support for the O_OVERLOAD_* form options. 2001-01-23 01:59:29 +00:00
blymn b7108db3c2 Added check for null args pointer. 2001-01-23 01:57:01 +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 0e267bb5c1 Changed ordering of the cursor positioning call so the posted flag is
set before form_pos_cursor is called.
2001-01-22 01:05:34 +00:00
blymn 9149afdc3b bump lib minor 2001-01-21 11:49:20 +00:00
blymn 5b3b45d26a Position cursor when posting the form. 2001-01-21 11:48:29 +00:00
blymn 3df15dbec6 Prevent negative index on strncpy if end = start = 0 2001-01-21 11:47:09 +00:00
blymn cee5688d61 Prototype function for opening debug file. 2001-01-21 11:43:43 +00:00
blymn cc04d0d72a Prevent negative index in strncpy if start = end = 0 2001-01-21 11:42:14 +00:00
augustss c029defce9 Make these compile again.
(Say after me: Compile before commit. :)
2001-01-20 14:48:55 +00:00
blymn 36483ba984 * Fixed common error in all types code
* Removed the args field from types struct and made sure the args in
  the field are used.
2001-01-20 11:03:43 +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
cgd d594ce939b comment or delete text after CPP directives. 2001-01-16 02:50:27 +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
jdc ebc0cfbccf Bump libmenu and libform majors because of libcurses major bump.
Pointed out by mrg.
2001-01-07 13:15:10 +00:00
kleink a4040bcbd1 Undo previous major bump - the ABI wasn't affected by the corresponding
code change.
2001-01-04 17:20:06 +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