Commit Graph

3445 Commits

Author SHA1 Message Date
Klaus Basan
b39ed83f72 Style 2019-09-06 19:02:13 +02:00
Klaus Basan
cdea5086de More detailled validation messages "which models look odd" 2019-09-05 23:28:13 +02:00
Klaus Basan
294391a8d5 Use BLACK_AUDIT_X because this is a check for external data 2019-09-05 23:28:13 +02:00
Klaus Basan
cb56b80518 Style 2019-09-05 23:28:12 +02:00
Klaus Basan
f55ba85a98 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-05 23:28:12 +02:00
Mat Sutcliffe
a9761d2de8 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-08-31 16:09:35 +01:00
Mat Sutcliffe
fd6bb52f9c 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-08-31 14:49:25 +01:00
Klaus Basan
5a5384289f Ref T718, improved country "resolution" in server names/descriptions 2019-08-29 18:13:48 +02:00
Klaus Basan
c26b6f7c85 Ref T681, fixed handling of CG from DB
* consider settings
* remember DB CG data correctly
2019-08-29 00:03:58 +02:00
Klaus Basan
dd01cd1fbc fixup! Ref T681, settings for CG from DB 2019-08-28 02:51:33 +02:00
Klaus Basan
ce57af5a3d Style 2019-08-28 02:51:33 +02:00
Klaus Basan
5881e81d56 Ref T610, support for XPlane COM volume and receive/transmit
* proxy and
* DBus service functions
2019-08-28 02:51:32 +02:00
Klaus Basan
e5a5b96835 Ref T703, utility functions for "relayed messages" (i.e. copilot/pilot) 2019-08-18 01:12:41 +02:00
Klaus Basan
807e87af7c Ref T709, added settings for lights and message box margins 2019-08-15 23:08:19 +02:00
Klaus Basan
14e396bce0 Ref T709, avoid pure virtual assert by removing the JSON ctor, which is calling a virtual function in the ctor 2019-08-15 20:32:57 +02:00
Mat Sutcliffe
dbba3ccf6f 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-08-12 22:39:14 +01:00
Klaus Basan
d5b1eab55a Make sure listener does NOT restart when settings are updated, but DBus address did not change (set member correctly) 2019-08-11 23:16:08 +01:00
Klaus Basan
4830bbc646 Ref T709, improved normalization and space pressed handling, unit test 2019-08-11 23:16:08 +01:00
Klaus Basan
a596121ea2 Ref T715, setting for "night texture"
* settings class
* UI
2019-08-11 23:16:07 +01:00
Klaus Basan
3d8bc7b8c7 Ref T609, renamed to Transmit/Receive for COM sync. 2019-08-11 23:15:58 +01:00
Klaus Basan
cd06c52cb7 Ref T709, only update settings if changed 2019-08-11 23:15:55 +01:00
Klaus Basan
392c821841 Ref T709, bool return value if settings changed 2019-08-11 23:15:54 +01:00
Klaus Basan
cb4d291621 Ref T709, ctor from JSON string 2019-08-11 23:15:51 +01:00
Klaus Basan
3eb53aec82 Ref T709, update function where only changed members are changed 2019-08-11 23:15:51 +01:00
Klaus Basan
203f442e43 Ref T709, sync Qt free timestamp after parsing with swift version 2019-08-11 23:15:49 +01:00
Klaus Basan
93804bb479 Ref T709, virtual function for timestamp setting 2019-08-11 23:15:49 +01:00
Klaus Basan
c0b4d38331 Ref T709, added "follow aircraft distance" and timestamp, removed old settings 2019-08-11 23:15:48 +01:00
Klaus Basan
42eb5477ec Ref T709, display settings as string/QString (for logging) 2019-08-11 23:15:47 +01:00
Klaus Basan
81577d29c5 Ref T709, style 2019-08-11 23:15:45 +01:00
Klaus Basan
b0efdd78ec Allow to test an ASSERT (like the crashdump test) 2019-08-11 23:15:45 +01:00
Klaus Basan
03aca5d2a8 Ref T709, in order to use BLACK_METAMEMBER(dBusServer) with std::string added all opertors 2019-08-11 23:15:43 +01:00
Klaus Basan
56c07ab881 Ref T709, based on the Qt free base class, added swift compliant settings class 2019-08-11 23:15:43 +01:00
Klaus Basan
4e3fb5d189 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-08-11 23:15:43 +01:00
Klaus Basan
6793fbdc43 Ref T709, move case insensitive compare to utils (so it can be used elsewhere) 2019-08-11 23:15:43 +01:00
Klaus Basan
2a92ad63ab Ref T709, style 2019-08-11 23:15:42 +01:00
Klaus Basan
1efe1e7a72 Improved model file timestamp handling 2019-08-11 11:41:05 +02:00
Klaus Basan
7689a9d900 Fixed wrong airline in reverse lookup
* Air Arabia bug
* see https://discordapp.com/channels/539048679160676382/568904623151382546/608611828578254859
2019-08-11 11:40:59 +02:00
Klaus Basan
95abfc50c0 Feature request based on new VATSIM code of conduct, allow empty homebase 2019-08-11 11:40:46 +02:00
Klaus Basan
658fa50123 Parse WGS coordinates 2019-07-28 02:58:53 +02:00
Mat Sutcliffe
38ddc329d0 Adjusted CRange nested typedefs, and protection against T700 2019-07-26 22:12:25 +01:00
Mat Sutcliffe
ddf6dbac92 String simplification (accent removal) using Unicode decomposition 2019-07-26 21:44:42 +01:00
Klaus Basan
97ef03e377 Avoid scientific notation in fraction part 2019-07-23 02:30:53 +02:00
Klaus Basan
7a0ef080ca Reselect ATC station if data are updated, and update the ATIS info 2019-07-23 02:08:42 +02:00
Klaus Basan
a8a9d29fa7 Ref T705, use model set for reverse lookup
* allow finding model string from set, for NON DB models
* pass model set as parameter
2019-07-20 14:23:46 +02:00
Klaus Basan
68e134edcb Ref T705, remember matching script directories 2019-07-20 14:20:12 +02:00
Klaus Basan
d43a0afa48 Ref T705, utility functions for NON DB models 2019-07-20 14:19:10 +02:00
Klaus Basan
874f9fa3d7 Ref T659, some utility functions and style adjustments for login dialog 2019-07-19 03:06:04 +02:00
Klaus Basan
37dde7acf9 Ref T554, check function for auto publishing 2019-07-16 20:22:39 +02:00
Klaus Basan
80f7e1526b Improved MS registry reading
* also read if compiled without support for this simulator (makes sense for tools/mapping)
* check if directory exists
2019-07-16 20:22:39 +02:00
Klaus Basan
7985ff8b3e Ref T704, moved "ifPossibleReduceNameTelephonyCountry" into airline code list, unified functions 2019-07-16 20:22:39 +02:00