| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | Fix more typos in comments, from a spellchecker | Ian Jackson | 2022-06-09 | 1 | -6/+6 | |
| | | | | | | ||||||
| | * | | | | Fix typo in comment | Nick Mathewson | 2022-06-09 | 1 | -1/+1 | |
| | | | | | | ||||||
| | * | | | | Fix erroneous comment | Nick Mathewson | 2022-06-09 | 1 | -1/+1 | |
| | | | | | | ||||||
| | * | | | | Fix typos in comments | Nick Mathewson | 2022-06-09 | 1 | -3/+3 | |
| | | | | | | ||||||
| | * | | | | tor-proto: padding: Test padding timer distribution | Ian Jackson | 2022-06-08 | 3 | -0/+235 | |
| | | | | | | ||||||
| | * | | | | tor-proto: channel: Use padding::Timer | Ian Jackson | 2022-06-08 | 3 | -12/+44 | |
| | | | | | | ||||||
| | * | | | | tor-proto: channel: Provide padding::Timer | Ian Jackson | 2022-06-08 | 5 | -0/+412 | |
| | | | | | | ||||||
| * | | | | | Merge branch 'format-ids' into 'main' | Ian Jackson | 2022-06-10 | 3 | -28/+52 | |
| |\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | Replace four very similar "ids in request" See merge request tpo/core/arti!577 | |||||
| | * | | | | dirclient: Fix comments re conssensus request without authorities | Ian Jackson | 2022-06-10 | 1 | -5/+3 | |
| | | | | | | ||||||
| | * | | | | dirclient: Replace four very similar "ids in request" | Ian Jackson | 2022-06-09 | 3 | -28/+46 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In reviewing !553 I noticed that the empty digest list error had to be handled in two places. I filed #492 about the duplication. In fact it turns out to have been quadruplication. The new code also avoids cloning the underlying objects, instead sorting a Vec of references. | |||||
| | * | | | | dirclient: Test consensus request based on empty ConsensusRequest | Ian Jackson | 2022-06-09 | 1 | -0/+8 | |
| | |/ / / | | | | | | | | | | | | | | | | | | | | | I'm not sure this is right. But providing a test case for it before my next change ensures that my refactoring doesn't change the behaviour. | |||||
| * | | | | Merge branch 'typos' into 'main' | Ian Jackson | 2022-06-10 | 2 | -4/+4 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Fix typos See merge request tpo/core/arti!578 | |||||
| | * | | | | Fix typos | Dimitris Apostolou | 2022-06-10 | 2 | -4/+4 | |
| |/ / / / | ||||||
| * | | | | Merge branch 'nested-read-write' into 'main' | Ian Jackson | 2022-06-09 | 7 | -24/+223 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Introduce and use nested length reader/writers See merge request tpo/core/arti!572 | |||||
| | * | | | | Fix typos in docs and comments | Nick Mathewson | 2022-06-09 | 1 | -2/+2 | |
| | | | | | | ||||||
| | * | | | | tor-cell: udp: Remove manual length calculations | Ian Jackson | 2022-06-09 | 2 | -23/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This does away entirely with `wire_addr_len`, which recapitulates the length calculation. | |||||
| | * | | | | tor-bytes: Provide nested writers | Ian Jackson | 2022-06-09 | 3 | -1/+118 | |
| | | | | | | ||||||
| | * | | | | tor-bytes: Provide nested readers | Ian Jackson | 2022-06-09 | 2 | -0/+70 | |
| | | | | | | ||||||
| | * | | | | tor-bytes: Reader: Provide take_rest | Ian Jackson | 2022-06-09 | 2 | -0/+20 | |
| | | | | | | | | | | | | | | | | | | | | | We'll want this in a moment. | |||||
| | * | | | | tor-bytes: Prepare errors for nested reader/writer | Ian Jackson | 2022-06-09 | 1 | -1/+5 | |
| |/ / / / | | | | | | | | | | | | | Writing is going to be able to give errors too. | |||||
| * | | | | Merge branch 'clippy' into 'main' | Nick Mathewson | 2022-06-09 | 2 | -0/+7 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | clippy: Allow dbg in tests *again* See merge request tpo/core/arti!575 | |||||
| | * | | | | Fix typo in clippy-nightly.toml | Nick Mathewson | 2022-06-09 | 1 | -1/+1 | |
| | | | | | | ||||||
| | * | | | | clippy: Allow dbg in tests *again* | Ian Jackson | 2022-06-08 | 2 | -0/+7 | |
| | |/ / / | | | | | | | | | | | | | *sigh* | |||||
| * | | | | Merge branch 'topo' into 'main' | Nick Mathewson | 2022-06-09 | 5 | -44/+87 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix topo sorting of Cargo.toml and reorganise CI jobs a bit Closes #495 See merge request tpo/core/arti!576 | |||||
| | * | | | | CI: Break out maint/via-cargo-install | Ian Jackson | 2022-06-08 | 2 | -7/+12 | |
| | | | | | | ||||||
| | * | | | | CI: Break out some fastish Rust checks into new "build" step | Ian Jackson | 2022-06-08 | 1 | -7/+15 | |
| | | | | | | ||||||
| | * | | | | CI: Break out some fast checks using debian image | Ian Jackson | 2022-06-08 | 1 | -3/+8 | |
| | | | | | | ||||||
| | * | | | | maint/check_toposort: Run in CI | Ian Jackson | 2022-06-08 | 1 | -0/+2 | |
| | | | | | | ||||||
| | * | | | | Revert toplevel part of "Lexically sort Cargo.toml dependencies" | Ian Jackson | 2022-06-08 | 1 | -26/+26 | |
| | | | | | | | | | | | | | | | | | | | | | This reverts one file from commit bfd41ddb5fefe8808c33669c508dde4325808e35. | |||||
| | * | | | | maint/cargo_sort: Tolerate toplevel Cargo.toml not being sorted | Ian Jackson | 2022-06-08 | 1 | -2/+25 | |
| | | | | | | ||||||
| | * | | | | maint/toposort: Make shebang be python3, not python | Ian Jackson | 2022-06-08 | 1 | -1/+1 | |
| | |/ / / | | | | | | | | | | | | | | | | | Otherwise it doesn't work on sane systems where /usr/bin/python is never an incompatible version from previously. | |||||
| * | | | | Merge branch 'less-servfail' into 'main' | Ian Jackson | 2022-06-09 | 7 | -15/+46 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | return nodata instead of servfail in some instances See merge request tpo/core/arti!564 | |||||
| | * | | | | Change to exhaustive match. | Ian Jackson | 2022-06-08 | 1 | -1/+2 | |
| | | | | | | ||||||
| | * | | | | update semver.md | trinity-1686a | 2022-06-08 | 1 | -0/+1 | |
| | | | | | | ||||||
| | * | | | | try to differentiate transient from nontransient error | trinity-1686a | 2022-06-08 | 6 | -14/+33 | |
| | | | | | | ||||||
| | * | | | | return nodata instead of servfail in some instances | trinity-1686a | 2022-06-08 | 1 | -3/+13 | |
| | |/ / / | ||||||
| * | | | | Merge branch 'doc' into 'main' | Nick Mathewson | 2022-06-08 | 1 | -2/+2 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | Fix a doc link See merge request tpo/core/arti!573 | |||||
| | * | | | Fix a second docs link | Ian Jackson | 2022-06-08 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Fix a doc link | Ian Jackson | 2022-06-08 | 1 | -1/+1 | |
| |/ / / | ||||||
| * | | | Merge branch 'sleep' into 'main' | Ian Jackson | 2022-06-08 | 13 | -64/+143 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Plumb a SleepProvider (now Clone + ....) into Channel See merge request tpo/core/arti!569 | |||||
| | * | | | Document semver changes | Ian Jackson | 2022-06-08 | 2 | -0/+2 | |
| | | | | | ||||||
| | * | | | Plumb a SleepProvider into the channel reactor | Ian Jackson | 2022-06-08 | 6 | -58/+122 | |
| | | | | | | | | | | | | | | | | | | | | | The channel reactor is going to want to be able to sleep so that it can do padding, so it needs a SleepProvider. | |||||
| | * | | | rt-compat: Make all the individual runtime traits Clone+Send etc. | Ian Jackson | 2022-06-08 | 5 | -6/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will make it much more convenient for code that only wants one of these traits (or a subset of them). This is a good thing to support because it will allow us to use a ZST in places that do not need an actual async runtime handle (typically, the runtime handle is needed only for spawn). | |||||
| * | | | | Fix a rustdoc link. | Nick Mathewson | 2022-06-07 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Merge branch 'use-testing-rng' | Nick Mathewson | 2022-06-07 | 30 | -126/+141 | |
| |\ \ \ \ | ||||||
| | * | | | | Sort tor-rtmock dependencies. | Nick Mathewson | 2022-06-07 | 1 | -1/+1 | |
| | | | | | | ||||||
| | * | | | | Rewrite tests in tor-netdir to use testing_rng() | Nick Mathewson | 2022-06-02 | 4 | -76/+37 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The randomized tests in this crate take a lot of iterations to converge, so they default to using a deterministic PRNG seed with few iterations and higher tolerance, and they only randomize the tests (with more iterations and tighter tolerances) when you explicitly opt in to randomization. (If you specify a seed explicitly, you're doing that to reproduce a randomized case, so we use the same behavior.) | |||||
| | * | | | | Refactor fallback-set tests to work with deterministic PRNG. | Nick Mathewson | 2022-06-02 | 1 | -10/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The trouble was that one of the helper functions they used did not take a PRNG as an argument. | |||||
| | * | | | | Use testing_rng() in tests throughout our crates. | Nick Mathewson | 2022-06-02 | 29 | -41/+70 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This only affects uses of thread_rng(), and affects them all more or less indiscriminately. One test does not work with ARTI_TEST_PRNG=deterministic; the next commit will fix it. | |||||
| * | | | | | Merge branch 'netdir_provider_in_guardmgr_v2' into 'main' | Nick Mathewson | 2022-06-07 | 7 | -66/+190 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use NetDirProvider in GuardMgr Closes #93 See merge request tpo/core/arti!568 | |||||
