Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: othersrc/external/bsd/bufgap



Module Name:    othersrc
Committed By:   agc
Date:           Thu Sep 30 22:01:04 UTC 2021

Modified Files:
        othersrc/external/bsd/bufgap: Makefile
        othersrc/external/bsd/bufgap/dist: main.c
Added Files:
        othersrc/external/bsd/bufgap/bin: 1.data 1.expected 1.in 2.data
            2.expected 2.in 3.expected 3.in 4.expected 4.in 5.expected 5.in
            6.expected 6.in 7.expected 7.in Makefile
        othersrc/external/bsd/bufgap/dist: Makefile TODO agcre-embed.c
            agcre-embed.h gap.c gap.h libgap.3
        othersrc/external/bsd/bufgap/lib: Makefile shlib_version
Removed Files:
        othersrc/external/bsd/bufgap/bufgap: Makefile
        othersrc/external/bsd/bufgap/dist: bufgap bufgap.1 bufgap.3 bufgap.c
            bufgap.h defs.h
        othersrc/external/bsd/bufgap/libbufgap: Makefile config.h shlib_version

Log Message:
Update buffer gap routines to the latest API and functionality - 20210930.

The API has been consolidated around 4 functions:

1. gap_new() - returns a new (opaque) buffer gap structure
2. gap_dispose() - dispose of a previously allocated buffer gap structure
3. gap_exec() - perform operations on the buffer gap which expect an
   integer return value
4. gap_exec_string() - perform operations on the buffer gap which return a byte
   array (typically return buffer contents, or the buffer name)

All of the "verbs" are described in the libgap.3 manual page, found in the
dist directory. The main.c test program, again found in the dist directory,
gives 7 worked examples of how to use the functionality to achieve desired ends,
and there are 7 test input files, along with expected results, which are
provided as a regression test suite - accessible using "make t" from the top
level directory.

The buffer gap routines use a copy of the embedded agcre regexp library to
provide bounded (non-exponential time) results for regexp searching forwards
and backwards - for more information, see the agcre directory at the same level
as this code, or the source code in dist/agcre-embed.[ch].

Also move to a more usual reachover infrastructure


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/bufgap/Makefile
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/bufgap/bin/1.data \
    othersrc/external/bsd/bufgap/bin/1.expected \
    othersrc/external/bsd/bufgap/bin/1.in \
    othersrc/external/bsd/bufgap/bin/2.data \
    othersrc/external/bsd/bufgap/bin/2.expected \
    othersrc/external/bsd/bufgap/bin/2.in \
    othersrc/external/bsd/bufgap/bin/3.expected \
    othersrc/external/bsd/bufgap/bin/3.in \
    othersrc/external/bsd/bufgap/bin/4.expected \
    othersrc/external/bsd/bufgap/bin/4.in \
    othersrc/external/bsd/bufgap/bin/5.expected \
    othersrc/external/bsd/bufgap/bin/5.in \
    othersrc/external/bsd/bufgap/bin/6.expected \
    othersrc/external/bsd/bufgap/bin/6.in \
    othersrc/external/bsd/bufgap/bin/7.expected \
    othersrc/external/bsd/bufgap/bin/7.in \
    othersrc/external/bsd/bufgap/bin/Makefile
cvs rdiff -u -r1.1.1.1 -r0 othersrc/external/bsd/bufgap/bufgap/Makefile
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/bufgap/dist/Makefile \
    othersrc/external/bsd/bufgap/dist/TODO \
    othersrc/external/bsd/bufgap/dist/agcre-embed.c \
    othersrc/external/bsd/bufgap/dist/agcre-embed.h \
    othersrc/external/bsd/bufgap/dist/gap.c \
    othersrc/external/bsd/bufgap/dist/gap.h \
    othersrc/external/bsd/bufgap/dist/libgap.3
cvs rdiff -u -r1.1.1.1 -r0 othersrc/external/bsd/bufgap/dist/bufgap \
    othersrc/external/bsd/bufgap/dist/defs.h
cvs rdiff -u -r1.3 -r0 othersrc/external/bsd/bufgap/dist/bufgap.1 \
    othersrc/external/bsd/bufgap/dist/bufgap.c
cvs rdiff -u -r1.4 -r0 othersrc/external/bsd/bufgap/dist/bufgap.3
cvs rdiff -u -r1.2 -r0 othersrc/external/bsd/bufgap/dist/bufgap.h
cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/bufgap/dist/main.c
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/bufgap/lib/Makefile \
    othersrc/external/bsd/bufgap/lib/shlib_version
cvs rdiff -u -r1.1.1.1 -r0 othersrc/external/bsd/bufgap/libbufgap/Makefile \
    othersrc/external/bsd/bufgap/libbufgap/config.h \
    othersrc/external/bsd/bufgap/libbufgap/shlib_version

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




Home | Main Index | Thread Index | Old Index