| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | doc/dev/notes: memory limit: Multiple participants | Ian Jackson | 2024-03-07 | 1 | -3/+10 | |
| | | | | | | | | | | | | | Changed the data structure sketch and API only, so far. | |||||
| | * | | doc/dev/notes: memory limit: Add doc for concepts | Ian Jackson | 2024-03-07 | 1 | -0/+18 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Descripe Account's Clone | Ian Jackson | 2024-03-07 | 1 | -0/+3 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Rename Partipation to Account | Ian Jackson | 2024-03-07 | 1 | -30/+30 | |
| | | | | | | | | | | | | | | | | This will allow us to have multiple Participants per (conceptual) Account. | |||||
| | * | | doc/dev/notes: memory limit: Change to memory_cost() name | Ian Jackson | 2024-03-07 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | Suggested here https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_2998975 | |||||
| | * | | doc/dev/notes: memory limit: Discusss caches | Ian Jackson | 2024-03-07 | 1 | -2/+31 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Misc fixes | Ian Jackson | 2024-03-07 | 1 | -4/+6 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Untabify | Ian Jackson | 2024-03-07 | 1 | -73/+73 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Parents | Ian Jackson | 2024-03-07 | 1 | -2/+14 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Rework queue completely | Ian Jackson | 2024-03-07 | 1 | -44/+56 | |
| | | | | | | | | | | | | | This was all quite impossible. | |||||
| | * | | doc/dev/notes: memory limit: Make MemoryQuotaTracker Arc visible | Ian Jackson | 2024-03-07 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_2998976 | |||||
| | * | | doc/dev/notes: memory limit: Maybe we don't use this for caches | Ian Jackson | 2024-03-07 | 1 | -0/+4 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Don't use deref | Ian Jackson | 2024-03-07 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Pass desired reclaim amount for benefit of caches | Ian Jackson | 2024-03-07 | 1 | -4/+7 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Fix title botch | Ian Jackson | 2024-03-07 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Fix some names | Ian Jackson | 2024-03-07 | 1 | -3/+3 | |
| | | | | | | | | | | | | | I renamed some things earlier and missed these. | |||||
| | * | | doc/dev/notes: memory limit: Fix reclaim decl | Ian Jackson | 2024-03-07 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Fix oldest to be oldest not newest | Ian Jackson | 2024-03-07 | 1 | -26/+25 | |
| | | | | ||||||
| | * | | doc/dev/notes: memory limit: Add more explanations | Ian Jackson | 2024-03-07 | 1 | -2/+50 | |
| | | | | ||||||
| | * | | doc/dev/notes: First cut at memory limit design sketch | Ian Jackson | 2024-03-07 | 1 | -0/+211 | |
| | | | | ||||||
| * | | | Merge branch 'typos' into 'main' | gabi-250 | 2024-03-07 | 36 | -43/+44 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Fix various typos See merge request tpo/core/arti!2032 | |||||
| | * | | | Fix typos in documentation | Tobias Stoeckmann | 2024-03-06 | 9 | -11/+12 | |
| | | | | | ||||||
| | * | | | Fix typo in error message | Tobias Stoeckmann | 2024-03-06 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Fix typos in doc comments | Tobias Stoeckmann | 2024-03-06 | 24 | -28/+28 | |
| | | | | | ||||||
| | * | | | Fix typos in comments | Tobias Stoeckmann | 2024-03-06 | 3 | -3/+3 | |
| | |/ / | ||||||
| * | | | Merge branch 'checkable_arith' into 'main' | Ian Jackson | 2024-03-07 | 1 | -2/+14 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-checkable: Use checked arithmetic See merge request tpo/core/arti!2031 | |||||
| | * | | | tor-checkable: Use checked arithmetic | Tobias Stoeckmann | 2024-03-05 | 1 | -2/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that arithmetic with SystemTime and Duration fits into SystemTime. If the result does not fit, set the affected boundary to None. After all it implies that this point in time is not reachable on the system. Avoids integer overflow or panic, depending on debug or release build. | |||||
| * | | | | Merge branch 'bytes_arith' into 'main' | Ian Jackson | 2024-03-07 | 1 | -1/+1 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | tor-bytes: avoid write_zeros truncation See merge request tpo/core/arti!2033 | |||||
| | * | | | | tor-bytes: avoid write_zeros truncation | Tobias Stoeckmann | 2024-03-06 | 1 | -1/+1 | |
| | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | Use a saturating add while determining the new length. If it really ends up being usize::MAX, the resize will most likely panic. This is at least a more reliable end of processing than going on with a much smaller vector than expected. | |||||
| * | | | | Merge branch 'release-docs' into 'main' | Ian Jackson | 2024-03-07 | 1 | -3/+11 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | Release.md: a handful of small updates See merge request tpo/core/arti!2028 | |||||
| | * | | | Release.md: Document a simpler way of getting the crates with no changes. | Gabriela Moldovan | 2024-03-05 | 1 | -2/+4 | |
| | | | | | ||||||
| | * | | | Release.md: Add usage example for semver-checks. | Gabriela Moldovan | 2024-03-05 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Release.md: Add usage example for fixup-features. | Gabriela Moldovan | 2024-03-05 | 1 | -0/+6 | |
| | | | | | ||||||
| * | | | | Merge branch 'arti-client-typo-fix' into 'main' | Nick Mathewson | 2024-03-06 | 1 | -1/+1 | |
| |\ \ \ \ | |_|/ / |/| | | | | | | | | | | | arti-client: Fix typo in error message. See merge request tpo/core/arti!2030 | |||||
| | * | | | arti-client: Fix typo in error message. | Gabriela Moldovan | 2024-03-05 | 1 | -1/+1 | |
| | |/ / | ||||||
| * | | | Merge branch 'panic' into 'main' | Ian Jackson | 2024-03-05 | 3 | -4/+92 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | arti: Fix command line help (and add test case) Closes #1311 See merge request tpo/core/arti!2021 | |||||
| | * | | | arti, CI: Add a test case for command line help | Ian Jackson | 2024-03-05 | 3 | -0/+87 | |
| | | | | | ||||||
| | * | | | arti: Print help on `arti hss` without subcommand | Ian Jackson | 2024-03-05 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | That's not the default. | |||||
| | * | | | arti: Fix misplaced clap hunk | Ian Jackson | 2024-03-05 | 1 | -4/+4 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | ab950a68 "arti: Add an hss subcommand." mistakenly moved the calls to `subcommand_required` and `arg_required_else_help` into the compile-time conditional. But they're related to the main command parsing. Fixes #1311 | |||||
| * | | | Merge branch 'display' into 'main' | Ian Jackson | 2024-03-05 | 19 | -21/+76 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Forbid use of Path::display, require display_lossy instead See merge request tpo/core/arti!2027 | |||||
| | * | | | AuthorizedClientConfig: add semver note | Ian Jackson | 2024-03-05 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | PathExt::display_lossy: Add semver note | Ian Jackson | 2024-03-05 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | Forbid Path::display | Ian Jackson | 2024-03-05 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | test-temp-dir: Allow use of Path::display in test diagnostic output | Ian Jackson | 2024-03-05 | 1 | -1/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | We're going to tell clippy to forbid Path::display. But we can't have the PathExt from tor-basic-utils, here. We can't put the allow on the function call expression, only a block or function. | |||||
| | * | | | fs-mistrust: Introduce a fn display_lossy | Ian Jackson | 2024-03-05 | 1 | -2/+9 | |
| | | | | | | | | | | | | | | | | | | | | | We're going to tell clippy to forbid Path::display. But we can't have the PathExt from tor-basic-utils, here. | |||||
| | * | | | Use tor_basic_utils::PathExt::display_lossy | Ian Jackson | 2024-03-05 | 11 | -14/+25 | |
| | | | | | | | | | | | | | | | | | | | | | Change Path::display to this new function, in call sites where it's being used for a diagnostic. | |||||
| | * | | | tor-basic-utils: Provide PathExt with display_lossy() method | Ian Jackson | 2024-03-05 | 1 | -0/+25 | |
| | | | | | ||||||
| | * | | | tor-hsservice: client auth: Only allow `dir:...` to have valid unicode | Ian Jackson | 2024-03-05 | 2 | -4/+6 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have Display/FromStr for AuthorizedClientConfig. We can't have Display if it can containa PathBuf because a PathBuf may not have a string representation. If we want to support non-unicode in the future, we'll need an escaping scheme and messing around with OsStr. The config scheme here may not be the best, but right now I'm just fixing uses of Path::display. | |||||
| * | | | Merge branch 'motion' into 'main' | Ian Jackson | 2024-03-05 | 23 | -1368/+1215 | |
| |\ \ \ | |/ / |/| | | | | | | | | | | | | | | tor-hsservice: Code motion (abolish svc, ipt_mgr, imports - prelude) Closes #1212 See merge request tpo/core/arti!2020 | |||||
| | * | | tor-hsservice: Fix description of sub-module handling | Ian Jackson | 2024-03-05 | 1 | -3/+3 | |
| | | | | ||||||
