Commit Graph

128 Commits

Author SHA1 Message Date
a2cbb24a75 Turns out &mut T: FromFfi was unsound from the beginning after all 2025-06-28 15:06:32 +10:00
36300b07d3 Fix __eq metamethods throwing on type mismatch 2025-06-28 11:10:29 +10:00
db9d611ff7 Use raw equality for nil comparisons 2025-06-28 09:51:50 +10:00
a90c36a260 Add more doc to net 2025-06-28 09:36:19 +10:00
c760d12c39 Rewrite stab generation to be more extensible 2025-06-28 07:58:52 +10:00
ef811ecfa9 Use faster fxhashset in registry 2025-06-28 06:06:39 +10:00
d9ef6c7806 All internal library functions should be prefixed 2025-06-28 06:03:12 +10:00
27c40c3244 All library functions no longer require self 2025-06-28 05:58:29 +10:00
ccae0046fb Improve cdef loading time by trimming unnecessary ctype caching 2025-06-28 05:29:19 +10:00
e027623d40 Future destructor doesn't need to return nothing from drop 2025-06-28 05:22:59 +10:00
8a49321110 Don't need to fully name option and result structs 2025-06-28 04:32:53 +10:00
c70b043281 Fix main printing unnecessary ExitCode Debug impl 2025-06-28 04:18:00 +10:00
f6b91cde10 Remove type checking transformation in luaify 2025-06-28 04:15:42 +10:00
e05e2f4cb3 Implement the foundations for annotation generation 2025-06-28 04:15:27 +10:00
6a4c726965 Properly report panic by resuming unwind 2025-06-28 04:11:33 +10:00
5f1f6dab7a Improve doc 2025-06-27 23:47:52 +10:00
a760beabc1 Extern "Lua" functions should be able to act as constructors 2025-06-27 23:04:05 +10:00
5ea532f1c6 Pretty icons 2025-06-27 14:41:19 +10:00
c07ec4c3ad Add headings 2025-06-27 14:31:49 +10:00
7c40fb4322 Report number of passing and failing tests 2025-06-27 14:28:08 +10:00
eb7b05d07a Avoid globbing target dir every test 2025-06-27 04:45:53 +10:00
3a7f2366e4 Ensure spawn order is consistent 2025-06-27 04:29:11 +10:00
8443c44671 Test that task properly unrefs its table 2025-06-27 04:24:10 +10:00
72b3afaeea Add sleep test 2025-06-27 04:11:31 +10:00
503985269a Don't need to run all tests in workspace in bacon 2025-06-27 04:06:45 +10:00
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