Commit Graph

185 Commits

Author SHA1 Message Date
Michał Garapich
1032b2f506 refs #650 Implement CAirportDataReader
* Add BlackCore::CAirportDataReader class
* Add cache traits for airport list
* Add corresponding WebReaderFlag
* Add CAirport::convertFromDatabaseJson()
* Add CApplication::headerFromNetwork() to handle HTTP HEAD method
2016-08-26 00:18:41 +02:00
Klaus Basan
31b03fe2e1 refs #712, signals when all DB data are read / the web services are started
(useful for GUI as it can be used to init only when data are available)
2016-07-28 21:08:24 +02:00
Klaus Basan
85d76d364c refs #709, name to entity 2016-07-28 21:08:13 +02:00
Klaus Basan
2ea826afe2 Small fix for bit count 2016-07-28 21:08:11 +02:00
Klaus Basan
44faccb568 refs #707, found during testing very odd characters can break the GUI 2016-07-14 18:49:27 +02:00
Klaus Basan
7bd233feaa refs #707, renaming / formatting 2016-07-14 18:49:19 +02:00
Klaus Basan
c133ad04c7 refs #681, using FSD setup in server 2016-06-29 15:38:10 +02:00
Klaus Basan
fcba4f2e75 refs #681, value object for FSD setup 2016-06-29 15:38:06 +02:00
Klaus Basan
12d06aceef refs #678, using QString for queried string, not full model anymore 2016-06-25 16:00:36 +02:00
Klaus Basan
3087a94ea8 refs #678 and slack discussion, renamed enum name
https://dev.vatsim-germany.org/issues/678#note-7
2016-06-25 16:00:33 +02:00
Klaus Basan
8b39e6f9c3 Formatting / warning fix (RW slack)
'initializing': conversion from 'size_t' to 'const int', possible loss of data
2016-06-23 20:13:29 +02:00
Klaus Basan
959fc10c92 Fixed missing distributor read and minor improvements 2016-06-15 00:11:15 +02:00
Klaus Basan
467f37db7f refs #649, added check for changed base URL to database reader
(continued #649 after fixes of #664)
2016-06-08 18:20:35 +02:00
Klaus Basan
54b1234f7f refs #649, refs #658 fixed includes to new subfolders "db"
some style changes in same step
2016-06-08 18:20:23 +02:00
Klaus Basan
5789bdd722 * refs #658, set user-agent "swift" to swift requests
some style changes in same step
2016-06-08 18:20:22 +02:00
Klaus Basan
e5f8a5108f refs #649, refs #656, adjusted flags
* removed now outdated enums
* sorted enums (better debugging)
* utility functions
2016-06-08 18:20:19 +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
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +02:00
Mathew Sutcliffe
4e9d7d3efe refs #628 Metaclass style compatible with the AStyle beautifier. 2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
4bd4baa535 refs #628 Use the metaclass mixins in all value classes. 2016-04-03 18:17:43 +01:00
Klaus Basan
468182da4c refs #621, URL from local file path 2016-03-30 13:41:45 +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
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
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
92a36890eb refs #485 URL/URL list
* added constructor for CUrlList
* added registration of metadata of fail over class
* default port support for getPort
2016-03-18 01:08:30 +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
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Roland Winklmeier
1ea2f34f75 Fix doxygen documentation in src, samples and tests
refs #594
2016-02-16 20:01:33 +01:00
Roland Winklmeier
bd251b5de6 Fix license headers 2016-02-16 20:01:21 +01:00
Roland Winklmeier
055e4aae17 Fix source code not in sync with doxygen doc
refs #544
2016-02-08 01:53:17 +01: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
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
551f3348f4 refs #377 usability improvements
* allow to toggle between single, multi and extended selection
* all DB data can be read by menu
* fixed load/save (test data) from disk
2016-02-05 17:59:52 +01:00
Klaus Basan
eb74efa9ba refs #568, improved error handling / parameter names in readers
* better categories
* parameter name as static functions
* error message in structure CDatabaseReader::JsonDatastoreResponse
* prefixed members of structure with _m
* consolidate severity
2016-01-28 16:31:59 +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
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
6ac1808d25 Allow to save list of "other servers"
* load / save setting called
* fixed handling in server form

Follow up of refs #533, related to #545
2015-12-08 20:14:19 +01:00
Klaus Basan
291c95160f Doxygen fixes refs #544 2015-12-08 20:14:17 +01:00
Klaus Basan
22ca6ae922 Fixed adding the hardcoded test servers in a dev. environment
(issue found during debugging of #533)
Added some functions to find similar servers by address/port
2015-12-08 20:14:16 +01:00
Klaus Basan
88f14f150d refs #538, made CWebDataServicesAware funtions protected
actually there is no reason why any using class should expose them
only exception is that airspace monitor exposes the metar function
2015-12-08 20:14:10 +01:00
Klaus Basan
d6733d49bb refs #522, mutex for mutable members (thread safe)
* copy/assignment/lock for mutable members
* also removed redundant in status message (slack discussion MS/KB)
2015-11-26 13:54:47 +01:00
Klaus Basan
af3ebf71a3 refs #521, improved URL list
* allow to reset url list
* remove duplicates
* fixed CFailoverUrlList::getNextWorkingUrl
2015-11-25 03:33:31 +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
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
a33558987c Added swift header / formatting / fixed mixing registerMetatype 2015-11-19 21:06:38 +00:00
Klaus Basan
012543ef02 refs #471, allow to search server by name and occupy less height for form 2015-11-19 21:06:30 +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