Commit Graph

29511 Commits (86e32631d7f962f35bf552366b6e11979fbd3a57)
 

Author SHA1 Message Date
yeah-its-gloria 071796660d Fix: Implement support for secure state coding on macOS
Fixes a warning when running on macOS 14 and newer about not officially supporting secure state coding.
4 months ago
yeah-its-gloria c2daabc010 Fix: Add entitlements needed for plugins on macOS
Fixes social plugin loading on macOS, particularly for Steam.
4 months ago
Jonathan G Rennison b2572c7ca8 Fix #12563: Race condition setting finish flag in WinHTTP 4 months ago
translators 9f13d3ff2b Update: Translations from eints
chinese (simplified): 2 changes by WenSimEHRP
greek: 11 changes by gh658804
4 months ago
Tyler Trahan 8f6e21617f
Fix #12591: Give descriptive error when station construction fails due to wrong layout (#12678) 4 months ago
Rubidium b2f1a06def Change: support listing/updating authorized keys of companies by the admin in the console 4 months ago
Rubidium fea9ffa808 Codechange: also allow removing clients from the company allow lists 4 months ago
Peter Nelson 8a6745b26f
Codechange: Use PIP instead of spacer widgets for OSK spacing. (#12709)
This (slightly) simplifies the OSK widget layout.
4 months ago
Peter Nelson 766350bfd2
Fix: Hide empty house 'classes' in house picker. (#12694)
Picker class list should not list classes with no items. The house picker could break this 'rule' with NewGRFs loaded.
4 months ago
Peter Nelson 7e12b5ff0f
Fix: Crash if interface scale or font size changes with chat box present. (#12705)
Caused by the chat box being undrawn with the new dimensions, leading to out-of-bounding memory access.
4 months ago
Jonathan G Rennison 42fc32243d
Fix #12681: Abstract filetype not set for network client join savegames (#12701) 4 months ago
Peter Nelson 19ca4089a1
Codechange: Use std::filesystem::exists instead of access. (#12702) 4 months ago
translators 5bc3723bcc Update: Translations from eints
czech: 11 changes by vladoschreiner
4 months ago
Peter Nelson 5442b0dd2d
Fix: Make progress bars obey language direction. (#12704)
With RTL languages, progress bars should start from the right.
4 months ago
Peter Nelson 28e814f62a
Codechange: Use L"" instead of _T("") (#12703) 4 months ago
translators fb4a370d3f Update: Translations from eints
vietnamese: 13 changes by KhoiCanDev
chinese (simplified): 1 change by WenSimEHRP
finnish: 11 changes by hpiirai
french: 29 changes by ottdfevr
polish: 1 change by aefoes
4 months ago
translators 46d7586ab1 Update: Translations from eints
estonian: 8 changes by siimsoni
chinese (simplified): 4 changes by ahyangyi
korean: 13 changes by telk5093
4 months ago
Loïc Guilloux 29ce013eda
Codechange: Pass avail(able) as reference instead of pointer since they are never nullptr (#12696) 4 months ago
Peter Nelson ba47d1ca2b
Fix: Allow resolving house parent scope (town) of unbuilt houses. (#12695)
Return unavailable variable result, instead of nullptr dereference.
4 months ago
Peter Nelson 3f5a354f37
Codechange: Use emplace with ICURun and UniscribeRun. (#12693) 4 months ago
Peter Nelson 856ec901ca
Fix #12685: nullptr dereference when checking for equal loaded/loading groups. (#12686)
Always treat empty groups as non-equal. Given that the case of both being empty is handled earlier, they cannot both be equal and empty.

Additionally if a loaded or loading set are all the same, only add one reference.
4 months ago
translators 7fd2487c46 Update: Translations from eints
swedish: 6 changes by joeax910
chinese (simplified): 2 changes by WenSimEHRP
dutch: 27 changes by Afoklala
4 months ago
Peter Nelson 8d26d032e1
Fix #12497: [NewGRF] Increase vehicle motion counter for all parts. (#12561)
NewGRFs relied on the incorrectly motion counter that was 'fixed' in #12229, so always update v->motion_counter for all vehicle parts.
4 months ago
Peter Nelson c85481564f
Codechange: Use reusable temporary buffer in Win32FontCache. (#12666)
This avoids allocating and deleting a temporary buffer for every glyph that is rendered into a sprite.
4 months ago
Peter Nelson 4940b6ff0b
Codefix: Compile warning with newer C++ compiler on MinGW. (#12689)
> template-id not allowed for constructor in C++20
4 months ago
translators 26113e3622 Update: Translations from eints
english (au): 11 changes by krysclarke
swedish: 7 changes by joeax910
english (us): 11 changes by 2TallTyler
chinese (simplified): 11 changes by WenSimEHRP
russian: 11 changes by Ln-Wolf
catalan: 11 changes by J0anJosep
portuguese: 13 changes by azulcosta
portuguese (brazilian): 11 changes by pasantoro
4 months ago
Peter Nelson ca52da6c95
Fix: Unable to choose a font containing hyphen. (#12684)
FcNameParse may require some characters be escaped. Instead, pass name as FC_FAMILY.
4 months ago
Peter Nelson d1b7619822
Change: Ignore min/max years for manual house placer. (#12687) 4 months ago
translators 56ea002283 Update: Translations from eints
catalan: 16 changes by J0anJosep
latvian: 2 changes by lexuslatvia
4 months ago
Peter Nelson 980dcaac6e
Cleanup: Remove GetFontTable from FontCache. (#12677)
This interface is no longer used, so does not need to be implemented.

Removes manual memory management with malloc/free.
4 months ago
Peter Nelson ed67aedabf Feature: Allow manually placing town buildings in scenario editor.
House picker is accessed from the Landscaping toolbar as there is no town toolbar.

Once placed these houses behave like any other and can be removed by players and towns.

Uses the unified picker system, so also supports used/saved favourites. As town building don't have class labels, town zones are use to imitate them.
4 months ago
Peter Nelson 874cfe000b Codechange: Set underlying type for HouseSpec enums. 4 months ago
Peter Nelson b731ab0632 Change: Allow sprite resolver to evaluate non-existent houses.
This could previous be done but only with a town and tile in mind, but for drawing in the UI, neither of those exist yet.
4 months ago
Peter Nelson d99c1337a2 Add: Command to build an individual house on a specific tile. 4 months ago
Peter Nelson f901722066 Codechange: Rename BuildTownHouse to TryBuildTownHouse. 4 months ago
Tyler Trahan bb77d16e40
Add: Shade button to waypoint picker (#12682) 4 months ago
Muxy 486af1a6fc Fix: [Admin] #12411 Send Network Welcome Packet to admin port after game creation completed
WelcomeAll moved into NetworkOnGameStart

Signed-off-by: Muxy <muxy@goulp.net>
4 months ago
Peter Nelson 460fab920c
Fix #12418, 338def1b06: Filename extension taken from wrong string. (#12680) 4 months ago
Rubidium 00c4b232b3 Fix #12550: files were not saved in the right location when binary and configuration are in the same folder 4 months ago
translators 3f06aa441b Update: Translations from eints
english (us): 17 changes by 2TallTyler
greek: 147 changes by KyriakosMich
4 months ago
Tyler Trahan 9f63b9f65d
Fix #12594: Give descriptive error when company takeover fails due to vehicle limit (#12676) 4 months ago
translators 870149406a Update: Translations from eints
chinese (simplified): 23 changes by WenSimEHRP
russian: 17 changes by Ln-Wolf
portuguese (brazilian): 8 changes by pasantoro
4 months ago
Peter Nelson 18e56df5e1
Fix #12674: Non-NewGRF Build Station widgets may not fill window properly. (#12675)
Allow labels in Build Station window to fill width as needed.
4 months ago
Peter Nelson f2f7573c3f
Fix #12668: Crash opening picker window with filter when no results available. (#12669)
When first opening the picker window, we attempt to find a valid class and type to select. If the picker window was closed with filters enabled, there may not be anything list that is usable.

Resolve this by using callbacks to find the first usable type when no types are listed.
4 months ago
Rubidium 77c188e6da Codechange: use std::vector instead of malloced array 4 months ago
Rubidium 6cea49c117 Codechange: replace uint with size_t in binary heap 4 months ago
Rubidium 8349203038 Cleanup: remove unused Aystar variables 4 months ago
Peter Nelson 77a7113ba6
Cleanup: Remove unused parameters from FreeTypeFontCache::SetFontSize. (#12663) 4 months ago
Rubidium f939e81bf0 Fix #12655, 4f6d75f: inconsistent state in client list and potential crash after client leaves 4 months ago
translators 95a89e43b2 Update: Translations from eints
english (au): 16 changes by krysclarke
chinese (simplified): 16 changes by XiaoJi-Game
korean: 19 changes by telk5093
russian: 1 change by Ln-Wolf
finnish: 16 changes by hpiirai
lithuanian: 1 change by khamper
portuguese: 17 changes by azulcosta
portuguese (brazilian): 16 changes by pasantoro
4 months ago