Commit Graph

3136 Commits

Author SHA1 Message Date
Mathew Sutcliffe
d0d100da5e refs #664 Use timestamps from .rev file instead of the filesystem timestamps of the json files. 2016-05-26 18:03:21 +01:00
Mathew Sutcliffe
4bc8326389 refs #664 Fixed bug in data cache log message creation. 2016-05-26 18:01:42 +01:00
Mathew Sutcliffe
fa7aa6446b refs #662 Work around MSVC2015 bug causing failure to detect getLogCategories() in some conditions. 2016-05-25 19:25:52 +01:00
Roland Winklmeier
3e4e49a6b6 Set last modification timestamp when loading X-Plane models
This feature was already implemented for MS Flight Simulator model
loaders and missing in the X-Plane model loader.
2016-05-24 16:59:16 +02:00
Roland Winklmeier
602beb0da2 Remove obsolete plugin storage
Plugin storage was used before the value cache existed. With the
value cache this is no longer used and can be removed.

refs #660
2016-05-24 16:45:14 +02:00
Roland Winklmeier
2d8f56a598 Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
2016-05-24 13:12:23 +02:00
Roland Winklmeier
26a78ac2a6 Workaround gcc warning -Wmissing-field-initializers
gcc raises a warning when initializing std::array with
empty-braces. This is fixed in gcc 5.1.1, so a workaround
for 4.9 was necessary.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750
2016-05-24 13:12:00 +02:00
Mathew Sutcliffe
fe5e122f12 Comparison mixins implemented with forEachMemberPair instead of toCaseAwareTuple. 2016-05-22 15:34:05 +01:00
Mathew Sutcliffe
f523197dfd refs #657 Fixed race condition in synchronize(). 2016-05-22 15:34:05 +01:00
Mathew Sutcliffe
6aa67f638a refs #657 Applications started at the same time should write to different log files. 2016-05-22 15:34:05 +01:00
Mathew Sutcliffe
9da53bd58b refs #646 Added timestamps in data cache load/save log messages. 2016-05-22 15:34:05 +01:00
Mathew Sutcliffe
74f577eec9 refs #646 Using new CStatusMessage construction style in CValueCache. 2016-05-22 15:34:05 +01:00
Mathew Sutcliffe
05b5971caf refs #646 Log messages when saving and loading data cache values. 2016-05-22 15:34:05 +01:00
Mathew Sutcliffe
5a43ff8d20 refs #646 Fixed race condition between synchronize() and saveToStoreAsync(). 2016-05-22 15:34:05 +01:00
Roland Winklmeier
d6f7341b3d Install additional Qt Plugins
* audio
* iconengines
* imageformats
* mediaservice
* platforms
* platforminputcontexts
* platformthemes
* xcbglintegrations

refs #615
2016-05-20 01:42:55 +02:00
Roland Winklmeier
5a520f1c1f Give installers a better name to distinguish between 32 and 64 bit
refs #615
2016-05-20 01:42:53 +02:00
Roland Winklmeier
6fad166b44 Package MSFS simulator plugins only if they exist
There are no 64 bit MSFS simulator plugins available. Therefore don't
package them, if they were not built.

refs #615
2016-05-20 01:42:51 +02:00
Roland Winklmeier
b671089c66 Finish workaround for xbus causing X-Plane infinite loop on Mac OS X
In the first commit of this workaround, not all QApplications were
replaced by QCoreApplications. For unknown reasons, the single
replacement solved the problem. With Qt 5.6 it appeared again. This
commit finishes now the workaround.

refs #293
2016-05-20 01:42:50 +02:00
Roland Winklmeier
8fe1369167 Remove default rpath to Qt installation
refs #615
2016-05-20 01:42:48 +02:00
Roland Winklmeier
df4ac9538a Fix launching of shipped dbus-daemon
When using QProcess::startDetached on Windows, a console Window is
visible. Since dbus-daemon should run silently in the background,
use our customized CProcess instead which supports starting without
console.
This commit also fixes a race condition. CDBusServer launched the
dbus-daemon and immediatly tried to register. If dbus-daemon was not yet
initialized and ready to accept connections, registering the service
failed. This is fixed by a small timeout.

refs #615
2016-05-20 01:42:47 +02:00
Roland Winklmeier
e12e655d70 CProcessCtrl
Derives from QProcess and adds a static method to start a detached
application without a console window.

refs #615
2016-05-20 01:42:32 +02:00
Roland Winklmeier
ca80b2f3ed Fix update version info
refs #615
2016-05-20 01:41:24 +02:00
Roland Winklmeier
31b20bb2fb Fix size of allocated memory in xbus strdup 2016-05-20 01:41:22 +02:00
Roland Winklmeier
014c218afa Fix swiftlauncher executable names for Linux platforms
refs #615
2016-05-20 01:41:21 +02:00
Roland Winklmeier
ab1491f085 Rename share/dbus-1 to etc/dbus-1 to not mix it up with data/shared
refs #615
2016-05-20 01:41:19 +02:00
Roland Winklmeier
20aa59c537 Properly cleanup open QDBusConnection's
Everytime you connect to DBus, the connection stays open until it
is manually disconnected or cleaned up by the QCoreApplication
destructor. In case of xbus, ~QCoreApplication is not necessarily
be called and the connection not cleaned up. Hence do it manually.

refs #615
2016-05-20 01:41:18 +02:00
Roland Winklmeier
25482f5d35 Let xbus retry to connect to dbus in case it is not available
refs #615
2016-05-20 01:41:16 +02:00
Roland Winklmeier
21fe8d46ea xbus modifies library search path in order for QtDBus to find libdbus
refs #615
2016-05-20 01:41:15 +02:00
Roland Winklmeier
d4248d2661 Util methods to modify the custom library search path
refs #615
2016-05-20 01:41:10 +02:00
Roland Winklmeier
71d9439537 Install all xbus dependencies
refs #615
2016-05-20 01:40:16 +02:00
Roland Winklmeier
cc302bd4fd Add xbus legacy data without CSL
refs #615
2016-05-20 01:40:15 +02:00
Roland Winklmeier
c609dfb24c Include xbus in installbuilder
refs #615
2016-05-20 01:40:13 +02:00
Roland Winklmeier
88c3e585fc Include weatherdata plugins in installbuilder
refs #615
2016-05-20 01:40:12 +02:00
Roland Winklmeier
1eacf9b172 Installbuilder Mac OS X setup
refs #615
2016-05-20 01:40:10 +02:00
Roland Winklmeier
91d1a90b1b Externals
refs #615
2016-05-20 01:40:08 +02:00
Roland Winklmeier
45b0503896 Include Mac OS X platform in installer project
refs #615
2016-05-20 01:40:04 +02:00
Roland Winklmeier
59551c0f1b Installbuilder Linux setup
refs #615
2016-05-20 01:36:55 +02:00
Roland Winklmeier
3d3ec0c65d Include linux platform in installer project
refs #615
2016-05-20 01:36:53 +02:00
Roland Winklmeier
4ed4771271 Installbuilder Windows fixes
refs #615
2016-05-20 01:36:52 +02:00
Roland Winklmeier
7b5e306bab xbus install target
refs #615
2016-05-20 01:36:50 +02:00
Roland Winklmeier
0ba46360dd Move sounds and stylesheet directory configuration to buildconfig.h.in
refs #615
2016-05-20 01:36:44 +02:00
Roland Winklmeier
9ef34c4b96 Group all resources in data/ subfolder
refs #615
2016-05-20 01:35:19 +02:00
Roland Winklmeier
c63348e339 Refactor Qt5 qmake installer script
Qt5 libraries have so many different names, prefixes and suffixes, so
it is easier to maintain separate lists for different OS

refs #615
2016-05-20 01:35:17 +02:00
Roland Winklmeier
38f92ea7e6 Refactor dbus qmake installer script
refs #615
2016-05-20 01:35:15 +02:00
Roland Winklmeier
ef8a0cc0c4 Update vcredist to MSVC2015
refs #615 #616
2016-05-20 01:35:13 +02:00
Roland Winklmeier
675255acf6 Fix access violation trying to use already destroyed context 2016-05-20 01:32:42 +02:00
Roland Winklmeier
1ffb910529 Fix blackgui unit test namespaces 2016-05-20 01:32:36 +02:00
Roland Winklmeier
4f8205e585 Fix unit test header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:32:26 +02:00
Roland Winklmeier
364b16346d Fix samples header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:32:14 +02:00
Roland Winklmeier
cbc3946306 Fix xplane plugin header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:32:04 +02:00