| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tor-netdoc: Implement encode traits for Intern wrappers | Clara Engler | 2026-06-24 | 1 | -0/+35 |
| | | | | | Just a boilerplate implementation. | ||||
| * | tor-netdoc: encode derive: New default(skip) feature | Ian Jackson | 2026-06-22 | 2 | -0/+31 |
| | | | | | This lets us skip fields which have the default values. | ||||
| * | tor-netdoc: encode derive: New default(skip) feature (pre-fmt) | Ian Jackson | 2026-06-22 | 1 | -3/+7 |
| | | |||||
| * | tor-netdoc: Document that parse2 vs encode multiplicity match req't | Ian Jackson | 2026-05-18 | 1 | -0/+20 |
| | | |||||
| * | tor-netdoc: NetdocEncodableFields: Suppress warnings for empty structs | Ian Jackson | 2026-05-13 | 1 | -0/+2 |
| | | |||||
| * | tor-netdoc: NetdocEncodableFields: Suppress warnings for empty structs (pre-fmt) | Ian Jackson | 2026-05-13 | 1 | -1/+4 |
| | | |||||
| * | tor-netdoc: Introduce RetainedOrderVec parse/encode type | Ian Jackson | 2026-04-23 | 1 | -0/+8 |
| | | |||||
| * | tor-netdoc: Better error message for failure to implement encoding trait | Ian Jackson | 2026-04-23 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: impl ItemValueEncodable for tor_protover::Protocols | Ian Jackson | 2026-04-21 | 1 | -0/+13 |
| | | |||||
| * | tor-netdoc: Implement encoding traits for Arc<T> | Ian Jackson | 2026-04-21 | 1 | -0/+33 |
| | | |||||
| * | tor-netdoc: Support `#[deftly(netdoc(skip))]` in items | Ian Jackson | 2026-04-20 | 1 | -0/+6 |
| | | | | | Ie for "arguments" that don't actually appear. | ||||
| * | Merge branch 'netdoc-fixes' into 'main' | Clara Engler | 2026-04-08 | 1 | -1/+1 |
| |\ | | | | | | | | | tor-netdoc: Three fixes to parsing and encoding See merge request tpo/core/arti!3862 | ||||
| | * | tor-netdoc: encoding: Fix a Result to be $P::Result | Ian Jackson | 2026-04-07 | 1 | -1/+1 |
| | | | |||||
| * | | tor-netdoc: parse2/encode derive: Show unquoted attributes in the docs | Ian Jackson | 2026-04-07 | 1 | -3/+3 |
| | | | |||||
| * | | tor-netdoc: parse2/encode derive: Use meta_quoted rigorous | Ian Jackson | 2026-04-07 | 1 | -4/+4 |
| |/ | | | | | | | | | | | The `doctype_for_error` attribute needs immediate adjustment, because a string expression value is expected. With `quoted retain`, that would be re-interpreted, silently. This kind of thing is why `quoted rigorous` exists. So change its docs and the one use site. The macros' docs, and the other calls ites, we'll deal with shortly. | ||||
| * | tor-netdoc: encode: Move various ItemArgument impls to impls.rs | Ian Jackson | 2026-04-01 | 1 | -1/+68 |
| | | |||||
| * | tor-netdoc: impl encoding traits for rsa::PublicKey | Ian Jackson | 2026-04-01 | 1 | -0/+27 |
| | | |||||
| * | tor-netdoc: Provide ItemEncoder::object() taking an ItemObjectEncodable | Ian Jackson | 2026-04-01 | 1 | -0/+4 |
| | | |||||
| * | tor-netdoc: encode derive: Fix handling of optionality. | Ian Jackson | 2026-04-01 | 1 | -7/+3 |
| | | | | | | We mustn't use selector.selector() because that's for multiplicity, not optionality. In pracctice, it goes wrong with Vec<u8>. | ||||
| * | tor-netdoc: encode derive: Use paste_spanned to improve an error message | Ian Jackson | 2026-04-01 | 1 | -1/+3 |
| | | |||||
| * | tor-netdoc: Fix a wrong "what does this end" comment | Ian Jackson | 2026-04-01 | 1 | -1/+1 |
| | | | | | This was a c&p error, I think. | ||||
| * | tor-netdoc: encode derive: Use $P for Result | Ian Jackson | 2026-03-31 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: encoder: Rename .object() method to .object_bytes | Ian Jackson | 2026-03-31 | 1 | -1/+1 |
| | | | | | | | | | | | | With the introduction of the derives for document encoding, we now have a trait ItemObjectEncodable. We will want a method on ItemEncoder that takes an ItemObjectEncodable, and that should be called `object` since it's a better approach than working ad-hoc with tor_bytes::Writeable. (For example, an ItemObjectEncodable knows its own label.) So, rename `object` to `object_bytes`. | ||||
| * | Fix typos | Tobias Stoeckmann | 2026-03-24 | 2 | -3/+3 |
| | | | | | Typos found with codespell | ||||
| * | tor-netdoc: parse2: Move hash out of signature items | Ian Jackson | 2026-03-19 | 1 | -5/+0 |
| | | | | | | | | | | | During encoding, including these hashes in the signature items makes no sense. The hashes are an *input* to the signature items, but not part of them. Move the hashes out of the items. Instead, provide each signatures section type with a hash accumulator type, in which the hash(es) are stored. | ||||
| * | tor-netdoc: Fix typo | Ian Jackson | 2026-01-14 | 1 | -1/+1 |
| | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3571#note_3325449 | ||||
| * | tor-netdoc: derives: New `skip` document field option | Ian Jackson | 2026-01-14 | 1 | -0/+7 |
| | | | | | | This lets us having document items that are "manually non exhaustive" which is necessary for struct literal constructors. | ||||
| * | tor-netdoc encode: Fix typos in multiplicity check method docs | Ian Jackson | 2025-12-10 | 1 | -4/+4 |
| | | |||||
| * | tor-netdoc encode: Enhance explanation of DeterminedMultiplicitySelector | Ian Jackson | 2025-12-10 | 1 | -0/+3 |
| | | |||||
| * | tor-netdoc encode multiplicity: Fix wrong trait ref | Ian Jackson | 2025-12-10 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc encode multiplicity: Add a note about omission of intro items | Ian Jackson | 2025-12-10 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc Linkify three more types | Ian Jackson | 2025-12-10 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc Fix docs typo | Ian Jackson | 2025-12-10 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: derive netdoc encoding traits | Ian Jackson | 2025-12-10 | 2 | -0/+476 |
| | | | | | | Signature encoding is not yet supported. We need to consider how this will work. | ||||
| * | tor-netdoc: encoding: Provide multiplicity module | Ian Jackson | 2025-12-10 | 1 | -0/+196 |
| This is quite like the one for parse2, but separate for Reasons. Also add a bit of explanation to parse2's multiplicity.rs, about why there are all these different FooSetMethods traits, which the encoder doesn't need. | |||||
