| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | | | tor-memquota: Add an example for HasMemoryCost derive | Ian Jackson | 2024-10-02 | 3 | -0/+41 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-cell: Use HasMemoryCostStructural, rather than Copy | Ian Jackson | 2024-10-02 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2459#note_3086839 | |||||
| | * | | | | | | Abolish SIZE in favour of std::mem::size_of | Ian Jackson | 2024-10-02 | 2 | -22/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2459#note_3086837 | |||||
| | * | | | | | | tor-memquota: Provide explicit "indirect size" feature in derive | Ian Jackson | 2024-10-02 | 1 | -0/+6 | |
| | | | | | | | | ||||||
| | * | | | | | | Use std::num::NonZeroFoo | Ian Jackson | 2024-10-02 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not the generic version which isn't supported in our MSRV. We may want to revert this in the future, so let's make it a separate commit. | |||||
| | * | | | | | | Some HasMemoryCost impls in tor-proto | Ian Jackson | 2024-10-02 | 4 | -5/+15 | |
| | | | | | | | | ||||||
| | * | | | | | | Some HasMemoryCost impls in tor-cell | Ian Jackson | 2024-10-02 | 10 | -65/+169 | |
| | | | | | | | | ||||||
| | * | | | | | | Some HasMemoryCost impls in tor-linkspec | Ian Jackson | 2024-10-02 | 3 | -3/+11 | |
| | | | | | | | | ||||||
| | * | | | | | | Some HasMemoryCost impls in tor-hscrypto | Ian Jackson | 2024-10-02 | 3 | -0/+14 | |
| | | | | | | | | ||||||
| | * | | | | | | Some HasMemoryCost impls in tor-llcrypto | Ian Jackson | 2024-10-02 | 5 | -1/+21 | |
| | | | | | | | | ||||||
| | * | | | | | | Some HasMemoryCost impls in tor-units | Ian Jackson | 2024-10-02 | 3 | -1/+10 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-memquota: Export Account at the toplevel | Ian Jackson | 2024-10-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out we're mostly going to want to deal in Accounts, not Arc<MemoryQuotaaTracker>s. | |||||
| | * | | | | | | tor-memquota: Provide facilities for deriving HasMemoryCost | Ian Jackson | 2024-10-02 | 5 | -1/+345 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-memquota: Make EnabledToken constructors const | Ian Jackson | 2024-10-02 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be convenient in some tests etc. | |||||
| | * | | | | | | Bump tor-units up the crate stack | Ian Jackson | 2024-10-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're going to need this to use tor-memquota. | |||||
| * | | | | | | | Merge branch 'misc' into 'main' | Ian Jackson | 2024-10-02 | 3 | -0/+16 | |
| |\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | tor-proto: SometimesUnboundedSink: provide as_inner accessor See merge request tpo/core/arti!2483 | |||||
| | * | | | | | | memquota: Note a TODO about PT channels | Ian Jackson | 2024-10-02 | 1 | -0/+1 | |
| | | | | | | | | ||||||
| | * | | | | | | memquota: Note a TODO about overheads | Ian Jackson | 2024-10-02 | 1 | -0/+5 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-proto: SometimesUnboundedSink: provide as_inner accessor | Ian Jackson | 2024-10-02 | 1 | -0/+10 | |
| | | |_|_|_|/ | |/| | | | | ||||||
| * | | | | | | Merge branch 'tab' into 'main' | Ian Jackson | 2024-10-02 | 4 | -3/+53 | |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forbid hard tabs (and fix the one place in tree where there are some) See merge request tpo/core/arti!2488 | |||||
| | * | | | | | | forbid-hard-tabs: Improve doc comment | Ian Jackson | 2024-10-02 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2488#note_3087164 | |||||
| | * | | | | | | Run forbid-hard-tabs in CI | Ian Jackson | 2024-10-02 | 1 | -0/+1 | |
| | | | | | | | | ||||||
| | * | | | | | | bash-utils.sh: reject_options: Don't crash due to -u if no arguments | Ian Jackson | 2024-10-02 | 1 | -1/+1 | |
| | | | | | | | | ||||||
| | * | | | | | | Remove hard tabs in the one file that has them. | Ian Jackson | 2024-10-02 | 1 | -2/+2 | |
| | | | | | | | | ||||||
| | * | | | | | | Provide new forbid-hard-tabs script | Ian Jackson | 2024-10-02 | 1 | -0/+45 | |
| | |/ / / / / | ||||||
| * | | | | | | Merge branch 'mpsc-types' into 'main' | Ian Jackson | 2024-10-02 | 4 | -20/+40 | |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Introduce type aliases for some queues See merge request tpo/core/arti!2484 | |||||
| | * | | | | | | tor-proto: Introduce type alias for StreamReqSender | Ian Jackson | 2024-10-02 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will make it a little easier to change the type later. | |||||
| | * | | | | | | tor-proto: Introduce type aliases for stream queues (fmt) | Ian Jackson | 2024-10-02 | 1 | -4/+3 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-proto: Introduce type aliases for stream queues | Ian Jackson | 2024-10-02 | 4 | -18/+35 | |
| | |/ / / / / | | | | | | | | | | | | | | | | | | | This will make it easier to change their types. | |||||
| * | | | | | | Merge branch 'orport' into 'main' | David Goulet | 2024-10-02 | 3 | -131/+597 | |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-chanmgr: improvements to channel selection code See merge request tpo/core/arti!2477 | |||||
| | * | | | | | | tor-chanmgr: minor doc improvements | Steven Engler | 2024-10-01 | 1 | -3/+3 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-chanmgr: add unit tests | Steven Engler | 2024-10-01 | 1 | -0/+416 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-chanmgr: change `choose_best_channel` to take `IntoIterator` | Steven Engler | 2024-10-01 | 1 | -1/+3 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-chanmgr: don't allow pending channels with no relay ids | Steven Engler | 2024-10-01 | 2 | -2/+8 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-chanmgr: move channel selection logic to a new module | Steven Engler | 2024-10-01 | 2 | -162/+172 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-chanmgr: improve readability of `choose_best_channel` | Steven Engler | 2024-10-01 | 1 | -13/+45 | |
| | | |/ / / / | |/| | | | | ||||||
| * | | | | | | Merge branch 'ffi_seal' into 'main' | Nick Mathewson | 2024-10-02 | 1 | -34/+41 | |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | artilib: Take a different approach to sealing a pair of traits. See merge request tpo/core/arti!2472 | |||||
| | * | | | | | | artilib: Take a different approach to sealing a pair of traits. | Nick Mathewson | 2024-10-01 | 1 | -34/+41 | |
| | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | This resolves a "TODO MSRV" comment. | |||||
| * | | | | | | Merge branch 'close-channel-2' into 'main' | Nick Mathewson | 2024-10-02 | 5 | -13/+96 | |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide and implement SinkCloseChannel See merge request tpo/core/arti!2485 | |||||
| | * | | | | | | tor-async-utils: Fix typo. | Ian Jackson | 2024-10-02 | 1 | -1/+1 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-async-utils: SinkCloseChannel: Tidy up doc comment | Ian Jackson | 2024-10-02 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2485#note_3086969 | |||||
| | * | | | | | | tor-proto: Use trait methods for try_send and channel_close (fmt) | Ian Jackson | 2024-10-01 | 1 | -10/+7 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-proto: Use trait methods for try_send and channel_close | Ian Jackson | 2024-10-01 | 2 | -5/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prepares us to change the types of these queues. | |||||
| | * | | | | | | tor-memquota: Implement SinkChannelClose for mq_queue | Ian Jackson | 2024-10-01 | 1 | -1/+12 | |
| | | | | | | | | ||||||
| | * | | | | | | Provide SinkCloseChannel | Ian Jackson | 2024-10-01 | 2 | -0/+71 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The circuit reactor calls mpsc::Channel::close_channel, but we want to wrap up the mpsc, so we need to make this a trait method. | |||||
| * | | | | | | | Merge branch 'sink-try-send-2' into 'main' | Nick Mathewson | 2024-10-02 | 2 | -11/+94 | |
| |\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | tor-async-utils: SinkTrySend improvements See merge request tpo/core/arti!2490 | |||||
| | * | | | | | | tor-memquota: Test error handling paths in try_send impl | Ian Jackson | 2024-10-02 | 1 | -0/+54 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-memquota: Prepare for SinkTrySend tests | Ian Jackson | 2024-10-02 | 1 | -3/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement SinkTrySend for BustedSink. Implement SinkTrySendError for BustedError. Add an is_disconnected field (so we can test different error paths). | |||||
| | * | | | | | | tor-memquota: Make BustedSink contain the BustedError to yield (fmt) | Ian Jackson | 2024-10-02 | 1 | -1/+3 | |
| | | | | | | | | ||||||
| | * | | | | | | tor-memquota: Make BustedSink contain the BustedError to yield | Ian Jackson | 2024-10-02 | 1 | -8/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will let us test different errors. | |||||
