Commit Graph

6590 Commits

Author SHA1 Message Date
Klaus Basan
e1ffa49268 Check for known model so mapping component can check without loaded model set 2018-09-12 17:40:45 +02:00
Klaus Basan
7613ec9219 Server form adjustments 2018-09-12 17:40:43 +02:00
Klaus Basan
27f2fe1b57 Ref T339, simulator info message (version) for SUP supervisor 2018-09-12 17:40:42 +02:00
Klaus Basan
97cf9f4939 Ref T346, framless window “UpdateLayeredWindowIndirect failed” error preparations 2018-09-12 17:40:41 +02:00
Mat Sutcliffe
d2d27a8eac Rework sortHint test to pre-construct 500k separate situationlist objects
and then test each one, instead of just testing a single list object 500k times.
As a result, performance on Mac is comparable to Windows and Linux.
2018-09-12 17:40:40 +02:00
Klaus Basan
1e5525e08f Shift to go to first ATC tab 2018-09-12 17:40:39 +02:00
Klaus Basan
7e9f3a6c7f Ref T342, distance of airport can be recalculated 2018-09-12 17:40:38 +02:00
Klaus Basan
3c9b8f98ca Ref T345, fixes in ATC UI
- use toggled to detect all/in range
- update ATIS when row is selected or clicked
- changing all/in range "updates"
2018-09-12 17:40:37 +02:00
Klaus Basan
111eca61ee Ref T345, airspace monitor/context ATIS handling
* using Qt::QueuedConnection
* use new update functions
2018-09-12 17:40:35 +02:00
Klaus Basan
46c684f04c Ref T345, in view added acceptRowSelection 2018-09-12 17:40:34 +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
e89b29fe1f Ref T343, use 7digit id 2018-09-12 17:40:29 +02:00
Klaus Basan
e4a9a7ce9f Ref T343, support for 7digit ids 2018-09-12 17:40:28 +02:00
Klaus Basan
8c10237dce Ref T343, style 2018-09-12 17:40:27 +02:00
Klaus Basan
9ead9fd338 Ref T323, UI message for overriding flight plan 2018-09-12 17:40:26 +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
9f1a51fb13 Fix wrong QHash value lookup for voice channels in use 2018-09-12 17:01:53 +02:00
Roland Winklmeier
3804612bed Fix the initial weather request in case last position is null
calculateGreatCircleDistance returns false immediately if any of the
arguments was null.

ref T324
2018-09-12 17:01:51 +02:00
Roland Winklmeier
7a7f1f2df0 Correct the received range of ATIS stations
ATIS stations seem to send 0 NM as their visibility range. That can cause
them to be filtered in the ATC online view.
Overwrite the range value with the default TWR range of 50 NM.
2018-09-12 17:01:50 +02:00
Roland Winklmeier
1e16203d04 Check which voice channel is allocated to COM1
ref T328
2018-09-12 17:01:48 +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
Roland Winklmeier
00abf48047 Initialze onGround for VatPilotPosition and VatPilotInterimPosition
This caused some issues in the calculation of the PBH integer and consequently
an offset of about 30 degrees heading.

ref T327
2018-09-12 17:01:44 +02:00
Klaus Basan
d411aa471f CLANG fixes, requires "this" 2018-09-12 17:01:42 +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
30669a4d35 Ref T331, closing "X" on message tab 2018-09-09 02:55:15 +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
837288b874 Gracefully shutdown if destructed, slightly related to Ref T315 2018-09-09 02:55:13 +02:00
Klaus Basan
b1013b6c66 Ref T335, UI to enable/disable terrain probe 2018-09-09 02:55:12 +02:00
Klaus Basan
bbd6a70162 Ref T335, improve FSX/P3D probe/aircraft handling
- probes handled in same sim object list as aircraft
- init probes at beginning, probes can be disabled
- better handle SIMCONNECT_EXCEPTION_CREATE_OBJECT_FAILED:
- CSimulatorFsxCommon::verifyAddedTerrainProbe
- use "SimConnect_AICreateSimulatedObject" for probes
2018-09-09 02:54:41 +02:00
Klaus Basan
2020c04f52 Ref T335, improved probe support for CSimConnectObject/CSimConnectObjects. We will no longer use 2 separate object lists for probes/aircraft. 2018-09-09 02:54:39 +02:00
Klaus Basan
24deffca74 Ref T317, style 2018-09-09 02:54:39 +02:00
Klaus Basan
947ca805bb Ref T334, assert message 2018-09-09 02:54:38 +02:00
Klaus Basan
4406174668 Ref T341, crash prevention as seen in https://crashreports.swift-project.org/crashreports/81 2018-09-09 02:53:36 +02:00
Klaus Basan
55690846fe Ref T312, ignore not running listeners checking again via button 2018-09-08 15:36:25 +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
916f2f6180 Added missing "order" context menu 2018-09-08 15:36:25 +02:00
Klaus Basan
ece54729ef Views style 2018-09-08 15:36:24 +02:00
Klaus Basan
9f5e265c5e Shutdown guard 2018-09-08 15:36:24 +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
Roland Winklmeier
27248abb8d Remove the obsolete auto updater project 2018-09-08 15:36:23 +02:00