Commit Graph

3023 Commits

Author SHA1 Message Date
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
774d3e4704 refs #485, slot class so replies from a single QNetworkAccessManager can be dispatched
(also refs #597)
2016-03-18 01:08:36 +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
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
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
6a06aa0460 refs #485, moved some gui classes to components
Originally components was meant for runtime based components. No longer true, so some classes now better find into that namespace.
2016-03-18 01:08:21 +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
a0b7f741ee refs #485, fixed default values in launcher
(discovered during testing, not really related)
2016-03-18 01:08:13 +00:00
Klaus Basan
41a88266ab refs #485, improved p2p address handling 2016-03-18 01:08:10 +00:00
Klaus Basan
7a38afe8c3 refs #485, adjusted samples 2016-03-18 01:08:07 +00:00
Klaus Basan
3829aaeae8 refs #485, removal of CEnableForRuntime 2016-03-18 01:08:05 +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
79cbcbc88f refs #485, remove all objects when closing DBusServer 2016-03-18 01:07:55 +00:00
Klaus Basan
4a0bc5dda3 refs #485, allow to close file loggger and using QStringBuilder 2016-03-18 01:07:52 +00:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Klaus Basan
f74794b4d7 refs #485, refs #584 changed register metadata so blackmiscfreefunctions can be removed 2016-03-18 01:07:46 +00:00
Klaus Basan
2af30f1035 Updated some icons 2016-03-18 01:07:44 +00:00
Mathew Sutcliffe
259f8d7a68 refs #601 Introduce "pinned" values, which are loaded synchronously by the CDataCache constructor. 2016-03-18 01:07:41 +00:00
Mathew Sutcliffe
c6a038aaa8 refs #601 Simplify syncLoad and rename to synchronize.
Now it doesn't return anything, it just causes the next async get() to be synchronized with the latest loaded value.
It does this by hooking into the queue introduced in the previous commit.
2016-03-18 01:07:38 +00:00
Mathew Sutcliffe
06ad77ee9d refs #601 CDataCache overrides connectPage to provide a queue that is more flexible than the usual Qt::QueuedConnection. 2016-03-18 01:07:32 +00:00
Mathew Sutcliffe
899d94ca74 refs #601 Refactor signal/slot connections from CValuePage constructor into virtual method of CValueCache
so that derived classes can override the behaviour.
2016-03-18 01:07:27 +00:00
Mathew Sutcliffe
f680cee8ed refs #601 Slot inhibitor no longer needed, this reverts commit:bc2e0faa. 2016-03-18 01:07:24 +00:00
Mathew Sutcliffe
a47a2681bd refs #601 Fixed thread safety of get() by adding getCopy(). 2016-03-17 19:45:15 +00:00
Klaus Basan
3e21b718d9 refs #601, #618 Fixed mistake. 2016-03-17 19:45:12 +00:00
Klaus Basan
a6840f12a1 refs #601, #600 CValuePage::getPageFor finds direct children only.
Fixes assert "can't have two CCached in the same object referring to the same value".
2016-03-17 19:45:09 +00:00
Mathew Sutcliffe
fa27b32984 refs #601, #600 Fixed test that was broken by previous commit "status message handling". 2016-03-17 19:45:07 +00:00
Klaus Basan
144ba62572 refs #601, #600, #485 Status message handling.
* follow up of debug session, added failure/success to status message
* return status messages instead of directly logging in functions returning CStatusMessage.
* Ignore empty preformatted messages.
* new log category
2016-03-17 19:45:04 +00:00
Mathew Sutcliffe
f490504f52 refs #601, #600 Fixed mistake in CValueCache::saveToFiles. 2016-03-07 17:04:41 +00:00
Klaus Basan
83082d3f63 refs #601, #600 Fixed inverted conditions in CValueCache and CSettingsCache. 2016-03-03 22:32:19 +00:00
Mathew Sutcliffe
f1a69d749d refs #604 Fixed MSVC warnings concerning missing pdb files. 2016-03-03 22:29:58 +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
39285541b7 Fix CTime unit test failure with MinGW build 2016-03-02 23:04:46 +01:00
Roland Winklmeier
10e5c8a94e Add more BlackMisc::Weather unit tests
refs #579
2016-03-02 23:04:37 +01:00
Roland Winklmeier
48fdfbea3e Cloud layers have a base and a top
refs #579
2016-03-02 23:04:29 +01:00
Roland Winklmeier
fe9c8ca3de Inject global weather grid to X-Plane via xbus
refs #579
2016-03-02 23:04:21 +01:00
Roland Winklmeier
99ab20bcc5 Inject global weather grid to Flight Simulators via FSUIPC
In the short term FSUIPC is used for all MSFS simulators, but in the
mid term this will be superceded by the Simconnect Weather API.

refs #579
2016-03-02 23:04:13 +01:00
Roland Winklmeier
16315ec2ec Implement hardcoded weather grids
* Cavok
* Thunderstorm

refs #579
2016-03-02 23:04:05 +01:00
Roland Winklmeier
04292c2002 Add initializer list constructors
refs #579
2016-03-02 23:03:57 +01:00
Roland Winklmeier
03abfec7c6 Add precipitation and cloud type to CCloudLayer
refs #579
2016-03-02 23:03:50 +01:00
Roland Winklmeier
af3b8f7f0c Add dew point to CTemperatureLayer
refs #579
2016-03-02 23:03:33 +01:00
Roland Winklmeier
af28db9e97 Add CVisibilityLayer and CVisibilityLayerList
refs #579
2016-03-02 22:58:38 +01:00
Roland Winklmeier
6932aaaec3 Fix missing include 2016-03-01 23:07:47 +01:00
Roland Winklmeier
37bff8cc85 Use double in xbus DBus API instead of float
float is not supported by DBus and all slots fail to be registered
if they have float arguments.
2016-03-01 23:07:38 +01:00
Roland Winklmeier
bf65619440 Fix duplicate DBus object path in xbus 2016-02-24 22:42:07 +01:00