a73a61a841
docs: fix doctests
2024-10-16 04:00:05 +02:00
4b5ed06bb7
chore: renamed TextChange and Event fields
...
Co-authored-by: alemi <me@alemi.dev>
2024-10-16 03:11:40 +02:00
721d71dd18
fix: doctests
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
907a0329d3
feat!: ackable changes for buffer cntrls, sync send
2024-10-10 12:52:25 +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
cschen
221a46dc16
Merge pull request #15 from hexedtech/docs/tests
2024-09-22 16:16:40 +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
ac94fb86fd
chore: rename feature to py for consistency
2024-09-13 22:21:53 +02:00
e91a504588
feat: add serialize feature for api structs
2024-09-11 15:45:35 +02:00
d25e744a37
docs: improved cargo docs, rewrote readme
...
Co-authored-by: alemi <me@alemi.dev>
2024-09-05 01:45:48 +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
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
a9d713fd75
feat: async try_recv, delta_request
...
Co-authored-by: alemi <me@alemi.dev>
2024-08-14 00:24:32 +02:00
cschen
9acb7b6007
wip: Some attempts at getting DT to work with buffer controller and buffer worker!
...
This attempt doesn't use a ref to the crdt! But uses an extra channel!
2024-08-13 00:36:09 +02:00
cschen
7e8a46f9b8
feat(python): new leaner glue, up to date
2024-08-08 23:58:45 +02:00
ffa8d8ea82
Updated Javascript Glue with Napi
...
Co-authored-by: alemi.dev <me@alemi.dev>
2024-08-07 23:06:33 +02:00
Camillo Schenone
f9784e961d
feat: updated to new glue, magic.
...
fix: added sublime junk to gitignore
2024-08-05 22:44:46 +02:00
39533ae086
feat: wrappers for Cursor and Op
...
so plugins dont need to interact directly with our underlying proto
struct, nor our underlying crdt ops. also for wrapping directly in glue
2024-08-05 19:15:30 +02:00
a38c28f401
feat: moved out proto + feature flag cleanup
...
Co-authored-by: alemi <me@alemi.dev>
2024-03-09 19:59:36 +01:00
9422f9a216
docs: updated docs
2024-02-09 01:16:16 +01:00
4fdd2a79c4
fix: api doesn't really require woot or similar
2024-02-09 01:04:10 +01:00
47127bbb41
chore: back from transport to proto
2024-02-09 00:39:07 +01:00
c9a36ea8ec
fix: cleaned up code, fixed multi-op change issues
2024-02-09 00:35:08 +01:00
741a074464
feat: implemented leave workspace and list buffer users, various fixes
2024-01-25 17:05:06 +01:00
94a7786812
feat: workspaces and new library structure
...
Co-authored-by: alemi <me@alemi.dev>
Co-authored-by: frelodev <frelodev@gmail.com>
2024-01-25 02:13:45 +01:00
7ad1da0f27
chore: updated docs, getter for buf name
2023-11-30 03:41:53 +01:00
1f50f75eb4
fix: apply() panic when out of bounds
2023-11-30 03:02:13 +01:00
10e4a458ce
chore: more tests, imports
2023-11-30 03:01:59 +01:00
da44aff408
feat: added TextChange helper methods and more test
2023-11-30 00:38:24 +01:00
b4b955a39e
fix: caught textchange diff bug, added tests
2023-11-30 00:37:57 +01:00
3bc1159ffc
feat: utility fn to convert from index to rowcol
2023-11-24 11:08:03 +01:00
76e61b1abb
docs: include doc into textchange block
2023-11-17 05:53:38 +01:00
2ccb5c936b
feat: moved TextChange into api, added from diff
2023-11-17 05:45:31 +01:00