cschen
02d7e71180
properly export the event object to the python glue
2025-03-17 13:09:01 +01:00
frelodev
c41fd40696
bumped to pyo3 0.23 ( #81 )
...
Co-authored-by: cschen <cschen@codemp.dev>
2025-02-15 17:47:00 +00:00
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
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
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
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
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
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
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
cschen
076128e1db
chore(python): added name to buffer controller, small cleanup
2024-08-23 20:41:07 +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
a4eb58cd4b
wip(python): moving the rest of the glue to promises (empty promises)
2024-08-21 15:02:44 +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
cschen
b09c7a2206
ON_HOLD: pyo3 experimental async is still too experimental, pivoting to blocking behaviour for now.
2024-08-20 11:22:45 +02:00
cschen
a45db74722
feat(python): use a current_thread executor
2024-08-18 19:06:07 +02:00
cschen
76e5320e6a
chore(python): minor changes
2024-08-17 23:48:02 +02:00
cschen
3fe6d224e3
feat(python): summon black magic to allow possible release of the GIL between .awaits
...
plus nice static runtime singleton fetcher/instantiator
2024-08-17 01:12:35 +02:00
cschen
5acca5ce3e
feat: make the automatic User translation into py,
...
fix: properly create the module with the new version signature
2024-08-17 01:11:11 +02:00
cschen
610576f8b7
feat: Bumping to pyo3 0.22, removing pyo3-asyncio, moving code around to allow for
...
smoother pyo3 aggregation.
2024-08-16 12:58:43 +02:00
cschen
264dd319d3
fix(python): fixed the type hints, adapted glue to latest workspace, uniformed names in the glue
...
chore: forgot a file
2024-08-09 09:14:35 +02:00
cschen
7e8a46f9b8
feat(python): new leaner glue, up to date
2024-08-08 23:58:45 +02:00