Lars Toenning
1deaeba584
Add CMake support
2023-11-12 21:36:21 +01:00
Lars Toenning
3ffb8f689b
Remove qmake files
2023-11-01 22:23:15 +01:00
Lars Toenning
bcc4bdd31e
Add SPDX identifiers for REUSE compliance
...
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com >
2023-10-03 09:29:49 +02:00
Lars Toenning
ba41d4887b
clang-format tests
2023-04-18 16:07:19 +02:00
Mat Sutcliffe
59a27a0d72
Send slowfast before ordinary position update
...
This solves a server-side performance issue.
2022-05-25 19:47:33 +01:00
oktal3700
dfeb281368
[FSD] Send incremental parts packets to pilots only
...
I was just told by Mike and Ross that ACC packets should be sent to 94836 (pilot clients) not 94835 (all clients).
2022-02-01 18:19:25 +00:00
Mat Sutcliffe
4b00c0e3bf
Bump Vatsim protocol version number
2022-01-29 16:07:54 +00:00
Mat Sutcliffe
a4448dddc6
Issue #94 Implement $SF packet to toggle visual pilot data sending
...
Still send a visual pilot data update at the slow rate of
every 5 seconds when visual pilot data update is disabled.
2022-01-29 14:44:46 +00:00
Mat Sutcliffe
6d66066d6a
Add height AGL and nose gear angle in VisualPilotDataUpdate
2022-01-29 14:40:55 +00:00
Mat Sutcliffe
242a10c9d6
Issue #94 Add new FSD packet type VisualPilotDataUpdate
2022-01-29 14:40:54 +00:00
Mat Sutcliffe
0faa7ed8fc
Issue #94 Add new class CAircraftVelocity as member of CAircraftSituation
2022-01-03 16:38:47 +00:00
Mat Sutcliffe
3f2e5b0b69
Remove barely-used aggregate headers
2021-09-18 01:44:58 +01:00
Mat Sutcliffe
bd7d6ac17c
Issue #113 Add value class for SIMDATA packet
2021-08-10 16:07:34 +01:00
Mat Sutcliffe
b81cc9a9dc
Issue #77 Break cyclic dependency between CDirectoryUtils and CNetworkUtils by factoring out canPing method
2020-12-19 18:50:39 +00:00
Mat Sutcliffe
5eb34a5df7
[FSD] PBH unittest
2020-09-16 23:00:07 +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
1ab1e8ca70
[FG] Fixed UnitTest which got broken by the FG "modelstring" changes
2020-06-12 18:42:46 +01:00
Klaus Basan
92d53a4077
[FG] Do not send modelstring or a shorter livery string for FG
...
* FG does not support modelstrings for "flyable" planes
* remove unused setSimInfo functions, consolidated, cleanup
* simulator dependent "getSwiftLiveryString"
* encapsulated in getConfiguredLiveryString, getConfiguredModelString
* see https://discordapp.com/channels/539048679160676382/567091362030419981/698124094482415616
2020-06-12 18:42:45 +01:00
Roland Rossgotterer
f98e8f00e1
Add missing linker library
2020-06-12 18:42:40 +01:00
Klaus Basan
f840244bdb
[FSD] Adjust UNIT tests for *-1 fix
2020-06-12 18:42:38 +01:00
Mat Sutcliffe
4a0d8e9864
Fixed most Qt 5.14 deprecation warnings
2020-01-07 19:57:25 +00:00
Klaus Basan
3a4f114308
[FSD] In order to get the UNIT tests working, we need to call the "FSD direct message" send function
...
* added sendDirectMessage and renamed other function to sendQueudedMessage
* UNIT tests call "direct message" sending
* minor style changes
2020-01-07 19:57:20 +00:00
Klaus Basan
f38bfc5cf9
[FSD] Style
2020-01-07 19:57:19 +00:00
Roland Rossgotterer
0b8db1a612
[FSD] Don't use CCallsign object to send incremental parts update to special receiver
...
A client query can be sent to any type of receiver,
not only to valid callsigns. For example also to "@94835".
This fixes the corrupted receiver for incremental aircraft parts.
2020-01-07 19:05:42 +00:00
Roland Rossgotterer
0a730ff5dd
[FSD] Make sure sysuid is properly zero terminated
2019-10-23 00:38:26 +02:00
Klaus Basan
4f4474336d
[FSD], use consolidateTextMessage again
2019-10-23 00:38:25 +02:00
Klaus Basan
afe72b029f
Doxygen/style
2019-10-23 00:38:24 +02:00
Klaus Basan
de75cdc214
[AFV] Ref T730 incorporated MS fixes
...
see https://discordapp.com/channels/539048679160676382/623947987822837779/633025547999510530
2019-10-16 17:40:32 +02:00
Klaus Basan
1d9cd50463
[AFV] Fix context UNIT test crash
...
* crash: A crash occurred in C:\jenkins\workspace\swift_wip_fsd_and_afv_client\build\out\release\bin\testcontext.exe.
* ASSERT in const QList<QAudioDeviceInfo> allQtDevices2 = QAudioDeviceInfo::availableDevices(QAudio::AudioInput)
* figured out it fails in a Qt console app, runs in a widget app
* see https://discordapp.com/channels/539048679160676382/623947987822837779/631939335255752704
2019-10-11 19:00:54 +01:00
Mat Sutcliffe
ad627fa351
[FSD] Fixed failing test and crashing test
2019-10-11 19:00:39 +01:00
Mat Sutcliffe
077476c138
[FSD] Style
2019-10-11 19:00:39 +01:00
Klaus Basan
81ade55cb5
Ref T730, added QT multimedia in some projects, as it is now needed in blackmisc
2019-10-11 18:59:58 +01:00
Klaus Basan
5e3b758e44
Ref T732, renamed to CFsdClient adjustments
2019-10-11 18:59:05 +01:00
Roland Rossgotterer
b5a2f2ad13
AFV initial commit
2019-10-11 18:58:47 +01:00
Roland Rossgotterer
acf540be34
Long live FsdClient
2019-09-18 13:49:37 +02:00
Klaus Basan
821e7e73c9
Ref T698, added remote aircraft context to network class
2019-09-16 22:40:15 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Mat Sutcliffe
9f85a7b560
Fixed clazy warnings: pass large objects by reference to const.
2019-02-22 20:23:33 +00:00
Roland Winklmeier
77ce9f8b8a
Split the giant test binaries into smaller unit tests
...
This is an intermediate step to have smaller unit tests. It is a trade off
between having many many test executables compared to a few bigger ones. But
this comes a lot closer to what QtTest is meant to be used.
2018-08-25 22:12:01 +02:00
Klaus Basan
c282d4e1f8
Ref T295, network watchdog optimizations
...
* constructor can pass network accessibility as default
* ping URL now constructed in global setup
* watchdog will prevent unnecessary signals by checking if state has really changed (there are redundant QAM signals for QNetworkAccessManager::networkAccessibleChanged)
* refactorings, thread checks
2018-07-31 01:43:32 +02:00
Klaus Basan
4eeaf1adc4
Smaller adjustments of unit test and application
2018-06-01 01:30:26 +02:00
Klaus Basan
c7d11975f0
Ref T261, unit tests
2018-05-08 16:06:44 +02:00
Klaus Basan
66bf45eb9c
Unit tests, skip if DB is not reachable
2018-05-08 16:06:37 +02:00
Klaus Basan
2a0b81de5b
Ref T259, Ref T243 client provider used with network classes
...
Also adds a dummy testing class
2018-04-05 02:54:46 +02:00
Klaus Basan
2c60dfd133
Ref T172, using centralized swift test server
...
Remark: The credentials for the server were distributed in multiple places, now cnetralized in one
2017-12-29 19:49:30 +01:00
Klaus Basan
8b74acb3a9
Ref T210, moved "guess" into CApplicationInfo
...
* core unit test, set correct type
* guess application type now in CApplicationInfo
2017-12-21 19:50:09 +01:00
Klaus Basan
1aa842ad5a
Ref T150, Ref T156 unit test for connectivity, watchdog etc.
2017-09-24 20:28:49 +01:00
Klaus Basan
2b638caf80
Renamed to connectServer
2017-09-24 20:28:47 +01:00
Roland Winklmeier
4b34aff39d
Update FSD url in network unit test
2017-09-24 19:52:39 +01:00
Klaus Basan
b6b1b96ec4
Ref T105, use new style with threaded readers
...
* use doWorkCheck
* relaxed doWorkCheck in unit tests
* removed isShuttingDown, gracefulShutdown
* set timer object name (in case something is wrong, we might see the name in the log)
2017-09-24 19:50:08 +01:00