Commit graph

864 commits

Author SHA1 Message Date
92d181246e
feat: strict filetree() 2024-09-13 20:02:42 +02:00
c0b8906043
chore: move ffi infos in root mod
because i actually dont want docs.rs to build with ffi flags anymore:
docs get "littered" with napi auto methods and pyo3 stuff, which is
annoying and needless noise when reading the doc. I would much rather
only have relevant stuff, to not make doc consumers hop around guessing
what is relevant and what not
2024-09-13 12:04:27 +02:00
0e0cae3897 docs: newer docs 2024-09-12 17:07:29 +02:00
d633884dbb
ci: re-disable cis 2024-09-11 18:13:21 +02:00
0e6f7caec3
chore: bump beta version, publish
one-off to remake docs and have a reference. fast track for config
2024-09-11 18:11:20 +02:00
2f68006d07
fix: glue for js and py 2024-09-11 18:07:55 +02:00
94e52a86f4
docs: fix features for docs.rs 2024-09-11 17:51:09 +02:00
422566a145
fix: proto code was mixing different ideas 2024-09-11 17:50:40 +02:00
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