Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-16 | Bump copyright date to 2019. | Nick Mathewson | |
2018-07-05 | Fix every include path changed in the previous commit (automated) | Nick Mathewson | |
I am very glad to have written this script. | |||
2018-06-28 | Fix up the modules that include memarea.h (automated) | Nick Mathewson | |
2018-06-20 | Run rectify_include_paths.py | Nick Mathewson | |
2018-06-20 | Update copyrights to 2018. | Nick Mathewson | |
2017-09-15 | Merge branch 'scan-build-032' | Nick Mathewson | |
2017-09-15 | Run our #else/#endif annotator on our source code. | Nick Mathewson | |
2017-09-12 | Fix unit test that likes to cast integers to void* | Nick Mathewson | |
2017-07-10 | Make consdiff tests pass on OS X too | Matt Traudt | |
2017-05-04 | Add a test for $ with non-delete commands. | Nick Mathewson | |
2017-05-04 | bug#22143/prop#140: Use <n>,$d commands in diffs to remove signatures | Nick Mathewson | |
In this patch I add support for "delete through end of file" in our ed diff handler, and generate our diffs so that they remove everything after in the consensus after the signatures begin. | |||
2017-05-03 | bug#22143/prop#140: identify input diffs by their digest-as-signed | Nick Mathewson | |
See may 3 changes to prop140 for more background. | |||
2017-04-24 | Merge branch 'consdiff_numeric_squashed' | Nick Mathewson | |
2017-04-24 | consdiff: Reject ranges with non-numeric chars | Sebastian Hahn | |
Fixes bug #21964 | |||
2017-04-18 | missing smartlist_free in new consdiff test | Nick Mathewson | |
2017-04-18 | Merge remote-tracking branches 'sebastian/consdiff_add' and ↵ | Nick Mathewson | |
'sebastian/consdiff_newline' | |||
2017-04-17 | Fix diff generation with line added at start | Sebastian Hahn | |
The consdiff generation logic would skip over lines added at the start of the second file, and generate a diff that it would the immediately refuse because it couldn't be used to reproduce the second file from the first. Fixes #21996. | |||
2017-04-17 | Don't accept ranges for add commands in consdiff | Sebastian Hahn | |
Fixes ticket #21963 | |||
2017-03-16 | Avoid all needless memory copies when computing consensus diffs. | Nick Mathewson | |
Previously, we operated on smartlists of NUL-terminated strings, which required us to copy both inputs to produce the NUL-terminated strings. Then we copied parts of _those_ inputs to produce an output smartlist of NUL-terminated strings. And finally, we concatenated everything into a final resulting string. This implementation, instead, uses a pointer-and-extent pattern to represent each line as a pointer into the original inputs and a length. These line objects are then added by reference into the output. No actual bytes are copied from the original strings until we finally concatenate the final result together. Bookkeeping structures and newly allocated strings (like ed commands) are allocated inside a memarea, to avoid needless mallocs or complicated should-I-free-this-or-not bookkeeping. In my measurements, this improves CPU performance by something like 18%. The memory savings should be much, much higher. | |||
2017-03-16 | Fix an abstraction violation. | Nick Mathewson | |
Don't alias the insides of smartlist_t; that way lies madness. | |||
2017-03-16 | prop140: Use sha3-256, not sha2-256 | Nick Mathewson | |
This is a protocol update from recent prop140 changes. Also, per #21673, we need to check the entire document, including signatures. | |||
2017-03-16 | Add a couple more cases to reach 100% coverage. | Nick Mathewson | |
2017-03-16 | Cover two more failing cases with unit tests | Nick Mathewson | |
2017-03-16 | Tweak&test log messages on apply_diff | Nick Mathewson | |
2017-03-16 | Check for expected warnings in apply_ed_diff | Nick Mathewson | |
2017-03-16 | test operator cleanup | Nick Mathewson | |
2017-03-16 | Enforce correct log messages on diff generation failure tests | Nick Mathewson | |
2017-03-16 | Test two more base64cmp cases. | Nick Mathewson | |
2017-03-16 | Use "STATIC" to export consdiff fns for testing | Nick Mathewson | |
Previously test_consdiff.c just did #include "consdiff.c", which is not great style, and messes up coverage testing. | |||
2017-03-16 | Consensus diff backend from Daniel Martí GSOC project. | Daniel Martí | |
(This commit was extracted by nickm based on the final outcome of the project, taking only the changes in the files touched by this commit from the consdiff_rebased branch. The directory-system changes are going to get worked on separately.) |