| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | reformat python to appease script. | Nick Mathewson | 2026-04-28 | 1 | -2/+2 |
| | | |||||
| * | proto rpc: Turn tunnel paths into a dict | Nick Mathewson | 2026-04-28 | 1 | -1/+3 |
| | | | | | | | | | | This will make it possible to tell whether a path has been replaced in the tunnel. Since the UniqId type might change its representation in the future, I've documented that we don't guarantee anything about the strings used to distinguish paths. | ||||
| * | proto rpc: Change PathEntry to an enum. | Nick Mathewson | 2026-04-28 | 1 | -1/+3 |
| | | |||||
| * | python integration test for rpc path inspection | Nick Mathewson | 2026-04-28 | 1 | -2/+25 |
| | | |||||
| * | rpc: Integration tests for weak references. | Nick Mathewson | 2026-04-13 | 2 | -0/+47 |
| | | |||||
| * | typo fixes from @jnewsome | Nick Mathewson | 2026-03-23 | 1 | -4/+4 |
| | | |||||
| * | rpc: Python wrappers (and tests) for pollable FFI. | Nick Mathewson | 2026-03-23 | 4 | -1/+297 |
| | | | | | | This provides an API and tests for create_polling(), poll(), and related APIs. | ||||
| * | rpc: Add pythonic wrappers nonblocking requests. | Nick Mathewson | 2026-03-23 | 3 | -1/+195 |
| | | | | | | | | These wrappers present a "pythonic" API to the C functions for submit and wait. Tests included. | ||||
| * | rpc: Add python ctypes wrappers for new FFI functions. | Nick Mathewson | 2026-03-23 | 1 | -11/+82 |
| | | | | | | These are low-level wrappers that let us call the relevant C code, but are not suitable for general use. | ||||
| * | rpc test: python integration tests for su mode. | Nick Mathewson | 2026-03-16 | 4 | -1/+73 |
| | | |||||
| * | python rpc: Add wrapper for prefer-superuser method. | Nick Mathewson | 2026-03-16 | 2 | -0/+22 |
| | | |||||
| * | rpc: refomat python in tests. | Nick Mathewson | 2026-01-27 | 1 | -4/+2 |
| | | |||||
| * | Add inet-auto support to rpc tests. | Nick Mathewson | 2026-01-27 | 2 | -0/+50 |
| | | |||||
| * | Bump black | Jim Newsome | 2026-01-21 | 2 | -10/+6 |
| | | |||||
| * | python rpc wrapper: Use socket types that work on windows. | Nick Mathewson | 2026-01-12 | 1 | -2/+3 |
| | | | | | | | | | | Previously we were using c_int unconditionally, which works everywhere else. Closes #2305. Co-Authored-By: Carti | ||||
| * | rpc.py: fix formatting | Jim Newsome | 2025-09-15 | 1 | -1/+1 |
| | | |||||
| * | Typo fixes (automatic and hand-verified) | Nick Mathewson | 2025-07-09 | 1 | -1/+1 |
| | | | | | Made with https://crates.io/crates/typos-cli | ||||
| * | Merge branch 'dev/cve/arti_rpc_demo' into 'main' | Nick Mathewson | 2025-04-02 | 1 | -9/+0 |
| |\ | | | | | | | | | doc: Remove dead reference to rpc_demo.py See merge request tpo/core/arti!2913 | ||||
| | * | doc: Remove dead reference to rpc_demo.py | Clara Engler | 2025-04-01 | 1 | -9/+0 |
| | | | | | | | | | It was removed in 08847ab290a8d554ccf18e49b3de3abe7d6be9f2. | ||||
| * | | python: Add .gitignore | Clara Engler | 2025-04-01 | 1 | -0/+175 |
| |/ | | | | | | | | | This commit adds a Python .gitignore to the `python/` directory, taking from the public domain gitignore file provided by GitHub[1]. Previously, I saw a `__pycache__` in my `git status` which was not nice. [1]: https://github.com/github/gitignore/blob/main/Python.gitignore | ||||
| * | Merge branch 'rpc_document_internal_optimism' into 'main' | Nick Mathewson | 2025-01-30 | 1 | -6/+0 |
| |\ | | | | | | | | | | | | | rpc: Document what is actually going on with stream optimism. Closes #1583 See merge request tpo/core/arti!2753 | ||||
| | * | rpc: Correct API documentation about optimism | Nick Mathewson | 2025-01-30 | 1 | -6/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | Our documentation had dated to an older version of our RPC stream code, where all streams were automatically optimistic. But as explained, our use of "optimistic"ness in RPC stream code is now purely internal, to make it possible to get an DataStreamCtrl. This isn't user-visible in our rpc_conn_open_stream code. Closes #1583 | ||||
| * | | fix: fix typos | Dimitris Apostolou | 2025-01-30 | 1 | -1/+1 |
| |/ | |||||
| * | rpc.py: Copy stream caveats. | Nick Mathewson | 2025-01-29 | 1 | -2/+20 |
| | | |||||
| * | rpc.py: New preamble document | Nick Mathewson | 2025-01-29 | 1 | -3/+6 |
| | | |||||
| * | rpc: Correct RPC error code for "RequestNotFound". | Nick Mathewson | 2025-01-22 | 1 | -1/+1 |
| | | |||||
| * | rpc: Make cancel requests uncancellable. | Nick Mathewson | 2025-01-22 | 1 | -0/+20 |
| | | | | | | | | | | The current cancel code is prone to deadlock, so the easiest way to solve it appears to be making cancel requests themselves uncancellable. I've included a test to verify the behavior; previously, this test caused a deadlock. | ||||
| * | rpc: Python Integration tests for cancelling requests. | Nick Mathewson | 2025-01-22 | 2 | -0/+34 |
| | | |||||
| * | python rpc: Add support for cancelling requests. | Nick Mathewson | 2025-01-22 | 2 | -2/+30 |
| | | |||||
| * | python rpc: Document with_meta arguments. | Nick Mathewson | 2025-01-22 | 1 | -0/+3 |
| | | |||||
| * | python rpc: Expose an ArtiRpcObject for the "connection" object. | Nick Mathewson | 2025-01-22 | 2 | -0/+12 |
| | | |||||
| * | RPC tests: test that unix sockets still work. | Nick Mathewson | 2025-01-15 | 1 | -0/+14 |
| | | |||||
| * | RPC tests: use cookie authentication as the default. | Nick Mathewson | 2025-01-15 | 2 | -4/+39 |
| | | | | | | (Since Windows doesn't have unix sockets, this is the option that will work everywhere.) | ||||
| * | rpc_tests: rename connpt_path, since we are about to have a second. | Nick Mathewson | 2025-01-15 | 1 | -5/+6 |
| | | |||||
| * | fix: fix typos | Dimitris Apostolou | 2025-01-06 | 1 | -2/+2 |
| | | |||||
| * | ffi.py: Resolve newer mypy warning. | Nick Mathewson | 2025-01-05 | 1 | -5/+5 |
| | | |||||
| * | arti_rpc_tests: Use connpt-based server configuration. | Nick Mathewson | 2024-12-19 | 1 | -7/+24 |
| | | |||||
| * | rpc_tests: Add testcase for no-arguments ArtiRpcConn. | Nick Mathewson | 2024-12-09 | 1 | -0/+26 |
| | | |||||
| * | arti_rpc_tests: Check that the various forms of connect-point cfg work. | Nick Mathewson | 2024-12-09 | 2 | -0/+231 |
| | | |||||
| * | arti_rpc_tests: Clear environment variables with special meaning. | Nick Mathewson | 2024-12-09 | 1 | -0/+13 |
| | | |||||
| * | artilib: Revise C and Python APIs for builders. | Nick Mathewson | 2024-12-09 | 4 | -17/+145 |
| | | | | | | | | | | | | | | | | Expose ArtiRpcConnBuilder and appropriate C wrapper functions in our FFI code, and wrap those functions in our python wrapper. This breaks the old C API, but that's allowed since the API is still experimental. Some design decisions: * I've wrapped the builder in a Mutex, so that we can continue our FFI rule that we do not require non-Rust code to wrap `&mut`. * I've removed the non-builder connect() function from the C API as extraneous. * I've made a single function to prepend elements to the search path. | ||||
| * | rpc-client: Initial implementation for RPC connect points. | Nick Mathewson | 2024-12-09 | 1 | -1/+6 |
| | | | | | | | | | | This commit covers the major points of the design: Parsing the environment, parsing and resolving connect points, connecting to Arti, and handling errors. There are a few areas that need to be fixed, all marked with XXXXs. | ||||
| * | arti_rpc_tests: use Iterator, not Generator | Nick Mathewson | 2024-10-28 | 1 | -2/+2 |
| | | | | | Generator is more abstract, and expects a possible return or send type. | ||||
| * | arti_rpc_tests: Fix a type error | Nick Mathewson | 2024-10-24 | 2 | -2/+11 |
| | | | | | mypy rightly complained that our context.arti_process could be None. | ||||
| * | python: Remove a spurious blank line. | Nick Mathewson | 2024-10-24 | 1 | -1/+0 |
| | | |||||
| * | python: Fix warnings about unused variables and modules. | Nick Mathewson | 2024-10-24 | 5 | -10/+10 |
| | | |||||
| * | Add a pyproject.toml for arti_rpc_tests | Nick Mathewson | 2024-10-24 | 1 | -0/+23 |
| | | |||||
| * | Remove obsolete "rpc_demo.py" | Nick Mathewson | 2024-10-24 | 1 | -24/+0 |
| | | | | | | | It no longer reflects our current API, refers to no-longer-extant bugs, and was never a terribly good example of what you were supposed to do with RPC. | ||||
| * | Run "black" to reformat all our python | Nick Mathewson | 2024-10-24 | 7 | -70/+93 |
| | | | | | | | | | | | | | | | | | | "Black" is an "opinionated" python formatter, whose opinionatedness is somewhat in the spirit of rustfmt. This MR runs black with default settings on all of our python code in Arti. It was produced by the following commands ``` # Everything in python/ black python/ # Everything with a .py extension fd '.py$' -X black # Everything with a python shebang. git grep -l '#! */usr/bin/env *python' | xargs black ``` | ||||
| * | rpc: Tweak release_owned to give an error on second removal of "connection". | Nick Mathewson | 2024-10-23 | 1 | -0/+10 |
| | | |||||
