Commit graph

168 commits

Author SHA1 Message Date
7e97777997
fix: clear previous cursor when switching buf 2024-08-17 03:15:57 +02:00
a134f18ab1
feat: use new :await() api 2024-08-17 01:56:09 +02:00
3e9647ab39
feat: implemented callback api
it works well!!?! when it doesnt crash... but its also pretty clean
maybe its our fault? could be worth investigating more lua ffi
2024-08-16 03:49:24 +02:00
36f997b42e
feat: add toggle command for window 2024-08-15 04:07:22 +02:00
b505033bc4
feat: allow setting username+pwd in config 2024-08-15 03:52:01 +02:00
1de55250ab
feat: managed codemp window with custom binds
a first implementation, definitely lot to improve!!
2024-08-15 03:41:45 +02:00
e0a5752d11
feat: added share command 2024-08-15 01:22:48 +02:00
84afc0a864
fix: properly send and apply precise changes
this was really crazy but it seems to work?? can probably be simplified
a ton but not rn
2024-08-14 23:48:55 +02:00
9ea11d41ac
feat: check for out of sync and force sync
maybe we should prompt the user instead? we could destroy changes, but
for now whatever i guess...
2024-08-14 18:13:01 +02:00
58315f3266
chore: removed old stuff 2024-08-14 18:11:45 +02:00
1803127828
feat: hash util 2024-08-14 18:11:20 +02:00
f6a28acf87
feat: apply precise changes
no more whole content .replace()!
2024-08-14 17:38:28 +02:00
82dd97a346
fix: improved buffer.set_content
still bugs out sometimes?? but mostly works. messed up with autocomplete
tho
2024-08-14 17:37:49 +02:00
3287111131
fix: if it errors its done, dont spinlock 2024-08-14 17:37:31 +02:00
0a28a4d479
fix: new cursor struct layout 2024-08-14 17:37:19 +02:00
72661a2eec
feat: commands to leave, delete, detach 2024-08-08 04:48:37 +02:00
44d9f9766b
feat: global state, fixed thread kink 2024-08-08 04:34:23 +02:00
6b0cf072e8
feat: cmd to get user id 2024-08-06 23:04:03 +02:00
e901b448ea
fix: new api 2024-08-06 23:03:57 +02:00
059dc68e3f
fix: new better logger 2024-08-06 23:03:46 +02:00
21dbc36d01
feat: improved login command
generates random username, default password but whatever server is going
to do a real check eventually
2024-08-06 18:48:54 +02:00
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
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
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
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
2393a2ceb5 feat: catch worker error, add disconnect and detach 2023-11-23 15:10:30 +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