Commit Graph

24 Commits (master)

Author SHA1 Message Date
uramer 1675c74036 Fix findPath returning a raw vector 4 weeks ago
elsid 32ec92e71c
Use normalized path in LuaState 4 months ago
Evil Eye c9783344a0 Wrap all memory allocating Lua functions in protected calls 4 months ago
Anton Uramer 6851e6e56a Context helpers for caching packages, split up core bindings into multiple caches, remove getRealFrameDuration in global context 5 months ago
Evil Eye 5b82c7a95d Don't assume execution of an internal Lua script can't fail 6 months ago
uramer 08b7ee8a44 Test LuaUtil::safeGet preventing crash 11 months ago
uramer aa4303fc38 Fix crash when throwing in index meta methods 11 months ago
Petr Mikheev 61578ca39b Add function LuaUtil::cast 2 years ago
Petr Mikheev d0a82437a4 [Lua] Fix memory tracking 2 years ago
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) 2 years ago
Petr Mikheev 6fa65e4729 Track memory and CPU usage per script in LuaUtil::LuaState 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
Project579 e5c417c968 Make sure all paths are passed as std::filesystem::path instead of std::string where possible. 2 years ago
ζeh Matt 764d34362e
Type forward VFS::Manager in luastate.hpp and l10n.hpp 2 years ago
Petr Mikheev 7ccbf95503 [Lua] makeStrictReadOnly for enums 3 years ago
Petr Mikheev 0f246e7365 Use a separate instance of Lua i18n for every context 3 years ago
uramer c865114b9b Lua UI Layers 3 years ago
Petr Mikheev c7d6620c35 Add error checking in MWLua::Action 3 years ago
Petr Mikheev ed85393288 Replace sol::table::create_table_with with a more compiler-friendly implementation. It fixes MSVC error "compiler is out of heap space" and also slightly reduces binary size. 3 years ago
Petr Mikheev 9adc190209 Redesign LuaUtil::ScriptsContainer to work with ScriptsConfiguration 3 years ago
Petr Mikheev 2f25257a3e Move LuaState::makeReadOnly(sol::table) out of the class because it doesn't need to access LuaState internals. 3 years ago
Petr Mikheev 33d4d88447 Function LuaUtil::toString 3 years ago
elsid 36ec877a8e
Add missing include from sol/sol.hpp 4 years ago
Petr Mikheev 4b068b27ca Add components/lua/luastate and components/lua/utilpackage 4 years ago