Rubidium
ac0c932ce7
Codechange: use SetDParam to set measurement tooltip parameters
2023-06-17 10:01:19 +02:00
Jonathan G Rennison
495db43b72
Network: Defer deletion of client and server game socket handler
...
This fixes various use after free scenarios in error handling paths
2023-06-16 21:18:35 +01:00
Jonathan G Rennison
532d3881cd
Network: Fix error logging for game and admin server HandlePacket
...
Don't invent a packet type in the log message if we can't/don't
read a packet type at all
2023-06-16 21:18:35 +01:00
Jonathan G Rennison
ee8b03e8da
Fix: Crash when failing to load a game into a dedicated server at startup ( #11021 )
...
Using the -g switch
2023-06-16 19:41:26 +01:00
PeterN
ed06c6bdcf
Codechange: Use vector when migrating old savegame orders. ( #11020 )
2023-06-16 19:40:24 +01:00
Jonathan G Rennison
afe5af5dbb
Fix: Crash when failing to load a game into a dedicated server at startup
...
Using the -g switch
2023-06-16 17:39:31 +01:00
PeterN
fc2510e2ba
Codechange: Use std::vector for midifile's ByteBuffer. ( #11019 )
2023-06-16 17:04:46 +01:00
Owen Rudge
1a3d1bca59
Remove: OS/2 port
2023-06-16 14:29:14 +01:00
Jonathan G Rennison
7af34aaadd
Fix NetworkAddChatMessage when MAX_CHAT_MESSAGES is 0
2023-06-16 01:21:38 +01:00
Jonathan G Rennison
3d2dc77aa2
Network: Change protocol for game/rcon/settings password auth
...
Instead of sending a hash, do a DH/X25519 key exchange
using the password.
This also allows authenticating the associated rcon payload and response.
2023-06-15 21:33:41 +01:00
Rubidium
d4c2043294
Codechange: remove a number of unneeded c_str() calls
2023-06-15 22:14:45 +02:00
Jonathan G Rennison
9042eb338f
Network: Simplify stringifying of random key strings
2023-06-15 21:12:48 +01:00
Jonathan G Rennison
b4721c898d
Serialisation: Add view/span variants of binary receive methods
2023-06-15 20:56:15 +01:00
Jonathan G Rennison
efc4cd4eff
Add missing data() method to span
2023-06-15 20:56:15 +01:00
translators
aae8f40b9f
Update: Translations from eints
...
english (au): 2 changes by krysclarke
korean: 2 changes by telk5093
russian: 2 changes by Ln-Wolf
french: 2 changes by ottdfevr
portuguese: 2 changes by azulcosta
portuguese (brazilian): 2 changes by ericandradex
polish: 2 changes by pAter-exe
2023-06-15 18:41:48 +00:00
Owen Rudge
5a7098cb41
Change: [Actions] Use notarytool for notarization instead of gon
2023-06-15 14:52:00 +01:00
Loïc Guilloux
1cd49bf5e5
Fix ca1e34c
: [Script] Wrong value printed for {RAW_STRING} ( #11011 )
2023-06-14 22:07:11 +00:00
Jonathan G Rennison
c46afa04f7
Use pos TileVirtXY for aircraft crash tile
...
See: #549
2023-06-14 22:43:41 +01:00
Jonathan G Rennison
d6787c4731
Fix f9f1cb21
: Setting saveload type
...
See: #548
2023-06-14 22:29:12 +01:00
Jonathan G Rennison
76a9e280c2
Network: De-duplicate getting random bytes with fallback
2023-06-14 22:18:21 +01:00
Jonathan G Rennison
b18d3c9603
Network: Auto-kick clients after too many failed rcon/settings attempts
2023-06-14 21:58:35 +01:00
Jonathan G Rennison
120f0e8a81
Add a helper for sub-packet deserialisation
2023-06-14 21:02:26 +01:00
Jonathan G Rennison
f9f1cb2190
Fix crash when changing AI interval setting
...
See: #548
2023-06-14 21:02:26 +01:00
Jonathan G Rennison
c4c14cb6a7
3rdparty: Update monocypher from 3.1.3 to 4.0.1
...
Update to match interface changes
2023-06-14 20:52:00 +01:00
Jonathan G Rennison
11a3dc287b
Serialisation: Adjust method names/types
2023-06-14 19:39:36 +01:00
Jonathan G Rennison
864d3c9c16
Fix: CMD_CHANGE_SETTING did not reject SF_NO_NETWORK_SYNC settings ( #11009 )
2023-06-14 19:44:10 +02:00
PeterN
f51f117b00
Change: Add window description flag to disallow interactive window closing. ( #11008 )
...
This replaces/simplifies testing for a closebox to allow closing a window with right-click, and testing for specific window classes when closing all windows by hotkey.
This allows right-click closing of dropdowns and the high-score window.
2023-06-14 17:24:14 +01:00
Jonathan G Rennison
4b807e091a
Don't allow changing SF_NO_NETWORK_SYNC settings via DoCommand
2023-06-14 16:17:15 +01:00
Rubidium
7c37dcb8e3
Fix: do not use {STRING} when {STRING1} or {STRING2} is needed
2023-06-14 09:44:06 +02:00
Rubidium
0a5e58451b
Codechange: pass string parameters by reference
2023-06-14 06:14:08 +02:00
Rubidium
43f91bc50c
Cleanup: unused GetDataPointer function
2023-06-13 23:53:13 +02:00
Rubidium
e332810231
Codechange: pass zero length arguments for {STRING}, instead of the remaining arguments
2023-06-13 23:53:13 +02:00
Rubidium
82851a9bef
Codechange: do not mess with global string params to get pointer to first element
2023-06-13 23:53:13 +02:00
Rubidium
aba0d27a28
Codechange: use StringParameters for remapping the NewGRF string control codes
2023-06-13 22:11:21 +02:00
Rubidium
1146904d45
Fix: when a string consumes more parameters than allowed, nullptr is attempted to be formatted
2023-06-13 20:58:45 +02:00
translators
f1ec2f274c
Update: Translations from eints
...
vietnamese: 6 changes by KhoiCanDev
korean: 4 changes by telk5093
german: 33 changes by SecretIdetity
romanian: 69 changes by kneekoo
russian: 2 changes by Ln-Wolf
finnish: 4 changes by hpiirai
turkish: 4 changes by BeratSJ
danish: 1 change by bscargo
dutch: 6 changes by Afoklala
french: 4 changes by ottdfevr
portuguese (brazilian): 6 changes by pasantoro
polish: 6 changes by pAter-exe
2023-06-13 18:40:34 +00:00
Jonathan G Rennison
53ff710364
Fix road build toolbar in scenario editor
2023-06-13 19:07:34 +01:00
Jonathan G Rennison
7202a4e0a6
Fix crash when using picker tool on non-GRF objects
...
See: #546
2023-06-13 18:37:30 +01:00
Andrii
f26de0d2f9
Fix #10982 : No help text for gamelog command ( #10984 )
2023-06-13 08:33:33 +00:00
Jonathan G Rennison
c285413853
Network: Change hash function for non-company passwords
...
Increase size of per-connection salts, simplify management
Cache per-connection hashes at server end
Send hashes as binary rather than bothering to stringify them
2023-06-13 00:57:05 +01:00
Jonathan G Rennison
79255c0294
Serialisation: Add helpers to send/recv length-prefixed binary buffers
2023-06-13 00:57:05 +01:00
Jonathan G Rennison
8c507d6611
Crash log: Suppress messages from internal faults
2023-06-13 00:57:05 +01:00
Jonathan G Rennison
ad995cbebc
Windows crash log: Use TerminateProcess instead of ExitProcess
2023-06-13 00:57:05 +01:00
Jonathan G Rennison
940656bb6c
Windows crash log: Handle crash log faults (MinGW)
2023-06-13 00:57:05 +01:00
Jonathan G Rennison
b26a3fa41e
Crash log: Write out crash log incrementally on Windows, MacOS
2023-06-13 00:57:05 +01:00
Jonathan G Rennison
76304c1f76
Crash log: Checkpoint each line of decoded stack trace
2023-06-12 19:03:37 +01:00
Jonathan G Rennison
da07c8ce51
Crash log: Move GDB/LLDB logging to its own section
2023-06-12 18:38:27 +01:00
Jonathan G Rennison
dd57fc6ecf
Unix crash log: Generalise crash log fault handling to all sections
2023-06-12 18:34:37 +01:00
PeterN
ebc451b071
Fix #10987 : Double-close of dropdown stopped land-info tool working as default. ( #11000 )
...
Clicking and releasing on the query toolbar icon is meant to select the land-info tool.
This did not work as during closing a window, OnFocusLost() is called, which then closes the window again. These two calls toggled the land-info tool one and off in the same action.
Resolve by not calling Window::Close in OnFocusLost() if the window is already closing.
2023-06-12 08:42:02 +01:00
Rubidium
613ad80581
Codechange: remove need for GetDParamX
2023-06-12 09:12:11 +02:00