aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge branch 'minimize-feature-edge' into 'main'Nick Mathewson2026-03-251-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | consdiff: Only use the single feature we require from tor-netdoc. See merge request tpo/core/arti!3815
| * | | | | consdiff: Additionally require tor-netdoc/ns-vote.Nick Mathewson2026-03-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Without it, CI seems to fail.
| * | | | | consdiff: Only use the single feature we require from tor-netdoc.Nick Mathewson2026-03-251-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | Requiring all features, including experimental features, is too general.
* | | | | Merge branch 'wasm-compilation-part1' into 'main'Alexander Hansen Færøy2026-03-2510-62/+66
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make wasm32-unknown pass clippy (with --no-default-features, with warnings) up through tor-dirmgr. See merge request tpo/core/arti!3814
| * | | | | dirmgr: Stub out usage of Lockfile on wasm32-unknown.Nick Mathewson2026-03-253-5/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is temporary while we wait on arti#2106. (This made cargo-sort have me move a section around. Not sure why it cares.)
| * | | | | tor-config path: Fix a warning on non-unix systemsNick Mathewson2026-03-251-1/+1
| | | | | |
| * | | | | rtcompat: Fix clippy with wasm32 and no-default-features.Nick Mathewson2026-03-252-1/+10
| | | | | |
| * | | | | tor-basic-utils: Remove IoErrorExt and BinaryHeapExt.Nick Mathewson2026-03-253-52/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IoErrorExt existed to provide a workaround for Rust versions that didn't have io::ErrorKind::NotADirectory. But NotADirectory was stabilized in 1.83 and our MSRV is 1.89. BinaryHeapExt existed to provide an implementation for Rust versions that didn't have BinaryHeap::retain. But BinaryHeap::retain was stabilized in 1.70 and our MSRV is 1.70.
| * | | | | tor_llcrypto: fix clippy for wasm32.Nick Mathewson2026-03-252-3/+13
| | | | | |
* | | | | | Merge branch 'rpc-ll-refactor' into 'main'Nick Mathewson2026-03-259-436/+510
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | rpc: Rename and refactor types+modules See merge request tpo/core/arti!3774
| * | | | | | Re-run cbindgen.Nick Mathewson2026-03-251-2/+2
| | | | | | |
| * | | | | | rpc: Fix up documentation linksNick Mathewson2026-03-252-1/+6
| | | | | | |
| * | | | | | rpc: tweak documentation and variable names wrt renamingNick Mathewson2026-03-253-69/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we renamed PollingStream and NonblockingStream to BlockingConnection and NonblockingConnection, it no longer makes sense to refer to them as streams, or put them in variables called "stream".
| * | | | | | rpc: Make stream type in NonblockingConnection opaque.Nick Mathewson2026-03-253-22/+52
| | | | | | |
| * | | | | | Split ll_conn module into blocking/nonblocking layersNick Mathewson2026-03-253-901/+939
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is almost entirely code movement; it's probably best to review this one with --color-moved. I've had to make a field (temporarily) pub(super). The next commit will fix that.
| * | | | | | rpc: Rename nb_stream.rs → ll_conn.rsNick Mathewson2026-03-256-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we are no longer calling these types "streams" I've decided to revert to the old name for this module.
| * | | | | | rpc: Rename NonblockingStream → NonblockingConnection.Nick Mathewson2026-03-252-23/+23
| | | | | | |
| * | | | | | rpc: Rename PollingStream → BlockingConnection.Nick Mathewson2026-03-254-31/+31
| | | | | | |
| * | | | | | rpc: Remove mention of two already-removed arguments.Nick Mathewson2026-03-251-4/+0
| |/ / / / /
* | | | | | Merge branch 'fallbackdir-25-03-2026' into 'main'David Goulet2026-03-251-897/+899
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | fallbackdir: Update list generated on March 25, 2026 See merge request tpo/core/arti!3813
| * | | | | | fallbackdir: Update list generated on March 25, 2026Tor CI Release2026-03-251-897/+899
| |/ / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Tor CI Release <[email protected]>
* | | | | | Merge branch 'relay-safelogging' into 'main'opara2026-03-252-0/+32
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti-relay: Add `log_sensitive_information` config option See merge request tpo/core/arti!3806
| * | | | | | arti-relay: add `log_sensitive_information` config optionSteven Engler2026-03-242-0/+32
| | |/ / / / | |/| | | |
* | | | | | Merge branch 'relay-reactor-tests' into 'main'gabi-2502026-03-256-115/+743
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proto: Fix relay reactor RELAY_EARLY bug, add tests Closes #2353 and #2417 See merge request tpo/core/arti!3810
| * | | | | | proto: Update reactor docs to reflect ForwardHandler changeGabriela Moldovan2026-03-251-6/+37
| | | | | | |
| * | | | | | proto: Move handle_unrecognized_cell() out of ForwardHandlerGabriela Moldovan2026-03-252-50/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `ForwardHandler` trait is meant for implementation-dependent functions that are called from the implementation-agnostic `ForwardReactor`. Previously `handle_unrecognized_cell()` was called directly by the generic `ForwardReactor`, but that's no longer the case, so it doesn't belong in the trait anymore. This commit is just code motion. Best reviewed with `--color-moved`
| * | | | | | proto: Forward unrecognized RELAY_EARLY as RELAY_EARLYGabriela Moldovan2026-03-253-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #2417
| * | | | | | proto: Add tests for the relay circuit reactorGabriela Moldovan2026-03-251-0/+536
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds an initial set of tests for the circuit reactor. We will, of course, add more tests as we continue working on the implementation. Closes #2353
| * | | | | | cell: Derive PartialEq for Begin and BeginFlagsGabriela Moldovan2026-03-251-2/+2
| | | | | | |
| * | | | | | proto: Use AllowAllStreamsFilter in relay builds tooGabriela Moldovan2026-03-251-2/+2
| | | | | | |
| * | | | | | proto: Move AllowAllStreamsFilter to crate-pub test moduleGabriela Moldovan2026-03-252-15/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This will soon be used by the relay tests too.
| * | | | | | proto: Add option to create RELAY_EARLY via rmsg_to_ccmsg() (fmt)Gabriela Moldovan2026-03-252-13/+43
| | | | | | |
| * | | | | | proto: Add option to create RELAY_EARLY via rmsg_to_ccmsg()Gabriela Moldovan2026-03-252-38/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be needed for the relay circuit reactor tests.
| * | | | | | proto: Move rmsg_to_ccmsg to crate-pub test moduleGabriela Moldovan2026-03-252-10/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We'll soon need this for the relay reactor tests too.
| * | | | | | proto: Replace fully-qualified path with import aliasGabriela Moldovan2026-03-251-1/+1
| | | | | | |
* | | | | | | Merge branch 'consdiff-gen' into 'main'Clara Engler2026-03-257-4/+449
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | Consensus Diff Generation See merge request tpo/core/arti!3712
| * | | | | | tor-consdiff: Apply comment suggestionClara Engler2026-03-251-2/+3
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: Ian Jackson
| * | | | | | tor-consdiff: Prevent dotlines with WS tailClara Engler2026-03-251-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit modifies the dotline check to prevent generating lines that consist of a single dot followed by an arbitrary amount of whitespace, such as `.`, `. `, `. \t `, but not `. \t foo`. It also adjusts the tests appropriately.
| * | | | | | tor-consdiff: Rename `.lno` to `.lno_for_error`Clara Engler2026-03-251-2/+2
| | | | | | |
| * | | | | | Revert "parse2: Rename lno_for_error to lno"Clara Engler2026-03-253-4/+3
| | | | | | |
| * | | | | | tor-consdiff: Prevent dotlines properlyClara Engler2026-03-251-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As pointed out by Diziet, our implementation does not reject dotlines properly, due to our use of `trim_end()`. This commit fixes this, by just checking for `line == ".\n"`. This is fine because we ensure Unix line endings now anyways.
| * | | | | | tor-consdiff: Enforce Unix line endingsClara Engler2026-03-252-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the consdiff generation to enforce Unix line endings and reject all other ones, including Windows line endings as well as no line endings. In other words, it checks for `\n` while forbidding `\r\n`. It also renames the relevant error variant to reflect this change better.
| * | | | | | tor-consdiff: Justify our use of peek'ingClara Engler2026-03-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done to only get the first directory-signature.
| * | | | | | tor-consdiff: Refactor result compositionClara Engler2026-03-251-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit refactors the result composition by simply looping over every line and checking whether it ends with a newline AND does not consist of a single dot.
| * | | | | | tor-consdiff: Use named variants for lno errorsClara Engler2026-03-252-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the error variants that contain a line number to a named variant with a field `lno: usize` to make it semantically clear, that it is a line number.
| * | | | | | tor-consdiff: Use derive_more for HunkType's DisplayClara Engler2026-03-253-13/+7
| | | | | | |
| * | | | | | tor-consdiff: Use usize::try_fromClara Engler2026-03-251-2/+5
| | | | | | |
| * | | | | | tor-consdiff: Fix clippy warningsClara Engler2026-03-251-2/+2
| | | | | | |
| * | | | | | tor-consdiff: Test with CRLFClara Engler2026-03-251-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we no longer use .lines(), everything should work fine with CRLF -- and it does. :-)
| * | | | | | tor-consdiff: Remove manual line splitsClara Engler2026-03-252-19/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes all manual line splits in the consdiff generation. Instead, it now simply uses the primitives offered by imara-diff to access the lines in the input itself. Meanwhile, it also adds a check for missing newlines/assertions that all lines are actually terminated by \n.