| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Move all crates into a `crates` subdirectory. | Nick Mathewson | 2021-08-27 | 9 | -2684/+0 |
| | | | | | | This will cause some pain for now, but now is really the best time to do this kind of thing. | ||||
| * | Simplify NetParameters::default() | Nick Mathewson | 2021-08-27 | 1 | -49/+32 |
| | | | | | | Instead of loading it with expect() calls, make a new function that returns a Result, and call expect() only once. | ||||
| * | Tweaks on patch to add clippy::unwrap_used lint. | Nick Mathewson | 2021-08-27 | 1 | -1/+1 |
| | | | | | | | | The most frequent changes are: - Rewording messages about poisoned locks - Correcting some error types | ||||
| * | Change `unwrap` to `expect` with message | S0AndS0 | 2021-08-25 | 1 | -20/+37 |
| | | | | | | | > Note, while `cargo fmt` doesn't complain I think this section could be > prettier. Also it may be a good idea to have tests double-check that future > changes don't cause a panic condition. | ||||
| * | Move "use_unwrap" lint from some to want list | S0AndS0 | 2021-08-25 | 1 | -1/+2 |
| | | | | | | | | | And convert some `add_or_port` calls to use `SocketAddr` instead of parse + unwrap on strings. > Note, this last change is only for IPv4 addresses, for now, and only > within tests. | ||||
| * | WIP: Add the "unwrap_used" lint. | S0AndS0 | 2021-08-24 | 4 | -21/+30 |
| | | | | | | | | | | | | | | | | | | > Check `unwrap_used` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used This adds the following Clippy configuration to crates; #![deny(clippy::unwrap_used)] **Warning** while tests and compiler do not show any errors, the submitted changes are very much a Work In Progress and mistakes may have been made. Check https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/67 Merge Request thread for more details. | ||||
| * | Switch all uses of the log crate to the tracing. | Jani Monoses | 2021-08-20 | 2 | -2/+2 |
| | | | | | Issue #74 | ||||
| * | Fix a few things that the "typos" tool didn't like. | Nick Mathewson | 2021-08-20 | 1 | -15/+15 |
| | | |||||
| * | Document panics in tor-netdir::testnet. | Nick Mathewson | 2021-08-18 | 1 | -5/+7 |
| | | |||||
| * | Revisions based on new documented-panics lint. | Nick Mathewson | 2021-08-18 | 1 | -0/+5 |
| | | | | | | I've tried to remove some of possible panics, and improve the documentation for when the others might occur. | ||||
| * | Merge remote-tracking branch 'origin/mr/60' | Nick Mathewson | 2021-08-18 | 1 | -0/+1 |
| |\ | |||||
| | * | Add the "missing_panics_doc" lint. | S0AndS0 | 2021-08-13 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | > Check `missing_panics_doc` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc This adds the following Clippy configuration to crates; #![deny(clippy::missing_panics_doc)] And adds necessary doc-comments to methods that may panic. | ||||
| * | | Merge remote-tracking branch 'origin/mr/61' | Nick Mathewson | 2021-08-18 | 1 | -0/+1 |
| |\ \ | |||||
| | * | | Add the "implicit_clone" lint. | S0AndS0 | 2021-08-17 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Check `implicit_clone` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone This adds, and addresses, the following Clippy configuration to crates; #![deny(clippy::implicit_clone)] And moves related line within `maint/add_warning.py` file. My intent is to mitigate extra edits after merging, so please let me know if I need to do this last bit differently. | ||||
| * | | | More tests for tor_netdir, plus a bugfix and a little refactoring. | Nick Mathewson | 2021-08-17 | 1 | -34/+84 |
| | | | | | | | | | | | | | | | | | | | (While messing around with test coverage on `in_same_subnet`, I found that there was a copy-paste error where we were using v4_bits when v6_bits would have been appropriate.) | ||||
| * | | | Make construct_netdir() return a PartialNetDir. | Nick Mathewson | 2021-08-17 | 2 | -6/+8 |
| | | | | | | | | | | | | | | | | This way we can still use it even if we've removed too many microdescriptors to make a real network. | ||||
| * | | | Test Netdir behavior with BadExit flag. | Nick Mathewson | 2021-08-17 | 1 | -2/+60 |
| | | | | |||||
| * | | | Re-work the test network generator to take a customization function. | Nick Mathewson | 2021-08-17 | 1 | -17/+104 |
| |/ / | |||||
| * / | Update tor-netdir path fractions to avoid NaN. | Nick Mathewson | 2021-08-16 | 1 | -15/+34 |
| |/ | |||||
| * | Use add_warnings.py for clippy::cast_lossless | Nick Mathewson | 2021-08-13 | 1 | -1/+1 |
| | | |||||
| * | Add the "cast_lossless" lint. | S0AndS0 | 2021-08-12 | 3 | -4/+5 |
| | | | | | | | | | | | | | > Check `cast_lossless` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless This adds the following Clippy configuration to crates; #![deny(clippy::cast_lossless)] And applies suggested Clippy and `cargo fmt` fixes. | ||||
| * | Use real network parameter values to tune test circuits. | Nick Mathewson | 2021-08-12 | 1 | -3/+17 |
| | | | | | Finishes #145. | ||||
| * | Add functions to check whether port policies are nonempty. | Nick Mathewson | 2021-08-11 | 1 | -1/+19 |
| | | |||||
| * | Use real network parameters to set unused-circ timeouts. | Nick Mathewson | 2021-08-10 | 1 | -2/+22 |
| | | |||||
| * | Add unnecessary_wraps to the big warning list. | Nick Mathewson | 2021-08-06 | 1 | -0/+1 |
| | | |||||
| * | Small cleanups and tweaks to same_subnet code. | Nick Mathewson | 2021-08-05 | 1 | -35/+30 |
| | | |||||
| * | Merge remote-tracking branch 'origin/mr/45' | Nick Mathewson | 2021-08-05 | 2 | -5/+80 |
| |\ | |||||
| | * | Support EnforceDistinctSubnets | Smitty | 2021-08-01 | 2 | -5/+80 |
| | | | | | | | | | | | Relays on the same IPv4 /16 or IPv6 /32 are treated as being in the same family. | ||||
| * | | Revert spelling change; "recognised" is valid | rls | 2021-07-31 | 1 | -1/+1 |
| | | | |||||
| * | | Fix typos and other spelling mistakes | rls | 2021-07-31 | 5 | -11/+11 |
| |/ | |||||
| * | address some possibly slightly controversial lints | Daniel Eades | 2021-07-21 | 1 | -6/+3 |
| | | |||||
| * | address a bunch of hopefully uncontroversial lints | Daniel Eades | 2021-07-20 | 2 | -3/+2 |
| | | |||||
| * | Implement consensus parameters related to circuit timeout inference. | Nick Mathewson | 2021-07-19 | 1 | -0/+74 |
| | | |||||
| * | cleanliness | Trinity Pointard | 2021-07-10 | 1 | -11/+8 |
| | | |||||
| * | make ipv[46]_policy take into account BadExit | Trinity Pointard | 2021-07-10 | 1 | -10/+30 |
| | | | | | they now report an empty policy for BadExit relays | ||||
| * | Rename "send_me_*" to "sendme_*" | Nick Mathewson | 2021-07-06 | 1 | -9/+9 |
| | | |||||
| * | Merge remote-tracking branch 'origin/mr/34' | Nick Mathewson | 2021-06-27 | 1 | -0/+2 |
| |\ | |||||
| | * | Add clippy warn needless pass by value | YUAN LYU | 2021-06-21 | 1 | -0/+1 |
| | | | |||||
| | * | Add clippy warn needless borrow | YUAN LYU | 2021-06-21 | 1 | -0/+1 |
| | | | |||||
| * | | Bump version dependencies to 0.0.0 | Nick Mathewson | 2021-06-24 | 1 | -7/+7 |
| | | | |||||
| * | | Remove "publish = false" | Nick Mathewson | 2021-06-24 | 1 | -1/+0 |
| |/ | |||||
| * | Fix some warnings about needless & from nightly clippy | Nick Mathewson | 2021-06-18 | 2 | -4/+4 |
| | | |||||
| * | Remove some (but not all) needless dependencies. | Nick Mathewson | 2021-06-17 | 1 | -6/+3 |
| | | |||||
| * | Notes about badexit flag and opportunities for error | Nick Mathewson | 2021-06-16 | 1 | -0/+4 |
| | | |||||
| * | Missing feature dependency. | Nick Mathewson | 2021-06-16 | 1 | -1/+1 |
| | | |||||
| * | Tests for circmgr::usage | Nick Mathewson | 2021-06-16 | 2 | -5/+21 |
| | | |||||
| * | Expose the "construct_network()" function in tor-netdir. | Nick Mathewson | 2021-06-16 | 3 | -77/+138 |
| | | | | | | | | | This function has been used for testing tor-netdir, but it will also be useful for testing path selection in tor-cirmgr as well. I've put it behind a "testing" feature, since it shouldn't really be used by most applications. | ||||
| * | Add noop_method_call warning. | Nick Mathewson | 2021-05-27 | 1 | -0/+1 |
| | | | | | | | This would have saved ahf and me a lot of confusion in debugging a situation where we were cloning a reference of a type that didn't implement Clone. | ||||
| * | Use the "typos" tool to fix some spelling | Nick Mathewson | 2021-05-26 | 1 | -1/+1 |
| | | |||||
| * | Enable cargo_common_metadata warning. | Nick Mathewson | 2021-05-25 | 1 | -0/+2 |
| | | |||||
