summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump tor-netdir and tor-guardmgr versionsarti-v0.0.4Nick Mathewson2022-01-315-11/+11
| | | | | | | | tor-netdir needs to bump because tor-netdoc bumped, even though there were no other changes in tor-netdir. Whoops. tor-guardmgr needs to bump because it already published, with the older tor-netdir.
* Bump the patch version of every crate that changed since 0.0.3Nick Mathewson2022-01-3116-81/+81
|
* Update changed_crates to be more useful.Nick Mathewson2022-01-311-2/+3
|
* Mention shellcheck patch in changelog.Nick Mathewson2022-01-311-2/+3
|
* Changelog for 0.0.4.Nick Mathewson2022-01-311-0/+105
|
* Merge branch 'shellcheck' into 'main'Ian Jackson2022-01-315-3/+14
|\ | | | | | | | | Add shellcheck to gitlab ci and git hook See merge request tpo/core/arti!275
| * maint/shellcheck_all.sh: add missing final newlineIan Jackson2022-01-311-1/+1
| |
| * Change which command to command -vDaniel Schischkin2022-01-291-2/+2
| |
| * Remove redundancy/code duplication and switch to shellcheck_all.sh scriptDaniel Schischkin2022-01-292-3/+3
| |
| * Add shellcheck script into maint directoryDaniel Schischkin2022-01-291-0/+3
| |
| * Undo remove document-private-items argDaniel Schischkin2022-01-281-1/+1
| |
| * Remove argument document-private-items from nightly buildDaniel Schischkin2022-01-281-1/+1
| |
| * Add missing file ending for downgrade_dependencies in gitlab ciDaniel Schischkin2022-01-281-1/+1
| |
| * Add shellcheck to pre-push git hookDaniel Schischkin2022-01-281-0/+2
| |
| * Add shellcheck step into build stageDaniel Schischkin2022-01-281-0/+6
| |
| * Add correct file ending to maint/downgrade_dependenciesDaniel Schischkin2022-01-281-0/+0
| |
* | WANT_FROM_OTHER_CRATES: add a few links.Nick Mathewson2022-01-281-2/+9
|/
* Run "cargo update" in preparation for monday's release.Nick Mathewson2022-01-281-88/+103
|
* Use script to update README.md files.Nick Mathewson2022-01-283-15/+16
|
* Merge branch 'bug299' into 'main'Ian Jackson2022-01-285-13/+85
|\ | | | | | | | | | | | | Make max_file_limit configurable Closes #299 See merge request tpo/core/arti!261
| * Make max_file_limit configurableNeel Chauhan2022-01-285-13/+85
| |
* | Merge branch 'improve-coverage-ci-job' into 'main'eta2022-01-281-4/+1
|\ \ | | | | | | | | | | | | Improve `coverage` job in CI See merge request tpo/core/arti!269
| * | Improve `coverage` job in CIarturomf942022-01-281-4/+1
|/ /
* | Merge branch 'dirmgr_state_test_fix' into 'main'Nick Mathewson2022-01-271-1/+12
|\ \ | | | | | | | | | | | | Fix test failure in tor_dirmgr::state::test::get_microdescs_state See merge request tpo/core/arti!268
| * | Fix test failure in tor_dirmgr::state::test::get_microdescs_stateNick Mathewson2022-01-271-1/+12
|/ / | | | | | | | | | | | | | | | | This failure occurred because our tests use canned data to exercise the directory state functionality, and the canned consensus has suddenly become very expired. There are better fixes possible, but this is a minimal one that should get CI working on main again.
* | Merge branch 'shellcheck_teardown' into 'main'eta2022-01-271-0/+14
|\ \ | | | | | | | | | | | | Fix/suppress shellcheck errors in teardown.sh See merge request tpo/core/arti!266
| * | Fix/suppress shellcheck errors in teardown.shNick Mathewson2022-01-271-0/+14
| | | | | | | | | | | | Rationale: It's good to have all of our scripts pass shellcheck.
* | | Merge branch 'rtcompat_tests' into 'main'Nick Mathewson2022-01-276-327/+378
|\ \ \ | | | | | | | | | | | | | | | | Unit test cleanup in tor-rtcompat See merge request tpo/core/arti!267
| * | | tor-rtcompat: remove some unused code.Nick Mathewson2022-01-271-16/+0
| | | | | | | | | | | | | | | | | | | | Nothing actually used these accessor functions, and it's not clear what would. We can add them later if they're needed.
| * | | tor-rtcompat: Add some miscellaneous testsNick Mathewson2022-01-274-0/+91
| | | | | | | | | | | | | | | | | | | | These probably aren't for things that will fail IRL, but it's nice to have coverage on the code, just in case.
| * | | tor-rtcompat: Simplify test-declaration macros.Nick Mathewson2022-01-271-60/+35
| | | | | | | | | | | | | | | | Now there's much less copy-and-paste.
| * | | Move tor-rtcompat tests to lib.rsNick Mathewson2022-01-272-311/+312
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes our layout more similar to our other crates, and successfully informs our grcov exclusion pattern that these tests are indeed tests. Doing this knocks down the reported coverage for the tor-rtcompat crate, but that's okay: we hadn't earned it. I hereby promise that this commit is only code-movement.
* | | Merge branch 'eta/303' into 'main'Nick Mathewson2022-01-271-1/+2
|\ \ \ | |/ / |/| | | | | | | | doc/Release.md: add note to check feature combinations See merge request tpo/core/arti!265
| * | doc/Release.md: add note to check feature combinationseta2022-01-271-1/+2
| | | | | | | | | | | | This is a nice reminder to have before we solve arti#303 for good.
* | | with_coverage: resolve a shellcheck warningNick Mathewson2022-01-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Shellcheck doesn't like it when you do `rm -r "$A/$B"` : it worries that the path might accidentally expand to /. That shouldn't actually be possible in this case, but let's avoid being the people who accidentally remove somebody's filesystem.
* | | Once more exclude arti-bench from coverage.Nick Mathewson2022-01-271-0/+1
| | | | | | | | | | | | | | | This was added in !210; looks like it got removed by mistake with !221.
* | | with_coverage.sh: split grcov options into separate lines.Nick Mathewson2022-01-271-4/+12
| |/ |/| | | | | | | This makes it easier to see when they're changing, and will make future patches easier to review.
* | Merge branch 'rtcompat-refactor' into 'main'eta2022-01-2739-385/+561
|\ \ | |/ |/| | | | | | | | | Refactor the tor-rtcompat API. Closes #301 and #300 See merge request tpo/core/arti!263
| * Document why {current,create}_runtime are type-erasedNick Mathewson2022-01-271-9/+19
| |
| * Apply @eta's suggestions from review on !263eta2022-01-272-2/+2
| | | | | | Comment-only.
| * CI: Fix async-std taskNick Mathewson2022-01-261-2/+3
| | | | | | | | | | | | | | | | | | Previously it didn't enable any TLS provider, since we made native-tls optional a few commits ago. Now it enables rustls, so that rustls also gets a quick check along with async-std. I've also switched this test to use "cargo clippy" in place of "cargo test" because it's a strict superset.
| * Fix documentation references for tor-rtcompat refactoring.Nick Mathewson2022-01-263-14/+18
| |
| * arti: be more careful to use the user-selected runtimeNick Mathewson2022-01-263-5/+14
| |
| * Rename `SpawnBlocking` trait to `BlockOn`.Nick Mathewson2022-01-2611-21/+21
| | | | | | | | | | This avoids a future confusion with the new `SpawnBlocking` trait in async_executors v0.5, and better describes what the trait provides.
| * Make test_with_all_runtimes cover _all_ the runtimes.Nick Mathewson2022-01-266-84/+138
| | | | | | | | | | | | | | | | | | | | | | This took some refactoring, so that I wouldn't need to define 9 different versions of the function. It also required that we change the behavior of test_with_all_runtimes slightly, so that it asserts on _any_ failure rather than asserting on most but returning Err() for others. That in turn required changes to a few of its callers. There's probably a better way to do all of this macro business, but this is the best I could find.
| * Make the native-tls crate optional.Nick Mathewson2022-01-2621-45/+143
| | | | | | | | | | | | | | | | | | | | | | This commit puts the native-tls crate behind a feature. The feature is off-by-default in the tor-rtcompat crate, but can be enabled either from arti or arti-client. There is an included script that I used to test that tor-rtcompat could build and run its tests with all subsets of its features. Closes #300
| * Define aliases for "the best enabled runtime".Nick Mathewson2022-01-264-23/+45
| | | | | | | | | | This helps us simplify our code in a few ways, and will help even more once native_tls is optional.
| * Make current/create functions into runtime member functions.Nick Mathewson2022-01-269-104/+127
| | | | | | | | | | This should help avoid some amount of temptation towards API proliferation.
| * Rename FooRuntime to FooNativeTlsRuntime for consistency.Nick Mathewson2022-01-265-23/+25
| |
| * Limit the inner types in tor-rtcompat that have to implement CloneNick Mathewson2022-01-263-33/+10
| | | | | | | | | | If we implement our own clone on CompoundRuntime, we no longer need Clone implementations on our TlsProvider implementations.