Commit Graph

274 Commits

Author SHA1 Message Date
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
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
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
14c045e7b4 refactor: Remove CUrlList
Nowadays most of the loadbalancing is done on the server-side and hence
there is only a single datafile URL (and other URLs) inside the
boostrap.json.
The features of the CUrlList are hence not really used. This is also a
step into removing CUrl and using QUrl instead, to avoid maintaining a
separate URL class.
2024-02-09 16:32:45 +01:00
Lars Toenning
b39e8c3a7e fix: Unify xswiftbus spelling 2024-04-24 22:51:57 +02:00
Lars Toenning
2ba2d5bc8e refactor: Clarify CApplication method names 2024-02-18 23:09:13 +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
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
5e0f3a05d3 refactor: Read AFV URLs from bootstrap.json
This also removes the possibility to change the URL on the fly via the
UI.
Fixes #257
2024-02-18 16:33:16 +01:00
Lars Toenning
298c9eeec1 refactor: Remove option to disable autologoff
Auto logoff was always enabled in normal builds anyway, even when the
user tried to disable it (see 8eff8cd).
2024-02-06 08:45:34 +01:00
Lars Toenning
389431ccef refactor: Clean up setup file reader
Previously we already switch to loading the bootstrap file only from the
local file (ec42553910).
This removes the remaining parts of loading the bootstrap file from a
remote location.
This also updates the UI in case of parsing errors of the bootstrap.json.
2024-02-05 22:23:40 +01:00
Lars Toenning
9f50aaaa4a fix: Remove broken ATC station booking overview
Related to #252
2024-01-27 08:55:46 +01:00
Lars Toenning
46e6eaba7f feat(ui): Show warning if Input Monitoring is not allowed
Related to #125
2023-12-14 15:48:27 +01:00
Lars Toenning
f3f777e7ea Replace deprecated CFBundleGetInfoString key
See https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html
2023-11-26 18:41:07 +01:00
Lars Toenning
cf11f3f2b7 Set version number in macOS plist 2023-11-26 18:41:07 +01:00
Lars Toenning
538e28a488 cmake: Set CMAKE_OSX_DEPLOYMENT_TARGET 2023-11-26 18:41:07 +01:00
Lars Toenning
662ae094b4 Build MacOS executables as bundles 2023-11-22 18:30:30 +01:00
Lars Toenning
6f29139d97 Fix VATSIM spelling 2023-11-22 18:30:30 +01:00
Lars Toenning
ea937c6a27 Remove outdated comment 2023-11-16 11:45:06 +01:00
Lars Toenning
ee33a75ba0 Add login/logoff notification sound option
Fixes #156
2023-11-16 11:45:06 +01:00
Lars Toenning
1deaeba584 Add CMake support 2023-11-12 21:36:21 +01:00
Lars Toenning
3ffb8f689b Remove qmake files 2023-11-01 22:23:15 +01:00
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Lars Toenning
72ac4e6b47 Fix doxygen warnings
Fixes #188
2023-04-05 18:59:41 +02:00
Mat Sutcliffe
7691e42a5b Fix doxygen warnings
Fixes #188
2023-04-05 18:57:11 +02:00
Lars Toenning
963c4ec495 Remove link to web map
swift web map is not running anymore
2022-06-20 23:43:45 +02:00
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Lars Toenning
cedaa48f5a Issue #120 Remove separate PTT COM1/COM2 hotkeys 2021-09-14 00:07:01 +02:00
Mat Sutcliffe
abc96590e4 Issue #115 Blink the disconnect button to catch the user's attention 2021-09-10 18:33:37 +01:00
Mat Sutcliffe
8952229b82 Issue #115 Main connect button only opens the login view 2021-09-01 20:40:12 +01:00
Mat Sutcliffe
371c1f4f7c Issue #77 Break cyclic dependency between CLogCategory and numerous classes 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
63e8de8f00 Issue #77 getLogCategories returns a simple QStringList instead of our own class 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
479210957a Issue #77 Break dependency of worker on identifiable 2020-08-29 14:16:19 +01:00
Mat Sutcliffe
b80114213d Issue #77 Move mixin classes to separate files
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Mat Sutcliffe
802576eda9 Issue #77 Rename 2020-08-29 14:16:11 +01:00
Mat Sutcliffe
0c78c187f8 Issue #77 Style 2020-08-28 00:45:27 +01:00
Mat Sutcliffe
2ae0352e75 [doxygen] Fix broken groupings 2020-08-01 19:48:37 +01:00
Mat Sutcliffe
86dd91a064 Issue #15 [GUI] Use CLogHistoryReplica in CLogComponent and swift applications 2020-08-01 19:48:36 +01:00
Mat Sutcliffe
670b1a1986 Fix cppcheck and compiler warnings 2020-06-29 18:34:16 +01:00
Mat Sutcliffe
78987a678f Suppress Qt 5.15 deprecation warnings 2020-06-29 18:34:14 +01:00
Klaus Basan
bba07ef4c4 [AFV] Signal/handling for authentication failures
* authentication issues in AFV were silently handled
* and there was no re-try, which could mean an initial glitch COULD cause AFV not working properly
* NOW handling in AFV client and context
* also reset connection data so for a new session no old authentication token or check time is used
* check for "invalid" QDateTime(s)
2020-06-12 18:42:54 +01:00
Klaus Basan
b125d474c7 Keep application in {} block to force deletion of the UI 2020-06-12 18:42:42 +01:00
Klaus Basan
e8786f9794 Some CDockWidget improvements
* save original dock areas
* init dw_InfoBarStatus as it is not part of an info area (which does that)
2020-06-12 18:42:41 +01:00
Klaus Basan
0ee522426a Create "shutdown" message to find how far we get if swift hangs during shutdown 2020-06-12 18:42:41 +01:00
Klaus Basan
7f4a68eb45 [WASAPI] another WASAPI fix trial
* disabled the initWindowsAudioDevices call as it seems to be pointless
* changed the order in CContextAudioBase::initVoiceClient
* init CAudioDeviceInfoList::allDevices BEFORE CAfvClient

see https://discordapp.com/channels/539048679160676382/539925070550794240/687769623827185671
2020-06-12 18:42:37 +01:00
Klaus Basan
81fa0b56c1 [AFV] Based on RRs idea init Qt audio device lists. The idea is to init them upfront in the main thread
Ref: https://discordapp.com/channels/539048679160676382/539925070550794240/676414836351172614
2020-06-12 18:42:34 +01:00