Commit Graph

34892 Commits (95a1183ad36c8547f904c65eedee933192c8fcfa)
 

Author SHA1 Message Date
AnyOldName3 387b63909b Remove vestigial Boost libraries
Boost::zlib is basically part of Boost::iostreams, and depending on how you configure Boost, it can either be a separate library or get embedded into iostreams.
With the third-party-but-linked-on-Boost's-website package we've been using for years, it's a separate library.
Before https://gitlab.com/OpenMW/openmw/-/merge_requests/4307, we needed to explicitly link with it as CMake wasn't handling transitive dependencies for us.
With vcpkg, it's embedded, and doesn't have its own CMake config, so we couldn't explicitly link with it even if we wanted to.

Now CMake *is* handling transitive dependencies for us, we don't even need to think about this library.
It's all automatic.

Boost::locale, on the other hand, used to be something we used directly (I think for doing UTF-16/UTF-8 conversions when dealing with Windows paths).
However, it isn't anymore, and we just didn't purge it from our CMake when we should have.
It can go.
4 months ago
AnyOldName3 26be98966f Modernise Boost CMake stuff
Resolves https://gitlab.com/OpenMW/openmw/-/issues/8100

Also removes some old crud.
Hopefully the old crud is all:
* Handled automatically by CMake now we're using the modern approach.
* A hack-fix for a problem caused by not using the modern approach.
* Massively outdated so no longer necessary.

If it turns out this makes CI fail, I'll tweak things as necessary.

Changes that might not be wanted include:
* Getting rid of our BOOST_STATIC CMake option. In cases where the CMake config doesn't make the one correct choice from the build environment (i.e. because there's a choice) the CMake config exposes the option already.
  However, we were forcing this on for Windows, so that might matter.
  It seems to default to static on my machine even though I thought I read something suggesting otherwise, so we'll see how things go with that.
  If we eventually put CMake in charge of installing dependency DLLs this will be a moot point as we won't need to care.
* Bumping the minimum version of Boost to 1.70.0, as that's the first with working CMake config.
  It's from 2019, so plausibly there are distros too scared to use a library from five years ago as it can't legally drink in the US (although it could in limited quantities with parental supervision in the UK, as long as it's just something inconsequential like a single sip of beer).
4 months ago
AnyOldName3 0e2119c638 Ditch old AppVeyor stuff
We've not used AppVeyor for years.
If we started again, it'd use a different version of Boost and that aspect would need redoing anyway.
Everything else that was AppVeyor-specific is something we've got away without in GitLab CI so can't have been especially important.
4 months ago
Alexei Kotov 3a9e6de6fd Alternate row colors in directory and archive list 4 months ago
Alexei Kotov 951c440c8b Don't apply normal weapon resistance twice for NPCs (#8124) 4 months ago
jvoisin 830a26f75e Merge branch 'realloc' into 'master'
Don't assume realloc always succeeds

See merge request OpenMW/openmw!4331
4 months ago
psi29a 3c0353e8e2 Merge branch 'vcpkg_deps' into 'master'
Use vcpkg packages by before_scripts.msvc.sh (#7863)

See merge request OpenMW/openmw!4308
4 months ago
Evil Eye c9783344a0 Wrap all memory allocating Lua functions in protected calls 4 months ago
Alexei Kotov 03e8b8db0d Merge branch 'vcpkg-bump-to-openmw_2' into 'master'
Update vcpkg deps commit

See merge request OpenMW/openmw!4333
4 months ago
psi29a 566e5b5588 Merge branch 'some-launcher-fixes' into 'master'
Some launcher fixes

Closes #8080

See merge request OpenMW/openmw!4287
4 months ago
elsid 0c15b403dd
Use vcpkg packages by before_scripts.msvc.sh 4 months ago
Evil Eye aa808d63bc Return nullptr straight away 4 months ago
AnyOldName3 a4a1f55736 Update vcpkg deps commit 4 months ago
psi29a 10419adc58 Merge branch 'vfs_normalized_path_8' into 'master'
Use normalized path for l10n manager

See merge request OpenMW/openmw!4329
4 months ago
elsid 58b72e3836
Access channels and controls via at function
To avoid UB on out of range access.
4 months ago
elsid ca2bacd47a
Revert "Ability to unbind controls in settings menu"
This reverts commit 0836680e36.

To prevent crashes on empty input bindings config.
4 months ago
elsid 6a5bc9f992
Save and rename input bindings file
To reduce the chance of corrupting the file.
4 months ago
Evil Eye 4652151630 Don't assume realloc always succeeds 4 months ago
AnyOldName3 16fc0541da Escape ' 4 months ago
AnyOldName3 5e78135f72 French translation from Jvoisin 4 months ago
elsid 92a0bbb454
Use normalized path in l10m manager 4 months ago
psi29a 527fa053c5 Merge branch 'actions_patchup' into 'master'
Lua Actions patchup

See merge request OpenMW/openmw!4311
4 months ago
psi29a 3489609987 Merge branch 'someone-thought-they-were-writing-docs-in-markdown' into 'master'
Improve formatting after someone pointed out a problem on Discord

See merge request OpenMW/openmw!4322
4 months ago
uramer 2460b5f4ef Merge branch 'swizzle_bop_boom_bazingle_v2' into 'master'
lua - add swizzling to vector types

See merge request OpenMW/openmw!4304
5 months ago
AnyOldName3 0d0e80f2a1 Improve formatting after someone pointed out a problem on Discord
and then I noticed a bunch of other problems
5 months ago
psi29a dc9c68f61b Merge branch 'fix_android_openmw' into 'master'
Keep separation between openmw and openmw-lib on Android

See merge request OpenMW/openmw!4221
5 months ago
uramer d8cd0788e4 Merge branch 'madsbuvi-master-patch-56327' into 'master'
Update lua api revision

See merge request OpenMW/openmw!4320
5 months ago
psi29a 1d836dedc8 Merge branch 'remove_find_recastnavigation' into 'master'
Remove no longer required FindRecastNavigation.cmake

See merge request OpenMW/openmw!4316
5 months ago
Mads Buvik Sandvei fadcf5d255 Update lua api revision 5 months ago
psi29a 73ee8ccc4e Merge branch 'rewrite-vfx' into 'master'
[Lua] Rewrite addvfx and spawnvfx

See merge request OpenMW/openmw!4314
5 months ago
elsid e186e4f7ae
Remove no longer required FindRecastNavigation.cmake
It's possible to find the library without having it. But also it prevents target
options from propagation to the openmw targets.
5 months ago
Mads Buvik Sandvei cd7017e0e4 use string_view 5 months ago
Mads Buvik Sandvei 9811eb7d32 docs typo 5 months ago
Mads Buvik Sandvei 7f0f2373ea Use sol::optional for optional table instead of function overloading. 5 months ago
AnyOldName3 4ae239a0ee sv translation from Lysol 5 months ago
psi29a c8c09b1905 Merge branch 'thirstytherana' into 'master'
Prevent spell priority skyrocketing in useless cases

Closes #8102

See merge request OpenMW/openmw!4310
5 months ago
psi29a 9234b5707f Merge branch 'breaklilacor' into 'master'
Allow GetEffect to detect 0 magnitude spells

Closes #8097

See merge request OpenMW/openmw!4297
5 months ago
psi29a 4938525f75 Merge branch 'github_windows_ci_tests' into 'master'
Run unit tests and benchmarks in windows CI job on github

See merge request OpenMW/openmw!4313
5 months ago
Mads Buvik Sandvei 09f6daf155 Rewrite addvfx and spawnvfx to take a model path instead of a static. Mode vfx from core to world. Add event handlers for AddVfx and SpawnVfx. 5 months ago
psi29a a2805de0bc Merge branch 'fix_integration_tests' into 'master'
Increase Lua memory limit for integration tests

See merge request OpenMW/openmw!4312
5 months ago
elsid d4990f5707
Run unit tests and benchmarks in windows CI job on github 5 months ago
elsid a376d20c30
Fix tests on windows 5 months ago
elsid 64ebe08a78
Increase Lua memory limit for integration tests
To avoid failures like https://gitlab.com/OpenMW/openmw/-/jobs/7534143520.
5 months ago
psi29a 7e96e7f4a3 Merge branch 'keyboard_navigation_doc' into 'master'
Document the keyboard navigation setting

See merge request OpenMW/openmw!4309
5 months ago
Anton Uramer 266cb319f1 Document the keyboard navigation setting 5 months ago
psi29a 24bb61d798 Merge branch 'madsbuvi-master-patch-75370' into 'master'
Documentation typo

See merge request OpenMW/openmw!4305
5 months ago
psi29a 761957d28c Merge branch 'less_strict_test' into 'master'
Make test for navmeshdb limit less strict

See merge request OpenMW/openmw!4306
5 months ago
uramer 9a15d5095c Clarify action/trigger usage in input module docs 5 months ago
uramer ab628ea12a Fix memory safety of actions/triggers iteration 5 months ago
uramer 2df8c13525 Lua triggers to cover remaining deprecated actions 5 months ago