aboutsummaryrefslogtreecommitdiff
path: root/tor-netdoc
Commit message (Collapse)AuthorAgeFilesLines
...
* Netdoc: better parsing for objects.Nick Mathewson2020-05-152-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 Mathewson2020-05-154-13/+11
| | | | | Having byte-level positions means we don't need to complain about particular arguments.
* netdoc: remove ArgError.Nick Mathewson2020-05-152-44/+23
|
* netdoc: Make args_as_vec() non-public.Nick Mathewson2020-05-131-1/+1
| | | | It returns a Ref, and that's kinda implementation-dependent.
* Improve reported positions of parsing errors.Nick Mathewson2020-05-132-5/+39
|
* netdoc: remove the Item::off field as redundantNick Mathewson2020-05-133-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 Mathewson2020-05-134-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 pointersNick Mathewson2020-05-131-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 Mathewson2020-05-131-0/+9
|
* routerdesc: enforce position of identity-ed25519.Nick Mathewson2020-05-122-11/+19
|
* Note a type that should get moved some dayNick Mathewson2020-05-091-0/+2
|
* tor-netdoc: require documentation, and fill in final missing docsNick Mathewson2020-05-094-33/+42
|
* Netdoc: allow doc comments and visibility modifier in decl_keyword!Nick Mathewson2020-05-092-4/+6
|
* netdoc: document routerdoc.rsNick Mathewson2020-05-091-34/+112
|
* Netdoc: remove dead code or annotate it as allowed.Nick Mathewson2020-05-093-19/+24
|
* netdoc: Document rules.rs, and refactor slightly.Nick Mathewson2020-05-093-18/+94
|
* netdoc: Improved error type for Section::GetRequired.Nick Mathewson2020-05-091-2/+5
|
* Make the members of TokenFmt private, and simplify the API in the process.Nick Mathewson2020-05-092-44/+44
|
* Move Item verification to be a method of TokenFmt.Nick Mathewson2020-05-092-37/+44
|
* Move MaybeItem into tokenize.rsNick Mathewson2020-05-092-39/+41
|
* Document parse.rs in tor-netdoc, and note things to move or fixNick Mathewson2020-05-091-4/+82
|
* Fix a logic error when finding position of unexpected keyword.Nick Mathewson2020-05-091-1/+1
| | | | This appears to be a bad copy-paste.
* Document more of 'netdoc', including errors.Nick Mathewson2020-05-094-30/+118
|
* netdoc and version docsNick Mathewson2020-05-088-43/+364
|
* Stop re-exporting traits from tor-llcrypto. It does not help.Nick Mathewson2020-05-082-1/+2
|
* Fresh git repository for work on "arti"Nick Mathewson2020-05-0715-0/+2092
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.