Commit graph

90 commits

Author SHA1 Message Date
a73a61a841
docs: fix doctests 2024-10-16 04:00:05 +02:00
7cc8e88402
fix(py): explicit getter/setter for user name 2024-10-16 03:47:07 +02:00
8b2a2f2e2e
fix: feature gate pyo3 reference 2024-10-16 03:15:09 +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
6f04c38779
chore: last consistency fixes in glues
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-10-15 23:01:49 +02:00
721d71dd18 fix: doctests 2024-10-10 12:52:25 +02:00
ce8dcc8b8c chore: cleanup 2024-10-10 12:52:25 +02:00
ae66f282d4 feat(java): implemented acking and send/recv separation 2024-10-10 12:52:25 +02:00
560a634499 chore: split TextChange and Cursor
so that sending/receiving parts are different rather than Option<?>

Co-authored-by: zaaarf <me@zaaarf.foo>
2024-10-10 12:52:25 +02:00
45864e19f6 feat: added Delta object to ffis 2024-10-10 12:52:25 +02:00
d5518a7b48 chore: updated send methods (+format) 2024-10-10 12:52:25 +02:00
907a0329d3 feat!: ackable changes for buffer cntrls, sync send 2024-10-10 12:52:25 +02:00
2fe217ad85
chore: autofmt 2024-10-03 04:06:54 +02:00
535de6c2fc
Merge branch 'dev' into feat/workspace-receiver 2024-10-03 03:52:42 +02:00
c0bc92e812
feat: split tx/rx generic in controller 2024-10-03 00:26:40 +02:00
400d87cdb1 chore: cargo fmt 2024-10-01 16:07:09 +02:00
1b16d4af59
chore: split controller trait in 2 sides
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-09-28 03:33:32 +02:00
4d418c814e
fix: use Weak refs to prevent leaky cycles 2024-09-26 02:29:13 +02:00
95f800c762
fix: doctests fail with features enabled, dont run 2024-09-25 22:53:32 +02:00
f41f2c2f9c
fix: mark tests as no_run: they require net access 2024-09-25 05:46:48 +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
cschen
221a46dc16
Merge pull request #15 from hexedtech/docs/tests 2024-09-22 16:16:40 +02:00
2f6557f971
feat: add user_list, allow config::new with &str 2024-09-21 12:05:09 +02:00
69171e73b3
docs: re-enable and fix doc tests 2024-09-21 11:52:46 +02:00
cschen
f6c0b878cb feat: add specific feature flag to specify building python without abi.
This is needed because if we want to ship to sublime, having the `pyo3/abi-*`
feature enabled will result in a wheel that needs the `python3.dll` (f****g windows)
which sublime does not ship. This works fine for Linux and Mac Os, but
for windows we will need to build without abi and for Python3.8 directly
for sublime specifically and also with the abi for the generic python wheel to be
used everywhere else.
2024-09-19 21:32:46 +02:00
cd1fc21df7
feat(lua): alternative getters, annotations
also cleaned up features a bit and updated annotations
oh and run CI too once
2024-09-16 18:24:24 +02:00
a59d2c4648
fix: feature name, disable workflow 2024-09-14 18:54:32 +02:00
cschen
c1ed0d45f3 feat(python): add config support to python with a getter/setter approach 2024-09-14 00:17:46 +02:00
ac94fb86fd
chore: rename feature to py for consistency 2024-09-13 22:21:53 +02:00
422566a145
fix: proto code was mixing different ideas 2024-09-11 17:50:40 +02:00
e91a504588
feat: add serialize feature for api structs 2024-09-11 15:45:35 +02:00
d57fb2c4b6
feat: added codemp config, changed connect methods 2024-09-11 15:12:31 +02:00
917a6b96c2
feat: automatically map cursor uuids to names
not a fan of passing an Arc<DashMap> down to the cursor worker, but it
needs to access a mapping managed by the workspace so not sure if it can
be better. Into and From protocol types and Cursor are gone: do things
manually (since user is now a different thing, it can't be auto). Also
api::Cursor got changed: user field is Option<String> now
2024-09-05 23:59:05 +02:00
04e021f964
feat: don't use async-trait for api::Controller
make it still available via feature `async-trait` if it is necessary to
use auto traits downstream, however documentation should now be more
readable
2024-09-05 23:27:57 +02:00
d25e744a37
docs: improved cargo docs, rewrote readme
Co-authored-by: alemi <me@alemi.dev>
2024-09-05 01:45:48 +02:00
bfe84c45e0
docs: re-documented remaining members 2024-09-04 21:37:35 +02:00
b98be22a8b
feat: more capillar errors
so its clear that some functions wont return a transport error or an rpc
error
2024-09-01 02:46:03 +02:00
cschen
0b1a542ed5 fix: we clip the change span in from 0 to the buffer length, this avoids that
badly formatted changes will crash the worker.
Previously I was able to crash the worker by sending oob changes.
chore: improved text change docs a lil bit
2024-09-02 11:31:36 +02:00
fea7cfcbe1
feat: added session, reworked auth 2024-08-27 21:24:04 +02:00
cschen
ef2285d0f3 Merge branch 'dev' into pyo3_bump 2024-08-16 16:50:55 +02:00
cschen
9d5aae461f feat: added the file name changed to the workspace event (uniform non-unit variant enum) 2024-08-16 16:15:48 +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
8b704fa668
feat: impl so no longer needed from::
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-08-15 22:48:03 +02:00
a8ce56bcc0
feat: callback gets the controller itself as arg 2024-08-15 20:41:53 +02:00
c0d586df90
feat: Clone+Debug on api::Event 2024-08-15 20:15:37 +02:00
d3ce714070
feat: rather than +Debug, make a newtype 2024-08-15 20:15:23 +02:00
7900ca08a7
feat: added back .callback() to controller api 2024-08-15 19:32:01 +02:00
cschen
e732e6a938 feat(python): adapted glue to latest changes, still todo workspace events. 2024-08-15 17:58:02 +02:00