Petr Mikheev
|
7b3aa621a4
|
[Lua] Fix memory leak in sandboxed "require".
|
2023-02-26 19:59:53 +01:00 |
|
Petr Mikheev
|
d0a82437a4
|
[Lua] Fix memory tracking
|
2023-02-26 18:46:57 +01:00 |
|
Petr Mikheev
|
b71eac3e76
|
Fix #7210
|
2023-02-15 10:31:10 +01:00 |
|
Petr Mikheev
|
55db95d4cf
|
Update Lua profiler; add ability to run OpenMW with old LuaJit that doesn't allow custom allocator (Lua profiler will be disabled in this case)
|
2022-12-03 16:58:03 +01:00 |
|
Petr Mikheev
|
6fa65e4729
|
Track memory and CPU usage per script in LuaUtil::LuaState
|
2022-11-30 00:06:14 +01:00 |
|
clang-format-bot
|
ddb0522bbf
|
Apply clang-format to code base
|
2022-09-22 21:35:26 +03:00 |
|
Project579
|
a13709c510
|
Replace implicit convertions from std::filesystem::path to std::string with correctly converting functions.
|
2022-09-11 14:41:20 +02:00 |
|
Project579
|
e5c417c968
|
Make sure all paths are passed as std::filesystem::path instead of std::string where possible.
|
2022-09-11 14:41:15 +02:00 |
|
ζeh Matt
|
764d34362e
|
Type forward VFS::Manager in luastate.hpp and l10n.hpp
|
2022-07-18 19:36:41 +03:00 |
|
uramer
|
22994af728
|
Fix Lua pairs and ipairs
|
2022-05-16 16:32:18 +02:00 |
|
Petr Mikheev
|
7ccbf95503
|
[Lua] makeStrictReadOnly for enums
|
2022-05-16 00:16:26 +02:00 |
|
Petr Mikheev
|
70c7f1880d
|
[Lua] pairs and ipairs for ObjectList (resolves #6732)
|
2022-05-06 23:11:47 +02:00 |
|
Petr Mikheev
|
45c9635e94
|
Fix getmetatable, fix pairsForReadonly, add util.loadCode, _G
|
2022-04-14 01:00:02 +02:00 |
|
Petr Mikheev
|
eca64b48e8
|
Bitwise operations in Lua
|
2022-04-06 21:55:05 +02:00 |
|
uramer
|
a1abc84f59
|
Implement pairs and ipairs for ui.content and ui.layers. Document all iterable types in a uniform way.
|
2022-02-21 20:43:27 +00:00 |
|
Petr Mikheev
|
6876851766
|
Allow require to return not a table in Lua
|
2022-02-12 12:02:17 +01:00 |
|
Petr Mikheev
|
a294adcdaf
|
Proper support of pairs and ipairs in Lua; fix bug in makeReadOnly .
|
2022-02-06 22:10:20 +00:00 |
|
Petr Mikheev
|
2d1b100239
|
Change terminology of gameSecond/gameHour to simulationTime/gameTime
|
2022-01-10 21:03:35 +01:00 |
|
Petr Mikheev
|
6a19a66ae5
|
Fix #6535
|
2022-01-05 20:08:03 +01:00 |
|
Petr Mikheev
|
0f246e7365
|
Use a separate instance of Lua i18n for every context
|
2022-01-02 09:58:51 +01:00 |
|
Petr Mikheev
|
7549496162
|
A few small fixes + expose makeReadOnly to Lua + an option to apply makeReadOnly during deserialize
|
2021-12-15 02:38:54 +01:00 |
|
Petr Mikheev
|
9adc190209
|
Redesign LuaUtil::ScriptsContainer to work with ScriptsConfiguration
|
2021-10-26 21:32:48 +02:00 |
|
Petr Mikheev
|
2f25257a3e
|
Move LuaState::makeReadOnly(sol::table) out of the class because it doesn't need to access LuaState internals.
|
2021-09-19 14:38:27 +02:00 |
|
Petr Mikheev
|
33d4d88447
|
Function LuaUtil::toString
|
2021-08-31 09:41:58 +02:00 |
|
Petr Mikheev
|
a94072243b
|
Lua command core.quit
|
2021-08-04 19:14:24 +03:00 |
|
Petr Mikheev
|
8ff8ec4abd
|
Fix coverity issues
|
2021-07-12 12:51:25 +02:00 |
|
Petr Mikheev
|
702eb19271
|
Fixes and refactoring
|
2021-07-09 20:48:54 +02:00 |
|
Petr Mikheev
|
4b068b27ca
|
Add components/lua/luastate and components/lua/utilpackage
|
2021-07-09 20:03:27 +02:00 |
|