Commit Graph

57452 Commits (f0fdc882ea004e48100b17fcc0cd115531c1ae17)
 

Author SHA1 Message Date
Jonathan G Rennison 77f1655686 Disable MinGW std threads includes by default
In preparation for removal later
8 months ago
Jonathan G Rennison 31d87f6101 Fix 9e8a4314: Start signal state erroneously changed if it has slot acquire 8 months ago
Loïc Guilloux 90084dc74d
Codechange: ignore duplicate script messages in regression output (#11905) 8 months ago
Jonathan G Rennison efab96b82b Set default service interval and timetable flags for virtual trains
See: #636
8 months ago
Jonathan G Rennison 18739394e1 Fix paths of content in tar files 8 months ago
Jonathan G Rennison 9bea1e3cc3 Scheduled dispatch: Allow tagging departure slots, add to conditional order 8 months ago
Jonathan G Rennison be469405df Bitmath: Add utility functions for calculating bit masks
Add tests
8 months ago
translators 809b599c21 Update: Translations from eints
english (au): 48 changes by krysclarke
english (us): 32 changes by 2TallTyler
vietnamese: 10 changes by KhoiCanDev
chinese (simplified): 46 changes by WenSimEHRP, 2 changes by XiaoJi-Game
korean: 58 changes by telk5093
russian: 57 changes by Ln-Wolf
finnish: 22 changes by hpiirai
catalan: 30 changes by J0anJosep
danish: 12 changes by bscargo
dutch: 45 changes by Afoklala
spanish: 214 changes by lrlopez
french: 8 changes by glx22
portuguese: 23 changes by azulcosta
portuguese (brazilian): 30 changes by pasantoro
polish: 4 changes by pAter-exe
8 months ago
Koen Bussemaker 5a55c4a934 Feature: [NewGRF] Allow higher max speeds for ships 8 months ago
Loïc Guilloux 461d69a8f6
Fix #11907: Allow genders for time related {UNITS_XXX} (#11908) 8 months ago
frosch 17dfc1a49a Codechange: Replace SF_GUI_NEGATIVE_IS_SPECIAL with a settings value callback. 8 months ago
frosch 28c83089f6 Codechange: Remove TKM string code. 8 months ago
frosch 9344b50435 Codechange: Remove TKM from settings texts. 8 months ago
frosch 9e9a8ca7f6 Codechange: Add callbacks to IntSettingDesc to support dynamic strings for title, help and values. 8 months ago
frosch 022b9e92d2 Codechange: Move settings string formatting into IntSettingDesc members. 8 months ago
frosch a9d1078434 Codechange: Remove TKM from town action tooltips. 8 months ago
frosch abfeeea849 Codechange: Compose engine preview text from multiple strings. 8 months ago
frosch 68c64d2511 Codechange: Remove TKM string codes by duplicating strings. 8 months ago
frosch bd3d687bf9 Codechange: Merge all BaseGraphWindow widget enums into one.
Previously it relied on some enum entries using the same integer value.
8 months ago
frosch 69f47caf3f Codechange: Remove TKM from vehicle list sorting dropdowns. 8 months ago
frosch 9741510396 Fix: Wallclock setting should not affect percent-based service interval increments. 8 months ago
Jonathan G Rennison 0a16ba1bd7 Scheduled dispatch: Add dispatch slot tooltip 8 months ago
Tyler Trahan 86981c0983
Fix: Extra refit button when train/RV is in a depot (#11904) 8 months ago
Patric Stout 05b253b33b
Fix ea8c1d85: improve smoothness of smooth-scrolling for 60+Hz screens (#11884) 8 months ago
Jonathan G Rennison 6c329871f1 Scheduled dispatch: Add per dispatch slot flags field
Add flag for slot re-use
8 months ago
Jonathan G Rennison dee611f5f3 Remove incorrect check from CmdScheduledDispatchAdjust 8 months ago
Jonathan G Rennison 1edc828b76 Pre-filter object descriptors in order save/load 8 months ago
Jonathan G Rennison bd51b1b69a Remove pre-init of static vector in train speed adaptation map save/load 8 months ago
SamuXarick 0c4e509b60
Fix #10439: [GS] Validate story page button colour, flags, cursor and vehicle type (#11892)
Adds GSStoryPage::IsValidStoryPageButtonColour, GSStoryPage::IsValidStoryPageButtonFlags and GSStoryPage::IsValidStoryPageButtonCursor to the API.

Add missing enforced preconditions to validate parameters passed to MakePushButtonReference, MakeTileButtonReference and MakeVehicleButtonReference.
8 months ago
Jonathan G Rennison 3a4623c027 Scheduled dispatch: Add slot remove mode, label last/next slots otherwise 8 months ago
SamuXarick 76f0f9e386
Fix #10438: [GS] Validate story page element type for ScriptStoryPage::NewElement (#11888)
Fixes a crash that happens if an invalid StoryPageElementType is passed to ScriptStoryPage::NewElement.

Adds an enforced precondition that tests the validity of StoryPageElementType.

Adds GSStoryPage::IsValidStoryPageElementType to the API.
8 months ago
Jonathan G Rennison ae801818ed Scheduled dispatch: Adjust window/button layout
Split window vertically into sections
8 months ago
Peter Nelson 009fea0e14 Fix: Memory leak in ICUParagraphLayout::NextLine() (#11895)
This function calls icu::BreakIterator::createLineInstance() but does not clean up after it.

Instead use a static instance that is cloned (for thread-safety) and deleted as necessary.

(cherry picked from commit 6d276698b6)
8 months ago
Peter Nelson 6d276698b6
Fix: Memory leak in ICUParagraphLayout::NextLine() (#11895)
This function calls icu::BreakIterator::createLineInstance() but does not clean up after it.

Instead use a static instance that is cloned (for thread-safety) and deleted as necessary.
8 months ago
Jonathan G Rennison 5b052ff91a Avoid truncation when calculating AircraftCache::cached_max_range_sqr 8 months ago
Jonathan G Rennison 1df7b21ee3
Fix #11889: ConstructWindow not called from SurveyResultTextfileWindow constructor (#11903) 8 months ago
Peter Nelson 0619b0d5da Clear mismatched translations of STR_CONFIG_SETTING_CHUNNEL_HELPTEXT 8 months ago
Patric Stout 250cf4f153
Doc: Forwardport changelog from 13.x branch (#11901) 8 months ago
TELK b3ee22cdd3 Update: Korean translation for 592c038 8 months ago
TELK 0db3aee7b5 Update: Korean translation up to 0.56.2 8 months ago
Peter Nelson 4bf9c123d3 Fix: TextfileWindow called virtual methods before constructor completed. (#11889)
SetStringParameters() was called during widget tree init in the constructor.

Calls within a constructor cannot call the derived classes methods. This would result in invalid data being passed to the string system, which could then crash.

(cherry picked from commit fef0bfcfd3)
8 months ago
Kuhnovic a7c2f489f6 Fix #5713: FindClosestShipDepot only considers depots that are actually reachable (#11768)
(cherry picked from commit 8a4a99b7e8)
8 months ago
Peter Nelson d3c673e20b
Fix #11894: Defer window OnResize event to avoid processing multiple times per input tick. (#11900) 8 months ago
Patric Stout 8c5ad1ade7
Fix fd9e72a7: actually use the parameter value instead of the current date (#11898) 8 months ago
Jonathan G Rennison f9321686a7 Remove old reference to FindLastBit64 from tests 8 months ago
Jonathan G Rennison 2e93daf93b Advance _scaled_date_ticks in scenario editor
For timetables and train speed adaptation
8 months ago
Jonathan G Rennison 7db457ad80 Use _scaled_date_ticks in ODATFB_NEAREST_DEPOT rate-limiting 8 months ago
Jonathan G Rennison 1ce8930583 Use DateTicksScaled for Vehicle::last_loading_tick 8 months ago
Jonathan G Rennison 74686b9c63 Add an AsTicksT template cast with clamping to DateTicksScaledDelta
Implement AsTicks in terms of AsTicksT
8 months ago
Jonathan G Rennison 521281446c Update NETWORK_GAME_INFO_VERSION to version 7 8 months ago