1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-31 21:18:26 +00:00
Commit graph

37311 commits

Author SHA1 Message Date
AnyOldName3
c1f9bd2931 Fix DebugOutput
https://gitlab.com/OpenMW/openmw/-/issues/8944
2026-01-27 00:28:49 +00:00
Alexei Kotov
6b3a3418c2 Merge branch 'timingismagic' into 'master'
Address magic effect timing issues

Closes #8929

See merge request OpenMW/openmw!5128
2026-01-27 00:35:40 +03:00
Alexei Kotov
f57884c424 Merge branch 'globalSearchRegexCheck' into 'master'
[OpenCS] Validate regex patterns and fix Replace in global search view

Closes #7152

See merge request OpenMW/openmw!5127
2026-01-26 22:59:03 +03:00
AnyOldName3
7541206d7a Merge branch 'docurl' into 'master'
Fix launcher documentation link (#8934)

See merge request OpenMW/openmw!5113
2026-01-26 14:36:16 +00:00
Aussiemon
0ca93eb23e Move search result count persistence to tableSizeUpdate 2026-01-26 02:57:54 -07:00
Aussiemon
98f309d7f8 Update result count after replace 2026-01-26 01:47:12 -07:00
Aussiemon
a969a7fc44 Set result count through operationDone instead 2026-01-26 01:35:41 -07:00
Aussiemon
8a769464fb Lock replace button when no search results 2026-01-25 13:35:15 -07:00
Aussiemon
294e62719b Group setter methods together 2026-01-25 12:52:43 -07:00
Alexei Kotov
e7933da84e Pattern validation rewrite 2026-01-25 12:18:19 -07:00
Aussiemon
b607a6a98a Call update instead of direct disable 2026-01-25 01:13:47 -07:00
Aussiemon
2770145272 We don't need so many negations 2026-01-25 00:23:12 -07:00
Aussiemon
5269688efc Minor comment consistency 2026-01-25 00:15:19 -07:00
Aussiemon
911d588d0a Cleaner condition handling and edit lock 2026-01-24 23:56:38 -07:00
Aussiemon
98c912f813 Don't tint replace text 2026-01-24 12:04:16 -07:00
Evil Eye
86f689b73f Remove duplicate effects naturally instead of immediately 2026-01-24 15:29:49 +01:00
Evil Eye
ce76f7f938 Move spelleffects methods into an anonymous namespace 2026-01-24 15:29:47 +01:00
Evil Eye
ae2635cb4e Merge branch 'Link-Effects-to-Skills-and-Attributes-via-Flags' into 'master'
Link magic effects to skills and attributes via flags

See merge request OpenMW/openmw!5114
2026-01-24 10:45:30 +00:00
Aussiemon
12ec0dd60d Fix bad dynamic cast in subview 2026-01-23 01:14:37 -07:00
Aussiemon
2b43186d0e More complex global search handling 2026-01-23 01:14:22 -07:00
Telvanni 4Life
7b85802957 - Removed SpellEffectParams equality operator.
- Improved logic for handling skill and attribute association.
2026-01-22 20:53:17 -05:00
AnyOldName3
3512054da7 Merge branch 'ci-tweaks-2022-rebased-2026-plus-msbuild' into 'master'
CI tweaks 2022

See merge request OpenMW/openmw!5085
2026-01-23 00:07:09 +00:00
Aussiemon
ca1dbb7437 Validate regex patterns in global search 2026-01-22 16:49:46 -07:00
Telvanni 4Life
43c9424ebd Changed magicEffects parameter to be instantiated via constructor injection 2026-01-22 18:30:52 -05:00
Telvanni 4Life
51bf0074ad - Changed set and get methods in magic effect adapters to use MGEF context to determine skill and attribute associations.
- Changed SpellEffectParams equality operator in widgets to fetch skill and attribute associations via MGEF in ESM store.
2026-01-22 18:30:52 -05:00
Telvanni 4Life
8d23662cf2 Implemented setter injection to supply MGEF context to magic effect adapters 2026-01-22 18:30:52 -05:00
jvoisin
851f69609f Merge branch 'sanitizeWidgetInputs' into 'master'
Clamp widget extension size and position calculation to prevent crashes, performance problems

See merge request OpenMW/openmw!5004
2026-01-21 22:02:02 +00:00
Aussiemon
1cb8965f27 Clamp widget extension size and position calculation to prevent crashes, performance problems 2026-01-21 22:02:02 +00:00
AnyOldName3
9a1107072b Add more files to naughty list
After a very tedious process, I got a log of the PeakPagedMemorySize64 of every TU (provided it lived long enough to do a query).

Everything that reported over a billion has been added to the list.
One file was removed because it didn't actually use that much.

This wasn't entirely foolproof - I can run it again single-threaded so cooperation over codegen threads won't throw the numbers off if this turns out not to fully solve the problem.
2026-01-21 19:16:27 +00:00
AnyOldName3
23a7df4f24 Array 2026-01-21 00:33:39 +00:00
AnyOldName3
17e184f103 Use deps versions in the key
Should be less prone to being forgotten.
2026-01-21 00:32:02 +00:00
AnyOldName3
3b7437170a Revamp cacheinit jobs
* build components so there's something in ccache
* clear the existing cache by using policy: push
* initialise ccache for both groups as components is part of both of them
2026-01-19 17:52:38 +00:00
AnyOldName3
9846ea2a49 Get rid of _symbols.zip
We don't use it for anything anymore now that the symbol server is reliable.
2026-01-19 15:12:07 +00:00
Alexei Kotov
dc022d10d4 Merge branch 'Assign-RefIds-to-MagicEffects' into 'master'
Assign StringRefIds to magic effects

See merge request OpenMW/openmw!5064
2026-01-18 01:50:55 +03:00
Alexei Kotov
d920e58cfe Fix launcher documentation link (#8934) 2026-01-17 17:48:35 +03:00
AnyOldName3
9bb5ef06ec Cache size can be smaller now there aren't several huge PCHs that need to be included
Sizes verified with https://gitlab.com/AnyOldName3/openmw/-/pipelines/2268240021

Ignore the build failures - Ananace's S3 storage was temporarily down.
2026-01-17 02:35:41 +00:00
AnyOldName3
ddf715f148 Accidental double space 2026-01-17 00:50:27 +00:00
AnyOldName3
3cf755266f Prefer add_compile_definitions
add_definitions is really add_any_compiler_flag_you_want
2026-01-17 00:50:12 +00:00
AnyOldName3
4ea6374a9e Ensure Win32 character set definitions are consistent
Qt 6 made it so anything that linked with it had the defines that put the Win32 API into UTF-16 mode.

That means that components (which we reuse the PCH for in multiple targets now) had incompatible defines, and the PCHs wouldn't work.

Before CMP0204, CMake wouldn't set these defines at all except with the Visual Studio generators, so this wasn't causing any problems that caused a compile error when I tested a Ninja-based build.
2026-01-17 00:46:54 +00:00
Alexei Kotov
74387b4694 Merge branch 'omegamap' into 'master'
Don't let alpha enable the local map

See merge request OpenMW/openmw!5109
2026-01-16 23:13:27 +03:00
Alexei Kotov
0902ea33c9 Merge branch 'trueflame' into 'master'
Don't use container listeners to effect UI updates

Closes #8820

See merge request OpenMW/openmw!5068
2026-01-16 09:48:51 +03:00
AnyOldName3
24d07da29c Rejig components defines
OPENMW_DOC_BASEURL is only used in a CMake-configured file, so it only needs to be a CMake variable, which it already is.
There's no benefit to making it visible to every TU in components.

MYGUI_DONT_USE_OBSOLETE should be visible in everything that transitively includes MyGUI just in case.
This should really be set up by MyGUI's CMake config or embedded in a generated MyGUI header rather than being our responsibility, but while we're forced to deal with it, it's closer to right to make it a PUBLIC define on components rather than a directory-scoped define in the components directory.
2026-01-15 18:35:12 +00:00
AnyOldName3
e68d4317c4 Get rid of unique PCHs from targets with three or fewer translation units
Precompiled headers avoid duplicate work.
If you've only got a single TU using a particular PCH, then there's no duplicate work, so it can only add overhead.

We don't need to totally abandon PCHs for these targets, though, as CMake lets us reuse the PCH from components.

If you've only got a few TUs in a target, it's *probably* faster to get components' PCH for free and eat the cost of it not being perfect than it is to make a perfect PCH from scratch.

Note that I don't know if there are drawbacks due to components having a couple of private precompiled headers that wouldn't have otherwise propagated or these targets having different build flags.
I can't test it locally right now as my linker's regained the deadlocking issue it had the other day.
If it turns out there are problems, then for the single-TU targets, simply avoiding using PCHs for them at all will still be an improvement over the status quo.
For the two-or-three TU targets, we'll have to actually measure things.
2026-01-15 17:44:32 +00:00
Evil Eye
22b0386fb5 Don't let alpha enable the local map 2026-01-15 16:34:51 +01:00
jvoisin
3ac8eb0787 Merge branch 'changelog' into 'master'
Sync the changelog

See merge request OpenMW/openmw!5098
2026-01-13 22:18:12 +00:00
Alexei Kotov
c4ab0d7e2f Sync the changelog for 0.51.0 2026-01-13 03:28:11 +03:00
Alexei Kotov
7daecbac66 Merge branch 'staaats' into 'master'
Deduplicate stats cache usage

Closes #8897

See merge request OpenMW/openmw!5093
2026-01-13 00:36:24 +03:00
AnyOldName3
8843ce2ec7 Keep CMakeCache.txt as an artefact
This might help diagnose some build problems in the future.

In fact, I need one for MacOS right now, and need to run a job on the upstream CI with this change to get one, so hijacking my existing CI MR seems like a great solution.
2026-01-12 15:19:17 +00:00
Evil Eye
998065618f Deduplicate stats cache usage 2026-01-11 13:34:21 +01:00
jvoisin
9233f82113 Merge branch 'maxlightsvalue' into 'master'
Display Max Lights value as an integer

See merge request OpenMW/openmw!5091
2026-01-11 00:12:24 +00:00