Commit Graph

33612 Commits (28131fd62ba7fef091e2cb67670529bc280af033)
 

Author SHA1 Message Date
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
psi29a f06b93d019 Merge branch '1.0milestone' into 'master'
Replace readme 1.0 label link with 1.0 milestone link (#7876)

Closes #7876

See merge request OpenMW/openmw!3946
10 months ago
psi29a dce0a9e11e Merge branch 'sea-cache' into 'master'
MSVC CCache support

See merge request OpenMW/openmw!3938
10 months ago
psi29a df1be7102f Merge branch 'resolution_follow_up' into 'master'
Partially revert 5dcac4c48f

See merge request OpenMW/openmw!3940
10 months ago
Alexei Kotov 75d4ea5d5d Replace readme 1.0 label link with 1.0 milestone link (#7876) 10 months ago
psi29a b5b6744321 Merge branch 'hotfix_ui_update' into 'master'
Fix Lua UI updates

See merge request OpenMW/openmw!3936
10 months ago
psi29a 0557a649ce Merge branch 'skill-used-rework' into 'master'
Rewrite SkillProgression.skillUsed to allow directly adding xp

See merge request OpenMW/openmw!3927
10 months ago
psi29a 3cb8d05fe5 Merge branch 'vfs_normalized_path_4' into 'master'
Use VFS::Path::Normalized in few more places

See merge request OpenMW/openmw!3934
10 months ago
psi29a 466f31a032 Merge branch 'shadersorffp' into 'master'
Log whether shaders or FFP are used for rendering

See merge request OpenMW/openmw!3937
10 months ago
AnyOldName3 7ec723e9b9 More sensible conditions 10 months ago
uramer eba4ae94b0 Fix re-rendering of settings on value changes 10 months ago
uramer af8662daee Detach Lua Elements properly from their parent 10 months ago
Andrei Kortunov f7e5ef74c6 Partially revert 5dcac4c48f 10 months ago
Alexei Kotov 30f314025a Log whether shaders or FFP are used for rendering 10 months ago
AnyOldName3 6cf0b9990d Don't bother setting up CCache for MSBuild builds
It can't work as it ignores compiler launchers
10 months ago
AnyOldName3 7b89ca6bb2 Make CCache work for MSVC builds with debug symbols 10 months ago
uramer 0f60052bb8 Set Element state in Element::create 10 months ago
Mads Buvik Sandvei 57d7f5977c Bump interface version 10 months ago
AnyOldName3 72cf015401 Make ccache viable for Windows Release builds 10 months ago
Mads Buvik Sandvei 7cb316f3c9 Docu fix 10 months ago
psi29a 61d01f3b62 Merge branch 'openmw-sv-2024-03' into 'master'
Bring sv translations up to date

See merge request OpenMW/openmw!3926
10 months ago
Joakim Berg 709c12053a Bring sv translations up to date 10 months ago
psi29a 6f9ceff3f3 Merge branch 'windows_build' into 'master'
Add option to disable precompiled headers

See merge request OpenMW/openmw!3933
10 months ago
psi29a ef8228f2f3 Merge branch 'fix/hardcoded-weather-meshes' into 'master'
Fix: hardcoded weather meshes, use settings instead

See merge request OpenMW/openmw!3880
10 months ago
psi29a c3a44ca74a Merge branch 'mapped' into 'master'
Track map position using MWWorld::Cell

See merge request OpenMW/openmw!3932
10 months ago
elsid cc35df9409
Use VFS::Path::Normalized for fx::Technique file path 10 months ago
elsid ffbeb5ab98
Build localization path using VFS::Path::Normalized 10 months ago
elsid 84adb0a148
Make VFS::Path::Normalized constructor from std::string_view explicit 10 months ago
Evil Eye 504a9e7d43 Address feedback 10 months ago
jvoisin a63528343d Merge branch 'master' into 'master'
conf.py: Set navigation_with_keys to allow navigating documentation through arrow keys

See merge request OpenMW/openmw!3930
10 months ago
psi29a a926f4a5a9 Merge branch 'alt_tab_fix' into 'master'
Do not treat Alt-Tab as resolution change

Closes #7866

See merge request OpenMW/openmw!3931
10 months ago
psi29a f09f5c644c Merge branch 'update_setting_pages' into 'master'
Optimize setting group rendering

See merge request OpenMW/openmw!3929
10 months ago
elsid 5859fd464c
Add option to disable precompiled headers
To be able to use ccache.

Also fix compilation errors appeared due to absence of precompiled
headers.
10 months ago
Evil Eye b055367b3b Track map position using MWWorld::Cell 10 months ago
Andrei Kortunov 5dcac4c48f Do not treat Alt-Tab as resolution change (bug 7866) 10 months ago
psi29a 65d51665e5 Merge branch 'fix_osg_utf8_build' into 'master'
Fix build with OSG_USE_UTF8_FILENAME

See merge request OpenMW/openmw!3928
10 months ago
Sam Hellawell c6ee01b0be Apply fix to sky manager
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
10 months ago
Sam Hellawell bf7819f71d fix clang format 10 months ago
Sam Hellawell f28b3f6601 Style tweak
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
10 months ago
Sam Hellawell af8c2a94df Fix: hardcoded weather meshes, use settings instead
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
10 months ago
Martin d8c74e1d62 conf.py: Set navigation_with_keys to allow navigating documentation through arrow keys 10 months ago
uramer a11e553de4 Optimize setting group rendering by rendering them as separate elements, support element-rendered setting renderers 10 months ago
uramer 9ae61f1932 Fix child UI Elements created in the same frame as parent 10 months ago
uramer 7a5493796f Update setting page elements when possible 10 months ago
elsid 5acfb07850
Fix build with OSG_USE_UTF8_FILENAME 10 months ago
Mads Buvik Sandvei 312f6c90e0 Rewrite SkillProgression.skillUsed to allow directly adding xp instead of going via useType. 10 months ago
psi29a 231b5753e4 Merge branch 'launcher_help_version' into 'master'
Open matching version of documentation for Launcher Help

See merge request OpenMW/openmw!3909
10 months ago
psi29a effb4fc383 Merge branch 'whoanotouchy' into 'master'
Properly calculate touch spell hit position (#6156)

Closes #6156

See merge request OpenMW/openmw!3920
10 months ago
psi29a 8efba50fe3 Merge branch 'macos-14-xcode-15' into 'master'
bump macos to macos-14-xcode-15

See merge request OpenMW/openmw!3921
10 months ago
psi29a 9434f52c14 Merge branch 'fix/less-strict-ids' into 'master'
Fix(idvalidator): Allow any printable character in refIds

Closes #7721

See merge request OpenMW/openmw!3896
10 months ago