Commit Graph

2817 Commits

Author SHA1 Message Date
Klaus Basan
c11a38dbde Ref T348, file handling in aircraft model (renaming)
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:09 +02:00
Klaus Basan
da2a7f6506 Ref T348, get specialized settings
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:08 +02:00
Klaus Basan
a07d18aa44 Ref T348, util function to correct FSX/P3D model path
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:07 +02:00
Roland Winklmeier
24ebc2ce7f Set the actually opened audio device from vatlib
In the past, the optional arguments currentInput and currentOutput were not
used. Therefore we never knew which device was actually opened by vatlib.
This caused the Audio UI to be completely unsychronized from the reality
when loading swiftgui.

ref T337
2018-09-12 20:30:33 +02:00
Klaus Basan
c3fa2ab2f0 Ref T335, set correct model type when saving to caches 2018-09-12 17:40:54 +02:00
Klaus Basan
68b72d9c5c Ref T335, update "enabled/"rendered" for multiple callsigns 2018-09-12 17:40:52 +02:00
Klaus Basan
c675ef5c32 Ref T335, misc. improvements of value classes/list
- verifyModelData
- setModelType
- getCallsignsAsString
2018-09-12 17:40:51 +02:00
Klaus Basan
7d715a909e Ref T335, style and CLANG warnings 2018-09-12 17:40:49 +02:00
Klaus Basan
72a54f9952 Better CSimulatedAircraft::getNetworkModelAirlineIcaoDifference / CSimulatedAircraft::getNetworkModelAircraftIcaoDifference 2018-09-12 17:40:47 +02:00
Klaus Basan
a6499751f0 Ref T335, style/messages 2018-09-12 17:40:46 +02:00
Klaus Basan
27f2fe1b57 Ref T339, simulator info message (version) for SUP supervisor 2018-09-12 17:40:42 +02:00
Klaus Basan
ad37e67a6b Ref T345, improved handling of info message in CAtcStation 2018-09-12 17:40:32 +02:00
Klaus Basan
62601bde9d Ref T345, fixed value class CInformationMessage
- added property functions
- used ITimestampBased
2018-09-12 17:40:31 +02:00
Klaus Basan
e4a9a7ce9f Ref T343, support for 7digit ids 2018-09-12 17:40:28 +02:00
Klaus Basan
1243d6e93a Ref T323, better parsing of altitude values
- assume "24000" also as FL
- epsilon comparison
- use 0-9 char functions
- style
2018-09-12 17:40:24 +02:00
Klaus Basan
b67e9ca316 Aligned epsilon with other functions 2018-09-12 17:40:23 +02:00
Klaus Basan
8f6b6229fb CLANG fixes for measurement unit 2018-09-12 17:40:22 +02:00
Klaus Basan
d60b900b84 Ref T323, functions to detect 0-9 chars since isDigit detects a lot of other chars 2018-09-12 17:40:21 +02:00
Roland Winklmeier
4b888d87f5 Add methods to read weather grid from file 2018-09-12 17:40:19 +02:00
Roland Winklmeier
dbbc459dbc Add X-Plane object version into the model description 2018-09-12 17:01:47 +02:00
Roland Winklmeier
01779183c4 Don't set distributor from CSL package name
That is almost always wrong.
2018-09-12 17:01:46 +02:00
Roland Winklmeier
d682df243a Fix loading of older OBJ8 CSL modelsets
- Fix support for older modelsets not using the texture for OBJ8 feature
- Small error when xsb_aircraft.txt was outside the object folder

ref T326
2018-09-12 17:01:45 +02:00
Klaus Basan
a9d728f451 Ref T338, utility functions / parsing
- nthIndexOf
- measurement unit can be parsed case insensitive
- CSimpleCommandParser::remainingStringAfter from n-th space
- improved frequency parsing
2018-09-12 17:01:41 +02:00
Klaus Basan
3d2d999f7a Ref T338, style 2018-09-09 02:55:16 +02:00
Klaus Basan
d37c52fed5 Ref T315, owner is normal pointer, disucssion:
- https://swift-project.slack.com/archives/GCKMFLG30/p1536331871000100
- and in comments of T315
2018-09-09 02:55:14 +02:00
Klaus Basan
a2486981bd Style 2018-09-08 15:36:25 +02:00
Klaus Basan
651ead5b51 Ref T335, misc improvements in value objects
* allow to reset PBH for terrain probe
* check for null altitude before converting
* function isTerrainProbe for model/aircraft
2018-09-08 15:36:25 +02:00
Klaus Basan
b5aeffc31b Aircraft parser (FSX/P3D) added "sim.cfg" files as filter plus style 2018-09-08 15:36:24 +02:00
Mat Sutcliffe
82648038ac Ref T315, T314 Reverted workarounds to help diagnose original bugs
and added a couple more asserts.
2018-09-08 15:36:24 +02:00
Klaus Basan
b4e17ed091 Ref T322, renamings 2018-09-08 15:36:21 +02:00
Klaus Basan
809c845a02 Ref T320, mixed FSX/FS9 strings 2018-09-08 15:36:20 +02:00
Klaus Basan
a062607520 Ref T317, fix CLANG warning for SimConnect
- casting functions in "simconnectfunctions.h"
- using correctly casted values
- some other smaller fixes
2018-09-01 20:13:56 +02:00
Klaus Basan
8286da4395 Fixed Doxygen warning 2018-09-01 03:12:44 +02:00
Roland Winklmeier
29f464189b Move template in-class function definitions out of class
Keeping them defined in-class caused linker issues with the extern template
declaration in a non-optimized MinGW debug build. Apparently it did not
inline them but instead relied on the extern declaration and expected
them defined somewhere else.
2018-08-31 20:08:14 +02:00
Klaus Basan
88aee2db1a Macthing settings key lc 2018-08-31 20:08:09 +02:00
Klaus Basan
5096df034b Ref T314, thread CContinuousWorker::finish
- use application thread if there is no owner
- use QPointer for owner
- more detailled error message
2018-08-31 20:08:06 +02:00
Klaus Basan
260585e35c Ref T308, performance optimized fromDatabaseJsonCaching
* maps for id/object
* caching fromDatabaseJsonCaching
* fixed CAircraftModel::fromDatabaseJson wrong prefix
2018-08-29 03:08:23 +02:00
Klaus Basan
c43fba9abd Ref T308, style 2018-08-29 03:08:21 +02:00
Klaus Basan
0da824a5d2 Ref T308, using QStringBuilder in simulator info 2018-08-29 03:08:20 +02:00
Klaus Basan
84bf19697c Ref T310, utility functions for statistics (incl.renaming) 2018-08-28 01:15:49 +02:00
Klaus Basan
d212d16929 String format 2018-08-27 18:58:13 +02:00
Klaus Basan
fd751e66c2 Faster QString handling in aircraft ICAO code 2018-08-27 18:58:12 +02:00
Klaus Basan
54802e9ea9 Ref T310, added model statistics dialog
* UI for statistics
* renamed to "coverageSummaryForModel"
* model list "htmlStatistics"
2018-08-27 18:58:11 +02:00
Klaus Basan
09e8b3ffcf Completer sort order and ICAO code string building 2018-08-26 15:27:04 +02:00
Klaus Basan
3ec3bb8e15 Ref T298, split military flag into check for civilian/military
* in military -> only military aircraft?
* in civilian -> only civilian aircraft?
2018-08-26 15:27:03 +02:00
Klaus Basan
4098cc843f Ref T306, remember directories value class 2018-08-26 15:27:00 +02:00
Klaus Basan
19b1345766 Ref T308, check parsing of YYYYmmdd strings (length) 2018-08-26 15:26:59 +02:00
Klaus Basan
302e9fc9d0 Use QStringBuilder in livery 2018-08-26 15:26:59 +02:00
Klaus Basan
653911e042 StringBuilder in CCountry + style 2018-08-26 15:26:57 +02:00
Klaus Basan
2fcb5fd304 Fixed missing compare index + style for matching statistics 2018-08-26 15:26:57 +02:00