Subject: CVS commit: src/lib/libform
To: None <>
From: Brett Lymn <>
List: source-changes
Date: 11/24/2004 11:57:09
Module Name:	src
Committed By:	blymn
Date:		Wed Nov 24 11:57:09 UTC 2004

Modified Files:
	src/lib/libform: Makefile driver.c field.c form.c form.h
	    form_field_buffer.3 form_field_opts.3 forms.3 internals.c
	    internals.h shlib_version type_alnum.c type_alpha.c type_enum.c
	    type_ipv4.c type_ipv6.c type_regex.c
Added Files:
	src/lib/libform: gdbinit

Log Message:
* 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.

To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/lib/libform/Makefile src/lib/libform/type_regex.c
cvs rdiff -r1.15 -r1.16 src/lib/libform/driver.c \
cvs rdiff -r1.22 -r1.23 src/lib/libform/field.c
cvs rdiff -r1.14 -r1.15 src/lib/libform/form.c src/lib/libform/forms.3
cvs rdiff -r1.18 -r1.19 src/lib/libform/form.h
cvs rdiff -r1.8 -r1.9 src/lib/libform/form_field_buffer.3 \
    src/lib/libform/form_field_opts.3 src/lib/libform/type_ipv4.c
cvs rdiff -r0 -r1.1 src/lib/libform/gdbinit
cvs rdiff -r1.29 -r1.30 src/lib/libform/internals.c
cvs rdiff -r1.9 -r1.10 src/lib/libform/internals.h \
    src/lib/libform/type_alnum.c src/lib/libform/type_enum.c \
cvs rdiff -r1.10 -r1.11 src/lib/libform/type_alpha.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.