Commit Graph

154 Commits

Author SHA1 Message Date
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
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
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
521859f9ac Remove broken launcher news widget
The links for news are broken.
As most announcements are published via Discord nowadays, remove it for now.
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
Mat Sutcliffe
038c57d149 Issue #77 Factor out parts of CFsCommonUtil into new class CFsDirectories
This breaks the cyclic dependency involving
CSimulatorInfo, CFsCommonUtil, and CAircraftModelList.
2020-12-19 18:50:40 +00:00
Mat Sutcliffe
f461f60635 Fix Clang warnings 2020-12-19 18:50:37 +00:00
Mat Sutcliffe
8e065a8fef Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +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
Klaus Basan
54646c8edb [LOG] Ignore some Qt warnings in released swift version
* those warnings confuse the user
* not ignored in DEV versions
* see https://discordapp.com/channels/539048679160676382/539925070550794240/704375325336928338
2020-06-12 18:42:54 +01:00
Klaus Basan
8278a7d5e6 [P3D] Adjustments for P3D v5
* guess version
* added new version selection
2020-06-12 18:42:48 +01:00
Klaus Basan
8f4c4a249c [5.14.1] UI adjustments
* OS native check of screen resolution (Qt free, experimental)
* changed rounding
* use string for scale factor so we can use fractions as 2/3
* utility functions to clean numbers, parse fractions

It looks like:

* my WIN10 scaling is 250%
* obviously swift rounds that to 3 (device ratio)
* now using FLOOR policy down-rounding to 2
* rational: scaling up (scale factor) is better as down-scaling as the factors would be clearer
* 2->3 1.5, but 3->2 means 0.66667
2020-06-12 18:42:30 +01:00
Klaus Basan
8c5fe89f6c [Windows registry] Allow to clean all swift registry entries
* for uninstallation
* few users reported a hanging (white screen) swift issue, solved by "cleaning the registry"

see https://discordapp.com/channels/539048679160676382/539925070550794240/664557031784448010
2020-01-09 20:25:59 +01:00
Klaus Basan
8eaa4f7f15 Qt 5.14 hi-res adjustments, as HI-DPI screen handling has changed
* see // https://lists.qt-project.org/pipermail/development/2019-September/037434.html
* qss adjustemnts
* larger default sizes for core/launcher/client for 1920x1080 screens
2020-01-07 19:57:28 +00:00
Mat Sutcliffe
bb65506d22 Fix version number embedding in Windows EXE and DLL files
Remove our Windows resource files (*.rc)
and let qmake generate them instead.
2020-01-07 19:57:27 +00:00
Klaus Basan
8dd0a06c81 [AFV], Ref T731, Ref T739 remember audio settings in launcher 2020-01-07 19:57:22 +00:00
Roland Rossgotterer
6e5638d15e [MacOS] Add NSMicrophoneUsageDescription to swift launcher plist 2020-01-07 19:46:14 +00:00
Klaus Basan
0df63f4b6b [AFV] Ref T739, audio can be disabled from launcher 2020-01-07 19:05:43 +00:00
Klaus Basan
94104770bd [Usability] Launcher in installer mode checks installation
Do not launch wizard if we just update swift (bug fixes)
2019-10-24 01:24:38 +02:00
Klaus Basan
cde18d23aa [AFV] Style, Doxygen 2019-10-24 01:22:56 +02:00
Klaus Basan
57909d97dc [AFV] Ref T730, request mic.access on MacOS for launcher
* needed to start the mic.access depending applications GUI/core
* see https://discordapp.com/channels/539048679160676382/567983892791951374/634806582013591603
2019-10-19 00:03:09 +02:00
Klaus Basan
40eb531a3a [AFV], Ref T731 allow to open the drashdump directory from menu/launcher tools 2019-10-18 16:36:15 +02:00
Klaus Basan
1eb8ed463d Minor UI glitch fixed 2019-10-16 17:40:32 +02:00
Klaus Basan
9ddb55e79f Ref T731, Ref T739, adjusted launcher to only support "STANDALONE" and "DISTRIBUTED"
* the audio on core/GUI modes are no longer valid
* aligned the core mode enum
2019-10-11 19:00:42 +01:00
Klaus Basan
cfead08b13 Ref T739, use correct (new) core modes / removed old modes 2019-10-11 19:00:37 +01:00
Roland Rossgotterer
acf540be34 Long live FsdClient 2019-09-18 13:49:37 +02:00
Klaus Basan
a5663914c5 Launcher tools, display FSX/P3D config dirs 2019-09-16 22:40:31 +01:00
Klaus Basan
7c2a3e4142 Launcher Tools Page for utilities which may be helpful
* merged about/news
* tools page
2019-09-16 22:40:24 +01:00
Roland Rossgotterer
5f00747d19 [MacOS] Ask user for permission to access microphone
This is required for MacOS 10.14 and later. This also requires an explanation why
access is required in the apps Info.plist. Hence added custom Info.plist templates
for each app.
2019-05-13 11:21:05 +02:00
Klaus Basan
ce534d2536 Allow to reset window size from launcher 2019-05-13 11:20:49 +02:00
Klaus Basan
803e68edd3 Do not show core button in standalone 2019-05-13 11:20:38 +02:00
Klaus Basan
5c870a8404 Center wizard page and use "classic style" 2019-04-11 22:12:17 +01:00
Klaus Basan
66cbe1662e Ref T560, reset move position 2019-04-11 22:12:05 +01:00
Klaus Basan
a5835f963c Loading defaults from launcher setup did not work anymore.
For some strange reason the radio button checking did not work. Used a new concept.
2019-04-11 22:12:01 +01:00
Klaus Basan
dfd54e497c [qss] Stylesheet improvements as discussed in Discord for Win 1920x....
* Launcher slightly larger to avoid scrollbars
* XPDR mode in status bar a bit higher
* Cockpit COM component a bit higher
2019-04-11 22:11:58 +01:00
Klaus Basan
1dd6a0852d Fixed update info
* save before displaying "update info" as it relies on saved channel
* signal to indicate new version, using that for launcher header
2019-04-11 22:11:39 +01:00
Klaus Basan
b9c233802f Ref T419, use version from IDatastoreObject in CArtifact
* add QVersion
* remove version parts from CArtifact
2019-04-11 22:11:37 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
a32eadee6a Display cmd. arguments if SHIFT is pressed 2019-02-22 20:35:43 +00:00
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +00:00
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Klaus Basan
56f2b48c47 Launcher style/minor UI adjustments 2018-10-07 16:17:27 +02:00