summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Use ErrorReport for errors in error! in tor-ptmgrIan Jackson2023-01-301-1/+2
| | | | |
| * | | | Use ErrorReport's .report() for two errors in error! in bridgedesc.rsIan Jackson2023-01-301-3/+3
| | | | | | | | | | | | | | | | | | | | No functional change, just using the new idiom.
| * | | | Use ErrorReport for remaining errors in error! in tor-circmgrIan Jackson2023-01-301-4/+4
| | | | |
| * | | | Use ErrorReport for errors in error! in tor-chanmgrIan Jackson2023-01-301-2/+3
| | | | |
| * | | | Use tor_error::Report for remaining errors in error! in artiIan Jackson2023-01-301-1/+1
| | | | |
| * | | | Apply safelog to DNS response serialisation errors, but report themIan Jackson2023-01-301-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With safe logging disabled, print the error too. With safe logging enabled, do not print the message or the error.
| * | | | Use ErrorReport for errors in error! in arti-clientIan Jackson2023-01-302-3/+4
| | | | |
| * | | | Use ErrorReport for errors in warn! in tor-ptmgrIan Jackson2023-01-301-3/+3
| | | | |
| * | | | Use ErrorReport for errors in warn! in tor-persistIan Jackson2023-01-302-3/+5
| | | | |
| * | | | Use ErrorReport for errors in warn! in tor-dirmgrIan Jackson2023-01-303-10/+10
| | | | |
| * | | | Use ErrorReport for errors in warn! in tor-circmgrIan Jackson2023-01-303-5/+6
| | | | |
| * | | | Use ErrorReport for errors in warn! in tor-chanmgrIan Jackson2023-01-301-2/+2
| | | | |
| * | | | Use ErrorReport/Report for errors in warn! in artiIan Jackson2023-01-305-9/+13
| | | | |
| * | | | Use ErrorReport for errors in info! in tor-dirmgrIan Jackson2023-01-302-3/+4
| | | | |
| * | | | tor-dirclient: De-genericise internal fn retire_circIan Jackson2023-01-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requring `Display` is wrong here, because if this is actually an Error, Display would be wrong because it doesn't display causes. As it happens, the `error` parameter is only ever `&str`.
| * | | | Use ErrorReport for errors in info! in tor-circmgrIan Jackson2023-01-301-6/+6
| | | | |
| * | | | Errors: Mark the type of an error, for clarityIan Jackson2023-01-301-2/+2
| |/ / / | | | | | | | | | | | | | | | | We want to call ErrorReport::report() on Errors, but this isn't an Error but only a string.
* | | | Remove semver.md files now that 1.1.1 is tagged.Nick Mathewson2023-02-014-7/+0
| | | |
* | | | Merge branch 'version_bump' into 'main'arti-v1.1.1Nick Mathewson2023-02-0142-234/+235
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Bump crate versions in preparation for 1.1.1. See merge request tpo/core/arti!1001
| * | | | Bump minor version of tor-cell.Nick Mathewson2023-02-015-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In !948 we renamed a couple of accessor functions, which is a breaking change in `tor-cell`'s API. In retrospect, perhaps we should have deprecated the old names and added the new ones, so we wouldn't have to break the API. (This is the only API break AFAICT since 1.1.0.)
| * | | | Bump the patch version of every crate that had API additionsNick Mathewson2023-02-0132-103/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These crates had API or behavior changes that may affect downstream crates. Fortunately, they're all version 0.x, and don't need minor bumps for this.
| * | | | Bump the patch-level version of crates with _minor_ changes.Nick Mathewson2023-02-0125-99/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes influence behavior, but not effect compatibility. (If I messed up, and any crate except for `arti` has non-breaking API changes, that's still fine, since they are all version 0.x.)
| * | | | Bump the patch version of each crate with _trivial_ changes.Nick Mathewson2023-02-0114-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | These crates have not had changes to their behavior; as such it is not necessary to bump their dependencies to require the new versions.
| * | | | Move tor-proto/semver.md to tor-cellNick Mathewson2023-02-011-0/+0
| | | | | | | | | | | | | | | | | | | | It was erroneously created in the wrong place.
| * | | | Mark arti-config as "publish=false"Nick Mathewson2023-02-011-0/+1
|/ / / / | | | | | | | | | | | | | | | | We no longer use it anywhere; there is no reason to keep publishing updates to it.
* | / / CHANGELOG for arti 1.1.1Nick Mathewson2023-02-011-0/+214
| |/ / |/| |
* | | Merge branch 'update' into 'main'Nick Mathewson2023-01-311-267/+208
|\ \ \ | |/ / |/| | | | | | | | Run cargo update in preparation for release tomorrow See merge request tpo/core/arti!1000
| * | Run cargo update in preparation for release tomorrowNick Mathewson2023-01-311-267/+208
| | |
* | | Merge branch 'docsrs' into 'main'Ian Jackson2023-01-301-0/+10
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Disable ./maint/check_doc_features Closes #601 See merge request tpo/core/arti!985
| * | Maine ./maint/check_doc_feature a warningIan Jackson2023-01-301-0/+10
|/ / | | | | | | | | | | | | | | | | | | This is a fair amount of manual work to keep in sync. I would like to disable this, at least as a mandatory check, for now. Fixes #601 (the request for it to become non-blocking). The underlying issue is #581 and remains open. Co-authored-by: trinity-1686a <[email protected]>
* | Merge branch 'srv_accessors' into 'main'Nick Mathewson2023-01-2810-32/+678
|\ \ | | | | | | | | | | | | | | | | | | Export SRV information from NetDoc up to NetDir, and TimePeriod from NetDir Closes #686 See merge request tpo/core/arti!987
| * | netdir: remove duplicate code in param calculationNick Mathewson2023-01-281-23/+31
| | |
| * | netdir: remove the vestigial smallvec implementation I addedNick Mathewson2023-01-283-4/+2
| | | | | | | | | | | | | | | It's cute, but I don't think it will help performance, and I'm undecided about whether the semantic implications are true.
| * | Turn compute_ring_params into a method.Nick Mathewson2023-01-282-55/+61
| | |
| * | Use derive_more on SharedRandValNick Mathewson2023-01-281-13/+4
| | | | | | | | | | | | | | | This may be temporary if we wind up converting to CtByteArray, but for now it's good to be terse.
| * | Several suggestions on gitlab.Ian Jackson2023-01-283-3/+10
| | |
| * | netdir: Implement ring-param constructors and time period accessorsNick Mathewson2023-01-287-19/+547
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This logic is a bit tricky, so I've tried to document it and add fairly good tests. The silver lining is that the external API for all of this logic will make it invisible and hidden. There are some cases where I added functions that I think might eventually get lowered into MdConsensus: But I don't want to lower too much right now, since the convention for our netdoc accessors is that they are fairly unsophisticated, and they show you the document as it is. Closes #686
| * | netdoc: Add Eq and a note to SharedRandVal.Nick Mathewson2023-01-281-1/+3
| | |
| * | netdoc: Add SRV accessors.Nick Mathewson2023-01-281-2/+34
| | | | | | | | | | | | | | | | | | | | | These are deliberately unsophisticated accessors, in that they return Option<> rather than filling in missing values with the documented fallbacks. It seems better to leave a way to distinguish the absent case in the API.
| * | netdoc: Add a timestamp to SRVs per prop#342.Nick Mathewson2023-01-282-7/+54
| | | | | | | | | | | | | | | This breaks some experimental APIs, but since they are experimental no semver note is needed.
| * | netdoc: Add Iso8601 time _with_ a "T" as an argument type.Nick Mathewson2023-01-281-3/+30
|/ /
* | Merge branch 'typos' into 'main'Nick Mathewson2023-01-281-2/+2
|\ \ | |/ |/| | | | | Fix typos See merge request tpo/core/arti!996
| * Fix typosDimitris Apostolou2023-01-281-2/+2
|/
* Merge branch 'llvm-tools' into 'main'Nick Mathewson2023-01-273-7/+7
|\ | | | | | | | | maint: replace llvm-tools-preview with llvm-tools See merge request tpo/core/arti!993
| * maint: replace llvm-tools-preview with llvm-toolsEmil Engler2023-01-273-7/+7
|/ | | | | | | | | | | | This commit replaces all occurrences of `llvm-tools-preview` with `llvm-tools`, because it became a stable feature with Rust 1.60, thereby making the `-preview` prefix obsolete. Beside this, `llvm-tools-preview` is a redirection to the latter one anyway. However, it does not work the other way around. At the moment, it is not possible to execute the `maint/coverage` script on a NixOS system, because the rustup component list only includes `llvm-tools`, but not `llvm-tools-preview`, thereby making this change necessary.
* Merge branch 'no_clippy_warnings' into 'main'Nick Mathewson2023-01-27195-22/+240
|\ | | | | | | | | | | | | Fix clippy warnings from Rust 1.67 Closes #749 and #748 See merge request tpo/core/arti!992
| * circmgr: drop a receiver more explicitly.Nick Mathewson2023-01-271-1/+4
| | | | | | | | | | | | | | | | | | Clippy now complains about `let _ = (expr_producing_a_future);`, which is probably smart, since maybe you wanted to await that future and ignore the result. So it seems that the right way to get rid of an unwanted Receiver is now to drop it explicitly. Closes #749
| * "Fix" remaining unchecked-subtraction warnings.Nick Mathewson2023-01-272-2/+6
| | | | | | | | | | In both cases I think it's fine to panic; but it's best to do so explicitly.
| * Allow clippy::unchecked_duration_subtraction in testsNick Mathewson2023-01-27163-0/+163
| | | | | | | | | | This panics on error, and we're fine with a panic on misbehavior in tests.
| * Elide a bunch of lifetimes.Nick Mathewson2023-01-273-9/+9
| | | | | | | | | | Clippy now warns about these; I'm not sure how these warnings snuck up on us.