Commit Graph

9319 Commits

Author SHA1 Message Date
Klaus Basan
947e393b03 [P3D] Support for v5, wrong path used for validation
* guess version in validation
* changed some values to v5 as default
* search also for future versions of P3D (e.g. v5)
2020-06-12 18:42:56 +01:00
Klaus Basan
58524a63ea [UI] Smaller UI adjustments 2020-06-12 18:42:54 +01:00
Klaus Basan
53b22f62a9 [CPP check] Fixed minor FS9 CPP check issue (+ small style adjustment) 2020-06-12 18:42:54 +01:00
Klaus Basan
86cd61e408 [FSUIPC] Log.message for weather write 2020-06-12 18:42:54 +01:00
Roland Rossgotterer
93dfcb72be [Installer] Install audio plugin *.bak files on Windows 2020-06-12 18:42:54 +01:00
Roland Rossgotterer
2c3c9a123a [FS9] Finalize aircraft parts animations
This change implements very basic parts animation including
- Gear up & down
- Flaps up & down
- Engine on & off
2020-06-12 18:42:54 +01:00
Roland Rossgotterer
9fa3221abc Replace deprecated endl with Qt::endl 2020-06-12 18:42:54 +01:00
Klaus Basan
1e633a5704 [AFV] Use heartbeat to re-connect to AFV
* some utility functions
* reset values after disconnect
2020-06-12 18:42:54 +01:00
Klaus Basan
fccaf1fae1 Fixing some bugs in simulator, use CCrashHandler::instance()->crashAndLogAppendInfo IF NOT shutting down 2020-06-12 18:42:54 +01:00
Klaus Basan
1fb97755ce [Weather] Only send weather if activated 2020-06-12 18:42:54 +01:00
Klaus Basan
bba07ef4c4 [AFV] Signal/handling for authentication failures
* authentication issues in AFV were silently handled
* and there was no re-try, which could mean an initial glitch COULD cause AFV not working properly
* NOW handling in AFV client and context
* also reset connection data so for a new session no old authentication token or check time is used
* check for "invalid" QDateTime(s)
2020-06-12 18:42:54 +01:00
Klaus Basan
9e6716e515 [AFV] Allow to log. input receiver 2020-06-12 18:42:54 +01:00
Klaus Basan
2c6794a009 StringBuilder for client 2020-06-12 18:42:54 +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
e50520c0aa Added a component for aircraft parts
* internals page and log.display both use that component
* complete parts code now encapsulated
2020-06-12 18:42:53 +01:00
Mat Sutcliffe
26af392085 Ignore null pointer warnings in rapidjson 2020-06-12 18:42:53 +01:00
Mat Sutcliffe
6e30da2c48 Update libxplanemp 2020-06-12 18:42:53 +01:00
Mat Sutcliffe
a7c696d385 Enable GCC and Clang warnings for zero being used as a null pointer 2020-06-12 18:42:53 +01:00
Mat Sutcliffe
20c6bef800 Fixed mistakes in CStatusMessage copy assignment operator 2020-06-12 18:42:53 +01:00
Klaus Basan
114b36e611 [FSX/P3D] Simplified listener
* removed inner SimConnect_CallDispatch loop/CApplication::processEventsFor
* keep connection open, and check dispatch queue
2020-06-12 18:42:53 +01:00
Klaus Basan
32605cd557 [AFV] Finer granularity for inc./dec. volume (hotkey) 2020-06-12 18:42:53 +01:00
Klaus Basan
f2e0e7b22e [AFV] Renamed to "setGainRatio" as the value does not represent a volume, but a multiplier 2020-06-12 18:42:53 +01:00
Klaus Basan
8848faadfa [AFV] Disabled the device output functions (not used)
Remark: might be used in AFV client, hence kept
2020-06-12 18:42:53 +01:00
Klaus Basan
7d51bedc3e [AFV] misc style issues:
* object name
* simple style fixes
* some renamings
* comments
2020-06-12 18:42:53 +01:00
Klaus Basan
c1622951b3 Util. function for class name 2020-06-12 18:42:53 +01:00
Klaus Basan
5987e58043 [UI] Login, use remembered ICAO codes if there is no DB model
Remark: We need to see how this works, in some cases in
the past (previous version) his has caused odd behaviour
2020-06-12 18:42:53 +01:00
Klaus Basan
348a5573c4 Ref T768, made UI component a bit smaller as first trial 2020-06-12 18:42:53 +01:00
Klaus Basan
12613c9ed4 [FSUIPC] Style, use const "lists" to iterate 2020-06-12 18:42:53 +01:00
Klaus Basan
7b49f56695 [FSD] Use errorString for socket errors 2020-06-12 18:42:53 +01:00
Klaus Basan
15b3ac2daa [FSD] Also log/display socker error string 2020-06-12 18:42:52 +01:00
Klaus Basan
1a71d8afe1 Style 2020-06-12 18:42:52 +01:00
Klaus Basan
2aa8e55b4b [XPlane] log listener
We ca see the listener working in the log,
as there are sometimes issue with that in MacOS
2020-06-12 18:42:52 +01:00
Klaus Basan
2497e689af [FSX/P3D] self adjusting timer for listener
P3D with remote connections caan be SLOW before running in a timeout
2020-06-12 18:42:52 +01:00
Mat Sutcliffe
26bd157551 Ref T786 Fixed dangling pointer in CSlot::singleShot 2020-06-12 18:42:52 +01:00
Klaus Basan
5678052b5d Ref T786, enable weather in sim. if plugin changed 2020-06-12 18:42:52 +01:00
Klaus Basan
387d47ebf8 Ref T786, test code for the CSLOT crash
Can be removed if the issue is solved.
2020-06-12 18:42:52 +01:00
Klaus Basan
e63129267d Ref T786, smaller improvements
* allow to use ICoordinateGeodetic, not the CCoordinateGeodetic implementation only
* allow to init weather grid by initial ICoordinateGeodetic
2020-06-12 18:42:52 +01:00
Klaus Basan
9235f3232e Improvements during shutdown
* stop listeners
* check if airspace monitor and FSD still exist
* stop listeners on "aboutToShutdown()"
* check for processEventsFor(500)
2020-06-12 18:42:52 +01:00
Klaus Basan
95ca63ce6d Ref T786, fixed weather sample
* RR found that no alt value means a huge number of grid points is parsed
* see https://discordapp.com/channels/539048679160676382/539925070550794240/701762348506939693
2020-06-12 18:42:51 +01:00
Klaus Basan
4af35e92c1 Ref T786, weather checks
* avoid NULL distances
* avoid incomplete requests
2020-06-12 18:42:51 +01:00
Klaus Basan
5ef25d4a41 Ref T786, fixed weather sample
* RR found that no alt value means a huge number of grid points is parsed
* see https://discordapp.com/channels/539048679160676382/539925070550794240/701762348506939693
2020-06-12 18:42:51 +01:00
Klaus Basan
0a2b25e409 [PQ] Parsing with default unit, bug fixed 2020-06-12 18:42:51 +01:00
Klaus Basan
170da452ee [Weather] Message that "real weather is loading" 2020-06-12 18:42:51 +01:00
Klaus Basan
8f5e24fe0b [FS9] Preparation for sending parts
* function sendMultiplayerPositionAndPartsFromInterpolation sending parts and positions
* bogus function MPParam aircraftPartsToFS9 (needs to be implemented)
* changed to sendMultiplayerParts(const CAircraftParts &parts) - like for positions
* fixed some smaller bugs
2020-06-12 18:42:51 +01:00
Klaus Basan
e91b88691a [FS9] Const correctness 2020-06-12 18:42:51 +01:00
Klaus Basan
41f28ea858 [FS9] Fixes
* guards like "if (!m_fs9Host.data()) return"
* bogus function "sendMultiplayerParts" (at least ot have it in place)
* fixed "testSendSituationAndParts"
2020-06-12 18:42:51 +01:00
Klaus Basan
1d72d89461 [FSD] Fix UNIT tests, as pilot rating now is correctly send 2020-06-12 18:42:51 +01:00
Klaus Basan
f9bb71c8ee Ref T786, FSX/P3D METAR (weather inject)
* allow to select which layers are converted to METAR string
* allow to pass sim.flag (FSX/P3D)
* winds aloft seem to crash FSX, disabled(!)
2020-06-12 18:42:51 +01:00
Klaus Basan
17cebfb8d3 Ref T786, further checks (shutdown, empty values) 2020-06-12 18:42:51 +01:00
Klaus Basan
2156eb1831 [Matcher] do not ASSERT without modelstring, try default model or give up 2020-06-12 18:42:50 +01:00