Klaus Basan
f124412896
refs #605 , fixed unit test itself
...
* threaded reader were normal members causing a crash when those were moved in their own thread
* we need own event processing for unit test
* Network request needs to be generated in main thread
* don`t shutdown readers on QCoreApplication::aboutToQuit, let CApplication handle it
* use CApplication in unit test (as in real world)
Unrelated:
* access global setup via application
2016-03-18 01:09:17 +00:00
Klaus Basan
12957f8ec0
refs #602 , remove QNetworkAccessManager from readers, use central one
2016-03-18 01:09:15 +00:00
Klaus Basan
fb046ae1fb
refs #485 , moved central GUI functionality to sGui
...
* allow to send status message to main window (from everywhere)
* Use sGui::changedStylesheet where possible
* message when model is stashed
* improved application startup
2016-03-18 01:09:11 +00:00
Klaus Basan
c411f07551
refs #485 , renamed to cmdLineErrorMessage (to distinguish from status messages)
2016-03-18 01:09:06 +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
a0cfa2e687
refs #602 , directly web access via application
...
* delegating functions
* removed from airspace monitor
2016-03-18 01:08:57 +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
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
c649c1b7ed
refs #597 , loading changed so that it is guaranteed setup is loaded before application is actually started
2016-03-18 01:08:46 +00:00
Klaus Basan
488bdb3392
Fixes for mapping tool as discussed with RW on slack
2016-03-18 01:08:43 +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
89d9b3ad39
Minor fixed in context/audio context
2016-03-18 01:08:38 +00:00
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