59 Commits

Author SHA1 Message Date
MihailRis
088bf63f3f replace lua Random implementation with usertype 2025-09-25 23:53:11 +03:00
MihailRis
532c4887bc add Random class 2025-09-16 20:27:07 +03:00
MihailRis
3760fb86f7 move events library implementation to core:internal/events & disable access to core:internal modules outside of stdlib 2025-08-08 00:29:12 +03:00
MihailRis
ddb04418ba add 'await' function 2025-08-01 21:37:03 +03:00
MihailRis
60bc30f01f fix 2025-07-21 22:04:57 +03:00
MihailRis
20703e2b94 fix: attempt to index global 'ffi' (a nil value) in stdmin.lua 2025-05-02 18:51:07 +03:00
MihailRis
38e0753382 add __ipairs metamethod support if missing in LuaJIT 2025-04-17 19:54:58 +03:00
MihailRis
36c2971fcf add FFIBytearray 2025-04-06 22:23:39 +03:00
Onran
e279e4ea50
execute and compile of bitwise expressions exported to bit library 2025-04-06 22:17:28 +09:00
MihailRis
513bac81b5
fix crc32 in static build (#488)
fix crc32 in static build
2025-03-17 20:16:52 +03:00
MihailRis
13c309667b add crc32 function 2025-03-17 02:39:28 +03:00
MihailRis
12aced92cc feat: reloading modules 2025-03-16 22:27:08 +03:00
MihailRis
ffac010e54 update built-in error handling 2025-03-13 22:03:45 +03:00
MihailRis
4b09b108fd fix file.parent 2025-03-12 23:40:34 +03:00
MihailRis
9286f297c1 add file.path(...), file.join(...) 2025-03-11 16:19:09 +03:00
MihailRis
c6492b3d25 add file.parent(...) 2025-03-11 00:39:59 +03:00
MihailRis
e48216da40 experimental optimize canvas:set_data using ffi 2025-03-08 18:04:10 +03:00
Xertis
0d9cd6fefc
table.filter bug fix 2025-03-06 15:54:40 +03:00
Xertis
39f3f12382
fix pad 2025-02-10 17:39:20 +03:00
Xertis
78ceff54e7 upd 2025-02-10 16:39:05 +03:00
Xertis
185b0e5cbd upd string.left/right _padding 2025-02-10 16:24:28 +03:00
Xertis
c22f7e0eb5 add string.padding 2025-02-09 14:06:23 +03:00
Xertis
0d32b1987c I forgot about "t[x] or default" 2025-02-04 20:09:36 +03:00
Xertis
e106a31d82 correction table.slice & adding get_default 2025-02-04 19:54:01 +03:00
Xertis
17ce49bdf1 add table.slice 2025-02-01 01:34:11 +03:00
Xertis
6592684db1 math.sum return 2025-01-26 20:47:45 +03:00
Xertis
089d86d0a1 documentation and stdmin corrections 2025-01-26 20:28:58 +03:00
Xertis
5187ee76e9
Changes to comply with the documentation 2025-01-26 14:21:44 +03:00
Xertis
35004c2075
Added new extensions for tables and math 2025-01-26 14:02:38 +03:00
MihailRis
0a1a16299e move menu pages loader to Lua & add gui.load_document, file.ext(), file.prefix() & add core:gui_util module 2025-01-06 16:07:16 +03:00
MihailRis
136c35591c add file.name(), file.stem() & add 'path' to pack info & add start_coroutine() 2025-01-05 22:44:32 +03:00
MihailRis
1149d5869c Merge branch 'main' into headless-mode 2024-12-22 02:33:12 +03:00
Onran
2b64128581
Update stdmin.lua 2024-12-22 01:54:55 +09:00
MihailRis
79f5ffc463 Merge branch 'main' into headless-mode 2024-12-21 10:58:41 +03:00
Xertis
b372286a69
changing the standard conf to 1 2024-12-21 10:44:25 +03:00
Xertis
f4ac84daa2 fix 2024-12-20 23:55:10 +03:00
Xertis
6018db9c28
refact math.normalize 2024-12-20 23:26:59 +03:00
Xertis
958a706546
add new extensions.lua 2024-12-20 22:59:53 +03:00
MihailRis
3d7a9fd225 Merge branch 'main' into headless-mode 2024-12-19 22:57:12 +03:00
Richard Try
61741a5cc8
Copy metatable in table.deepcopy
Copy metatable as well during deep copying
2024-12-19 01:37:34 +03:00
MihailRis
60f2303137 Merge branch 'main' into headless-mode 2024-12-11 20:33:38 +03:00
MihailRis
b05c2fc911 fix 'timeit' in headless mode 2024-12-11 14:08:24 +03:00
Xertis
c5033dc6ff
create table.deep_copy 2024-12-09 18:33:45 +03:00
Xertis
a2bf2bc1a1
fix table.copy 2024-12-08 23:49:16 +03:00
MihailRis
02578a6276 simplify local modules loading 2024-11-20 07:49:21 +03:00
MihailRis
a015d74af5 update file library warnings 2024-11-19 10:04:26 +03:00
MihailRis
66be215101 add advanced lua errors handler & fix hud script source path in traceback 2024-11-19 07:26:28 +03:00
MihailRis
5c005b4f9a remove extra frames from on_deprecated_call traceback 2024-11-19 06:01:59 +03:00
MihailRis
9dc09e920c remove extra frames from debug.get_traceback result 2024-11-18 14:48:05 +03:00
MihailRis
3146bf0133 fix 2024-11-18 14:44:44 +03:00