Commit graph

547 commits

Author SHA1 Message Date
cschen
84bfc45fc8 test(WIP): added skeleton for testing of behaviour when deleting workspace with people attached.
Need to know what is the expected behaviour that we want.
2024-11-03 17:24:08 +01:00
cschen
35b9b12aaf test: deleting twice or non existing is an error 2024-11-03 17:23:00 +01:00
cschen
9d0c961ac2 test: delete empty workspace 2024-11-03 17:22:41 +01:00
cschen
781fd9ba42 test: leaving workspaces, attaching after leaving 2024-11-03 17:22:13 +01:00
cschen
fdd272646d test: attaching to a non existing workspace is an error 2024-11-03 17:21:06 +01:00
cschen
ccb5406ccf test: attaching to workspaces and making them active 2024-11-03 17:20:30 +01:00
cschen
9ff9a47d86 test: can't create workspace more than once 2024-11-03 17:20:09 +01:00
cschen
44e5e390eb chore: implement from ConnectionError and from RemoteError for AssertionError 2024-11-03 17:19:38 +01:00
cschen
dc627dc6af fmt: formatter shenanigans 2024-11-03 17:18:47 +01:00
cschen
7a535d4492 test: workspace creation and lookup 2024-11-03 17:18:24 +01:00
111020afd8
test: buffer fixture
Some checks are pending
test / test-beta (beta) (push) Blocked by required conditions
test / test-beta (nightly) (push) Blocked by required conditions
test / test-unit (push) Waiting to run
test / test-functional (push) Blocked by required conditions
test / test-build (java, macos-latest) (push) Blocked by required conditions
test / test-build (java, ubuntu-latest) (push) Blocked by required conditions
test / test-build (java, windows-latest) (push) Blocked by required conditions
test / test-build (js, macos-latest) (push) Blocked by required conditions
test / test-build (js, ubuntu-latest) (push) Blocked by required conditions
test / test-build (js, windows-latest) (push) Blocked by required conditions
test / test-build (luajit, macos-latest) (push) Blocked by required conditions
test / test-build (luajit, ubuntu-latest) (push) Blocked by required conditions
test / test-build (luajit, windows-latest) (push) Blocked by required conditions
test / test-build (py, macos-latest) (push) Blocked by required conditions
test / test-build (py, ubuntu-latest) (push) Blocked by required conditions
test / test-build (py, windows-latest) (push) Blocked by required conditions
2024-11-02 23:26:42 +01:00
cd4e09c1cd
test: show for which test workspace was
basically fixtures leak workspaces when errors occur, so to better debug
what is happening every test now names its workspace. this is tedious
and should probably be removed eventually but for now it helps a ton
2024-10-30 17:33:51 +01:00
e0b919bae8
fix: more time in tryRecv to compensate longer RTT 2024-10-30 14:22:51 +01:00
90568bba8d
test: ignored a test, fixed another
leftover assert!(false) for debugging, test_cant_delete_other_buffers
will not work since server doesn't track buffer ownership yet
2024-10-30 13:50:08 +01:00
26bbd190dd
test: split down test stuff a bit 2024-10-30 13:21:09 +01:00
5ee87739c7
test: added scoped fixtures and e2e tests
Co-authored-by: zaaarf <me@zaaarf.foo>
Co-authored-by: frelodev <frelodev@gmail.com>
2024-10-30 13:03:46 +01:00
e4d013087c
fix: don't overwrite oplog after creating agent id
Some checks failed
test / build (java, ubuntu-latest, beta) (push) Has been cancelled
test / build (java, ubuntu-latest, stable) (push) Has been cancelled
test / build (java, windows-latest, beta) (push) Has been cancelled
test / build (java, windows-latest, stable) (push) Has been cancelled
test / build (js, macos-latest, beta) (push) Has been cancelled
test / build (js, macos-latest, stable) (push) Has been cancelled
test / build (js, ubuntu-latest, beta) (push) Has been cancelled
test / build (js, ubuntu-latest, stable) (push) Has been cancelled
test / build (js, windows-latest, beta) (push) Has been cancelled
test / build (js, windows-latest, stable) (push) Has been cancelled
test / build (lua54, macos-latest, beta) (push) Has been cancelled
test / build (lua54, macos-latest, stable) (push) Has been cancelled
test / build (lua54, ubuntu-latest, beta) (push) Has been cancelled
test / build (lua54, ubuntu-latest, stable) (push) Has been cancelled
test / build (lua54, windows-latest, beta) (push) Has been cancelled
test / build (lua54, windows-latest, stable) (push) Has been cancelled
test / build (luajit, macos-latest, beta) (push) Has been cancelled
test / build (luajit, macos-latest, stable) (push) Has been cancelled
test / build (luajit, ubuntu-latest, beta) (push) Has been cancelled
test / build (luajit, ubuntu-latest, stable) (push) Has been cancelled
test / build (luajit, windows-latest, beta) (push) Has been cancelled
test / build (luajit, windows-latest, stable) (push) Has been cancelled
test / build (py, macos-latest, beta) (push) Has been cancelled
test / build (py, macos-latest, stable) (push) Has been cancelled
test / build (py, ubuntu-latest, beta) (push) Has been cancelled
test / build (py, ubuntu-latest, stable) (push) Has been cancelled
test / build (py, windows-latest, beta) (push) Has been cancelled
test / build (py, windows-latest, stable) (push) Has been cancelled
test / test (beta) (push) Has been cancelled
test / test (stable) (push) Has been cancelled
Co-authored-by: alemi <me@alemi.dev>
2024-10-29 15:15:25 +01:00
79204972f3 fix: properly update branch version 2024-10-27 20:04:52 +01:00
1039168789
chore: lua annotations, cargo fmt 2024-10-27 19:42:14 +01:00
cschen
fb8076dbf5 fix: ack is not async. misnamed textchange fields. 2024-10-26 19:13:37 +02:00
cschen
3956d4a27d fix: missing ack method in python glue. Fixed python constructors for TextChange
and Selection. fixed code hints.
2024-10-26 19:05:42 +02:00
9ab5033935 chore(js): added ack function to glue 2024-10-20 17:51:14 +02:00
66938cbaf0
docs: python example and type hints 2024-10-17 00:03:32 +02:00
4df58c8d67
docs: updated Config usage examples 2024-10-16 22:14:55 +02:00
9269dc6460
feat: Default for Config 2024-10-16 22:14:34 +02:00
cschen
22cec4ab56 reverted the change to accept only keywords arguments and have user and password as mandatory. 2024-10-16 16:46:41 +02:00
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