Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: othersrc/external/bsd/arfe
Module Name: othersrc
Committed By: dyoung
Date: Tue Jan 26 02:22:57 UTC 2016
Modified Files:
othersrc/external/bsd/arfe: Makefile README
othersrc/external/bsd/arfe/dt: Makefile README core.c core.h dec.c
dec.h dt.c hex.c hex.h ipv4.c ipv4.h macaddr.c macaddr.h
portability.h sym.c sym.h testit
othersrc/external/bsd/arfe/dt/rr: ifconfig.0-logger-ifconfig.0
logger-ifconfig.0-ifconfig.0
othersrc/external/bsd/arfe/it: Makefile README it.c
othersrc/external/bsd/arfe/tt: Makefile README testit.sh tt.c
Added Files:
othersrc/external/bsd/arfe: Makefile.inc
othersrc/external/bsd/arfe/dt: eol.c eol.h space.c space.h
othersrc/external/bsd/arfe/hlog: .cvsignore Makefile hlog.c hlog.h
othersrc/external/bsd/arfe/mk: helpers.mk
othersrc/external/bsd/arfe/tt/tests/6: expected-output input match
transform
Log Message:
Bring NetBSD CVS up-to-date with my private Subversion repository.
In dt/core.c, delete dead scratch_t members L1 and L2. Pull the gaps
count out of subcell_t and add to scratch_t members G[0..1] and Gclocc
to hold the gaps count when/where I use it. This gives me back a bit of
speed, but I'm still not back to the previous best: affine gap penalties
are expensive.
Add a dummy 'test' target to it/Makefile. Really need to come up with
some tests for IT. Some version of the DT tests oughta do the trick.
Thanks, Thomas Klausner (wiz%NetBSD.org@localhost), for the heads-up about some
Makefile problems. Fix them: recurse on 'test' target. Make 'test'
target depend on dependall.
Fix/improve usage messages.
Disable debug assertions for now.
Make 'make cleandir' remove *.gcov.
In dt/sym.c, don't dereference a NULL pointer trying to emit a symbol
that is too long. XXX ought to revisit this.
Add the hierarchical-logging library that I developed for CUWiN and
start to use it to switch debugging printfs on and off.
Repair the 'tags' rule, making it write tags to .CURDIR instead of
.OBJDIR.
Add two new scanners, one for whitespace up to and including end-of-line
(EOL), and one for whitespace other than whitespace at EOL. Bring
expected test results up-to-date with these beneficial changes to
whitespace handling.
Add mk/helpers.mk that provides utilities PRINTOBJDIR and PRINTOBJDIROF.
Use relative paths like 'dt/core.h' for ARFE header files. Add
CPPFLAGS+=-I$(.CURDIR)/.. to all of the makefiles to make this work.
Add DPINCS to makefiles that were missing it.
Factor out some initialization and argument parsing; put it into
arfe_parse_options().
Improve file_to_slice() error reporting: print the filename concerned.
Add a utility function, cloccs_are_equal(), that returns true if and
only if the string comprising the left-hand clocc is equal to the string
comprising the right-hand clocc. Use it here and there, especially in
the `tt' implementation.
Tweak the costs for opening and extending gaps, and tweak clocc_score(),
to get more desirable outputs from dt, it, and tt. Update tests to
match new expectations.
Add instrumentation that prints a sub-table of the table computed by
findsplitn() as an HTML table.
Fix some bugs in table initialization in findsplitn() & count_records()
that were found with the help of the new instrumentation.
For count_records() debug output, record and print a few generations of
record boundaries.
Add a new member to clocc_t, the number of potential counterpart
clocc_t's in a counterpart template, and for each match-template clocc,
count the number of counterparts it has in the transform template---see
count_match_occ_transform_counterparts(). Eventually I will use the
counterparts to tweak scores for clocc-alignment between inputs and
match templates in tt.
Fix a bug in emit_transformed_text() where it wasn't considering all of
the match clocc_t's in a hash bucket.
Expand cloccs_t and the size of the clocc_t hash tables, too. XXX needs
to be dynamic!
In dt, it, and tt (?), instead of running findlcs(), run count_records()
and quit if the -c option is passed. This is just a convenience while I
test count_records(), which is a work in progress.
Fix some NULL pointer dereferences in the decimal- and hexadecimal-number
scanners.
Run the really long-running dt tests last instead of first.
Make tt/testit.sh run the tests on its command line or else all of the
tests in tests/.
In tt, allocate the class occurrences for the transform template on the
heap instead of the stack, so that we don't run out of stack space
and segfault.
Add a test for 'tt' that extracts the packet input/output statistics
from ifconfig -v output and nothing else.
Fix a bug in count_match_occ_transform_counterparts() where I was
calling TAILQ_NEXT() on an uninitialized element. I'm not sure how I
missed the bug before, since it crashes 'tt' in its first test every
time.
Pick up some changes from the NetBSD CVS repository by wiz@. Change
__attribute__((__noreturn__)) to __dead. Prepare for committing to
NetBSD CVS by adding a .cvsignore or two, making Subversion ignore some
CVS/ directories, etc.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/arfe/Makefile
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/arfe/Makefile.inc
cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/arfe/README
cvs rdiff -u -r1.7 -r1.8 othersrc/external/bsd/arfe/dt/Makefile
cvs rdiff -u -r1.12 -r1.13 othersrc/external/bsd/arfe/dt/README
cvs rdiff -u -r1.6 -r1.7 othersrc/external/bsd/arfe/dt/core.c \
othersrc/external/bsd/arfe/dt/macaddr.c
cvs rdiff -u -r1.5 -r1.6 othersrc/external/bsd/arfe/dt/core.h
cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/arfe/dt/dec.c \
othersrc/external/bsd/arfe/dt/dec.h \
othersrc/external/bsd/arfe/dt/macaddr.h
cvs rdiff -u -r1.17 -r1.18 othersrc/external/bsd/arfe/dt/dt.c
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/arfe/dt/eol.c \
othersrc/external/bsd/arfe/dt/eol.h othersrc/external/bsd/arfe/dt/space.c \
othersrc/external/bsd/arfe/dt/space.h
cvs rdiff -u -r1.8 -r1.9 othersrc/external/bsd/arfe/dt/hex.c \
othersrc/external/bsd/arfe/dt/hex.h othersrc/external/bsd/arfe/dt/ipv4.c \
othersrc/external/bsd/arfe/dt/ipv4.h
cvs rdiff -u -r1.4 -r1.5 othersrc/external/bsd/arfe/dt/portability.h \
othersrc/external/bsd/arfe/dt/testit
cvs rdiff -u -r1.1 -r1.2 othersrc/external/bsd/arfe/dt/sym.c \
othersrc/external/bsd/arfe/dt/sym.h
cvs rdiff -u -r1.6 -r1.7 \
othersrc/external/bsd/arfe/dt/rr/ifconfig.0-logger-ifconfig.0 \
othersrc/external/bsd/arfe/dt/rr/logger-ifconfig.0-ifconfig.0
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/arfe/hlog/.cvsignore \
othersrc/external/bsd/arfe/hlog/Makefile \
othersrc/external/bsd/arfe/hlog/hlog.c \
othersrc/external/bsd/arfe/hlog/hlog.h
cvs rdiff -u -r1.6 -r1.7 othersrc/external/bsd/arfe/it/Makefile
cvs rdiff -u -r1.10 -r1.11 othersrc/external/bsd/arfe/it/README
cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/arfe/it/it.c
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/arfe/mk/helpers.mk
cvs rdiff -u -r1.4 -r1.5 othersrc/external/bsd/arfe/tt/Makefile \
othersrc/external/bsd/arfe/tt/tt.c
cvs rdiff -u -r1.7 -r1.8 othersrc/external/bsd/arfe/tt/README
cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/arfe/tt/testit.sh
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/arfe/tt/tests/6/expected-output \
othersrc/external/bsd/arfe/tt/tests/6/input \
othersrc/external/bsd/arfe/tt/tests/6/match \
othersrc/external/bsd/arfe/tt/tests/6/transform
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