Klaus Basan
3c20590293
Allow a forced update of the setup reader
...
When the network is down it can happen the bootstrap file request is not yet timed out but we use our own time out.
In that case we check the cached data upfront by faking a failed web read.
2018-12-05 04:03:43 +01:00
Klaus Basan
6ef10b92ab
Fixed non-saving crashdump setting and some improvements for setup
...
Registration for "Settings::CCrashSettings::registerMetadata()" was missing
2018-12-02 18:26:49 +01:00
Klaus Basan
4a82621a1d
Ref T400, swift needs to start even without network connection, especially for mapping tool
...
* count errors and call "manageSetupAvailability" to update cache availability
* minor adjustments
2018-11-04 17:42:43 +01:00
Klaus Basan
8f286c4475
Ref T367, simplified bootstrap and update info reading
2018-09-22 01:26:41 +02:00
Klaus Basan
922f12f141
Ref T199, sync. caches of setup reader
2018-01-14 18:47:35 +01:00
Klaus Basan
379357d5d5
Formatting
2017-12-21 19:49:34 +01:00
Klaus Basan
7cf5dcdd8a
Ref T203, renamings and improved messages in setup reader
2017-12-21 19:48:44 +01:00
Klaus Basan
0daf4ba087
Ref T203, renamings to "update info" and "settings"
2017-12-21 19:48:30 +01:00
Klaus Basan
d1898b26fc
Ref T160, "private slots" to "private" in setup reader
2017-09-25 05:23:56 +02:00
Klaus Basan
071f327fca
Follow up of T156, improved setup loading dialog
...
* allow to load the delivered setup file if there are no other data
* display setup cache information
2017-09-24 20:29:27 +01:00
Klaus Basan
97f687077c
Ref T135, utility functions for platform guessing and channels
...
* using QSet
* platform guessing
* Doxygen
* word size in CBuildConfig
* renamed to BlackMisc::Db::TDistributionsInfo
2017-09-24 20:29:14 +01:00
Klaus Basan
155d436788
Ref T150, Ref T156 allow using setup reader in unit test
2017-09-24 20:28:48 +01:00
Klaus Basan
428ba0975c
Ref T156, setup reader adjusted
...
* link with watchdog Ref T150
* allow to disable URL connect checks if setup dialog is used
* refactoring of CSetupReader::parseCmdLineArguments so reparsing is possible
2017-09-24 20:28:37 +01:00
Klaus Basan
212bb6b485
Ref T42, setup reader
...
* cache can be prefilled
* renamed to ps_readDistributionInfo
* network issues -> chance to retry
2017-05-05 23:07:40 +01:00
Klaus Basan
8143add432
Show distribution file URL in distribution component (tooltip)
2017-04-18 00:08:14 +01:00
Klaus Basan
9faad01c8b
refs #921 , changed setup/reader to distribution URL
2017-04-18 00:07:08 +01:00
Klaus Basan
d1a72f8d62
refs #921 , adjusted reader to use distribution info
2017-04-18 00:06:42 +01:00
Klaus Basan
4a28807768
refs #853 , JSON exception handling in setup reader
2017-01-10 23:47:19 +00:00
Klaus Basan
62f2593486
refs #846 , setup reader
...
* save last error message
* renamed to setupHandlingCompleted
* docu
2017-01-10 23:46:00 +00:00
Klaus Basan
c02cbcb952
Updated some documentation based on a brief slack discussion with MG
2016-12-06 09:34:37 +01:00
Mathew Sutcliffe
0ae1e70923
refs #697 Data cache traits renamed with T prefix.
2016-08-03 02:20:27 +01:00
Klaus Basan
ce7362a9d9
refs #675 default URL for bootstrap file
...
* CApplication now has member function isUnitTest
* bootstrap URL has hardcoded default URL when running as unit test
* unit tests are automatically marked as "running in dev. environment"
2016-06-23 20:13:26 +02:00
Roland Winklmeier
d0313c7524
Style
2016-05-20 01:31:26 +02:00
Roland Winklmeier
933271b828
Fix BlackCore header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #598
2016-05-13 17:06:00 +02:00
Roland Winklmeier
3d7a39ed00
Fix BlackMisc header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
d0daad7d34
refs #642 , fixed setup loading, in same step refs #636 clear cache
...
* changed signals in setup reader
* explicit mode is default
* detailed information what is loaded
* new log pattern
* allow to add message list to log component
* allow to clear cache by cmd line arg
* consolidated cmd names
2016-05-05 20:49:13 +02:00
Klaus Basan
bc29514829
Some minor fixes and formatting
2016-04-11 20:16:13 +02:00
Klaus Basan
706f8c7ae1
refs #621 , adjusted reader to load also from local resource directory
2016-03-30 13:41:46 +02:00
Klaus Basan
d687255ef1
Fixed typo and exit application when parsing fails
2016-03-30 03:07:16 +02:00
Klaus Basan
1eb65a873c
refs #610 , VATSIM status file
...
* automatically load status file
* keep VATSIM data file locations
* use METAR/datafile locations from bootstrap or VATSIM status file
2016-03-18 01:10:12 +00:00
Klaus Basan
f4cbfc2fa9
refs #603 , new CMD args, formerly passed by env.vars
...
* removed from CProject
* removed. env. vars menu items
* prepared for vatlib cmd. args
* prepared for eol (end of lifetime) timestamp (time bomb)
2016-03-18 01:09:31 +00:00
Klaus Basan
d7e5b5206c
refs #485 , adjusted setup reader
...
* log categories as discussed
* made some functions thread safe
2016-03-18 01:09:28 +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
Roland Winklmeier
794bf0cd74
Fix doxygen copydoc documentation
...
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code
refs #544
2016-02-08 01:53:17 +01: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
3ac32fa58e
refs #559 , adjustments cache/settings moved
2015-12-20 17:00:12 +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
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
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
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
54ed4140d3
refs #470 , read and update URLs from server
2015-11-19 21:03:28 +00:00