OpenGrok
Cross Reference: form.c
xref
: /
src
/
lib
/
libform
/
form.c
Home
|
History
|
Annotate
|
Download
|
only in
libform
History log of
/src/lib/libform/form.c
Revision
Date
Author
Comments
1.17
13-Apr-2021
christos
- fix memory leak
- xxx questionable allocation
- remove casts
- use sizeof(*var)
- bcopy -> memcpy/memmove
1.16
09-Mar-2016
christos
PR/50919: David Binderman: Re-do all the debug stuff in a more sustainable way.
1.15
24-Nov-2004
blymn
* 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.
1.14
09-Mar-2003
lukem
use __RCSID()
1.13
02-Aug-2002
blymn
Do not free the first element of the fields array. This fixes pr 17754.
1.12
20-May-2002
blymn
* Major rework to allow the TAB character in fields.
1.11
27-Sep-2001
blymn
Removed stray characters in comment block.
1.10
08-Jul-2001
blymn
Fix error returns.
1.9
13-Jun-2001
wiz
withough -> without
1.8
16-May-2001
blymn
Fixed wrapping of multiline fields.
1.7
11-May-2001
blymn
* 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.
1.6
06-Apr-2001
blymn
* Fixed horizontal scrolling.
1.5
25-Mar-2001
blymn
* Fixed curses window handling, library no longer creates a subwin.
* Do not position the cursor in the field is O_PUBLIC is not set.
1.4
16-Feb-2001
blymn
Added new function form_max_page.
1.3
16-Jan-2001
blymn
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
1.2
04-Jan-2001
blymn
* 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.
1.1
17-Dec-2000
blymn
Added early release version of libform - please be gentle.
Indexes created Thu Oct 02 01:09:59 GMT 2025