Commit Graph

91 Commits

Author SHA1 Message Date
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
Mathew Sutcliffe
f757adbf5a refs #466 Resolved TODO items in xbus. 2015-11-19 21:01:12 +00:00
Roland Winklmeier
1ac89d477f refs #444 Use CAircraftMatcher to match a model and send it to xbus
In case the model name is empty, xbus falls back to its former
behaviour and lets libxplanemp do the matching. If aircraft matcher
does provide a model this will be used instead.
Until model mapping database is ready, a dummy provider has been added.
Hence CAircraftMatcher will always return a default model.
2015-11-19 20:57:09 +00:00
Roland Winklmeier
b0530aa567 XPMPCreatePlaneWithModelName adds plane with a defined model name
It bypasses the internal model matching of libxplanemp and lets
external applications do the model matching themselves.
2015-11-19 20:51:34 +00:00
Roland Winklmeier
25cdff54f3 refs #435 Read installed models from X-Plane via xbus 2015-11-19 20:51:09 +00:00
Roland Winklmeier
d24488d38f Make installed model info available from libxplanemp 2015-11-19 20:51:01 +00:00
Roland Winklmeier
b661443053 Remove obsolete method LoadOnePackage 2015-11-19 20:50:49 +00:00
Roland Winklmeier
cf3d527457 Implement and use single command parser methods 2015-11-19 20:50:21 +00:00
Roland Winklmeier
793fcbfd15 refs #403 refactor project files
* Use source path and build path instead of relative ones
* Unify pre target dependencies in libraries.pri
2015-05-05 21:29:46 +02:00
Roland Winklmeier
01d92f5981 refs #408 Fix DBus interface names to contain only legal characters
The DBus specification allows only ASCII characters "[A-Z][a-z][0-9]_".
Dash is illegal and therefore libdbus is complaining about our
interface names not being valid.
2015-04-23 22:06:38 +02:00
Roland Winklmeier
57b5e1421c Harmonize swift domain names to org.swift-project.* 2015-04-16 00:59:56 +02:00
Klaus Basan
0ab755d510 refs #396 subfolders and renamed callsign list to callsign set
* subfolder audio
* subfolder geo
* adjusted samples, tests ....
2015-04-07 19:22:23 +02:00
Roland Winklmeier
a6ca57265e refs #396 move Blackmisc Math classes into subfolder 2015-04-07 18:24:22 +02:00
Roland Winklmeier
942810d714 Use signed integer format for line number in xbus logging handler 2015-04-03 11:40:29 +02:00
Michał Garapich
b3b3f65ee3 A couple of xbus cleanups
* Use function for xbus service name as it is in X-Plane plugin
* Remove unsafe asserts
2015-04-01 00:05:20 +02:00
Roland Winklmeier
8a0c88f71b Fix segfault in xbus logging handler
xbus logging handler assumed QMessageLogContext always had a valid file
pointer which is not necessarily the case. If the file pointer is 0x0
log a file name <unknown> instead.
2015-03-20 17:10:47 +01:00
Klaus Basan
c47871b813 refs #382, reviewed audio context handling
* only init QDbusServer for P2P
* changed init order of contexts in runtime
* use "fake" signal to call setComVoiceRooms (remote in GUI)
* added slot to change voice room callsign
* used "org.swift" instead of "net.vatim" (just style)
* used const QString for serviceName
* added correct copyright header (just style)
2015-03-20 16:33:51 +01:00
Roland Winklmeier
bcc79ddeee refs #328 Read aircraft parts from simulators 2015-03-20 16:32:55 +01:00