Commit Graph

2123 Commits

Author SHA1 Message Date
Klaus Basan
65bc1c00fb Formatting, "this->m_" to "m_", comments 2017-09-24 20:29:09 +01:00
Klaus Basan
8b8bc9b994 Ref T152, unified member usage: this->m_xx -> m_xx 2017-09-24 20:29:07 +01:00
Klaus Basan
e269ce5bd8 Ref T152, do not start loading if the model dir does not exists/is empty 2017-09-24 20:29:06 +01:00
Klaus Basan
725341cdbe Fixed some formatting for T152 (before changing the classes) 2017-09-24 20:29:05 +01:00
Klaus Basan
0cf308450e Ref T149, utility functions for pending URLs
* Do not call read twice in info reader
* Threadsafe utility functions
2017-09-24 20:29:02 +01:00
Klaus Basan
1aa8cfb1e8 Formatting, messages 2017-09-24 20:29:00 +01:00
Klaus Basan
db05d237c2 Ref T149, indentify PHP error string 2017-09-24 20:28:56 +01:00
Klaus Basan
815cf75f66 Ref T149, return number of removed elements 2017-09-24 20:28:55 +01:00
Klaus Basan
b01c7d6333 Ref T150, Ref T156 overloading canPing 2017-09-24 20:28:46 +01:00
Klaus Basan
afbf3f05c8 Ref T150, utility functions in URL list
* renamed to withAppendedPath
* findByHost
* addFailed utility functions
2017-09-24 19:54:30 +01:00
Klaus Basan
fe01a9d4aa Formatting, typos 2017-09-24 19:54:28 +01:00
Klaus Basan
1c57ce87a2 Ref T149, URL log list/class to trace network calls
* value class
* list
* metadata registration
2017-09-24 19:54:21 +01:00
Klaus Basan
a22cd134f8 Formatting 2017-09-24 19:54:16 +01:00
Klaus Basan
1baf74ebf3 Added comments based on discussion https://swift-project.slack.com/archives/C04J6J76N/p1504536854000049 2017-09-24 19:54:13 +01:00
Klaus Basan
b107617f73 Ref T148, formatting/renaming 2017-09-24 19:54:10 +01:00
Klaus Basan
c0a6574c80 Ref T148, public getName so it can be used in logging 2017-09-24 19:54:04 +01:00
Klaus Basan
782639e7c9 Allow to use status message debug() with << like info(), ...
Slack discussion: https://swift-project.slack.com/archives/C04J6J76N/p1504372206000004
2017-09-24 19:54:00 +01:00
Klaus Basan
946bdb964e Ref T146, added icons 2017-09-24 19:53:53 +01:00
Klaus Basan
b49b7f8c71 ASSERT when CContinuousWorker::quitAndWait is called by object thread -> deadlock 2017-09-24 19:53:50 +01:00
Klaus Basan
0dfe6f69fe Minor fixes when reporting T141
* user authenticated must be enabled/valid
* Read only: BlackMisc::CDataReadOnly<BlackCore::Data::TAuthenticatedDbUser>
* clear user fields when not authenticated
2017-09-24 19:53:47 +01:00
Mathew Sutcliffe
9da798e470 Ref T155 Log category for CValuePage. 2017-09-24 19:53:43 +01:00
Mathew Sutcliffe
de11f7fe35 Correctly remove session cache value of expired session.
Summary:
`CDataCacheRevision` stores current working timestamps in `m_timestamps` and stores complete timestamps (including unadmitted deferred values) in `m_originalTimestamps`. A value is "in" the cache if and only if its timestamp is in `m_timestamps`. In `writeNewRevision` the `.rev` file is written based on `m_originalTimestamps` so that unadmitted deferred values don't get lost.

Session cache works by removing timestamps that were not created in the current session. But it needs to remove from both `m_timestamps` and `m_originalTimestamps` so that old session cache values can't get recreated by `writeNewRevision`.

Test Plan: Currently being evaluated by @kbasan to check that it does not introduce unintended consequences.

Reviewers: #swift_pilot_client, kbasan

Reviewed By: #swift_pilot_client, kbasan

Subscribers: jenkins, kbasan

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D53
2017-09-24 19:53:41 +01:00
Klaus Basan
50442e6f13 Ref T125, value class for remote files (i.e. files downloaded). Corresponds with backend service T132 2017-09-24 19:53:24 +01:00
Klaus Basan
8d72fe5285 Ref T125, allow to use std::function with CSlot 2017-09-24 19:53:23 +01:00
Klaus Basan
329b0512eb Ref T125, utility functions 2017-09-24 19:53:20 +01:00
Klaus Basan
53189eafd5 Ref T125, human readable file size 2017-09-24 19:53:15 +01:00
Klaus Basan
8c032fb4d7 Ref T125, allow to get distribution list by JSON string. Also setup value object directly using JSON string now. 2017-09-24 19:53:13 +01:00
Klaus Basan
65bd2d20ad Ref T125, X-Plan utility functions and moved XSwiftBus settings in own file 2017-09-24 19:53:03 +01:00
Klaus Basan
104d869c19 Ref T125, fixed to static const 2017-09-24 19:53:01 +01:00
Mathew Sutcliffe
1cd471873f T37 T133 removeOutdatedParts shall always preserve one outdated parts
to make sure there is enough information to reliably interpolate.
2017-09-24 19:52:51 +01:00
Mathew Sutcliffe
f9ae3efaa3 T37 Avoid division by zero in case time offset is zero. 2017-09-24 19:52:49 +01:00
Mathew Sutcliffe
aaeb2e8ceb T37 Fixed wrong parameter names. 2017-09-24 19:52:44 +01:00
Roland Winklmeier
c91aa0d58e Change template parameter to disambiguate call to QLatin1String constructor
Summary:
Qt 5.10 added a new constructor overload which made the call to QLatin1String
constructor with size_t as second parameter ambigious.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D47
2017-09-24 19:52:41 +01:00
Mathew Sutcliffe
05c0d046aa Removed outdated todos. 2017-09-24 19:52:37 +01:00
Klaus Basan
3f924209f1 As a follow up of review T111, changed "void static" to "static void" for consistency. 2017-09-24 19:52:31 +01:00
Klaus Basan
fe3368e1f4 Ref T117, formatting 2017-09-24 19:52:15 +01:00
Klaus Basan
9903d518b0 Ref T117, utility functions
* detect equal models (equal in sense of "equal for publishing", not ==)
* severity functions for message list
2017-09-24 19:52:14 +01:00
Klaus Basan
da47be641a Typo 2017-09-24 19:52:11 +01:00
Klaus Basan
bb4f0e7a13 Ref T111, search for location/name 2017-09-24 19:52:06 +01:00
Klaus Basan
58b5dd1278 Using std::copysign 2017-09-24 19:52:05 +01:00
Klaus Basan
0117558ea7 Formatting 2017-09-24 19:52:04 +01:00
Klaus Basan
2805979577 Fixed setting altitude of airport 2017-09-24 19:52:02 +01:00
Klaus Basan
7cc723c7c3 Ref T111, in provider allow to set cockpit by simulated aircraft 2017-09-24 19:51:58 +01:00
Klaus Basan
ea6cf20587 Ref T111, allow to set cockpit by passing another simulated aircraft 2017-09-24 19:51:56 +01:00
Klaus Basan
266a418c90 Ref T111, allow to limit entries in log component 2017-09-24 19:51:54 +01:00
Klaus Basan
1387573e5b Ref T112, moved simulator settings in subdir/settings namespace 2017-09-24 19:51:46 +01:00
Klaus Basan
b70fb70d60 Ref T111, renamed dummy driver to CSimulatorEmulated 2017-09-24 19:51:43 +01:00
Klaus Basan
bb13a32c7c Ref T111, utility function for local decimal point 2017-09-24 19:51:34 +01:00
Klaus Basan
9445bd56a3 Ref T111, normalize utility functions 2017-09-24 19:51:33 +01:00
Klaus Basan
4e45496431 Ref T111, different implementation as recommended by MS 2017-09-24 19:51:31 +01:00