summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | 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
| | |
| * | tor-hsservice: ipt_mgr: Put file in a sensible order (defeat rustfmt)Ian Jackson2024-03-051-1/+1
| | |
| * | tor-hsservice: ipt_mgr: Put file in a sensible orderIan Jackson2024-03-051-220/+235
| | | | | | | | | | | | Fixes #1212
| * | tor-hsservice: prelude: Manually tidy and group Arti and crate imports (fmt)Ian Jackson2024-03-051-27/+15
| | |
| * | tor-hsservice: prelude: Manually tidy and group Arti and crate importsIan Jackson2024-03-051-41/+31
| | |
| * | tor-hsservice: prelude: Use braced group syntaxIan Jackson2024-03-051-143/+151
| | | | | | | | | | | | This reduces visual clutter and reclaims horizontal space.
| * | tor-hsservice: prelude: Manually tidy and group std and upstreams (fmt)Ian Jackson2024-03-051-8/+8
| | |
| * | tor-hsservice: prelude: Manually tidy and group std and upstreamsIan Jackson2024-03-051-35/+20
| | |
| * | tor-hsservice: prelude: Don't import postage::sink::SendErrorIan Jackson2024-03-052-5/+3
| | | | | | | | | | | | This is too vague.
| * | tor-hsservice: prelude: Don't import futures::streamIan Jackson2024-03-052-2/+2
| | | | | | | | | | | | This is too vague.
| * | Run rustfmtIan Jackson2024-03-057-139/+118
| | | | | | | | | | | | | | | This alphabetises the imports, ready for us to do some more manual tidying.
| * | tor-hsservice: nickname: Trick rustfmt into not exploding derivesIan Jackson2024-03-051-3/+2
| | |
| * | tor-hsservice: prelude: Move imports from nickname.rsIan Jackson2024-03-051-9/+1
| | | | | | | | | | | | There are none here that aren't in the prelude now.
| * | tor-hsservice: don't import derive_more::Display as suchIan Jackson2024-03-051-2/+2
| | | | | | | | | | | | "Display" is rather vague.
| * | tor-hsservice: prelude: Move imports from netdir.rsIan Jackson2024-03-051-5/+1
| | | | | | | | | | | | There are none here that aren't in the prelude now.
| * | tor-hsservice: prelude: Move most imports from status.rsIan Jackson2024-03-052-10/+2
| | |
| * | tor-hsservice: prelude: Move most imports from req.rsIan Jackson2024-03-052-18/+16
| | |
| * | tor-hsservice: prelude: Move imports from replay.rsIan Jackson2024-03-052-12/+13
| | |
| * | tor-hsservice: prelude: Move most imports from rend_handshake.rsIan Jackson2024-03-052-16/+10
| | |
| * | tor-hsservice: prelude: Move imports from reupload_timer.rsIan Jackson2024-03-052-4/+2
| | |
| * | tor-hsservice: prelude: Promote imports from reactor.rsIan Jackson2024-03-052-4/+3
| | | | | | | | | | | | Move these two publisher-specific imports to publish.rs.
| * | tor-hsservice: prelude: Move imports from reactor.rsIan Jackson2024-03-052-50/+25
| | |
| * | tor-hsservice: Refer to mpsc::{Sender, Receiver} by their module nameIan Jackson2024-03-051-4/+4
| | | | | | | | | | | | Just "Sender" and "Receiver" is rather vague.
| * | tor-hsservice: prelude: Promote imports from descriptor.rsIan Jackson2024-03-052-1/+1
| | | | | | | | | | | | Move these two publisher-specific imports to publish.rs.
| * | tor-hsservice: prelude: Move imports from descriptor.rsIan Jackson2024-03-052-21/+15
| | | | | | | | | | | | We use these via an import of the parent, publish.rs.
| * | tor-hsservice: prelude: Move imports from backoff.rsIan Jackson2024-03-052-12/+5
| | |
| * | tor-hsservice: prelude: Move imports from publish.rsIan Jackson2024-03-052-13/+3
| | |
| * | tor-hsservice: prelude: Move imports from keys.rsIan Jackson2024-03-052-14/+6
| | |