Commit Graph

3490 Commits

Author SHA1 Message Date
Klaus Basan
507e059438 More detailled validation messages "which models look odd" 2019-09-16 22:41:31 +01:00
Klaus Basan
7b8db694cc Use BLACK_AUDIT_X because this is a check for external data 2019-09-16 22:41:31 +01:00
Klaus Basan
00941afcf9 Style 2019-09-16 22:41:30 +01:00
Klaus Basan
e12dc3a73a Utility functions to sort text messages by timestamp (ascending/descending)
* compare function for text message
* resort function
* text message edit can display HTML text messages with ascending/descending timestamp
* made CTextMessageListModel -> CListModelTimestampObject
2019-09-16 22:41:30 +01:00
Mat Sutcliffe
25eb13a83f Fixed off-by-one in assert condition: %0 is not a valid format string placeholder.
Part 3 of hotfix for assert caused by percent character in vatsim-data.txt
2019-09-16 22:41:29 +01:00
Mat Sutcliffe
b2bfbabb18 Downgrade assert to verify, in case the format string came from an external data source.
Part 2 of hotfix for assert caused by percent character in vatsim-data.txt
2019-09-16 22:41:29 +01:00
Klaus Basan
bb8f46ed68 Ref T718, improved country "resolution" in server names/descriptions 2019-09-16 22:41:29 +01:00
Klaus Basan
009719a7be Ref T681, fixed handling of CG from DB
* consider settings
* remember DB CG data correctly
2019-09-16 22:41:28 +01:00
Klaus Basan
083293c016 Style 2019-09-16 22:41:28 +01:00
Klaus Basan
d1fac2e1a4 Ref T610, support for XPlane COM volume and receive/transmit
* proxy and
* DBus service functions
2019-09-16 22:41:26 +01:00
Klaus Basan
0a372edef6 Ref T703, utility functions for "relayed messages" (i.e. copilot/pilot) 2019-09-16 22:41:22 +01:00
Klaus Basan
6e90ec5c72 Ref T709, added settings for lights and message box margins 2019-09-16 22:41:18 +01:00
Klaus Basan
024360a5df Ref T709, avoid pure virtual assert by removing the JSON ctor, which is calling a virtual function in the ctor 2019-09-16 22:41:18 +01:00
Mat Sutcliffe
349da3633b Ref T709 Prevent instantiation of CXSwiftBusSettingsQtFree, to avoid slicing.
- Constructors and destructor are protected.
- Therefore destructor doesn't need to be virtual.
- objectUpdated is pure virtual, so the class is abstract.
- Both derived classes are declared final.
2019-09-16 22:41:16 +01:00
Klaus Basan
741843d0c6 Make sure listener does NOT restart when settings are updated, but DBus address did not change (set member correctly) 2019-09-16 22:41:14 +01:00
Klaus Basan
add649c321 Ref T709, improved normalization and space pressed handling, unit test 2019-09-16 22:41:14 +01:00
Klaus Basan
e62aa6fb2f Ref T715, setting for "night texture"
* settings class
* UI
2019-09-16 22:41:12 +01:00
Klaus Basan
b60f84244b Ref T609, renamed to Transmit/Receive for COM sync. 2019-09-16 22:41:06 +01:00
Klaus Basan
447152bd13 Ref T709, only update settings if changed 2019-09-16 22:41:04 +01:00
Klaus Basan
77883edf9c Ref T709, bool return value if settings changed 2019-09-16 22:41:03 +01:00
Klaus Basan
7004e85117 Ref T709, ctor from JSON string 2019-09-16 22:41:00 +01:00
Klaus Basan
9982f9cfb9 Ref T709, update function where only changed members are changed 2019-09-16 22:41:00 +01:00
Klaus Basan
34aa8333cc Ref T709, sync Qt free timestamp after parsing with swift version 2019-09-16 22:40:58 +01:00
Klaus Basan
04e57df5f7 Ref T709, virtual function for timestamp setting 2019-09-16 22:40:58 +01:00
Klaus Basan
5ebf119acb Ref T709, added "follow aircraft distance" and timestamp, removed old settings 2019-09-16 22:40:57 +01:00
Klaus Basan
d1db1943ae Ref T709, display settings as string/QString (for logging) 2019-09-16 22:40:56 +01:00
Klaus Basan
60305d461f Ref T709, style 2019-09-16 22:40:55 +01:00
Klaus Basan
33cd96c2e3 Allow to test an ASSERT (like the crashdump test) 2019-09-16 22:40:54 +01:00
Klaus Basan
246ed0d955 Ref T709, in order to use BLACK_METAMEMBER(dBusServer) with std::string added all opertors 2019-09-16 22:40:53 +01:00
Klaus Basan
81c832457e Ref T709, based on the Qt free base class, added swift compliant settings class 2019-09-16 22:40:53 +01:00
Klaus Basan
a809679b34 Ref T709, added Qt free base class for settings which can be used on XSwiftBus and swift side
This has to be "Qt free"
2019-09-16 22:40:52 +01:00
Klaus Basan
cc4b8b61ae Ref T709, move case insensitive compare to utils (so it can be used elsewhere) 2019-09-16 22:40:52 +01:00
Klaus Basan
14bb3ea249 Ref T709, style 2019-09-16 22:40:51 +01:00
Klaus Basan
ed2762fd40 Improved model file timestamp handling 2019-09-16 22:40:49 +01:00
Klaus Basan
b213f594c7 Fixed wrong airline in reverse lookup
* Air Arabia bug
* see https://discordapp.com/channels/539048679160676382/568904623151382546/608611828578254859
2019-09-16 22:40:48 +01:00
Klaus Basan
740cb5a536 Feature request based on new VATSIM code of conduct, allow empty homebase 2019-09-16 22:40:47 +01:00
Klaus Basan
f40dbb6c81 Parse WGS coordinates 2019-09-16 22:40:44 +01:00
Mat Sutcliffe
7ea9e7c2b2 Adjusted CRange nested typedefs, and protection against T700 2019-09-16 22:40:44 +01:00
Mat Sutcliffe
dd86be3335 String simplification (accent removal) using Unicode decomposition 2019-09-16 22:40:44 +01:00
Klaus Basan
e5205bef1f Avoid scientific notation in fraction part 2019-09-16 22:40:43 +01:00
Klaus Basan
eb014639fe Reselect ATC station if data are updated, and update the ATIS info 2019-09-16 22:40:40 +01:00
Klaus Basan
b87d0f5f15 Ref T705, use model set for reverse lookup
* allow finding model string from set, for NON DB models
* pass model set as parameter
2019-09-16 22:40:40 +01:00
Klaus Basan
1f148cf7f8 Ref T705, remember matching script directories 2019-09-16 22:40:39 +01:00
Klaus Basan
d5a4e3d70d Ref T705, utility functions for NON DB models 2019-09-16 22:40:39 +01:00
Klaus Basan
1e5ef15e40 Ref T659, some utility functions and style adjustments for login dialog 2019-09-16 22:40:37 +01:00
Klaus Basan
ac22e1d17d Ref T554, check function for auto publishing 2019-09-16 22:40:35 +01:00
Klaus Basan
3e6c4f2ef1 Improved MS registry reading
* also read if compiled without support for this simulator (makes sense for tools/mapping)
* check if directory exists
2019-09-16 22:40:34 +01:00
Klaus Basan
9b5ffdf924 Ref T704, moved "ifPossibleReduceNameTelephonyCountry" into airline code list, unified functions 2019-09-16 22:40:33 +01:00
Klaus Basan
1b4aa1162a Style, typo 2019-09-16 22:40:33 +01:00
Klaus Basan
4237839bbd Ref T704, split matching utils for logging in aviation context 2019-09-16 22:40:32 +01:00