103 Commits

Author SHA1 Message Date
0839e7ce9a
Add task spawn tests 2025-06-27 04:06:35 +10:00
cdfb2522ac
Add tempdir support 2025-06-27 03:53:08 +10:00
0c4639c3e9
Add basic tcp socket test 2025-06-27 03:29:29 +10:00
4f548bf9e9
More descriptive parameters 2025-06-27 03:18:25 +10:00
40829cdfc6
Implement basic lua test harness 2025-06-27 03:11:49 +10:00
db4faea821
Implement walk_dir and more robust globbing 2025-06-27 01:36:08 +10:00
2964ebbe1b
Add basic glob function 2025-06-26 23:56:09 +10:00
b1572cc9f1
Rename lsdir to read_dir and dirent to dir_entry 2025-06-26 23:24:48 +10:00
862fcfe891
Add links to lua pdf in metamethod doc 2025-06-26 23:08:28 +10:00
6a194e98e8
Document structs in fslib 2025-06-26 23:08:13 +10:00
d2e06c9a70
Add stab tag for async functions 2025-06-26 22:58:30 +10:00
679ffed807
Implement lsdir and file info functions 2025-06-26 22:46:27 +10:00
549f96d4dc
Warn missing documentation 2025-06-26 21:32:38 +10:00
09d7e51345
Add tokio/rt feature only if task feature is enabled 2025-06-26 21:10:07 +10:00
8a74ade6a6
Implement task handle awaiting 2025-06-26 20:18:16 +10:00
9338be7eb0
Add many lua annotation 2025-06-26 19:25:03 +10:00
240e0111bf
Fix lua finaliser parameter check 2025-06-26 19:24:19 +10:00
01f459ffaf
Implement task sleep function 2025-06-26 18:47:43 +10:00
9b7dbcc141
Implement proper error handlign in spawned tasks 2025-06-26 18:47:31 +10:00
24c5e9edc2
Include lb_tasklib::spawn in globals 2025-06-26 17:52:31 +10:00
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
2078dd0d8e
Delete test.lua 2025-06-26 13:57:45 +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
2967513cbb
Allowing dumping generated cdef 2025-06-25 22:48:46 +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
91302db725
Print nicer error messages 2025-06-25 21:45:29 +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 v0.0.1 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