| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | linkspec: Define owned variants of ChanTarget and CircTarget. | Nick Mathewson | 2021-06-13 | 1 | -1/+1 |
| | | |||||
| * | Add noop_method_call warning. | Nick Mathewson | 2021-05-27 | 1 | -0/+1 |
| | | | | | | | This would have saved ahf and me a lot of confusion in debugging a situation where we were cloning a reference of a type that didn't implement Clone. | ||||
| * | Enable cargo_common_metadata warning. | Nick Mathewson | 2021-05-25 | 1 | -0/+1 |
| | | |||||
| * | Module docs for remaining crates | Nick Mathewson | 2021-05-25 | 1 | -2/+9 |
| | | |||||
| * | Add the "unreachable_pub" lint. | Nick Mathewson | 2021-05-18 | 1 | -0/+1 |
| | | | | | | | This is a somewhat obnoxious change in its scope and requirements, but it makes it easier to understand what the real public and private parts of our APIs are. | ||||
| * | Add trait_duplication_in_bounds warning. | Nick Mathewson | 2021-05-03 | 1 | -0/+1 |
| | | |||||
| * | Add unseparated_literal_suffix lint, and fix it. | Nick Mathewson | 2021-05-03 | 1 | -0/+1 |
| | | |||||
| * | Add a few more clippy warnings | Nick Mathewson | 2021-05-03 | 1 | -0/+5 |
| | | |||||
| * | Much-improved tests for tor_chanmgr::builder | Nick Mathewson | 2021-04-30 | 1 | -0/+2 |
| | | | | | | | 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. | ||||
| * | Add some more clippy warnings to our list. | Nick Mathewson | 2021-04-27 | 1 | -1/+6 |
| | | |||||
| * | Enforce (and obey) clippy lints about exhaustive enums, structs. | Nick Mathewson | 2021-04-27 | 1 | -0/+3 |
| | | | | | | | | | 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). | ||||
| * | Refactor and simplify ChanMgr to use AbstractChanMgr. | Nick Mathewson | 2021-04-23 | 1 | -394/+16 |
| | | |||||
| * | Begin refactoring ChanMgr to have better separation of concerns | Nick Mathewson | 2021-04-22 | 1 | -0/+1 |
| | | | | | | Additionally: Use futures::future::Shared instead of event_listener. | ||||
| * | Stop using anyhow in tor_chanmgr. | Nick Mathewson | 2021-04-22 | 1 | -9/+8 |
| | | | | | | It seemed like a good idea at first, but we need to be able to tell the difference between these error types more easily. | ||||
| * | Remove the no-longer-needed "global runtime" code. | Nick Mathewson | 2021-04-17 | 1 | -16/+16 |
| | | |||||
| * | Move timer functions into an extension trait. | Nick Mathewson | 2021-04-17 | 1 | -7/+5 |
| | | |||||
| * | Move around the public modules in tor_rtcompat. | Nick Mathewson | 2021-04-17 | 1 | -2/+2 |
| | | |||||
| * | Remove all non-runtime methods in tor_rtcompat. | Nick Mathewson | 2021-04-16 | 1 | -1/+1 |
| | | |||||
| * | Add a "Runtime" parameter to all the manager types. | Nick Mathewson | 2021-04-16 | 1 | -9/+22 |
| | | | | | | This is a big change, but it is a step towards our goal of removing tor_rtcompat:: calls directly. | ||||
| * | rtcompat: Make TLS functionality use Runtime traits. | Nick Mathewson | 2021-04-16 | 1 | -1/+1 |
| | | | | | | Now there is nothing in principle that you couldn't access from a Runtime implementation. | ||||
| * | Rename Rsa{Identity,Signature} to fix clippy warning. | Nick Mathewson | 2021-03-29 | 1 | -3/+3 |
| | | |||||
| * | Move responsibility for knowing about TLS into tor_rtcompat. | Nick Mathewson | 2021-03-23 | 1 | -2/+3 |
| | | | | | Now we don't need runtime-specific stuff in tor-chanmgr. | ||||
| * | Make a few async_test tests work correctly again. | Nick Mathewson | 2021-03-02 | 1 | -122/+131 |
| | | | | | | | For these, we need to call tor_rtcompat::task::block_on() directly, since they would crash with tokio enabled. Perhaps down the line we should look for a better fix here. | ||||
| * | De-parameterize ChanMgr and everything that wraps it. | Nick Mathewson | 2020-12-08 | 1 | -40/+21 |
| | | | | | | | | | | | | | | | This makes a whole lot of our code simpler, and makes it so that CircMgr and DirMgr no longer need to have anything parameterized over transports, either. Instead of boxing Transport inside of ChanMgr, I've made a new Connection trait that goes from a ChanTarget* straight to a Channel. This lets us avoid having to box the intermediate TLS object. [*] Actually, a copy of the information from a ChanTarget. Ick, but I had to make a copy to avoid parameterizing Connecter::build_channel. | ||||
| * | Mark some XXXX issues as XXXX-A1. | Nick Mathewson | 2020-12-07 | 1 | -1/+1 |
| | | |||||
| * | Run cargo fix --edition-idioms | Nick Mathewson | 2020-12-02 | 1 | -4/+4 |
| | | |||||
| * | Refactor first-hop handling types a bit | Nick Mathewson | 2020-11-17 | 1 | -5/+14 |
| | | | | | | | This lets us have the notion of "get the first hop of a path as some kind of a chantarget", which will make it easier to write other path types. | ||||
| * | Turn the channel "closed" method into an AtomicBool | Nick Mathewson | 2020-11-13 | 1 | -1/+1 |
| | | | | | This lets us make the test for closed channels non-async. | ||||
| * | Move a few immutable fields from ChannelImpl outside the lock. | Nick Mathewson | 2020-11-13 | 1 | -5/+4 |
| | | | | | | Since these don't change while the channel is alive, we don't need the lock to protect them. | ||||
| * | Make the Arc-ness of channels more explicit. | Nick Mathewson | 2020-11-12 | 1 | -9/+14 |
| | | | | | | | Previously every channel was a secret Arc<>, which I think is bad style, and which stopped us from using weak references in other places. | ||||
| * | tor-chanmgr: timeout support. | Nick Mathewson | 2020-11-11 | 1 | -7/+17 |
| | | |||||
| * | Isolate async_std usage in a new tor_rtcompat crate. | Nick Mathewson | 2020-11-11 | 1 | -24/+9 |
| | | | | | | Like tor_llcrypto, this crate is meant to expose only the part of other crates (in this case, a async runtime crate) that we use. | ||||
| * | Use anyhow in tor-circmgr and tor-chanmgr | Nick Mathewson | 2020-11-11 | 1 | -8/+9 |
| | | |||||
| * | chanmgr: Make sure chanmgr can be shared among threads | Nick Mathewson | 2020-11-04 | 1 | -14/+18 |
| | | |||||
| * | Document tor-circmgr | Nick Mathewson | 2020-11-02 | 1 | -0/+1 |
| | | |||||
| * | Tests for tor-chanmgr. | Nick Mathewson | 2020-10-30 | 1 | -6/+242 |
| | | |||||
| * | chanmgr: don't return closing channels. | Nick Mathewson | 2020-10-30 | 1 | -1/+11 |
| | | |||||
| * | Implement a channel-manager type to get or launch channels on request. | Nick Mathewson | 2020-10-30 | 1 | -0/+179 |
