Commit Graph

24201 Commits

Author SHA1 Message Date
Charles Pigott baf5bf29fa Update: New release 2020-08-09 18:53:55 +01:00
Charles Pigott 2a083e6c0d Update: Backport language changes 2020-08-09 18:53:55 +01:00
Charles Pigott d9702c9d20 Fix: Compiler warnings about memsetting non-trivial classes 2020-08-09 18:53:55 +01:00
dP f8bbd8dea0 Change #8159: Remove now unused town cargo caches without bumping the savegame version 2020-08-09 18:53:55 +01:00
dP 77bee1b941 Fix: Make subsidies scan tiles for town acceptance and production instead of using desync-prone town caches 2020-08-09 18:53:55 +01:00
Jonathan G Rennison 4d7d0f0015 Fix: Violation of strict weak ordering in group name sorters
This could be caused by a group being renamed, and the old
name being cached from a previous sort.

See: #7838
2020-08-09 18:53:55 +01:00
Jonathan G Rennison f712c235e9 Fix: Violation of strict weak ordering in engine name sorter
This could be caused by an engine being renamed, and the old
name being cached from a previous sort.

See: #7838
2020-08-09 18:53:55 +01:00
Jonathan G Rennison dbb58fa5de Codechange: Use template type for GUIList::Sort comparator 2020-08-09 18:53:55 +01:00
TrevorShelton 7b05f8e741 Fix #8221: Missing specific error message for bridge too long (#8240) 2020-08-09 18:53:55 +01:00
TrevorShelton e3ee7913d4 Update: Disuse of STR_ERROR_INCOMPATIBLE_ROAD 2020-08-09 18:53:55 +01:00
TrevorShelton d8c4a58448 Change #8162: Conversion of Town Road, Impr. Error
This changes the error when you attempt to convert a road owned by a town to another road, specifying that it's owned by the town rather than simply being incompatible. As the original poster of the issue pointed out, these seemed to be the only occurences of the incompatible road string, so now it's unused, but they would be left untouched in case of future use or since changing it to a different error would do the work of removing it then. If requested, it likely wouldn't be too difficult to remove the string entirely.
2020-08-09 18:53:55 +01:00
Niels Martin Hansen cf943d3a74 Change: Log when rejecting a TAR archive for extraction
Based on report in <https://www.tt-forums.net/viewtopic.php?f=31&t=87374>
2020-08-09 18:53:55 +01:00
Pavel Stupnikov 096cbf2dbb Feature: Center text and icons in the status bar vertically (#8273) 2020-08-09 18:53:55 +01:00
dP 3cfb8524f0 Fix: Set invalid road and tram types for rail tunnel ends 2020-08-09 18:53:55 +01:00
Łukasz Hryniuk a9aa636b40 Fix: Properly invalidate mouse-over station coverage highlight (#8263) 2020-08-09 18:53:55 +01:00
stormcone cb5a1300ac Fix #8250: [NRT] Company infrastructure window always omits last road/tramtype 2020-08-09 18:53:55 +01:00
Charles Pigott 536184e21f Change: Also make roadside trees match the tree transparency option 2020-08-09 18:53:55 +01:00
Charles Pigott 97504e7c29 Fix #8216: Don't show floating text on autoreplace if cost is 0 2020-08-09 18:53:55 +01:00
Charles Pigott 24960b4641 Fix #8129: Crash if a news message expires while viewing the endgame screen 2020-08-09 18:53:55 +01:00
glx22 482974b9fe Fix #8230: Resolve ".." when opening files in .tar (#8231) 2020-08-09 18:53:55 +01:00
Jonathan G Rennison 4b1070cf75 Fix: Racy use of flags in TCPConnecter::CheckCallbacks
conected and aborted flags are used concurrently from multiple threads.
2020-08-09 18:53:55 +01:00
Jonathan G Rennison b827e2415b Fix: Thread unsafe use of NetworkAddress::GetAddressAsString
Remove static buffer form of NetworkAddress::GetAddressAsString.
This is used in multiple threads concurrently, and is not thread-safe.

Replace it with a form returning std::string.
2020-08-09 18:53:55 +01:00
Jonathan G Rennison c10571d7ce Fix: Thread unsafe use of SendPacket for PACKET_SERVER_MAP_SIZE
NetworkTCPSocketHandler::SendPacket is not thread safe and may not
be used concurrently from multiple threads without suitable locking
2020-08-09 18:53:55 +01:00
nikolas d662e8ca96 Fix #8104: Always add WINDOW_RESIZABLE flag to SDL2 (#8211)
This fixes a bug that can reproduced with these steps:
* Start openttd in fullscreen mode
* Turn off fullscreen mode
* Try to resize the window. The window can't be resized.
2020-08-09 18:53:55 +01:00
Miguel Horta 762f5d258a Fix: Display banlist's indexes correctly
Bug introduced via commit ab711e6942
2020-08-09 18:53:55 +01:00
Marcus Calhoun-Lopez b7fa118069 Fix: unbreak building with ICU on macOS
A symbol clash breaks building ICU on macOS, and although it isn't
necessary, it might as well be possible.
2020-08-09 18:53:55 +01:00
ilayaraja97 211735de3a Fix #8131: small bridges also have pillars drawn 2020-08-09 18:53:55 +01:00
Charles Pigott 430ce20f8d Doc: 1.10.2 release 2020-06-01 22:16:57 +01:00
Charles Pigott 20007fd1f4 Update: Backport languages 2020-06-01 22:16:57 +01:00
Niels Martin Hansen 02980119e4 Fix #8066: Try another fallback colourspace if first one fails 2020-06-01 22:16:57 +01:00
Yexo dd4aae830d Fix #8166: don't crash on loading an invalid roadtype newgrf
Initialization code for GRFFile::roadtype_map was copied from
railtype_map. But while RailType is a byte-sized enum and could thus
be initialized via memset, RoadType doesn't have a defined size.
2020-06-01 22:16:57 +01:00
Yexo f4ed770cff Fix #8024: make online content gui more responsive while loading
Previously the internal content list was invalidated and sorted for
every new item added. Now the sorting is delayed until the GUI is
drawn, which means we only sort once per GUI tick.

Since the amount of incoming items per GUI tick is not controlled by
the GUI but rather by network speed, we were previously doing a lot
of duplicate work per tick, causing the mouse cursor to lag while
the list was initialized.
2020-06-01 22:16:57 +01:00
glx 89c8215b79 Fix: [Win32] Crash message not fitting in crash dialog 2020-06-01 22:16:57 +01:00
glx 911f9165cf Fix #7970: [Win32] Disable event loop on crash to prevent recursive faults 2020-06-01 22:16:57 +01:00
glx 2748a90bc9 Fix: Inconsistency in handling of SDL2 in source.list 2020-06-01 22:16:57 +01:00
glx 583a2221ca Fix: VS 2019 16.6 doesn't like newlines in <SettingsCommandLine> 2020-06-01 22:16:57 +01:00
glx22 86113008ab Fix e3511ec: [AzurePipeline] Don't loop infinitely on errors (#8165) 2020-06-01 22:16:57 +01:00
dP 31a9f549fb Fix: Trees disappear completely after a few years when they're not allowed to spread 2020-06-01 22:16:57 +01:00
glx22 8203adecb5 Fix #8161, e31def197: Lang files may have LF EOL (#8163) 2020-06-01 22:16:57 +01:00
Yexo 3d8e68f966 Fix #8155: Roadtype speed limit in toolbar dropdown in scenario editor was doubled 2020-06-01 22:16:57 +01:00
glx22 aca5d97a68 Fix: properly support utf-8 in baseset translation vbscript (#8154) 2020-06-01 22:16:57 +01:00
dP fd8ca95947 Fix: Desync after house replacement 2020-06-01 22:16:57 +01:00
Matthijs Kooijman 9617fa727d Fix: sdl2-config would always be detected as present
The presence of sdl2-config is used go determine whether to look for
sdl2 first, or just sdl1. However, when sdl2-config is *not* present,
`which` returns an empty string. Due to lack of quoting, this produces
`[ -x ]`, rather than `[ -x "" ]` and it turns out the former actually
has a succesful exit status for some reason.

This was not a problem when just running configure, because it would
then just fail to detect sdl2 and fall back to sdl1. However, when
passing `--with-sdl` (without specifying a version), this would only
attempt to detect sdl2, even when sdl2-config was not present, but sdl1
is.

Adding quotes makes the check work as intended.
2020-06-01 22:16:57 +01:00
glx22 74b591c2e9 Fix #8142, 5aa6351: Buoy owner and tile owner can be different (#8143) 2020-06-01 22:16:57 +01:00
dP 78e558717c Fix #8137: New clients can't join (desync) after funding an industry 2020-06-01 22:16:57 +01:00
dP cb9c4bf4a0 Codechange: Refactor FindStationsAroundTiles to avoid code duplication 2020-06-01 22:16:57 +01:00
glx22 e39c5829a2 Add: stations_near and industries_near cache check (#8139) 2020-06-01 22:16:57 +01:00
glx a089c876ab Fix #8132: Corrupted savegame crashing OpenTTD on load 2020-06-01 22:16:57 +01:00
glx 1072c74bc4 Fix: Stop any gamelog action when recovering from SlError() 2020-06-01 22:16:57 +01:00
glx bb251f45fc Fix #8119: Update docking area when clearing a shore rail tile 2020-06-01 22:16:57 +01:00