elsid 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e074ebde96 
								
							 
						 
						
							
							
								
								Fix C4389 msvc warning  
							
							... 
							
							
							
							'==': signed/unsigned mismatch 
							
						 
						
							2022-07-01 18:47:47 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									elsid 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2eae3227ba 
								
							 
						 
						
							
							
								
								Fix C4305 msvc warning  
							
							... 
							
							
							
							'argument': truncation from 'double' to 'float' 
							
						 
						
							2022-07-01 18:47:46 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								a70d5831c5 
								
							 
						 
						
							
							
								
								Lua scripts configuration in omwaddon  
							
							
							
						 
						
							2022-06-05 01:36:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								709d186b8d 
								
							 
						 
						
							
							
								
								Put tests output files to a separate dir  
							
							
							
						 
						
							2022-05-30 01:34:23 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									psi29a 
								
							 
						 
						
							
							
							
							
								
							
							
								d3f331793e 
								
							 
						 
						
							
							
								
								Merge branch 'sol' into 'master'  
							
							... 
							
							
							
							Update sol. Replace combined sol.hpp with loose files.
See merge request OpenMW/openmw!1851  
							
						 
						
							2022-05-18 07:57:32 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								d16fa553c8 
								
							 
						 
						
							
							
								
								Fix LuaUtil::Callback  
							
							
							
						 
						
							2022-05-15 21:34:48 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									cody glassman 
								
							 
						 
						
							
							
							
							
								
							
							
								04843fed6d 
								
							 
						 
						
							
							
								
								moddable post-processing pipeline  
							
							
							
						 
						
							2022-05-15 10:03:58 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								eae1e87081 
								
							 
						 
						
							
							
								
								[Lua] Update openmw.storage  
							
							
							
						 
						
							2022-04-23 18:55:12 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									elsid 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								94c1d0cced 
								
							 
						 
						
							
							
								
								Use unique_ptr to store istream  
							
							
							
						 
						
							2022-04-22 18:27:17 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Winger 
								
							 
						 
						
							
							
							
							
								
							
							
								21ffbcc4b4 
								
							 
						 
						
							
							
								
								Lua i18n updates  
							
							
							
						 
						
							2022-04-10 07:57:02 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								fa115418eb 
								
							 
						 
						
							
							
								
								[Lua] Remove queries  
							
							
							
						 
						
							2022-03-15 23:35:36 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									uramer 
								
							 
						 
						
							
							
							
							
								
							
							
								ede9d27437 
								
							 
						 
						
							
							
								
								Element-wise multiplication and division of Lua vectors  
							
							
							
						 
						
							2022-02-10 19:43:27 +00: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 
								
							 
						 
						
							
							
							
							
								
							
							
								067d71f7eb 
								
							 
						 
						
							
							
								
								Fix heap use after free in components/lua/storage.cpp  
							
							
							
						 
						
							2022-01-23 22:37:04 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									uramer 
								
							 
						 
						
							
							
							
							
								
							
							
								d1d8f058ac 
								
							 
						 
						
							
							
								
								Lua bindings for Colours  
							
							
							
						 
						
							2022-01-17 22:35:06 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									uramer 
								
							 
						 
						
							
							
							
							
								
							
							
								c07fb75bf7 
								
							 
						 
						
							
							
								
								Merge branch 'lua_settings' into 'master'  
							
							... 
							
							
							
							Permanent storage for Lua
See merge request OpenMW/openmw!1489  
							
						 
						
							2022-01-15 21:52:09 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								97d56e198f 
								
							 
						 
						
							
							
								
								Use double precision for vectors serialization in Lua  
							
							
							
						 
						
							2022-01-15 11:25:30 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								a182fdeea1 
								
							 
						 
						
							
							
								
								Permanent storage for Lua data  
							
							
							
						 
						
							2022-01-11 11:21:03 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								2d1b100239 
								
							 
						 
						
							
							
								
								Change terminology of gameSecond/gameHour to simulationTime/gameTime  
							
							
							
						 
						
							2022-01-10 21:03:35 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Josquin Frei 
								
							 
						 
						
							
							
							
							
								
							
							
								d9672f7d46 
								
							 
						 
						
							
							
								
								Add serialization for TransformM and TransformQ  
							
							
							
						 
						
							2022-01-10 12:42:03 +00: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 
								
							 
						 
						
							
							
							
							
								
							
							
								f9136d4392 
								
							 
						 
						
							
							
								
								Support multiple arguments in Lua callbacks.  
							
							
							
						 
						
							2021-11-21 13:12:35 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								d5ca091d6e 
								
							 
						 
						
							
							
								
								Make util.rotateX, util.rotateY, rotate.Z consistent with morrowind rotation  
							
							
							
						 
						
							2021-11-19 20:37:21 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									uramer 
								
							 
						 
						
							
							
							
							
								
							
							
								68963538ae 
								
							 
						 
						
							
							
								
								Lua UI API  
							
							
							
						 
						
							2021-11-18 15:19:54 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								9adc190209 
								
							 
						 
						
							
							
								
								Redesign LuaUtil::ScriptsContainer to work with ScriptsConfiguration  
							
							
							
						 
						
							2021-10-26 21:32:48 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								33d71be81f 
								
							 
						 
						
							
							
								
								Add LuaUtil::ScriptsConfiguration  
							
							
							
						 
						
							2021-10-26 21:32:02 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									elsid 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								23026caacc 
								
							 
						 
						
							
							
								
								Fix LuaUtilPackageTest.Transform  
							
							... 
							
							
							
							It can fail due to float arithmetic precision with error:
Expected equality of these values:
  getAsString(lua, "moveAndScale")
    Which is: "TransformM{ move(6, 22, 18) scale(0.5, 1, 0.5) rotation(angle=8.53284e-17, axis=(1, 0, 0)) }"
  "TransformM{ move(6, 22, 18) scale(0.5, 1, 0.5) }" 
							
						 
						
							2021-10-17 22:47:18 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								48538d5cef 
								
							 
						 
						
							
							
								
								3D transforms in Lua  
							
							
							
						 
						
							2021-09-28 20:37:47 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								3ce5e9e680 
								
							 
						 
						
							
							
								
								Improve error messages in components/lua/serialization.cpp  
							
							
							
						 
						
							2021-08-03 16:42:26 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									elsid 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f92843e3d2 
								
							 
						 
						
							
							
								
								Fix UB: reference binding to misaligned address in Lua tests  
							
							... 
							
							
							
							/home/elsid/dev/openmw/apps/openmw_test_suite/lua/test_serialization.cpp:166:34: runtime error: reference binding to misaligned address 0x562ea892076c for type 'const struct TestStruct1', which requires 8 byte alignment
0x562ea892076c: note: pointer points here
  00 74 73 31 00 00 00 00  00 00 f8 3f 00 00 00 00  00 00 04 40 21 79 4b 08  00 00 00 74 65 73 74 5f
              ^
    #0  0x562ea6462b8e in deserialize /home/elsid/dev/openmw/apps/openmw_test_suite/lua/test_serialization.cpp:166
    #1  0x562ea68b7402 in deserializeImpl /home/elsid/dev/openmw/components/lua/serialization.cpp:172
    #2  0x562ea68b7bf6 in deserializeImpl /home/elsid/dev/openmw/components/lua/serialization.cpp:204
    #3  0x562ea68b86ea in LuaUtil::deserialize(sol::state&, std::basic_string_view<char, std::char_traits<char> >, LuaUtil::UserdataSerializer const*) /home/elsid/dev/openmw/components/lua/serialization.cpp:251
    #4  0x562ea6464d96 in TestBody /home/elsid/dev/openmw/apps/openmw_test_suite/lua/test_serialization.cpp:197
    #5  0x562ea6d9dac6 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/elsid/dev/googletest/googletest/src/gtest.cc:2607
    #6  0x562ea6d9dac6 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/elsid/dev/googletest/googletest/src/gtest.cc:2643
    #7  0x562ea6d92e25 in testing::Test::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:2682
    #8  0x562ea6d92e25 in testing::Test::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:2672
    #9  0x562ea6d93024 in testing::TestInfo::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:2861
    #10  0x562ea6d93728 in testing::TestInfo::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:2834
    #11  0x562ea6d93728 in testing::TestSuite::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:3015
    #12  0x562ea6d94142 in testing::TestSuite::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:2994
    #13  0x562ea6d94142 in testing::internal::UnitTestImpl::RunAllTests() /home/elsid/dev/googletest/googletest/src/gtest.cc:5855
    #14  0x562ea6d9e096 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/elsid/dev/googletest/googletest/src/gtest.cc:2607
    #15  0x562ea6d9e096 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/elsid/dev/googletest/googletest/src/gtest.cc:2643
    #16  0x562ea6d93140 in testing::UnitTest::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:5438
    #17  0x562ea5d3fdc6 in RUN_ALL_TESTS() /home/elsid/dev/googletest/build/gcc/release/install/include/gtest/gtest.h:2490
    #18  0x562ea5d3fc6f in main /home/elsid/dev/openmw/apps/openmw_test_suite/openmw_test_suite.cpp:11
    #19  0x7fe3938d0b24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)
    #20  0x562ea5d3fb7d in _start (/home/elsid/dev/openmw/build/gcc/ubsan/openmw_test_suite+0x173eb7d)
/home/elsid/dev/openmw/apps/openmw_test_suite/lua/test_serialization.cpp:176:34: runtime error: reference binding to misaligned address 0x562ea892078f for type 'const struct TestStruct2', which requires 4 byte alignment
0x562ea892078f: note: pointer points here
 75 63 74 32 04  00 00 00 03 00 00 00 04  00 6e 64 69 74 69 6f 6e  73 00 73 68 61 70 65 00  51 00 00
             ^
    #0  0x562ea6462df9 in deserialize /home/elsid/dev/openmw/apps/openmw_test_suite/lua/test_serialization.cpp:176
    #1  0x562ea68b7402 in deserializeImpl /home/elsid/dev/openmw/components/lua/serialization.cpp:172
    #2  0x562ea68b7bf6 in deserializeImpl /home/elsid/dev/openmw/components/lua/serialization.cpp:204
    #3  0x562ea68b86ea in LuaUtil::deserialize(sol::state&, std::basic_string_view<char, std::char_traits<char> >, LuaUtil::UserdataSerializer const*) /home/elsid/dev/openmw/components/lua/serialization.cpp:251
    #4  0x562ea6464d96 in TestBody /home/elsid/dev/openmw/apps/openmw_test_suite/lua/test_serialization.cpp:197
    #5  0x562ea6d9dac6 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/elsid/dev/googletest/googletest/src/gtest.cc:2607
    #6  0x562ea6d9dac6 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/elsid/dev/googletest/googletest/src/gtest.cc:2643
    #7  0x562ea6d92e25 in testing::Test::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:2682
    #8  0x562ea6d92e25 in testing::Test::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:2672
    #9  0x562ea6d93024 in testing::TestInfo::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:2861
    #10  0x562ea6d93728 in testing::TestInfo::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:2834
    #11  0x562ea6d93728 in testing::TestSuite::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:3015
    #12  0x562ea6d94142 in testing::TestSuite::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:2994
    #13  0x562ea6d94142 in testing::internal::UnitTestImpl::RunAllTests() /home/elsid/dev/googletest/googletest/src/gtest.cc:5855
    #14  0x562ea6d9e096 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/elsid/dev/googletest/googletest/src/gtest.cc:2607
    #15  0x562ea6d9e096 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/elsid/dev/googletest/googletest/src/gtest.cc:2643
    #16  0x562ea6d93140 in testing::UnitTest::Run() /home/elsid/dev/googletest/googletest/src/gtest.cc:5438
    #17  0x562ea5d3fdc6 in RUN_ALL_TESTS() /home/elsid/dev/googletest/build/gcc/release/install/include/gtest/gtest.h:2490
    #18  0x562ea5d3fc6f in main /home/elsid/dev/openmw/apps/openmw_test_suite/openmw_test_suite.cpp:11
    #19  0x7fe3938d0b24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)
    #20  0x562ea5d3fb7d in _start (/home/elsid/dev/openmw/build/gcc/ubsan/openmw_test_suite+0x173eb7d) 
							
						 
						
							2021-07-17 17:41:41 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								702eb19271 
								
							 
						 
						
							
							
								
								Fixes and refactoring  
							
							
							
						 
						
							2021-07-09 20:48:54 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								b53667d555 
								
							 
						 
						
							
							
								
								Queries. Data structures and lua bindings.  
							
							
							
						 
						
							2021-07-09 20:03:27 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								479856f812 
								
							 
						 
						
							
							
								
								Add components/lua/scriptscontainer and components/esm/luascripts  
							
							
							
						 
						
							2021-07-09 20:03:27 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								8dbaf6022c 
								
							 
						 
						
							
							
								
								Add components/lua/serilalization  
							
							
							
						 
						
							2021-07-09 20:03:27 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								4b068b27ca 
								
							 
						 
						
							
							
								
								Add components/lua/luastate and components/lua/utilpackage  
							
							
							
						 
						
							2021-07-09 20:03:27 +02:00