Commit Graph

129 Commits (d147d1d250d7ec19cc59a4c25d1d946eab9e6bc9)

Author SHA1 Message Date
uramer 08b7ee8a44 Test LuaUtil::safeGet preventing crash 11 months ago
uramer 550659c2d9 Fix loadVFS error handling 11 months ago
uramer aa4303fc38 Fix crash when throwing in index meta methods 11 months ago
uramer 851e291501 Simplify and fix the storage subscribe test 11 months ago
uramer 35448bf0fe Fix crash when passing a non-callback table to a callback argument 11 months ago
Alexei Kotov 8b47381162 Merge branch 'more_move' into 'master'
Fix some Coverity Scan complaints

See merge request OpenMW/openmw!3829
11 months ago
Andrei Kortunov 225e834b88 Fix some Coverity Scan complaints 11 months ago
uramer 9cce2e39ba Merge branch 'master' into menuscripts 11 months ago
Andrei Kortunov 87c9f395f1 Move local variables in components 12 months ago
uramer dd6017e81e Avoid making engine handler methods public 12 months ago
uramer 2107bbc01d Reuse input engine handlers in menu scripts 12 months ago
uramer 962ecc4329 Allow menu scripts to read global sections while a game is loaded 12 months ago
uramer d1268acf95 Merge branch 'master' into menuscripts 1 year ago
uramer e9b48e35c0 Coverity defects 1 year ago
uramer 1d8ee7984f Make input.triggers[] consistent with input.actions[] 1 year ago
uramer 0e2e386dc9 Lua actions take 3 1 year ago
Devin Alexander Torres 8161771969 Add sol::lib::jit to actually enable JIT 1 year ago
uramer c9eaeb47d5 Minor API inconsistencies 1 year ago
Petr Mikheev f5325e11e3 Rename mPermanentCallbacks -> mMenuScriptsCallbacks in LuaUtil::Storage 1 year ago
Petr Mikheev 1dd7a15255 Draft: add new type of Lua scripts - menu scripts 1 year ago
Kindi c77b88cd38 fix string format 1 year ago
Andrei Kortunov a849a053be Do not copy vector 1 year ago
psi29a 0b74146b05
Merge branch 'luautflib' into 'master'
Lua utf-8 support

Closes #6505

See merge request OpenMW/openmw!3327
1 year ago
Kindi 7eb456a169 refactoring for readability 1 year ago
Kindi 8798217b51 remove const keyword from all string_view 1 year ago
Kindi db287b2bc6 dont use pass by const reference for small types in func arguments 1 year ago
Kindi dd61caa96d using misc::stringutils::format and simplify relativeposition function 1 year ago
Kindi af58b531da change function names and add documentation in overview.rst 1 year ago
Kindi 532230254b add documentation 1 year ago
Kindi 92842cedf5 len,codepoint,offset 1 year ago
Petr Mikheev 87eacf774a Control GUI modes from Lua 1 year ago
Petr Mikheev f86a45d60a [Lua] add __len metafunction for readonly objects 1 year ago
Kindi 6d02c31720 utf8.codes 1 year ago
Kindi d9c102e14d utf8.char 1 year ago
Kindi 8622a6da3b luautf8lib 1 year ago
Andrei Kortunov f5b18d2d5d Do not copy objects twice where possible 1 year ago
elsid 5a0ad8cdd7
Add Morrowind specific tests 1 year ago
Petr Mikheev 3b43cc2aea Lua: change obj.rotation from Euler angles to Quaternion 2 years ago
glassmancody.info a7b7f99d72 Expose game object's bounding box in lua api 2 years ago
psi29a cdc753df70 Merge branch 'lua_refactoring' into 'master'
MWLua refactoring

See merge request OpenMW/openmw!2956
2 years ago
Petr Mikheev 4562b8c06b Add headers for all `.cpp` files in mwlua; move packages initilaization from LuaManager to luabindings.cpp 2 years ago
Petr Mikheev c362b2efa6 Use LuaUtil::cast for casting sol::object to prevent crashing on type mismatch in Lua scripts. 2 years ago
Petr Mikheev 61578ca39b Add function LuaUtil::cast 2 years ago
Petr Mikheev 7b3aa621a4 [Lua] Fix memory leak in sandboxed "require". 2 years ago
Petr Mikheev d0a82437a4 [Lua] Fix memory tracking 2 years ago
psi29a 0f331a4fc5 Merge branch 'lua_callback' into 'master'
Fix potential memory leak in LuaUtil::Callback

See merge request OpenMW/openmw!2733
2 years ago
Petr Mikheev b71eac3e76 Fix #7210 2 years ago
Petr Mikheev 65885d994f Don't expose LuaUtil::Callback to lua 2 years ago
Petr Mikheev 71ba7b88e2 Move asyncpackage from apps/openmw/mwlua to components/lua 2 years ago
elsid c79c14da91
Fix -Wnon-virtual-dtor warnings 2 years ago