Commit Graph

838 Commits

Author SHA1 Message Date
Klaus Basan
b78d8a5088 refs #597, adjusted update info/global setup
* some renaming
* adjusted to new server paths without dev/productive
* changed to different keys to obtain 2 JSON files in cache
2016-03-18 01:08:33 +00:00
Klaus Basan
ce3edc37d0 refs #597, removed setup reader includes no longer needed 2016-03-18 01:08:27 +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
96913c6dc1 refs #485, load settings in core facade
Idea: settings will be automatically available
2016-03-18 01:08:18 +00:00
Klaus Basan
1b587c2ee8 refs #485 removed some dependencies from CDBusServer 2016-03-18 01:08:16 +00:00
Klaus Basan
158efe819a refs #485, first version of a Gui/Core application class
Also specialized GUI application class for standard GUI
2016-03-18 01:08:02 +00:00
Klaus Basan
d9aac6427b refs #485, renamed (CContextRuntime) to CCoreFacade
https://dev.vatsim-germany.org/issues/485#note-6
2016-03-18 01:07:58 +00:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Roland Winklmeier
211a7dcc5b CPluginManagerSimulator::getListener should not create listeners
Up to now, CPluginManagerSimulator::getListener was allocating a listener
automatically in the background which was not always the desired
behaviour. For example in case simulators are stopped, it is unnecessary
to allocate all listeners and call stop on them. It is enough to stop
the existing ones.
In order to achieve the correct behaviour the creation part is moved to
CPluginManagerSimulator::createListener.

refs #606
2016-03-02 23:08:23 +01:00
Roland Winklmeier
1ea2f34f75 Fix doxygen documentation in src, samples and tests
refs #594
2016-02-16 20:01:33 +01:00
Roland Winklmeier
b1fa85b00f Remove unused code 2016-02-16 20:01:24 +01:00
Roland Winklmeier
bd251b5de6 Fix license headers 2016-02-16 20:01:21 +01:00
Roland Winklmeier
7953d550ea Fix linux clang errors and warnings
refs #596
2016-02-15 18:35:34 +01:00
Mathew Sutcliffe
451b90e4f9 refs #584 Moved make_unique to makeunique.h 2016-02-08 17:28:22 +00: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
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
72256cf86f refs #568, specialized lists (timestamp, DB objects, model list)
* remaned to latest/oldestObject
* JSON functions with prefix
* remove by keys
* only add models with model string to QStringList
2016-01-28 16:31:38 +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
0a6ed4e874 refs #527, changed writer to be able to publish multiple models at once 2016-01-28 16:31:30 +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
Roland Winklmeier
459b935e3b Add missing override keyword in CContextApplication 2016-01-28 02:49:09 +01:00
Roland Winklmeier
79210cb14e Add new WeatherData plugin structure
refs #556
2016-01-28 01:35:58 +01:00
Mathew Sutcliffe
956d393bb1 refs #545 CSetting<T>::setAndSave to set and save a setting in one step. 2016-01-27 23:37:46 +00:00
Klaus Basan
8aa449bc13 Some cleanup
* removed audio utils from blackmiscfreefunctions (we wanna give it up)
* comments
* formatting
2015-12-20 17:00:13 +01:00
Klaus Basan
3ac32fa58e refs #559, adjustments cache/settings moved 2015-12-20 17:00:12 +01:00
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