elsid
|
2bbed8cc06
|
Fix gcc warning: array subscript 5 is outside array bounds of ‘const char [5]’
In function ‘bool ESM::operator==(const FixedString<capacity>&, const T* const&) [with long unsigned int capacity = 5; T = char; <template-parameter-1-3> = void]’,
inlined from ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = ESM::FixedString<5>; T2 = const char*]’ at /home/elsid/dev/googletest/build/gcc/release/install/include/gtest/gtest.h:1358:11,
inlined from ‘static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&) [with T1 = ESM::FixedString<5>; T2 = const char*; typename std::enable_if<((! std::is_integral<_Tp>::value) || (! std::is_pointer<_Dp>::value))>::type* <anonymous> = 0]’ at /home/elsid/dev/googletest/build/gcc/release/install/include/gtest/gtest.h:1377:64,
inlined from ‘virtual void {anonymous}::EsmFixedString_equality_operator_for_not_convertible_to_uint32_with_const_char_pointer_Test::TestBody()’ at apps/openmw_test_suite/esm/test_fixed_string.cpp:165:9:
components/esm/esmcommon.hpp:134:19: warning: array subscript 5 is outside array bounds of ‘const char [5]’ [-Warray-bounds]
134 | return rhs[capacity] == '\0';
| ~~~^
apps/openmw_test_suite/esm/test_fixed_string.cpp: In member function ‘virtual void {anonymous}::EsmFixedString_equality_operator_for_not_convertible_to_uint32_with_const_char_pointer_Test::TestBody()’:
apps/openmw_test_suite/esm/test_fixed_string.cpp:164:20: note: at offset 5 into object ‘other’ of size 5
164 | const char other[5] = { 'a', 'b', 'c', 'd', '\0' };
| ^~~~~
|
2023-01-06 22:09:07 +01:00 |
|
elsid
|
c80ba92ab7
|
Add more tests for ESM::FixedString
|
2023-01-06 21:00:29 +01:00 |
|
elsid
|
7c60905266
|
Put ESM::FixedString tests into unnamed namespace
|
2023-01-06 21:00:29 +01:00 |
|
psi29a
|
c9d57788fb
|
Merge branch 'save_fix' into 'master'
Clear character name in the loading menu when there are no saves left
See merge request OpenMW/openmw!2583
|
2023-01-06 18:09:00 +00:00 |
|
Andrei Kortunov
|
760135591b
|
Clear character name in the loading menu when there are no saves left (bug 7088)
|
2023-01-06 19:36:53 +04:00 |
|
psi29a
|
55ba5ed7ea
|
Merge branch 'mygui_log' into 'master'
Use OpenMW logging levels for MyGUI log
Closes #7130
See merge request OpenMW/openmw!2582
|
2023-01-06 15:09:46 +00:00 |
|
Andrei Kortunov
|
b217d1fc36
|
Use OpenMW logging levels for MyGUI log (feature 7130)
|
2023-01-06 16:01:30 +04:00 |
|
psi29a
|
452ea3d353
|
Merge branch 'skeleton_b_gone' into 'master'
Don't use a levelled creature's base pointer when spawning a new instance
See merge request OpenMW/openmw!2578
|
2023-01-06 10:14:32 +00:00 |
|
psi29a
|
0d8d15a732
|
Merge branch 'fixcolladaanimopbug' into 'master'
Fix Collada animated object bug #7051
Closes #7051
See merge request OpenMW/openmw!2565
|
2023-01-06 10:10:27 +00:00 |
|
Petr Mikheev
|
7f117a28c8
|
Merge branch 'updateluacoredoc' into 'master'
update lua doc : recordid desc
See merge request OpenMW/openmw!2576
|
2023-01-05 11:27:33 +00:00 |
|
unelsson
|
5b0713517a
|
Clang-format
|
2023-01-05 01:40:36 +02:00 |
|
unelsson
|
bfa0e751dd
|
Skip merging for only animated models (Collada)
|
2023-01-05 01:34:26 +02:00 |
|
psi29a
|
c2b0c01ff2
|
Merge branch 'addScript' into 'master'
Raise an error if initData in obj:addScript has incorrect type
See merge request OpenMW/openmw!2577
|
2023-01-04 22:53:50 +00:00 |
|
psi29a
|
319aa11d84
|
Merge branch 'l10n_rename' into 'master'
Reorganize l10n files
See merge request OpenMW/openmw!2546
|
2023-01-04 21:48:00 +00:00 |
|
Evil Eye
|
a08f37cfe8
|
Don't use a levelled creature's base pointer when spawning a new instance
|
2023-01-04 22:18:56 +01:00 |
|
Petr Mikheev
|
4b8b3a9187
|
Raise an error if initData in obj:addScript has incorrect type.
|
2023-01-04 21:40:35 +01:00 |
|
psi29a
|
7b001246ee
|
Merge branch 'l10n' into 'master'
Localization updates
See merge request OpenMW/openmw!2571
|
2023-01-04 14:33:02 +00:00 |
|
psi29a
|
1e62b84f9a
|
Merge branch 'lua_initdata' into 'master'
Allow passing `initData` to the :addSript call (#7091)
Closes #7091
See merge request OpenMW/openmw!2568
|
2023-01-04 14:32:23 +00:00 |
|
psi29a
|
ce51a0a2ad
|
Merge branch 'update_sun' into 'master'
[Postprocessing] Update sun uniforms when loading interiors
See merge request OpenMW/openmw!2574
|
2023-01-04 14:31:49 +00:00 |
|
psi29a
|
8b00ba48b7
|
Merge branch 'updatedoclua' into 'master'
update luadocumentor readme
See merge request OpenMW/openmw!2575
|
2023-01-04 14:30:30 +00:00 |
|
unelsson
|
d065dbbefa
|
Add named-based Collada recognition
|
2023-01-04 16:07:47 +02:00 |
|
Rasinin
|
02f0af42d9
|
updateluacoredoc: recordid desc
|
2023-01-04 17:59:19 +08:00 |
|
Rasinin
|
dc37fd2866
|
updateluadocumentor
|
2023-01-04 17:26:04 +08:00 |
|
unelsson
|
ba9c2c9928
|
Add TemplateRef to animated Collada model
|
2023-01-03 22:51:46 +02:00 |
|
glassmancody.info
|
6b6c732a59
|
properly update postprocess uniform for sun position in interiors
|
2023-01-03 10:16:30 -08:00 |
|
psi29a
|
a24fa3ea51
|
Merge branch 'collada_animation_layering' into 'master'
Collada animation layering
See merge request OpenMW/openmw!2475
|
2023-01-03 08:53:23 +00:00 |
|
psi29a
|
28dcde8909
|
Merge branch 'controls' into 'master'
Fix jumping (was broken by !2541)
See merge request OpenMW/openmw!2572
|
2023-01-03 08:51:21 +00:00 |
|
jvoisin
|
5fd4d1a097
|
Merge branch 'FIX_Dangling_reference' into 'master'
Fix dangling reference in openCS
See merge request OpenMW/openmw!2573
|
2023-01-02 21:35:29 +00:00 |
|
florent.teppe
|
1b66be9c70
|
Fix dangling reference.
|
2023-01-02 19:47:12 +01:00 |
|
Petr Mikheev
|
18088e3e31
|
Fix jumping (was broken by !2541)
|
2023-01-02 17:37:31 +01:00 |
|
Petr Mikheev
|
8dd2aa09ca
|
Add naming policy for scripts and l10n files to documentation
|
2023-01-02 14:38:59 +01:00 |
|
Petr Mikheev
|
8c7d347179
|
Reorganize l10n files
|
2023-01-02 13:21:05 +01:00 |
|
Alexei Kotov
|
cecc3cb736
|
Slightly more natural wording for Windowed Fullscreen hint
|
2023-01-02 14:51:25 +03:00 |
|
Alexei Kotov
|
ecadcc37bb
|
OMWControls: Russian localization
|
2023-01-02 14:50:46 +03:00 |
|
Alexei Kotov
|
563324bcff
|
Merge branch 'swedish-translations-omwcontrols' into 'master'
Updates to Swedish translations (OMWControls)
See merge request OpenMW/openmw!2569
|
2023-01-02 11:28:34 +00:00 |
|
Alexei Kotov
|
c823b66cac
|
Merge branch 'fix_docs' into 'master'
Fix incorrect description in Lua docs
See merge request OpenMW/openmw!2570
|
2023-01-02 11:27:01 +00:00 |
|
Petr Mikheev
|
1a2d6514ba
|
Fix incorrect description is Lua docs
|
2023-01-01 20:19:56 +01:00 |
|
Joakim Berg
|
f120622dad
|
Updates to Swedish translations
|
2023-01-01 14:00:32 +00:00 |
|
Petr Mikheev
|
b248c3e173
|
Allow passing initData to the :addSript call (#7091)
|
2022-12-31 22:08:17 +01:00 |
|
jvoisin
|
500e8bdf4c
|
Merge branch 'fix_magic' into 'master'
Fix 'toggle spell' control (was broken by !2541)
See merge request OpenMW/openmw!2566
|
2022-12-31 15:05:44 +00:00 |
|
Petr Mikheev
|
aabd5a98c7
|
Fix 'toggle spell' control (was broken by !2541)
|
2022-12-31 13:12:12 +01:00 |
|
unelsson
|
fe7660eec8
|
clang-format again
|
2022-12-31 00:53:36 +02:00 |
|
unelsson
|
d60fd86719
|
clang format
|
2022-12-31 00:52:05 +02:00 |
|
unelsson
|
c71504eeb0
|
Better comments
|
2022-12-31 00:35:50 +02:00 |
|
unelsson
|
4676ac4ac9
|
Cleaner code part 2
|
2022-12-31 00:35:50 +02:00 |
|
unelsson
|
960019cf65
|
Cleaner code
|
2022-12-31 00:35:50 +02:00 |
|
unelsson
|
33afcbdc13
|
Use common function for blendmask detection, remove extra debug logs
|
2022-12-31 00:35:50 +02:00 |
|
unelsson
|
2efc691736
|
clang format
|
2022-12-31 00:35:50 +02:00 |
|
unelsson
|
7ef6b3cb62
|
automatic clang format
|
2022-12-31 00:35:50 +02:00 |
|
unelsson
|
d8de56e33c
|
Coding style improvements, add Torso animation layer
|
2022-12-31 00:35:50 +02:00 |
|