Commit Graph

175 Commits

Author SHA1 Message Date
Lars Toenning
e14a953740 refactor: Remove old files 2024-12-03 20:01:52 +01:00
Lars Toenning
7bc99ff6f2 refactor: Fix include guard end comment 2024-12-01 14:25:18 +01:00
Lars Toenning
7f277e4542 refactor: Clean up includes 2024-12-01 14:25:18 +01:00
Lars Toenning
74415e756a refactor: Use chrono instead of plain ints 2024-11-30 16:29:15 +01:00
Lars Toenning
1a0b2a8c5f refactor: clang format line length 2024-11-17 09:25:46 +01:00
Lars Toenning
97eed9562a refactor: clang-format 2024-11-16 21:40:55 +01:00
Lars Toenning
64b765529e refactor: Fix some clang-tidy warnings 2024-11-15 20:55:53 +01:00
Lars Toenning
6d1812b164 refactor: Rename blackgui to swift::gui 2024-11-11 15:11:40 +01:00
Lars Toenning
3a2447770f refactor: Rename blackcore to swift::core 2024-11-11 15:11:39 +01:00
Lars Toenning
9142a3649b refactor: Rename blackmisc to swift::misc 2024-11-11 15:11:39 +01:00
Lars Toenning
5982296856 refactor: Rename BlackSound to swift::sound 2024-11-11 14:49:01 +01:00
Lars Toenning
0db0c16668 refactor: Rename BlackConfig to swift::config 2024-11-11 13:02:35 +01: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
b2ae4e5681 build: Add ifdef to disable VATSIM build 2024-07-07 22:04:59 +02:00
Lars Toenning
2ba2d5bc8e refactor: Clarify CApplication method names 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
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
9da0630063 refactor: Transform launcher into QMainWindow 2024-02-18 22:16:54 +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
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