Changelog

Die letzten Änderungen an "Return to the Roots"
1a6432e s25client 22.05.2025 19:10 Flamefire Use C++17 variable templates for traits
365b058 libutil 22.05.2025 19:09 Flamefire Use C++17 variable templates for traits
edc5719 libsiedler2 22.05.2025 19:09 Flamefire Use C++17 variable templates for traits
db38823 libendian 22.05.2025 19:07 Flamefire Use C++17 variable templates for traits
0d2a837 s25client 04.05.2025 20:09 Flamefire Workaround missing include in kaguya
46ad2b1 s25client 28.04.2025 12:37 Flamefire Test caching of map when connecting to server
a735f72 s25client 28.04.2025 11:57 Flamefire Avoid random failures in network tests

The tests verify the expected flow of events/state machine in the client
during a connect-map-download cycle.
If the map exists the flow is different as the map is reused and not
requested again.

Use a new folder for each test to avoid this.
9323310 s25client 25.04.2025 18:45 Flamefire Print ConnectState/ClientState in test
fc73e9e s25client 24.04.2025 11:25 Flamefire Use variable instead of repeating `$DIR/..`
8c5e62c s25client 24.04.2025 11:21 Flamefire Fix quoting in `rttr.sh`

Fixes #1763
7f36be5 s25client 24.04.2025 10:54 Flamefire Ensure include depth is decreased on error
5476493 s25client 23.04.2025 15:39 Flamefire Make found SampleRate target global

The `find_package` would otherwise only scope it to the current folder.
49333bc s25client 23.04.2025 14:40 Flamefire Suppress warnings of unset policies
de8395f s25client 23.04.2025 13:01 Flamefire Use official target name for libsamplerate

There already is an existing target so use that directly instead of an unscoped one.
Also fix the FetchContent path to use `find_package` first before downloading anything.
Changing the name allows `FetchContent_MakeAvailable` possibly reuse it.
e43d35d s25client 23.04.2025 12:53 Flamefire Update Git version of libsamplerate

CMake 4 removes support for CMake 3.5 which fails building libsamplerate.
Use a commit hash to get a version with an included fix for this.
5c6db98 s25client 19.04.2025 13:14 Flamefire Test error case of loading game data
37b6447 s25client 19.04.2025 13:13 Flamefire Add class for scoped RTTRConfig overriding

Make existing fixture implementation reusable.
dd75997 s25client 19.04.2025 13:12 Flamefire Remove try-catch that cannot be reached

`loadScript` catches errors and just returns true/false.
5ee171f libsiedler2 18.04.2025 21:03 Flamefire Update latest Clang/GCC
791e6b2 libutil 18.04.2025 20:34 Flamefire Disable Wnoexcept for GCC 9

False positives when using e.g.:
struct Example{
std::pair<unsigned, int> v {01, 02};
};
e17fb5c libsiedler2 18.04.2025 20:04 Flamefire GHA: Use Boost 1.73 for GCC 9

An undefined `PTHREAD_STACK_MIN` causes a compile failure otherwise.
0d97404 s25client 18.04.2025 19:57 Flamefire Update CI runners

Ubuntu 20.04 will be removed soon and is in brownout phase.
Clang-11 on 22.04 fails to work with Google Benchmark (Error using `<regex>`)
d6ed079 libsiedler2 18.04.2025 19:49 Flamefire Update GHA runners to Ubuntu 22
27e35ea s25client 18.04.2025 19:27 Flamefire Fix failure to detect load failure

The error member might be set in a nested includes error handler and the
`|=` might have read the old "true" value as the error is not further
propagated.
As a failing include should stop the script evaluation throw an
exception propagating upwards.
I.e.
main: include(foo)
foo: include(bar)
bar: error out
foo stores error from including bar

Previously foo then continued and hence main also did.
Not foo aborts too causing main to also abort.
cd45177 s25client 18.04.2025 19:26 Flamefire Use existing function to set LUA error handler
50949d1 s25client 08.04.2025 21:19 Flamefire Fix counting of includes

The first include is at a depth of zero. So we can do 10 includes till
the maxDepth of 10 and the 11th would error.
0dad69e libsiedler2 05.04.2025 21:10 Flamefire Use working Boost versions for CI
8245c9a s25client 05.04.2025 21:03 Flamefire Update minimum CMake version

CMake 4 dropped compatibility for 3.5 and deprecated 3.10
3.16 or higher is available at virtually all supported Ubuntu versions.
acdefe0 libsiedler2 05.04.2025 21:01 Flamefire Update GHA config
0ec492e s25edit 05.04.2025 20:55 Flamefire Update minimum CMake version to 3.16
f6376a5 libutil 05.04.2025 20:55 Flamefire Update minimum CMake version to 3.16
da6d200 libsiedler2 05.04.2025 20:55 Flamefire Update minimum CMake version to 3.16
32404f6 liblobby 05.04.2025 20:54 Flamefire Update minimum CMake version to 3.16
22430c6 libendian 05.04.2025 20:54 Flamefire Update minimum CMake version to 3.16
26583be turtle 05.04.2025 20:38 Flamefire GHA: Fix doc build

Use Boost 1.87 to include fix for libxslt 1.1.35: https://github.com/boostorg/boostbook/issues/14
d675a05 turtle 05.04.2025 20:27 Flamefire Require CMake 3.16

With CMake 4 compatibility with CMake 3.5 was dropped and 3.10 deprecated.
Use a reasonably new lower bound based on Ubuntu 20
9c02687 s25client 13.03.2025 21:23 Flamefire Consistenly catch by const-ref
5dd0526 s25client 03.03.2025 09:38 Flamefire Fix size of Settings window

The rowWidth constant use was missing the adjustment for the left offset.
The window height also needs to be adjusted.
Before: Last control y = 124+26=150, height=172 (i.e. +22)
Now : Last control y = 177 -> +22 = height
73dd50d s25client 25.02.2025 16:39 Flamefire Merge pull request #1747 from Return-To-The-Roots/settings-wnd-size

Adjust size of checkboxes in settings window
992c227 s25client 25.02.2025 15:35 Flamefire Merge pull request #1745 from Flamefire/ship-window

Don't draw content of ship window if minimized
c8cf430 s25client 25.02.2025 15:02 Flamefire Delete all CMakeFiles folders before build

They might contain stale objects leading to
```
/usr/bin/ld: CMakeFiles/s25client.dir/s25client.cpp.o: in function `(anonymous namespace)::handleException(void*) [clone .constprop.0]':
s25client.cpp:(.text+0x18b2): undefined reference to `DebugInfo::SendStackTrace(std::vector<void*, std::allocator<void*> > const&)'
```
fdbd9d9 s25client 25.02.2025 14:56 Flamefire Merge branch 'master' into ship-window
51c0bcc s25client 25.02.2025 14:44 Flamefire Fix possible quoting issues
a9e4c6e s25client 25.02.2025 14:37 Flamefire Merge pull request #1726 from Return-To-The-Roots/Flamefire-patch-1

Don't use vendored dependencies in "dev-tools" (by default) if RTTR_USE_SYSTEM_LIBS is set
1d71f08 s25client 25.02.2025 14:33 Flamefire Use per-architecture ccache folders

Avoid conflicts and polution
0bafe19 s25client 25.02.2025 13:17 Flamefire Merge branch 'master' into Flamefire-patch-1
627dba4 languages 24.02.2025 00:42 sirRobeN Polish translation update (#37)

* Polish translation update
8c44f5b s25client 23.02.2025 17:19 Flamefire Ensure required io_new graphics are loaded for tests

Also replace manual loops by `helpers::range` in LOADER for consistency
26465f2 s25client 23.02.2025 15:06 Flamefire Update languages
4536506 languages 23.02.2025 15:05 sirRobeN Polish localization update (#36)

* Polish translation update

Polish translation update to the latest version from Launchad including missing lines in version 0.9.5.
Several changes and spelling mistakes corrected.

* Polish translation update

Update to the latest Launchpad version with some additional typos and double spaces correction.

* Sort translations

* Polish translation update

Small number of corrections
Pass on variables - some were not in line with Source strings.
File SORTED.

* Polish translation update

- some variables corrected to match the Source; example: %s => %1%
- tweaks and corrections
- GF lines pass for "Klatki gry (GF)" to keep consistency
- file SORTED

* Polish translations update

- Variables pass to match the Source
- Double spaces and typos
- Some corrections (style)
- Some corrections to lines for GF - Klatki gry - consistency pass
- File order SORTED

* Polish translation - 2 new lines

Added translations for 2 new lines

---------