Sebastian Hahn
|
5a7e39c0cb
Fix diff generation with line added at start
|
7 jaren geleden |
Nick Mathewson
|
eca9b3424d
consdiff: Fix 32-bit compilation.
|
7 jaren geleden |
Nick Mathewson
|
643c9078c9
Switch ed-command parsing to use tor_parse_long.
|
7 jaren geleden |
Nick Mathewson
|
672e2a5461
Consdiff: extract router ID hash iteration functions
|
7 jaren geleden |
Nick Mathewson
|
83049cebc0
Make CONSENSUS_LINE_MAX_LEN a real define
|
7 jaren geleden |
Nick Mathewson
|
5e81436428
Remove a couple of {\n\n instances
|
7 jaren geleden |
Nick Mathewson
|
e84276124b
Use a better for X outside of base64_compare_table.
|
7 jaren geleden |
Nick Mathewson
|
91e3250bf1
Reindent a few labels.
|
7 jaren geleden |
Nick Mathewson
|
d8c129a11a
Avoid all needless memory copies when computing consensus diffs.
|
7 jaren geleden |
Nick Mathewson
|
52fa6bb947
Swap memory allocation strategy for lists of lines for diffs
|
7 jaren geleden |
Nick Mathewson
|
b36e311eab
Fill in the missing documentation on the new functions
|
7 jaren geleden |
Nick Mathewson
|
12d428aaff
Prop140: Fix a crash bug.
|
7 jaren geleden |
Nick Mathewson
|
653c6d129e
Make consensus diff sha3 operations mockable.
|
7 jaren geleden |
Nick Mathewson
|
6a36e5ff3b
String-based API for consensus diffs.
|
7 jaren geleden |
Nick Mathewson
|
eff9fbd17d
Fix an abstraction violation.
|
7 jaren geleden |
Nick Mathewson
|
69b3e11e59
Use "const" in consdiff.[ch]
|
7 jaren geleden |
Nick Mathewson
|
3647751c2a
prop140: Use sha3-256, not sha2-256
|
7 jaren geleden |
Nick Mathewson
|
e1418c09fc
Fix an unreachable memory leak.
|
7 jaren geleden |
Nick Mathewson
|
f193b666cd
Remove digest[12]_hex
|
7 jaren geleden |
Nick Mathewson
|
c6046f4db8
Tweak&test log messages on apply_diff
|
7 jaren geleden |
Nick Mathewson
|
5766eed38f
Fixes when applying diffs: Allow 2-line diffs, fix bogus free
|
7 jaren geleden |
Nick Mathewson
|
ab1fd85c99
Mark some warnings as bugs, and as (hopefully) unreachable.
|
7 jaren geleden |
Nick Mathewson
|
06017f35e8
Fix some logging on failed apply_ed_diff
|
7 jaren geleden |
Nick Mathewson
|
97620cf18f
No need to end a log message with newline.
|
7 jaren geleden |
Nick Mathewson
|
360d043ac7
Use "STATIC" to export consdiff fns for testing
|
7 jaren geleden |
Daniel Martí
|
590ffdb2c9
Consensus diff backend from Daniel Martí GSOC project.
|
7 jaren geleden |