summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | doc/dev/notes: memory limit: Uee Arc<dyn Participant>Ian Jackson2024-03-071-5/+6
| | | | | | | | | | | | | | | Prompted by need to avoid deadlock hazard by releasing the tracker lock while callimg reclaim.
| * | doc/dev/notes: memory limit: Document what RoughTime means hereIan Jackson2024-03-071-0/+3
| | |
| * | doc/dev/notes: memory limit: bounded and UndboundedIan Jackson2024-03-071-1/+6
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001737
| * | doc/dev/notes: memory limit: Add a note about reclamation strategyIan Jackson2024-03-071-0/+2
| | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1997#note_3001736
| * | doc/dev/notes: memory limit: Rename ARecord fro m PRecordIan Jackson2024-03-071-5/+5
| | |
| * | doc/dev/notes: memory limit: Fix participant lifecycle (etc.)Ian Jackson2024-03-071-6/+23
| | |
| * | doc/dev/notes: memory limit: Use Account in queue APIIan Jackson2024-03-071-3/+2
| | |
| * | doc/dev/notes: memory limit: Use Account in queue APIIan Jackson2024-03-071-10/+8
| | |
| * | 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
| | | |