Commit graph

242 commits

Author SHA1 Message Date
7245674ddf merge: branch 'betterlib' into dev
move features and tools into codemp library, trying to decouple stuff
from nvim. also implemented a proper outgoing queue and operation
composing, making connections more reliable
2023-04-19 04:19:59 +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
ftbsc
f7cba63456 feat: allow setting remote debug via vim global 2023-04-12 18:12:50 +02:00
ftbsc
1a0c649845 feat: allow tls 2023-04-12 18:12:38 +02:00
ftbsc
7ae5329ce5 feat: added whole content diff to opseq 2023-04-12 16:58:28 +02:00
ftbsc
0f5e4c7f8d chore: small style tweaks 2023-04-12 16:58:00 +02:00
c3d7889e23 fix: removed some log prints 2023-04-12 05:45:37 +02:00
38bf411d54 fix: comparisons with null, hardcoded path 2023-04-12 05:23:20 +02:00
c0285c08ff Merge branch 'cleanup' into dev
drastically simplified project but produced first real PoC
2023-04-12 05:07:18 +02:00
4ea92c46db chore: version bump 2023-04-12 05:01:14 +02:00
77eae35bc3 feat: allow to request remote tracing via socket 2023-04-12 05:00:37 +02:00
a872c39d7f fix: properly print logs in nvim 2023-04-12 05:00:18 +02:00
2fde9659db feat: parse CLI args in server too 2023-04-12 04:59:33 +02:00
a52f74d092 fix: move cursor in insert, error if not connected 2023-04-12 04:21:02 +02:00
8ca5128ca9 feat: very crude cursor implementation 2023-04-12 03:29:42 +02:00
e471a6dbc9 chore: return nil 2023-04-12 01:38:47 +02:00
55c4ddb93a feat: improved Lua API for plugin
added commands to connect/disconnect, jobid is kept internally, commands
to hook/unhook callbacks, refactored stuff a little
2023-04-12 01:38:38 +02:00
c1b7073e89 fix: better error handling 2023-04-12 00:33:14 +02:00
dd0acdad2f fix: map errors 2023-04-12 00:32:56 +02:00
3827ab066d fix: one factory per buffer, create on attach 2023-04-12 00:32:39 +02:00
1eec71f3b2 fix: callbacks local to buffer, local bufnr + path 2023-04-12 00:31:59 +02:00
8e2f41a1c8 chore: made OperationFactory async and mutexless 2023-04-11 22:35:37 +02:00
0a464296cd feat: added Join/Share commands 2023-04-11 22:35:27 +02:00
b891c0d2f0 feat: added sync rpc 2023-04-11 22:35:10 +02:00
228f6a54f0 fix: catch some edge cases 2023-04-11 17:12:22 +02:00
de153c798c fix: retain ending chars 2023-04-11 14:24:53 +02:00
ca4f68c5ec feat: added delete fn, handle CR and BS 2023-04-11 14:24:40 +02:00
532de6639f feat: pass back stderr 2023-04-11 14:02:45 +02:00
9a0311eb38 chore: cargo features 2023-04-11 14:02:03 +02:00
f1f65aafdb chore: cleanup nvim main 2023-04-11 14:01:55 +02:00
b12b6dc68f feat: added reference client in lib 2023-04-11 14:01:27 +02:00
2472164350 chore: removed cli client 2023-04-11 14:00:49 +02:00
4f43573aa0 feat: basic nvim RPC client 2023-04-11 06:20:40 +02:00
665b8ea2e0 fix: renamed 2023-04-10 20:25:47 +02:00
9bf12b8bc3 feat: add user to msgs, pass msgs directly 2023-04-10 20:24:11 +02:00
14e9a1e86e feat: added Operation Factory struct 2023-04-10 01:41:22 +02:00
ebbca24a99 chore: dramatically simplified everything
working on this was really hard, so i'm making simple things first.
removed almost everything except bare buffer changes, and not even done
in a smart way, but should be a working PoC? now trying to make a
working client to test it out and actually work on a real prototype
2023-04-07 03:10:45 +02:00
192ce94ac6 fix: where did this come from?? 2022-10-18 23:08:08 +02:00
5ff2166fa2 chore: warnings be gone 2022-10-18 02:28:16 +02:00
7b0de55613 Merge branch 'dev' of github.com:alemidev/codemp into dev 2022-10-18 02:23:33 +02:00