| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | tor-netdoc: RouterStatus: Split out the `r` item's fields | Ian Jackson | 2025-10-15 | 5 | -28/+62 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the Rust structure closer to the document structure. Arguably, this makes the Rust structure worse. But: I'm really very keen on avoiding handwritten parsing and printing code. And, in the longer term, having this linkage will hopefully apply pressure to avoid further protocol complexity/variation/chaos. | |||||
| | * | | | | tor-netdoc: impl parse2 for rs::Version | Ian Jackson | 2025-10-15 | 1 | -0/+10 | |
| | | | | | | ||||||
| | * | | | | tor-netdoc: impl parse2 for RelayFlags | Ian Jackson | 2025-10-15 | 1 | -0/+13 | |
| | | | | | | ||||||
| | * | | | | tor-netdoc: split up RelayFlags parsing (fmt) | Ian Jackson | 2025-10-15 | 1 | -5/+1 | |
| | | | | | | ||||||
| | * | | | | tor-netdoc: split up RelayFlags parsing | Ian Jackson | 2025-10-15 | 1 | -14/+47 | |
| | | | | | | ||||||
| | * | | | | tor-netdoc: impl parse2 traits for RelayWeight | Ian Jackson | 2025-10-15 | 1 | -0/+25 | |
| | | | | | | ||||||
| | * | | | | tor-netdoc: split up RelayWeight parsing (fmt) | Ian Jackson | 2025-10-15 | 1 | -4/+2 | |
| | | | | | | ||||||
| | * | | | | tor-netdoc: split up RelayWeight parsing | Ian Jackson | 2025-10-15 | 1 | -2/+9 | |
| | | | | | | | | | | | | | | | | | | | | | We're going to call from_net_params from the parse2 trait impl. | |||||
| | * | | | | tor-netdoc: impl parse2 traits for protovers | Ian Jackson | 2025-10-15 | 3 | -1/+25 | |
| | | | | | | ||||||
| | * | | | | tor-netdoc: Provide convenience method for handling invalid arguments | Ian Jackson | 2025-10-15 | 2 | -0/+15 | |
| | | | | | | ||||||
| | * | | | | tor-netdoc: Introduce ArgumentNotPresent placeholder utility type | Ian Jackson | 2025-10-15 | 2 | -3/+22 | |
| | | | | | | ||||||
| | * | | | | tor-netdoc: Make Ignored part of a module | Ian Jackson | 2025-10-15 | 1 | -16/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The rest of types::misc does this. We should probably follow suit for consistency. Also we're going to want to add soemthing here. | |||||
| | * | | | | tor-netdoc: impl Default for Ignored | Ian Jackson | 2025-10-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This omission seems like an oversight. I thought I wanted it, but it turns out I don't - but I think it should still be there. | |||||
| | * | | | | tor-netdoc: parse2: export NetdocSigned trait | Ian Jackson | 2025-10-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | This seems to have been overlooked. | |||||
| * | | | | | Merge branch 'flow-ctrl-limits' into 'main' | David Goulet | 2025-10-15 | 4 | -82/+78 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Relax XON/XOFF receive limits See merge request tpo/core/arti!3360 | |||||
| | * | | | | | tor-proto: update unit test | Steven Engler | 2025-10-14 | 1 | -27/+24 | |
| | | | | | | | ||||||
| | * | | | | | tor-proto: relax XON limits | Steven Engler | 2025-10-14 | 1 | -3/+13 | |
| | | | | | | | ||||||
| | * | | | | | tor-proto: remove `StreamEndpointType` | Steven Engler | 2025-10-14 | 3 | -31/+12 | |
| | | | | | | | ||||||
| | * | | | | | tor-proto: relax XOFF limits | Steven Engler | 2025-10-14 | 1 | -22/+30 | |
| | | | | | | | ||||||
| | * | | | | | tor-proto: add derives for `CellCount` | Steven Engler | 2025-10-14 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | tor-dirserver: Expose Arc of StoreCache | Clara Engler | 2025-10-15 | 2 | -15/+15 | |
| | | | | | | | ||||||
| * | | | | | | tor-dirserver: Do not lock during db query | Clara Engler | 2025-10-15 | 1 | -7/+14 | |
| | | | | | | | ||||||
| * | | | | | | tor-dirserver: Don't expose rusqlite::Error in Pool | Clara Engler | 2025-10-15 | 3 | -11/+28 | |
| | | | | | | | ||||||
| * | | | | | | tor-dirserver: Fix rustdoc comment | Clara Engler | 2025-10-15 | 1 | -3/+3 | |
| | | | | | | | ||||||
| * | | | | | | tor-dirserver: Some clippy fixes | Clara Engler | 2025-10-15 | 4 | -3/+19 | |
| | | | | | | | ||||||
| * | | | | | | tor-dirserver: Remove unsafe unreachable | Clara Engler | 2025-10-15 | 1 | -3/+3 | |
| | | | | | | | ||||||
| * | | | | | | tor-dirserver: Remove due TODO | Clara Engler | 2025-10-15 | 1 | -4/+0 | |
| | | | | | | | ||||||
| * | | | | | | tor-dirserver: Improve the error situation | Clara Engler | 2025-10-15 | 3 | -140/+140 | |
| | | | | | | | ||||||
| * | | | | | | tor-dirserver: Create database module | Clara Engler | 2025-10-15 | 3 | -88/+98 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit renames the schema module to the database module in order to perform better error handling while redesigning the API. | |||||
| * | | | | | | tor-dirserver: Remove unused imports | Clara Engler | 2025-10-15 | 2 | -9/+0 | |
| | | | | | | | ||||||
| * | | | | | | tor-dirserver: Store endpoint paths in `&str` | Clara Engler | 2025-10-15 | 1 | -11/+34 | |
| | | | | | | | ||||||
| * | | | | | | tor-dirserver: Get rid of the poor builders | Clara Engler | 2025-10-15 | 3 | -138/+20 | |
| | | | | | | | ||||||
| * | | | | | | tor-dirserver: Move StoreCache into own module | Clara Engler | 2025-10-15 | 2 | -151/+178 | |
| |/ / / / / | ||||||
| * | | | | | Merge branch 'rm-allow' into 'main' | Ian Jackson | 2025-10-14 | 1 | -1/+0 | |
| |\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | proto: Remove an allow that is no longer needed See merge request tpo/core/arti!3356 | |||||
| | * | | | | proto: Remove an allow that is no longer needed | Gabriela Moldovan | 2025-10-14 | 1 | -1/+0 | |
| | | | | | | ||||||
| * | | | | | Merge branch 'celltypes' into 'main' | gabi-250 | 2025-10-14 | 10 | -11/+13 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | proto: Move celltypes out of client See merge request tpo/core/arti!3355 | |||||
| | * | | | | | proto: Move celltypes out of client | Gabriela Moldovan | 2025-10-13 | 10 | -11/+13 | |
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | Some of these are relay-specific, so it makes more sense to pull this into a top-level module. | |||||
| * | | | | | Merge branch 'unique-id' into 'main' | David Goulet | 2025-10-14 | 2 | -19/+30 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | proto: Stop using tunnel IDs in relay reactor. See merge request tpo/core/arti!3353 | |||||
| | * | | | | | proto: Stop using tunnel IDs in relay reactor. | Gabriela Moldovan | 2025-10-13 | 2 | -19/+30 | |
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using a tunnel ID here doesn't make much sense right now, because we don't yet support exit-side conflux (and when we will, it's unclear whether the concept of "tunnel" will be applicable, especially if we refactor things such that multi-path circuits are handled without a ConfluxSet-like type like we have for clients). This change forces us to stop using the client-specific `unwrap_or_shutdown` (because this macro expects `self` to have a tunnel ID), but IMO that is okay. | |||||
| * / / / / | proto: Use a small vec for the hop list. | Gabriela Moldovan | 2025-10-13 | 1 | -1/+7 | |
| |/ / / / | | | | | | | | | | | | | | | | | We can optimize for the general (N <= 3) case, and avoid a heap allocation. | |||||
| * | | | | tor-netdoc: Don't repr(transparent) | Ian Jackson | 2025-10-09 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | | | | | | | We don't really need this and it raises questions, for example https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3337#note_3271871 | |||||
| * | | | | 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 | |
| | | | | | ||||||
