summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-09-10Update: Translations from eintstranslators
spanish (mexican): 4 changes by absay english (us): 6 changes by 2TallTyler russian: 6 changes by Ln-Wolf catalan: 6 changes by J0anJosep dutch: 6 changes by Afoklala
2021-09-09Update: Translations from eintstranslators
korean: 6 changes by telk5093 hungarian: 34 changes by pnpBrumi indonesian: 16 changes by dimaspaf14 latvian: 94 changes by lexuslatvia polish: 2 changes by pAter-exe
2021-09-09Fix #8603: Don't give focus to text filter when opening Object GUI (#9547)Tyler Trahan
2021-09-09Fix #9535: Maintain a reverse dependency map of network content (#9538)Jonathan G Rennison
Fixes performance issues with dependency lookup when retrieving content list from the content server.
2021-09-05Feature: Hide block signals in GUI by default (#8688)Tyler Trahan
2021-09-05Fix: use-after-free after ↵Patric Stout
ClientNetworkCoordinatorSocketHandler::CloseAllConnections() (#9534) The function clears all stun-handlers. This causes all of those objects to be destroyed. A handler can have a pending connecter, which was only killed in case CloseConnection() was called. This is never the case when the object is destroyed. In result, the connecter could finish and cause a use-after-free by calling into the (now deleted) handler.
2021-09-02Codechange: validate that all STR_NNN strings are defined and used (#9518)Patric Stout
2021-09-01Fix #9388: thread unsafe use of NetworkAdminConsole/IConsolePrintRubidium
2021-08-31Fix a2051bad: SendCmdNames only sent one name per packet (#9528)Patric Stout
2021-08-31Fix #9407: desync when founding a town nearby a station (#9526)Patric Stout
"stations_near" wasn't updated when founding a town near a station. As this variable is not saved, any client joining after the town is founded has a different value for "stations_near", potentially causing desyncs. As the intention of this if() statement was to skip an expensive calculation when there are clearly no stations, better to move that check inside the function, so other places also enjoy the speedup.
2021-08-31Fix: pathfinders always tried to avoid docking tiles (even if nothing was on ↵Patric Stout
them) (#9522) When coming across any docking tile (for example, all tiles around an oilrig are docking tiles), it always at least added a penalty of 3 times a normal tile, even when there are no ships on them. In result, the pathfinder got suggested to always go around docking tiles. This was most likely not the intention of the change made in 31db4f8d5e.
2021-08-30Update: Translations from eintstranslators
vietnamese: 6 changes by myquartz
2021-08-29Update: Translations from eintstranslators
greek: 121 changes by dionisis84
2021-08-28Fix: when DNS didn't resolve any IPs, the debug message was misleading (#9519)Patric Stout
2021-08-28Codechange: remove unused strings (#9516)Patric Stout
2021-08-28Update: Translations from eintstranslators
arabic (egypt): 21 changes by AviationGamerX finnish: 2 changes by hpiirai turkish: 59 changes by ahmetlii
2021-08-28Codechange: reference a string by its name, not with "another + 1" (#9517)Patric Stout
It is wrong anyway, as "TINY" normally is at -1. Just weird code.
2021-08-28Fix b6a116a: convert server_advertise to server_game_type in config file (#9515)Loïc Guilloux
2021-08-27Update: Translations from eintstranslators
swedish: 2 changes by joeax910 spanish (mexican): 7 changes by absay slovenian: 2 changes by Yeznick greek: 60 changes by dionisis84 german: 7 changes by Wuzzy2 dutch: 2 changes by Afoklala
2021-08-26Update: Translations from eintstranslators
norwegian (bokmal): 5 changes by buzzCraft, 2 changes by Anolitt english (us): 7 changes by 2TallTyler russian: 2 changes by Ln-Wolf
2021-08-25Update: Translations from eintstranslators
greek: 28 changes by dionisis84 portuguese: 2 changes by azulcosta
2021-08-24Update: Translations from eintstranslators
greek: 17 changes by dionisis84 catalan: 4 changes by J0anJosep portuguese (brazilian): 2 changes by Vimerum
2021-08-23Update: Translations from eintstranslators
swedish: 8 changes by joeax910
2021-08-23Fix: [Network] show query errors in the server listing instead of error ↵Patric Stout
popup (#9506) When you are query several servers at once, it is rather unclear for which server you got a popup. Instead, show any errors on the server itself. This is only true for the query-part. Joining a server still gives an error popup to tell you about any issue.
2021-08-23Fix #9490: [Network] a full server couldn't be queried either (#9508)Patric Stout
You can now still query a full server, as long as the maximum amount of allowed connections isn't reached. This means that as long as there are not 255 clients connected to a server, you can always connect to query.
2021-08-23Fix #9501: [Network] crash when more than one game-info query was pending ↵Patric Stout
(#9502)
2021-08-23Fix c4b700f1: remove left-over debug statement (#9510)Patric Stout
2021-08-23Fix: [Network] don't show GameScript " (v0)" for old servers (#9507)Patric Stout
Old servers don't tell the GameScript they are running, so nothing should be shown. All values in NetworkGameInfo initialize as 0/empty, except for GS version. Someone has to be different from the rest, I guess.
2021-08-21Update: Translations from eintstranslators
indonesian: 32 changes by dimaspaf14 russian: 2 changes by Ln-Wolf
2021-08-21Fix: [Network] crash when last-joined server that is no longer available (#9503)Patric Stout
If you update the server-list while not having last-joined selected and it is no longer available, the game crashed.
2021-08-20Change: [Linkgraph] Delete links only served by vehicles stopped in depotNicolas Chappe
A stale link is not deleted if the link refresher finds a vehicle that still serves it. This commit excludes vehicles stopped in depot for a very long time from the link refresher, so that their stale links can be deleted.
2021-08-20Update: Translations from eintstranslators
korean: 5 changes by telk5093 dutch: 5 changes by Afoklala portuguese (brazilian): 3 changes by AKANexus polish: 5 changes by pAter-exe
2021-08-19Update: Translations from eintstranslators
italian: 13 changes by CoderLel russian: 1 change by Ln-Wolf french: 2 changes by glx22
2021-08-19Fix d9c1d18f2: Wrong format string for console disconnect message.Michael Lutz
2021-08-18Update: Translations from eintstranslators
finnish: 3 changes by hpiirai portuguese: 2 changes by azulcosta
2021-08-18Fix 659989af45: Set appropriate town window dirty when building/removing ↵Joan Josep
airports. (#9497)
2021-08-18Update: Translations from eintstranslators
finnish: 2 changes by hpiirai portuguese: 1 change by azulcosta
2021-08-18Fix #9492: show for what server a relay session is being created (#9494)Patric Stout
Currently it says "the server" which is a bit ambigious. Be more specific.
2021-08-18Fix #9491: reword "no connection" error message (#9495)Patric Stout
2021-08-18Fix: typo in the word "spectator" (tnx Heiki) (#9496)Patric Stout
2021-08-18Fix 977604ef: [Linkgraph] Add a special case for unknown travel times on ↵Nicolas Chappe
link update
2021-08-17Update: Translations from eintstranslators
catalan: 2 changes by J0anJosep french: 1 change by glx22
2021-08-17Fix 6acf204d: crash when showing coordinator-error-messages (#9488)Patric Stout
2021-08-17Update: Translations from eintstranslators
russian: 1 change by Ln-Wolf
2021-08-17Feature: [Linkgraph] Prioritize faster routes for passengers, mail and ↵Nicolas Chappe
express cargo Passengers usually prefer fast paths to short paths. Average travel times of links are updated in real-time for use in Dijkstra's algorithm, and newer travel times weigh more, just like capacities.
2021-08-17Fix: report reuse of invite-code and switch to local game-type (#9487)Patric Stout
This prevents two servers battling for the same invite-code. Now the last one wins.
2021-08-16Update: Translations from eintstranslators
chinese (simplified): 1 change by goodspeed34
2021-08-16Codechange: Improve LineCache queries (#9417)Frédéric Simonis
Adds the support to query the linecache without copying the string. This uses a custom transparent comparator in conjunction with a query type using a std::string_view.
2021-08-16Fix: connecting with the same name thrice hangs the server (#9485)dP
2021-08-15Update: Translations from eintstranslators
chinese (simplified): 82 changes by goodspeed34 french: 2 changes by glx22 portuguese: 1 change by azulcosta portuguese (brazilian): 2 changes by Vimerum