| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Fix some warnings from nightly clippy | Nick Mathewson | 2021-05-07 | 3 | -8/+5 | |
| | | ||||||
| * | Resolve clippy warnings from Rust 1.52. | Nick Mathewson | 2021-05-07 | 10 | -50/+33 | |
| | | | | | | | | | | | Rust 1.52 just came out, and there are new clippy lints to deal with: * It spots more cases when we could use Option::map * It spots more cases when we could use Iterator::flatten * When we build a struct instance, it wants us to list the fields in the same order that the struct declares them. | |||||
| * | Use s.parse(), not u16::from_str_radix(s,10) | Nick Mathewson | 2021-05-07 | 1 | -1/+1 | |
| | | | | | | | | Clippy started warning on this with Rust 1.52. I'm fairly sure that when I wrote this code I was worried that <u16 as FromStr>::parse() might allow hex or something. But fortunately, it doesn't work that way, so I don't need to be paranoid here. | |||||
| * | tor-rtcompat: Add missing documentation for async_std.rs | Nick Mathewson | 2021-05-07 | 1 | -1/+22 | |
| | | ||||||
| * | Add some tests to tor-netdir. | Nick Mathewson | 2021-05-07 | 1 | -0/+138 | |
| | | ||||||
| * | More tests for tor-netdir::weight | Nick Mathewson | 2021-05-07 | 5 | -9/+124 | |
| | | ||||||
| * | Upgrade to latest RustCrypto crates. | Nick Mathewson | 2021-05-06 | 7 | -19/+21 | |
| | | ||||||
| * | Fix documentation warnings. | Nick Mathewson | 2021-05-05 | 8 | -11/+14 | |
| | | ||||||
| * | Add a consensus builder, for testing. | Nick Mathewson | 2021-05-05 | 6 | -9/+679 | |
| | | ||||||
| * | Add an authcert builder, for testing. | Nick Mathewson | 2021-05-05 | 2 | -0/+218 | |
| | | ||||||
| * | Add a microdesc builder, for testing. | Nick Mathewson | 2021-05-05 | 4 | -0/+281 | |
| | | ||||||
| * | Switch to v2 feature resolver. | Nick Mathewson | 2021-05-05 | 1 | -0/+2 | |
| | | ||||||
| * | A few easy tests in tor-dirmgr. | Nick Mathewson | 2021-05-04 | 4 | -10/+115 | |
| | | ||||||
| * | Repair multiprocess collaborative directory download. | Nick Mathewson | 2021-05-03 | 3 | -5/+7 | |
| | | ||||||
| * | dirmgr: a couple of tiny tests | Nick Mathewson | 2021-05-03 | 2 | -6/+31 | |
| | | ||||||
| * | Add trait_duplication_in_bounds warning. | Nick Mathewson | 2021-05-03 | 22 | -0/+22 | |
| | | ||||||
| * | Add unseparated_literal_suffix lint, and fix it. | Nick Mathewson | 2021-05-03 | 42 | -34/+56 | |
| | | ||||||
| * | Add a few more clippy warnings | Nick Mathewson | 2021-05-03 | 22 | -0/+110 | |
| | | ||||||
| * | tweak semantics of routerdesc docid | Nick Mathewson | 2021-05-03 | 1 | -1/+2 | |
| | | ||||||
| * | Add missing documention in tor-rtmock | Nick Mathewson | 2021-05-03 | 1 | -0/+1 | |
| | | ||||||
| * | Merge remote-tracking branch 'origin/mr/31' | Nick Mathewson | 2021-05-03 | 2 | -5/+7 | |
| |\ | ||||||
| | * | Fix experimental-api feature after refactoring | David Goulet | 2021-05-03 | 2 | -5/+7 | |
| |/ | | | | | | | | | Important refactoring happened recently which broke the "experimental-api" feature. Fixes are quite simple. Signed-off-by: David Goulet <[email protected]> | |||||
| * | whoops; forgot a git-add | Nick Mathewson | 2021-05-03 | 1 | -0/+22 | |
| | | ||||||
| * | Make the MockNetProvider builder non-consuming. | Nick Mathewson | 2021-05-03 | 2 | -48/+43 | |
| | | ||||||
| * | Add warnings to tor-rtmock | Nick Mathewson | 2021-05-03 | 1 | -0/+11 | |
| | | ||||||
| * | Bump regex and memchr versions | Nick Mathewson | 2021-05-03 | 2 | -2/+2 | |
| | | ||||||
| * | Split mocking parts of rtcompat into new rtmock crate. | Nick Mathewson | 2021-05-03 | 15 | -193/+194 | |
| | | | | | | Since these parts are testing-only, let's take steps to make sure we don't ship them in production by accident. | |||||
| * | bump to latest async_io | Nick Mathewson | 2021-05-03 | 1 | -1/+1 | |
| | | ||||||
| * | Much-improved tests for tor_chanmgr::builder | Nick Mathewson | 2021-04-30 | 4 | -1/+147 | |
| | | | | | | | Now that we have MockNetRuntime and MockSleepRuntime, we can use them to test a channel-builder by replaying the contents of a TLS stream that it will accept. | |||||
| * | Make `now` an argument when verifying a channel. | Nick Mathewson | 2021-04-30 | 1 | -4/+7 | |
| | | | | | | It turns out that we want to take `now` from the Runtime, to make higher level code testable. | |||||
| * | note a small divergence in circuit id probing behavior. | Nick Mathewson | 2021-04-29 | 1 | -0/+2 | |
| | | ||||||
| * | Note a limitation in MockSleepProvider::advance | Nick Mathewson | 2021-04-28 | 2 | -5/+7 | |
| | | ||||||
| * | Remove most pin_project usage in tor_rtcompat. | Nick Mathewson | 2021-04-28 | 4 | -65/+40 | |
| | | ||||||
| * | Remove pin_project usage in tor-proto. | Nick Mathewson | 2021-04-28 | 3 | -54/+45 | |
| | | | | | Turns out we didn't need it. | |||||
| * | Define a runtime wrapper to override the network. | Nick Mathewson | 2021-04-28 | 4 | -0/+104 | |
| | | ||||||
| * | Add a mock TLS provider. | Nick Mathewson | 2021-04-28 | 1 | -27/+203 | |
| | | ||||||
| * | Add a MockNetwork structure for testing. | Nick Mathewson | 2021-04-28 | 3 | -0/+477 | |
| | | | | | | This isn't a shadow replacement: it's just a testing fixture that we can use to try out code that wants to connect and/or listen. | |||||
| * | Add some more clippy warnings to our list. | Nick Mathewson | 2021-04-27 | 21 | -22/+127 | |
| | | ||||||
| * | Enforce (and obey) clippy lints about exhaustive enums, structs. | Nick Mathewson | 2021-04-27 | 43 | -1/+98 | |
| | | | | | | | | | These lints force us to declare our exported enums and exhaustive-looking structs as non-exhaustive (so that we can add to them in the future without breaking our API) or to explicitly disable the warning for a given enum/struct (to say that we _intend_ for additions to be a breaking change). | |||||
| * | cargo fix --edition-idioms | Nick Mathewson | 2021-04-26 | 4 | -10/+10 | |
| | | ||||||
| * | upgrade httparse and zeroize | Nick Mathewson | 2021-04-25 | 4 | -4/+4 | |
| | | ||||||
| * | Small doc fix. | Nick Mathewson | 2021-04-24 | 1 | -1/+1 | |
| | | ||||||
| * | Merge branch 'chanmgr_refactor_and_test' | Nick Mathewson | 2021-04-23 | 11 | -684/+922 | |
| |\ | | | | | | | | | | | This is an apparent test coverage reduction in chanmgr, but that's only apparent: it actually throws away a lot of untested code that was previously hidden. | |||||
| | * | Another test in ChanMgr, for TargetInfo. | Nick Mathewson | 2021-04-23 | 1 | -0/+19 | |
| | | | ||||||
| | * | Refactor and simplify ChanMgr to use AbstractChanMgr. | Nick Mathewson | 2021-04-23 | 9 | -680/+176 | |
| | | | ||||||
| | * | Full documentations on the new parts of ChanMgr. | Nick Mathewson | 2021-04-23 | 2 | -24/+157 | |
| | | | ||||||
| | * | Start on tests for reactored ChanMsg. | Nick Mathewson | 2021-04-23 | 3 | -50/+350 | |
| | | | ||||||
| | * | Begin refactoring ChanMgr to have better separation of concerns | Nick Mathewson | 2021-04-22 | 4 | -0/+290 | |
| |/ | | | | | Additionally: Use futures::future::Shared instead of event_listener. | |||||
| * | Define a helper for replacing the sleep functionality of a runtime. | Nick Mathewson | 2021-04-22 | 3 | -0/+93 | |
| | | ||||||
| * | Stop using anyhow in tor_chanmgr. | Nick Mathewson | 2021-04-22 | 4 | -17/+33 | |
| | | | | | | It seemed like a good idea at first, but we need to be able to tell the difference between these error types more easily. | |||||
