Commit graph

20354 commits

Author SHA1 Message Date
Bret Curtis
2a238244c5 appease the clang-format gods 2023-05-01 14:09:57 +02:00
Bret Curtis
5db1cbdc8e try to abstract out _wsystem and std::system 2023-05-01 12:43:31 +02:00
Bret Curtis
9112dfd4a7 do not check if file already exists; overwrite existing 2023-04-30 20:43:51 +02:00
Bret Curtis
861c48400b clang-format fix3 2023-04-30 18:33:55 +02:00
Bret Curtis
1507a7675e clean-format fix2 2023-04-30 18:19:05 +02:00
Bret Curtis
c6a4bf305e clean-format fix1 2023-04-30 18:08:48 +02:00
Bret Curtis
4ae3c217d7 give this a try... 2023-04-30 18:05:30 +02:00
Bret Curtis
e5282db48c give CLI11 a try 2023-04-30 14:30:38 +02:00
Bret Curtis
70465c5346 make sure we can run on all systems; but require that it run in the same directory as the binary we wish to test 2023-04-29 21:26:51 +02:00
Bret Curtis
8505768736 u8 all the things 2023-04-29 16:59:07 +02:00
jvoisin
98082fcec5 appease the jvoisin 2023-04-29 13:18:54 +00:00
Bret Curtis
126a04200a allow to be run from anywhere 2023-04-28 21:51:59 +02:00
Bret Curtis
600649260c const params and use order of operations 2023-04-28 21:40:26 +02:00
Bret Curtis
f96437f6bf fix clang-format again 2023-04-28 16:34:07 +02:00
Bret Curtis
13c4179cff fix clang-format 2023-04-28 16:31:08 +02:00
Bret Curtis
4e2b5c1982 add code coverage 2023-04-28 16:22:18 +02:00
Bret Curtis
0e61ea15b5 more cleanup; make use of cxxopts::cxxopts 2023-04-28 16:22:18 +02:00
Bret Curtis
ad2db1a9d9 validated that we need MaybeQuotedPath 2023-04-28 16:22:17 +02:00
Bret Curtis
f893641fc1 formatting 2023-04-28 16:22:17 +02:00
Bret Curtis
dd241dd1cd remove boost stuff from mwiiniimporter cmake; set include path in windows 2023-04-28 16:22:17 +02:00
Bret Curtis
18af881f60 slim down findcxxopts 2023-04-28 16:22:17 +02:00
Bret Curtis
d39d0447f5 clang-format again 2023-04-28 16:22:17 +02:00
Bret Curtis
4c57e37802 clang-format 2023-04-28 16:22:17 +02:00
Bret Curtis
de20c47e94 initial conversion to cxxopts for mwiniimporter 2023-04-28 16:22:17 +02:00
Zackhasacat
c4246159af Fix gameObject.teleport function, previously would not work with items in inventories 2023-04-27 19:37:38 +00:00
jvoisin
c752c8950f Merge branch 'use_std_locale' into 'master'
make use of std::wstring_convert to replace boost::locale::conv::utf_to_utf

See merge request OpenMW/openmw!2969
2023-04-27 12:24:23 +00:00
psi29a
130fd387ea make use of std::wstring_convert to replace boost::locale::conv::utf_to_utf 2023-04-27 12:24:22 +00:00
psi29a
3bd72e9c5d Merge branch 'no_automagick' into 'master'
Add missing `sol::is_automagical : std::false_type` in magicbindings.cpp

See merge request OpenMW/openmw!2982
2023-04-26 21:51:16 +00:00
psi29a
39a40f3a73 Merge branch 'rm_ref_id_empty' into 'master'
Remove ESM::RefId::sEmpty

See merge request OpenMW/openmw!2981
2023-04-26 21:48:51 +00:00
Petr Mikheev
d1d1a280d0 Add missing sol::is_automagical : std::false_type in magicbindings.cpp 2023-04-26 21:50:42 +02:00
elsid
0601d7213e
Remove ESM::RefId::sEmpty
This variable is only required to return empty RefId as const reference. There
is no point in doing so for a type cheap to copy.
2023-04-26 21:15:16 +02:00
Tobias Tribble
b52ab04c43 Added soulValue to creatureRecord, added documentation 2023-04-26 12:01:59 -05:00
psi29a
0cf9fe0e2e Merge branch 'lua_casting_error' into 'master'
Fix crash on sol::object type mismatch in invalid Lua script

See merge request OpenMW/openmw!2975
2023-04-25 22:19:45 +00:00
psi29a
0b976232e9 Merge branch 'deprecated_qt' into 'master'
Fix a qt deprecation warning in cmake

See merge request OpenMW/openmw!2974
2023-04-25 21:59:16 +00:00
Zackhasacat
f6fb05d1ca Add functionality for lua to view and modify ownership data for GameObjects 2023-04-25 21:20:43 +00:00
Petr Mikheev
c362b2efa6 Use LuaUtil::cast for casting sol::object to prevent crashing on type mismatch in Lua scripts. 2023-04-25 22:11:04 +02:00
jvoisin
222365b5e3 Fix a qt deprecation warning in cmake 2023-04-25 22:00:20 +02:00
Petr Mikheev
61578ca39b Add function LuaUtil::cast 2023-04-25 21:51:05 +02:00
Bret Curtis
0db31207dc remove remaining boost::filesystem cruft 2023-04-25 16:15:04 +02:00
psi29a
94e467caa3 Merge branch 'settings_access_bench' into 'master'
Run openmw_settings_access_benchmark in CI

See merge request OpenMW/openmw!2967
2023-04-25 11:42:47 +00:00
Bret Curtis
249986b6e0 pathToQString makes things shorter 2023-04-25 11:21:16 +02:00
Bret Curtis
afc4e064cb make use of pathToUnicodeString 2023-04-25 10:34:29 +02:00
Bret Curtis
3581f1b724 fix msvc build 2023-04-25 09:08:51 +02:00
elsid
35f4bcd31e
Run openmw_settings_access_benchmark in CI
Add benchmarks to access 2 and 3 settings. Use settings with max memory address
distance assuming Settings::Values is single memory location object.

Use settings-default.cfg from the source code repository to initialize settings.
2023-04-24 22:30:49 +02:00
psi29a
9f4322951f Merge branch 'use_qt_lockfile' into 'master'
make use of QLockFile

Closes #7345

See merge request OpenMW/openmw!2966
2023-04-24 13:34:06 +00:00
psi29a
2e1820fefd make use of QLockFile 2023-04-24 13:34:06 +00:00
psi29a
8e8a539cb7 Merge branch 'lua_fix' into 'master'
Bugfix: add missing type validation in mwlua/objectvariant.hpp

See merge request OpenMW/openmw!2963
2023-04-24 12:11:14 +00:00
psi29a
406eb1f9cc Merge branch 'replace_boost' into 'master'
replace boost where not needed

See merge request OpenMW/openmw!2962
2023-04-23 19:46:29 +00:00
psi29a
71aaa56ae3 replace boost where not needed 2023-04-23 19:46:29 +00:00
Petr Mikheev
073e379057 Add missing type validation in mwlua/objectvariant.hpp 2023-04-23 20:47:24 +02:00