Commit Graph

2868 Commits

Author SHA1 Message Date
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
Klaus Basan
14c912e2aa Ref T118, utility functions support multiple directories 2017-10-31 15:39:13 +01:00
Klaus Basan
66624e064d Ref T118, "protected slots" -> "protected" 2017-10-31 15:39:12 +01:00
Klaus Basan
e920dc77b8 Ref T118, formatting 2017-10-31 15:39:12 +01:00
Klaus Basan
1155bf3ed2 Ref T171, interpolator log
* set interpolator type spline or linear
* set some detail values for spline log
* removed unused variable
2017-10-18 22:58:54 +02:00
Klaus Basan
0340de5e14 Ref T171, utility functions for interpolator hints/setup 2017-10-18 22:58:51 +02:00
Klaus Basan
b8000f1779 Ref T171, wrapper (which can be used for QMap/QHash) for CInterpolatorMulti 2017-10-18 22:58:50 +02:00
Klaus Basan
584fe51161 Ref T171, set object name for driver 2017-10-18 22:58:49 +02:00
Klaus Basan
807ceb16ac Ref T173, unregister a DBus service before connecting
* In case there is a crash and we reconnect, the old service might be still registered
* "private slots" -> "private"
2017-10-18 22:58:48 +02:00