Commit Graph

57139 Commits

Author SHA1 Message Date
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
Rubidium
82b434b589 Codechange: rename function to better describe what it is doing 2023-06-12 09:12:11 +02:00
Rubidium
f86500df92 Codechange: remove need for SetDParamX 2023-06-12 09:12:11 +02:00
Jonathan G Rennison
fdcfa7318b Version: Committing version data for tag: jgrpp-0.54.1 2023-06-11 17:59:47 +01:00
Jonathan G Rennison
d9e7d2a7fd MacOS: Fix OSX deployment target in CMake and ci-build 2023-06-11 17:58:41 +01:00
Jonathan G Rennison
7a9cf87ff8 Windows: Add fallback for DoOSAbort implementation 2023-06-11 17:04:15 +01:00
Jonathan G Rennison
aa8b60da15 Crashlog: Fix crash log when font caches not initialised 2023-06-11 16:48:01 +01:00
Jonathan G Rennison
417abcccff Windows: Handle abort exception in VectoredExceptionHandler
To make sure that it is definitely handled
2023-06-11 16:47:01 +01:00
Jonathan G Rennison
cca7c0ef0a Windows: Don't call abort, use RaiseException directly 2023-06-11 16:46:12 +01:00
Rubidium
6c6f365d2f Codechange: remove offset parameter for copying DParams in and out 2023-06-11 17:03:31 +02:00
Rubidium
d42ef3a0ef Codechange: inject the query window caption into the widget 2023-06-11 17:03:31 +02:00
Jonathan G Rennison
cb6f6f94e6 Fix string handling error in OTTDStringCompare Windows implementation
See: #542
2023-06-11 15:26:54 +01:00
Jonathan G Rennison
b7ffa1e0fb Unconditionally use custom handler for asserts 2023-06-11 14:34:54 +01:00
Jonathan G Rennison
e4d97c10c7 Version: Committing version data for tag: jgrpp-0.54.0 2023-06-11 12:34:33 +01:00
Patric Stout
6869f387ba Fix 07add7a9: [Win32] use full monitor resolution for fullscreen (#10985)
On Windows in fullscreen you cannot reach the top with
the cursor for the halve of the height of your toolbar.

Additionally, on Win10 in fullscreen you can see the actual toolbar.
2023-06-11 12:00:02 +02:00
Jonathan G Rennison
ec4d9e8459 Merge PR #532 into jgrpp 2023-06-11 10:57:22 +01:00
TELK
afccf11bfa Update: Korean translation up to dd69339 2023-06-11 09:36:23 +09:00
TELK
7a203a52ea Update: Korean translation for 2a5a9c2 2023-06-11 09:36:23 +09:00
TELK
7e3e95d1aa Update: Korean translation for 61e9c30 2023-06-11 09:36:23 +09:00
TELK
07c4ed3f18 Update: Korean translation up to 5615cee 2023-06-11 09:36:23 +09:00
Jonathan G Rennison
7084b97a5d Add NewGRF extension feature for more stations per GRF 2023-06-11 00:10:26 +01:00
translators
dd69339bc7 Update upstream language files to 2097719f 2023-06-10 17:10:37 +01:00
PeterN
1696ef6446 Fix: Don't restore backed up vehicle name if it's no longer unique. (#10979)
(cherry picked from commit 2097719f26)
2023-06-10 16:42:22 +01:00
merni-ns
e1cb4d2397 Fix #10975: Clear a non-head engine's name (#10976)
(cherry picked from commit 1be668c2e4)
2023-06-10 16:42:22 +01:00
Patric Stout
2618179664 Fix: Wayland crash on startup due to Pango also using FontConfig (#10916)
Basically, we haven't been a good neighbour. Turns out you shouldn't
actually call FcFini when you are done, as some library might still
want to use FontConfig. And they use a shared instance for their
administration.

The idea is that you call FcInit once, and use FcConfigReference
after that to get an instance, you can release. This entry is
ref-counted, and things happen automatically based on that.

At least, I think.

(cherry picked from commit cd751a598a)
2023-06-10 16:42:22 +01:00
PeterN
ed3759eef7 Fix: Land info window maximum width was not scaled. (#10894)
(cherry picked from commit 1ff0dc11d8)
2023-06-10 16:42:22 +01:00
Patric Stout
19a6846cb6 Codechange: initialize all values of ICURun on construction (#10892)
(cherry picked from commit 0302e6f168)
2023-06-10 16:42:22 +01:00
Loïc Guilloux
391b80d59a Fix: Check max member count in squirrel classes (#10883)
Manual cherry-pick from 23a0620658

(cherry picked from commit c880157518)
2023-06-10 16:42:22 +01:00
PeterN
8034609368 Fix: Ask FontConfig for the face index when opening fonts. (#10878)
This allows selection of the correct face in truetype fonts containing
multiple faces.

(cherry picked from commit 876871157f)
2023-06-10 16:42:22 +01:00
PeterN
ac420f208c Change: Cargo flow legend only shows defined cargo. (#10872)
This removes the large mostly-empty grid of cargo buttons when not using a complex industry set.

(cherry picked from commit 702194cfef)
2023-06-10 16:42:22 +01:00
Jonathan G Rennison
08030e1b8a Add hotkey for convert rail type by track piece 2023-06-10 10:21:33 +01:00
PeterN
2097719f26 Fix: Don't restore backed up vehicle name if it's no longer unique. (#10979) 2023-06-09 21:18:55 +00:00
Jonathan G Rennison
ccdca8ae52 Add setting to increase size of main toolbar 2023-06-09 19:21:28 +01:00
Rubidium
6d597879d0 Codechange: let ReadLine return a string instead of passing a buffer 2023-06-09 19:58:29 +02:00
Rubidium
81f957b9f8 Codechange: use std::string to find the executable's working directory 2023-06-09 19:58:18 +02:00
merni-ns
1be668c2e4 Fix #10975: Clear a non-head engine's name (#10976) 2023-06-09 16:09:36 +01:00
Rubidium
66a984afd7 Codechange: rename function to better describe its functionality 2023-06-09 06:41:52 +02:00
Rubidium
48dcb79145 Cleanup: remove seprintf and vsnprintf 2023-06-09 06:41:33 +02:00
Jonathan G Rennison
36e1c28173 Fix trains ascending a sloped bridge ramp having incorrect z in wormhole
z one larger than the correct value due to an extra increment on the
transition frame
2023-06-08 22:47:01 +01:00
Rubidium
13cdf5fffa Codechange: use std::filesystem::path for the language file's path 2023-06-08 23:20:28 +02:00
Rubidium
97dd84d1e0 Codechange: move saveload string fixing code to saveload 2023-06-08 20:36:27 +02:00
Rubidium
3f35787458 Codechange: replace stredup + StrMakeValidInPlace with std::string + StrMakeValid 2023-06-08 19:32:15 +02:00
Rubidium
e762855201 Cleanup: remove str_strip_colours; StrMakeValid also removes the colours
Essentially str_strip_colours followed by StrMakeValid makes the calling of
str_strip_colours useless, as StrMakeValid would have removed them too.
2023-06-08 19:32:15 +02:00
mrmbernardi
35ef6c1723 Feature: [GS] Goal destination can be updated (#10817) 2023-06-08 18:00:31 +01:00