summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Add memquota cargo features to arti and arti-clientIan Jackson2024-09-043-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | * In arti, memquota simply turns on in memquota arti-client * In arti-client, add an (unconditional) dependency on tor-memquota, and have the memquota feature turn on the feature in tor-memquota.
| * | | arti/Cargo.toml: Sort the experimental features listIan Jackson2024-09-041-3/+3
| | | |
| * | | tor-memquota: Rework optionality configurationIan Jackson2024-09-047-32/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow a `Config` to represent "this is supposed to be disabled". This involves wrapping the actual built configuration in an IfEnabled. We treat max = usize::MAX, or max being unspecified, as "disable". We can now reporting an error during config building if max is set but we're compiling the feature out. Conversely, we can now make `MemoryQuotaTracker::new()` unconditional, since enabled confiogurations are uninhabited when the feature is compiled out. We change how we derive the setters, deriving them from the Builder. I chose to abolish the use of derive_builder. See the new comment on ConfigBuilder.
| * | | tor-memquota: impl PartialEq for IfEnabled and EnabledTokenIan Jackson2024-09-041-2/+4
| | | |
| * | | tor-memquota: Add unit tests for config handlingIan Jackson2024-09-043-0/+58
|/ / / | | | | | | | | | | | | We're about to change the config behaviour; adding these tests first allows us to demonstrate the changes.
* | | Merge branch 'orport' into 'main'opara2024-09-035-14/+56
|\ \ \ | | | | | | | | | | | | | | | | tor-relay: add `ChanMgr` to `TorRelay` See merge request tpo/core/arti!2361
| * | | tor-relay: add `ChanMgr` to `TorRelay`Steven Engler2024-09-032-2/+41
| | | |
| * | | arti-client: replace `convert_override_net_params` with generic `default_extend`Steven Engler2024-09-031-10/+6
| | | |
| * | | tor-netdoc: impl `Extend` on `NetParams`Steven Engler2024-09-031-0/+6
| | | |
| * | | arti-relay: pass config in `TorRelay::create_inner`Steven Engler2024-09-032-3/+4
|/ / /
* | | Merge branch 'version-bumps-arti-v1.2.7' into 'main'arti-v1.2.7gabi-2502024-09-0354-564/+586
|\ \ \ | | | | | | | | | | | | | | | | Version bumps for the 1.2.7 release See merge request tpo/core/arti!2384
| * | | Run cargo update for {hashx,equix}/bench.Gabriela Moldovan2024-09-032-134/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using ``` (cd crates/hashx/bench && cargo update) (cd crates/equix/bench && cargo update) ```
| * | | Bump arti crate to 1.2.7Gabriela Moldovan2024-09-034-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using: ``` cargo set-version --bump patch -p arti ```
| * | | Bump all the unstable tor- and arti- crates to 0.22.0.Gabriela Moldovan2024-09-0346-414/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.22.0 done ```
| * | | Bump the versions of the non-{arti-,tor-} crates.Gabriela Moldovan2024-09-037-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bumps the versions of the non-{arti,tor-} crates that have non-functional changes: - fslock-guard (updated rustdoc-args) - equix (comment typo fixes) - caret (updated rustdoc-args) - safelog (updated rustdoc-args) - retry-error (updated rustdoc-args) And of the pre-1.0.0 crates that have new APIs: - fs-mistrust (new `CheckedDir::metadata` API) Done using ``` for c in "${non_tor[@]}"; do maint/bump_nodep $c; done ``` where `non_tor` contains the list above
* | | | Merge branch 'changelog-1.2.7' into 'main'gabi-2502024-09-031-0/+277
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Add changelog for 1.2.7. See merge request tpo/core/arti!2382
| * | | CHANGELOG: Add blank lines to satisfy maint/update-md-links.Gabriela Moldovan2024-09-031-0/+2
| | | |
| * | | CHANGELOG: Add missing closing bracket.Gabriela Moldovan2024-09-031-1/+1
| | | |
| * | | CHANGELOG: Update links for 1.2.7.Gabriela Moldovan2024-09-031-3/+125
| | | |
| * | | CHANGELOG: note that oneshot-fused-workaround is reexported from ↵Gabriela Moldovan2024-09-031-2/+2
| | | | | | | | | | | | | | | | tor-async-utils.
| * | | Merge redundant changelog items.Gabriela Moldovan2024-09-031-6/+4
| | | |
| * | | Update the changelog line about deb packaging.gabi-2502024-09-031-1/+1
| | | |
| * | | Add missing link in changelog.Gabriela Moldovan2024-09-031-1/+1
| | | |
| * | | Add changelog for 1.2.7.Gabriela Moldovan2024-09-031-0/+155
| | | |
* | | | Merge branch 'reexport-oneshot' into 'main'gabi-2502024-09-0316-14/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-async-utils: Re-export oneshot-fused-workaround as oneshot. See merge request tpo/core/arti!2383
| * | | | oneshot-fused-workaround: Set the initial version to 0.1.0.Gabriela Moldovan2024-09-0315-15/+15
| | | | | | | | | | | | | | | | | | | | This is the first time we're publishing this, so let's start at 0.1.0.
| * | | | tor-async-utils: Re-export oneshot-fused-workaround as oneshot.Gabriela Moldovan2024-09-033-0/+4
|/ / / /
* | | | Merge branch 'fixup-features' into 'main'gabi-2502024-09-0316-15/+62
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Run fixup-features in preparation for release See merge request tpo/core/arti!2381
| * | | arti-rpcserver: Use a non-wildcard version requirement for slotmap-careful.Gabriela Moldovan2024-09-031-1/+1
| | | |
| * | | Fix formatting issues introduced by fixup-features.Gabriela Moldovan2024-09-0312-13/+58
| | | |
| * | | arti: Remove the XXXXs added by fixup-features.Gabriela Moldovan2024-09-032-2/+0
| | | | | | | | | | | | | | | | The `restricted-discovery` feature is reachable from `experimental`.
| * | | Run fixup-features in preparation for release.Gabriela Moldovan2024-09-0316-17/+21
|/ / /
* | | Merge branch 'typos' into 'main'Ian Jackson2024-09-0337-53/+53
|\ \ \ | | | | | | | | | | | | | | | | Fix typos See merge request tpo/core/arti!2380
| * | | Fix typosDimitris Apostolou2024-09-0337-53/+53
|/ / /
* | | Merge branch 'ahf/project-naming' into 'main'gabi-2502024-09-021-2/+2
|\ \ \ | | | | | | | | | | | | | | | | Sponsor 101 -> Project 101. See merge request tpo/core/arti!2379
| * | | Sponsor 101 -> Project 101.Alexander Færøy2024-09-021-2/+2
| | | | | | | | | | | | | | | | See: tpo/team#313.
* | | | Merge branch 'update-release-prep' into 'main'Alexander Hansen Færøy2024-09-021-259/+247
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Run cargo update in preparation for release. See merge request tpo/core/arti!2378
| * | | Run cargo update in preparation for release.Gabriela Moldovan2024-09-021-259/+247
|/ / /
* | | Merge branch 'ahf/macos-cross-build' into 'main'Alexander Hansen Færøy2024-09-023-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix reproducible build CI job for macOS Closes #1394 and #1507 See merge request tpo/core/arti!2377
| * | | Disallow failures for our CI job `build-repro-macos`Alexander Færøy2024-09-011-2/+0
| | | | | | | | | | | | | | | | See: tpo/core/arti#1394.
| * | | Bump CC version to 1.1.15.Alexander Færøy2024-09-011-2/+3
| | | | | | | | | | | | | | | | Fixes: tpo/core/arti#1507.
| * | | Explicitly specify the deployment target of macOS to 10.7.Alexander Færøy2024-09-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | osxcross tries in various ways to detect which version of the compiler we have, which version of the OS, which C++ standard library we use, and many other things. With this variable set, osxcross seems able to detect the environment provided by the SDK that we use. The error messages from osxcross is as follows: osxcross: error: cannot find libc++ headers osxcross: error: while detecting target This origins from its internal target detection code in target.cpp of osxcross. This file contains a signficant amount of the detection for paths of different versions of the macOS SDK's and macOS versions. All of this is truly cursed. In osxcross's main.cpp, the variable is read in: if (char *p = getenv("MACOSX_DEPLOYMENT_TARGET")) { target.OSNum = parseOSVersion(p); unsetenv("MACOSX_DEPLOYMENT_TARGET"); } and setting it thus forces the OS version to be parsed from the variable instead of its (in our case failed) attempt at detecting the version itself. Fixes: tpo/core/arti#1394
* | | | Merge branch 'move-stream-peek' into 'main'Jim Newsome2024-08-299-13/+25
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Move stream_peek into tor-async-utils See merge request tpo/core/arti!2357
| * | | Move stream_peek into tor-async-utilsJim Newsome2024-08-299-13/+25
|/ / /
* | | Merge branch 'reenable-hsc-test' into 'main'gabi-2502024-08-288-109/+207
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | arti-client: Add an InertTorClient for accessing client state. Closes #1496 See merge request tpo/core/arti!2370
| * | | arti: Set the COLUMNS env var in the CLI tests.Gabriela Moldovan2024-08-283-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This sets `COLUMNS` to a large value to prevent line wrapping. Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2370#note_3067346 Closes #1574
| * | | arti-client: Fix a rustdoc warning.Gabriela Moldovan2024-08-281-1/+1
| | | |
| * | | arti-client: Document the unspecified behavior of create_inert().Gabriela Moldovan2024-08-281-0/+6
| | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2370#note_3066621
| * | | arti: Elide some text in the expected hsc test output.Gabriela Moldovan2024-08-281-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | These file paths occupy more than 2 lines on some platforms. See also the motivation behind 2b8a7a196b3ea5cd8350dd77f5e5120fed8521e0
| * | | arti: Implement the hsc subcommand using an inert tor client.Gabriela Moldovan2024-08-283-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to reenable the `arti hsc` tests, which were previously disabled due to flakiness (see #1496). The `help` test bit rotted a bit, so I had to tweak its expected output. Closes #1496