Commit graph

446 commits

Author SHA1 Message Date
fb706706dd
chore: doesnt return anything 2024-08-06 18:48:27 +02:00
e0fe8d0e24
chore: renamed to codemp_lua 2024-08-06 18:48:20 +02:00
f3c629237c
feat: track user positions 2024-08-06 18:48:11 +02:00
14a8bfe1f8
feat: moved and improved files sidebar 2024-08-06 18:47:49 +02:00
6cc3b5f119
chore: codemp.buffer -> codemp.buffers 2024-08-06 18:46:22 +02:00
388196ae5e
feat: show file tree in split 2024-08-06 03:10:24 +02:00
40a8c49960
fix: loader 2024-08-06 02:22:02 +02:00
d825a0d6fd
chore: separated command into file 2024-08-06 02:21:30 +02:00
d8109cb9ee
docs: updated readme 2024-08-06 01:11:34 +02:00
2b7b861329
feat: added lua plugin but split into modules
way more understandable now! also everything under :MP command (with
completions!!!)
2024-08-06 01:11:09 +02:00
d4e4e99dac
chore: removed old mixed code, lets start over
(kinda)
2024-08-06 01:10:35 +02:00
567dad3240 chore: bump version 2024-02-09 01:36:56 +01:00
99e5850963 fix: codemp feature flags 2024-02-09 01:36:23 +01:00
6fb755b2c5 chore: merge branch 'feat/workspace' into dev 2024-02-09 01:34:29 +01:00
1bd1607822 feat: updated to codemp v0.6 2024-02-09 01:34:04 +01:00
ef12f3d588 feat: disgusting global state but maybe works??
not really because lib still lacks a way to get the first token but
ignore that, the rest may just work as it did before
2024-02-04 02:11:54 +01:00
bdf800aa5a chore: simplify and adapt lib to workspace model
very lazy port, if it works i'll make it better later™️
2024-02-04 00:57:30 +01:00
e926bdf7a3 feat: allow attaching to local buffers 2023-12-30 06:35:19 +01:00
78adebd82e fix: slower but correct 2023-12-01 16:56:19 +01:00
6a381bb4ea chore: bump codemp version 2023-11-30 03:59:44 +01:00
9ac73e0f8d feat: apply delay across polls 2023-11-30 03:13:04 +01:00
7a9188f607 feat: switch to on_bytes for more precise changes 2023-11-30 03:12:42 +01:00
9964c18ced fix: track ticks separately for each buffer 2023-11-30 03:11:48 +01:00
85079c0330 chore: bindings for TextEdit::apply 2023-11-30 03:10:55 +01:00
592837c664 feat: add sync command to resync without reloading 2023-11-27 23:31:31 +01:00
ae4d1f58cd chore: lock dep version 2023-11-24 12:07:07 +01:00
607a6e71ca feat: switched to mlua and WOOT crdt
a lot of changes all together but I had been experimenting forever with
mlua to get a proper PoC working
2023-11-24 11:44:37 +01:00
3462851f4a feat: bump lib version 2023-11-23 15:35:10 +01:00
2393a2ceb5 feat: catch worker error, add disconnect and detach 2023-11-23 15:10:30 +01:00
0a990c733c fix: build on mac 2023-11-23 15:09:13 +01:00
a084b6e1b6 fix: sleep to avoid bugs... 2023-11-17 06:02:55 +01:00
67b9389c5b fix: apply received changes granularly 2023-11-17 03:55:45 +01:00
f69d91b9f6 fix: insert at index 0, locked dep 2023-11-17 03:44:57 +01:00
f5a2412113 fix: proper text events handling
this works properly but only now that codemp lib sends whole buffer as
text change every time
2023-11-16 22:07:09 +01:00
b59086bda6 fix: make it work with new api 2023-11-16 06:54:32 +01:00
140dd0ff4c feat: initial broken attempt with early woot api 2023-11-10 05:35:18 +01:00
bcbb7a7455 feat: add lua logger to collect tracing msgs 2023-11-10 05:33:20 +01:00
00aee70fc3 feat: allow setting debug log level 2023-09-06 00:15:36 +02:00
1998ee986c fix: need reverse mapping.. also they arent tuples 2023-09-06 00:09:38 +02:00
a19beb2f1a feat: show cursors on correct buffers
also made proper bindings for CursorEvent and CursorPosition
2023-09-05 23:59:20 +02:00
6791055f9e feat: add ability to log to file 2023-09-05 23:58:58 +02:00
e526d874f9 feat: distinct cursors, some different colors 2023-09-05 03:05:20 +02:00
b4ac11bade feat: only send cursor updates in shared buffers
also put correct buffer in cursor updates
2023-09-05 02:51:15 +02:00
d0da62f6fd fix: if cursor is long 0, add 1
idk how to display a bar in vim since it's a terminal
2023-09-04 22:31:29 +02:00
2b5fd19a0e fix: make it work cheating 2023-09-04 18:35:24 +02:00
ec873ee8b4 feat: more capillar but broken text changes
requires more help from codemp lib
2023-09-04 03:22:57 +02:00
773d76e7f8 feat: implemented crude buffer joining and synching 2023-08-22 12:51:35 +02:00
d6b9e21836 feat: added get_buffer, renamed recv -> try_recv 2023-08-22 12:51:17 +02:00
23b4adafcb feat: lua impl for cursors, tweaks to bindings 2023-08-21 04:07:25 +02:00
480becf588 feat: initial work on mlua bindings 2023-08-21 04:06:10 +02:00