Commit Graph

10217 Commits

Author SHA1 Message Date
Lars Toenning
2c461095d9 refactor: Use existing CMathUtils function 2024-10-20 19:58:33 +02:00
Lars Toenning
3c6a8c72f5 fix(fsd): Add level to log message 2024-10-13 19:32:09 +02:00
Lars Toenning
9f94af6f5b chore: Upgrade to REUSE spec version 3.2 2024-10-13 19:32:09 +02:00
Lars Toenning
f65d54d750 fix(ui): Disable broken quick mapping wizard 2024-10-13 19:32:08 +02:00
Lars Toenning
da98932997 refactor: Rename old vatlib function 2024-10-13 19:32:08 +02:00
Lars Toenning
7a33e74fee fix: Add missing CLI option to swiftlauncher
The DBus server address selector tries to fetch the address from the
command line parser. But the option was only added to the parser for
CSwiftGuiStdApplications. This resulted in a log message from the parser.
2024-10-13 15:40:34 +02:00
Lars Toenning
cb86dac062 refactor: Remove outdated translations
QTranslation was not correctly installed anyway (goes out of scope
before starting the application and only loads the german translation).
i18n can be added later again.
2024-10-13 15:40:31 +02:00
Lars Toenning
ed83671196 refactor(fsx): Simplify condition 2024-10-13 15:29:11 +02:00
Lars Toenning
de7b820112 refactor: Remove weather support 2024-10-13 15:20:57 +02:00
Lars Toenning
5b6abbefaf refactor: Remove pushy note to enable crash dumps 2024-10-13 15:19:07 +02:00
Lars Toenning
45c8a7575a refactor: Disable crash dump upload by default 2024-10-13 15:19:07 +02:00
Lars Toenning
89b7e672a1 Revert "Ref T401, adjusted settings used in components"
This reverts commit 705a56b1cb.
Only the bool member of the CrashSettings class was used.
For simplification, use only the bool that was already used
previously to store this setting.
2024-10-13 15:19:02 +02:00
Lars Toenning
0dba1b8566 fix: Add FG to BuildConfig method 2024-10-13 08:52:48 +02:00
Lars Toenning
2c68c46d98 refactor: Remove COM sync button from cockpit page
This setting is simulator specific and can already be adjusted from the
simulator plugin settings. To avoid complexity, it should only be
adjustable from one location. As this setting doesn't need to be
adjusted often inflight, it should be fine to not have it directly
accessible.
This also fixes a previous issue, where a change of the setting within
the simulator plugin settings did not propagated to the cockpit page.
2024-10-13 08:52:47 +02:00
Lars Toenning
2db1ad87c8 refactor: Remove unused method from context 2024-10-13 08:52:47 +02:00
Lars Toenning
021de43e71 refactor: Remove "connected" LED from COM panel
The LED is a leftover from the pre-AFV voicerooms. The LED does not
light up when connected to UNICOM or CTAF frequencies which still can be
used to transmit & receive voice. This also removes the functionality
that the currently tuned station was displayed when hovering over the
"COMx" label. This feature was not documented and not known by many
users.
By removing these features, one context method is no longer required,
which further decouples the network context from the OwnAircraft context.
2024-10-13 08:52:47 +02:00
Lars Toenning
7875c5a18f refactor: Remove not used AFV map
Always use the VATSIM online map instead of providing our own map widget
2024-10-13 08:52:47 +02:00
Lars Toenning
b2000cf771 refactor: Remove unused method 2024-10-13 08:52:47 +02:00
Lars Toenning
9a852b78e9 refactor: Remove method without any effect
This also removes a dependency of the network context from the
OwnAircraft context
2024-10-13 08:52:47 +02:00
Lars Toenning
b6867445fa refactor: Remove secondary way to start/stop AFV client
To reduce complexity, there should only be a single way to start the AFV
client (done on connectionStatusChange of IContextNetwork)
2024-10-13 08:52:34 +02:00
Lars Toenning
61ee861d8e refactor: Replace CIdentifierSet with plain QSet 2024-10-13 08:52:34 +02:00
Lars Toenning
59ecbb5ab7 refactor: Add clang-tidy project config 2024-10-13 08:52:34 +02:00
Lars Toenning
9824390f80 fix: Enable probe config only when the sim is running locally
Enabling the terrain probe only works when running locally because it
directly accesses the simulator plugin.
2024-10-13 08:52:33 +02:00
Lars Toenning
48dccd937f refactor: Remove FSX specific method from context
This method was only uses to provide a secondary way installing the
terrain probe. For simplicity we should only provide a single way to
install the probe (through the config wizard).
2024-10-13 08:52:33 +02:00
Lars Toenning
2a40c25c56 refactor: Make protected IContext members private
According to C++ Core Guideline C.133, protected data should be avoided
because they introducing complexity and bugs. In this case for example,
the implementing contexts could just change the m_debugEnabled member
instead calling setDebugEnabled() if not paying attention.
setDebugEnabled() also emit a signal on change, which is accidentially
not emitted otherwise.
2024-10-13 08:52:33 +02:00
Lars Toenning
f9c5929144 refactor: Remove outdated VATSIM logo 2024-10-13 08:52:33 +02:00
Lars Toenning
e5755b7d28 refactor: Directly get HTML help string from parser
The context returns CSimpleCommandParser::commandsHtmlHelp() as well
2024-10-13 08:52:33 +02:00
Lars Toenning
607c57ebb8 refactor: Remove unused context-based file operations
Remote file operations via DBus are no longer used
2024-10-13 08:52:33 +02:00
Lars Toenning
b2ecee8a94 refactor: Use CFileUtils to save the file
Other methods in this component to open and delete the file only worked
in a local environment as well. For simplification allow writing this
file locally only as well.
2024-10-13 08:52:33 +02:00
Lars Toenning
353f877753 refactor: Remove unused methods 2024-10-13 08:52:32 +02:00
Lars Toenning
4c0cd22870 ci: Upgrade install-qt-action 2024-10-12 22:19:17 +02:00
Lars Toenning
976142a7f4 refactor: Remove outdated IWYU instructions
CMake directly supports IWYU with the
<LANG>_INCLUDE_WAHT_YOU_USE property.
2024-10-12 22:16:17 +02:00
Lars Toenning
3faeac02f8 fix(installer): Update link 2024-10-12 22:16:17 +02:00
Lars Toenning
12cad05edc build!: Upgrade Ubuntu deploy target 2024-10-12 22:16:17 +02:00
Lars Toenning
69777881b4 build!: Upgrade macOS deployment target 2024-10-12 22:16:16 +02:00
Lars Toenning
b74cf9c49e refactor: Remove unused methods 2024-10-12 22:16:16 +02:00
Lars Toenning
56bd6f0c42 refactor: Fix Qt 5.15 deprecation warnings 2024-10-12 22:16:16 +02:00
Lars Toenning
e1f52f3e88 build: Use python3 instead of python symlink
The python symlink is not present on all
systems. python3 should likely always be
available if python3 is installed
2024-10-12 22:15:09 +02:00
Lars Toenning
5621b6a211 ci: Upgrade macOS version 2024-10-12 08:19:18 +02:00
Lars Toenning
c9ef304ec9 refactor: Remove build-in console
The console feature was not documented very well and was only used for a
few messages.
2024-10-06 19:15:51 +02:00
Lars Toenning
7cdec8eeb6 build: Remove permissive workaround
Tested with MSVC 2022, this is no longer required.
2024-10-06 19:09:45 +02:00
Lars Toenning
0599241929 refactor: Remove log messages from status bar
With the new warn/error button, the user already is informed if
something important is logged. By only showing nearly all log messages
in the status bar, messages can be missed easily.
Fixes also an issue where the status bar was accessed before it was
initialized (crash with assert). (Fixes #299).
2024-10-06 12:57:13 +02:00
Lars Toenning
e5916b65a9 feat: Add warn/error log buttons
Add buttons to highlight that error or warning messages were logged.

Fixes #106
2024-10-06 12:57:13 +02:00
Lars Toenning
7337e89f0c refactor: Remove old code 2024-10-06 11:38:00 +02:00
Lars Toenning
019c7a8b27 refactor: Remove experimental string_view include 2024-09-08 12:41:51 +02:00
Lars Toenning
eb27accd03 chore: Upgrade fallback METAR URL to HTTPS 2024-09-08 12:08:19 +02:00
Lars Toenning
181f32c04a feat: Migrate to new VATSIM Status JSON file 2024-09-08 12:08:19 +02:00
Lars Toenning
57339f504e fix: Avoid dangling reference 2024-09-08 12:08:19 +02:00
Lars Toenning
431b321aeb refactor(ui): Remove second way to switch to model browser parts tab 2024-09-08 12:08:07 +02:00
Lars Toenning
9b781d9334 ci!: Remove Win 32-bit build 2024-08-11 22:17:16 +02:00