Commit Graph

31 Commits

Author SHA1 Message Date
Klaus Basan
488d437a2a #refs 686, used settings in readers
* moved threaded reader to BlackCore (settings are normally BlackCore aware)
* created ns/subfolder VATSIM
* prepared settings for the VATSIM readers
2016-06-29 01:04:41 +02:00
Klaus Basan
2dec348c8c Formatting from refs #678 2016-06-25 16:00:36 +02:00
Klaus Basan
f02bf0ac0a refs #649, skip reading of info objects if only caches are used and emit signals when syncronized from cache
(applied after 1st performance fix for cache was ready)
* utility functions to detect if only caches are used
* renamed some functions
* renamed some db flags and added new ones
2016-06-08 18:20:58 +02:00
Klaus Basan
954ddfb2e7 refs #649, refs #656, using caches in ICAO data reader
* access to info data reader (get DB metadata)
* adjusted database base class to support caches, info objects
* moved classes to subdir
2016-06-08 18:20:21 +02:00
Roland Winklmeier
0326d1fc81 Fix swiftguistd header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:31:53 +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
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +02:00
Klaus Basan
c36028ca9c refs #485, Restricted<T> 2016-03-18 01:10:35 +00: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
aa96731143 refs #485, further removed global setup traits from classes with read only
Use global setup from sGui/sApp
2016-03-18 01:09:45 +00:00
Klaus Basan
79f95845b2 refs #602, emoved web service provider
* webservices now directly accessible via sGui
* interface no longer needed
* no init of provider (setProvider) needed anymore
2016-03-18 01:09:00 +00:00
Klaus Basan
65af7d87da refs #602, CWebDataServices and CCookieManager now part of CApplication
* New hint flag: DB data for the client will no longer be web loaded but fetched from cache whenever possible
* No public constructors for the 2 classes
* adjusted main
2016-03-18 01:08:51 +00:00
Klaus Basan
4b7ba4f117 refs #597, removed setup loading in CWebDataServices
* no longer needed, as initial load happens in CApplication
* adjusted classes
2016-03-18 01:08:49 +00:00
Klaus Basan
2498a1ad71 refs #576, refs #588 improved finders and default selection
* IATA code for airlines
* selection for airline designator returns list not single object
* misc finder functions for airline list
* formatting, use MS override Doxygen style
2016-02-05 18:00:16 +01:00
Klaus Basan
46336e9cce refs #568, allow to read incremental data based on timestamp
* signatures with QDateTime
* flags
2016-01-28 16:31:44 +01:00
Klaus Basan
c7121e3f9f refs #526, network
* signal when data have been published
* parsing of publishing JSON object
* utility functions
2016-01-28 16:31:28 +01:00
Klaus Basan
3ac32fa58e refs #559, adjustments cache/settings moved 2015-12-20 17:00:12 +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
1b46e0400c refs #544 doxygen 2015-12-12 04:47:18 +00:00
Klaus Basan
291c95160f Doxygen fixes refs #544 2015-12-08 20:14:17 +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
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
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
53ba50dd3a refs #478, use data cache in readers
* URLs no longer have to be passed
* watchdog for DB readers to check DB status

In same step:
* fixed some log messages and comments
* allow to self signed SSL certificates
* adjusted namespace for CNetworkUtils (now in network)
2015-11-19 21:03:39 +00:00
Klaus Basan
aa653e0d85 refs #475, allow to load DB data from disk.
* Will allow to load data if DB is not accessible / available
* Also allows to save, so a special set can be saved for testing/forensic.
* fixed status bar, as received data no longer means DB is alive
2015-11-19 21:00:26 +00:00
Klaus Basan
8827b68b3b refs #452 signals in reader classes. adjusted METAR reader
* renamed to connectDataReadSignal
* removed unused individual signals, e.g. vatsimMetarsRead -> replace by data read signal + entity flag
* added data in METAR class (kept there, not in airspace monitor) -> reader aware
2015-11-19 21:00:15 +00:00
Klaus Basan
2cfd3540b8 refs #469, renamed flags
* db to entity flags as it also features entities not from DB
* Flag enums singular (discussed with MS / slack)
2015-11-19 21:00:13 +00:00
Klaus Basan
24432a56c7 refs #452, integrated METAR reader in CWebDataServices
* renamed files without "_"
* added flags
* integrated URL into global reader settings
* added new parameter for connectVatsimDataSignals
* removed unused setting in settings / network.h
2015-11-19 21:00:11 +00:00
Klaus Basan
07c6370819 refs #452, data readers / writers for DB (via web services)
* flags for readers (which reader is reading specific entities etc.)
* web data services: bundling multiple readers (webdataservices) and implementing IWebDataReaderProvider
* readers now able to read single entities
2015-11-19 20:59:13 +00:00