Commit graph

434 commits

Author SHA1 Message Date
42b8a3881c Added a very basic README 2022-09-14 12:13:48 +02:00
711c7ce7c6 chore: mark unused variables to suppress warnings 2022-09-08 00:19:01 +02:00
57dc0b25e9 fix: removed useless mut 2022-09-08 00:18:48 +02:00
911ed4e212 chore: added events to modules, added some docs 2022-08-29 02:50:14 +02:00
1f32834572 fix: send buffer events 2022-08-29 02:49:24 +02:00
851781b041 feat: made statemanager more friendly in its usage
basically removed the need to manually compose messages and added
methods to handle it.
2022-08-29 02:48:09 +02:00
824cb62933 chore: moved responsabilites around again 2022-08-28 23:41:11 +02:00
6fd0ab4944 feat: reworked workspace and workspaceview
now there are handy methods that hide the underlying message passing
2022-08-28 23:40:15 +02:00
692c3f4977 fix: some tweaks to make rust-analyzer happy
stuff used to make sense but I changed some things below. Now I need to
redo my plumbing, but I don't want my language server going crazy.
2022-08-28 23:38:45 +02:00
5bb535385b feat: added events struct
there's also quite some commented out code. I first approached the
problem in a OOP way, but that's not the right way for rust. Keeping
that code just to remember my vision.
2022-08-28 23:36:46 +02:00
18d86020c0 fix: add getter to state workspaces, imports fix 2022-08-03 18:51:56 +02:00
e030b9a48f feat: added some getters to state obj, implemented /buffers 2022-08-03 15:09:15 +02:00
7a4e69377d fix: some temporary fixes to make it compile 2022-07-31 13:47:55 +02:00
f854b902a1 feat: split services in subdir and separate files
Having them all in main.rs was becoming unmanageable
2022-07-31 13:47:18 +02:00
8316439a3e feat: moved state managers under 'actor' dir
Since we're building (sort of) around the actor model, might
as well sort stuff that way.
2022-07-31 13:46:21 +02:00
83ae6e3cd1 feat: initial rework of protocol flow
Added a "session" stage, to auth and connect to a Workspace.
Added workspace-level operations (sync, get buffers list...).
Added buffer-level sync operations (push, pull).
2022-07-31 13:44:48 +02:00
4491482b0a feat: improved protocol definition
use session for authentication, then workspace to keep in sync and
subscribe to new buffers. Buffer service will dispatch live updates.
2022-07-30 14:35:38 +02:00
2287793cd9 feat: added tracing, added buffer_worker 2022-07-30 03:02:38 +02:00
60e6f4640c feat: added buffer object, reworked objects with internal worker 2022-07-30 03:02:04 +02:00
97e9b1f737 feat: initial work on Workspace buffer edit proto
Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-07-21 10:40:43 +02:00
d5a551c76c fix: added functions inside vim 2022-07-16 03:46:43 +02:00
89588d7a8c chore: imports 2022-07-16 03:46:16 +02:00
ede7a7758c feat: made nvim client a feature (for now, enabled by default) 2022-07-16 03:46:02 +02:00
2195cb28b8 feat: implemented basic create/sync client 2022-07-16 03:45:32 +02:00
754695770d fix: build protocol definitions paths
Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-07-13 01:59:01 +02:00
420ca3e224 feat: implemented basic session flow on server
Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-07-13 01:58:34 +02:00
7272879180 feat: state manager with message passing
Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-07-13 01:58:01 +02:00
0151a9e1bd feat: defined some basic protocol
Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-07-13 01:56:21 +02:00
773a90b94f feat: reworked operation matching with enum
Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-07-13 01:55:31 +02:00
934917ffa2 fix: remove print, answer with command
Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-07-13 01:55:04 +02:00
3425c57177 fix: neovim rcp call and notify, added test buffer command 2022-07-11 02:08:37 +02:00
c213536c3b feat: implemented connection and state managers
Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-07-10 23:47:14 +02:00
6e26282faf
build: finished following tonic tutorial 2022-07-10 20:44:43 +02:00
65300edf90
build: initial commit with tonic stubs 2022-07-10 19:01:56 +02:00