Commit Graph

14 Commits

Author SHA1 Message Date
blymn cc66fb4a40 Add missing function and make some error returns into proper eti.h
errors.
2001-07-08 12:15:06 +00:00
blymn 2a68310bea Fix limits on dynamic fields. 2001-06-28 11:38:19 +00:00
wiz c03a48d64f withough -> without 2001-06-13 10:45:57 +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 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 47eb37d515 * Fixed horizontal scrolling. 2001-04-06 05:24:59 +00:00
blymn 6c29066dc9 * truncate field contents to field length if field is or becomes static
* Allow field options to be changed when field posted unless field
   is the current one.
 * Allow field justification to be changed when field posted unless it
   is the current one.
 * dynamic_field_info now returns field size in rows and columns if
   the field is static - previously this was an error.
2001-03-25 12:21:06 +00:00
blymn 9bb8631d38 replace strncpy with strlcpy.... 'nuff said. 2001-02-16 03:19:32 +00:00
blymn 6cda6dc59f Truncate the buffer string to the field buffer size if the field is static. 2001-02-15 05:20:42 +00:00
blymn 7ce7b46217 Buffer now wrapped and redrawn when buffer is set. 2001-02-03 12:35:14 +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 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