Commit Graph

108 Commits

Author SHA1 Message Date
Mathew Sutcliffe
4b441c5d56 Latest libxplanemp. 2016-06-15 14:10:27 +01:00
Mathew Sutcliffe
6134b3d0a3 refs #667 XBus: use the thread-agnostic interpolator method, to avoid an unnecessary dynamic memory allocation. 2016-06-08 23:59:55 +01:00
Mathew Sutcliffe
4c2bc31975 refs #666 XBus expects timestamp relative to current time, in case core and sim PCs run with different clock times. 2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
73156c2e6d refs #666 XBus does interpolation using CInterpolatorLinear. 2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
37b4b81b9b refs #666 XBus receives aircraft situations with timestamps. 2016-06-08 23:54:13 +01: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
31b20bb2fb Fix size of allocated memory in xbus strdup 2016-05-20 01:41:22 +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
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
7b5e306bab xbus install target
refs #615
2016-05-20 01:36:50 +02:00
Mathew Sutcliffe
1801616953 refs #624 Use conditional SUBDIRS instead of REQUIRES for enabling/disabling subprojects. 2016-03-22 16:03:00 +00:00
Mathew Sutcliffe
a895cc2c54 refs #624 Removed many workarounds, no longer needed. 2016-03-22 16:02:58 +00:00
Mathew Sutcliffe
6f1cf8e3d7 refs #624 Replace typedef with using. 2016-03-22 16:02:50 +00:00
Mathew Sutcliffe
a8fc899219 refs #624 Use std alias traits. 2016-03-22 16:02:48 +00:00
Mathew Sutcliffe
3001ca1f44 refs #624 Use std::make_unique instead of BlackMisc::make_unique. 2016-03-22 16:02:29 +00:00
Klaus Basan
41a88266ab refs #485, improved p2p address handling 2016-03-18 01:08:10 +00:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00: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
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
1ea2f34f75 Fix doxygen documentation in src, samples and tests
refs #594
2016-02-16 20:01:33 +01:00
Roland Winklmeier
bd251b5de6 Fix license headers 2016-02-16 20:01:21 +01:00
Mathew Sutcliffe
451b90e4f9 refs #584 Moved make_unique to makeunique.h 2016-02-08 17:28:22 +00:00
Mathew Sutcliffe
01d20c53e7 refs #520 CDBusServer style/cleanup. 2015-11-29 20:14:31 +00:00
Mathew Sutcliffe
2a980af25b refs #520 XBus no longer needs to link to blackcore. 2015-11-28 02:28:51 +00:00
Mathew Sutcliffe
fbcc42424d refs #520 Moved CDBusServer from BlackCore to BlackMisc. 2015-11-28 02:25:56 +00:00
Mathew Sutcliffe
2ee3934cc2 refs #518 Split out libxplanemp into a submodule. 2015-11-25 15:42:13 +00:00
Mathew Sutcliffe
9968ccbbdb refs #461 Use the REQUIRES variable in the leaf projects instead of conditions at the SUBDIRS level. 2015-11-23 23:29:29 +00:00
Roland Winklmeier
b97a04373e Select externals subdir based on QMAKESPEC
refs #468
2015-11-22 19:41:47 +01:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Roland Winklmeier
502b41ff96 Build debug string by consecutive calls to XPLMDebugString
snprintf was not supported by MSVC for a very long time. It got added
the first time in MSVC 2015. To be able to build libxplanemp with
earlier versions, don't use snprintf but just pass the debug message
in multiple consecutive calls to XPLMDebugString.
2015-11-20 20:10:27 +01:00
Mathew Sutcliffe
16d5ea48eb Merge commit:8fd66aa8 from subtree libxplanempfork 2015-11-19 23:30:44 +00:00
Roland Winklmeier
c14c25d278 Fix linker error with MinGW 2015-11-19 21:07:22 +00:00
Roland Winklmeier
991f42ca41 Workaround xbus causing X-Plane infinite loop on OSX platforms
xbus is causing an infinite loop on OSX platforms when using
QApplication. Until this is fixed, default to QCoreApplication.
The impact is no Qt Gui can be used inside a X-Plane plugin. So
this needs to be fixed before swift gui can be bundled into one.

refs #293
2015-11-19 21:07:08 +00:00
Roland Winklmeier
3f686ec017 Fix gcc clobbered warning 2015-11-19 21:07:06 +00:00
Mathew Sutcliffe
e58afac883 Using safer casts. 2015-11-19 21:06:00 +00:00
Mathew Sutcliffe
fa6338bafa Explicit conversions to inhibit MSVC2015 warnings. 2015-11-19 21:05:57 +00:00
Mathew Sutcliffe
f1162813e9 refs #504 Explicit conversions to inhibit MSVC2015 warnings. 2015-11-19 21:05:54 +00:00
Mathew Sutcliffe
777a371569 refs #484 Revise XBus airports-in-range code using CNavDataReferenceList. 2015-11-19 21:05:07 +00:00
Mathew Sutcliffe
aad527933d Use a better name for the xbus MSVC project when using the MSVC project generator of qmake. 2015-11-19 21:02:53 +00:00
Mathew Sutcliffe
6b75de0b3f refs #482 Project files changed to use new qmake feature files and build directory structure. 2015-11-19 21:02:41 +00:00
Mathew Sutcliffe
7d51ffba5d refs #271 Random time offset of strobe lights so different planes' lights flash at different times. 2015-11-19 21:01:48 +00:00
Mathew Sutcliffe
88f2ea232a Better implementation of CompareCaseInsensitive. 2015-11-19 21:01:33 +00:00
Mathew Sutcliffe
b0b1a3a65d refs #271 CSimulatorXPlane sends text messages to XBus and they are displayed in X-Plane. 2015-11-19 21:01:26 +00:00
Mathew Sutcliffe
011488eaf1 refs #271 C++ API wrapper for the X-Plane Plugin SDK's C API for drawing callbacks. 2015-11-19 21:01:23 +00:00
Mathew Sutcliffe
3c95cde33c refs #271 C++ API wrapper for the X-Plane Plugin SDK's C API for custom commands. 2015-11-19 21:01:21 +00:00
Mathew Sutcliffe
cab22cdd64 refs #271 Removed some old debug printing. 2015-11-19 21:01:18 +00:00
Mathew Sutcliffe
b489b888a3 refs #466 Added a weather service class for XBus. 2015-11-19 21:01:15 +00:00