| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | 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 | |
| | | | | ||||||
| | * | | tor-memtrack: Provide an error for callers to use | Ian Jackson | 2024-04-23 | 3 | -1/+52 | |
| | | | | ||||||
| | * | | tor-memtrack: Comment out some false docs, with some TODOs | Ian Jackson | 2024-04-23 | 1 | -6/+8 | |
| | | | | ||||||
| | * | | tor-memtrack: Remove dead code allows | Ian Jackson | 2024-04-23 | 1 | -2/+0 | |
| | | | | ||||||
| | * | | tor-memtrack: Remove low-level part from memory-limit.md | Ian Jackson | 2024-04-23 | 1 | -176/+0 | |
| | | | | | | | | | | | | | This part io now implemented. | |||||
| | * | | tor-memtrack: Provide comprehensive tests for the memory tracker | Ian Jackson | 2024-04-23 | 3 | -1/+681 | |
| | | | | ||||||
| | * | | tor-memtrack: reclaim: Implement reclamation | Ian Jackson | 2024-04-23 | 1 | -1/+378 | |
| | | | | ||||||
| | * | | tor-memtrack: reclaim: Provide helper deferred_drop module | Ian Jackson | 2024-04-23 | 2 | -0/+77 | |
| | | | | ||||||
| | * | | tor-memtrack: implement MemoryQuotaTracker | Ian Jackson | 2024-04-23 | 4 | -2/+1027 | |
| | | | | | | | | | | | | | | | | | | | Includes the principal data structures and their impls. Reclamation will come in a moment. | |||||
| | * | | tor-memtrack: Provide helper bookkeeping module | Ian Jackson | 2024-04-23 | 2 | -0/+285 | |
| | | | | ||||||
| | * | | tor-memtrack: Provide helper drop_reentrancy module | Ian Jackson | 2024-04-23 | 3 | -0/+150 | |
| | | | | ||||||
| | * | | tor-memtrack: Provide helper refcounting module | Ian Jackson | 2024-04-23 | 3 | -0/+254 | |
| | | | | ||||||
| | * | | tor-memtrack: Provide Error types for use by our impls | Ian Jackson | 2024-04-23 | 4 | -3/+104 | |
| | | | | ||||||
| | * | | tor-memtrack: Introduce configuration | Ian Jackson | 2024-04-23 | 4 | -0/+124 | |
| | | | | | | | | | | | | | Nothing uses this yet. | |||||
| | * | | tor-memtrack: Provide a couple of utilities | Ian Jackson | 2024-04-23 | 3 | -0/+71 | |
| | | | | | | | | | | | | | | | | We'll use Qty for printing amounts of memory, and .take() for convenience in a lot of places. | |||||
| | * | | tor-memtrack: Add dependencies and imports we're going to use | Ian Jackson | 2024-04-23 | 4 | -0/+96 | |
| | | | | | | | | | | | | | Establish the principal in-crate namespace. | |||||
| | * | | memtrack docs: Minor clarifications, and IsParticipant | Ian Jackson | 2024-04-23 | 1 | -9/+9 | |
| | | | | | | | | | | | | | | | | | | | While writing the actual code, the distinction between Participation and `dyn Participant` and Participant (the abstract concept) was a bit confusing. Rename the trait, and clarify things a little. | |||||
| | * | | memtrack docs: Wrap (whitespace changes, manual) | Ian Jackson | 2024-04-23 | 1 | -28/+74 | |
| | | | | | | | | | | | | | | | | | | | Use semantic newlines, not hugely long one-line paragraphs. (I think this file must originally have been a pad or a gitlab comment.) | |||||
| | * | | memtrack docs: Move overview to lib.rs | Ian Jackson | 2024-04-23 | 2 | -91/+92 | |
| | | | | ||||||
| | * | | tor-memtrack: Introduce new crate (empty) | Ian Jackson | 2024-04-23 | 5 | -0/+81 | |
| | | | | | | | | | | | | | | | | | | | | | | Put it just above tor-rpcbase, which maybe it would want to use for metrics export via RPC? For now we have some dead code `#[allow]`s. | |||||
| | * | | tor-error: Add ErrorKind::LocalResourceExhausted | Ian Jackson | 2024-04-23 | 1 | -0/+6 | |
| |/ / | ||||||
| * | | Merge branch 'figment-v2' into 'main' | Nick Mathewson | 2024-04-22 | 8 | -146/+192 | |
| |\ \ | |/ |/| | | | | | | | | | Port from config-rs to figment (v2) Closes #1267 and #1268 See merge request tpo/core/arti!2041 | |||||
| | * | Switch to figment 1.0.18 and extract_lossy | Nick Mathewson | 2024-04-22 | 4 | -6/+6 | |
| | | | | | | | | | | | | | | | The new (dubiously named) `Figment::extract_lossy` method can treat decode numbers from strings, and booleans from numbers or strings. This makes the behavior compatible with config-rs, and should (I hope) finally allow us to migrate. | |||||
| | * | Rename ConfigParseError => ConfigLoadError | Nick Mathewson | 2024-04-22 | 1 | -8/+15 | |
| | | | | | | | | | | | Figment can give an error under more conditions than just a parsing failure, so we should report it a bit more vaguely. | |||||
| | * | Add an action field to Io error in tor-config. | Nick Mathewson | 2024-04-22 | 2 | -15/+24 | |
| | | | ||||||
| | * | Convert tor-config to use figment. | Nick Mathewson | 2024-04-22 | 8 | -141/+171 | |
| |/ | | | | | There are probably ways to make this a bit more elegant, but at least the tests still pass. | |||||
| * | Merge branch 'rpc_method_syntax_redux' into 'main' | Nick Mathewson | 2024-04-22 | 7 | -397/+351 | |
| |\ | | | | | | | | | | | | | RPC: Even more cleanup on invocable functions. Closes #838 See merge request tpo/core/arti!2084 | |||||
| | * | rpc: add a comment from diziet to explain why we need same_decl | Nick Mathewson | 2024-04-22 | 1 | -0/+6 | |
| | | | ||||||
