Commit graph

104 commits

Author SHA1 Message Date
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
0e6f7caec3
chore: bump beta version, publish
one-off to remake docs and have a reference. fast track for config
2024-09-11 18:11:20 +02:00
94e52a86f4
docs: fix features for docs.rs 2024-09-11 17:51:09 +02:00
02f8f0c0a9
fix: broken manifest, cant have dep and / 2024-09-11 15:50:33 +02:00
e91a504588
feat: add serialize feature for api structs 2024-09-11 15:45:35 +02:00
e05e273ee2
fix(lua): use patched crate by us, add features
basically upstream lua pushed a change making `send` and `module`
features incompatible, which is not ok for us as we need the LuaFunction
to be sync to send it on the channel. Also added features for all lua
versions, it's a bit messy on the Cargo.toml but now we support really
all lua versions and can probably publish on luarocks
2024-09-10 12:12:59 +02:00
675a8091e2
ci(rust): test rust ci 2024-09-10 03:39:36 +02:00
b968945a37
chore: codemp.dev -> code.mp 2024-09-07 22:10:47 +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
e946ee195b
fix: async-trait disabled by default
provides better docs and it should be rare to need Box<dyn Controller>
anyway, also Sync + Send is explicitly added so should be fine
2024-09-06 00:13:17 +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
a5a3bc91fe
chore: add repository url to cargo toml 2024-09-05 06:22:49 +02:00
b8376a5ef8
fix: moved import, exclude dist from packaging 2024-09-05 03:28:46 +02:00
9a29347d87
chore: version with dot 2024-09-05 03:18:23 +02:00
1fac27ebd5
fix(lua): use last published beta rather than git 2024-09-05 03:18:06 +02:00
e8d2c7352b
fix: use codemp proto from crates.io 2024-09-05 03:10:32 +02:00
0e398dcd92
chore: cargo lock and metadata 2024-09-05 03:09:45 +02:00
4ff0c5286c
ci: build with all features on docs.rs 2024-09-05 03:05:22 +02:00
8296b473bb
feat(lua): introduce callbacks channel
this means that lua must poll but at least they run on main thread and
dont segfault the main process
2024-09-01 03:13:03 +02:00
7fc25cd332
chore: bump crate version, lock proto version 2024-08-28 15:30:25 +02:00
c3b22a63f1
fix: proto bump 2024-08-27 21:24:05 +02:00
d7e9003c26
chore: new proto, new tonic 2024-08-27 21:24:04 +02:00
cschen
c0e090fe7a Merge branch 'dev' into pyo3_bump 2024-08-21 15:05:17 +02:00
cschen
e7272753e6 Merge branch 'dev' into pyo3_bump 2024-08-21 15:03:10 +02:00
417e6928cf
ci: build with each feature, not all 2024-08-17 18:38:37 +02:00
fdcfc611b1
feat(lua): hand rolled a_sync! to the rescue 2024-08-17 00:06:57 +02:00
cschen
ef2285d0f3 Merge branch 'dev' into pyo3_bump 2024-08-16 16:50:55 +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
79f132236f
feat(lua): impl all methods, add callback
this uses mlua beta but whatev api is so much better
2024-08-15 22:19:08 +02:00
a9d713fd75
feat: async try_recv, delta_request
Co-authored-by: alemi <me@alemi.dev>
2024-08-14 00:24:32 +02:00
6e33339fa9
fix: lua off 2024-08-13 17:59:58 +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
0dfba0064a
chore: removed unneeded parens 2024-08-10 16:13:44 +02:00
6448dea3fb
chore: un-pin patch 2024-08-09 00:53:06 +02:00
29ffba3309
chore: remove unused deps and imports 2024-08-09 00:49:31 +02:00
9a1263302c
chore: remove old java build deps
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-08-09 00:41:23 +02:00
515cab331c
chore: cleanup, reorganizing java glue 2024-08-08 00:29:54 +02:00
ffa8d8ea82 Updated Javascript Glue with Napi
Co-authored-by: alemi.dev <me@alemi.dev>
2024-08-07 23:06:33 +02:00
7d90793467
feat: get_buffer, get_cursor, get_workspace_id 2024-08-07 00:00:24 +02:00
e85833a40f
chore: migrate errors to thiserror 2024-08-06 23:00:04 +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
5e4cbe5fb1
fix: org name ehe 2024-08-05 19:14:51 +02:00
Camillo Schenone
859baf6572 fix: whops forgot the actual python glue xD version bump 2024-03-16 15:38:09 +01:00
Camillo Schenone
13a4163d1e feat: added python glue, still needs some tweaking in the building of the dylib 2024-03-16 14:36:41 +01:00
c748f49941 feat:added js glue 2024-03-10 12:42:56 +01:00
830ef1fa9b fix: made lua glue work
Co-authored-by: alemi <me@alemi.dev>
2024-03-10 02:18:54 +01:00
074c88feee feat: added lua ffi bindings
broken because no proper build target but whatev for now ig
2024-03-10 01:39:08 +01:00
136ce6b052 fix: put java commands behind feature flag 2024-03-10 01:22:05 +01:00
71006696ee feat: java now works 2024-03-09 23:57:20 +01:00
23db5af4d2 feat: java glue (kind of) 2024-03-09 23:27:08 +01:00