| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | 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. | |||||
| * | Add a yield_now() call to MockSleepProvider::advance() | Nick Mathewson | 2021-04-21 | 2 | -15/+26 | |
| | | | | | | | | | This is almost always what we want for testing: the task that is advancing time wants to give the other tasks a chance to run. Doing this turns MockSleepProvider::advance() into an async function. | |||||
| * | tor_rtcompat: add a yield_now() function. | Nick Mathewson | 2021-04-21 | 2 | -0/+83 | |
| | | ||||||
| * | More tests in tor-config | Nick Mathewson | 2021-04-21 | 2 | -0/+74 | |
| | | ||||||
| * | Only list the supported encodings in the `Accept-Encoding` header | Nick Mathewson | 2021-04-21 | 1 | -10/+27 | |
| | | | | | Closes #113 | |||||
| * | Use stream_pair() to write a test for tor_dirclient::download | Nick Mathewson | 2021-04-21 | 1 | -0/+50 | |
| | | ||||||
| * | Add a "socketpair"-style linked-reader/writer implementation for testing | Nick Mathewson | 2021-04-21 | 3 | -1/+261 | |
| | | ||||||
| * | Make zstd and xz compression optional, but on-by-default. | Nick Mathewson | 2021-04-21 | 2 | -3/+17 | |
| | | ||||||
| * | Disable a test on OSX; see arti#111 | Nick Mathewson | 2021-04-20 | 1 | -0/+5 | |
| | | ||||||
| * | Test for tor_dirclient::read_headers | Nick Mathewson | 2021-04-20 | 1 | -0/+39 | |
| | | ||||||
| * | Tests for tor_dirclient::read_and_decompress | Nick Mathewson | 2021-04-20 | 1 | -3/+86 | |
| | | ||||||
| * | Test for tor_dirclient::read_until_limited() | Nick Mathewson | 2021-04-20 | 1 | -0/+35 | |
| | | ||||||
| * | tor-dirclient: more requests.rs tests | Nick Mathewson | 2021-04-20 | 1 | -10/+69 | |
| | | ||||||
| * | Tests for sleep_until_wallclock. | Nick Mathewson | 2021-04-20 | 1 | -6/+175 | |
| | | ||||||
| * | A little more testing for tor_rtcompat::mock::time. | Nick Mathewson | 2021-04-20 | 1 | -0/+25 | |
| | | ||||||
| * | Add support for simulating the passage of time. | Nick Mathewson | 2021-04-19 | 3 | -0/+245 | |
| | | ||||||
| * | Add "now" functions to SleepProvider. | Nick Mathewson | 2021-04-19 | 2 | -2/+16 | |
| | | ||||||
| * | rtcompat: remove an unused conversion function. | Nick Mathewson | 2021-04-19 | 1 | -5/+0 | |
| | | ||||||
| * | Simple unit tests for tor_rtcompat: at last! | Nick Mathewson | 2021-04-19 | 3 | -0/+260 | |
| | | ||||||
| * | rtcompat: mark some outputs as must-use. | Nick Mathewson | 2021-04-19 | 2 | -0/+3 | |
| | | ||||||
| * | Clarify what TlsConnector doesn't validate. | Nick Mathewson | 2021-04-19 | 3 | -7/+12 | |
| | | ||||||
| * | Flatten async_std impl module slightly. | Nick Mathewson | 2021-04-19 | 1 | -31/+30 | |
| | | ||||||
| * | Flatten tokio TcpProvider implementation a bit. | Nick Mathewson | 2021-04-19 | 1 | -64/+35 | |
| | | ||||||
| * | Add a local_addr() function for TcpListener. | Nick Mathewson | 2021-04-18 | 3 | -1/+12 | |
| | | ||||||
| * | Fix some broken rustdoc links. | Nick Mathewson | 2021-04-18 | 3 | -5/+5 | |
| | | ||||||
| * | tor_rtcompat: Documentation and cleanups | Nick Mathewson | 2021-04-17 | 5 | -71/+240 | |
| | | ||||||
| * | Remove the no-longer-needed "global runtime" code. | Nick Mathewson | 2021-04-17 | 5 | -68/+54 | |
| | | ||||||
| * | Remove some cruft in tor_rtcompat::impls | Nick Mathewson | 2021-04-17 | 2 | -27/+4 | |
| | | ||||||
| * | Remove need for async_trait in SleepProviderExt | Nick Mathewson | 2021-04-17 | 1 | -11/+42 | |
| | | ||||||
| * | Move timer functions into an extension trait. | Nick Mathewson | 2021-04-17 | 10 | -143/+136 | |
| | | ||||||
| * | Move around the public modules in tor_rtcompat. | Nick Mathewson | 2021-04-17 | 14 | -15/+22 | |
| | | ||||||
| * | Remove all non-runtime methods in tor_rtcompat. | Nick Mathewson | 2021-04-16 | 11 | -89/+132 | |
| | | ||||||
| * | Add a "Runtime" parameter to all the manager types. | Nick Mathewson | 2021-04-16 | 12 | -58/+105 | |
| | | | | | | 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 | 10 | -74/+108 | |
| | | | | | | Now there is nothing in principle that you couldn't access from a Runtime implementation. | |||||
| * | Move the "sleep()" function from task to timer. | Nick Mathewson | 2021-04-16 | 2 | -11/+9 | |
| | | ||||||
| * | Make incoming Streams of TcpStream a real type for each backend. | Nick Mathewson | 2021-04-16 | 5 | -44/+92 | |
| | | | | | | This makes things a little more complicated for AsyncStd, and a little simpler for Tokio. | |||||
| * | Port tor_rtcompat::net to use Runtime objects. | Nick Mathewson | 2021-04-16 | 3 | -26/+56 | |
| | | ||||||
| * | Port tor_rtcompat::timer to use Runtime objects. | Nick Mathewson | 2021-04-16 | 3 | -29/+60 | |
| | | ||||||
| * | Begin a refactoring of tor-rtcompat to use runtime objects. | Nick Mathewson | 2021-04-16 | 5 | -27/+187 | |
| | | | | | | | | | So far, all traits are defined (I hope) and the task api is ported. With time I want to have none of the current "global runtime" APIs exposed, and just use Runtime objects instead. But that isn't just yet. | |||||
| * | rtcompat: rename traits module to impl_traits. | Nick Mathewson | 2021-04-16 | 2 | -2/+2 | |
| | | ||||||
| * | upgrade dalek dependencies | Nick Mathewson | 2021-04-14 | 1 | -2/+2 | |
| | | ||||||
| * | Fix a compilation problem with async_std. | Nick Mathewson | 2021-04-13 | 1 | -1/+1 | |
| | | | | | Thank you, CI! | |||||
| * | Replace tor-decompress with async-compression crate. | Nick Mathewson | 2021-04-13 | 7 | -439/+50 | |
| | | | | | This lets us simplify tor-dirclient a fair bit. Closes #79. | |||||
