Commit Graph

56 Commits

Author SHA1 Message Date
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
Roland Winklmeier
58ae34d2e6 Fix const correctness in xbus dataRef 2015-03-20 16:32:51 +01:00
Roland Winklmeier
d02092779b Fix missing clocale include for unix platforms 2015-01-14 16:18:37 +01:00
Michał Garapich
3acc473612 refs #362 Workaround for X-Plane's locale issues
Set original X-Plane's locale back after calling QCoreApplication's constructor.
2015-01-07 23:47:42 +01:00
Roland Winklmeier
3ddbe41937 refs #320 fix linker error in xbus 2014-12-27 11:08:49 +01:00
Roland Winklmeier
c0265ba0e4 refs #320 Move own implementation of std::make_unique into BlackMisc 2014-12-27 11:08:39 +01:00
Mathew Sutcliffe
620e8a7752 Fixed MinGW warning emitted when optimizations are enabled. 2014-11-21 01:37:00 +00:00
Mathew Sutcliffe
b43d631697 One more cppcheck warning. 2014-11-18 01:19:51 +00:00
Mathew Sutcliffe
4f342fade6 Fixed cppcheck warnings. 2014-11-16 23:05:38 +00:00
Mathew Sutcliffe
2cda546ceb Fixed Clang warnings. 2014-11-16 21:36:35 +00:00
Roland Winklmeier
6de8df9d56 refs #341 Initialize m_menu in the initialization list 2014-11-05 16:34:24 +01:00
Mathew Sutcliffe
bf84b01ff7 refs #294 fixed X-Plane paths on Mac 2014-08-27 00:02:37 +01:00
Klaus Basan
6d5461cff8 Formatting, headers, Doxygen 2014-08-05 23:31:53 +02:00
Mathew Sutcliffe
891bfbba28 fixed MinGW warning about NOMINMAX 2014-07-18 23:32:57 +01:00
Mathew Sutcliffe
527fa8a492 refs #296 implemented airportsInRange on XBus side 2014-07-18 23:32:55 +01:00
Mathew Sutcliffe
cd82c7f55d improved debug messages in XBus 2014-07-14 23:30:13 +01:00
Mathew Sutcliffe
4bb7f8d164 refs #282 update to new externals layout 2014-07-04 00:09:52 +01:00
Mathew Sutcliffe
1e89771de0 refs #282 changes to get xbus to compile on OSX 2014-07-04 00:09:51 +01:00
Mathew Sutcliffe
c00324ef12 refs #282 changes to get xbus to compile on Linux 2014-07-04 00:09:44 +01:00
Klaus Basan
08e65beaf4 Reverted include/ as discussed
https://dev.vatsim-germany.org/issues/273#note-16
2014-06-29 00:55:52 +02:00
Klaus Basan
8fda6daee4 Fixed XPlane plugin warnings / issues
I came across when first compiling master with latest classes on my place
VC2013
2014-06-28 18:53:03 +02:00
Mathew Sutcliffe
0ba2573334 fixes #284, credit goes to Roland 2014-06-28 14:31:19 +01:00
Mathew Sutcliffe
1a3a1e175e refs #272 added new DBus service object XBus::CTraffic providing access to traffic aircraft in the sim 2014-06-28 14:31:18 +01:00
Mathew Sutcliffe
12a7ef04b6 refs #272 added the necessary lines in xbus.pro to compile libxplanemp 2014-06-28 14:31:17 +01:00
Mathew Sutcliffe
ba1c1ddbbe Add 'src/xbus/libxplanemp/' from commit '28e2b16607e3e81e94bf18ff90ddf41314f92555'
git-subtree-dir: src/xbus/libxplanemp
git-subtree-mainline: e2c37b2f16
git-subtree-split: 28e2b16607
2014-06-28 14:30:52 +01:00
Mathew Sutcliffe
325af5b174 only link with the X-Plane SDK on Windows;
Linux and Mac use different means
2014-06-19 20:08:49 +01:00
Mathew Sutcliffe
41ce54377a link with the correct 32bit or 64bit X-Plane SDK library 2014-06-19 20:08:48 +01:00
Mathew Sutcliffe
e89d5add0b fixed crash in xbus 2014-06-18 19:10:17 +01:00
Mathew Sutcliffe
976de540e8 refactored 32/64bit detection in qmake files to avoid duplication 2014-06-17 21:20:20 +01:00
Mathew Sutcliffe
072667b3b4 fixes #269 added parameter to CDBusServer constructor to choose a different service name,
allows two servers running on the same bus, needed when running xbus and sample_blackcore
2014-06-17 21:20:15 +01:00
Mathew Sutcliffe
f430b65d39 refs #268 slots in XBus::CService to detect whether the aircraft is on the ground 2014-06-17 21:18:59 +01:00
Mathew Sutcliffe
b21adbe498 refs #268 added XBus::CService methods to get and set radios and transponder 2014-06-17 21:18:58 +01:00
Mathew Sutcliffe
271c973f6e refs #268 slots in XBus::CService to get the model strings 2014-06-17 21:18:56 +01:00
Mathew Sutcliffe
854b11ef10 refs #248 doxygen 2014-06-17 21:18:49 +01:00
Mathew Sutcliffe
ae5ce81d7f refs #248 fixed a GCC warning 2014-06-17 18:22:52 +01:00
Mathew Sutcliffe
edec05e41a refs #248 added actual XBus::CService class which is registered with DBus and provides access to the sim data 2014-06-17 18:22:51 +01:00