Commit Graph

10072 Commits

Author SHA1 Message Date
Lars Toenning
178a110343 refactor: Remove vPilot flight plan import
vPilot 3.8.0 removed the flight plan dialog. For simplification, we also stop supporting the vPilot flight plan format.
2024-04-24 22:51:57 +02:00
Lars Toenning
b39e8c3a7e fix: Unify xswiftbus spelling 2024-04-24 22:51:57 +02:00
Lars Toenning
d5a74e9baa refactor(xswiftbus): Remove unused menu item 2024-04-24 22:51:57 +02:00
Lars Toenning
a203fc0c1f refactor: Remove unused PTT enum
Currently, the PTT can only be activated on the active frequency
anyway.
2024-04-24 22:51:55 +02:00
Lars Toenning
18d0b1eefc refactor(fs): Move FSUIPC from fscommon to FS9
With default settings, FSUIPC was not really used
by FS simulators (except FS9) as the transponder
mode readout was done with SB offsets through SimConnect.
For simplification, this removes FSUIPC from fscommon and moves it to FS9.
Therefor this also removes the option for FSX/P3D users to toggle FSUIPC.
2024-04-16 21:23:08 +02:00
Lars Toenning
93af5fef1c fix: Add missing include 2024-04-16 21:23:08 +02:00
Lars Toenning
eaca06711b refactor(fs9): Remove unused code 2024-04-16 21:23:07 +02:00
tzobler
9f63157642 fix(fs9): Remove COM sync between sim and swift
Fixes #278

Co-authored-by: Lars Toenning <dev@ltoenning.de>
2024-04-16 21:23:04 +02:00
Lars Toenning
b4cbed107b refactor: Remove CNetworkWatchdog
The watchdog was used in a few places as a shortcut to skip reading
data. Further, it was used in some places in the UI to display
connectivity. But it also introduced quite some complexity. In some
cases it can be fragile: network accessibilty cannot be looked up on all
platforms/hardware constellations. The connectivity could change
between the last watchdog call and the real call. Hence all readers must
still handle the case where the connection fails.
To simplify swift and further reduce the dependency onto the project
infrastructure (pings etc.), this removes the watchdog.
This also removes the QNetworkConfigurationManager, which is deprecated
and not available with Qt6.
2024-04-15 22:02:11 +02:00
Lars Toenning
d31084db3a refactor: Directly use shared URL from global setup
Previous we relyed on the watchdog providing a working shared URL (or
empty URL if no URL was reachable). This creates some overhead and
might not work in all cases because of the time between the call to
getWorkingSharedUrl() and the actual network request. Further, not all
calls that are fetching data from our servers were using the shared URL
from the watchdog anyway.
Lastly, this careful checking if the URL is available is only done for
the shared URL and not for all the other URLs that are queried by swift.
2024-04-15 22:01:45 +02:00
Lars Toenning
972de0777c refactor: Remove non-watchdog related method from WatchDog 2024-04-15 22:01:45 +02:00
Lars Toenning
997f016deb refactor: Move SimBrief button to a easier to reach location
As requested by some users, this button is used more often than other
buttons in the flight plan component. Hence it should be moved to a
better place.
v0.14.142
2024-03-24 23:20:37 +01:00
Lars Toenning
21a6a371e9 refactor: Remove flight plan component prefill method
For the user this method is very opaque on what is actually does. To
avoid confusion and to simplify the component, this commit removes it.
2024-03-24 23:20:37 +01:00
Lars Toenning
ce5efaf8e4 refactor: Remove separate button to validate flightplan
The flightplan is already automatically validated when sending it to the
server. To simplify the UI, this removes the possibility for this extra check.
2024-03-24 23:20:36 +01:00
Lars Toenning
f7bee831b7 refactor: Remove strict checking from flightplan component
The strict checking was disabled by default and likely not used by many users.
2024-03-24 23:20:36 +01:00
Lars Toenning
6cf9dfaecf refactor: Remove aircraft highlighting/blinking functionality
This functionality was not documented. Further, this feature likely does
not work great in all simulators because adding and removing aircrafts
might take longer than a second.
2024-03-21 22:48:29 +01:00
Lars Toenning
748bfcdc15 refactor: Clean up ISimulator 2024-03-21 22:48:29 +01:00
Lars Toenning
0b6012f1dc refactor: Remove unused methods 2024-03-21 22:46:17 +01:00
Lars Toenning
dbf37c023e refactor: Remove settings hotkey tab access
The hotkeys were only implemented for some tabs as this was likely
forgotten for the new tabs. As this feature was likely not used very
often and to reduce the maintanance burden, this commit removes this feature.
2024-03-21 22:46:17 +01:00
Lars Toenning
9cdd624ae0 refactor: Remove ecosystem provider from WebDataServices
Spreading the information about the ecosystem into all
"low-level" readers, just to deactivate them when not using
a non-VATSIM ecosystem, should be avoided. Instead, the readers
should be disabled entirely from the outside . This will be done
in a upcoming refactoring (separate PR).
2024-03-21 22:42:02 +01:00
Lars Toenning
73689efa01 refactor: Use Qt::ConnectionType directly 2024-03-21 22:42:02 +01:00
Lars Toenning
995509bdfb refactor: Remove unused members from CWebDataServices 2024-03-21 22:42:02 +01:00
Lars Toenning
e03a811585 fix: Use correct EntityFlag for check 2024-03-21 22:42:02 +01:00
Lars Toenning
254ab22c93 refactor: Remove method without any effect 2024-03-21 22:42:01 +01:00
Lars Toenning
2edb17e6a5 refactor: Remove unused forward decl 2024-03-21 22:42:01 +01:00
Lars Toenning
186af2777c refactor: Remove unused method 2024-03-21 22:42:01 +01:00
Lars Toenning
3f825b7111 fix(qss): Set menu background color
As a black text color is enforced for the menu, we should also enforce a
white background for a good contrast.
This is more or less a workaround as this does not respect any system
style settings (dark mode, ...).
This fix will become obsolete once tackling #138 (removing/reducing stylesheet).

Fixes #139
2024-03-21 22:42:01 +01:00
Lars Toenning
8593d3bdb3 fix: Emitting signal with wrong entity flag 2024-03-21 22:42:01 +01:00
Lars Toenning
c0b0c74c3c fix: Always perform SSL peer verification
As the datastore now has real (no self-signed) TLS certificates, the host
verification should not be disabled by default. When testing locally,
one could use non-TLS connections.
2024-03-21 22:42:01 +01:00
Lars Toenning
d977223fd4 refactor: Remove unused RetrivalMode flag 2024-03-21 22:42:01 +01:00
Lars Toenning
4efb7d44e1 chore: Remove qmake references 2024-03-21 22:41:57 +01:00
Lars Toenning
09dda853b1 ci: Increase number of jobs on Windows 2024-03-10 08:49:19 +01:00
Lars Toenning
c4e609ca95 refactor: Simplify datastore.py
Use requests library
2024-03-09 22:44:52 +01:00
Lars Toenning
ad96d38389 refactor: Remove sync of updateinfo
The update info is already automatically fetched from GitHub instead of
using the distribution.json from the datastore
2024-03-09 22:21:12 +01:00
Lars Toenning
4298d38ee7 refactor: Clean up build.py 2024-03-09 22:09:10 +01:00
Lars Toenning
e38b12308c refactor: Remove unused symbolupload.py
The functionality was already integrated into build.py
2024-03-09 22:09:10 +01:00
Lars Toenning
a9e4f3073f refactor: Remove unused symbolstore.py 2024-03-09 22:09:06 +01:00
Lars Toenning
482407e4b3 chore: Update GitHub actions 2024-02-20 22:50:50 +01:00
Lars Toenning
e3262b0568 chore: Upgrade GitHub actions 2024-02-18 23:09:13 +01:00
Lars Toenning
2ba2d5bc8e refactor: Clarify CApplication method names 2024-02-18 23:09:13 +01:00
Lars Toenning
d977a6214c refactor: Remove outdated and unused CLI client
The CLI client was not updated to the new FSD client (already 5 years
old). Hence I assume it will not be used anymore. It was also disabled
for build already. To avoid confusions, this removes it.
2024-02-18 23:09:13 +01:00
Lars Toenning
a664371567 refactor: Move installer flag handling to launcher
This is only used by the launcher
2024-02-18 23:09:13 +01:00
Lars Toenning
a84e299e45 refactor: Remove unused single application flag 2024-02-18 23:09:12 +01:00
Lars Toenning
de45811d34 refactor: Remove unused private shared dir CLI arg 2024-02-18 23:09:12 +01:00
Lars Toenning
7b6f087247 refactor: Fix some clang-tidy warnings
- Mark single argument constructors as explicit
- Remove unused functions
- Avoid default parameters in virtual functions
- Clean up includes
- Do not call static methods through an instance
- And some more...
2024-02-18 23:09:12 +01:00
Lars Toenning
b939711058 refactor: Start WebServices and CoreFacade separately 2024-02-18 22:16:54 +01:00
Lars Toenning
9d3ae3e2b3 refactor: Restructure parsing and setup loading methods 2024-02-18 22:16:54 +01:00
Lars Toenning
99de8009be refactor: Emit CApplication::startUpComplete on starting event loop 2024-02-18 22:16:54 +01:00
Lars Toenning
9da0630063 refactor: Transform launcher into QMainWindow 2024-02-18 22:16:54 +01:00
Lars Toenning
b8a376701b fix: Remove help/version message dialogs for Gui application
These methods did not quit the application and hence the application
exits with code -1. Further, when calling swift with a commandline
argument, the user might expect to get a commandline output and not a
GUI popup.
2024-02-18 22:16:54 +01:00