Commit Graph

215 Commits

Author SHA1 Message Date
Klaus Basan
c1470f6069 Ref T730, removed voice vatlib 2019-10-11 19:00:20 +01:00
Roland Rossgotterer
acf540be34 Long live FsdClient 2019-09-18 13:49:37 +02:00
Klaus Basan
b3945adc98 Improved VATSIM status file reading 2019-09-16 22:41:33 +01:00
Klaus Basan
1d75b5fac7 Log info/warning about METAR URL 2019-09-16 22:41:32 +01:00
Mat Sutcliffe
942417b7a9 Avoid constructing CStatusMessage format string from external data source.
Put external data source as argument using stream operator instead.

Part 1 of hotfix for assert caused by percent character in vatsim-data.txt
2019-09-16 22:41:29 +01:00
Klaus Basan
b43ab76007 Add URL info for reading 2019-09-16 22:41:28 +01:00
Klaus Basan
a583def040 Ref T703, sending and receiving of relayed text messages
* turn relayed messages into normal messages
* avoid signals for relayed messaged
* relay received messages to partner (co-pilot)
2019-09-16 22:41:23 +01:00
Klaus Basan
6adea91618 Ref T703, set partner callsign in network vatlib / functions in context adjusted 2019-09-16 22:41:21 +01:00
Klaus Basan
cffab0954d Ref T659, get network preset values from network vatlib 2019-09-16 22:41:09 +01:00
Klaus Basan
5b5e139d10 Fix for index issue
https://discordapp.com/channels/539048679160676382/568904623151382546/604778928787161099
https://discordapp.com/channels/539048679160676382/567983892791951374/593854116992778263

5   org.qt-project.QtCore         	0x0000000104efe2c2 qt_assert_x(char const*, char const*, char const*, int) + 80
6   libblackcore.0.9.2.dylib      	0x0000000102ad79f1 BlackCore::Vatsim::CVatsimDataFileReader::parseVatsimFile(QNetworkReply*) + 13633 (qstringliteral.h:100)
2019-09-16 22:40:45 +01:00
Klaus Basan
ee5f1d329d Ref T706, some fixes around the ATIS voiceroom URL issue
Discord: https://discordapp.com/channels/539048679160676382/602915311380987905/602917602293055489
2019-09-16 22:40:43 +01:00
Klaus Basan
4761f5f356 Ref T659, network can use changed livery/modelstring, and/or not send at all 2019-09-16 22:40:41 +01:00
Klaus Basan
f59b52bd6d Ref T702, hardcoded min.ranges for ATC stations 2019-09-16 22:40:21 +01:00
Klaus Basan
891a058f17 Ref T698, enable network stats for restricted distributions 2019-09-16 22:40:17 +01:00
Klaus Basan
a5a6a111e1 Ref T698, write network statistics as file when logged off from network
* enum to string (VatClientQueryType)
* also trace calls in "chronological order"
* added some more "increaseStatisticsValue" calls
2019-09-16 22:40:17 +01:00
Klaus Basan
5e7c335a86 Ref T698, skip further processing of aircraft parts (config) if aircraft NOT in range 2019-09-16 22:40:16 +01:00
Klaus Basan
afba7b9697 Ref T698, improved display of statistics 2019-09-16 22:40:15 +01:00
Klaus Basan
821e7e73c9 Ref T698, added remote aircraft context to network class 2019-09-16 22:40:15 +01:00
Klaus Basan
f754154455 Ref T698, functions to count network VATLIB calls to identify packets
* functions in network classes
* context functions
2019-09-16 22:40:14 +01:00
Klaus Basan
92baa16536 Style 2019-09-16 22:40:13 +01:00
Mat Sutcliffe
668a77d083 Ref T689 Settings validation can produce more descriptive error messages. 2019-09-16 22:40:05 +01:00
Klaus Basan
693c94c87a Send FP altitude without unit
https://discordapp.com/channels/539048679160676382/539846348275449887/593211815559823367
https://discordapp.com/channels/539048679160676382/539846348275449887/593063154238619649
2019-09-16 22:40:01 +01:00
Klaus Basan
4ecd8a78ad Handled some potentially "dangerous" parsing issues for VATSIM file (no coordinate)
https://discordapp.com/channels/539048679160676382/539486489977946112/593081121512751116
2019-09-16 22:40:00 +01:00
Klaus Basan
b2b85795e0 Improved VATLIB error messages
* added missing msg.vatServerWrongType
* Message txt

https://discordapp.com/channels/539048679160676382/539925070550794240/593133713022255126
2019-09-16 22:40:00 +01:00
Klaus Basan
f6d078de34 Ref T684, better detection of callsign type for ATC stations
* detection in "CCallsign::unifyCallsign"
* force ATC callsign in nAtisReplyReceived
2019-09-16 22:39:55 +01:00
Klaus Basan
0d04d3da1d Style/docu 2019-09-16 22:39:54 +01:00
Klaus Basan
c9846f45ee Avoid colons in VATLIB packets https://discordapp.com/channels/539048679160676382/567983892791951374/585899398387728395 2019-09-16 20:30:00 +01:00
Klaus Basan
8721eca6a1 Reduced booking reader frequency as discussed with the site owner 2019-09-16 20:29:49 +01:00
Klaus Basan
949513ce50 Do not ASSERT in booking reader if format is NOT compatibel
See https://discordapp.com/channels/539048679160676382/568904623151382546/582299692352929793
2019-09-16 20:29:45 +01:00
Klaus Basan
909a9e55d7 Avoid too many booking reader values 2019-09-16 20:29:44 +01:00
Klaus Basan
a37ce2d258 Ref T668, allow to set an additional time offset via "dot command" 2019-05-23 13:00:27 +02:00
Roland Rossgotterer
0493dafd69 Don't connect dummy input device to voice mixer
connectVoice accepts only vatlib types.
2019-05-13 11:21:11 +02:00
Klaus Basan
f03d2bf36b Ref T632, QPointer for single shot 2019-05-13 11:20:43 +02:00
Klaus Basan
dd1aec056f Ref T601, added chat command 2019-05-13 11:20:34 +02:00
Roland Rossgotterer
a4dae5335d Filter non-ATC like OBS stations
ref T563
2019-04-11 22:11:51 +01:00
Klaus Basan
46f69217c0 Doxygen comments 2019-04-11 22:11:49 +01:00
Klaus Basan
a4dc89a295 Ref T562, fix 2-letter aircraft ICAO codes
* added constexpr for aircraft ICAO min/max length
* use ICAO designator in FP if there is no "getCombinedPrefixIcaoSuffix"
2019-04-11 22:11:39 +01:00
Klaus Basan
e31fa91052 FP style 2019-04-11 22:11:38 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Roland Rossgotterer
20131d0b8e Do not parse METARs that are obvious html based error messages 2019-02-22 20:36:25 +00:00
Klaus Basan
f2b0417942 Check in readers "for shutdown"
* myself pattern
* use read as function name
2019-02-22 20:36:17 +00:00
Mat Sutcliffe
fe7a45afcf Ref T516 Update CStatusMessage call sites to use new syntax. 2019-02-22 20:35:51 +00:00
Klaus Basan
6e9d1c7940 Ref T519, only simplify text messages, do not remove accents 2019-02-22 20:35:35 +00:00
Roland Rossgotterer
f9a215a336 Increase ATIS range to be equal with APP/DEP having 150 nm
Summary: The previous 50 nm were too short.

Maniphest Tasks: T481

Differential Revision: https://dev.swift-project.org/D83
2019-02-22 20:35:16 +00:00
Klaus Basan
cb084427ec Unified "simplification" to ASCII only for text messages
Based on the codepage discussion of text messages

* in text message value object still store the unicode string
* the text is only "cleaned" up and Qt "simplified" (do not confuse with conversion to ASCII)
* only place where we simplify to ASCII only is
** in VATLIB
** or the utility
2019-02-22 20:35:05 +00:00
Klaus Basan
003ad0f0de Ref T490, "ps_read" replacement 2019-02-22 20:35:03 +00:00
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +00:00
Mat Sutcliffe
bd9948bbff Ref T486 Using QMetaObject::invokeMethod with pointer-to-member-function (or functor). 2019-02-22 20:34:53 +00:00
Klaus Basan
d89b217e9b PQ parsing using "best guess" strategy as default plus renamings 2019-02-22 20:23:54 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00