1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-11-30 02:34:31 +00:00
Commit graph

36795 commits

Author SHA1 Message Date
Evil Eye
3558f9c48b Don't attempt to parse table-like objects as ignore lists 2025-11-03 07:07:08 +03:00
Alexei Kotov
851fd91d3c Merge branch 'nil_refid' into 'master'
Lua: Return nil instead of empty strings for optional RefId fields

Closes #8718

See merge request OpenMW/openmw!4956
2025-11-02 05:37:27 +03:00
Alexei Kotov
0202594163 Increment Lua API revision 2025-11-02 05:10:55 +03:00
Andrzej Głuszak
c4b28a39c3 Lua: Return nil instead of empty strings for optional RefId fields
Implement sol_lua_push for ESM::RefId to automatically convert empty
RefIds to nil in Lua. This fixes cell.region and cell.worldSpaceId
returning empty strings, and applies the same pattern consistently
across all Lua bindings.

Removes LuaUtil::serializeRefId as it's no longer needed.

Fixes #8718
2025-11-02 05:08:25 +03:00
Alexei Kotov
b516770a04 Merge branch 'localize_cell_names' into 'master'
Localize cell names in the Lua API

Closes #8725

See merge request OpenMW/openmw!4938
2025-11-02 04:23:52 +03:00
Alexei Kotov
3687f1fe55 Increment Lua API revision 2025-11-02 04:22:47 +03:00
Andrei Kortunov
2fe63177b7 Translate cell name directly 2025-11-02 04:22:47 +03:00
Andrei Kortunov
d6cc205b86 Localize cell names in the Lua API (feature 8725) 2025-11-02 04:22:46 +03:00
uramer
8b2be21eea Merge branch 'almanac' into 'master'
Improve weather documentation and prevent division by 0

See merge request OpenMW/openmw!4966
2025-10-28 17:10:48 +00:00
jvoisin
4aa0edf895 Merge branch 'customrecorddocs' into 'master'
Mention NpcRecord in createRecord docs

See merge request OpenMW/openmw!4967
2025-10-28 17:06:45 +00:00
jvoisin
25b2a8c82f Merge branch 'finitehit' into 'master'
Require finite values in Actor._onHit

See merge request OpenMW/openmw!4965
2025-10-28 17:06:05 +00:00
Alexei Kotov
e1cd9bf86b Merge branch 'changelog' into 'master'
Add recent crash fixes into 0.50.0 changelog

See merge request OpenMW/openmw!4970
2025-10-28 19:46:02 +03:00
Alexei Kotov
e92745feb0 Add recent crash fixes into 0.50.0 changelog 2025-10-28 12:26:30 +03:00
Alexei Kotov
23f843c552 Merge branch 'objectifyyourtype' into 'master'
Return type as a sol::object instead of a table proxy

Closes #8757

See merge request OpenMW/openmw!4963
2025-10-28 12:13:03 +03:00
Evil Eye
83fe65cff7 Improve weather documentation and prevent division by 0 2025-10-27 19:22:37 +01:00
Alexei Kotov
a6d128c58a Mention NpcRecord in createRecord docs
Also alphabetize the list and adjust capitalization
2025-10-27 20:31:26 +03:00
AnyOldName3
f372dc1006 Merge branch 'boostsystemfix' into 'master'
Don't link to stub Boost.System library (#8754)

Closes #8754

See merge request OpenMW/openmw!4964
2025-10-27 17:23:31 +00:00
Evil Eye
c0ac3388df Require finite values in Actor._onHit 2025-10-27 16:58:04 +01:00
Alexei Kotov
fea807821d Don't link to stub Boost.System library (#8754) 2025-10-26 05:16:26 +03:00
Evil Eye
e3b293c4b7 Merge branch 'gamepaddb' into 'master'
Update SDL controller mappings

See merge request OpenMW/openmw!4961
2025-10-25 09:53:10 +00:00
Evil Eye
d147006c64 Add integration test 2025-10-25 11:10:45 +02:00
Alexei Kotov
2708bfab9f Merge branch 'erasethechildren' into 'master'
Erase the widget we want to attach rather than the widget we're attaching to

Closes #8758

See merge request OpenMW/openmw!4962
2025-10-24 19:17:50 +03:00
Evil Eye
823dc6a896 Return type as a sol::object instead of a table proxy 2025-10-23 20:51:01 +02:00
Evil Eye
a665980d5e Erase the widget we want to attach rather than the widget we're attaching to 2025-10-23 17:23:37 +02:00
Alexei Kotov
232f963436 Update SDL controller DB 2025-10-23 00:23:45 +03:00
Alexei Kotov
2e67c8b47f Merge branch 'patch-1' into 'master'
fix typo in record-filters.rst

See merge request OpenMW/openmw!4959
2025-10-19 13:40:29 +03:00
Alexei Kotov
ce4606705f Merge branch 'permanentlyinvalid' into 'master'
Remove invalid permanent effects

Closes #8737

See merge request OpenMW/openmw!4950
2025-10-19 00:21:01 +03:00
Alexei Kotov
081cf2cf25 Merge branch 'noitemview' into 'master'
Fix UB in item view controller refocusing during redraw

Closes #8724

See merge request OpenMW/openmw!4948
2025-10-18 18:55:03 +03:00
Alexei Kotov
9caafb4033 Merge branch 'gcovr' into 'master'
Downgrade gcovr to 8.3

See merge request OpenMW/openmw!4957
2025-10-18 18:47:07 +03:00
Alexei Kotov
1f839d264d Merge branch 'fix_qt_build' into 'master'
Do not implicitly convert QByteArray to const char*

See merge request OpenMW/openmw!4941
2025-10-18 18:41:24 +03:00
hbschr
a08ffb7ad7 fix typo in record-filters.rst 2025-10-18 11:21:03 +00:00
Alexei Kotov
b7ddc8304b Cleverer filesystem path conversion for QString/QStringView 2025-10-18 13:28:30 +03:00
Evil Eye
03a46650af Merge branch 'stast_handler' into 'master'
Use abbreviation for GUI stat name

See merge request OpenMW/openmw!4952
2025-10-16 17:46:28 +00:00
Evil Eye
eb04049268 Downgrade gcovr to 8.3 2025-10-16 18:44:07 +02:00
Alexei Kotov
2c0205db79 Merge branch 'fix_msvc_tests' into 'master'
Fix tests for MSVC

See merge request OpenMW/openmw!4951
2025-10-15 21:02:06 +03:00
Evil Eye
5242610366 Differentiate between invalid and unapplied effects and stop marking unapplied revertable effects as applied in godmode 2025-10-14 21:26:06 +02:00
Evil Eye
34ff702212 Allow skills to be fortified by absorbing from a creature 2025-10-14 20:33:00 +02:00
Andrei Kortunov
ed15542d8b Use abbreviation for GUI stat name 2025-10-14 11:14:00 +04:00
Alexei Kotov
6e8322c466 Merge branch 'focus_unify' into 'master'
Unify focus object terminology

See merge request OpenMW/openmw!4949
2025-10-13 23:19:52 +03:00
Alexei Kotov
85e35cbf58 Merge branch 'i-could-be-further-away' into 'master'
CLEANUP: Always use squared distance in types.Actor.isInActorsProcessingRange

See merge request OpenMW/openmw!4945
2025-10-13 23:18:31 +03:00
Dave Corley
7e41d81c9e Always use squared distance in types.Actor.isInActorsProcessingRange 2025-10-13 23:18:31 +03:00
elsid
7bf1ea32b0
Disable not working tests for MSVC
std::streambuf in MSVC does not support buffers larger than 2**31 - 1:
https://developercommunity.visualstudio.com/t/stdbasic-stringbuf-is-broken/290124

Simple test to check if it works:

TEST(IMemStreamTest, shouldRead)
{
    std::string src(std::numeric_limits<uint32_t>::max() / 2 + 1, '\0');
    Files::IMemStream stream(src.data(), src.size());
    std::string dst(src.size(), '\0');
    stream.read(dst.data(), src.size());
    EXPECT_FALSE(stream.fail()) << std::generic_category().message(errno);
}
2025-10-12 11:11:24 +02:00
elsid
ab4637f6c7
Do not rely on std::string::reserve
Passing an object with capacity through std::ostringstream may change
its capacity. Use malloc instead to make sure the memory is allocated.
2025-10-12 11:11:22 +02:00
Evil Eye
f783993c56 Don't mark skill affecting effects as invalid if the target is a creature 2025-10-11 14:47:45 +02:00
Evil Eye
b905836f45 Remove invalid permanent effects 2025-10-11 13:21:22 +02:00
Andrei Kortunov
48e1ee3ac7 Unify focus object terminology 2025-10-11 13:01:26 +04:00
Alexei Kotov
c75aed5175 Merge branch 'solidlyrooted' into 'master'
Don't break LuaUi::Element's invariant

Closes #8720

See merge request OpenMW/openmw!4930
2025-10-11 11:59:17 +03:00
Alexei Kotov
1afbc6ba63 Fix UB in item view controller refocusing during redraw (#8724)
std::clamp's upper bound goes negative when there are no items
2025-10-11 10:26:41 +03:00
Alexei Kotov
3f6ecc4de1 Merge branch 'shield_sheath' into 'master'
Fix shield equip and unequip animations, add docs for shield sheathing feature

See merge request OpenMW/openmw!4936
2025-10-11 09:13:30 +03:00
Alexei Kotov
afe4edc3c3 Merge branch 'fix_bsatool_afl_findings' into 'master'
Fix AFL findings in bsatool

See merge request OpenMW/openmw!4925
2025-10-11 08:57:48 +03:00