Commit Graph

7840 Commits

Author SHA1 Message Date
Nick Mathewson 9443fc7690 netdoc: rename Position to Pos.
We use this type a lot, so let's give it a short name.
2020-05-13 13:52:53 -04:00
Nick Mathewson 9321e7acd9 netdoc: use a more flexible error-position type based on raw pointers
Astonishingly, this is safe, though I wish that it were impossible
to use mismatched strings.
2020-05-13 13:48:57 -04:00
Nick Mathewson 26079d66e4 netdoc: Add an "at()" method to replace an error's location. 2020-05-13 13:00:57 -04:00
Nick Mathewson 598ea96911 routerdesc: enforce position of identity-ed25519. 2020-05-12 08:14:17 -04:00
Nick Mathewson 9c62d15846 tor-proto: Simplify ct::lookup API. 2020-05-10 12:10:16 -04:00
Nick Mathewson 8d40caf8be One more disclaimer in the README 2020-05-09 16:38:12 -04:00
Nick Mathewson aea1be6674 improve the README a little 2020-05-09 16:36:33 -04:00
Nick Mathewson 240badb20b Document most of tor-proto
(except for the worst parts that need refactoring the most)
2020-05-09 16:25:17 -04:00
Nick Mathewson 11abdcbf3e tor-proto: Fix a logic error in KDF-TOR implementation. 2020-05-09 14:01:48 -04:00
Nick Mathewson 84ac61b5d4 Note a type that should get moved some day 2020-05-09 13:35:58 -04:00
Nick Mathewson 7ec2254634 tor-netdoc: require documentation, and fill in final missing docs 2020-05-09 13:34:59 -04:00
Nick Mathewson 5d3f13e6e7 Netdoc: allow doc comments and visibility modifier in decl_keyword! 2020-05-09 13:31:29 -04:00
Nick Mathewson 73752fb647 netdoc: document routerdoc.rs 2020-05-09 13:29:49 -04:00
Nick Mathewson bf19811d22 Netdoc: remove dead code or annotate it as allowed. 2020-05-09 13:08:31 -04:00
Nick Mathewson 080667da37 netdoc: Document rules.rs, and refactor slightly. 2020-05-09 11:54:21 -04:00
Nick Mathewson c739c2e424 netdoc: Improved error type for Section::GetRequired. 2020-05-09 11:30:02 -04:00
Nick Mathewson abe9200eea Make the members of TokenFmt private, and simplify the API in the process. 2020-05-09 11:30:02 -04:00
Nick Mathewson 56694d4fc8 Move Item verification to be a method of TokenFmt. 2020-05-09 11:30:02 -04:00
Nick Mathewson d9513492fe Move MaybeItem into tokenize.rs 2020-05-09 11:30:02 -04:00
Nick Mathewson 624dca4056 Document parse.rs in tor-netdoc, and note things to move or fix 2020-05-09 11:30:02 -04:00
Nick Mathewson 07d6cd956a Fix a logic error when finding position of unexpected keyword.
This appears to be a bad copy-paste.
2020-05-09 11:30:02 -04:00
Nick Mathewson 07e41734ec Document more of 'netdoc', including errors. 2020-05-09 11:30:02 -04:00
Nick Mathewson c4d0f59e7d netdoc and version docs 2020-05-08 22:32:17 -04:00
Nick Mathewson c65c40170d clean up tor-cert documentation a little. 2020-05-08 22:32:17 -04:00
Nick Mathewson 671a266e13 tor-bytes: add the missing documentation 2020-05-08 22:32:17 -04:00
Nick Mathewson 641576aa44 Use links for traits in llcrypto docs 2020-05-08 22:32:17 -04:00
Nick Mathewson f24ddf0682 Upgrade to a modern version of "sha-1".
Apparently the "sha1" crate doesn't implement the RustCrypto
API, but the "sha-1" crate does.
2020-05-08 22:32:17 -04:00
Nick Mathewson 75a1269429 make id field in RSAIdentity private 2020-05-08 22:32:17 -04:00
Nick Mathewson b48597fb18 most missing docs for llcrypto 2020-05-08 22:32:17 -04:00
Nick Mathewson 3c7f75302b Stop re-exporting traits from tor-llcrypto. It does not help. 2020-05-08 22:32:17 -04:00
Nick Mathewson dd17ba05d0 llcrypto: small documentation improvements 2020-05-08 22:32:17 -04:00
Nick Mathewson 28bb1a681b protover: add missing documentation 2020-05-08 22:32:17 -04:00
Nick Mathewson c9bf912946 Add a comment to Cargo.toml 2020-05-08 22:26:53 -04:00
Nick Mathewson 8fc1b01652 caret: make generated documentation look nicer. 2020-05-08 22:26:31 -04:00
Nick Mathewson 18ceb69453 Fix some markdown in README.md.
Markdown breakage 1: The internet led me to believe this is how you
did a <dl> in markdown.  Apparently it wasn't.

Markdown breakage 2: I forgot how lists work!

Also, add a paragraph about stuff you can try.
2020-05-08 22:24:20 -04:00
Nick Mathewson 1491870db6 Update the TODO 2020-05-08 22:21:47 -04:00
Nick Mathewson 4c56b955a1 fold plan into readme 2020-05-08 22:21:47 -04:00
Nick Mathewson d0af946b9b Use cargo-husky to add automatic git commit/push hooks. 2020-05-08 22:21:47 -04:00
Nick Mathewson fdfbd4b08e license clarity and contribution notice 2020-05-08 22:21:47 -04:00
Nick Mathewson bbcbf47902 Fresh git repository for work on "arti"
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.
2020-05-07 19:58:14 -04:00