summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | rpc: Re-run cbindgen.Nick Mathewson2024-10-231-1/+0
| | | | | |
| * | | | | python: Use logging to report nonfatal errors.Nick Mathewson2024-10-232-2/+8
| | | | | |
| * | | | | rpc: Add test for releasing the session object.Nick Mathewson2024-10-231-0/+14
| | | | | |
| * | | | | rpc: Add support for dropping the special "connection" object ID.Nick Mathewson2024-10-232-9/+40
| | | | | |
| * | | | | python: Automatically release RPC objects on __del__Nick Mathewson2024-10-232-3/+32
| | | | | |
| * | | | | rpc: correct msg and doc for InvalidInput::NullPointerNick Mathewson2024-10-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we implied that it was only for strings, which isn't the case.
| * | | | | python rpc: Avoid sneaky use-after-free errors.Nick Mathewson2024-10-231-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After calling a `foo_free()` method on a ctypes pointer object, we now set that pointer to None, so that we cannot inadvertently pass the freed pointer to anything else.
| * | | | | python: Add tests for rpc:release.Nick Mathewson2024-10-232-0/+49
| | | | | |
| * | | | | rpc: Move "rpc:release" to be a method on the rpc object.Nick Mathewson2024-10-232-33/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now, instead of telling the session or the connection to drop the object ID, we tell the object ID to go away. Closes #1663.
| * | | | | rpcserver: detect and use methods that bypass method dispatch.Nick Mathewson2024-10-231-3/+8
| | | | | |
| * | | | | rpc: do not attempt to dispatch methods with bypassed dispatch.Nick Mathewson2024-10-231-0/+12
| | | | | |
| * | | | | rpc: Add a mechanism for method that bypass regular dispatchNick Mathewson2024-10-231-2/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm about to use this for rpc:release, which is special because it doesn't actually look at the type of the object that it's invoked on. Later it might be useful for manipulating weakrefs, cloning referenes, detecting reference equality, etc.
| * | | | | rpc: Remove unimplemented rpc:downgrade method for now.Nick Mathewson2024-10-231-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If and when we implement this, it will likely be different; arti#868 has some thoughts on the implications.
| * | | | | rpc: Move some object-id-manipulation methods to a new module.Nick Mathewson2024-10-233-50/+63
| | |/ / / | |/| | | | | | | | | | | | | | | | | | These will have different implementations soon; this is a more logical place for them.
* | | | | Merge branch 'rpc-docs-tool-update' into 'main'Nick Mathewson2024-10-231-1/+34
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Update rpc-docs-tool to work with latest nightly rustdoc See merge request tpo/core/arti!2574
| * | | | rpc-docs-tool: Provide better warning on rustdoc format mismatch.Nick Mathewson2024-10-231-0/+27
| | | | |
| * | | | Update rpc-docs-tool to work with latest nightly rustdocNick Mathewson2024-10-221-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Additionally, document that this tool requires particular versions of nightly, since the rustdoc json format is unstable.
* | | | | Merge branch 'elided_lifetime_warning' into 'main'opara2024-10-221-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | linkspec: Fix nightly warning about elided lifetime See merge request tpo/core/arti!2575
| * | | | linkspec: Fix nightly warning about elided lifetimeNick Mathewson2024-10-221-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | This warning shows up when running `cargo +nightly doc`. Apparently nightly doesn't like it when we have elided a lifetime that has a perfectly good name.
* | | | Merge branch 'mq-feat' into 'main'Ian Jackson2024-10-2212-20/+103
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Compile in memquota feature by default See merge request tpo/core/arti!2569
| * | | | Make memquota feature part of full in artiIan Jackson2024-10-223-3/+4
| | | | | | | | | | | | | | | | | | | | Mark it no longer experimental, but part of full. And document it.
| * | | | Make memquota feature part of full in arti-clientIan Jackson2024-10-222-3/+4
| | | | | | | | | | | | | | | | | | | | Mark it no longer experimental, but part of full. And document it.
| * | | | tor-memquota: Declare memquota feature stable, and defaultIan Jackson2024-10-223-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And document the Cargo features. This compiles in the memquota support for people who depend directly on tor-memquota. But all our in-tree dependencies turn off default features, so this doesn't have any effect for in-tree crates.
| * | | | tor-cell: Document Cargo featuresIan Jackson2024-10-221-0/+27
| | | | |
| * | | | tor-hscrypto: Document Cargo featuresIan Jackson2024-10-221-1/+18
| | | | |
| * | | | tor-llcrypto: Document memquota-memcost and full featuresIan Jackson2024-10-221-0/+6
| | | | |
| * | | | tor-llcrypto: Sort and tidy Cargo features in README.mdIan Jackson2024-10-221-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sort them alphabetically. Use the bullet point style we see elsewhere. Use the same headings as elsewhere.
| * | | | tor-units: Document Cargo featuresIan Jackson2024-10-221-0/+8
| | | | |
* | | | | Merge branch 'precise' into 'main'Ian Jackson2024-10-227-8/+58
|\| | | | | | | | | | | | | | | | | | | | | | | | Allow arti cfg.rs test cases to more precisely control cargo features See merge request tpo/core/arti!2561
| * | | | arti cfg tests: Clarify here and thereIan Jackson2024-10-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2561#note_3097443
| * | | | test-all-crates: Rename --start-from to --skip-untilIan Jackson2024-10-221-3/+3
| | | | |
| * | | | arti cfg tests: Fix typoIan Jackson2024-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2561#note_3097442
| * | | | CI: Append to RUSTFLAGS, in case it's already setIan Jackson2024-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As suggested https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2561#note_3097441 I don't think we can have += since it may not be bash.
| * | | | minimal features test: Introduce new --cfg arti_features_preciseIan Jackson2024-10-223-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | Work around awkward cargo behaviour and allow us to more reliably test disabled features, even if they're enabled by default at lower levels.
| * | | | test-all-crates: New --start-from optionIan Jackson2024-10-221-0/+11
| | | | | | | | | | | | | | | | | | | | This is very useful when iterating through CI.
| * | | | test-all-crates: conditional options, to test more cratesIan Jackson2024-10-225-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new feature lets us provide the "enable these options which are needed to make the tests pass" featrure, which is different for each of the afflicted crates. Then we can test these crates tor-hsservice arti arti-client which minimal features. This will be important in a moment, as we're going to want to be relying on actually minimal features tests in arti cfg.rs.
| * | | | test-all-crates: Introduce proper argument parserIan Jackson2024-10-222-4/+8
| |/ / /
* | | | Merge branch 'rpc-cookie-auth-sketch' into 'main'Nick Mathewson2024-10-222-0/+136
|\ \ \ \ | |/ / / |/| | | | | | | | | | | RPC cookie authentication spec sketch. See merge request tpo/core/arti!2440
| * | | rpc-cookie: Formatting cleanup wrt `P`.Nick Mathewson2024-10-211-3/+3
| | | |
| * | | rpc-cookie: Make more text normative; defined a malformed cookie fileNick Mathewson2024-10-211-6/+11
| | | |
| * | | rpc-cookie: More naming consistencyNick Mathewson2024-10-211-8/+9
| | | |
| * | | rpc-sketches: Unify, clarify, and clean up socket_canonicalNick Mathewson2024-10-212-31/+32
| | | |
| * | | rpc-cookie-sketch: unify non-address field names.Nick Mathewson2024-10-211-9/+8
| | | |
| * | | rpc-cookie-sketch: re-order SADDR_USE and SADDR_VERIFY.Nick Mathewson2024-10-211-7/+8
| | | |
| * | | rpc-cookie-sketch: specify cookie IO failures.Nick Mathewson2024-10-211-0/+13
| | | |
| * | | cookie-sketch: Revise "in arti-rpc" section for clarityNick Mathewson2024-10-211-6/+12
| | | | | | | | | | | | | | | | In particular, specify which methods are invoked on which objects.
| * | | rpc-cookie-sketch: Clarifications from @dizietNick Mathewson2024-10-211-6/+7
| | | |
| * | | cookie-sketch: More security concerns on addr_canonicalNick Mathewson2024-10-211-0/+13
| | | |
| * | | cookie-sketch: Use a separate set of methods for cookie-auth.Nick Mathewson2024-10-211-10/+16
| | | |
| * | | cookie-sketch: Describe use of TupleHashNick Mathewson2024-10-211-15/+17
| | | | | | | | | | | | | | | | | | | | Also, rename values to S_MAC and C_MAC, and include SADDR_CANONICAL in messages.