lix/tests/unit/libutil
eldritch horrors df8851f286 libutil: rewrite RewritingSink as source
the rewriting sink was just broken. when given a rewrite set that
contained a key that is also a proper infix of another key it was
possible to produce an incorrectly rewritten result if the writer
used the wrong block size. fixing this duplicates rewriteStrings,
to avoid this we'll rewrite rewriteStrings to use RewritingSource
in a new mode that'll allow rewrites we had previously forbidden.

Change-Id: I57fa0a9a994e654e11d07172b8e31d15f0b7e8c0
2024-07-11 11:39:18 +00:00
..
canon-path.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
chunked-vector.cc Add pre-commit checks 2024-03-29 22:57:40 -07:00
closure.cc libutil: de-callback-ify computeClosure 2024-05-07 14:35:20 +00:00
compression.cc BrotliDecompressionSource: don't bail out too early 2024-06-20 09:21:13 +03:00
config.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
escape-string.cc Add EscapeStringOptions and escapeString tests 2024-04-03 16:25:54 +00:00
fmt.cc abort with a descriptive message on bad HintFmt usage 2024-04-15 23:09:16 +00:00
generator.cc libutil: generator type with on-yield value mapping 2024-07-03 11:46:53 +00:00
git.cc Add pre-commit checks 2024-03-29 22:57:40 -07:00
hash.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
hilite.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
json-utils.cc fix: nlohmann::adl_serializer for std::optional (#9147) 2024-03-04 07:11:25 +01:00
logging.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
lru-cache.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
paths-setting.cc Add PathsSetting 2024-04-07 18:22:15 -07:00
pool.cc Revert "libutil: drop Pool resources on exceptional free" 2024-04-05 20:13:02 +00:00
references.cc libutil: rewrite RewritingSink as source 2024-07-11 11:39:18 +00:00
serialise.cc libutil: allow construction of sources from generators 2024-07-05 22:28:16 +00:00
shlex.cc Move shell_words into its own file 2024-03-26 16:44:04 -07:00
suggestions.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
tests.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
url-name.cc getNameFromURL(): Support uppercase characters in attribute names 2024-05-02 12:02:28 -06:00
url.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
xml-writer.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00