de67a26e09
chore: bump version
2024-11-17 15:03:56 +01:00
04f8e758a3
chore: bump for release
...
also update releasing guide
2024-11-17 13:56:43 +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
4fcab00d34
chore: cargo features ( #66 )
...
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
60b4c3dee9
fix(tests): test-e2e should not be on by default
2024-10-30 13:28:21 +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
cschen
4b080ddc7f
release: v0.8.2
2024-10-26 19:46:16 +02:00
frelodev
6a8fb38930
release: v0.8.1 ( #57 )
...
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, nightly) (push) Has been cancelled
test / build (py, ubuntu-latest, stable) (push) Has been cancelled
java / build (map[filename:libcodemp.so runner:ubuntu-latest target:linux-x64-gnu]) (push) Has been cancelled
java / publish (push) Has been cancelled
javascript / build (map[runner:macos-14 target:darwin-arm64]) (push) Has been cancelled
javascript / build (map[runner:ubuntu-latest target:linux-x64-gnu]) (push) Has been cancelled
javascript / build (map[runner:windows-latest target:win32-x64]) (push) Has been cancelled
javascript / publish (push) Has been cancelled
lua / build (map[arch:aarch64 ext:dylib pre:lib runner:macos-latest target:darwin]) (push) Has been cancelled
lua / build (map[arch:x86_64 ext:dll pre:<nil> runner:windows-latest target:windows-msvc]) (push) Has been cancelled
lua / build (map[arch:x86_64 ext:so pre:lib runner:ubuntu-latest target:linux-gnu]) (push) Has been cancelled
lua / publish (push) Has been cancelled
test / build (py, windows-latest, beta) (push) Has been cancelled
test / build (py, windows-latest, nightly) (push) Has been cancelled
test / build (py, windows-latest, stable) (push) Has been cancelled
test / test (beta) (push) Has been cancelled
test / test (nightly) (push) Has been cancelled
test / test (stable) (push) Has been cancelled
java / build (map[filename:codemp.dll runner:windows-latest target:win32-x64]) (push) Has been cancelled
python / release (push) Has been cancelled
java / build (map[filename:libcodemp.dylib runner:macos-14 target:darwin-arm64]) (push) Has been cancelled
lua / upload (push) Has been cancelled
python / linux (map[runner:ubuntu-latest target:x86_64]) (push) Has been cancelled
python / windows (map[runner:windows-latest target:x64], map[features:py python:3.x]) (push) Has been cancelled
python / windows (map[runner:windows-latest target:x64], map[features:py-noabi python:3.8]) (push) Has been cancelled
python / macos (map[runner:macos-14 target:aarch64]) (push) Has been cancelled
python / sdist (push) Has been cancelled
rust / publish (push) Has been cancelled
release: v0.8.1
2024-10-20 18:33:36 +02:00
c3a0f7c391
chore: version bump
2024-10-17 00:13:15 +02:00
e5ffc7cac2
fix: use default panic because glues may unwind it
2024-10-17 00:03:11 +02:00
3326217058
feat(python): better struct access
...
Co-authored-by: alemi <me@alemi.dev>
2024-10-16 02:49:54 +02:00
8f94b29925
feat: optimize release build for smaller size
2024-10-12 22:30:05 +02:00
51cff040ed
chore: unpin jni toolbox
2024-10-10 12:52:25 +02:00
d544d0a035
chore: bump versions for release
2024-10-01 19:49:11 +02:00
03039a97a1
chore: bump for 0.7.2
2024-09-26 02:43:18 +02:00
79f063123e
chore: bump version
2024-09-25 22:56:37 +02:00
5004620da1
ci: run on PRs since its needed to merge
2024-09-25 06:10:18 +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
a5f1f1f752
chore: use released version
2024-09-24 23:48:44 +02:00
678f8bd9ea
chore: updated jni-toolbox usage
2024-09-23 18:12:13 +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
69171e73b3
docs: re-enable and fix doc tests
2024-09-21 11:52:46 +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
f5f0a7edf1
chore: bump dependencies
...
we were still on tokio 1.0???? waow
2024-09-17 21:54:26 +02:00
cd1fc21df7
feat(lua): alternative getters, annotations
...
also cleaned up features a bit and updated annotations
oh and run CI too once
2024-09-16 18:24:24 +02:00
ac94fb86fd
chore: rename feature to py for consistency
2024-09-13 22:21:53 +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
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
94e52a86f4
docs: fix features for docs.rs
2024-09-11 17:51:09 +02:00
02f8f0c0a9
fix: broken manifest, cant have dep and /
2024-09-11 15:50:33 +02:00
e91a504588
feat: add serialize feature for api structs
2024-09-11 15:45:35 +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
675a8091e2
ci(rust): test rust ci
2024-09-10 03:39:36 +02:00
b968945a37
chore: codemp.dev -> code.mp
2024-09-07 22:10:47 +02:00
cschen
c1c9902b45
feat(python): switched to abi3 mode to allow multiple python versions with single wheel.
...
abi3 does not support `PyFunction` so added workaround checking for `is_callable()`
2024-09-06 00:24:37 +02:00
e946ee195b
fix: async-trait disabled by default
...
provides better docs and it should be rare to need Box<dyn Controller>
anyway, also Sync + Send is explicitly added so should be fine
2024-09-06 00:13:17 +02:00
04e021f964
feat: don't use async-trait for api::Controller
...
make it still available via feature `async-trait` if it is necessary to
use auto traits downstream, however documentation should now be more
readable
2024-09-05 23:27:57 +02:00
a5a3bc91fe
chore: add repository url to cargo toml
2024-09-05 06:22:49 +02:00
b8376a5ef8
fix: moved import, exclude dist from packaging
2024-09-05 03:28:46 +02:00
9a29347d87
chore: version with dot
2024-09-05 03:18:23 +02:00
1fac27ebd5
fix(lua): use last published beta rather than git
2024-09-05 03:18:06 +02:00
e8d2c7352b
fix: use codemp proto from crates.io
2024-09-05 03:10:32 +02:00
0e398dcd92
chore: cargo lock and metadata
2024-09-05 03:09:45 +02:00
4ff0c5286c
ci: build with all features on docs.rs
2024-09-05 03:05:22 +02:00
8296b473bb
feat(lua): introduce callbacks channel
...
this means that lua must poll but at least they run on main thread and
dont segfault the main process
2024-09-01 03:13:03 +02:00
7fc25cd332
chore: bump crate version, lock proto version
2024-08-28 15:30:25 +02:00
c3b22a63f1
fix: proto bump
2024-08-27 21:24:05 +02:00