| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | tor_memtrack: Use DropBombCondition in refcount.rs | Ian Jackson | 2024-04-24 | 2 | -12/+74 | |
| | | | | | | | | | | | | | | | | | | | In addition to the in-module, switchable, tests, I have done an ad-hoc test, removing the Drop impl for Participation, and it crashes in a test as expected. | |||||
| | * | | tor-memtrack: New DropBombCondition type | Ian Jackson | 2024-04-24 | 2 | -5/+191 | |
| | | | | | | | | | | | | | This will be used by refcount and bookkeeping. | |||||
| | * | | tor-memtrack: Add test cases for drop_reentrancy | Ian Jackson | 2024-04-24 | 1 | -0/+39 | |
| | | | | ||||||
| | * | | tor_memtrack: Soup up DropBomb and make into its own module | Ian Jackson | 2024-04-24 | 5 | -65/+335 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | And make it testable. In addition to the in-module tests, I have done an ad-hoc test, removing the .promise call from deferred_drop, and it does panic in the test cawe as desired. | |||||
| * | | | Circuit reactor: document some requirements and assumptions | Jim Newsome | 2024-04-25 | 1 | -10/+42 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | There are some tricky bits here that implicitly assume particular behavior in other bits for correctness. Document these requirements and assumptions. Fixes arti#1373 | |||||
| * | | | Mark tor_dirmgr::storage::Store::consensus_by_meta cfg(test) | Ian Jackson | 2024-04-25 | 2 | -0/+2 | |
| | | | | | | | | | | | | | This seems to be used only in tests, since at least 2022. | |||||
| * | | | Delete duplicate KeySpecifierComponentPrettyHelper | Ian Jackson | 2024-04-25 | 1 | -9/+0 | |
| | | | | | | | | | | | | | This had somehow got duplicated; remove the one in derive.rs. | |||||
| * | | | Add temporary allows for some dead code warnings | Ian Jackson | 2024-04-25 | 4 | -0/+5 | |
| | | | | ||||||
| * | | | Add a dead code allow in RPC code | Ian Jackson | 2024-04-25 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | Suppress a spurious dead code lint | Ian Jackson | 2024-04-25 | 1 | -0/+1 | |
| | |/ |/| | ||||||
| * | | tor-circmgr: Loop until we run out of circuits to launch. | Gabriela Moldovan | 2024-04-25 | 1 | -1/+1 | |
| |/ | | | | | Previously this would only loop `n_to_launch - 1` times, so the pool was always 1 circuit short of the `n_to_launch` target. | |||||
| * | Merge branch 'misc-nightly-warnings' into 'main' | Alexander Færøy | 2024-04-23 | 11 | -19/+21 | |
| |\ | | | | | | | | | | | | | Clean up various nightly clippy warnings Closes #1379 See merge request tpo/core/arti!2097 | |||||
| | * | Use clone_from in CircMgr config updater. | Nick Mathewson | 2024-04-22 | 1 | -1/+3 | |
| | | | | | | | | | | | Clippy prefers this idiom as potentially more efficient. It's not critical-path, but let's let clippy have its way. | |||||
| | * | Fix recursive impl for arti_client::Error. | Nick Mathewson | 2024-04-22 | 1 | -1/+1 | |
| | | | | | | | | | This is an actual bug. Closes #1379. | |||||
| | * | dirmgr: Use contains_key in check. | Nick Mathewson | 2024-04-22 | 1 | -1/+1 | |
| | | | ||||||
| | * | Use uXX::MAX in place of std::uXX::MAX | Nick Mathewson | 2024-04-22 | 8 | -14/+14 | |
| | | | | | | | | | | | | | The old code produced a warning from clippy nightly; we may as well update to use the new associated consts. (They've been there since Rust 1.4x.) | |||||
| | * | proto: Simplify a check-and-convert to use try_into+expect | Nick Mathewson | 2024-04-22 | 1 | -2/+2 | |
| | | | ||||||
| * | | tor-memtrack: Explain lack of thread parallelism in notify_victims | Ian Jackson | 2024-04-23 | 1 | -0/+6 | |
| | | | ||||||
| * | | tor-error: Fix message for LocalResourceExhausted | Ian Jackson | 2024-04-23 | 1 | -1/+1 | |
| | | | ||||||
| * | | Rustfmt | Ian Jackson | 2024-04-23 | 1 | -2/+2 | |
| | | | ||||||
| * | | tor-memtrack: Explain the code structure in reclaim::inner_loop | Ian Jackson | 2024-04-23 | 1 | -0/+4 | |
| | | | ||||||
| * | | tor-memtrack: Break out aid_and_children_recursively | Ian Jackson | 2024-04-23 | 2 | -14/+24 | |
| | | | | | | | | | | | As per paras 2- of https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021478 | |||||
| * | | tor-memtrack: Remove an unused mut | Ian Jackson | 2024-04-23 | 1 | -1/+1 | |
| | | | | | | | | | | | As per para 1 of https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021478 | |||||
| * | | tor-memtrack: Correct doc comment for `reclaim::inner_loop` | Ian Jackson | 2024-04-23 | 1 | -1/+5 | |
| | | | | | | | | | | | Addresses https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021475 | |||||
| * | | tor-memtrack: Explain the relationship to `mtracker` better | Ian Jackson | 2024-04-23 | 1 | -1/+4 | |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021473 | |||||
| * | | tor-memtrack: Clarify what "stuff of ours" might be dropped | Ian Jackson | 2024-04-23 | 1 | -1/+2 | |
| | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021471 | |||||
| * | | tor-memtrack: Add xref to help explain drop_reentrancy | Ian Jackson | 2024-04-23 | 1 | -0/+2 | |
| | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021467 https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021470 | |||||
| * | | tor-memtrack: Explain drop impl for GuardWithDeferredDrop in prod | Ian Jackson | 2024-04-23 | 1 | -0/+8 | |
| | | | ||||||
| * | | tor-memtrack: Correct "reentrant" terminology | Ian Jackson | 2024-04-23 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-memtrack: Explain why drop_reentrancy no-op ok outside tests | Ian Jackson | 2024-04-23 | 1 | -0/+15 | |
| | | | ||||||
| * | | tor-memtrack: Avoid accidental poisoning during claim | Ian Jackson | 2024-04-23 | 1 | -0/+7 | |
| | | | ||||||
| * | | tor-memtrack: Explain what poisoned total state is for | Ian Jackson | 2024-04-23 | 1 | -0/+2 | |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021460 | |||||
| * | | tor-memtrack: Clarify error message about ratio | Ian Jackson | 2024-04-23 | 1 | -1/+1 | |
| | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021444 | |||||
| * | | tor-memtrack: Clarify behavioural comment | Ian Jackson | 2024-04-23 | 1 | -1/+1 | |
| | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021436 | |||||
| * | | tor-memtrack: Set Cargo categories | Ian Jackson | 2024-04-23 | 1 | -2/+1 | |
| | | | | | | | | | | | Adopting suggestion from https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2091#note_3021435 | |||||
| * | | tor-memtrack: Docs fixes | gabi-250 | 2024-04-23 | 2 | -2/+2 | |
| | | | ||||||
| * | | tor-memtrack: Add a let binding to clarify | gabi-250 | 2024-04-23 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-memtrack: Fix docs typo | gabi-250 | 2024-04-23 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-memtrack: say how to get an `Account` | gabi-250 | 2024-04-23 | 1 | -0/+2 | |
| | | | ||||||
| * | | tor-memtrack: Say how to get a `Participation` | gabi-250 | 2024-04-23 | 1 | -0/+3 | |
| | | | ||||||
| * | | tor-memtrack: Fix docs typos | gabi-250 | 2024-04-23 | 2 | -2/+2 | |
| | | | ||||||
| * | | tor-memtrack: Doc fixes | gabi-250 | 2024-04-23 | 2 | -5/+5 | |
| | | | ||||||
| * | | tor-memtrack: Docs fixes/improvements | gabi-250 | 2024-04-23 | 2 | -2/+2 | |
| | | | ||||||
| * | | tor-memtrack: Fix various typos | gabi-250 | 2024-04-23 | 3 | -3/+3 | |
| | | | ||||||
| * | | tor-memtrack: Clarify a doc comment | gabi-250 | 2024-04-23 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-memtrack: Doc comment: Fix erroneous module reference | gabi-250 | 2024-04-23 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-memtrack: Fix doc comment (and change capitalisation) | gabi-250 | 2024-04-23 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-memtrack: Fix doc comment grammar | gabi-250 | 2024-04-23 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-memtrack: Clarify a doc comment | gabi-250 | 2024-04-23 | 1 | -2/+2 | |
| | | | ||||||
| * | | tor-memtrack: Add a doctest example for mtracker | Ian Jackson | 2024-04-23 | 1 | -0/+56 | |
| | | | ||||||
