124 Commits

Author SHA1 Message Date
0cafac0948
Let modules decide their own name via #[cdef] macro 2025-06-26 17:47:21 +10:00
1c1753234d
Rename MetatypeMethodBuilder to MetatypeFunctionBuilder 2025-06-26 17:12:00 +10:00
31b5ff5ab9
Make all modules feature-gated to improve compile time 2025-06-26 16:54:58 +10:00
dfd57e0ad0
Add macro to luaify blocks instead of exprs 2025-06-26 13:57:10 +10:00
2a6015c19a
Use pretty assertions in luaify tests 2025-06-26 13:48:54 +10:00
88ab48cddb
Modules should be registered in luby not lb 2025-06-26 13:46:39 +10:00
bcb734846d
Implement lb_tcpsocket 2025-06-26 13:07:24 +10:00
2fe9515702
Add newlines in generated cdef for readability 2025-06-26 13:06:39 +10:00
f456a544e1
Disable all lualsp diagnostics in lib.lua 2025-06-26 13:05:50 +10:00
ba969b9e56
Rename lb_libx to lb_xlib 2025-06-26 00:40:26 +10:00
da5acd6bc8
Add stab tag for metamethods 2025-06-26 00:39:22 +10:00
cbb47840e4
Alias stub types to rust types where possible 2025-06-25 23:16:42 +10:00
014687068f
Add file write operations 2025-06-25 22:26:43 +10:00
85a0110e1a
Disable warnings in luaffi lib.lua 2025-06-25 22:19:17 +10:00
c249549b3c
Fix unknown feature warning 2025-06-25 21:25:02 +10:00
30596d9331
Impl generic From/IntoFfi for Option 2025-06-25 21:24:24 +10:00
530a1530ba
Call it library not module 2025-06-25 20:13:09 +10:00
a81271c0a8
No need to specify versions for local dependencies 2025-06-25 20:09:01 +10:00
7ec60f0e6e
Add version command 2025-06-25 20:04:33 +10:00
82726ebb5d
Set author and homepage for all packages 2025-06-25 19:57:58 +10:00
86bfc7ad34
Add read and read_sync methods 2025-06-25 18:42:40 +10:00
6cdf186b61
Add exports header to module docs 2025-06-25 18:42:29 +10:00
98100d02fa
Implement string parameter specialisation 2025-06-25 18:42:09 +10:00
681dd332ab
Avoid unnecessarily coping result inner value if it doesn't require ownership 2025-06-25 16:39:47 +10:00
af3dbe60cb
Add Lua and FFI tags to documentation 2025-06-25 15:46:17 +10:00
a07f62ecc5
Add tracing to lb 2025-06-25 15:02:53 +10:00
e71d618d10
Add luajit v,p,dump command support 2025-06-25 14:27:43 +10:00
3ac7df004d
Allow Runtime to deref to inner State 2025-06-25 14:27:05 +10:00
7e8a655186
Allow opening jitlib in luajit-sys 2025-06-25 14:26:54 +10:00
a295107bac
Create channel and task libs 2025-06-25 10:43:00 +10:00
e0898c22a0
Add basic fs lib 2025-06-25 10:40:36 +10:00
69ac13ea47
Rename some ipaddr methods 2025-06-25 01:36:52 +10:00
2352cb0225
Implement async support in metatype 2025-06-25 01:36:43 +10:00
9ba9762185
Add derive_more 2025-06-24 22:49:47 +10:00
ee64b22510
Convert lua return types to stubs as well 2025-06-24 22:49:18 +10:00
8c47987a45
Implement basic net module 2025-06-24 22:49:02 +10:00
122ef04b16
Allow documenting of extern "Lua" functions 2025-06-24 22:23:26 +10:00
1aa9b4aa02
Implement IntoFfi for Result 2025-06-24 22:22:58 +10:00
9d5bcc5ef2
Rename Panic to Panics 2025-06-24 21:51:40 +10:00
3dd375b071
Refactor luaffi proc-macro 2025-06-24 19:30:39 +10:00
f8e7b8ae62
Implement IntoFfi for Strings 2025-06-24 13:03:40 +10:00
45db380466
Rename ToFfi to IntoFfi 2025-06-24 11:42:11 +10:00
cadf0a8551
Update luaffi 2025-06-24 10:37:28 +10:00
7548c68c7c
Add more documentation on why to use out-param 2025-06-24 10:36:42 +10:00
91e1f33b6c
Use double underscores for consistency 2025-06-24 10:36:26 +10:00
a9a067f5a9
Allow returning tuple in expression form 2025-06-24 10:36:11 +10:00
2352ba66d4
Make an UnsafeExternCFn struct to overcome fn pointer hrtb 2025-06-23 17:40:18 +10:00
c39106b790
Implement Push for Ref 2025-06-23 11:43:47 +10:00
173149f2f7
Add stack pack and unpack methods 2025-06-23 11:40:20 +10:00
e801ee468b
Implement Display for Chunk 2025-06-23 09:33:03 +10:00