Commit Graph

27572 Commits (9584cb7ac2083ab01e8c05cb7cde00cd5a77b55f)
 

Author SHA1 Message Date
elsid 9584cb7ac2
Use fixed size types for serialization 3 years ago
psi29a 1b3acc85f7 Merge branch 'sort_me_baby_one_more_time' into 'master'
NiSortAdjustNode support (#6600)

Closes #6600

See merge request OpenMW/openmw!1644
3 years ago
psi29a b011809056 Merge branch 'master' into 'sort_me_baby_one_more_time'
# Conflicts:
#   components/nif/niffile.cpp
3 years ago
psi29a 0cae7c85dd Merge branch 'fix_iterator_conversion' into 'master'
Fix compilation error with -D_GLIBCXX_DEBUG

See merge request OpenMW/openmw!1668
3 years ago
psi29a ce30e28137 Merge branch 'ci_debug_with_asserts' into 'master'
Build tests by gcc with enabled stdlibc++ assertions in debug mode

See merge request OpenMW/openmw!1669
3 years ago
elsid d96e2037e3
Build tests by gcc with enabled stdlibc++ assertions in debug mode
This can catch some problems in the code like out of bounds access for
string_view element via operator[] when it refers a buffer larger than the
view.
3 years ago
elsid de7f9f6439
Replace raw for loop by algorithm
To fix compilation error with -D_GLIBCXX_DEBUG:
/home/elsid/dev/openmw/apps/openmw/mwdialogue/dialoguemanagerimp.cpp: In member function ‘virtual void MWDialogue::DialogueManager::write(ESM::ESMWriter&, Loading::Listener&) const’:
/home/elsid/dev/openmw/apps/openmw/mwdialogue/dialoguemanagerimp.cpp:679:78: error: no matching function for call to ‘__gnu_debug::_Safe_iterator<std::_Rb_tree_const_iterator<std::__cxx11::basic_string<char> >, std::__debug::set<std::__cxx11::basic_string<char> >, std::bidirectional_iterator_tag>::_Safe_iterator(std::__debug::set<std::__cxx11::basic_string<char>, Misc::StringUtils::CiComp>::const_iterator)’
  679 |         for (std::set<std::string>::const_iterator iter (mKnownTopics.begin());
      |                                                                              ^
3 years ago
psi29a 4a2302ff2b Merge branch 'hand_to_nixhound' into 'master'
Disallow non-bipedal hand-to-hand refreshes

See merge request OpenMW/openmw!1667
3 years ago
Alexei Kotov 4fdf55601c Merge branch 'bigboi' into 'master'
Force a scale update when changing view modes

Closes #6623

See merge request OpenMW/openmw!1662
3 years ago
psi29a 8da1cc3dd2 Merge branch 'fix-6618' into 'master'
Fix #6618

Closes #6618

See merge request OpenMW/openmw!1666
3 years ago
psi29a cc8d05bd9a Merge branch 'async_save_map' into 'master'
Write png image of the global map for save asynchronously

See merge request OpenMW/openmw!1656
3 years ago
Evil Eye 7bd4971e0c Disallow non-bipedal hand-to-hand refreshes 3 years ago
psi29a b73eaadf20 Merge branch 'use_utf8_string_view' into 'master'
Avoid extra copy for Utf8Encoder::getUtf8 result

See merge request OpenMW/openmw!1661
3 years ago
psi29a 3af037d2ae Merge branch 'esm4' into 'master'
ESM4 Support

See merge request OpenMW/openmw!1610
3 years ago
ζeh Matt 0ce29a6131
Simplify logic in AiSequence::execute 3 years ago
uramer b81d4cc11c Merge branch 'fix_string_view_init' into 'master'
Initialize string_view with explicit size (#6625)

Closes #6625

See merge request OpenMW/openmw!1665
3 years ago
ζeh Matt e60e0b55eb
Fix potential another crash 3 years ago
ζeh Matt 83be3826ff
Fix #6618: Crash due to iterator invalidation 3 years ago
elsid b96c41df07
Initialize string_view with explicit size
Otherwise size is detected by null terminating character.
3 years ago
Bret Curtis 0f43455dc3 merge in master 3 years ago
elsid 139ae9325a Fix compile errors by using StatelessUtf8Encoder 3 years ago
elsid 4a06351c3b update to_utf8 and translation to make use of new stateless utf8 3 years ago
psi29a d680870e8f Merge branch 'fix_aabb' into 'master'
Fix btAABB initialization (#6489)

Closes #6489

See merge request OpenMW/openmw!1664
3 years ago
psi29a b24f23b6de Merge branch 'fix_utf8_resize' into 'master'
Fix buffer resizing by StatelessUtf8Encoder

See merge request OpenMW/openmw!1663
3 years ago
elsid 2e38f0b641
Fix btAABB initialization 3 years ago
elsid 875d9dcead
Fix buffer resizing by StatelessUtf8Encoder 3 years ago
Evil Eye f9da792386 Force a scale update when changing view modes 3 years ago
psi29a 8a0fb4d633 Merge branch 'stateless_utf8_encoder' into 'master'
Add StatelessUtf8Encoder to support caller provided buffer for output

See merge request OpenMW/openmw!1660
3 years ago
psi29a 776b286286 Merge branch 'esm_name' into 'master'
Use ESM::NAME instead of const char* and std::string as argument type

See merge request OpenMW/openmw!1659
3 years ago
elsid 3305b400dc
Use ESM::NAME instead of const char* and std::string as argument type 3 years ago
elsid c044bef6a7
Add StatelessUtf8Encoder to support caller provided buffer for output 3 years ago
elsid fbbf871067
Avoid extra copy for Utf8Encoder::getUtf8 result 3 years ago
elsid b617d0aec4 Merge branch 'fix_empty_utf8' into 'master'
Fix out of bounds access for std::string_view

See merge request OpenMW/openmw!1658
3 years ago
psi29a be761b5c07 Merge branch 'charming_stats' into 'master'
Third time's the charm

Closes #6611

See merge request OpenMW/openmw!1657
3 years ago
elsid 071ab3f650
Fix out of bounds access for std::string_view 3 years ago
Evil Eye 649c2f8286 Fix stats not working right for saves started before version 17 3 years ago
Petr Mikheev 72e76ad820 Merge branch 'Issue-6598' into 'master'
Update overview.rst (#6598)

See merge request OpenMW/openmw!1655
3 years ago
David Nagy d787317df9 Update overview.rst (#6598) 3 years ago
psi29a 149ef56b60 Merge branch 'utf8_encoder_tests' into 'master'
Add tests for Utf8Encoder

See merge request OpenMW/openmw!1654
3 years ago
elsid a4d7b72511
Write png image of the global map for save asynchronously
Write global map to the save file last to give more time for async job to
finish.
3 years ago
elsid b43eb29465
Log duration of writing save game file 3 years ago
elsid 7884a01026
Add tests for Utf8Encoder 3 years ago
psi29a bd8c75daee Merge branch 'quest_redo' into 'master'
Restart all quests with the same name when a quest is restarted

Closes #6606

See merge request OpenMW/openmw!1651
3 years ago
psi29a a2a741c71f Merge branch 'lua_require' into 'master'
Allow `require` to return not a table in Lua

See merge request OpenMW/openmw!1650
3 years ago
psi29a e42d3a2000 Merge branch 'anim-creature-docs' into 'master'
Documentation how to get an Animated creature in OpenMW

See merge request OpenMW/openmw!1190
3 years ago
Matjaž Lamut 2d4d28fb8e Documentation how to get an Animated creature in OpenMW 3 years ago
Petr Mikheev d8127fdad2 Merge branch 'refactor/aisequence-2' into 'master'
#6091: Optimize isInCombat

See merge request OpenMW/openmw!1636
3 years ago
Matt 367bdcf0cc #6091: Optimize isInCombat 3 years ago
psi29a cd8967e265 Merge branch 'utf8_encoder_string_view' into 'master'
Use std::string_view for argument and return type of Utf8Encoder functions

See merge request OpenMW/openmw!1652
3 years ago
jvoisin 17ecaf177a Merge branch 'nif_refactor' into 'master'
Refactor some parts of nif loading code

See merge request OpenMW/openmw!1648
3 years ago