Commit graph

62 commits

Author SHA1 Message Date
cschen
fb8076dbf5 fix: ack is not async. misnamed textchange fields. 2024-10-26 19:13:37 +02:00
cschen
3956d4a27d fix: missing ack method in python glue. Fixed python constructors for TextChange
and Selection. fixed code hints.
2024-10-26 19:05:42 +02:00
cschen
22cec4ab56 reverted the change to accept only keywords arguments and have user and password as mandatory. 2024-10-16 16:46:41 +02:00
7cc8e88402
fix(py): explicit getter/setter for user name 2024-10-16 03:47:07 +02:00
4b5ed06bb7
chore: renamed TextChange and Event fields
Co-authored-by: alemi <me@alemi.dev>
2024-10-16 03:11:40 +02:00
3326217058
feat(python): better struct access
Co-authored-by: alemi <me@alemi.dev>
2024-10-16 02:49:54 +02:00
e5fd0ca76a
chore: split list_workspaces, renamed filetree, refactored fetch_users and fetch_buffers
Co-authored-by: alemi <me@alemi.dev>
2024-10-16 00:42:55 +02:00
a721e17024
fix(py): unify current_user 2024-10-15 22:20:03 +02:00
a44edee07b
feat: user_list returns Vec<User>
returning a String was weird!
2024-10-15 22:19:38 +02:00
14e10e1f7b
chore: update glues 2024-10-15 21:46:22 +02:00
b09e9452f2 fix: js, py and lua allow &'static str, use it 2024-10-13 18:43:59 +02:00
6dedb5f0b3
fix: make version return a static string
moved .to_string() into each glue code
2024-10-12 22:14:17 +02:00
fb9492a2fb
fix: typos in clear_callback 2024-10-10 22:20:03 +02:00
9e977adcdd chore: cargo fmt 2024-10-10 12:52:25 +02:00
ce8dcc8b8c chore: cleanup 2024-10-10 12:52:25 +02:00
6035c448fa chore: update glue code
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-10-10 12:52:25 +02:00
d5518a7b48 chore: updated send methods (+format) 2024-10-10 12:52:25 +02:00
2fe217ad85
chore: autofmt 2024-10-03 04:06:54 +02:00
b897b26bb9
feat: implemented Workspace receiver in glues 2024-10-03 03:11:30 +02:00
d733a0e4e2
chore: update glue code to remove .stop() 2024-09-26 02:29:46 +02:00
cschen
0ffcef360b add python glue 2024-09-25 17:28:52 +02:00
21cf2a6445
Merge pull request #16 from hexedtech/feat/userlist
feat: add user_list, allow config::new with &str
2024-09-24 20:36:19 +02:00
db77fce3ab
chore: implemented user_list for lua, js, py 2024-09-21 13:18:38 +02:00
cschen
d60ac63b49 fix(py): fixed the configuration and rearranged a bit. tested. builds and works. 2024-09-20 16:47:22 +02:00
cschen
e67b1c6bd0 feat(py): better configuration constructor.
Now it accept only keywords arguments so it support just passing in a dict.
2024-09-20 16:47:12 +02:00
cschen
c1ed0d45f3 feat(python): add config support to python with a getter/setter approach 2024-09-14 00:17:46 +02:00
92d181246e
feat: strict filetree() 2024-09-13 20:02:42 +02:00
c0b8906043
chore: move ffi infos in root mod
because i actually dont want docs.rs to build with ffi flags anymore:
docs get "littered" with napi auto methods and pyo3 stuff, which is
annoying and needless noise when reading the doc. I would much rather
only have relevant stuff, to not make doc consumers hop around guessing
what is relevant and what not
2024-09-13 12:04:27 +02:00
2f68006d07
fix: glue for js and py 2024-09-11 18:07:55 +02:00
cschen
f2a2892674 fix(python): fix macros also for client.rs 2024-09-08 11:25:33 +02:00
cschen
f116f27b39 fix(python): remove the macro_export and use pub(crate) instead so that it doesn't leak into the documentations. 2024-09-08 11:03:10 +02:00
cschen
c1c9902b45 feat(python): switched to abi3 mode to allow multiple python versions with single wheel.
abi3 does not support `PyFunction` so added workaround checking for `is_callable()`
2024-09-06 00:24:37 +02:00
fb5bb51e65
fix: uuid was copy, string is not 2024-09-06 00:12:31 +02:00
b8376a5ef8
fix: moved import, exclude dist from packaging 2024-09-05 03:28:46 +02:00
921a8ee69a
fix: updated js and py glues with new errors 2024-09-05 02:33:35 +02:00
bfe84c45e0
docs: re-documented remaining members 2024-09-04 21:37:35 +02:00
cschen
487a490887 fix(python): changed entry point. separated logger from driver. 2024-08-31 15:23:38 +02:00
6b7324d37f
feat: added new methods to java, js and py glues 2024-08-27 23:04:56 +02:00
cschen
076128e1db chore(python): added name to buffer controller, small cleanup 2024-08-23 20:41:07 +02:00
cschen
0c9ea08d64 wip(python): try_recv doesn't return a promise. 2024-08-22 16:52:29 +02:00
cschen
472c33f734 feat(python): added callback support, reaching feature parity with the lib. 2024-08-22 15:22:51 +02:00
cschen
76f8058186 chore(python): final cleanup before merge into dev 2024-08-21 18:15:19 +02:00
cschen
dc7ae20b7d fix(python): release GIL when spawning stuff, we don't need to keep it and we risk
deadlocking
feat(python): added allow_thread in the macro
2024-08-21 17:20:12 +02:00
cschen
fe2f2a3ae0 chore(python): cleaned up the leftovers 2024-08-21 15:45:24 +02:00
cschen
c0e090fe7a Merge branch 'dev' into pyo3_bump 2024-08-21 15:05:17 +02:00
cschen
a4eb58cd4b wip(python): moving the rest of the glue to promises (empty promises) 2024-08-21 15:02:44 +02:00
a99eee170d
feat: allow filtering workspace filetree 2024-08-21 14:57:07 +02:00
cschen
4a575c587f feat(python): fixed macro and expanded to workplace methods 2024-08-20 22:18:29 +02:00
cschen
feff54bcdf feat(python): switched to a "Promise" approach
chore(python): removed, commented out some of the earlier attempts
feat(python): reworked the logger and tokio runtime approach, now the logging
callback drives the runtime.
2024-08-20 21:09:10 +02:00
cschen
72896d87d6 feat(python): tentative of Promise based approach 2024-08-20 17:16:36 +02:00