Commit graph

806 commits

Author SHA1 Message Date
314b163b05
fix: more verbose error strings 2024-09-11 17:50:05 +02:00
981e7218b5
fix(lua): actually still need userdata
what's up with weird userdata NULL ?? lets actually get serialized but
return userdata so we get best of all worlds. in the future we could
make overloads with multiple args which bypass serialization
2024-09-11 17:49:09 +02:00
6559fcd5f3
feat(java): use config struct for connect 2024-09-11 15:51:07 +02:00
02f8f0c0a9
fix: broken manifest, cant have dep and / 2024-09-11 15:50:33 +02:00
625fd3b249
chore(lua): update annotations 2024-09-11 15:50:19 +02:00
123f11854c
fix(lua): normalize workspace method names
no _buffer
2024-09-11 15:50:05 +02:00
5e95ddde2a
feat(lua): add config, serialize/deserialize args
before we held all structs on the rust side, which probably means faster
passing and smaller objects but also very inconvenient because must be
constructed on the rust side. all api structs are now serialized back
and forth, which should become fast enough if jitted, allows for simpler
and smaller code and all around probably is a negligible overhead since
we were creating lua function tables and functions every time anyway.
could actually be faster to just serialize simple primitives rather than
creating a function to get it? idk lua api changed too btw
2024-09-11 15:46:05 +02:00
e91a504588
feat: add serialize feature for api structs 2024-09-11 15:45:35 +02:00
d57fb2c4b6
feat: added codemp config, changed connect methods 2024-09-11 15:12:31 +02:00
ba566439d3
docs: add favicon 2024-09-11 15:04:34 +02:00
cschen
d40f37e8d4 ci(python): bump and ci back to stable only 2024-09-11 01:17:03 +02:00
cschen
da45afb3cb test(python): ci with new __init__.py 2024-09-11 01:13:20 +02:00
cschen
7aa9fbb518 feat(python): build wheels with manual specified __init__.py
fix(python): remove build script, not needed anymore
2024-09-10 19:09:54 +02:00
9b586ed938
ci: dont run on ci branch anymore 2024-09-10 16:39:26 +02:00
9b7bcb1830
ci(lua): fix windows filename 2024-09-10 16:15:31 +02:00
b115b2cd92
ci(lua): also copy annotations 2024-09-10 16:14:35 +02:00
3c6441678d
ci(lua): ops re-inverted matrix stuff 2024-09-10 16:09:56 +02:00
0703bed3f1
ci(lua): use easier to work with names 2024-09-10 16:02:54 +02:00
84868c336c
ci(lua): fix macos upload artifact path 2024-09-10 15:42:20 +02:00
8970cb3d92
ci: fix syntax, needs a with
i always do this wrong..
2024-09-10 14:51:58 +02:00
c0799df2b4
ci: pass GITHUB_TOKEN to setup_protoc
hopefully will resolve a lot of these rate limit errors
2024-09-10 14:49:48 +02:00
317990e7e4
ci(lua): test phase uses luajit too 2024-09-10 14:42:31 +02:00
c2df2341c4
ci(lua): build with luajit 2024-09-10 14:38:52 +02:00
de9c424e2f
fix(lua): fetch from remote 2024-09-10 14:01:09 +02:00
95c9897b10
build(lua): add rockspec 2024-09-10 13:57:50 +02:00
65721f3e6a
feat(lua): allow loading with many more names
codemp, libcodemp, codemp_native, codemp_lua all work now
2024-09-10 12:29:11 +02:00
0bca8ced41
ci(lua): add macos compile flags to command line 2024-09-10 12:14:27 +02:00
e05e273ee2
fix(lua): use patched crate by us, add features
basically upstream lua pushed a change making `send` and `module`
features incompatible, which is not ok for us as we need the LuaFunction
to be sync to send it on the channel. Also added features for all lua
versions, it's a bit messy on the Cargo.toml but now we support really
all lua versions and can probably publish on luarocks
2024-09-10 12:12:59 +02:00
a7dc209ae3
ci(lua): run on macos-latest 2024-09-10 03:45:38 +02:00
675a8091e2
ci(rust): test rust ci 2024-09-10 03:39:36 +02:00
73f6ed7c8e
ci(lua): re-enable macos runner 2024-09-10 03:39:01 +02:00
a17c0e0ba5
ci(lua): ugly directories fix, docs on todos 2024-09-10 03:25:23 +02:00
49aec9e70b
ci(lua): ignore known_hosts check 2024-09-10 03:09:52 +02:00
52974db96c
docs: removed unneeded badges 2024-09-10 03:09:42 +02:00
1c90cc36bf
ci(lua): rename before uploading 2024-09-10 02:39:55 +02:00
53bfaf1d9a
ci(lua): disable macos because it wont work
keeps answering rate limited on protobuf step, will try again in a sec
2024-09-10 02:39:26 +02:00
e9e5f6fa65
docs: use ci badges for supported languages 2024-09-10 02:30:18 +02:00
98935ccbbc
ci(lua): is it in vars? 2024-09-10 02:18:24 +02:00
89c221ba40
ci(lua): split mac build to add rustflags
kind of ugly because most of the build step is repeated but i don't
really have a way to make conditional steps and can't add those config
flags to the bare project because they make tests fail
2024-09-10 02:16:21 +02:00
0561f74062
ci(rust): pass token to cargo publish 2024-09-10 02:07:15 +02:00
404fa0f241
ci(lua): push artifacts on our server
maybe consider luarocks in the future?
2024-09-10 02:06:57 +02:00
3973aace83
ci: only run stable workflows on stable branch
for now
2024-09-10 02:06:23 +02:00
ebdcc98113
chore: bump versions to make new releases 2024-09-10 00:37:14 +02:00
4c313bf862
ci(py): re-enable macos 2024-09-10 00:37:14 +02:00
c69dc2f68a
fix(js): specify which platforms to build for 2024-09-10 00:37:14 +02:00
241c3d6eb9
ci(js): re-enable mac runner 2024-09-10 00:37:14 +02:00
27859e69cb
fix(js): specify targets to build for 2024-09-10 00:37:13 +02:00
bab5136636
chore(js): add metadata to package.json 2024-09-10 00:37:13 +02:00
402e73ab68
ci: re-disable macos
always ratelimited, makes all builds fail and debugging impossible ughhh
2024-09-10 00:37:13 +02:00
e28214a528
ci(py): paths 2024-09-10 00:37:13 +02:00