History log of /netbsd-src/lib/libform/form.c (Results 1 – 17 of 17)
Revision Date Author Comments
# 0cf98320 13-Apr-2021 christos <christos@NetBSD.org>

- fix memory leak
- xxx questionable allocation
- remove casts
- use sizeof(*var)
- bcopy -> memcpy/memmove


# 23a151b4 09-Mar-2016 christos <christos@NetBSD.org>

PR/50919: David Binderman: Re-do all the debug stuff in a more sustainable way.


# 19f07fb2 24-Nov-2004 blymn <blymn@NetBSD.org>

* 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 fie

* 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.

show more ...


# a2ed7b2d 09-Mar-2003 lukem <lukem@NetBSD.org>

use __RCSID()


# 93ae1437 02-Aug-2002 blymn <blymn@NetBSD.org>

Do not free the first element of the fields array. This fixes pr 17754.


# 759e545d 20-May-2002 blymn <blymn@NetBSD.org>

* Major rework to allow the TAB character in fields.


# ea624252 27-Sep-2001 blymn <blymn@NetBSD.org>

Removed stray characters in comment block.


# 46683adc 08-Jul-2001 blymn <blymn@NetBSD.org>

Fix error returns.


# c03a48d6 13-Jun-2001 wiz <wiz@NetBSD.org>

withough -> without


# 3f76420b 16-May-2001 blymn <blymn@NetBSD.org>

Fixed wrapping of multiline fields.


# 7ffbe072 11-May-2001 blymn <blymn@NetBSD.org>

* 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

* 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.

show more ...


# 47eb37d5 06-Apr-2001 blymn <blymn@NetBSD.org>

* Fixed horizontal scrolling.


# 919001b4 25-Mar-2001 blymn <blymn@NetBSD.org>

* Fixed curses window handling, library no longer creates a subwin.
* Do not position the cursor in the field is O_PUBLIC is not set.


# 3ebef9c4 16-Feb-2001 blymn <blymn@NetBSD.org>

Added new function form_max_page.


# c0219226 16-Jan-2001 blymn <blymn@NetBSD.org>

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
*

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

show more ...


# af28ef95 04-Jan-2001 blymn <blymn@NetBSD.org>

* 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

* 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.

show more ...


# 41859428 17-Dec-2000 blymn <blymn@NetBSD.org>

Added early release version of libform - please be gentle.