Rubidium
f214c81e97
Codechange: simplify some complicated logic
2025-03-16 15:12:02 +01:00
Rubidium
d6a1a0b058
Codechange: simplify logic and prevent invalid bit
2025-03-16 14:14:21 +01:00
Rubidium
b4e5b12047
Codechange: remove unneeded locking from SmallStack
2025-03-16 14:13:51 +01:00
Patric Stout
b28b35c239
Fix: [CI] Disable CodeQL TRAP Cache, as it trashes our cache ( #13832 )
...
Each cache is ~1GB. And you can only have 10GB of cache. So after
10 runs, our cache is full of trap caches.
The kicker? We don't actually benefit from this cache. It is only
used if you re-run CodeQL over the exact same codebase (without
changes), to quickly re-evaluate the latest CodeQL set. We are
way to active to have any benefit from that, and we don't run
CodeQL on a schedule to ever pick up on the cache.
2025-03-16 11:48:41 +00:00
Rubidium
ec647975ad
Cleanup: remove ancient FIXME comments
2025-03-16 05:42:29 +01:00
Rubidium
2b9c94f55a
Fix: don't show owner of non-existent road
2025-03-16 05:42:29 +01:00
Peter Nelson
3b004c57bc
Codechange: Use EnumBitSet for AdminUpdateFrequency. ( #13819 )
2025-03-15 21:18:20 +00:00
Koen Bussemaker
8d4639e525
Fix: Error message window timeout doesn't match setting
2025-03-15 22:08:19 +01:00
Rubidium
ccca7fc2b4
Codechange: remove unused INVALID_TRACK_BIT
2025-03-15 22:03:17 +01:00
enveeed
b0cc56a8b5
Fix: NewGRF vehicles display loading sprites when not actually loading or unloading ( #13554 )
2025-03-15 16:58:47 -04:00
rubidium42
2fed4b0059
Codechange: simplify code ( #13822 )
2025-03-15 21:49:07 +01:00
Rubidium
c13226cdf8
Codefix: do not leave pointers to stack allocations in globals
2025-03-15 21:46:43 +01:00
Rubidium
dae788e2e3
Codefix: do not trust allocation sizes coming from a file
2025-03-15 21:44:40 +01:00
Rubidium
f794ee028b
Codefix: potential division by zero in midi reader
2025-03-15 21:44:18 +01:00
Rubidium
6d0ba270d2
Codefix: do not use an invalid iterator
2025-03-15 21:43:56 +01:00
Rubidium
24f79d2ab7
Codefix: wrong type for choice list mapping
2025-03-15 21:43:18 +01:00
Rubidium
cf96a97e95
Codefix: remove unneeded looping logic
2025-03-15 21:42:28 +01:00
Peter Nelson
62b8b93476
Codechange: Add default initialisation for Rect to remove MemSetT.
2025-03-15 20:09:38 +00:00
Peter Nelson
c905472650
Codechange: Use std::array for vehicle sorting/grouping options to remove MemSetT.
2025-03-15 20:09:38 +00:00
Peter Nelson
653e886d26
Codechange: Use std::array in OpenGLSprite to remove MemSetT.
2025-03-15 20:09:38 +00:00
Peter Nelson
a87b804386
Fix #13760 : Store encoded error message inside CommandCost. ( #13764 )
...
Encoded error message was previously static to avoid memmory allocation, however this causes complications.
2025-03-15 20:09:11 +00:00
frosch
0cd87bc8c1
Fix: Don't add chars with unspecified signedness to pointers. ( #13828 )
2025-03-15 18:48:26 +01:00
frosch
4f63340f8d
Codechange: Replace a raw pointer with std::optional. ( #13809 )
2025-03-15 16:52:12 +01:00
SamuXarick
f6b0f7848b
Add: [Script] Newer Cargo Classes ( #13779 )
2025-03-15 16:51:56 +01:00
Loïc Guilloux
c5ec8fb05f
Fix #13814 , 2824e790: A Set() became Reset() preventing initial sorting of lists ( #13816 )
2025-03-14 21:15:42 +01:00
Rubidium
ac2087a3eb
Codefix: remove some logically dead code
2025-03-14 16:26:21 +01:00
frosch
dbea968f4f
Codefix 20e57a02a28: String parameters were off by one. ( #13810 )
2025-03-14 15:22:30 +01:00
Peter Nelson
bd5d47836d
Codechange: Use EnumBitSet for EdgeUpdateMode. ( #13808 )
2025-03-14 09:01:10 +00:00
translators
8191f39649
Update: Translations from eints
...
chinese (traditional): 11 changes by KogentaSan
spanish (mexican): 5 changes by absay
2025-03-14 04:43:31 +00:00
Charles Pigott
bcabc3b780
Codechange: Upgrade fmt to 11.1.4 ( #13807 )
2025-03-13 21:52:47 +00:00
Rubidium
18e1440947
Codefix: move or pass by reference instead of copy
2025-03-13 21:16:16 +01:00
Rubidium
754311a779
Codechange: use std::move when appropriate
2025-03-13 13:00:24 +01:00
SamuXarick
05ce0828c0
Change: Use max of calculated and minimal heights in ScriptLeagueWindow ( #13720 )
2025-03-13 08:39:26 +00:00
Peter Nelson
8b39b23d2b
Codechange: Use EnumBitSet for VehicleFlags. ( #13793 )
2025-03-13 08:38:54 +00:00
Björn Wärmedal
dc343ca141
Fix: GenerateCompanyName sends incorrect renaming event ( #13794 )
2025-03-13 08:24:35 +00:00
translators
70c2a666bc
Update: Translations from eints
...
spanish (mexican): 7 changes by absay
czech: 39 changes by adamek0202
2025-03-13 04:45:10 +00:00
Rubidium
2b88f58384
Codefix: add move operators to SQObjectPtr
2025-03-12 22:05:02 +01:00
Rubidium
35ef197be4
Codefix: potential integer overflow before widening integer
2025-03-12 22:00:44 +01:00
Rubidium
02f1bc0880
Codefix: remove some logically dead code
2025-03-12 22:00:33 +01:00
Rubidium
8f3bfb61bd
Codefix: remove structurally dead code
2025-03-12 21:03:55 +01:00
Rubidium
d96f359b3c
Codefix: potential dangling pointer in strgen
2025-03-12 20:59:47 +01:00
Rubidium
0fde979b21
Codefix: check for errors in the function getting the socket error
2025-03-12 17:55:34 +01:00
Rubidium
486ad7d416
Codefix: check curl_easy_setopt executes properly, or show a debug message
2025-03-12 17:55:34 +01:00
Rubidium
32b2de36ef
Codefix: check the table header is actually being read
2025-03-12 17:55:34 +01:00
Rubidium
649ed702cc
Codefix: potential unintended sign extension
2025-03-12 17:03:35 +01:00
translators
cdcc6b491d
Update: Translations from eints
...
spanish (mexican): 9 changes by absay
2025-03-12 04:46:00 +00:00
Peter Nelson
3336f13a63
Fix #13795 : size_t mayn't be the same size as uint64_t. ( #13796 )
2025-03-11 17:55:33 +00:00
translators
40ddc03423
Update: Translations from eints
...
spanish (mexican): 62 changes by absay
2025-03-11 04:44:39 +00:00
Peter Nelson
3eb89f04b5
Codechange: Use EnumBitSet for QueryStringFlags. ( #13792 )
2025-03-10 18:59:35 +00:00
Peter Nelson
1a53b48422
Codechange: Use EnumBitSet for PartsOfSubsidy. ( #13791 )
2025-03-10 18:59:21 +00:00