Commit graph

305 commits

Author SHA1 Message Date
9e2d372e5e New features: receiving and sending cursor events 2023-10-01 10:47:53 +02:00
62eb461d67 changed how to build 2023-09-14 23:58:14 +02:00
9b281b1b4c merged in a single folder, rust bindings napi + vscode extension 2023-09-14 23:22:19 +02:00
b842d5b64c boiler plate extension 2023-09-14 23:17:53 +02:00
2233c88706 changed lib version 2023-09-08 17:57:47 +02:00
9929aa753a Finished implementing core API
Co-authored-by: alemi <me@alemi.dev>
2023-08-20 00:48:35 +02:00
7f9422103a feat: switched from neon to napi
Co-authored-by: alemi <me@alemi.dev>
2023-08-19 18:43:22 +02:00
6681a53da9 fix: editorconfig for yaml 2023-08-17 22:50:49 +02:00
a6cfb2b87f docs: updated README 2023-08-17 20:40:21 +02:00
9349ce346f ci: added key 2023-08-17 02:11:56 +02:00
75b8516614 ci: added build+test workflow 2023-08-17 00:17:17 +02:00
ed01ecfb5f fix: codemp dependency, reverted some changes
basically lock it to lib version 0.3
2023-08-17 00:15:34 +02:00
27048efac9 chore: removed rest of the project: 2023-08-16 23:29:45 +02:00
45a5667e5a feat: merge branch 'client-instance' into dev
reworked internal client API, added initial workspace concepts, split
cursor and buffer rpc services, added static instance with internal
mutability
2023-08-16 23:14:30 +02:00
f8e77f0827 feat: reworked client, added static instance 2023-08-16 23:09:47 +02:00
96217d1a1a feat: standardized Controller and ControllerWorker 2023-08-16 18:58:42 +02:00
74faca0f25 chore: cleaned up server and lib after split 2023-08-16 18:58:11 +02:00
9a1d84bc64 chore: split cursor and buffer protos 2023-08-16 17:08:53 +02:00
8595d0c927 fix: imports, Arc<T> 2023-08-11 15:50:17 +02:00
98cae0969d fix: remove workspace trait, add channel error 2023-08-11 15:34:04 +02:00
37e6268f0c chore: buffer(controller->handle, client->controller) 2023-08-11 15:33:40 +02:00
5cddb27b98 feat: initial features splitting, added singleton 2023-07-30 22:58:24 +02:00
02b2588073 feat: major restructure, workspace rework, tweaks
all controllers use internal mutability so that they can all be put
behind Arcs
2023-07-30 17:48:55 +02:00
ef2be6fc25 fix: not really FOSS
updated license file. source has never been distribuited so previous
license file should not be considerable valid. this new file still
probably isn't considerable valid but in the unfortunate case of code
leaking it would leak with this one
2023-07-16 19:42:42 +02:00
041acdbb94 feat: initial barebones structure for workspace 2023-07-13 01:35:18 +02:00
a0ae33095e chore: preemptive cargo version bump 2023-07-13 00:40:26 +02:00
15a1f6a435 fix: bump version 2023-07-13 00:32:59 +02:00
f145382b6e fix: wtf was that 2023-07-12 00:26:41 +02:00
59a0f71754 fix: better names for delta operation args 2023-07-12 00:23:41 +02:00
1b747491bc feat: updated nvim and vscode to new controller api 2023-07-09 03:44:39 +02:00
ca42874590 feat: refactored and improved operation controller
now polling for changes returns span and text so that it's possible to
edit just the changed region. greatly improved controller internal api
with crate-level traits keeping error handling localized
2023-07-09 03:44:27 +02:00
75fdbfe48c feat: try to send proper cursor range 2023-07-09 03:42:08 +02:00
6ef806285f chore: brought back (disabled) old mlua native nvim 2023-07-05 00:09:31 +02:00
d086997053 feat!: start+end in cursor, merged cursor structs 2023-07-05 00:09:09 +02:00
2e39cf10f1 fix: new cursor api in nvim probably
totally tested this go ahead ready for prod
2023-07-04 23:42:40 +02:00
44c6f9eb1a feat: implemented basic cursor sharing in vscode 2023-07-04 22:55:23 +02:00
38911bdc31 feat: reworked cursor handle mechanism
instead of storing cursors it just streams them as they happen. instead
of just getting cursors from the controller, now you also send your
operations into it, mimicking more the behavior used for text ops
2023-07-04 22:54:25 +02:00
340eafb432 feat: added core codemp commands for text sync
note that there's an awful OP_CACHE set to store our edits because we
get them as events too... will have a ton of edge cases! apart from this
text synchronization works pretty well, also autocompletions
2023-07-04 01:05:05 +02:00
7d497c224d build: improved buildscript and bundle, added cmds 2023-07-04 01:02:50 +02:00
4563cfdd09 feat: bindings for changes and callback 2023-07-04 00:59:32 +02:00
06523b2325 fix: factory delta with abs index and not skips 2023-07-04 00:58:56 +02:00
4e37ca971b build: simple script to make simple .vsix 2023-07-03 01:40:14 +02:00
e2176fd1fc fix: correctly declare extension 2023-07-03 01:38:09 +02:00
9584707982 chore: gitignore vscode build files 2023-07-03 00:04:16 +02:00
43634acc2c fix: remove unnecessary async, re-exported ot, refactor 2023-07-02 23:59:04 +02:00
d79886e613 feat: initial rust bindings for vscode client 2023-07-02 23:58:25 +02:00
975a082262 feat: actually report true accepted status 2023-07-02 03:19:00 +02:00
365811d963 chore: thanks clippy 2023-07-01 20:22:39 +02:00
0a29a293f5 chore: add name when starting server 2023-07-01 19:04:10 +02:00
300ba39ba5 chore: moved lua out of src folder 2023-07-01 14:12:48 +02:00