Commit Graph

2301 Commits

Author SHA1 Message Date
Klaus Basan
42e5b06926 Ref T172, disabled x-dependency between type and eco system
This makes it impossible to set some combinations
2018-01-17 05:02:09 +01:00
Klaus Basan
f17e57bd51 Minor style fixes 2018-01-15 23:00:56 +01:00
Klaus Basan
f049900e1f Ref T223, use const values for standard pressure
* standardISASeaLevelPressure
* use static const values for standard pressure
* minor formatting
2018-01-15 23:00:34 +01:00
Klaus Basan
632e0207ce Ref T224, improved check of DB data availability in swift GUI
* some renamings
* check for empty caches as well
* using fixed timestamp checks
* display info about loading objects
2018-01-15 22:50:35 +01:00
Klaus Basan
0fa4bf1e9d Ref T207, workaround for Q_ASSERT issue described in T207 2018-01-15 22:50:28 +01:00
Roland Winklmeier
de4fe44156 Fix sending the correct pressure altitude for a pilot position
* Before this commit, only the true altitude was known for an aircraft situation. The pressure altitude was not available anywhere yet.
* This caused a wrong altitude in radar clients.
* We fix this reading the pressure altitude from the simulators and set it in the own aircraft situation.
* MS Flight Simulators have the pressure altitude in the APIs available.
* For X-Plane and emulated simulator, we need to calculate it from the pressure at sea level.
* Finally, we use the new available pressure altitude to send it to the FSD server.

Maniphest Tasks: Ref T223
2018-01-15 22:49:08 +01:00
Roland Winklmeier
51a90a9a71 Differentiate between true and pressure altitude
Altitude can have different meanings in aviation. So far all our
altitudes were true altitudes. But now we also require pressure altitude
including a conversion method between the two.

Maniphest Tasks: T223
2018-01-15 22:43:08 +01:00
Klaus Basan
f0d2336eb6 Ref T199, all file names of multi simulator caches 2018-01-14 18:47:46 +01:00
Klaus Basan
47778acf81 Ref T199, utility file functions 2018-01-14 18:47:44 +01:00
Klaus Basan
312d01d35b Ref T199, also cache files can be loaded
* unwrap cache JSON object
* parameter to control if cache format is allowed
2018-01-14 18:47:37 +01:00
Klaus Basan
826760e347 Bootstrap file name encapsulated 2018-01-14 18:47:28 +01:00
Klaus Basan
fea8ed6802 Ref T219, flight plan value class adjustements 2018-01-14 18:46:16 +01:00
Klaus Basan
93d1dcfc1d Ref T219, added some utility functions in value classes 2018-01-14 18:46:14 +01:00
Klaus Basan
c23fe86f7f Ref T219, changed or removed some log category functions
* removed unused
* used standard "static const CLogCategoryList &getLogCategories()" patten
2018-01-14 18:46:04 +01:00
Klaus Basan
d073f711e3 Ref T219, added some log pattern 2018-01-14 18:46:01 +01:00
Klaus Basan
4bc9b92c69 Ref T218, find hotkeys by same machine 2018-01-14 18:45:53 +01:00
Klaus Basan
fa6f83d87b Ref T218, sequence replaceOrAdd overloads 2018-01-14 18:45:50 +01:00
Klaus Basan
2c5a6c0a3a Ref T218, renamed some functions of CIdentifier 2018-01-14 18:45:48 +01:00
Klaus Basan
d7bc247469 Ref T125, altitude parse and FP string functions
* asFpAltitudeString
* asFpAltitudeSimpleVatsimString (non standard format)
* parseFromFpAltitudeString
2018-01-14 18:45:33 +01:00
Klaus Basan
2fb7bde447 Ref T215, some adjustments of user object
* remove "valid" from some functions, because no validity is checked
* homebase + real name string
2018-01-13 05:04:34 +01:00
Klaus Basan
b2c0d726bc Ref T215, PQ integer support 2018-01-13 05:04:33 +01:00
Klaus Basan
35af956c95 CAltitude formatting 2018-01-13 05:04:31 +01:00
Klaus Basan
26b5a6ce28 Found during T215, rectify CIdentifier issues
* null/anonymous identifier
* CIdentifier can be linked with QObject and
* CIdentifier reflects name changes of QObject (UI components change name after ctor call)
2018-01-13 05:04:27 +01:00
Klaus Basan
8c539fab0a Ref T215, FP value class
* split into prefix / aircraft ICAO / suffix
* suffix equipment code functions
* fixed FP remarks loading (JSON file)
* fixed missing sending of aircraft ICAO
2018-01-13 05:04:17 +01:00
Klaus Basan
0975abcc46 Ref T215, remember last server and model as cache value
* also remember last server not VATSIM server
* remember last model used
* server list selector uses remembered value
* login component sets those values
2018-01-13 05:04:11 +01:00
Klaus Basan
77cd49cb0f Ref T215, severity can be set for validation 2018-01-13 05:04:05 +01:00
Klaus Basan
b68e232f38 Ref T215, utility functions
* CServer
* ICAO List
2018-01-13 05:04:03 +01:00
Klaus Basan
2c60dfd133 Ref T172, using centralized swift test server
Remark: The credentials for the server were distributed in multiple places, now cnetralized in one
2017-12-29 19:49:30 +01:00
Klaus Basan
c1df30fc55 Ref T172, added ecosystem in CServer class 2017-12-29 19:49:22 +01:00
Klaus Basan
8724e3dc3a Ref T172, ecosystem value class 2017-12-28 20:00:01 +01:00
Klaus Basan
efd4e110b7 Ref T172, formatting
* this->m_ => m_
* formatting
* comments / doxygen
2017-12-28 18:44:32 +01:00
Klaus Basan
9ec3d69eaa Ref T199, added some utility functions
* tag object can be read from data directory
* isNull
* some renamings
2017-12-25 13:10:15 +01:00
Klaus Basan
60b90d6582 Ref T199, some more details (members) in info 2017-12-25 13:06:56 +01:00
Klaus Basan
e81211775b RW's review fixes Ref T202 Ref T189 Ref T210
* dmg comment and follow up issue created
* cppcheck-suppress passedByValue in cppcheck.supp
* renamed from Xsb -> XSwiftBus
* reverted wrong "static const QString dataStr"
2017-12-21 19:50:19 +01:00
Klaus Basan
5a24e40312 Ref T210, cppcheck fixes
a) 23	performance	useInitializationList	false	Variable 'm_artifactsPilotClient' is assigned in constructor body. Consider performing initialization in initialization list.
b) 33	performance	passedByValue	false	Function parameter 'il' should be passed by reference.

a) is clear, but b) seems to be wrong, hidden by "cppcheck-suppress"
2017-12-21 19:50:16 +01:00
Klaus Basan
1242c17e7a Formatting 2017-12-21 19:50:13 +01:00
Klaus Basan
8b74acb3a9 Ref T210, moved "guess" into CApplicationInfo
* core unit test, set correct type
* guess application type now in CApplicationInfo
2017-12-21 19:50:09 +01:00
Klaus Basan
cb751306f8 Ref T211, fake and anonymous identifier static const 2017-12-21 19:50:06 +01:00
Klaus Basan
aaf4c35f80 Ref T211, formatting 2017-12-21 19:49:59 +01:00
Klaus Basan
0f8bbbbfc2 Ref T210, adjusting classes to use new functions 2017-12-21 19:49:52 +01:00
Klaus Basan
4a2a059865 Ref T210, "local developer" distribution 2017-12-21 19:49:48 +01:00
Klaus Basan
3269d91baa Ref T210, removed ApplicationModeFlag 2017-12-21 19:49:44 +01:00
Klaus Basan
265869dc1f Ref T210, boolToEnabledDisabled 2017-12-21 19:49:37 +01:00
Klaus Basan
379357d5d5 Formatting 2017-12-21 19:49:34 +01:00
Klaus Basan
a4d4bd7056 Ref T203, fixed gcc issue
static const CPlatform &linux()
platform.h:129:33: error: expected unqualified-id before numeric constant
2017-12-21 19:49:01 +01:00
Klaus Basan
45d02bd22a Ref T203, file utility functions 2017-12-21 19:48:54 +01:00
Klaus Basan
2589b6283b Ref T203, adjusted property index for new classes
* artifact
* update info
2017-12-21 19:48:27 +01:00
Klaus Basan
28225d5611 Ref T203, update info combining artifacts and distributions 2017-12-21 19:48:23 +01:00
Klaus Basan
de7312a869 Ref T203, adjustments for distribution class
* distribution is just the channel, no more the concrete file
* masterdir no longer part of distribution
* using QStringList instead of QSet in some place so sort order is kept
* new utility functions
2017-12-21 19:48:20 +01:00
Klaus Basan
6347c65a2f Ref T203, platform class (OS) 2017-12-21 19:48:13 +01:00