summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | doc: Note that client authorization was renamed.Gabriela Moldovan2024-10-036-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | This adds a note mentioning the new "restricted discovery" terminology to the various docs that talk about client authorization.
| * | | | arti-client: Use the new "restricted discovery" terminology.Gabriela Moldovan2024-10-031-2/+2
| | | | | | | | | | | | | | | | | | | | Part of #1476
| * | | | tor-hscrypto: Use the new "restricted discovery" terminology.Gabriela Moldovan2024-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | Part of #1476
| * | | | tor-key-forge: Use the new "restricted discovery" terminology.Gabriela Moldovan2024-10-031-4/+4
| | | | | | | | | | | | | | | | | | | | Part of #1476
| * | | | tor-hsservice: Use the new "restricted discovery" terminology.Gabriela Moldovan2024-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | Part of #1476
| * | | | tor-hsclient: Use the new "restricted discovery" terminology.Gabriela Moldovan2024-10-033-8/+10
| | | | | | | | | | | | | | | | | | | | Part of #1476
| * | | | tor-netdoc: Wrap some too-long comments and docs.Gabriela Moldovan2024-10-033-4/+7
| | | | |
| * | | | tor-netdoc: Use the new "restricted discovery" terminology.Gabriela Moldovan2024-10-035-22/+22
| | |/ / | |/| | | | | | | | | | Part of #1476
* | | | Merge branch 'div_ceil' into 'main'Nick Mathewson2024-10-032-15/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Use {u64,usize}::div_ceil See merge request tpo/core/arti!2473
| * | | | Use {u64,usize}::div_ceilNick Mathewson2024-09-302-15/+2
| | |_|/ | |/| | | | | | | | | | | | | | Previously we had to avoid it, but now that our MSRV is above 1.73 we can use it with abandon.
* | | | Merge branch 'rpc-annotation' into 'main'Nick Mathewson2024-10-032-55/+86
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | python: Type-annotate rpc.py See merge request tpo/core/arti!2476
| * | | | python: Use mypy option for cleaner code wrt rebinding.Nick Mathewson2024-10-031-11/+24
| | | | |
| * | | | python: Fix annotation typo.Nick Mathewson2024-10-031-1/+1
| | | | |
| * | | | python: Remove TODO about WinDLLNick Mathewson2024-10-031-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | @opara says that we'll want to have our API functions be `extern "C"` everywhere, and so `ctypes.CDLL` should work fine for them on Windows. This sounds good to me.
| * | | | python: annotate CDLL-related functionsNick Mathewson2024-10-031-16/+11
| | | | | | | | | | | | | | | | | | | | This, incidentally, turned up a repeated mistake in the code.
| * | | | python: Remove todos about annotating "params"Nick Mathewson2024-10-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Since params can be "anything encodeable to json", there isn't a lot of point in restricting its type.
| * | | | python: Prefer Optional over Union.Nick Mathewson2024-10-031-4/+4
| | | | |
| * | | | python: Type-annotate rpc.pyNick Mathewson2024-10-012-38/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has required a few code changes and turned up a few bugs. The type annotations pass with `mypy`. Notable code changes: With type annotations, variable assignment may no longer change the type of a variable. (I disagree with these semantics, but here we are.) Note that some TODOs remain: I have no clear sense how to annotate the library type from `ctypes`, and better wrappers are needed in some cases.
| * | | | python: Add minimal annotations for "mypy" to pass.Nick Mathewson2024-10-011-4/+6
| |/ / /
* | | | Merge branch 'circmgr-initial-test' into 'main'gabi-2502024-10-0310-291/+426
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | CircMgr: Start writing tests. See merge request tpo/core/arti!2444
| * | | | CircMgr: Start writing tests.Wesley Aptekar-Cassels2024-10-0310-291/+426
| | | | |
* | | | | Merge branch 'rpc-doc-automation' into 'main'Nick Mathewson2024-10-031-0/+669
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Python tool to build RPC method/type documentation. See merge request tpo/core/arti!2479
| * | | | rpc-doc-tool: improvements to HTML_HEADERNick Mathewson2024-10-031-2/+4
| | | | |
| * | | | rpc-doc-tool: move constants to head of fileNick Mathewson2024-10-031-26/+26
| | | | |
| * | | | rpc-doc-tool: Use __file__ in place of argv[0]Nick Mathewson2024-10-031-4/+6
| | | | |
| * | | | rpc-doc-tool: Fix handling for "magic" headings.Nick Mathewson2024-10-021-4/+3
| | | | |
| * | | | add references for rustdoc links.Nick Mathewson2024-10-011-8/+45
| | | | |
| * | | | rpc-doc-tool: only emit Parameters link when there are some.Nick Mathewson2024-10-011-1/+15
| | | | |
| * | | | Python tool to build RPC method/type documentation.Nick Mathewson2024-10-011-0/+615
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses the RPC library to extract a list of RPC methods and objects; uses rustdoc-nightly to extract documentation for them; outputs a markdown document.
* | | | | Merge branch 'rpc-rustdoc' into 'main'Nick Mathewson2024-10-038-23/+123
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | Revise RPC documentation to be more informative. See merge request tpo/core/arti!2489
| * | | | rpc: clarify documentation and fix typosNick Mathewson2024-10-023-4/+9
| | | | | | | | | | | | | | | | | | | | Based on review from @opara.
| * | | | Revise RPC documentation to be more informative.Nick Mathewson2024-10-028-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 Jackson2024-10-031-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-socksproto: fix "check_doc_features" warning See merge request tpo/core/arti!2487
| * | | | | tor-socksproto: fix "check_doc_features" warningSteven Engler2024-10-011-0/+4
| | | | | |
* | | | | | Merge branch 'mcost' into 'main'Ian Jackson2024-10-0229-81/+620
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement tor_memquota:HasMemory cost for a lot of types See merge request tpo/core/arti!2459
| * | | | | | tor-memquota: Fix more hard tabs.Ian Jackson2024-10-021-2/+2
| | | | | | |
| * | | | | | tor-memquota: Explain choice of boundsIan Jackson2024-10-021-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 Jackson2024-10-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit def8810156f8c2bf8f18ef9ad75a61601f6fea78.
| * | | | | | tor-memquota: Replace MemoryCostStructuralCopy with assert_copy_static (fmt)Ian Jackson2024-10-021-1/+1
| | | | | | |
| * | | | | | tor-memquota: Replace MemoryCostStructuralCopy with assert_copy_staticIan Jackson2024-10-022-23/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2459#note_3086841
| * | | | | | tor-memquota: Move and reword a commentIan Jackson2024-10-021-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 deriveIan Jackson2024-10-023-0/+41
| | | | | | |
| * | | | | | tor-cell: Use HasMemoryCostStructural, rather than CopyIan Jackson2024-10-021-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2459#note_3086839
| * | | | | | Abolish SIZE in favour of std::mem::size_ofIan Jackson2024-10-022-22/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2459#note_3086837
| * | | | | | tor-memquota: Provide explicit "indirect size" feature in deriveIan Jackson2024-10-021-0/+6
| | | | | | |
| * | | | | | Use std::num::NonZeroFooIan Jackson2024-10-021-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-protoIan Jackson2024-10-024-5/+15
| | | | | | |
| * | | | | | Some HasMemoryCost impls in tor-cellIan Jackson2024-10-0210-65/+169
| | | | | | |
| * | | | | | Some HasMemoryCost impls in tor-linkspecIan Jackson2024-10-023-3/+11
| | | | | | |
| * | | | | | Some HasMemoryCost impls in tor-hscryptoIan Jackson2024-10-023-0/+14
| | | | | | |