Commit Graph

227 Commits

Author SHA1 Message Date
Klaus Basan
ff2f653aae Style 2018-09-23 20:12:27 +02:00
Klaus Basan
c3cf39e102 Renamed to simplifyAccents (actually the chars are not removed, but replaced) 2018-09-17 18:28:29 +02:00
Klaus Basan
e4a9a7ce9f Ref T343, support for 7digit ids 2018-09-12 17:40:28 +02:00
Klaus Basan
d212d16929 String format 2018-08-27 18:58:13 +02:00
Roland Winklmeier
5e38936fd2 Fix weak vtables 2018-08-25 22:12:06 +02:00
Roland Winklmeier
93d30e844a Use const ref to avoid copies 2018-08-25 22:12:04 +02:00
Klaus Basan
f1312bbb50 Style 2018-08-21 22:10:27 +02:00
Klaus Basan
0327776edd Ref T295, based on bug report of RP (no WIFI detected) creating a network report
* network report when starting swift
* also ignore inactive configs when checking for "the bearer bug"

references:
https://stackoverflow.com/questions/51824242/disable-qt-bearer-management-at-runtime
https://swift-project.slack.com/archives/G7GD2UP9C/p1534181224000115
https://swift-project.slack.com/archives/G96QTUBEG/p1534162173000320
2018-08-16 14:33:52 +02:00
Klaus Basan
6897abe912 Style, singleShot guard, Doxygen 2018-08-09 01:38:52 +02:00
Klaus Basan
bab821d3f1 Ref T295, QNetworkConfiguration as string 2018-08-09 01:25:14 +02:00
Klaus Basan
ce004be6ac Ref T297, network settings (dynamic offset times) 2018-08-01 03:06:25 +02:00
Klaus Basan
418584c5e3 Style 2018-08-01 03:06:16 +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
2da0186dd2 Ref T286, "humanReadable" functions 2018-07-09 22:30:32 +02:00
Klaus Basan
6bcded9264 Style 2018-07-09 22:30:20 +02:00
Klaus Basan
69193f089a Minor tweaks, style 2018-06-25 02:04:35 +02:00
Klaus Basan
c5fb428fa9 Ref T280, using the QHash<CCallsign, T> definitions to unify use cases 2018-06-14 14:40:16 +02:00
Klaus Basan
edde558f29 Ref T280, definitions for QHash<CCallsign, T> for
* situation
* situation list
* client
* parts
* parts list
* functions to convert standard swift containers into QMap/QHash<CCallign, T>
2018-06-14 14:40:15 +02:00
Klaus Basan
a2838e3b57 Ref T280, clients as callsign map as this is faster 2018-06-13 14:00:33 +02:00
Klaus Basan
abfa12c1ec Ref T272, skip VATSIM readers if (for sure) connected to an other eco system
Remark: This requires the server (=> ecosystem) to be connected, otherwise VATSIM data (before that connection) are still read as default
2018-06-01 01:30:31 +02:00
Klaus Basan
e3465f432c Ref T261, Ref T251 gnd flag support in context/client provider
* allow to set gnd.flag capability via context/client
* utility functions in client provider
2018-05-22 13:20:06 +02:00
Klaus Basan
7ad4c29d28 Ref T261, detect gnd.flag (from network) suppport, display gnd.flag info in UI
* add flag info in simulated aircraft
* allow to display info  in UI
* unified naming to "contains" in situation list
* updated client provider
2018-05-12 21:40:13 +02:00
Klaus Basan
5bf21c2937 Ref T261, correct implementation of client provider
* made the interface a "real" interface and provided implementation as CCLientProvider
* aligned some function names with networl context
* network context "impl" also implements ICLientProvider
2018-05-08 16:06:49 +02:00
Klaus Basan
a1b2e92684 Ref T261, move default offset times to FSD setup
* make it available in "blackmisc"
* remove dependency from "VATSIM"
2018-05-08 16:06:46 +02:00
Klaus Basan
e1421622b1 Reset URL list and adjusted timeouts for for bootstrap file. Also avoid problems when shutting down. 2018-05-08 16:06:34 +02:00
Klaus Basan
57b3760b61 Make "CanConnect" timeout configurable in watchdog
* see also https://swift-project.slack.com/archives/G7GD2UP9C/p1522624024000024
* added signatures
* changed timeout
2018-05-04 23:03:22 +02:00
Klaus Basan
574bc8b51b Utility functions for entity flags and web data services
* multiple flags by name
* number of DB objects
* newer entities synchronized
2018-05-04 23:03:19 +02:00
Klaus Basan
21644c9f24 Ref T259, Ref T243 automatically update client gnd. capability by situation
Rational: If we receive a gnd flag from network, the client does have this capability
2018-04-13 23:37:42 +02:00
Klaus Basan
0b7683fd50 Ref T259, Ref T243 unified naming of interfaces "org.swift-project" + lowercase 2018-04-13 23:36:31 +02:00
Klaus Basan
63cff1853e Ref T89, provider for ecosystem info
Also Ref T259, Ref T243
2018-04-13 23:36:29 +02:00
Klaus Basan
4b7237ce1b Ref T259, Ref T243 adjusted providers to use common base classes 2018-04-06 02:56:57 +02:00
Klaus Basan
b0ca968837 Ref T259, Ref T243 FSD setup gnd flag handling 2018-04-05 02:54:52 +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
f64a4c432b Ref T259, Ref T243 client provider used to share info about the other clients
Goal: this info can be used in interpolation to decide if ground flags, parts etc are available
2018-04-05 02:54:42 +02:00
Klaus Basan
42ef7c5633 Avoid long "hanging" if Windows UNC path is not reachable
Use own "isDirExisting" function checking UNC paths
2018-04-05 02:54:40 +02:00
Klaus Basan
32196f5e8e Ref T259, Ref T243 use enum for client capabilities 2018-04-05 02:54:38 +02:00
Klaus Basan
9009045dd0 Ref T249, using FSC server as obfuscated server
Only show in local builds
2018-02-11 19:47:01 +01:00
Klaus Basan
29c478496b Ref T249, using obfuscation for server/user 2018-02-11 19:46:55 +01:00
Klaus Basan
10f942e702 Formatting, minor tweaks 2018-02-09 04:43:45 +01:00
Klaus Basan
80f5d9b595 Ref T240, use ITimestampBased / ITimestampObjectList
* using the existing base classes (interfaces) gives you plenty of useful utility functions
* hint: we do not init with current timestamp as default as this is relatively slow
2018-02-04 08:59:39 +01:00
Klaus Basan
5b87b60682 Ref T240, style/minor fixes
* Q_DECLARE_METATYPE was wrong
* missing/unused include
* suppress CPP check warning
2018-02-04 08:59:36 +01:00
Klaus Basan
686f8067d1 Formatting, style 2018-02-04 08:59:33 +01:00
Roland Winklmeier
b12002caa2 Improve the performance and usability of the raw FSD message display
* Replaced QListView with QPlainTextEdit
* Added filter options for packet type and text
* Option to globally disable/enable the feature. Default disabled

Maniphest Tasks: Ref T240
2018-02-02 21:26:25 +01:00
Klaus Basan
fd6bfdb7c0 Ref T237, using EntitySet = QSet<CEntityFlags::Entity> 2018-01-30 23:34:10 +01:00
Klaus Basan
8f8c2fb96d Formatting 2018-01-30 20:35:39 +01:00
Klaus Basan
28b5ec9ec6 Ref T237, JSON functions
* container file JSON function automatically detecting JSON format (swift, cache, DB)
* utility functions
2018-01-30 20:35:30 +01:00
Klaus Basan
5e53f22ad7 Fixed "beautify real name" 2018-01-30 20:30:51 +01:00
Klaus Basan
a3bbb72185 Simplify (remove duplicate spaces) text messages 2018-01-30 20:30:46 +01:00
Roland Winklmeier
7b9ad0ea07 Add CRawFsdMessage
Maniphest Tasks: T222
2018-01-22 14:23:23 +01:00
Roland Winklmeier
656805c485 Fix typo 2018-01-17 14:27:24 +01:00