Commit Graph

18 Commits (master)

Author SHA1 Message Date
elsid 92a0bbb454
Use normalized path in l10m manager 4 months ago
AnyOldName3 ff3ffa13b6 Auto format 10 months ago
AnyOldName3 28131fd62b Fixes for a whole bunch of warnings
These warnings were always enabled, but we didn't see them due to https://gitlab.com/OpenMW/openmw/-/issues/7882.
I do not fully understand the cause of 7822 as I can't repro it in a minimal CMake project.

Some of these fixes are thought through.
Some are sensible best guesses.
Some are kind of a stab in the dark as I don't know whether there was a
possible bug the warning was telling me about that I've done nothing to
help by introducing a static_cast.

Nearly all of these warnings were about some kind of narrowing
conversion, so I'm not sure why they weren't firing with GCC and Clang,
which have -Wall -Wextra -pedantic set, which should imply -Wnarrowing,
and they can't have been affected by 7882.

There were also some warnings being triggered from Boost code.
The vast majority of library headers that do questionable things weren't
firing warnings off, but for some reason, /external:I wasn't putting
these Boost headers into external mode.

We need these warnings dealt with one way or another so we can switch
the default Windows CI from MSBuild (which doesn't do ccache) to Ninja
(which does).
I have the necessary magic for that on a branch, but the branch won't
build because of these warnings.
10 months ago
elsid ffbeb5ab98
Build localization path using VFS::Path::Normalized 10 months ago
Andrei Kortunov 9a7b9572fd Deploy base Qt translations when needed 11 months ago
Petr Mikheev 718d5e4a71 Add setting "gmst overrides l10n" 2 years ago
Petr Mikheev 618b912a20 Dehardcode non-game-specific localization GMSTs; Update l10n files. 2 years ago
Petr Mikheev 58fdd687a8 Support links to GMST in l10n files 2 years ago
Petr Mikheev e70ab80b90 Ignore duplicated preferred l10n locales 2 years ago
Bret Curtis db2368fced small fix for gcc12 2 years ago
Petr Mikheev 3697c9266b Separate l10n manager from lua 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
AnyOldName3 4e8e2e1c60 Eliminate &thing[0] pattern 2 years ago
elsid 316f666e77
Avoid constructing icu::StringPiece from std::string directly
Otherwise it causes a crash on Windows when OpenMW is built in debug
mode but ICU not.
3 years ago
Petr Mikheev 86d6ab593e Fix #6731 3 years ago
Bret Curtis 7fe6c39aa2 const the key/value 3 years ago
Bret Curtis db3f9da08a coverity fixes and other bits 3 years ago
Benjamin Winger 21ffbcc4b4 Lua i18n updates 3 years ago