Commit Graph

15 Commits

Author SHA1 Message Date
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
93ae143731 Do not free the first element of the fields array. This fixes pr 17754. 2002-08-02 14:10:25 +00:00
blymn
759e545dce * Major rework to allow the TAB character in fields. 2002-05-20 15:00:11 +00:00
blymn
ea62425208 Removed stray characters in comment block. 2001-09-27 07:56:34 +00:00
blymn
46683adc25 Fix error returns. 2001-07-08 13:02:29 +00:00
wiz
c03a48d64f withough -> without 2001-06-13 10:45:57 +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
47eb37d515 * Fixed horizontal scrolling. 2001-04-06 05:24:59 +00:00
blymn
919001b4a1 * Fixed curses window handling, library no longer creates a subwin.
* Do not position the cursor in the field is O_PUBLIC is not set.
2001-03-25 12:24:47 +00:00
blymn
3ebef9c407 Added new function form_max_page. 2001-02-16 03:21:35 +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