| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | memquota: Add a toplevel account in tor-chanmgr (pre-fmt) | Ian Jackson | 2024-10-03 | 1 | -1/+2 | |
| | | | | ||||||
| | * | | tor-proto: Make PendingClientCirc::new fallible (fmt) | Ian Jackson | 2024-10-03 | 1 | -7/+1 | |
| | | | | ||||||
| | * | | tor-proto: Make PendingClientCirc::new fallible | Ian Jackson | 2024-10-03 | 2 | -6/+7 | |
| | | | | ||||||
| | * | | tor-proto: channel: Make construction fallible | Ian Jackson | 2024-10-03 | 3 | -5/+7 | |
| | | | | | | | | | | | | | | | | Making a channel is going to involve making a memquota Participant, which can fail. | |||||
| | * | | arti-client: Provide another variant for memquota errors | Ian Jackson | 2024-10-03 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | | | During startup we'll call a few not-just-at-startup memquota methods which produce tor_memquota::Error, rather than StartupError. So we need a variant for that. | |||||
| | * | | tor-chanmgr: Provide a variant for memquota errors | Ian Jackson | 2024-10-03 | 2 | -0/+9 | |
| | | | | ||||||
| | * | | tor-proto: Provide a variant for memquota errors | Ian Jackson | 2024-10-03 | 1 | -0/+6 | |
| | | | | ||||||
| | * | | Provide newtypes to distinguish memoquota accounts at different levels | Ian Jackson | 2024-10-03 | 2 | -0/+118 | |
| | |/ | ||||||
| * | | Merge branch 'launch-with-hsid-docs' into 'main' | gabi-250 | 2024-10-03 | 2 | -2/+10 | |
| |\ \ | | | | | | | | | | | | | | | | | | | arti-client: Clarify the launch_onion_service_with_hsid() docs. Closes #1626 See merge request tpo/core/arti!2494 | |||||
| | * | | tor-keymgr: Linkify the ArtiKeystoreKind docs. | Gabriela Moldovan | 2024-10-03 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | arti-client: Clarify the launch_onion_service_with_hsid() docs. | Gabriela Moldovan | 2024-10-03 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | This updates the docs to mention that the specified key may get actually persisted to disk. Closes #1626 | |||||
| * | | | Merge branch 'prop351-refs' into 'main' | Jim Newsome | 2024-10-03 | 2 | -8/+12 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Replace references to prop351 with socks-extensions.md Closes #1629 See merge request tpo/core/arti!2492 | |||||
| | * | | | Replace references to prop351 with socks-extensions.md | Nick Mathewson | 2024-10-02 | 2 | -8/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that the proposal is implemented and merged into the specs, the proposal itself is only historical. Closes #1629. | |||||
| * | | | | Merge branch 'rename-client-auth' into 'main' | Ian Jackson | 2024-10-03 | 12 | -40/+45 | |
| |\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | Use the new "restricted discovery" terminology throughout Closes #1476 See merge request tpo/core/arti!2495 | |||||
| | * | | | arti-client: Use the new "restricted discovery" terminology. | Gabriela Moldovan | 2024-10-03 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | Part of #1476 | |||||
| | * | | | tor-hscrypto: Use the new "restricted discovery" terminology. | Gabriela Moldovan | 2024-10-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | Part of #1476 | |||||
| | * | | | tor-key-forge: Use the new "restricted discovery" terminology. | Gabriela Moldovan | 2024-10-03 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | Part of #1476 | |||||
| | * | | | tor-hsservice: Use the new "restricted discovery" terminology. | Gabriela Moldovan | 2024-10-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | Part of #1476 | |||||
| | * | | | tor-hsclient: Use the new "restricted discovery" terminology. | Gabriela Moldovan | 2024-10-03 | 3 | -8/+10 | |
| | | | | | | | | | | | | | | | | | Part of #1476 | |||||
| | * | | | tor-netdoc: Wrap some too-long comments and docs. | Gabriela Moldovan | 2024-10-03 | 3 | -4/+7 | |
| | | | | | ||||||
| | * | | | tor-netdoc: Use the new "restricted discovery" terminology. | Gabriela Moldovan | 2024-10-03 | 5 | -22/+22 | |
| | | |/ | |/| | | | | | | | Part of #1476 | |||||
| * | | | Merge branch 'div_ceil' into 'main' | Nick Mathewson | 2024-10-03 | 2 | -15/+2 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Use {u64,usize}::div_ceil See merge request tpo/core/arti!2473 | |||||
| | * | | | Use {u64,usize}::div_ceil | Nick Mathewson | 2024-09-30 | 2 | -15/+2 | |
| | | | | | | | | | | | | | | | | | | | | | Previously we had to avoid it, but now that our MSRV is above 1.73 we can use it with abandon. | |||||
| * | | | | CircMgr: Start writing tests. | Wesley Aptekar-Cassels | 2024-10-03 | 10 | -291/+426 | |
| | | | | | ||||||
| * | | | | Merge branch 'rpc-rustdoc' into 'main' | Nick Mathewson | 2024-10-03 | 8 | -23/+123 | |
| |\ \ \ \ | |_|/ / |/| | | | | | | | | | | | Revise RPC documentation to be more informative. See merge request tpo/core/arti!2489 | |||||
| | * | | | rpc: clarify documentation and fix typos | Nick Mathewson | 2024-10-02 | 3 | -4/+9 | |
| | | | | | | | | | | | | | | | | | Based on review from @opara. | |||||
| | * | | | Revise RPC documentation to be more informative. | Nick Mathewson | 2024-10-02 | 8 | -23/+118 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Previous documentation was more-or-less meant for the Arti developer only. This new documentation is intended for actual users of RPC functionality. It's meant to be extracted with `maint/rpc-doc-tool`. | |||||
| * | | | | Merge branch 'docsrs-feature' into 'main' | Ian Jackson | 2024-10-03 | 1 | -0/+4 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | tor-socksproto: fix "check_doc_features" warning See merge request tpo/core/arti!2487 | |||||
| | * | | | | tor-socksproto: fix "check_doc_features" warning | Steven Engler | 2024-10-01 | 1 | -0/+4 | |
| | | | | | | ||||||
| * | | | | | Merge branch 'mcost' into 'main' | Ian Jackson | 2024-10-02 | 27 | -80/+606 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Implement tor_memquota:HasMemory cost for a lot of types See merge request tpo/core/arti!2459 | |||||
| | * | | | | | tor-memquota: Fix more hard tabs. | Ian Jackson | 2024-10-02 | 1 | -2/+2 | |
| | | | | | | | ||||||
| | * | | | | | tor-memquota: Explain choice of bounds | Ian Jackson | 2024-10-02 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Properted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2459#note_3086841 | |||||
| | * | | | | | Revert "tor-cell: Use HasMemoryCostStructural, rather than Copy" | Ian Jackson | 2024-10-02 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit def8810156f8c2bf8f18ef9ad75a61601f6fea78. | |||||
| | * | | | | | tor-memquota: Replace MemoryCostStructuralCopy with assert_copy_static (fmt) | Ian Jackson | 2024-10-02 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | * | | | | | tor-memquota: Replace MemoryCostStructuralCopy with assert_copy_static | Ian Jackson | 2024-10-02 | 2 | -23/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2459#note_3086841 | |||||
| | * | | | | | tor-memquota: Move and reword a comment | Ian Jackson | 2024-10-02 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This comment is more applicable to the memory_cost_structural_copyx macro than the wrapper type, especially since the wrapper type is going away. | |||||
| | * | | | | | tor-memquota: Add an example for HasMemoryCost derive | Ian Jackson | 2024-10-02 | 2 | -0/+40 | |
| | | | | | | | ||||||
| | * | | | | | tor-cell: Use HasMemoryCostStructural, rather than Copy | Ian Jackson | 2024-10-02 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2459#note_3086839 | |||||
| | * | | | | | Abolish SIZE in favour of std::mem::size_of | Ian Jackson | 2024-10-02 | 2 | -22/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2459#note_3086837 | |||||
| | * | | | | | tor-memquota: Provide explicit "indirect size" feature in derive | Ian Jackson | 2024-10-02 | 1 | -0/+6 | |
| | | | | | | | ||||||
| | * | | | | | Use std::num::NonZeroFoo | Ian Jackson | 2024-10-02 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not the generic version which isn't supported in our MSRV. We may want to revert this in the future, so let's make it a separate commit. | |||||
| | * | | | | | Some HasMemoryCost impls in tor-proto | Ian Jackson | 2024-10-02 | 3 | -5/+13 | |
| | | | | | | | ||||||
| | * | | | | | Some HasMemoryCost impls in tor-cell | Ian Jackson | 2024-10-02 | 9 | -65/+167 | |
| | | | | | | | ||||||
| | * | | | | | Some HasMemoryCost impls in tor-linkspec | Ian Jackson | 2024-10-02 | 2 | -3/+10 | |
| | | | | | | | ||||||
| | * | | | | | Some HasMemoryCost impls in tor-hscrypto | Ian Jackson | 2024-10-02 | 2 | -0/+12 | |
| | | | | | | | ||||||
| | * | | | | | Some HasMemoryCost impls in tor-llcrypto | Ian Jackson | 2024-10-02 | 4 | -1/+19 | |
| | | | | | | | ||||||
| | * | | | | | Some HasMemoryCost impls in tor-units | Ian Jackson | 2024-10-02 | 2 | -1/+8 | |
| | | | | | | | ||||||
| | * | | | | | tor-memquota: Export Account at the toplevel | Ian Jackson | 2024-10-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out we're mostly going to want to deal in Accounts, not Arc<MemoryQuotaaTracker>s. | |||||
| | * | | | | | tor-memquota: Provide facilities for deriving HasMemoryCost | Ian Jackson | 2024-10-02 | 4 | -1/+344 | |
| | | | | | | | ||||||
| | * | | | | | tor-memquota: Make EnabledToken constructors const | Ian Jackson | 2024-10-02 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This will be convenient in some tests etc. | |||||
