Commit Graph

55517 Commits

Author SHA1 Message Date
Jonathan G Rennison
c339978569 Change station naming to allow unsuffixed name at an increased distance 2023-06-20 19:39:44 +01:00
Jonathan G Rennison
203d8f020b Fix CmdCreateGoal putting goal text into goal progress field
See: #553
2023-06-20 18:53:52 +01:00
Jonathan G Rennison
3b0e067b40 Add another GRF to list for newgrf_disable_big_gui 2023-06-20 18:38:38 +01:00
Jonathan G Rennison
b6f5cd40e6 Github: Disable survey key request for now 2023-06-20 18:36:27 +01:00
Jonathan G Rennison
77b3c5726b Github: Re-add changes to upstream release workflows 2023-06-20 18:25:03 +01:00
Jonathan G Rennison
4f7cb1e498 Github: Change release workflows to match upstream 2023-06-20 17:43:12 +01:00
Jonathan G Rennison
e01101a334 Update vanilla content version sent to bananas 2023-06-20 17:11:24 +01:00
Jonathan G Rennison
e91e15be7f Version: Committing version data for tag: jgrpp-0.54.2 2023-06-18 20:41:54 +01:00
Jonathan G Rennison
551d581215 Unix crash log: Fix stack trace formatting when using addr2line 2023-06-18 20:17:38 +01:00
Jonathan G Rennison
861c033caf Crash log: Include game mode in config info 2023-06-18 20:00:46 +01:00
Jonathan G Rennison
2b897e6694 Cargo payment rate graph: Use minutes for x-axis if in minutes mode
See: #541
2023-06-18 19:37:18 +01:00
Jonathan G Rennison
b080433394 Cargo payment rate graph: Scale X-axis by day length
See: #541
2023-06-18 19:05:02 +01:00
Jonathan G Rennison
a7a8f4c695 Windows crash log: Don't bother writing raw stack if it can be decoded
The raw values are almost always useless
2023-06-18 15:46:13 +01:00
Jonathan G Rennison
bcab44dc98 Windows crash log: Fix stack overflow in crash dialog window setup
Excessive stack use for crash log text conversion buffers
2023-06-18 15:38:33 +01:00
Jonathan G Rennison
d211ef557a Windows crash log: Handle crash log faults (MSVC) 2023-06-18 15:38:26 +01:00
Jonathan G Rennison
846737e56a Fix refit in station with articulated vehicles with no capacity in leading part 2023-06-18 11:08:35 +01:00
Jonathan G Rennison
dadebfa759 Debug: Show engine cargo/refit values 2023-06-18 10:05:48 +01:00
Jonathan G Rennison
051cb29f7a Debug: Show engine misc flags for all vehicle types 2023-06-18 10:05:29 +01:00
Jonathan G Rennison
410d5bdc55 Spread tile loop iterations over all ticks when using day length > 1
See: #545
2023-06-17 19:32:33 +01:00
Jonathan G Rennison
8c600fd480 Use std::all_of instead of std::count for checking if all 0 2023-06-17 17:22:59 +01:00
Jonathan G Rennison
32ec1bc77b Add hotkey for picker tool in scenario editor 2023-06-17 17:05:33 +01:00
Jonathan G Rennison
371a555324 Disable picker tool in spectator mode 2023-06-17 17:00:49 +01: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
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
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
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
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
4b807e091a Don't allow changing SF_NO_NETWORK_SYNC settings via DoCommand 2023-06-14 16:17:15 +01: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
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