Commit graph

215 commits

Author SHA1 Message Date
2e62362ff3 feat: added user list in the treeview 2024-09-16 22:42:37 +02:00
03baabfae6 feat: check hash to warn when out of sync 2024-09-16 21:52:34 +02:00
2b68c0d102 feat: update some InformationMessages to WarningMessages 2024-09-16 17:47:40 +02:00
f4be360513 chore : check if there's a vscode workspace before joining a codemp workspace 2024-09-16 17:44:10 +02:00
6dc6387a2d feat: change EOL to LF and temp fix for poll 2024-09-16 17:36:15 +02:00
18f0733831
fix: error when share/attach already active buffer 2024-09-16 04:32:10 +02:00
4bc05b1766
fix: only ever spawn one changes consumer 2024-09-16 03:21:35 +02:00
73b3c31ac1
fix: less cursor flickering
dont dispose every time, just update decoration position
2024-09-16 03:18:06 +02:00
023d9f35eb
feat: added share command 2024-09-15 03:11:52 +02:00
f600465290
fix: when attaching open local files if exist 2024-09-15 03:11:32 +02:00
366f5aec82
fix: update codemp and usage 2024-09-15 03:11:13 +02:00
36e2a99f9e feat: new workspace commands 2024-09-09 15:59:41 +02:00
e34f8e9ec9
chore: codemp.dev -> code.mp 2024-09-07 22:13:45 +02:00
8f93fcab86
fix: remove opcache 2024-09-07 02:14:25 +02:00
f18898a1c5
feat: alpha to selections 2024-09-07 02:14:12 +02:00
ace46fe997
fix: thin cursor borders 2024-09-07 01:45:47 +02:00
0983019175
fix: re-get editors, fixes edits stopping 2024-09-07 01:24:46 +02:00
770758b8bf
feat: improved tree view 2024-09-07 01:11:28 +02:00
045c0bddc8
fix: expandability, context value in tree 2024-09-07 00:41:25 +02:00
95b83be800
fix: get editor every time
probably way slower but vscode breaks otherwise?
2024-09-06 23:17:41 +02:00
7ff90b8a3b
feat: welcome view 2024-09-06 23:15:03 +02:00
d66900710d feat: tree for workspaces and buffers 2024-09-06 18:45:25 +02:00
bce44730b9
fix: configuration proper scope, catch missing val 2024-09-06 16:04:24 +02:00
bace071cf9
fix: is now get_path 2024-09-06 14:26:09 +02:00
12d30b7e6d
chore: cleaned up a bit, refactored 2024-09-06 14:15:34 +02:00
fc6e01b892
chore: removed unused files 2024-09-06 14:15:24 +02:00
1a1c6b007b chore: code cleanup 2024-09-06 12:44:45 +02:00
ec2a2950ff feat: added auth and config for server username and password 2024-08-29 00:04:58 +02:00
496a97cb72 feat: Multi Cursor support, added new Mappings, fixed async functions 2024-08-27 22:12:23 +02:00
3dca7476a7 feat: updated callback according to new API and added debug console logs 2024-08-24 20:38:07 +02:00
f5261b6a71 feat: updated extension according to new glue 2024-08-21 18:56:48 +02:00
26f2c3b836 feat: removed rust from extension and added to glue 2024-08-21 18:55:46 +02:00
a45f5fbaa0 stable new version with logger, debug and fixed opcache 2024-02-14 15:42:40 +01:00
03eda74d78 New Class for BufferMappings 2024-02-14 15:41:58 +01:00
fa6a0b2399 feat: Logger 2024-02-14 15:41:32 +01:00
1c42282dcb Changed OpCache and wrote some new test cases
Co-authored-by: alemi.dev <me@alemi.dev>
2024-02-14 15:40:35 +01:00
a785321287 Small sleep time could be a temp fix for now 2024-02-14 15:38:06 +01:00
5df3234e0b fixed cursors and added logger
Co-authored-by: alemi.dev <me@alemi.dev>
2024-02-12 19:22:50 +01:00
5c94ad483e other unneeded napi results 2024-02-12 19:21:40 +01:00
d0d37b1b71 removed unneeded napi result 2024-02-12 19:19:54 +01:00
1cbfc49df1 removed comments 2024-02-12 19:18:23 +01:00
ec8148cc0e new napi vers and op_cache imports fixed 2024-02-10 19:32:20 +01:00
e0cb9fb464 updated glue to codemp 0.6.0 + refactor 2024-02-10 19:02:11 +01:00
0a1c88d09c fixed sync 2023-12-24 16:23:50 +01:00
9b12290c05 removed some comments 2023-12-24 15:09:48 +01:00
55a4cf111d fixed opcache? 2023-12-24 15:04:34 +01:00
ffa86902d7 updated to v0.5.1 2023-12-22 19:39:29 +01:00
aca8d31e1e slotted WOOT in, kind of works 2023-11-19 00:58:18 +01:00
00e29ee975 new features: leave workspace and disconnect from buffer (just rs bindings) 2023-10-02 23:35:19 +02:00
35c48a205f New features: sending buffer events 2023-10-01 10:56:19 +02:00
cf99be0059 New features: receiving buffer events 2023-10-01 10:55:27 +02:00
3f56943f01 New features: attaching to buffers 2023-10-01 10:54:08 +02:00
ed859f0630 New features: creating buffers 2023-10-01 10:51:28 +02:00
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
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
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
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
041acdbb94 feat: initial barebones structure for workspace 2023-07-13 01:35:18 +02:00
59a0f71754 fix: better names for delta operation args 2023-07-12 00:23:41 +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
d086997053 feat!: start+end in cursor, merged cursor structs 2023-07-05 00:09:09 +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
06523b2325 fix: factory delta with abs index and not skips 2023-07-04 00:58:56 +02:00
43634acc2c fix: remove unnecessary async, re-exported ot, refactor 2023-07-02 23:59:04 +02:00
365811d963 chore: thanks clippy 2023-07-01 20:22:39 +02:00
b9ab3403dd chore: aligned match case, renamed to unwrap_or_warn 2023-07-01 14:12:33 +02:00
2c695a41f6 fix: ignore errors better, unified op processing 2023-07-01 14:00:50 +02:00
107c4673ef chore: separated modules in a cargo workspace 2023-04-21 18:47:10 +02:00
c5d171a641 feat: add delta (replace with offset) in factory 2023-04-20 04:36:04 +02:00
97be3cf4ce fix: send mock values to unlock and stop workers 2023-04-20 04:27:11 +02:00
6fe92b9e8e chore: better logging of workers stopping 2023-04-20 04:26:59 +02:00
ebf25fee44 feat: cleaner way to detach and stop workers
actually the stopping channel doesn't fit super well inside the
OperationController itself since the tasks are handled above that
abstraction layer, but storing it inside makes my life incredibly
simpler so im gonna do that for now
2023-04-20 03:47:35 +02:00
1bde0d414e chore: separated op processor and controller 2023-04-20 03:25:07 +02:00
243f23a04b feat: propagate range of buffer affected by change
added some const functions to calculate leading and tailing noops, made
apply() and process() return Range<u64>. actors implementation is still
awful but will do them properly in the future
2023-04-19 20:13:36 +02:00
7f41127f8b chore: import fixes 2023-04-19 19:18:48 +02:00
3e95ff9971 chore: at least log ignored errors 2023-04-19 19:18:31 +02:00
a843cf6cb9 fix: force unix fileformat 2023-04-19 18:18:13 +02:00
3609dbfa84 chore: finished reimplementing features modularly
now everything that worked in 0.2 seems to work again, and should
actually be better. plus, merging differences is done properly and thus
should be way more reliable
2023-04-19 04:18:22 +02:00
b8aa7d5fce fix: temp value was dropped 2023-04-18 21:46:19 +02:00
ead5ffc49c chore: struct for storing cursor states 2023-04-17 14:57:06 +02:00
35935d88a4 chore: rewrote the codemp client using new traits 2023-04-17 14:56:25 +02:00
eafbc41bd1 chore: split op factory into processor and factory 2023-04-17 14:56:00 +02:00
75e397854b chore!: initial work on refactoring client+factory 2023-04-16 03:24:18 +02:00
44d0b3594c fix: more precise callbacks, catch errors in cbs 2023-04-13 03:23:57 +02:00
a8d0cb0666 fix: don't send noops 2023-04-13 03:23:44 +02:00
eeb72545c6 feat: async opseq queuing and transforming 2023-04-13 02:19:31 +02:00
56db49746d chore: commented out unused stuff for now 2023-04-13 00:54:37 +02:00
07b8e3a517 fix: friendlier conn addr and logging 2023-04-13 00:54:01 +02:00