Commit Graph

3226 Commits

Author SHA1 Message Date
Mathew Sutcliffe
3969245a55 Removed "string trick" in CPropertyIndex
Summary:
Ref T187
Using QVector as this is Qt's recommended container type.

Reviewers: #swift_developers, kbasan

Reviewed By: #swift_developers, kbasan

Subscribers: jenkins

Tags: #swift_pilot_client

Maniphest Tasks: T187

Differential Revision: https://dev.swift-project.org/D62
2017-11-23 22:15:37 +00:00
Mathew Sutcliffe
fcb6cf1a52 Removed type erasure in containers
Summary:
Refs T196
Using QVector as this is Qt's recommended container type.

Reviewers: #swift_developers, rwinklmeier

Reviewed By: #swift_developers, rwinklmeier

Subscribers: rwinklmeier, jenkins

Tags: #swift_pilot_client

Maniphest Tasks: T196

Differential Revision: https://dev.swift-project.org/D61
2017-11-23 22:15:23 +00:00
Mathew Sutcliffe
921ef30eda Use C++14 features to simplify our container base classes
Summary: Using C++14 function return type deduction we can simplify the CRTP in CContainerBase etc.

Reviewers: #swift_developers, rwinklmeier

Reviewed By: #swift_developers, rwinklmeier

Subscribers: jenkins

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D65
2017-11-23 21:59:09 +00:00
Mathew Sutcliffe
e8219efdde Removed own implementation of std::index_sequence that was needed for GCC 4.9. 2017-11-14 17:51:09 +00:00
Mathew Sutcliffe
0b67466480 Removed workarounds in metaclass system that were needed for GCC 4.9 and old MSVC. 2017-11-14 17:51:07 +00:00
Mathew Sutcliffe
77b6a1ccb0 Removed workarounds that were needed to support GCC 4.9. 2017-11-14 17:51:04 +00:00
Mathew Sutcliffe
3ae5e274ee Removed workarounds that were needed to support older versions of MSVC. 2017-11-14 17:51:02 +00:00
Mathew Sutcliffe
0cae43197c Consume all console output of ping process, to avoid noise in test output. 2017-11-12 21:20:09 +00:00
Mathew Sutcliffe
e0d9fb9df1 Ref T185 Enable spline interpolation with only one position update,
by just copying it three times, so planes can be rendered without waiting for more updates.
2017-11-12 13:48:07 +00:00
Mathew Sutcliffe
2f54e00d65 Ref T184 Minor optimization in CTokenBucket: avoid converting interval to seconds
every time a token is consumed, by doing the conversion once in the constructor.
2017-11-12 13:48:05 +00:00
Mathew Sutcliffe
23becf9619 Ref T184 Use CTokenBucket to throttle identical log messages. 2017-11-12 13:48:04 +00:00
Mathew Sutcliffe
dbb67b385b Ref T184 Moved CTokenBucket from BlackCore to BlackMisc. 2017-11-12 13:48:02 +00:00
Mathew Sutcliffe
cd13d18b00 Ref T184 Cache the result of QHostInfo::localHostName as it is expensive to call. 2017-11-12 13:43:28 +00:00
Klaus Basan
2458a67ed5 Ref T182, formatting 2017-11-10 19:31:15 +01:00
Klaus Basan
0d3dcdae83 Ref T182, added coverageSummary / count functions 2017-11-10 19:28:15 +01:00
Klaus Basan
9a5a80146c Ref T182, added CCountPerSimulator::toQString 2017-11-10 19:28:13 +01:00
Klaus Basan
fa50e6a8ea Ref T180, formatting 2017-11-09 20:02:40 +01:00
Klaus Basan
9048ff0977 Ref T182, aircraft ICAO, airline ICAO and livery also contribute to scoring log messages 2017-11-09 04:42:20 +01:00
Klaus Basan
f288d3d0f2 Ref T182, improved matcher logging utility functions
* Also logging for livery, airline ICAO, aircraft ICAO
* Set a default category in case such message will be written to log
2017-11-09 04:42:19 +01:00
Klaus Basan
31e47f013c Ref T182, matching log can be used with calculateScore 2017-11-09 04:42:15 +01:00
Klaus Basan
5e803a4d32 Ref T180, reset status in linear interpolator 2017-11-09 04:42:12 +01:00
Klaus Basan
822ef11c02 Ref T180, formatting 2017-11-09 04:42:11 +01:00
Klaus Basan
6273892b84 Ref T180, update situation of pending aircraft 2017-11-09 04:42:10 +01:00
Klaus Basan
46a7b67ae5 Ref T180, interpolator status can check validity of situation and provide an info string 2017-11-09 04:42:10 +01:00
Klaus Basan
fd62ef80e0 Ref T180, formatting and renaming of member/function 2017-11-09 04:42:08 +01:00
Klaus Basan
4fb30fdbc3 Ref T180, log pattern for cmd. line and logging some cmd line activities 2017-11-09 04:42:07 +01:00
Klaus Basan
7db5e9aea3 Ref T182, adjust scoring in livery, ICAO codes 2017-11-09 04:42:07 +01:00
Klaus Basan
0f133f6505 Ref T182, livery/ICAO classed formatting 2017-11-09 04:42:06 +01:00
Klaus Basan
8e9411edb1 Ref T182, utility functions for model/model list 2017-11-09 04:42:05 +01:00
Klaus Basan
6b3cdf52ee Ref T180, adjusted FSX/P3D includes
* the fix header belongs into fsxcommon (not fsx) dir
* P3D is purely P3D, we do not build a P3D x86 driver
2017-11-05 20:02:03 +01:00
Klaus Basan
e270a54a68 Ref T180, "on" is valid true value 2017-11-05 20:02:02 +01:00
Klaus Basan
656d86a4ef Ref T180, isNull for CCoordinateGeodetic / situation 2017-11-04 21:44:43 +01:00
Klaus Basan
e5261c3e99 Ref T180, added utility function getInterpolatorInfo() allowing to log some info about interpolator 2017-11-04 21:44:42 +01:00
Klaus Basan
ef56590d85 Ref T180, typo in directory name, causing assert 2017-11-04 21:44:41 +01:00
Klaus Basan
5560d6cb78 Ref T180, support for SimConnect.ini files and some renamings in CSimConnectUtilities 2017-11-04 21:44:39 +01:00
Klaus Basan
20316fd77d Ref T180, minor renaming 2017-11-04 21:44:37 +01:00
Klaus Basan
d5bb1733f4 Ref T180, formatting / const 2017-11-04 16:03:40 +01:00
Klaus Basan
df25dc5c18 Ref T145, temp. workaround until task is completed 2017-10-31 15:39:34 +01:00
Klaus Basan
bad71a41d5 Ref T118, simulator info from DB can be parsed from bool and string 2017-10-31 15:39:30 +01:00
Klaus Basan
5ac8a24e74 Ref T118, formatted authenticated user 2017-10-31 15:39:29 +01:00
Klaus Basan
b74623599e Ref T118, color search follow up formatting 2017-10-31 15:39:28 +01:00
Klaus Basan
297426ae8e Ref T118, fixed wrong color search (restrict to color liveries) 2017-10-31 15:39:27 +01:00
Klaus Basan
4166982954 Ref T118, allow to just provide an id (from backend) and set the entity on swift side
* added getDistributorForDbKey
* added fillInMissingAircraftAndLiveryEntities
* fromDbJson function adjusted
2017-10-31 15:39:26 +01:00
Klaus Basan
622101f113 Ref T118, formatted CDistributor 2017-10-31 15:39:24 +01:00
Klaus Basan
5612033924 Minor fixes, formatting, static const 2017-10-31 15:39:19 +01:00
Klaus Basan
e25a3bdc93 Ref T118, aircraft ICAO formatting 2017-10-31 15:39:19 +01:00
Klaus Basan
d74bd4e7c3 Ref T118, "ZZZZ" ICAO from DB passes validation 2017-10-31 15:39:18 +01:00
Klaus Basan
f14f06317b Ref T118, formatting database writer and utility 2017-10-31 15:39:16 +01:00
Klaus Basan
2f0253b3eb Ref T118, support multiple model directories
* this was recently discussed https://swift-project.slack.com/archives/C04J6J76N/p1508430536000065
* for config parser already implemented
* for XP the loading from multiple dirs still needs to be implemented (see todo)
2017-10-31 15:39:15 +01:00
Klaus Basan
24802b6f7f Ref T118, init model directories (fixes the issue that no directory was found when triggered from context menu) 2017-10-31 15:39:14 +01:00