Commit Graph

810 Commits

Author SHA1 Message Date
Klaus Basan
070ba8f158 refs #559, moved cache/settings to blackmisc 2015-12-20 17:00:10 +01:00
Klaus Basan
dfe5d8ec5a refs #535, const for model 2015-12-20 16:59:57 +01:00
Klaus Basan
a7fc01ecff refs #535, find standard livery 2015-12-20 16:59:53 +01:00
Klaus Basan
953dee6060 Set datacache flag as discussed in slack (MS/KB) 2015-12-20 16:57:53 +01:00
Klaus Basan
41ae580ab4 debug output of context fixed 2015-12-20 16:57:52 +01:00
Mathew Sutcliffe
6139818138 refs #552 Linear interpolator directly manipulates n-vector instead of converting to lat/lon and back again. 2015-12-13 16:38:32 +00:00
Klaus Basan
1b46e0400c refs #544 doxygen 2015-12-12 04:47:18 +00:00
Klaus Basan
0eec523d54 refs #551, formatting and minor changes found during searching for the issue 2015-12-10 03:13:20 +01:00
Mathew Sutcliffe
366030f2a9 refs #536 Moved CDataCache serialization into a worker thread. 2015-12-08 21:16:26 +00:00
Mathew Sutcliffe
4a3cf916c7 Added missing Q_OBJECT macros. 2015-12-08 21:16:24 +00:00
Klaus Basan
c1b612e193 Some fixes as follow up of refs #533
* made plugin aware functions protected
* set setup for FSX ( refs #547 ) and made setup protected
* removed CLogHandler::instance()->disconnect(); as discussed in slack
* some formatting
2015-12-08 20:14:24 +01:00
Klaus Basan
27bbb3d58c refs #533, fixed matcher as temporary solution until we have DB data
* the whole concept here will change, see comments CAircraftMatcher::getClosestMatch
* currently returns exact match or default model
* added ASSERT in monitor to detect missing callsign for model at an early stage
2015-12-08 20:14:21 +01:00
Klaus Basan
f9c160d625 refs #533, fix callsign validation and split into functions for ATC/aircraft 2015-12-08 20:14:20 +01:00
Klaus Basan
291c95160f Doxygen fixes refs #544 2015-12-08 20:14:17 +01:00
Klaus Basan
f4eec653c1 Fixed reading of setup data (found during #533 debugging)
Default value for dev. mode was wrong
2015-12-08 20:14:16 +01:00
Klaus Basan
4b32572949 ASSERT when SSL is not present 2015-12-08 20:14:14 +01:00
Klaus Basan
fadb7eb750 refs #534 use cached data / settings
* models
* vPilot rules
* DBus address
2015-12-08 20:14:13 +01:00
Klaus Basan
51d4301899 As a follow up of #533 and also detected during #538 #524 tasks, fixed 2 more issues/bugs
* only call this->abandonAndWait() when not in main thread (also slack discussion MS/KB)
* make sure web data service start to read even if setup reader signal was missed
* add timestamp to setupreader to detect "recently read" in case signal is missed
2015-12-08 20:14:10 +01:00
Klaus Basan
a863f99c9d refs #533, fixes "CContextSimulator::ps_addRemoteAircraft is never called"
* reordered use of fireDelayedReadyForModelMatching
* better calls / params depending on received packet(FSInn / Icao code)
* fixed search in DB data
* works now with and without DB data present
2015-12-08 20:14:09 +01:00
Klaus Basan
8f85c54989 refs #538, Formatting, minor tweaks, comments
* new slot syntax in ATC station component
* formatting, comments
* tab order
* utility function for severity in status message
* null checks in threadutils
* invalidKey function in datastore
* changed data object keys (cached objets)
* added missing value object compare cases
* renamed timer in context network
* finder function for model list
* renamed getContainer to container (as it is just a reference)
2015-12-07 02:25:26 +01:00
Mathew Sutcliffe
01d20c53e7 refs #520 CDBusServer style/cleanup. 2015-11-29 20:14:31 +00:00
Mathew Sutcliffe
fbcc42424d refs #520 Moved CDBusServer from BlackCore to BlackMisc. 2015-11-28 02:25:56 +00:00
Mathew Sutcliffe
ac573b8d92 refs #476 The readers should delete their QNetworkAccessManager in cleanup(), just before they move back to the main thread for later deletion. 2015-11-26 18:24:11 +00:00
Mathew Sutcliffe
3e1eb350c5 refs #476 CThreadedReader::gracefulShutdown using the worker abandon feature, removed m_shutdown. 2015-11-26 18:24:11 +00:00
Klaus Basan
94a277ee8e refs #521, reading of setup and version
* fixed in launcher so reloading works (this also uses fixed URL list)
* signal for version synchronized
* removed setupreader.h where possible -> less compile dependencies
* removed redundant logging
* removed unused cleanup override
* connect &QCoreApplication::aboutToQuit in threaded reader
2015-11-25 03:49:14 +01:00
Mathew Sutcliffe
9968ccbbdb refs #461 Use the REQUIRES variable in the leaf projects instead of conditions at the SUBDIRS level. 2015-11-23 23:29:29 +00:00
Roland Winklmeier
097b4d900c Fix typo in log message 2015-11-23 00:23:06 +01:00
Roland Winklmeier
e51757cbf8 Rename vatlib2 to vatlib (v0.9.5)
refs #468
2015-11-22 21:13:27 +01:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Klaus Basan
1fc7300982 refs #507, split up blackmiscfreefunctions
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Klaus Basan
025457c43b refs #509,renamed CDownload to CUpdateInfo
* as discussed in meeting
* follow up adjustments (file renaming, msg. renaming)
2015-11-20 22:38:50 +01:00
Michał Garapich
5611304f09 refs #462 Remove Q_ASSERT for plugin loading failure 2015-11-20 18:34:44 +01:00
Michał Garapich
a0b4d47736 refs #392 Added BlackGui::IPluginConfig
* BlackGui::IPluginConfig is an interface for plugin configurations
* Added plugin_xplane_config target
* Adapted IPluginManager
* Adapted CPluginManagerSimulator
* Adaptem CSettingsSimulatorComponent
2015-11-19 21:08:21 +00:00
Michał Garapich
4d772050b0 refs #443 Add simulator enable/disable option
* Added CPluginSelector widget
* IContextSimulator starts/stops only specified listener(s)
* No more "auto" CSimulatorPluginInfo
2015-11-19 21:08:15 +00:00
Michał Garapich
a4f0007414 refs #442 Add CPluginManagerSimulator
* Rename CPluginManager to IPluginManager, it is an abstract class now
* Move plugin-related code to CPluginManagerSimulator
* Remove plugin validation from CSimulatorPluginInfo
2015-11-19 21:08:12 +00:00
Klaus Basan
6dd8fb333e refs #507, checks if URLs / DBus can be connected / reached
* new class CFailoverUrlList
* improved utility methods
* CDBusServer: utility function to check server / DBus can be connected
* check in swift GUI if DBus is available
2015-11-19 21:08:06 +00:00
Klaus Basan
d131cd2d33 refs #507, changed setup reader and simplied global setup and setup reader
* a single base URL (shared), derived URLs by appended path
* simplified dir structure shared with sub directories
* renamed functions
* automatically synchronize setup with DB when initialized
* trigger download info loading when setup is completed
* allow to automatically read after setup data have been synchronized
* read DB data when setup has been loaded
* allow to reload from threaded reader
* improved handling (log messages, skip reading) when data are not available
2015-11-19 21:07:58 +00:00
Klaus Basan
f448d50e29 refs #507 download value object for download information 2015-11-19 21:07:53 +00:00
Klaus Basan
4d3d9fa6be refs #476, improvements on gracefulShutdown
* gracefulShutdown in metar reader and other readers
* made m_shutdown thread safe
* Demoted log level for reader
* helper function finished or shutdown
2015-11-19 21:07:33 +00:00
Klaus Basan
54448fd2b2 refs #337, added missing empty contexts 2015-11-19 21:07:31 +00:00
Klaus Basan
de011dab1e Formatting / style 2015-11-19 21:07:28 +00:00
Roland Winklmeier
6ff9df5c05 Launch shipped dbus-daemon if first connection attempt was unsuccessful 2015-11-19 21:07:25 +00:00
Roland Winklmeier
5eddef0f12 Add install targets
refs #486
2015-11-19 21:07:14 +00:00
Roland Winklmeier
6474261c3c Remove unnecessary includes 2015-11-19 21:07:00 +00:00
Klaus Basan
a33558987c Added swift header / formatting / fixed mixing registerMetatype 2015-11-19 21:06:38 +00:00
Klaus Basan
dda64d0879 refs #502, cookie manager
* use authenticated user data objects in databaseauthentication
* shared threadsafe cookie manager across the QNetworkAccessManagers
* use cookie manager in existing readers
2015-11-19 21:06:22 +00:00
Klaus Basan
98b86b6f27 refs #502, move the thread checks into own class in blackmisc
* we want to clean up the freefunctions anyway
* allows to use check in blackmisc namespace
2015-11-19 21:06:19 +00:00
Klaus Basan
87a55edc04 refs #502, added role support and user as data object (for distribution) 2015-11-19 21:06:13 +00:00
Klaus Basan
23b310ac9b Formatting, typos 2015-11-19 21:06:11 +00:00
Mathew Sutcliffe
0ca4797bcf refs #494 Get the filename used for serializing a specific cached value, or list of all files used by whole cache. 2015-11-19 21:05:44 +00:00