3d12840459
fix(js): camelCase searchBuffers
...
Co-authored-by: frelodev <74790175+frelodev@users.noreply.github.com>
2024-10-16 15:52:35 +02:00
a73a61a841
docs: fix doctests
2024-10-16 04:00:05 +02:00
7cc8e88402
fix(py): explicit getter/setter for user name
2024-10-16 03:47:07 +02:00
8b2a2f2e2e
fix: feature gate pyo3 reference
2024-10-16 03:15:09 +02:00
4b5ed06bb7
chore: renamed TextChange and Event fields
...
Co-authored-by: alemi <me@alemi.dev>
2024-10-16 03:11:40 +02:00
3326217058
feat(python): better struct access
...
Co-authored-by: alemi <me@alemi.dev>
2024-10-16 02:49:54 +02:00
e1e09cb20e
fix: doctests
2024-10-16 00:51:52 +02:00
e5fd0ca76a
chore: split list_workspaces, renamed filetree, refactored fetch_users and fetch_buffers
...
Co-authored-by: alemi <me@alemi.dev>
2024-10-16 00:42:55 +02:00
6f04c38779
chore: last consistency fixes in glues
...
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-10-15 23:01:49 +02:00
3bf620d41a
chore: my_user -> current_user
2024-10-15 22:21:37 +02:00
9a4225cf0d
chore(js): camelCase
2024-10-15 22:21:08 +02:00
c63a3ec73a
feat(lua): use serde for IntoLua too
...
so now it creates a table on the fly and the thing that lua receives
behaves like you would expect instead of being weird!
2024-10-15 22:20:23 +02:00
a721e17024
fix(py): unify current_user
2024-10-15 22:20:03 +02:00
a44edee07b
feat: user_list returns Vec<User>
...
returning a String was weird!
2024-10-15 22:19:38 +02:00
14e10e1f7b
chore: update glues
2024-10-15 21:46:22 +02:00
a9d17bf630
chore: added explicit target to names, consistency
2024-10-15 19:35:41 +02:00
cda0584b0e
docs(ffi): comparison examples ( #47 )
...
docs: added ffi comparison examples
2024-10-14 14:13:35 +02:00
b09e9452f2
fix: js, py and lua allow &'static str, use it
2024-10-13 18:43:59 +02:00
790ef3b0f8
Merge branch 'dev' into fix/static-version
2024-10-13 14:41:39 +02:00
6d5a703369
fix: make clippy happy
2024-10-12 22:15:07 +02:00
6dedb5f0b3
fix: make version return a static string
...
moved .to_string() into each glue code
2024-10-12 22:14:17 +02:00
1927504434
fix: warn when clipping, gen agent id once
2024-10-11 20:40:31 +02:00
fb9492a2fb
fix: typos in clear_callback
2024-10-10 22:20:03 +02:00
9e977adcdd
chore: cargo fmt
2024-10-10 12:52:25 +02:00
721d71dd18
fix: doctests
2024-10-10 12:52:25 +02:00
ce8dcc8b8c
chore: cleanup
2024-10-10 12:52:25 +02:00
ae66f282d4
feat(java): implemented acking and send/recv separation
2024-10-10 12:52:25 +02:00
6035c448fa
chore: update glue code
...
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-10-10 12:52:25 +02:00
560a634499
chore: split TextChange and Cursor
...
so that sending/receiving parts are different rather than Option<?>
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-10-10 12:52:25 +02:00
1f2c0708d6
test: fix doctest
2024-10-10 12:52:25 +02:00
d66b25deb4
chore(lua): style
2024-10-10 12:52:25 +02:00
45864e19f6
feat: added Delta object to ffis
2024-10-10 12:52:25 +02:00
a318e3bc28
fix: imports and types
2024-10-10 12:52:25 +02:00
039a54b8e2
chore: last fmt touches
2024-10-10 12:52:25 +02:00
b821cdc152
fix(lua): add Delta object
2024-10-10 12:52:25 +02:00
29fde1ad24
fix: BufferAck is clonable
2024-10-10 12:52:25 +02:00
75a0df5e7c
chore(lua): auto callback args macro
2024-10-10 12:52:25 +02:00
d5518a7b48
chore: updated send methods (+format)
2024-10-10 12:52:25 +02:00
907a0329d3
feat!: ackable changes for buffer cntrls, sync send
2024-10-10 12:52:25 +02:00
2fe217ad85
chore: autofmt
2024-10-03 04:06:54 +02:00
8225524cb3
chore: fixed imports
2024-10-03 04:05:58 +02:00
535de6c2fc
Merge branch 'dev' into feat/workspace-receiver
2024-10-03 03:52:42 +02:00
226a02f8f7
test: update doctests
2024-10-03 03:43:20 +02:00
b897b26bb9
feat: implemented Workspace receiver in glues
2024-10-03 03:11:30 +02:00
ca04601bea
chore: refactor worker
...
move stuff out of tokio select so that RA doesnt choke
2024-10-03 00:59:11 +02:00
c0bc92e812
feat: split tx/rx generic in controller
2024-10-03 00:26:40 +02:00
6afbb23590
fix: leave_workspace returns like detach
2024-10-01 19:03:47 +02:00
fe835c84ff
Merge branch 'dev' into feat/lua-promise-abort
2024-10-01 17:48:09 +02:00
36591a6cda
chore: rename from abort to cancel
...
:await() and :abort() may get mixed up,
:await() and :cancel() are more distinguishable
2024-10-01 16:07:30 +02:00
d21969cb81
feat: add promise abort for lua
2024-10-01 16:07:30 +02:00
400d87cdb1
chore: cargo fmt
2024-10-01 16:07:09 +02:00
3a9fdebbc0
feat: sort filetree before returning it
2024-09-30 20:30:55 +02:00
ddbad59ae2
feat: implemented AsyncReceiver for Workspace...
...
... its very bad tho, very very bad
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-09-28 03:56:57 +02:00
1b16d4af59
chore: split controller trait in 2 sides
...
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-09-28 03:33:32 +02:00
52269324cd
chore(js): docs
2024-09-27 23:34:48 +02:00
2b6d2037c7
chore(js): added glue user object
2024-09-27 23:34:07 +02:00
512c2b30ea
chore(js): added glue workspace functions
2024-09-27 23:33:06 +02:00
2daab9ed87
chore(js): added glue detach fn
2024-09-26 09:58:03 +02:00
a89b8a454c
chore(js): added glue buffer list fn
2024-09-26 09:54:56 +02:00
be055c8e05
chore(js): added glue clear callback fn for cursor controller
2024-09-26 09:38:05 +02:00
d733a0e4e2
chore: update glue code to remove .stop()
2024-09-26 02:29:46 +02:00
4d418c814e
fix: use Weak refs to prevent leaky cycles
2024-09-26 02:29:13 +02:00
4191fc2257
fix(js): remove unneded result wraps
2024-09-25 23:00:01 +02:00
297762c0b4
fix(js): wrong argument, also remove Result<>
2024-09-25 22:56:07 +02:00
95f800c762
fix: doctests fail with features enabled, dont run
2024-09-25 22:53:32 +02:00
a756b2805c
feat(java): workspace user list
2024-09-25 17:36:35 +02:00
7d3a7ebef5
fix: add version to lua, fix annotations
...
also snuck in a tiny change for rockspec file
2024-09-25 17:28:52 +02:00
3da0bfd40a
chore(js): added glue for version function
2024-09-25 17:28:52 +02:00
e0ea884b53
chore(java): added glue for version method
2024-09-25 17:28:52 +02:00
cschen
0ffcef360b
add python glue
2024-09-25 17:28:52 +02:00
cschen
37347311fb
changes the position of the function to the lib folder and simplify it.
2024-09-25 17:28:52 +02:00
cschen
80219f2cce
feat: add version function to the client.
2024-09-25 17:28:52 +02:00
eb3d31b8ff
fix: add Workspace::event to js api
2024-09-25 17:13:20 +02:00
d31b3d244a
fix: use async blocks rather than main + async fn
2024-09-25 16:54:54 +02:00
d506d8cc74
fix: add ghost main() function for nightly/beta rust doctests
2024-09-25 16:42:09 +02:00
f41f2c2f9c
fix: mark tests as no_run: they require net access
2024-09-25 05:46:48 +02:00
3f2f98a9f2
Merge pull request #18 from hexedtech/feat/jni-toolbox
...
feat: use jni-toolbox for glue
2024-09-25 00:56:37 +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
9d1b919b31
Revert "chore: draft of user_list for java but its broken"
...
This reverts commit ba1a53c3a9
.
2024-09-24 19:57:03 +02:00
0095511cc7
fix: &mut object references
...
it just works?? maybe it did all the time...
2024-09-24 03:35:42 +02:00
678f8bd9ea
chore: updated jni-toolbox usage
2024-09-23 18:12:13 +02:00
1d0d87d521
feat(java): converted remaining glue to toolbox
2024-09-23 00:26:11 +02:00
cschen
221a46dc16
Merge pull request #15 from hexedtech/docs/tests
2024-09-22 16:16:40 +02:00
7056dc341c
feat: add jni-toolbox, convert client
2024-09-22 02:22:51 +02:00
d7c4ef3891
Merge pull request #12 from hexedtech/fix-ci-python
...
New Ci for Windows and no-abi build option for python
2024-09-21 13:27:43 +02:00
ba1a53c3a9
chore: draft of user_list for java but its broken
2024-09-21 13:18:53 +02:00
db77fce3ab
chore: implemented user_list for lua, js, py
2024-09-21 13:18:38 +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
d60ac63b49
fix(py): fixed the configuration and rearranged a bit. tested. builds and works.
2024-09-20 16:47:22 +02:00
cschen
e67b1c6bd0
feat(py): better configuration constructor.
...
Now it accept only keywords arguments so it support just passing in a dict.
2024-09-20 16:47:12 +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
7c92b94a07
fix(java): fixed broken config and textchange conversions
2024-09-18 01:54:20 +02:00
c5ab72280a
fix(lua): dont throw error, return a string
...
while less "correct", dealing with the error in lua is really awful.
also its too late to deal with that error anyway, it was in another
thread
2024-09-18 00:30:46 +02:00
d215b4ab0b
chore(lua): renamed some top level methods
2024-09-17 23:33:37 +02:00
3047d21870
feat(lua): also pass errors in callbacks
2024-09-17 23:27:27 +02:00
27b56cbd03
docs(java): written javadocs, removed unused class
2024-09-17 23:17:09 +02:00
54db029ecc
chore(lua): split down the monofile
2024-09-17 23:00:30 +02:00
864348bef4
fix: dont use color codes in logger
2024-09-17 22:17:47 +02:00