summaryrefslogtreecommitdiff
path: root/lib/libform/form.c
AgeCommit message (Collapse)Author
2021-04-13- fix memory leakchristos
- xxx questionable allocation - remove casts - use sizeof(*var) - bcopy -> memcpy/memmove
2016-03-09PR/50919: David Binderman: Re-do all the debug stuff in a more sustainable way.christos
2004-11-24* Rewrote internal handling of multiline field line data to fix a bugblymn
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.
2003-03-09use __RCSID()lukem
2002-08-02Do not free the first element of the fields array. This fixes pr 17754.blymn
2002-05-20* Major rework to allow the TAB character in fields.blymn
2001-09-27Removed stray characters in comment block.blymn
2001-07-08Fix error returns.blymn
2001-06-13withough -> withoutwiz
2001-05-16Fixed wrapping of multiline fields.blymn
2001-05-11* Rototilled internals to make multiline fields work correctly. Someblymn
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-04-06* Fixed horizontal scrolling.blymn
2001-03-25 * Fixed curses window handling, library no longer creates a subwin.blymn
* Do not position the cursor in the field is O_PUBLIC is not set.
2001-02-16Added new function form_max_page.blymn
2001-01-16Multiple fixes:blymn
* 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-04* Changed type of userptr to be void * (now matches ncurses)blymn
* 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.
2000-12-17Added early release version of libform - please be gentle.blymn