| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tor-netdoc: ConsensusAuthorityEntry: fix type of vote_digest field | Ian Jackson | 2026-04-27 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: ConsensusAuthorityEntry: fix type of contact field | Ian Jackson | 2026-04-27 | 1 | -1/+2 | |
| | | ||||||
| * | tor-netdoc: ConsensusAuthorityEntry: rename from ConsensusVoterInfo (2) (fmt) | Ian Jackson | 2026-04-27 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: ConsensusAuthorityEntry: rename from ConsensusVoterInfo (2) | Ian Jackson | 2026-04-27 | 3 | -9/+9 | |
| | | | | | Deprecate the compatibility alias. | |||||
| * | tor-netdoc: DirSource: derive Constructor | Ian Jackson | 2026-04-27 | 1 | -0/+1 | |
| | | ||||||
| * | tor-netdoc: DirSource: add missing hostname field | Ian Jackson | 2026-04-27 | 1 | -0/+1 | |
| | | ||||||
| * | tor-netdoc: DirSource: fix type of identity field | Ian Jackson | 2026-04-27 | 1 | -1/+2 | |
| | | ||||||
| * | tor-netdoc: DirSource: fix type of nickname field | Ian Jackson | 2026-04-27 | 1 | -1/+2 | |
| | | ||||||
| * | tor-netdoc: Fix c&p error in comment | Ian Jackson | 2026-04-21 | 1 | -1/+1 | |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3864#note_3397714 | |||||
| * | tor-netdoc: ns Premable: add missing field known_flags | Ian Jackson | 2026-04-21 | 4 | -1/+8 | |
| | | ||||||
| * | tor-netdoc: ns Preamble: derive NetdocEncodableFields | Ian Jackson | 2026-04-21 | 1 | -0/+1 | |
| | | ||||||
| * | tor-netdoc: ns Preamble: Use Constructor | Ian Jackson | 2026-04-21 | 3 | -1/+16 | |
| | | ||||||
| * | tor-netdoc: ns Preamble: use new deftly cfg approach | Ian Jackson | 2026-04-21 | 1 | -10/+8 | |
| | | ||||||
| * | tor-netdoc: DocRelayFlags: rename VoteRepr to NoImplicitRepr | Ian Jackson | 2026-04-21 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: DocRelayFlags: rename helper struct | Ian Jackson | 2026-04-21 | 1 | -1/+1 | |
| | | | | | This is going to be used for encoding too. | |||||
| * | tor-netdoc: Fix type of NotPresent items in ns Preamble | Ian Jackson | 2026-04-21 | 3 | -6/+8 | |
| | | ||||||
| * | tor-netdoc: Make Nickname have its own parsing error type | Ian Jackson | 2026-04-20 | 2 | -2/+5 | |
| | | | | | | | | | This will let us use it in more places, more sensibly. Sadly it means a lot of syntactic vinegar at many of the call sites in the old parser, which has very janky ideas about how errors should work. | |||||
| * | tor-netdoc: parse2/encode derive: Use unquoted attributes at call sites | Ian Jackson | 2026-04-07 | 2 | -4/+4 | |
| | | ||||||
| * | tor-netdoc: Port to web-time-compat | Nick Mathewson | 2026-03-26 | 1 | -2/+2 | |
| | | ||||||
| * | Fix typos | Tobias Stoeckmann | 2026-03-24 | 1 | -1/+1 | |
| | | | | | Typos found with codespell | |||||
| * | Fix word duplicate typos | Tobias Stoeckmann | 2026-03-15 | 3 | -4/+4 | |
| | | ||||||
| * | tor-netdoc: Rename Version and expose it as netstatus::SoftwareVersion | Ian Jackson | 2026-01-15 | 3 | -7/+7 | |
| | | | | | | | | This struct is still a bit odd, and there's a todo saying we may change it again, but at least now it's now available. While we're here, rename the variant Tor to CTor. | |||||
| * | tor-netdoc: netstatus preamble: Reorder fields to match spec order | Ian Jackson | 2025-12-18 | 1 | -21/+21 | |
| | | | | | | As suggested here https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3550#note_3313757 | |||||
| * | tor-netdoc: netstatus preamble: Add a lot of blank lines | Ian Jackson | 2025-12-18 | 1 | -0/+11 | |
| | | | | | | I'm going to reorder things and this will make that much less error-prone, at least for me. | |||||
| * | tor-netdoc: netstatus preamble: Clarify TODO for known-flags | Ian Jackson | 2025-12-18 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: netstatus: improve TODO comments | Ian Jackson | 2025-12-18 | 1 | -1/+10 | |
| | | | | | | | | | This is the result of reading through the spec and comparing it to the struct. Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3550#note_3312672 | |||||
| * | tor-netdoc: Preamble: Parse published in votes | Ian Jackson | 2025-12-18 | 3 | -0/+5 | |
| | | ||||||
| * | tor-netdoc: Preamble: Parse consensus-methods in votes | Ian Jackson | 2025-12-18 | 4 | -1/+5 | |
| | | ||||||
| * | tor-netdoc: Preamble: Fix consensus-method parsing in votes | Ian Jackson | 2025-12-18 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: impl NetdocParseableFields for Preamble | Ian Jackson | 2025-12-18 | 1 | -0/+12 | |
| | | ||||||
| * | Merge branch 'protover_refactor' into 'main' | Nick Mathewson | 2025-12-04 | 5 | -53/+42 | |
| |\ | | | | | | | | | Make Protocols type inherently interned; add notes about usage. See merge request tpo/core/arti!3524 | |||||
| | * | netdoc: Remove protocol interning. | Nick Mathewson | 2025-12-03 | 5 | -52/+41 | |
| | | | | | | | | | (It's now done in tor_protover.) | |||||
| | * | Move intern from tor-netdir to tor-basic-utils and make it pub | Nick Mathewson | 2025-12-03 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-netdoc: Remove unnecessary casts | Clara Engler | 2025-12-04 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-netdoc: Store n_authorities in usize | Clara Engler | 2025-12-02 | 1 | -2/+2 | |
| |/ | | | | | | | Previously, this value was stored in a u16. However, because this number is usually always derived from some sort of list type, such as `Vec`, it makes more sense to use usize for this, as it avoid unnecessary casting and error checking. | |||||
| * | tor-netdoc: Rename RelayFlagsParser to relay_flags::Parser | Ian Jackson | 2025-11-24 | 2 | -2/+2 | |
| | | | | | | | | Since we expose the relay_flags module, it makes sense to give this a shorter name. (It had a longer name when it was part of the netstatus module.) | |||||
| * | tor-netdoc: relay_flags: Remove two now-not-needed type aliases | Ian Jackson | 2025-11-24 | 2 | -6/+5 | |
| | | | | | The generic parser type is easy enough to name now. | |||||
| * | RelayFlags: Use RelayFlag enum variant names everywhere | Ian Jackson | 2025-11-18 | 2 | -11/+11 | |
| | | | | | | | | Abolish the constants with the transitional names. This also abolishes the controversial name `H_S_DIR`, which Rust case transformation rules generated from `HSDir`. | |||||
| * | RelayFlags: Use the singular RelayFlag for naming individual flags | Ian Jackson | 2025-11-18 | 3 | -13/+13 | |
| | | | | | | | | | | | | | | | We're going to separate RelayFlag from RelayFlags. We could continue to provide a bunch of constant values for RelayFlags, for each individual type, but that would involve an ad-hoc derive, and would still be a bit of an unusual API. Instead, we're going to make ``RelayFlag` a normal enum. In this commit, we change everyone to refer to it by its singular name. Hopefully separating out this bulk change makes both this, and the core commit, easier to review. | |||||
| * | tor-netdoc: rs builder: Take Into<RelayFlags> | Ian Jackson | 2025-11-18 | 1 | -6/+6 | |
| | | | | | | | | | Many call sites pass one flag. We're going to have a type-level distinction between a single flag and a set. But that's annoying at many of the call sites which want to specify a fixed single flag. Note that `set_flags` doesn't only set flags. It replaces them. | |||||
| * | tor-netdoc: RelayFlags: Tidy up from_item for flags | Ian Jackson | 2025-11-18 | 1 | -1/+3 | |
| | | | | | | | | | Implement this on DocRelayFlags instead, since that's what it returns. And change the name to from_item_consensus to highlight its semantic restriction. (It's not generic over the implied flags, so it can only do one thing.) | |||||
| * | tor-netdoc: Be able to retain unknown flags | Ian Jackson | 2025-11-18 | 3 | -2/+3 | |
| | | ||||||
| * | tor-netdoc: Introduce DocRelayFlags for relay flags in a network document | Ian Jackson | 2025-11-18 | 5 | -5/+9 | |
| | | | | | This will have space for unknown flags. | |||||
| * | tor-netdoc: Separate ConsensusRelayFlagsParser and VoteRelayFlagsParser | Ian Jackson | 2025-11-18 | 2 | -1/+9 | |
| | | | | | | Provide a per-variety alias and use it for parsing; no longer impl ItemValueParseable for RelayFlags. | |||||
| * | tor-netdoc: Rename RelayFlags elements for regularity vs spec | Ian Jackson | 2025-11-18 | 2 | -3/+3 | |
| | | | | | | Add underscores so that the spec keywords and the flag constants correspond (according to `paste`'s case-changing rules). | |||||
| * | Fix name of clippy lint to unchecked_time_subtraction (2) | Ian Jackson | 2025-11-06 | 1 | -1/+1 | |
| | | | | | Run maint/add_warning | |||||
| * | tor-netdoc: Abolish ArgumentNotPresent alias, completing the rename | Ian Jackson | 2025-10-23 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: Use NotPresent rather than Option<Ignored> to suppress fields | Ian Jackson | 2025-10-23 | 4 | -8/+8 | |
| | | ||||||
| * | tor-netdoc: Preamble: Fix garbled doc comment | Ian Jackson | 2025-10-22 | 1 | -1/+1 | |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3378#note_3277957 | |||||
| * | tor-netdoc: Preamble: rename relay_version field to server_version | Ian Jackson | 2025-10-22 | 3 | -8/+8 | |
| | | | | | This makes it match the protocol and the spec. | |||||
