summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | proto: Make RelayCirc publicGabriela Moldovan2025-10-292-2/+2
| | | | | | | | | |
| * | | | | | | | | proto: Rename RelayReatorHandle to RelayCircGabriela Moldovan2025-10-292-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While this is technically a "reactor handle", I think RelayCirc sounds better, because this is essentially our only public API for interacting with a relay circuit (it will be used outside of tor-proto). (This would also be consistent with our existing ClientCirc client-side terminology).
| * | | | | | | | | proto: Move RelayReactorHandle to relay moduleGabriela Moldovan2025-10-292-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will soon become `pub`, so I am factoring it out of `reactor.rs`.
| * | | | | | | | | proto: Update RelayReactorHandle docsGabriela Moldovan2025-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BackwardReactor is an implementation detail, so it shouldn't really be mentioned in the soon-to-be-public-facing docs. And besides, the control messages are no longer handled by the BackwardReactor.
* | | | | | | | | | Merge branch 'deftly-1.5' into 'main'Alexander Hansen Færøy2025-11-1027-31/+31
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump derive-deftly to 1.5.0 See merge request tpo/core/arti!3451
| * | | | | | | | | | Bump derive-deftly to 1.5.0Ian Jackson2025-11-0727-31/+31
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has the meta attributes with optional values feature and also hygiene rework for modules. The breaking changes don't break arti.
* | | | | | | | | | Merge branch 'cell-sender' into 'main'Alexander Hansen Færøy2025-11-103-10/+10
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | proto: Move cell_sender out of the client module See merge request tpo/core/arti!3407
| * | | | | | | | | proto: Move cell_sender out of the client moduleGabriela Moldovan2025-10-283-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Soon we'll use CircuitCellSender in the relay reactor too (we need to, because it provides a useful abstraction for handling block/unblock padding actions, and because it has some handy helper functions such as `congestion_signals()`).
| * | | | | | | | | proto: Make everything in CircuitCellSender pub(crate)Gabriela Moldovan2025-10-281-8/+8
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is in preparation for moving `CircuitCellSender` out of the client module (it makes the next commit easier to review, because `cell_sender.rs` will be moved without any modifications).
* | | | | | | | | Merge branch 'tokio-console' into 'main'Nick Mathewson2025-11-066-11/+172
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | arti: Experimental support for tokio-console See merge request tpo/core/arti!3444
| * | | | | | | | arti: better error when tokio-console in cfg but feature is absent.Nick Mathewson2025-11-061-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the pattern we used elsewhere with the "rpc" option. IMO, this kind of thing is another argument in favor if arti#1704 (redoing config types using derive-deftly.)
| * | | | | | | | arti: Experimental support for tokio-consoleNick Mathewson2025-11-066-9/+146
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is controlled by a new option, `logging.tokio_console.enabled`. It requires building with `--cfg tokio_unstable`. See documentation and comments for more information.
* | | | | | | | Merge branch 'deftly-1.4' into 'main'opara2025-11-0627-31/+31
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump derive-deftly to 1.4.0 See merge request tpo/core/arti!3448
| * | | | | | | | Bump derive-deftly to 1.4.0Ian Jackson2025-11-0627-31/+31
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will let us use the new modules feature. There are no breaking changes to beta features in 1.4.0.
* | | | | | | | Merge branch 'clippy' into 'main'wesleyac2025-11-06364-397/+400
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | Fix clippy lints that show up in beta Rust See merge request tpo/core/arti!3449
| * | | | | | | Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-06359-390/+390
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run maint/add_warning
| * | | | | | | Fix name of clippy lint to unchecked_time_subtraction (1)Ian Jackson2025-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | warning: lint `clippy::unchecked_duration_subtraction` has been renamed to `clippy::unchecked_time_subtraction` --> crates/arti-client/examples/advanced_isolation.rs:11:10 | 11 | #![allow(clippy::unchecked_duration_subtraction)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::unchecked_time_subtraction` | = note: `#[warn(renamed_and_removed_lints)]` on by default Add the change to maint/add_warning.
| * | | | | | | Conditionalise a test-only `use`Ian Jackson2025-11-061-1/+4
| | | | | | | |
| * | | | | | | Use a while let loop (to placate clippy)Ian Jackson2025-11-061-2/+1
| | | | | | | |
| * | | | | | | Decorate a use with an allowIan Jackson2025-11-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This seems to depend on cfgs. As I say in #1060, I don't think precise cfg decoration of imports is sensible. Also, it shouldn't be my job to fix whatever this is...
| * | | | | | | Drop two use's that seem no longer to be necessaryIan Jackson2025-11-062-2/+2
|/ / / / / / /
* | | | | | | Merge branch 'pwd-grp' into 'main'Ian Jackson2025-11-051-59/+31
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump pwd-grp, deduplicating derive-deftly Closes #2136 See merge request tpo/core/arti!3443
| * | | | | | | Bump pwd-grp, deduplicating derive-deftlyIan Jackson2025-11-051-59/+31
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | Fixes #2136
* | | | | | | Merge branch 'dirserver-http-db' into 'main'Ian Jackson2025-11-052-120/+114
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | tor-dirserver: Apply database changes to http See merge request tpo/core/arti!3426
| * | | | | | tor-dirserver: clippy fixesClara Engler2025-11-032-4/+4
| | | | | | |
| * | | | | | tor-dirserver: Apply database changes to httpClara Engler2025-11-032-120/+114
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit applies the recent changes to the database module into the http and http::cache module. Notably, this includes the use of the database::sql! macro as well as the use of database::read_tx and database::rw_tx for creation transaction and saving, as well as retrying, although the latter one is subject to SQLite's own busy handler
* | | | | | Merge branch 'tokio-console-2' into 'main'Nick Mathewson2025-11-0541-49/+98
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-rtcompat: Fix compatiblity issues with tokio-console (includes adding our own `SpawnExt` trait) Closes #2236 See merge request tpo/core/arti!3441
| * | | | | tor-rtcompat: add `#[track_caller]` within `implement_opaque_runtime`Steven Engler2025-11-041-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the `#[track_caller]` attribute to spawn-related trait method impls, for traits implemented by the `implement_opaque_runtime` macro. This is for compatibility with tokio-console.
| * | | | | all: run cargo fmtSteven Engler2025-11-0417-17/+17
| | | | | |
| * | | | | all: replace all uses of `futures::task::SpawnExt` with `tor_rtcompat::SpawnExt`Steven Engler2025-11-0437-46/+46
| | | | | |
| * | | | | maint: add clippy warning for `futures::task::SpawnExt`Steven Engler2025-11-041-0/+1
| | | | | |
| * | | | | tor-rtcompat: add our own `SpawnExt` traitSteven Engler2025-11-042-3/+43
|/ / / / / | | | | | | | | | | | | | | | This new trait is compatible with tokio-console.
* | | | | Merge branch 'maint-common-2' into 'main'Ian Jackson2025-11-043-7/+22
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Import changes from upstream rust-maint-common See merge request tpo/core/arti!3438
| * \ \ \ \ Merge commit 'c8451e50f3aeb268cfa6b81e1e32928250ea3aca' into maint-common-2Ian Jackson2025-11-043-7/+22
| |\ \ \ \ \ | | |_|_|/ / | |/| | | |
| | * | | | Merge branch 'from-arti' into 'main'Ian Jackson2025-11-045-5/+5
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import changes made in arti.git See merge request tpo/core/rust-maint-common!10
| | | * | | | Switch Cargo.toml files to edition 2024.Nick Mathewson2025-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, run ``` git grep -l "^edition =" | xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;' ``` Second, manually verify that all Cargo.toml files have changed, and nothing else has changed. Third, run cargo fmt again.
| | | * | | | maint: Avoid x-prefix in comparisons.Gabriela Moldovan2025-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This applies the fixes suggested by shellcheck (the x-prefixes were causing the `shellcheck` job to fail; see [SC2268]). [SC2268]: https://www.shellcheck.net/wiki/SC2268
| | | * | | | forbid-hard-tabs: Improve doc commentIan Jackson2025-11-041-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2488#note_3087164
| | | * | | | bash-utils.sh: reject_options: Don't crash due to -u if no argumentsIan Jackson2025-11-041-1/+1
| | | | | | |
| | | * | | | Provide new forbid-hard-tabs scriptIan Jackson2025-11-041-0/+45
| | | | | | |
| | | * | | | Fix typosDimitris Apostolou2025-11-041-1/+1
| | | | | | |
| | | * | | | Exclude debian/* from the forbid-absolute-shebangs checksNoisyCoil2025-11-041-1/+1
| | | | | | |
| | * | | | | Merge branch 'from-t2usm' into 'main'Ian Jackson2025-11-044-7/+71
| | |\ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | Import changes made in Debian tag2upload-service-manager See merge request tpo/core/rust-maint-common!9
| | | * | | | shellcheck: Add comment about why we're allowing x-hackIan Jackson2025-11-041-0/+5
| | | | | | |
| | | * | | | shellcheck: disable two unhelpful shellcheck complaintsIan Jackson2025-11-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This affects rust-maint-common only.
| | | * | | | Merge new rust-maint-commonIan Jackson2025-11-043-7/+26
| | | |\ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'ccb054bfec079f73d54ee74105fb60a56dcb9918' Signed-off-by: Ian Jackson <[email protected]>
| | * | | | | Merge branch 'from-arti' into 'main'Ian Jackson2024-07-223-7/+26
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge changes upstream from arti.git See merge request tpo/core/rust-maint-common!8
| | | * | | | | maint/rust-maint-common/forbid-absolute-shebang: Fix error messageIan Jackson2024-07-171-1/+1
| | | | | | | |
| | | * | | | | maint/common/update-shell-includes: Tolerate includes with a `$`Ian Jackson2024-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are not hardcoded, whatever they are, so they're not the principal thing we're trying to prevent. Previously, this would trip on this in arti.git:maint/cargo-publish: maint="$(dirname "$0")" ... # shellcheck source=maint/crates-io-utils.sh source "$maint/crates-io-utils.sh" Ideally we'd teach this script to be able to check and maintain includes for scripts that aren't in common/, but I think that's a task for another day.
| | | * | | | | maint/common/forbid-absolute-shebansg: Fix error handlingIan Jackson2024-07-161-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set -o pipefail is defused by the if. And we should properly check the expected statuses from git. If git isn't found, this script would otherwise spuriously think everything is fine.