Commit Graph

16 Commits

Author SHA1 Message Date
Klaus Basan
c411f07551 refs #485, renamed to cmdLineErrorMessage (to distinguish from status messages) 2016-03-18 01:09:06 +00:00
Klaus Basan
8a7eba74d9 refs #602, threadsafe access to central QNetworkAccessManager post/get
* threadsafe (used from workers)
* added post methods
* renamed functions to better refelct post/get
* use central QNetworkAccessManager in readers, removed local readers
2016-03-18 01:08:54 +00:00
Klaus Basan
1a1e4681fe refs #600, turned CUrlList into a plain vanilla list
* bundled all load balancing in CFailoverUrlList. "Obtain" functions are non-const, no need of mutable members
2016-03-18 01:08:41 +00:00
Klaus Basan
9ff322ae25 refs #597, use CMD arguments in setup reader.
* Setup reader will now be initialized and handles by CApplication
* Setup reader no longer threaded reader as it will be initialized and loade upfront
2016-03-18 01:08:24 +00:00
Klaus Basan
483c48cb82 refs #526, reviewed setup reader (cache)
There are more adjustment when we eventually have all the features as discussed in the meeting available
2016-01-28 16:31:36 +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
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
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
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
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
03f4aa6889 refs #497, changed and improved handling of bootstrap files
* changed global setup (port, root directory)
* version for bootstrap files
2015-11-19 21:04:43 +00:00
Klaus Basan
a9fc21af2f refs #478, refs #470 setup reader now detects when data version or data type changes 2015-11-19 21:04:20 +00:00
Klaus Basan
54ed4140d3 refs #470, read and update URLs from server 2015-11-19 21:03:28 +00:00