| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix some warnings about needless & from nightly clippy | Nick Mathewson | 2021-06-18 | 1 | -1/+1 |
| | | |||||
| * | Use the "typos" tool to fix some spelling | Nick Mathewson | 2021-05-26 | 1 | -1/+1 |
| | | |||||
| * | Add the "unreachable_pub" lint. | Nick Mathewson | 2021-05-18 | 4 | -58/+73 |
| | | | | | | | This is a somewhat obnoxious change in its scope and requirements, but it makes it easier to understand what the real public and private parts of our APIs are. | ||||
| * | Fix a bunch more new clippy lints in Rust 1.51 | Nick Mathewson | 2021-03-29 | 1 | -0/+1 |
| | | | | | | | | | The major types are: * You implemented Into when you should have implemented From. * You sliced a slice when you didn't have to. * You said Ok(x?) when you could have said x. * You said Vec::new(); push(); push(); when you could have said vec![]. | ||||
| * | Fix Rust-1.51 clippy warnings about acronyms in camel case. | Nick Mathewson | 2021-03-29 | 1 | -0/+2 |
| | | | | | This is painful, but we shouldn't have to do it again. | ||||
| * | Migrate from lazy_static to once_cell. | Nick Mathewson | 2020-12-22 | 2 | -20/+17 |
| | | |||||
| * | Resolve a few nightly-only clippy issues | Nick Mathewson | 2020-12-07 | 1 | -7/+1 |
| | | |||||
| * | Run cargo fix --edition-idioms | Nick Mathewson | 2020-12-02 | 2 | -4/+4 |
| | | |||||
| * | netdoc: split off string utils | Nick Mathewson | 2020-11-14 | 1 | -1/+1 |
| | | |||||
| * | Calculate digest correctly when microdesc ends with base64 object. | Nick Mathewson | 2020-10-19 | 1 | -3/+10 |
| | | |||||
| * | Netdoc: validate objects even on unrecognized items. | Nick Mathewson | 2020-10-19 | 4 | -10/+38 |
| | | |||||
| * | Mark must-resolve XXXX issues with "XXXXM3". | Nick Mathewson | 2020-10-18 | 2 | -2/+2 |
| | | | | | | | | | | | "M3" is for "milestone 3" -- my target to fix the technical debt that I think will be bad if we ship even a pre-alpha with it. These aren't necessarily _all_ must-resolve, but they're all must-look-at. Closes #15 | ||||
| * | Document most private items in tor-netdoc. | Nick Mathewson | 2020-10-09 | 4 | -4/+52 |
| | | |||||
| * | Tokenize: report accurate positions for more parsing errors | Nick Mathewson | 2020-10-02 | 1 | -2/+18 |
| | | |||||
| * | Netdoc: use a more bulletproof pattern to prevent infinite loops | Nick Mathewson | 2020-10-02 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | Previously our "read a bunch of this kind of document" functions had a common problem, where they could get into an infinite loop if the underlying "read this kind of document" function failed without consuming any tokens. I _think_ that this error case was unreachable (or else fuzzing would have found it, right?), but proving that it was unreachable was a bit fiddly, and I couldn't follow my own arguments about it. Instead, we just store the position of the reader before we start reading, and make sure that it has consumed at least some data. If it hasn't, then we consume and drop a token before advancing to the next document. | ||||
| * | More tests on parsing, plus remove dead code. | Nick Mathewson | 2020-09-30 | 2 | -20/+56 |
| | | |||||
| * | Start on some parser backend tests | Nick Mathewson | 2020-09-30 | 1 | -0/+77 |
| | | |||||
| * | tokenize: accept base64 with funny linewraps. | Nick Mathewson | 2020-09-30 | 1 | -3/+3 |
| | | |||||
| * | More tests for tokenize.rs, with some bugfixes | Nick Mathewson | 2020-09-30 | 1 | -46/+184 |
| | | |||||
| * | Start on some tests for parse::tokenize.rs | Nick Mathewson | 2020-09-29 | 2 | -2/+58 |
| | | |||||
| * | Add tests for macros module in tor-netdoc. | Nick Mathewson | 2020-09-29 | 1 | -4/+57 |
| | | | | | Also improve output for multi-keyword tokens. | ||||
| * | Move around the modules inside tor-netdoc. | Nick Mathewson | 2020-09-29 | 5 | -0/+1215 |
| This change just gives them a more logical breakdown into parsing, documents, and misc other types. | |||||
