Commit Graph

28049 Commits (f09fda1ff0b91d3a0007a65033c5891ac349120c)
 

Author SHA1 Message Date
translators dadf5182d8 Update: Translations from eints
english (au): 2 changes by krysclarke
russian: 3 changes by Ln-Wolf
finnish: 2 changes by hpiirai
portuguese (brazilian): 2 changes by pasantoro
10 months ago
PeterN bd150df914
Codechange: Reorder some high-use structs to reduce their size. (#11201)
This reduces GoodsEntry from 144 to 136 bytes (thereby reducing Station from 9704 bytes to 9192 bytes), and CargoPacket from 40 bytes to 32 bytes.
10 months ago
translators 5c2e4ee6fe Update: Translations from eints 10 months ago
glx22 b0f8890ba5 Codechange: [CMake] detect source files with duplicate names 10 months ago
glx22 c77184aa35 Codechange: [CMake] reduce code duplication 10 months ago
Bouke Haarsma 7e54418022
Codechange: workaround CMake/Xcode duplicate file name issue (#11186)
Having a library with files with the same name isn't supported in CMake's Xcode project file generation: https://gitlab.kitware.com/cmake/cmake/-/issues/20501. One of the files is renamed to work around this bug.
10 months ago
Michael Lutz 0089323542 Add: [Script] Custom news message text for industry SetProductionLevel. 10 months ago
Michael Lutz 1c56991213 Add: [Script] Game script control of industry production level. 10 months ago
mrmbernardi a5c8365aa4
Feature: Setting to disallow level crossings with competitors (#10755) 10 months ago
frosch 236ec41fa2
Fix #11230: Group list widget layout failed, if dropdown widgets were higher than the font height. (#11231) 10 months ago
translators 6ab169fbe0 Update: Translations from eints
dutch: 1 change by Afoklala
10 months ago
Patric Stout 7afd686541
Codechange: add tests for GS <-> AdminPort JSON conversion (#11252)
While at it, fix a bug where booleans were made integers.
10 months ago
Patric Stout 993e7be707
Fix: [Script] GSAdmin.Send() could generate invalid JSON (#11250) 10 months ago
glx22 4eddec9e79 Add: [Emscripten] Support for bootstrapping 10 months ago
glx22 3d1c4a8589 Codechange: [Emscripten] Improve syncfs synchronisation on exit/abort 10 months ago
Patric Stout 75d3dc0a19
Codechange: [Emscripten] remove "relative_mode" parameter from -vsdl as it doesn't exist (#11249) 10 months ago
Patric Stout 502414b567
Fix: [Emscripten] config not saved on exit game (#11248)
When changing a Game Option and pressing Exit Game, the changes
were not actually stored. This because the post-mainloop code
was never executed for Emscripten.
10 months ago
Patric Stout 2f96ccc18a
Add: [CI] Create and store breakpad symbols for releases (#11247)
Additionally, also store PDB and exe files on the Symbol Server
for easier debugging with MSVC.
10 months ago
Patric Stout ecb4bb5161
Change: for surveys capture more information about the OpenTTD version (#11244) 10 months ago
translators 5e75afb628 Update: Translations from eints
catalan: 2 changes by J0anJosep
10 months ago
Patric Stout a3d631ffed
Change: make nlohmann a mandatory library to build OpenTTD (#11235) 10 months ago
Patric Stout 13b76b0243
Fix: [CI] don't install breakpad on arm64-windows-static, as it is not supported (yet) (#11242) 10 months ago
Patric Stout 110dd0e6c1
Fix: [CI] Allow release-flow to run in forks (while skipping survey-key) (#11241) 10 months ago
Patric Stout abc060525d
Add: calendar date for Survey results
This means no heuristics is possible on around which date people
play the game.
10 months ago
Patric Stout b0d7cfaa3d
Change: [Win32] don't allocate 192KiB of memory on the stack on crash (#11240)
Heap is out of the question, as it might be corrupted.
Allocating this much on stack is silly.

So instead, allocate virtual pages to write the information in.
10 months ago
Patric Stout de5e338a76
Change: mention in MacOS / Windows crashlog popup when files couldn't be generated (#11239)
For example, if the crash.sav couldn't be created, and the TryExcept
detected an issue, write out that the file is not available in
the popup.
10 months ago
Joan Josep be9a690f41
Fix #9642: Keep infrastructure totals when overbuilding road depots. (#11229) 10 months ago
Patric Stout d4312c59a4
Codechange: [MacOS] use backtrace() instead of our custom variant (#11233)
As mentioned in the comment, we only did it ourselves as we once
were compatible with versions before 10.5. But that time has long
gone. So let's update the code to a bit more modern approach.
10 months ago
Joan Josep 5e6b5d981f
Codechange: Use existing functions in GetMonthlyInfrastructureCosts. (#11237) 10 months ago
Patric Stout b00e483b0f
Change: recover when possible from crashes during a crash (#11238) 10 months ago
translators 99e4a14cdf Update: Translations from eints
english (au): 1 change by krysclarke
finnish: 3 changes by hpiirai
danish: 1 change by bscargo
french: 1 change by glx22
portuguese (brazilian): 1 change by pasantoro
10 months ago
Patric Stout 29a37c2e0b
Change: [Win32] unify the crashlog handler with the other OSes (#11236)
While at it, make the crash text a bit more readable, and sync
this with MacOS.
10 months ago
translators f2841e62d9 Update: Translations from eints
russian: 1 change by Ln-Wolf
turkish: 1 change by densxd
portuguese: 1 change by azulcosta
polish: 3 changes by pAter-exe
11 months ago
translators 6726918ab0 Update: Translations from eints
catalan: 30 changes by J0anJosep
11 months ago
Richard Wheeler 96fdfb941a
Feature: Transparency option for cost and income indicators (#11001) 11 months ago
Joan Josep a938067d6b
Codechange: Invalid depot value is unrelated to invalid station value. (#11227) 11 months ago
Joan Josep ead5284476
Doc: Improve the example given for fall throughs. (#11228) 11 months ago
translators 9aef380c99 Update: Translations from eints
italian: 43 changes by Rivarossi
french: 1 change by ottdfevr
11 months ago
translators 4d4a046d23 Update: Translations from eints
polish: 2 changes by pAter-exe
11 months ago
Jonathan G Rennison 2cbd76593a
Fix #11215: Assert in NewGRF parameters window (manual parameter mode) (#11217) 11 months ago
Rubidium 6635f809dd Fix #11181: attempting to read string as int triggers assertion 11 months ago
Jonathan G Rennison 8df4aa7979
Fix: Road stops should not draw a ground sprite of 0 (#11214) 11 months ago
Patric Stout 45cc3acaf5
Codechange: [Win32] unify AppendDecodedStacktrace and LogStacktrace (#11220)
AppendDecodedStacktrace was already doing the same as LogStacktrace,
just with a different name.
11 months ago
translators bc2dfc4691 Update: Translations from eints
turkish: 2 changes by BeratSJ
11 months ago
Patric Stout 352ac264a5
Remove: [Win32] module-list from crash.log (#11219)
Only Windows implemented this, and it opens the files to read them
to get a CRC. Doing this in a crash-handler is strange at best.

Lastly, nobody has actually ever used this information to come to
some sort of conclusion. The module-list is used in combination
with the crash.dmp, but this information is already embedded in
there.
11 months ago
Patric Stout f120d2beb8
Add: use breakpad to create crash.dmp on MacOS / Linux too (#11202)
Normally only the Windows platform could create a crash.dmp, making
analysing crash-reports from MacOS / Linux rather tricky.
11 months ago
Patric Stout 8f6df242c4
Remove: [Win32] (pointer-only) stack trace in crash.log (#11211)
It only contains pointers, which nobody can decipher anyway.
So instead, just report "Not supported", like other targets do
when they can't print a sane stack trace.
11 months ago
Patric Stout a5aebeb1b5
Remove: [Win32] register values in crash.log (#11212) 11 months ago
Loïc Guilloux 8c9ecde964
Change: Remove autosave from settings window (#11218)
It is broken since 4f4810d and it's also in game options.
11 months ago
translators 93f4f1e83a Update: Translations from eints
german: 40 changes by Wuzzy2
11 months ago