| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tor-netdoc: parse2: Bind a `selector` local | Ian Jackson | 2025-09-02 | 1 | -1/+2 | |
| | | | | | We're going to reuse this. | |||||
| * | tor-netdoc: parse2: derive: Remove an unneeded nested ${concat } | Ian Jackson | 2025-09-02 | 1 | -1/+1 | |
| | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3186#note_3249820 | |||||
| * | tor-netdoc: parse2: Speak of non-structural *items* rather than fields | Ian Jackson | 2025-09-02 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: parse2: Report unexpected subdoc multiplicity at the intro item | Ian Jackson | 2025-09-02 | 2 | -3/+5 | |
| | | ||||||
| * | tor-netdoc: multiplicity: Introduce can_accumulate | Ian Jackson | 2025-09-02 | 1 | -2/+20 | |
| | | | | | | | We're going to use this to check that we can accept a sub-document before we parse it. That will make the error come out in the right place. | |||||
| * | tor-netdoc: parse2 tests: Add test case for flattening | Ian Jackson | 2025-09-02 | 1 | -2/+42 | |
| | | ||||||
| * | tor-netdoc: parse2 tests: Use sval in one place rather than open-coding | Ian Jackson | 2025-09-02 | 1 | -1/+1 | |
| | | ||||||
| * | tor-netdoc: parse2: Provide flattening and NetdocParseableFields | Ian Jackson | 2025-09-02 | 3 | -7/+151 | |
| | | ||||||
| * | tor-netdoc: parse2: Preparatory rework for flattening | Ian Jackson | 2025-09-02 | 1 | -8/+10 | |
| | | | | | | Change from two loops over fields and two ${when}, to one loop with ${select1}. There will be another arm in a moment. | |||||
| * | tor-netdoc: parse2: Specify `for struct` in one of the derives | Ian Jackson | 2025-09-02 | 1 | -1/+1 | |
| | | | | | None of these things support enums or unions. | |||||
| * | tor-netdoc: parse2: tests: Include the test doc in more error msgs | Ian Jackson | 2025-09-02 | 1 | -5/+6 | |
| | | ||||||
| * | tor-netdoc: parse2: multiplicity: Remove now-obsolete trait items | Ian Jackson | 2025-08-26 | 1 | -12/+0 | |
| | | ||||||
| * | tor-netdoc: parse2: Know that we always accumulate into Option<Field> | Ian Jackson | 2025-08-26 | 2 | -2/+2 | |
| | | ||||||
| * | tor-netdoc: parse2: Always accumulate into Option<Field> (fmt) | Ian Jackson | 2025-08-26 | 1 | -1/+5 | |
| | | ||||||
| * | tor-netdoc: parse2: Always accumulate into Option<Field> | Ian Jackson | 2025-08-26 | 1 | -13/+22 | |
| | | ||||||
| * | tor-netdoc: parse2: Break out F_EFFECTIVE_TYPE | Ian Jackson | 2025-08-26 | 1 | -7/+13 | |
| | | | | | We're going to want to reuse this. | |||||
| * | tor-netdoc: parse2: Use selector_ rather than open-coding | Ian Jackson | 2025-08-26 | 1 | -1/+1 | |
| | | | | | We're going to make this depend on $ftype differently. | |||||
| * | tor-netdoc: parse2: Report subdoc intro item keyword for missing item | Ian Jackson | 2025-08-26 | 3 | -4/+19 | |
| | | | | | This corrects the error message. | |||||
| * | tor-netdoc: parse2: More focused tests (error cases) | Ian Jackson | 2025-08-26 | 1 | -0/+84 | |
| | | ||||||
| * | tor-netdoc: parse2: More focused tests (success cases) | Ian Jackson | 2025-08-26 | 1 | -0/+179 | |
| | | | | | | The netstatus doc poc does test most of the functionality, but I want some tests of edge cases that that misses. | |||||
| * | tor-netdoc: parse2: Fix doctype_for_error | Ian Jackson | 2025-08-26 | 1 | -3/+4 | |
| | | | | | Actually report the intro item, as the docs state. | |||||
| * | tor-netdoc: Rerun cargo fmt after rebase | Ian Jackson | 2025-08-14 | 1 | -2/+2 | |
| | | ||||||
| * | tgr-netdoc: Tests of parse2 | Ian Jackson | 2025-08-14 | 2 | -0/+93 | |
| | | | | | We parse and verify some network documents from testdata2. | |||||
| * | tor-netdoc: Proof-of-concept demo of new parser | Ian Jackson | 2025-08-14 | 5 | -0/+859 | |
| | | | | | This can parse and validate the signatures on a consensus. | |||||
| * | tor-netdoc: Introduce parse2, new parser | Ian Jackson | 2025-08-14 | 11 | -0/+2132 | |
| This isn't used anywhere yet. We're going to demonstrate it, and test the demo, in a moment. | ||||||
