| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | tor-netdoc: Replace NdaSystemTimeDeprecatedSyntax with Ios8601TimeSp | Ian Jackson | 2025-10-09 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | Previously we needed this separate type because Ios8601TimeSp is FromStr which prevented a correct ItemArgumentParseable impl. | |||||
| * | | | tor-netdoc: Expose the field in time wrappers | Ian Jackson | 2025-10-09 | 1 | -2/+4 | |
| | | | | ||||||
| * | | | tor-netdoc: impl many traits for time wrappers | Ian Jackson | 2025-10-09 | 1 | -2/+4 | |
| | | | | ||||||
| * | | | tor-netdoc: Expose Iso8601TimeNoSp and Iso8601TimeSp utility wrappers | Ian Jackson | 2025-10-09 | 3 | -3/+8 | |
| | | | | | | | | | | | | | We're going to want to change some now-public fields to use these types. | |||||
| * | | | tor-netdoc: parse2: Fix some slips in doc comments | Ian Jackson | 2025-10-09 | 1 | -3/+3 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2: Work around MSRV unhelpful lifetime | Ian Jackson | 2025-10-09 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.85.1 rejects this, because it doesn't extend the lifetime of the `format_args!`. 1.90 is fine with it. I want to keep `format!` not `String::new()` so that it's easy to change back. That means a clippy allow. Getting that to apply to the code inside the derive is tricky, so I've enabled it for the whole module. (IMO this clippy lint is pretty annoying anyway.) | |||||
| * | | | tor-netdoc: parse2: Actually expose new errors in crate toplevel | Ian Jackson | 2025-10-09 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2 tests: Test ParseError Display and Error impl | Ian Jackson | 2025-10-09 | 1 | -6/+29 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2 tests: Have t_err_* return the error | Ian Jackson | 2025-10-09 | 1 | -5/+4 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2 tests: Have t_err_* return the error (pre-fmt) | Ian Jackson | 2025-10-09 | 1 | -1/+6 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2 tests: Check columns | Ian Jackson | 2025-10-09 | 1 | -7/+15 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2 tests: Check columns (pre-fmt) | Ian Jackson | 2025-10-09 | 1 | -1/+2 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2: Add column field to PaarsError and print it | Ian Jackson | 2025-10-09 | 3 | -2/+14 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2: Add .column() accessor to ErrorProblem | Ian Jackson | 2025-10-09 | 2 | -1/+29 | |
| | | | | | | | | | | | | | We'll want to general way to find the error problem column. | |||||
| * | | | tor-netdoc: parse2: Add column field as far as ErrorProblem | Ian Jackson | 2025-10-09 | 3 | -7/+48 | |
| | | | | | | | | | | | | | | | | | | | | | | Provide facilities in ArgumnetStream for determining the column, and add the field to all the error types up to and including ErrorProblem. The value still needs to be propagated to ParseError, and printed there. | |||||
| * | | | tor-netdoc: parse2: Replace EP with AE in derive fields rest path | Ian Jackson | 2025-10-09 | 1 | -1/+2 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2: Replace EP with AE in NdiDirectorySignature (fmt) | Ian Jackson | 2025-10-09 | 1 | -7/+10 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2: Replace EP with AE in NdiDirectorySignature | Ian Jackson | 2025-10-09 | 1 | -4/+4 | |
| | | | | ||||||
| * | | | tor-netdoc: Abolish now-obsolete field argument to from_args (fmt) | Ian Jackson | 2025-10-09 | 4 | -29/+7 | |
| | | | | ||||||
| * | | | tor-netdoc: Abolish now-obsolete field argument to from_args | Ian Jackson | 2025-10-09 | 8 | -20/+12 | |
| | | | | ||||||
| * | | | tor-netdoc: Introduce ArgumentError (fmt) | Ian Jackson | 2025-10-09 | 1 | -3/+1 | |
| | | | | ||||||
| * | | | tor-netdoc: Introduce ArgumentError | Ian Jackson | 2025-10-09 | 10 | -33/+86 | |
| | | | | | | | | | | | | | | | | This will allow us to (1) move field name handling out of the argument parser method, and also (2) add columns more easily. | |||||
| * | | | tor-netdoc: Have .reject_extra_args return a bespoke error | Ian Jackson | 2025-10-09 | 4 | -4/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | We're about to have some functions return ArgumentError and some ErrorProblem. We don't want to provide a conversion directly between these types, so instead introduce a new type that will be convertible to either. | |||||
| * | | | tor-netdoc: UnparsedItem: Provide .args() accessor | Ian Jackson | 2025-10-09 | 2 | -0/+8 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2: Record previous position in ArgumentStream (fmt) | Ian Jackson | 2025-10-09 | 1 | -1/+5 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2: Record previous position in ArgumentStream | Ian Jackson | 2025-10-09 | 1 | -1/+8 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2: Rename methods on ArgumentStream | Ian Jackson | 2025-10-09 | 3 | -11/+16 | |
| | | | | ||||||
| * | | | tor-netdoc: parse2: Add whole_line_len to ArgumentStream | Ian Jackson | 2025-10-09 | 2 | -4/+17 | |
| | | | | ||||||
| * | | | Merge branch 'comparison-chain' into 'main' | gabi-250 | 2025-10-09 | 1 | -0/+6 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-proto: allow comparison chain See merge request tpo/core/arti!3342 | |||||
| | * | | | tor-proto: bring back comparison chain w/ allow | hashcatHitman | 2025-10-08 | 1 | -9/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was decided that the comparison chain was actually preferrable for readability. So instead, we're just `allow`ing it until it stops being a problem. Signed-off-by: hashcatHitman <[email protected]> | |||||
| | * | | | tor-proto: replace comparison chain with match | hashcatHitman | 2025-10-08 | 1 | -8/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a comparison chain in `tor_proto::util::poll_all::test::ResolveAfter::poll` which was causing a clippy warning. The lint in question, `clippy::comparison_chain`, was a `clippy::style` lint in 1.85.1 and got moved to `clippy::pedantic` in 1.87.0 (see [rust-clippy!14219]). Since some of us (like me) develop on MSRV, I'm fixing this lint now. Gabi didn't have any strong opinions on whether I did it like this or with an `allow` attribute, so I decided this was better since it means we don't have to come back later just to remove the `allow`. It should be noted that using a match like this can sometimes be a performance regression (see [rust-clippy#5354] and [rust-clippy!6390]). I would expect in this case the effect will be very little, if any, but if tests in `tor_proto::util::poll_all::test` start taking much longer and having an impact on CI or something, this could be why. [rust-clippy!14219]: https://github.com/rust-lang/rust-clippy/pull/14219 [rust-clippy#5354]: https://github.com/rust-lang/rust-clippy/issues/5354 [rust-clippy!6390]: https://github.com/rust-lang/rust-clippy/pull/6390 Signed-off-by: hashcatHitman <[email protected]> | |||||
| * | | | | Merge branch 'normal-ip-arguments' into 'main' | Ian Jackson | 2025-10-09 | 1 | -0/+5 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | tor-netdoc: impl NormalItemArgument for Ipv4Addr and SocketAddr See merge request tpo/core/arti!3343 | |||||
| | * | | | | tor-netdoc: impl NormalItemArgument for Ipv4Addr and SocketAddr | Ian Jackson | 2025-10-08 | 1 | -0/+5 | |
| | |/ / / | | | | | | | | | | | | | AFAICT we don't have variant parsings for these things. | |||||
| * | | | | arti-relay: replaced `Runtime + ToplevelBlockOn` with `ToplevelRuntime` | Steven Engler | 2025-10-08 | 1 | -3/+3 | |
| | | | | | ||||||
| * | | | | arti-relay: expand comment on `InertTorRelay` | Steven Engler | 2025-10-08 | 1 | -0/+17 | |
| | | | | | ||||||
| * | | | | arti-relay: change `allow` to `expect` | Steven Engler | 2025-10-08 | 1 | -5/+4 | |
| | | | | | | | | | | | | | | | | | And remove one that we didn't need. | |||||
| * | | | | arti-relay: add a new `TorRelay` | Steven Engler | 2025-10-08 | 2 | -1/+50 | |
| | | | | | ||||||
| * | | | | arti-relay: store the `TorRelayConfig` in the `InertTorRelay` | Steven Engler | 2025-10-08 | 2 | -4/+7 | |
| | | | | | ||||||
| * | | | | arti-relay: change `TorRelay` into `InertTorRelay` | Steven Engler | 2025-10-08 | 2 | -24/+9 | |
| | | | | | | | | | | | | | | | | | We'll add a `TorRelay` back in a following commit. | |||||
| * | | | | tor-config: remove stale comment on `ConfigurationSources::try_from_cmdline` | Steven Engler | 2025-10-08 | 1 | -2/+0 | |
| | | | | | ||||||
| * | | | | arti-relay: log the override options used | Steven Engler | 2025-10-08 | 1 | -1/+32 | |
| | | | | | ||||||
| * | | | | tor-config: add `ConfigurationSources::options()` | Steven Engler | 2025-10-08 | 1 | -0/+7 | |
| | | | | | ||||||
| * | | | | arti-relay: add mainloop | Steven Engler | 2025-10-08 | 2 | -8/+61 | |
| | | | | | ||||||
| * | | | | arti-relay: add `ToplevelBlockOn` to returned runtime | Steven Engler | 2025-10-08 | 1 | -2/+2 | |
| | | | | | ||||||
| * | | | | arti-relay: don't prepend "arti-relay: " to log lines | Steven Engler | 2025-10-08 | 1 | -10/+2 | |
| | | | | | ||||||
| * | | | | arti-relay: re-add trailing '/' to default paths in help text | Steven Engler | 2025-10-08 | 1 | -2/+12 | |
| | | | | | ||||||
| * | | | | Merge branch 'aarch64-fix' into 'main' | Nick Mathewson | 2025-10-08 | 3 | -13/+31 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hashx: Fix compilation on aarch64 with dynasm 4.0 Closes #2208 See merge request tpo/core/arti!3341 | |||||
| | * | | | | hashx: A couple of comments about register ranges | Nick Mathewson | 2025-10-08 | 2 | -0/+4 | |
| | | | | | | ||||||
| | * | | | | hashx: Make exceptions for clippy warnings from dynasm. | Nick Mathewson | 2025-10-08 | 1 | -9/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The new conversion mechanisms in dynasm 4.0 make clippy unhappy under aarch64. | |||||
| | * | | | | hashx: Make RegisterId::x() return u8 on aarch64 | Nick Mathewson | 2025-10-07 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | (Starting with version 4, dynasm wants something that implements Into<u8>.) | |||||
