summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'bump_versions' into 'main'arti-v1.1.2Nick Mathewson2023-02-2831-202/+202
|\ | | | | | | | | Bump various versions in preparation for Arti 1.1.2 release. See merge request tpo/core/arti!1041
| * Follow-on patchlevel bumps for crates with changed dependenciesNick Mathewson2023-02-286-9/+9
| | | | | | | | | | | | | | | | | | | | These crates didn't have any changes until now, when I bumped the versions of some other crates they depend on: tor-consdiff arti-hyper arti-bench arti-testing
| * Patchlevel bumps for remaining changed crates.Nick Mathewson2023-02-2830-142/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These crates have had small code changes, but no API additions: tor-config tor-socksproto tor-cert tor-chanmgr tor-ptmgr tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr arti tor-hsservice tor-congestion These crates have had API extensions: fs-mistrust tor-llcrypto tor-bytes tor-checkable tor-linkspec tor-netdoc tor-persist arti-client
| * Bump tor-units version for breaking change.Nick Mathewson2023-02-2810-10/+10
| | | | | | | | | | | | | | | | (The breaking change was removing `as_days()` from IntegerMinutes.) We are _not_ calling this a downstream-api breaking change, per discussion at https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1012?commit_id=bb2ab7c2a3e0994bb438188511688b5b039cae29#note_2876819
| * Bump patch-versions for breaking changes in tor-hs{crypto,client}Nick Mathewson2023-02-289-11/+11
| | | | | | | | | | | | These are API breaks, but the crates themselves are currently 100% experimental, so there's no need to bump the minor versions according to our semver rules.
| * Bump minor versions for significant breaking changes.Nick Mathewson2023-02-2813-30/+30
| | | | | | | | This includes tor-cell, tor-proto, and tor-netdir.
* | Merge branch 'changelog' into 'main'Nick Mathewson2023-02-281-1/+1
|\ \ | |/ |/| | | | | CHANGELOG: Fix typo See merge request tpo/core/arti!1040
| * CHANGELOG: Fix typoIan Jackson2023-02-281-1/+1
| |
* | Update CHANGELOG to reflect merging !1033.Nick Mathewson2023-02-281-3/+3
| |
* | Merge branch 'hs-naming' into 'main'Nick Mathewson2023-02-2825-92/+93
|\ \ | |/ |/| | | | | | | | | Rename onion-* cargo features to hs-* in tor-* crates etc. Closes #756 See merge request tpo/core/arti!1033
| * tor-hsservice: Fix an erroneous reference to an hs-client featureIan Jackson2023-02-281-1/+1
| |
| * Rename onion-* cargo features to hs-* in tor-* cratesIan Jackson2023-02-2825-92/+93
| | | | | | | | Fixes #756
* | Mostly wrap up the CHANGELOG for 1.1.2Nick Mathewson2023-02-281-9/+72
|/
* Merge branch 'cmd_checker' into 'main'Nick Mathewson2023-02-278-102/+273
|\ | | | | | | | | | | | | tor-proto: Introduce CmdChecker, and use it to enforce correctness for our streams. Closes #774 and #769 See merge request tpo/core/arti!1026
| * proto: Tweak documentation and names around CmdChecker.Nick Mathewson2023-02-275-9/+33
| |
| * tor-proto: Rename end_received.Nick Mathewson2023-02-172-8/+9
| | | | | | | | It can now indicate _any_ cell that means we can forget about a stream.
| * Use CmdChecker in our stream handling code.Nick Mathewson2023-02-174-96/+92
| | | | | | | | | | | | | | | | | | | | This change makes sure that open streams and half-closed streams have the same stream-type-dependent state machines with respect to which cells are acceptable. Fixes #774. Fixes #769.
| * tor-proto: Introduce CmdChecker, and define it for our streams.Nick Mathewson2023-02-174-0/+150
| | | | | | | | | | | | | | | | The role of CmdChecker is to verify that messages are arriving at the appropriate sequence on a stream, with respect to the other messages that have been received. Once the stream becomes half-closed, the CmdChecker is also in charge of consuming incoming messages on the stream and making sure that they are well-formed.
* | changelog: document another internal API break.Nick Mathewson2023-02-271-0/+2
| |
* | Begin a changelog for 1.1.2Nick Mathewson2023-02-271-0/+88
| |
* | Merge branch 'zlib' into 'main'Ian Jackson2023-02-271-2/+9
|\ \ | | | | | | | | | | | | Approve zlib licence See merge request tpo/core/arti!1035
| * | maint/check_licensse: Placate shellcheckIan Jackson2023-02-241-1/+1
| | | | | | | | | | | | | | | There's nothing wrong with the previous idiom since it's a trusted variable, but whatever.
| * | maint/check_licensse: Approve Zlib licenceIan Jackson2023-02-241-0/+1
| | | | | | | | | | | | | | | | | | | | | This is a very permissive BSD/MIT-like licence. I have reviewed the licence text and it is inoffensive. I want this for slotmap, in !1034
| * | maint/check_licensse: Honour CARGO variableIan Jackson2023-02-241-2/+8
| | | | | | | | | | | | Even if it contains spaces.
| * | maint/check_licensse: Do not discard actual errorIan Jackson2023-02-241-1/+1
| | | | | | | | | | | | This confused me while I was debugging the interaction with nailing-cargo.
* | | Merge branch 'update_20220227' into 'main'Nick Mathewson2023-02-271-74/+97
|\ \ \ | | | | | | | | | | | | | | | | Run cargo update in preparation for Wednesday release See merge request tpo/core/arti!1036
| * | | Run cargo update in preparation for Wednesday ReleaseNick Mathewson2023-02-271-74/+97
|/ / /
* | | Merge branch 'fix-adhoc' into 'main'Ian Jackson2023-02-241-1/+1
|\ \ \ | |/ / |/| | | | | | | | maint: fix `adhoc-add-lint-blocks` script See merge request tpo/core/arti!1031
| * | maint: fix `adhoc-add-lint-blocks` scriptEmil Engler2023-02-221-1/+1
| | | | | | | | | | | | | | | | | | This commit fixes a bug in maint/adhoc-add-lint-blocks, which made it impossible to execute, because `/usr/bin/env` looked at Perl's command line arguments to be a part of the binary name.
* | | Merge branch 'gitignore' into 'main'Ian Jackson2023-02-241-0/+1
|\ \ \ | |/ / |/| | | | | | | | git: add maint/.gitignore for __pycache__ See merge request tpo/core/arti!1032
| * | git: add maint/.gitignore for __pycache__Emil Engler2023-02-221-0/+1
|/ / | | | | | | | | The maint/ directory contains several python scripts, which will create a __pycache__ directory.
* | Merge branch 'coverage-dep-check' into 'main'Ian Jackson2023-02-221-0/+23
|\ \ | | | | | | | | | | | | | | | | | | maint: add a dependency check to coverage Closes #776 See merge request tpo/core/arti!1025
| * | maint: add a dependency check to coverageEmil Engler2023-02-211-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements a dependency check to the `maint/coverage` script, that checks for the rustup, python3, and grcov binaries in $PATH; the bs4 and lxml python packages; and the llvm-tools Rust component. Fixes #776
* | | Merge branch 'cdf_pub_use' into 'main'Ian Jackson2023-02-213-9/+6
|\ \ \ | | | | | | | | | | | | | | | | Fix a bug in check_doc_features, and fix a warning too. See merge request tpo/core/arti!1023
| * | | Apply a missing cfg_attr(docsrs...) in netdocNick Mathewson2023-02-211-0/+1
| | | |
| * | | Rearrange cfg_attr in relaycell::msgNick Mathewson2023-02-211-2/+2
| | | | | | | | | | | | | | | | | | | | docsrs wants to find its `cfg_attr(docsrs...)` line after the `cfg()` line.
| * | | Fix a bug in check_doc_featuresNick Mathewson2023-02-211-7/+3
|/ / / | | | | | | | | | | | | | | | In Python, str.find returns -1 if it doesn't find the target character, and -1 is a true value. So `if pos := foo.find('c')` won't do what we want.
* | | Merge branch 'unparsed_linkspec' into 'main'Ian Jackson2023-02-214-10/+84
|\ \ \ | | | | | | | | | | | | | | | | HsDesc: Use a new UnparsedLinkSpecifier to avoid leaking which linkspec types we know See merge request tpo/core/arti!1029
| * | | tor-netdoc: Use UnparsedLinkSpec in IntroPointDesc.Nick Mathewson2023-02-171-9/+2
| | | |
| * | | tor-linkspec: New UnparsedLinkspec type.Nick Mathewson2023-02-173-1/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unlike linkspec, this doesn't validate the actual contents of the specifiers. We'll use this so we can handle the linkspec list for an introduction point in an HsDesc, and just pass it on when constructing our circuits. I haven't added any accessor or constructor functions, because I don't expect to need them.
* | | | Merge branch 'hsdir_remove_comment' into 'main'Ian Jackson2023-02-211-1/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | netdoc: Remove a TODO hs comment. See merge request tpo/core/arti!1028
| * | | | netdoc: Remove a TODO hs comment.Nick Mathewson2023-02-171-1/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It said to check whether C enforces an absence of extraneous bytes at the end of the link specifiers. It does, in `hs_desc.c:decode_link_specifiers()`, where it says: ``` if (link_specifier_list_parse(&specs, decoded, (size_t) decoded_len) < decoded_len) { goto err; } ``` The comparison with "decoded_len" checks whether all the bytes were decoded.
* | | | Merge branch 'update_2023_02_17' into 'main'Ian Jackson2023-02-212-97/+122
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Run `cargo update`, work around a bug in `time`. See merge request tpo/core/arti!1027
| * | | tor-dirmgr: Work around an apparent regression in `time`.Nick Mathewson2023-02-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some code in our tests that worked fine with time 0.3.17 no longer works with 0.3.19, despite the semver. See https://github.com/time-rs/time/issues/552 for the upstream bug.
| * | | Run "cargo update" in preparation for the release in 2 weeks.Nick Mathewson2023-02-171-94/+119
| | | |
* | | | Fix the year on the 1.1.1 changelog.Nick Mathewson2023-02-171-1/+1
|/ / /
* | | Merge branch 'coverage-force' into 'main'Nick Mathewson2023-02-171-1/+1
|\ \ \ | |_|/ |/| | | | | | | | maint: forcefully remove files in coverage See merge request tpo/core/arti!1024
| * | maint: forcefully remove files in coverageEmil Engler2023-02-161-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | When performing the initial run of `./maint/coverage`, it will report an error message to stderr, that several files cannot be deleted, due to their non-existence. While the error is still ignored, I personally think that there is no benefit in showing it either, thereby surpressing it with this commit. Beside this, this syntax might be easier to understand from a semantical point of view.
* | Merge branch 'doc-iter' into 'main'Nick Mathewson2023-02-1712-233/+116
|\ \ | | | | | | | | | | | | | | | | | | tor-netdoc: Abolish PauseAt in favour of using itertools Closes #760 See merge request tpo/core/arti!1021
| * | tor-netdoc: Fix doc comment following removal of PauseAtIan Jackson2023-02-161-3/+6
| | |