summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | doc/dev/notes: memory limit: Multiple participantsIan Jackson2024-03-071-3/+10
| | | | | | | | | | | | Changed the data structure sketch and API only, so far.
| * | doc/dev/notes: memory limit: Add doc for conceptsIan Jackson2024-03-071-0/+18
| | |
| * | doc/dev/notes: memory limit: Descripe Account's CloneIan Jackson2024-03-071-0/+3
| | |
| * | doc/dev/notes: memory limit: Rename Partipation to AccountIan Jackson2024-03-071-30/+30
| | | | | | | | | | | | | | | This will allow us to have multiple Participants per (conceptual) Account.
| * | doc/dev/notes: memory limit: Change to memory_cost() nameIan Jackson2024-03-071-2/+2
| | | | | | | | | | | | | | | Suggested here https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_2998975
| * | doc/dev/notes: memory limit: Discusss cachesIan Jackson2024-03-071-2/+31
| | |
| * | doc/dev/notes: memory limit: Misc fixesIan Jackson2024-03-071-4/+6
| | |
| * | doc/dev/notes: memory limit: UntabifyIan Jackson2024-03-071-73/+73
| | |
| * | doc/dev/notes: memory limit: ParentsIan Jackson2024-03-071-2/+14
| | |
| * | doc/dev/notes: memory limit: Rework queue completelyIan Jackson2024-03-071-44/+56
| | | | | | | | | | | | This was all quite impossible.
| * | doc/dev/notes: memory limit: Make MemoryQuotaTracker Arc visibleIan Jackson2024-03-071-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 cachesIan Jackson2024-03-071-0/+4
| | |
| * | doc/dev/notes: memory limit: Don't use derefIan Jackson2024-03-071-1/+1
| | |
| * | doc/dev/notes: memory limit: Pass desired reclaim amount for benefit of cachesIan Jackson2024-03-071-4/+7
| | |
| * | doc/dev/notes: memory limit: Fix title botchIan Jackson2024-03-071-1/+1
| | |
| * | doc/dev/notes: memory limit: Fix some namesIan Jackson2024-03-071-3/+3
| | | | | | | | | | | | I renamed some things earlier and missed these.
| * | doc/dev/notes: memory limit: Fix reclaim declIan Jackson2024-03-071-1/+1
| | |
| * | doc/dev/notes: memory limit: Fix oldest to be oldest not newestIan Jackson2024-03-071-26/+25
| | |
| * | doc/dev/notes: memory limit: Add more explanationsIan Jackson2024-03-071-2/+50
| | |
| * | doc/dev/notes: First cut at memory limit design sketchIan Jackson2024-03-071-0/+211
| | |
* | | Merge branch 'typos' into 'main'gabi-2502024-03-0736-43/+44
|\ \ \ | | | | | | | | | | | | | | | | Fix various typos See merge request tpo/core/arti!2032
| * | | Fix typos in documentationTobias Stoeckmann2024-03-069-11/+12
| | | |
| * | | Fix typo in error messageTobias Stoeckmann2024-03-061-1/+1
| | | |
| * | | Fix typos in doc commentsTobias Stoeckmann2024-03-0624-28/+28
| | | |
| * | | Fix typos in commentsTobias Stoeckmann2024-03-063-3/+3
| |/ /
* | | Merge branch 'checkable_arith' into 'main'Ian Jackson2024-03-071-2/+14
|\ \ \ | | | | | | | | | | | | | | | | tor-checkable: Use checked arithmetic See merge request tpo/core/arti!2031
| * | | tor-checkable: Use checked arithmeticTobias Stoeckmann2024-03-051-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 Jackson2024-03-071-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-bytes: avoid write_zeros truncation See merge request tpo/core/arti!2033
| * | | | tor-bytes: avoid write_zeros truncationTobias Stoeckmann2024-03-061-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 Jackson2024-03-071-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 Moldovan2024-03-051-2/+4
| | | |
| * | | Release.md: Add usage example for semver-checks.Gabriela Moldovan2024-03-051-1/+1
| | | |
| * | | Release.md: Add usage example for fixup-features.Gabriela Moldovan2024-03-051-0/+6
| | | |
* | | | Merge branch 'arti-client-typo-fix' into 'main'Nick Mathewson2024-03-061-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | arti-client: Fix typo in error message. See merge request tpo/core/arti!2030
| * | | arti-client: Fix typo in error message.Gabriela Moldovan2024-03-051-1/+1
| |/ /
* | | Merge branch 'panic' into 'main'Ian Jackson2024-03-053-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 helpIan Jackson2024-03-053-0/+87
| | | |
| * | | arti: Print help on `arti hss` without subcommandIan Jackson2024-03-051-0/+1
| | | | | | | | | | | | | | | | That's not the default.
| * | | arti: Fix misplaced clap hunkIan Jackson2024-03-051-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 Jackson2024-03-0519-21/+76
|\ \ \ | | | | | | | | | | | | | | | | Forbid use of Path::display, require display_lossy instead See merge request tpo/core/arti!2027
| * | | AuthorizedClientConfig: add semver noteIan Jackson2024-03-051-0/+1
| | | |
| * | | PathExt::display_lossy: Add semver noteIan Jackson2024-03-051-0/+1
| | | |
| * | | Forbid Path::displayIan Jackson2024-03-051-0/+1
| | | |
| * | | test-temp-dir: Allow use of Path::display in test diagnostic outputIan Jackson2024-03-051-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_lossyIan Jackson2024-03-051-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_lossyIan Jackson2024-03-0511-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() methodIan Jackson2024-03-051-0/+25
| | | |
| * | | tor-hsservice: client auth: Only allow `dir:...` to have valid unicodeIan Jackson2024-03-052-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 Jackson2024-03-0523-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 handlingIan Jackson2024-03-051-3/+3
| | |