| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | netdoc: Teach tokenizer about annotations. | Nick Mathewson | 2020-05-19 | 2 | -11/+27 | |
| | | | | | | | I'm not sure that annotations are a feature I want to keep long-term, but for now it would be useful if this code can also read Tor's file formats for network directories. | |||||
| * | netdoc: Add convenience methods for pausing iterators | Nick Mathewson | 2020-05-19 | 2 | -11/+39 | |
| | | ||||||
| * | netdoc: move keyword into Item type. | Nick Mathewson | 2020-05-19 | 5 | -51/+61 | |
| | | | | | This saves us from having to check specific strings in most cases. | |||||
| * | netdoc: Extract keyword into its own file. | Nick Mathewson | 2020-05-19 | 7 | -46/+50 | |
| | | ||||||
| * | start a test for microdesc parsing. | Nick Mathewson | 2020-05-18 | 1 | -0/+10 | |
| | | ||||||
| * | tor-netdoc: add a peek() method to util::Pausable. | Nick Mathewson | 2020-05-16 | 1 | -0/+19 | |
| | | ||||||
| * | Implement microdescriptor parsing. | Nick Mathewson | 2020-05-15 | 7 | -1/+200 | |
| | | | | | | Additionally, move and refactor related types to reduce friction for microdescriptor parsing implementation. | |||||
| * | tor-netdoc: Move RelayFamily into its own module. | Nick Mathewson | 2020-05-15 | 3 | -22/+30 | |
| | | ||||||
| * | tor_cert: use caret_int!() to make real types for cert elements | Nick Mathewson | 2020-05-15 | 2 | -4/+4 | |
| | | ||||||
| * | tor-netdoc: extract fingerprint logic from routerdesc.rs | Nick Mathewson | 2020-05-15 | 2 | -20/+57 | |
| | | ||||||
| * | netdoc: Improve parsing implementation for RelayFamily. | Nick Mathewson | 2020-05-15 | 1 | -5/+5 | |
| | | ||||||
| * | netdoc: Relax error types that can be used when parsing. | Nick Mathewson | 2020-05-15 | 2 | -7/+34 | |
| | | ||||||
| * | netdoc: teach MaybeItem about parse_args_as_str(). | Nick Mathewson | 2020-05-15 | 2 | -13/+13 | |
| | | | | | This simplifies a couple of places in routerdesc parsing. | |||||
| * | tor-netdoc: Extract family parsing into its own function. | Nick Mathewson | 2020-05-15 | 2 | -20/+25 | |
| | | ||||||
| * | Extract RelayPlatform parsing. | Nick Mathewson | 2020-05-15 | 1 | -13/+17 | |
| | | ||||||
| * | netdoc: get positions right in version parsing. | Nick Mathewson | 2020-05-15 | 1 | -6/+6 | |
| | | ||||||
| * | netdoc: use improved API for parsing ed25519 certificates. | Nick Mathewson | 2020-05-15 | 3 | -34/+80 | |
| | | ||||||
| * | netdoc: use new router object parsing API for RSA public keys. | Nick Mathewson | 2020-05-15 | 1 | -28/+12 | |
| | | ||||||
| * | Netdoc: better parsing for objects. | Nick Mathewson | 2020-05-15 | 2 | -0/+63 | |
| | | | | | | If I'm right this will let us simplify our code for parsing things from directory objects by a lot. | |||||
| * | Remove 'idx' field from BadArgument. | Nick Mathewson | 2020-05-15 | 4 | -13/+11 | |
| | | | | | | Having byte-level positions means we don't need to complain about particular arguments. | |||||
| * | netdoc: remove ArgError. | Nick Mathewson | 2020-05-15 | 2 | -44/+23 | |
| | | ||||||
| * | netdoc: Make args_as_vec() non-public. | Nick Mathewson | 2020-05-13 | 1 | -1/+1 | |
| | | | | | It returns a Ref, and that's kinda implementation-dependent. | |||||
| * | Improve reported positions of parsing errors. | Nick Mathewson | 2020-05-13 | 2 | -5/+39 | |
| | | ||||||
| * | netdoc: remove the Item::off field as redundant | Nick Mathewson | 2020-05-13 | 3 | -11/+73 | |
| | | | | | | Now that we are okay with using slice offset pointer math, we can remove the 'off' field from Item entirely. | |||||
| * | netdoc: rename Position to Pos. | Nick Mathewson | 2020-05-13 | 4 | -55/+55 | |
| | | | | | We use this type a lot, so let's give it a short name. | |||||
| * | netdoc: use a more flexible error-position type based on raw pointers | Nick Mathewson | 2020-05-13 | 1 | -1/+32 | |
| | | | | | | Astonishingly, this is safe, though I wish that it were impossible to use mismatched strings. | |||||
| * | netdoc: Add an "at()" method to replace an error's location. | Nick Mathewson | 2020-05-13 | 1 | -0/+9 | |
| | | ||||||
| * | routerdesc: enforce position of identity-ed25519. | Nick Mathewson | 2020-05-12 | 2 | -11/+19 | |
| | | ||||||
| * | Note a type that should get moved some day | Nick Mathewson | 2020-05-09 | 1 | -0/+2 | |
| | | ||||||
| * | tor-netdoc: require documentation, and fill in final missing docs | Nick Mathewson | 2020-05-09 | 4 | -33/+42 | |
| | | ||||||
| * | Netdoc: allow doc comments and visibility modifier in decl_keyword! | Nick Mathewson | 2020-05-09 | 2 | -4/+6 | |
| | | ||||||
| * | netdoc: document routerdoc.rs | Nick Mathewson | 2020-05-09 | 1 | -34/+112 | |
| | | ||||||
| * | Netdoc: remove dead code or annotate it as allowed. | Nick Mathewson | 2020-05-09 | 3 | -19/+24 | |
| | | ||||||
| * | netdoc: Document rules.rs, and refactor slightly. | Nick Mathewson | 2020-05-09 | 3 | -18/+94 | |
| | | ||||||
| * | netdoc: Improved error type for Section::GetRequired. | Nick Mathewson | 2020-05-09 | 1 | -2/+5 | |
| | | ||||||
| * | Make the members of TokenFmt private, and simplify the API in the process. | Nick Mathewson | 2020-05-09 | 2 | -44/+44 | |
| | | ||||||
| * | Move Item verification to be a method of TokenFmt. | Nick Mathewson | 2020-05-09 | 2 | -37/+44 | |
| | | ||||||
| * | Move MaybeItem into tokenize.rs | Nick Mathewson | 2020-05-09 | 2 | -39/+41 | |
| | | ||||||
| * | Document parse.rs in tor-netdoc, and note things to move or fix | Nick Mathewson | 2020-05-09 | 1 | -4/+82 | |
| | | ||||||
| * | Fix a logic error when finding position of unexpected keyword. | Nick Mathewson | 2020-05-09 | 1 | -1/+1 | |
| | | | | | This appears to be a bad copy-paste. | |||||
| * | Document more of 'netdoc', including errors. | Nick Mathewson | 2020-05-09 | 4 | -30/+118 | |
| | | ||||||
| * | netdoc and version docs | Nick Mathewson | 2020-05-08 | 8 | -43/+364 | |
| | | ||||||
| * | Stop re-exporting traits from tor-llcrypto. It does not help. | Nick Mathewson | 2020-05-08 | 1 | -1/+1 | |
| | | ||||||
| * | Fresh git repository for work on "arti" | Nick Mathewson | 2020-05-07 | 13 | -0/+2023 | |
| Arti is a rust tor implementation. It's project I've been working on for a few months now, in weekends and in spare time. It doesn't speak the tor protocol yet, and it doesn't connect to the network at all. It needs much more documentation and testing, but I'm just about ready to show it to others. See the README.md for a description of what is there and what isn't. | ||||||
