Commit Graph

112 Commits (master)

Author SHA1 Message Date
Evil Eye 481e63ffa7 Prevent stale pointers in UI widgets 3 months ago
Evil Eye 5b82c7a95d Don't assume execution of an internal Lua script can't fail 6 months ago
Evil Eye 1d13f7db8f Simplify detachFromParent 9 months ago
Evil Eye 8cbcb82dd4 Prevent iterator invalidation when updating Lua UI and increase const correctness 9 months ago
uramer 68ed771816 Fix element detachment logic 10 months ago
uramer 2f40491065 Fix crash when destroying UI element in the same frame as creating it 10 months ago
uramer b12f98db98 Don't destroy root widget for new elements 10 months ago
uramer af8662daee Detach Lua Elements properly from their parent 10 months ago
uramer 0f60052bb8 Set Element state in Element::create 10 months ago
uramer 9ae61f1932 Fix child UI Elements created in the same frame as parent 10 months ago
uramer 9cce2e39ba Merge branch 'master' into menuscripts 11 months ago
Andrei Kortunov 87c9f395f1 Move local variables in components 11 months ago
uramer b9afd7245c Create separate UI api tables for menu and player contexts 12 months ago
uramer 7cc0eae461 Fix Menu Lua settings reset between states 12 months ago
uramer 4ed2af7666 Merge branch 'master' into menuscripts 12 months ago
uramer 1afc7ecd58 Test Lua widgets for text inputs correctly 12 months ago
uramer 79deb5f559 Remove settings pages in Lua 12 months ago
Andrei Kortunov d1a7dfee87 Add missing assertion 12 months ago
uramer a6e2ceebb8 Don't clear menu UI on game load 12 months ago
Evil Eye f52e8f76c6 Use std::erase instead of using std::remove without erasing 1 year ago
uramer 9403f06618 Fix visibility breaking after multiple updates 1 year ago
uramer d214f6f6ef Get rid of unncesesary onCoordChange 1 year ago
uramer f3a7b087eb Clean up unncesesary namespace prefixes 1 year ago
uramer 86ea12a458 Handle moving element into another element layout 1 year ago
uramer cf84386cc2 Use Element Content children for Settings UI 1 year ago
uramer 4ba2aca3d3 Handle Element root changing type 1 year ago
uramer 919e067ab7 Error when encountering destroyed widgets 1 year ago
uramer a36360cbde Update parent coords when updating element 1 year ago
uramer 4a4cef5709 Attach elements to each other, safely destroy 1 year ago
uramer f037dc814d Allow UI Elements in UI Content 1 year ago
Dave Corley d76ae20c29 Feat(textedit): Set max text length for lua textEdit boxes to int_max by default 1 year ago
uramer f9888230af Fix Lua UI atlasing 1 year ago
psi29a 6a87ba8f33 Merge branch 'mygui343_fix' into 'master'
Fix MyGUI 3.4.3 issues [#7528]

See merge request OpenMW/openmw!3319
1 year ago
uramer 6081dcc43c Work around MyGUI bug in a less destructive way 1 year ago
Bret Curtis e97b07b6a4 additional cleanup 1 year ago
uramer e1cbeb0d3b Don't free ui element's shared_ptr right before destroying it 1 year ago
Andrei Kortunov f5b18d2d5d Do not copy objects twice where possible 1 year ago
Evil Eye a0127dd7e4 Allow compilation with MYGUI_DONT_USE_OBSOLETE 1 year ago
Evil Eye eeda48ec50 Drop support for --fs-strict 2 years ago
Petr Mikheev c6eed2a6c6 Fix bug in LuaUi::Element::destroy() that sometimes leads to an infinite loop on UI cleanup 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
uramer 38bceb653d Set Element layout to nil on destroy 2 years ago
Petr Mikheev eceeb15ee5 Fix bug in lua_ui/content.lua: getmetatable(ui.content{}) shouldn't return a global mutable table 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
uramer e96681151c Get rid of the LuaUI::Content namespace 2 years ago
uramer d24c506b0e Move metatable protection asserts to tests 2 years ago
uramer 2a35bae655 Use range_error for invalid indexes 2 years ago
uramer fb0646dda1 Remove Ui Content counter in Lua profiler 2 years ago