Commit Graph

2842 Commits

Author SHA1 Message Date
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
Roland Winklmeier
5a61efb939 Disable left side treeview in doxygen output
refs #594
2016-02-16 20:01:47 +01:00
Roland Winklmeier
d1eb0bb9c3 Add tests to doxygen group 'tests' and subgroups
refs #594
2016-02-16 20:01:44 +01:00
Roland Winklmeier
866c8d2db6 Add samples to doxygen group 'samples' and subgroups
refs #594
2016-02-16 20:01:42 +01:00
Roland Winklmeier
65d7a058f0 Fill doxygen pages with content
refs #594
2016-02-16 20:01:40 +01:00
Roland Winklmeier
6f73eca3b9 Point DOXY_SRC_ROOT to source root
This is necessary to add samples and tests to doxygen config

refs #594
2016-02-16 20:01:38 +01:00
Roland Winklmeier
5670ba925a Fix MinGW warnings 2016-02-16 20:01:36 +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
bd6f0d0f25 Use namespace BlackSample in samples
refs #594
2016-02-16 20:01:28 +01:00
Roland Winklmeier
bf787478ad Rename Testservice DBus variables 2016-02-16 20:01:26 +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
Roland Winklmeier
2da4a3e47e Define WORD_SIZE for linux-clang
refs #596
2016-02-15 18:35:34 +01:00
Roland Winklmeier
141efdbf43 Fix missing dbus type registration in CValueCachePacket 2016-02-12 21:13:39 +01:00
Mathew Sutcliffe
0bf918cd28 refs #595 Forward declarations and move member initialization to constructor. 2016-02-08 18:48:57 +00:00
Mathew Sutcliffe
b4e1d42009 refs #595 Insert missing BLACKGUI_EXPORT. 2016-02-08 18:48:16 +00:00
Mathew Sutcliffe
641e469c9e refs #584 Doxygen. 2016-02-08 17:28:24 +00:00
Mathew Sutcliffe
451b90e4f9 refs #584 Moved make_unique to makeunique.h 2016-02-08 17:28:22 +00:00