Commit graph

950 commits

Author SHA1 Message Date
cschen
1b97ef0b90 adds getters for complex nested elements. 2024-11-19 19:42:17 +01:00
0e68e89ce8
Merge pull request #72 from hexedtech/fix/lua-userdata-null
Some checks failed
test / test-unit (push) Has been cancelled
test / test-beta (nightly) (push) Has been cancelled
test / test-build (lua, ubuntu-latest) (push) Has been cancelled
test / test-beta (beta) (push) Has been cancelled
test / test-functional (push) Has been cancelled
test / test-build (java, macos-latest) (push) Has been cancelled
test / test-build (java, ubuntu-latest) (push) Has been cancelled
test / test-build (java, windows-latest) (push) Has been cancelled
test / test-build (js, macos-latest) (push) Has been cancelled
test / test-build (js, ubuntu-latest) (push) Has been cancelled
test / test-build (js, windows-latest) (push) Has been cancelled
test / test-build (lua, macos-latest) (push) Has been cancelled
test / test-build (lua, windows-latest) (push) Has been cancelled
test / test-build (py, macos-latest) (push) Has been cancelled
test / test-build (py, ubuntu-latest) (push) Has been cancelled
test / test-build (py, windows-latest) (push) Has been cancelled
fix(lua): dont serialize hash when None
2024-11-18 16:15:55 +01:00
0c8c4a61ea
fix(lua): dont serialize hash when None
because it becomes an `userdata: NULL` and not `nil`, what??
2024-11-17 18:58:22 +01:00
ec6e131122
Merge pull request #71 from hexedtech/release/v0.8.4
Some checks are pending
test / test-build (lua, ubuntu-latest) (push) Blocked by required conditions
test / test-unit (push) Waiting to run
test / test-beta (beta) (push) Blocked by required conditions
test / test-beta (nightly) (push) Blocked by required conditions
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 (lua, macos-latest) (push) Blocked by required conditions
test / test-build (lua, 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
chore: bump version
2024-11-17 15:10:59 +01:00
de67a26e09
chore: bump version 2024-11-17 15:03:56 +01:00
bc8314d5b7
Merge pull request #70 from hexedtech/fix/ci-lua-py
fix: lua and python release CIs
2024-11-17 14:47:41 +01:00
3e25efdf6d
ci: better regex for tags 2024-11-17 14:40:39 +01:00
5b6b522bd1
ci: release on tag not with branch stable 2024-11-17 14:33:57 +01:00
5f1d5e4a35
ci(py): fix features 2024-11-17 14:33:47 +01:00
d04cfa3539
ci(lua): fix feature 2024-11-17 14:33:32 +01:00
cc42aabbbe
Merge pull request #68 from hexedtech/release/v0.8.3
release v0.8.3
2024-11-17 14:03:43 +01:00
04f8e758a3
chore: bump for release
also update releasing guide
2024-11-17 13:56:43 +01:00
b48a410816
Merge pull request #67 from hexedtech/feat/lua-bump
feat: bump mlua version
2024-11-17 13:51:45 +01:00
456a78d7c9
feat(lua): back to using official mlua
since we can't have `send` and `module` we store `LuaFunctions` inside
the registry and pass around keys to them. ehh, basically what i was
doing with the callback channel but now twice i guess, idk i hope this
can get better eventually ™️
2024-11-16 16:43:46 +01:00
03a158e678
feat: cursor+buffer controllers know their ws id 2024-11-16 16:42:58 +01:00
4fcab00d34
chore: cargo features (#66)
Some checks are pending
test / test-unit (push) Waiting to run
test / test-beta (beta) (push) Blocked by required conditions
test / test-beta (nightly) (push) Blocked by required conditions
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 (lua, macos-latest) (push) Blocked by required conditions
test / test-build (lua, ubuntu-latest) (push) Blocked by required conditions
test / test-build (lua, 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
* chore: changed features layout

now using `dep:` and `crate?/feat` syntaxes (introduced in rust 1.60).
this may mess with lua rockspec
2024-11-16 16:28:46 +01:00
02a31d7000
Merge pull request #65 from hexedtech/docs/fix-workspace-typo
Some checks failed
test / test-unit (push) Has been cancelled
test / test-beta (beta) (push) Has been cancelled
test / test-build (java, ubuntu-latest) (push) Has been cancelled
test / test-build (java, windows-latest) (push) Has been cancelled
test / test-beta (nightly) (push) Has been cancelled
test / test-functional (push) Has been cancelled
test / test-build (java, macos-latest) (push) Has been cancelled
test / test-build (js, macos-latest) (push) Has been cancelled
test / test-build (js, ubuntu-latest) (push) Has been cancelled
test / test-build (js, windows-latest) (push) Has been cancelled
test / test-build (luajit, macos-latest) (push) Has been cancelled
test / test-build (luajit, ubuntu-latest) (push) Has been cancelled
test / test-build (luajit, windows-latest) (push) Has been cancelled
test / test-build (py, macos-latest) (push) Has been cancelled
test / test-build (py, ubuntu-latest) (push) Has been cancelled
test / test-build (py, windows-latest) (push) Has been cancelled
docs: missing ` on code
2024-11-15 11:44:27 +01:00
6f2dda463e
docs: missing ` on code 2024-11-15 11:43:40 +01:00
0bef6fc00f
docs: added release checklist document
Some checks failed
test / test-unit (push) Has been cancelled
test / test-beta (beta) (push) Has been cancelled
test / test-beta (nightly) (push) Has been cancelled
test / test-functional (push) Has been cancelled
test / test-build (java, macos-latest) (push) Has been cancelled
test / test-build (java, ubuntu-latest) (push) Has been cancelled
test / test-build (java, windows-latest) (push) Has been cancelled
test / test-build (js, macos-latest) (push) Has been cancelled
test / test-build (js, ubuntu-latest) (push) Has been cancelled
test / test-build (js, windows-latest) (push) Has been cancelled
test / test-build (luajit, macos-latest) (push) Has been cancelled
test / test-build (luajit, ubuntu-latest) (push) Has been cancelled
test / test-build (luajit, windows-latest) (push) Has been cancelled
test / test-build (py, macos-latest) (push) Has been cancelled
test / test-build (py, ubuntu-latest) (push) Has been cancelled
test / test-build (py, windows-latest) (push) Has been cancelled
2024-11-13 15:09:33 +01:00
1a2542a020
Merge pull request #64 from hexedtech/test/e2e
Some checks failed
test / test-unit (push) Has been cancelled
test / test-beta (beta) (push) Has been cancelled
test / test-beta (nightly) (push) Has been cancelled
test / test-functional (push) Has been cancelled
test / test-build (java, macos-latest) (push) Has been cancelled
test / test-build (java, ubuntu-latest) (push) Has been cancelled
test / test-build (java, windows-latest) (push) Has been cancelled
test / test-build (js, macos-latest) (push) Has been cancelled
test / test-build (js, ubuntu-latest) (push) Has been cancelled
test / test-build (js, windows-latest) (push) Has been cancelled
test / test-build (luajit, macos-latest) (push) Has been cancelled
test / test-build (luajit, ubuntu-latest) (push) Has been cancelled
test / test-build (luajit, windows-latest) (push) Has been cancelled
test / test-build (py, macos-latest) (push) Has been cancelled
test / test-build (py, ubuntu-latest) (push) Has been cancelled
test / test-build (py, windows-latest) (push) Has been cancelled
test/e2e
2024-11-05 19:26:44 +01:00
e25b82aefb
chore: cargo fmt 2024-11-05 19:17:22 +01:00
fb6e1cdeea
feat: use single tuple in buffer fixture too 2024-11-05 19:17:01 +01:00
97ee48629d
test: wait 1s so it can catch up in case its slow
Some checks failed
test / test-unit (push) Has been cancelled
test / test-beta (beta) (push) Has been cancelled
test / test-beta (nightly) (push) Has been cancelled
test / test-functional (push) Has been cancelled
test / test-build (java, macos-latest) (push) Has been cancelled
test / test-build (java, ubuntu-latest) (push) Has been cancelled
test / test-build (java, windows-latest) (push) Has been cancelled
test / test-build (js, macos-latest) (push) Has been cancelled
test / test-build (js, ubuntu-latest) (push) Has been cancelled
test / test-build (js, windows-latest) (push) Has been cancelled
test / test-build (luajit, macos-latest) (push) Has been cancelled
test / test-build (luajit, ubuntu-latest) (push) Has been cancelled
test / test-build (luajit, windows-latest) (push) Has been cancelled
test / test-build (py, macos-latest) (push) Has been cancelled
test / test-build (py, ubuntu-latest) (push) Has been cancelled
test / test-build (py, windows-latest) (push) Has been cancelled
2024-11-05 01:48:45 +01:00
bf9ea18d67
test: dont use ws fixture coz leave wont work 2024-11-05 01:42:21 +01:00
ed0e05ffe2
test: drop workspace so that it disconnects 2024-11-05 01:30:49 +01:00
b549f82ce5
test: even more time to disconnect? 2024-11-05 01:29:19 +01:00
b58a11f06a
ci: just run on push 2024-11-05 01:27:07 +01:00
2e05c3d757
test: split down invite_to_workspace_and_lookup 2024-11-05 01:24:46 +01:00
f350bc0ea8
test: dont use is_ok(), propagate err 2024-11-05 01:09:39 +01:00
59f9096fb6
test: split lookup and create/delete tests 2024-11-05 01:04:45 +01:00
2155f0d36c
test: improved tests cleanup and logic
Co-authored-by: cschen <cschen@codemp.dev>
2024-11-05 00:19:42 +01:00
3f0b04af6e
feat(test): added fixture macro 2024-11-05 00:19:29 +01:00
300f6620c0
fix: cleanup for buffer fixture
idk who made this?? it was already fixed in dev env, uncommitted

Co-authored-by: cschen <cschen@codemp.dev>
Co-authored-by: zaaarf <me@zaaarf.foo>
2024-11-05 00:18:06 +01:00
c42b091b63
test: better assert_or_err messages
Co-authored-by: cschen <cschen@codemp.dev>
2024-11-05 00:16:27 +01:00
ee2ced51ca
chore: removed need of adding type hints
Co-authored-by: cschen <cschen@codemp.dev>
2024-11-05 00:15:17 +01:00
888f7fd80c
docs: better wording in detach_buffer docs
Some checks failed
test / test-unit (push) Has been cancelled
test / test-beta (beta) (push) Has been cancelled
test / test-beta (nightly) (push) Has been cancelled
test / test-functional (push) Has been cancelled
test / test-build (java, macos-latest) (push) Has been cancelled
test / test-build (java, ubuntu-latest) (push) Has been cancelled
test / test-build (java, windows-latest) (push) Has been cancelled
test / test-build (js, macos-latest) (push) Has been cancelled
test / test-build (js, ubuntu-latest) (push) Has been cancelled
test / test-build (js, windows-latest) (push) Has been cancelled
test / test-build (luajit, macos-latest) (push) Has been cancelled
test / test-build (luajit, ubuntu-latest) (push) Has been cancelled
test / test-build (luajit, windows-latest) (push) Has been cancelled
test / test-build (py, macos-latest) (push) Has been cancelled
test / test-build (py, ubuntu-latest) (push) Has been cancelled
test / test-build (py, windows-latest) (push) Has been cancelled
2024-11-03 20:11:36 +01:00
c1c9dea033
tests: actually delete the buffer in the buffer fixture 2024-11-03 20:11:21 +01:00
c08e209e06
tests: cleanup redundant code 2024-11-03 19:58:09 +01:00
518143d5b9
docs(java): specify the new behaviour of leaveWorkspace 2024-11-03 19:36:36 +01:00
cschen
c0bff45989 fix(test): add more clear explainations of what went wrong. 2024-11-03 17:53:27 +01:00
cschen
3773ebfd7d test: moved around previously existing tests. and other formatter shenanigans 2024-11-03 17:26:14 +01:00
cschen
7f17d1fd6e test: inviting users to one's workspace 2024-11-03 17:24:47 +01:00
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