Commit Graph

23 Commits

Author SHA1 Message Date
joerg 53ebe24369 Constify set_field_buffer. 2015-09-07 15:50:49 +00:00
christos f1abc9f9db goodbye CIRCLEQ, welcome TAILQ 2013-11-26 01:17:00 +00:00
joerg 93a30e6d6f Kill a bunch of manual __attribute__ usages and replace them with the
equivalent sys/cdefs.h invocation.
2011-11-28 12:44:18 +00:00
roy 98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +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
blymn 316f67d63e Add defines MIN_FORM_COMMAND and MAX_FORM_COMMAND for ncurses
compatibility.  This closes PR 20029.
2004-01-23 13:01:17 +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 759e545dce * Major rework to allow the TAB character in fields. 2002-05-20 15:00:11 +00:00
blymn cbb9312d8b line up function prototype names. 2001-07-18 12:27:53 +00:00
blymn 11b49061bf ansify field_info prototype. 2001-07-08 13:01:21 +00:00
wiz c03a48d64f withough -> without 2001-06-13 10:45:57 +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 172c564232 * Bracket constant defines
* Driver commands are now offset by curses KEY_MAX
2001-03-25 12:27:22 +00:00
blymn 3ebef9c407 Added new function form_max_page. 2001-02-16 03:21:35 +00:00
blymn 445edb6de2 Added ipv6 builtin type. 2001-02-10 14:53:11 +00:00
blymn 99af4c1003 Added field and character checking. 2001-01-30 06:44:42 +00:00
blymn 6334f1911b Added support for the O_OVERLOAD_* form options. 2001-01-23 01:59:29 +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
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
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