Michael Sloan
205f9a9f03
Add lua script access to code using cx + reuse project search logic ( #26269 )
...
Access to `cx` will be needed for anything that queries entities. In
this commit this is use of `WorktreeStore::find_search_candidates`. In
the future it will be things like access to LSP / tree-sitter outlines /
etc.
Changes to support access to `cx` from functions provided to the Lua
script:
* Adds a channel of requests that require a `cx`. Work enqueued to this
channel is run on the foreground thread.
* Adds `async` and `send` features to `mlua` crate so that async rust
functions can be used from Lua.
* Changes uses of `Rc<RefCell<...>>` to `Arc<Mutex<...>>` so that the
futures are `Send`.
One benefit of reusing project search logic for search candidates is
that it properly ignores paths.
Release Notes:
- N/A
2025-03-07 10:02:49 +00:00
..
2025-02-24 16:10:26 -05:00
2025-03-06 05:20:06 +00:00
2025-03-06 23:26:46 +02:00
2025-03-06 18:14:53 -08:00
2025-03-06 22:13:34 +00:00
2025-02-24 18:10:12 -05:00
2025-02-19 15:32:29 +00:00
2025-03-01 00:34:28 +01:00
2025-03-05 19:41:42 +00:00
2025-03-03 09:20:15 +00:00
2025-02-24 20:28:20 +00:00
2025-02-25 13:52:42 -05:00
2025-03-03 09:20:15 +00:00
2025-03-05 18:45:09 -08:00
2025-02-28 18:33:35 +01:00
2025-03-02 00:17:55 +08:00
2025-03-06 10:56:28 -07:00
2025-03-06 19:47:52 +00:00
2025-03-06 17:57:31 +00:00
2025-03-06 20:37:54 +00:00
2025-03-06 20:37:54 +00:00
2025-02-26 17:19:19 +00:00
2025-03-06 17:57:31 +00:00
2025-02-20 19:07:16 +00:00
2025-03-06 17:57:31 +00:00
2025-03-07 02:13:50 +00:00
2025-02-19 15:32:29 +00:00
2025-03-06 11:55:00 -05:00
2025-02-28 18:33:35 +01:00
2025-03-03 15:55:15 +00:00
2025-03-06 11:55:00 -05:00
2025-03-06 17:57:31 +00:00
2025-03-06 17:57:31 +00:00
2025-03-06 22:55:28 +00:00
2025-03-05 18:45:09 -08:00
2025-03-04 14:01:08 +08:00
2025-03-06 19:47:52 +00:00
2025-02-20 19:11:32 -05:00
2025-03-07 02:27:29 +00:00
2025-02-24 07:29:55 +00:00
2025-03-06 20:37:54 +00:00
2025-03-06 13:41:21 -05:00
2025-02-28 18:33:35 +01:00
2025-02-26 17:24:35 +01:00
2025-02-27 15:29:32 -03:00
2025-03-06 22:55:28 +00:00
2025-03-06 22:13:34 +00:00
2025-02-28 18:33:35 +01:00
2025-02-28 18:33:35 +01:00
2025-03-05 12:48:10 -05:00
2025-03-06 21:02:37 +00:00
2025-03-04 19:27:37 -07:00
2025-03-06 21:30:05 +00:00
2025-02-19 23:32:51 +00:00
2025-03-06 21:30:05 +00:00
2025-03-06 22:45:47 -05:00
2025-03-06 22:55:28 +00:00
2025-03-03 17:44:49 +05:30
2025-03-06 23:04:48 +05:30
2025-03-06 22:45:47 -05:00
2025-03-06 12:50:42 +01:00
2025-03-06 20:37:54 +00:00
2025-02-19 11:06:20 -05:00
2025-03-03 17:44:49 +05:30
2025-03-06 22:55:28 +00:00
2025-03-06 04:06:00 +00:00
2025-03-05 13:02:29 -07:00
2025-02-27 16:45:59 +01:00
2025-03-07 02:13:50 +00:00
2025-03-06 22:55:28 +00:00
2025-03-03 09:20:15 +00:00
2025-03-06 17:57:31 +00:00
2025-03-01 00:34:28 +01:00
2025-03-06 23:26:46 +02:00
2025-03-06 17:57:31 +00:00
2025-02-27 08:00:42 +00:00
2025-03-06 05:20:06 +00:00
2025-03-06 05:20:06 +00:00
2025-03-06 17:57:31 +00:00
2025-03-03 09:20:15 +00:00
2025-03-06 08:36:10 -06:00
2025-03-06 04:59:57 +00:00
2025-03-07 10:02:49 +00:00
2025-03-04 19:27:37 -07:00
2025-02-19 15:32:29 +00:00
2025-03-03 17:44:49 +05:30
2025-02-21 06:24:02 -03:00
2025-03-06 22:55:28 +00:00
2025-02-28 18:33:35 +01:00
2025-03-06 17:57:31 +00:00
2025-03-03 17:44:49 +05:30
2025-03-05 18:45:09 -08:00
2025-03-05 11:50:39 -08:00
2025-03-05 08:47:49 -07:00
2025-03-06 22:55:28 +00:00
2025-03-06 10:56:28 -07:00
2025-03-05 08:47:49 -07:00
2025-03-06 22:55:28 +00:00
2025-02-28 18:33:35 +01:00
2025-03-04 20:57:37 +00:00
2025-02-20 00:02:24 +00:00
2025-03-06 17:57:31 +00:00
2025-02-19 15:32:29 +00:00
2025-03-07 01:21:20 +00:00
2025-03-06 20:37:54 +00:00
2025-03-06 22:55:28 +00:00
2025-03-06 22:13:34 +00:00
2025-03-06 17:57:31 +00:00
2025-03-07 01:21:20 +00:00
2025-03-06 22:55:28 +00:00
2025-03-06 22:55:28 +00:00
2025-03-06 17:57:31 +00:00