4d418c814e
fix: use Weak refs to prevent leaky cycles
2024-09-26 02:29:13 +02:00
21cf2a6445
Merge pull request #16 from hexedtech/feat/userlist
...
feat: add user_list, allow config::new with &str
2024-09-24 20:36:19 +02:00
cschen
221a46dc16
Merge pull request #15 from hexedtech/docs/tests
2024-09-22 16:16:40 +02:00
2f6557f971
feat: add user_list, allow config::new with &str
2024-09-21 12:05:09 +02:00
69171e73b3
docs: re-enable and fix doc tests
2024-09-21 11:52:46 +02:00
cschen
f6c0b878cb
feat: add specific feature flag to specify building python without abi.
...
This is needed because if we want to ship to sublime, having the `pyo3/abi-*`
feature enabled will result in a wheel that needs the `python3.dll` (f****g windows)
which sublime does not ship. This works fine for Linux and Mac Os, but
for windows we will need to build without abi and for Python3.8 directly
for sublime specifically and also with the abi for the generic python wheel to be
used everywhere else.
2024-09-19 21:32:46 +02:00
5a8b4ae800
chore: bump versions, fix docs
2024-09-18 16:11:12 +02:00
7df85fb13e
chore: rename Workspace::try_new -> connect
...
more appropriate: we pass a ton of parameters and a new connection is
established. try_new was too generic
2024-09-16 21:11:42 +02:00
05fbbe6f9d
feat(java): get_user, active_workspaces
2024-09-15 02:00:04 +02:00
5701a0c49e
chore: merge branch 'config'
2024-09-13 22:57:53 +02:00
ac94fb86fd
chore: rename feature to py for consistency
2024-09-13 22:21:53 +02:00
92d181246e
feat: strict filetree()
2024-09-13 20:02:42 +02:00
d57fb2c4b6
feat: added codemp config, changed connect methods
2024-09-11 15:12:31 +02:00
917a6b96c2
feat: automatically map cursor uuids to names
...
not a fan of passing an Arc<DashMap> down to the cursor worker, but it
needs to access a mapping managed by the workspace so not sure if it can
be better. Into and From protocol types and Cursor are gone: do things
manually (since user is now a different thing, it can't be auto). Also
api::Cursor got changed: user field is Option<String> now
2024-09-05 23:59:05 +02:00
d25e744a37
docs: improved cargo docs, rewrote readme
...
Co-authored-by: alemi <me@alemi.dev>
2024-09-05 01:45:48 +02:00
bfe84c45e0
docs: re-documented remaining members
2024-09-04 21:37:35 +02:00
f0a6a6b730
docs: remade docstricts, refactored a bit
...
refactor shouldn't impact external apis and mostly just moves stuff
around to make sense documentation-wise
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-09-04 20:03:34 +02:00
f2be80427a
chore: move stuff around
...
im not sure about getters on Services, nor names, but ehh
2024-08-08 21:58:20 +02:00
893c3d31e0
feat: better auth: multiworkspace, proper flow
...
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-08-08 02:30:34 +02:00
487422eb99
feat: added detach buffer and leave workspace
...
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-08-08 00:28:35 +02:00
6e9727128d
feat: controllers now implement stop
...
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-08-08 00:28:15 +02:00
4de09cb164
chore: de-arced a bit
...
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-08-08 00:25:22 +02:00
ffa8d8ea82
Updated Javascript Glue with Napi
...
Co-authored-by: alemi.dev <me@alemi.dev>
2024-08-07 23:06:33 +02:00
6212718e99
feat: recv, buffer_list, tweaks, gradle
2024-08-07 10:22:01 +02:00
Camillo Schenone
f9784e961d
feat: updated to new glue, magic.
...
fix: added sublime junk to gitignore
2024-08-05 22:44:46 +02:00
84c77eaca3
feat: inner Arc<T> on controllers
...
so we can wrap them directly in our glue
2024-08-05 19:14:35 +02:00
a38c28f401
feat: moved out proto + feature flag cleanup
...
Co-authored-by: alemi <me@alemi.dev>
2024-03-09 19:59:36 +01:00
99a268185a
fix: increase channels buffer size
...
maybe helps? idk probably not actually
2024-02-07 21:24:31 +01:00
ed1ce45e7f
fix: send path received from server
2024-02-07 04:41:13 +01:00
948a1b4de5
feat: workspace streaming attach and lists
...
to join a workspace, attach to it. to leave a workspace, close the
channel. on such channel you get workspace events (new buffers, user
leave, ...). must fetch current buffers and users upon join. if
workspace doesn't exist, server should create it on attach
also dashmap everywhere to get/put simple
2024-02-07 01:12:05 +01:00
1cf17dc151
chore: proto cleanup and simplification
...
reuse as much as possible, keep rpc messages close with their rpc,
helper struct for uuid with into() and from(). also replaced the simple
things, such as imports and struct fields
2024-02-07 01:09:28 +01:00
164e9887b8
fix: serialize uuid as string when sending
2024-02-01 03:19:27 +01:00
97061524e7
chore: remove snapshot
2024-02-01 01:58:27 +01:00
bc3df45726
fix: fetch buffers after creating
2024-01-31 23:57:21 +01:00
f7fcf8bd22
feat: implemented snapshot method and some getters
2024-01-27 11:49:05 +01:00
741a074464
feat: implemented leave workspace and list buffer users, various fixes
2024-01-25 17:05:06 +01:00
94a7786812
feat: workspaces and new library structure
...
Co-authored-by: alemi <me@alemi.dev>
Co-authored-by: frelodev <frelodev@gmail.com>
2024-01-25 02:13:45 +01: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