Home | History | Annotate | Download | only in libform
History log of /src/lib/libform/type_alpha.c
RevisionDateAuthorComments
 1.13  13-Apr-2021  christos - fix memory leak
- xxx questionable allocation
- remove casts
- use sizeof(*var)
- bcopy -> memcpy/memmove
 1.12  13-Apr-2021  mrg allocate the potential trailing nul as well.
 1.11  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.10  28-Oct-2004  dsl Use (unsigned char) cast to sanitise arguments to ctype functions.
 1.9  27-Oct-2004  dsl Fix a load of international alphabet problems with isxxx() and toupper()
Change isspace(*char_ptr) to isspace(*char_ptr & 0xff) so that the correct
piece of memory is looked at for the bit mask.
gcc optimises out the '& 0xff' (on i386 at least).
Fixes problems found by gcc when the splurious (int) cast is removed
from the #defines in ctype.h
 1.8  23-Apr-2004  simonb s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
 1.7  09-Mar-2003  lukem use __RCSID()
 1.6  13-Jun-2001  wiz withough -> without
 1.5  23-Jan-2001  blymn Added check for null args pointer.
 1.4  21-Jan-2001  blymn Prevent negative index in strncpy if start = end = 0
 1.3  20-Jan-2001  augustss Make these compile again.
(Say after me: Compile before commit. :)
 1.2  20-Jan-2001  blymn * Fixed common error in all types code
* Removed the args field from types struct and made sure the args in
the field are used.
 1.1  17-Dec-2000  blymn Added early release version of libform - please be gentle.

RSS XML Feed