Commit Graph

2910 Commits

Author SHA1 Message Date
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
Roland Winklmeier
17fc3c4ce8 Disable app_bundles on OS X 2016-02-22 01:00:15 +01:00
Roland Winklmeier
4b20d967e6 Update externals 2016-02-21 23:09:31 +01:00
Roland Winklmeier
f82895501f Fix build on Mac OS X El Capitan (10.11) 2016-02-21 23:09:31 +01:00
Roland Winklmeier
61e68860f8 Fix removing of old log files
The modification date of the log files was invalid, since QFileInfo
was constructed with a filename only and absolute path. Hence no file
was ever removed from disk.
2016-02-21 20:16:51 +01:00
Roland Winklmeier
17324f718d Replace fatals by warnings in CAircraftModelLoaderXPlane
The warning message is there in order to tell developers that one of the
rare cases not yet implemeneted were called. This should not cause
the application to stop.

refs #574, #582
2016-02-21 20:16:50 +01:00
Roland Winklmeier
b185d10463 Simplify XPlane CSL model strings
Before this change, the model strings were assembled via some
relatives pathes - long and very hard to read. Now it is assembled
via the pattern

<package root dir> <dir> ... <objectname> <texturename>

<package root dir> = the parent directory of xsb_aircrafts.txt
<dir> ... = directory hierarchy down to the object file

refs #574
2016-02-21 20:16:48 +01:00
Roland Winklmeier
d8eda7ea4b Improve ModelLoader to find and parse XPlane flyable planes
refs #582
2016-02-21 20:16:37 +01:00
Roland Winklmeier
7cac547f1e Utility method to get XPlane root directory 2016-02-16 21:09:30 +01:00
Roland Winklmeier
97a12d955d Workaround doxygen 1.8.11 live lock by excluding datarefs.inc
refs #594
2016-02-16 20:01:57 +01:00
Roland Winklmeier
35d19e35f7 By default produce also internal docs
refs #594
2016-02-16 20:01:55 +01:00
Roland Winklmeier
66d2621815 Include samples and tests to doxygen documentation
refs #594
2016-02-16 20:01:53 +01:00
Roland Winklmeier
12f1fa6ba6 Remove the file pattern to use the default list
This is an intended behaviour change. With this commit, also source
files (*.cpp) are scanned for doxygen documentation. This was necessary
to recognize \file tags in samples and tests source files.

refs #594
2016-02-16 20:01:51 +01:00
Roland Winklmeier
3a2890b8a7 Enable source browser in doxygen output
refs #594
2016-02-16 20:01:49 +01:00