Commit Graph

863 Commits

Author SHA1 Message Date
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
06bcbe2a2f refs #607, use cached FSD servers and voice servers. So in case read fails last good data could be used. 2016-03-18 01:10:09 +00:00
Klaus Basan
bcb00b1b91 refs #608, generic menus are now available via CGuiApplication and don`t have to be redefined over and over again 2016-03-18 01:10:04 +00:00
Klaus Basan
bf9ea12a2b Some fixes / tweaks found during testing
* clear setup URLs
* renamed to CInfoArea::connectTopLevelChanged()
* qss, margins for menu items
2016-03-18 01:10:01 +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
30b5e5dade refs #485, changed to static preformatted as discussed (MS/KB) on slack 2016-03-18 01:09:42 +00:00
Klaus Basan
55a0ab7b48 refs #485, renamed the trait for authenticated user to AuthenticatedDbUser
* there is no single authenticated user, this one has a specific usage
* adjusted classed
* formatting
2016-03-18 01:09:39 +00:00
Klaus Basan
f27d130df9 refs #485, VATSIM data to be cached 2016-03-18 01:09:37 +00:00
Klaus Basan
a43d414a76 refs #603, cmd args for network vatlib
bundled all defines which should be set on the build server in defines.pri
2016-03-18 01:09:34 +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
b577f9313e refs #485, use global setup directly from sApp where possible 2016-03-18 01:09:26 +00:00
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