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
Mat Sutcliffe
ace7650ebe
Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals.
2019-02-22 20:23:46 +00:00
Mat Sutcliffe
db928c8b0e
Fixed clazy warnings: QString::arg.
2019-02-22 20:23:42 +00:00
Klaus Basan
db05388bea
Ref T431, send airline ICAO designator or VDesignator depending on setup
2018-11-16 02:49:54 +01:00
Roland Winklmeier
420fc40fb2
Remove _OBS callsign suffix when logging in as observer
...
ref T428
2018-11-16 02:49:54 +01:00
Klaus Basan
0dbaf989e9
Ref T424, renamed altitude string functions and added "roundedToNearest100ft"
2018-11-06 01:41:48 +01:00
Klaus Basan
3fc0f34646
Ref T409, network vatlib, remove "colon"/send special string if there is no model string
2018-11-04 17:42:45 +01:00
Klaus Basan
ab4b4c5067
Style
2018-11-04 17:42:45 +01:00
Klaus Basan
e727b29753
No "exit" (qFatal) for unknown VATLIB error, just error
...
Rational: Why shutdown the client in that very case, terminate connection is enough
2018-11-04 17:42:44 +01:00
Klaus Basan
259aab3c10
Ref T397, Ref T297 split "isInterimPositionUpdateEnabledForServer" into 2 functions and ignore incoming interim positions if disabled
2018-11-04 17:42:44 +01:00
Klaus Basan
e4e39b6579
Added comments
2018-11-04 17:42:44 +01:00
Klaus Basan
74ef1e039c
Ref T397, Ref T297 dynamic offset times
...
* calculate avaerage time
* and use that to decide offset time
2018-11-04 17:42:44 +01:00
Klaus Basan
35b8b29d10
Ref T410, preparation and UI adjustments
...
Foo
2018-11-04 17:42:43 +01:00
Roland Winklmeier
294b854ed8
Adjust to the VATSIM policy to skip the last 5 kHz in 25 kHz spacing
...
When receiving a radio message, round to the closest frequency.
When sending them, remove the last 5 kHz if existing.
ref T399
2018-11-04 17:42:42 +01:00
Klaus Basan
fd9744c73d
Ref T397, using receivedPositionFixTsAndGetOffsetTime for normal and interim positions
2018-11-04 17:42:41 +01:00
Klaus Basan
df4ef3f52d
Sending wallop message
2018-10-05 17:39:59 +02:00
Roland Winklmeier
ed80bc90a8
Correct the NetworkVatlib ATIS and password regular expressions
...
The password one was not matching if the integers had multiple digits.
The ATIS one was matching on every random 'z' in any ATIS line.
ref T380
2018-10-05 17:39:58 +02:00
Roland Winklmeier
c0d9aacbb1
Update to new vatlib
2018-10-05 17:39:58 +02:00
Klaus Basan
e668be9259
Ref T372, clear also fast position receivers when aircraft is removed
2018-10-05 17:39:56 +02:00
Klaus Basan
a475d12339
Ref T376, voice (vatlib) getter/setter for CVoiceSetup
2018-10-05 17:39:55 +02:00
Klaus Basan
e51bbd1f5d
Ref T376, adjusted CServer class ctor
2018-10-05 17:39:55 +02:00
Roland Winklmeier
28b404d065
Make Vatsim Voice UDP port configurable and 3290 the default
2018-10-05 17:39:55 +02:00
Roland Winklmeier
321c195f4b
Change voice room callsign format to "callsign (userid)"
...
So far the callsign, was the callsign itself only. However, other VATSIM
clients expect it to include the user id in brackets.
ref T354
2018-10-03 03:03:40 +02:00
Klaus Basan
85f7a37c8b
Make sure there are no "illegal" characters in text messages
2018-10-03 03:03:39 +02:00
Klaus Basan
99313bd272
Ref T353, remove "." from FP route
2018-09-17 18:28:25 +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
1dcedfc540
Minor style fixes
2018-09-12 17:40:48 +02:00
Klaus Basan
27f2fe1b57
Ref T339, simulator info message (version) for SUP supervisor
2018-09-12 17:40:42 +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
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
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
5b7ec38b0a
Clear state of Network VATLIB
2018-08-26 15:26:52 +02:00
Klaus Basan
956ffd949d
Style
2018-08-26 15:26:49 +02:00
Klaus Basan
183280fa75
Ref T308, using an optimized (faster) function for YYYYmmdd string parsing
...
Ref T309, found that QDateTime::fromString returns a QDateTime object with local timestamp. Using a optimized version returns UTC objects now.
- The bug was found writing a unit test for Ref T308
- Slack: https://swift-project.slack.com/archives/G7GD2UP9C/p1534848725000100
2018-08-22 12:31:53 +02:00
Klaus Basan
5ff5c18b32
Avoid Qt warning of unused cmd.line argument (QCommandLineParser: option not defined)
...
Log msg: QCommandLineParser: option not defined: "clientIdAndKey"
2018-08-16 14:44:04 +02:00
Klaus Basan
9be7572c36
Network VATLIB refactoring
...
* use qit64 for timestamp related integers
* use valueInteger for PQ integer values (rounding)
2018-08-16 14:44:03 +02:00
Klaus Basan
b671c2a0a5
Style, removed redundant CForm overrides
2018-08-07 20:41:06 +02:00
Klaus Basan
a2bca21715
Ref T286, moved server settings into "network" namespace (not VATSIM specific)
2018-07-09 22:30:33 +02:00
Klaus Basan
c1208dd68c
Return const &
2018-07-03 21:02:32 +02:00