Commit Graph

1028 Commits

Author SHA1 Message Date
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
e2c37b2f16 fixed foolish mistake 2014-06-26 23:30:04 +01:00
Mathew Sutcliffe
997eb17f96 paranoid check in case of recurrence of race described in refs #270 2014-06-25 23:18:11 +01:00
Mathew Sutcliffe
fede3fc4c7 refs #270 don't call CRuntime::gracefulShutdown from a different thread;
connect it to the QCoreApplication::aboutToQuit signal instead
2014-06-25 23:18:10 +01:00
Mathew Sutcliffe
28e2b16607 [swift] refactored initialization into legacy and nextgen parts 2014-06-24 21:17:55 +01:00
Mathew Sutcliffe
2ecf316d9a [swift] cleanup functions 2014-06-24 21:17:37 +01:00
Mathew Sutcliffe
601923504b [swift] change or remove debug text mentioning XSquawkBox 2014-06-24 21:17:24 +01:00
Mathew Sutcliffe
caecee6f8c [swift] in the scenario init->cleanup->init, treat already-loaded object as a warning, not an error 2014-06-24 21:17:10 +01:00
Mathew Sutcliffe
df2fea2e53 [swift] fix for when using the latest libpng 2014-06-24 21:16:50 +01:00
Mathew Sutcliffe
aca56f2a47 [swift] don't store libpng or zlib headers with the libxplanemp source code 2014-06-24 21:16:33 +01:00
Mathew Sutcliffe
bedcbc5484 [swift] killing all those distracting warnings revealed one which identified an obvious mistake 2014-06-24 21:15:52 +01:00
Mathew Sutcliffe
237dcd0e14 [swift] killed approximately 150 compiler warnings 2014-06-24 21:15:30 +01:00
Klaus Basan
42d8c53290 Minor tweaks,
* formatting
* Startup screen tool window removed (as requested by RW)
2014-06-23 01:26:29 +02:00
Klaus Basan
5da3f55886 refs #277, removed QAudioOutput as discussed
(was used to work around a bug with muted sound)
2014-06-23 01:19:47 +02:00
Klaus Basan
317ea93701 refs #279, added version info to FSUIPC class 2014-06-23 01:19:44 +02:00
Mathew Sutcliffe
e7c14e2c1c moved enum metadata registration out of static methods of QObject-derived classes, which fixes #280 (GCC linker errors) 2014-06-23 01:19:42 +02:00
Klaus Basan
f775ac88d3 Doxygen 2014-06-23 01:19:40 +02:00
Klaus Basan
97b8ee8c32 refs #277, slow auio init
* fixed QHostInfo::localHostName()
* move to BlackMisc, as it can be used elsewhere
* temp. change, moved methods in body until refs #278, #277 is fixed/ resolved
2014-06-23 01:19:38 +02:00
Klaus Basan
2ecef24c91 Register ENUMs in ISimulator like it is done in IVoice 2014-06-23 01:19:37 +02:00
Klaus Basan
c404d4cc5b refs #279, FSUIPC support 2014-06-23 01:19:35 +02:00
Klaus Basan
0a6f711e82 Doxygen 2014-06-23 01:19:32 +02:00
Klaus Basan
ca8cbc4a0a refs #274, pending connection state detection and disallowing further connection states while pending 2014-06-23 01:19:31 +02:00
Klaus Basan
427dd83a6a Doxygen, formatting, tweaks 2014-06-23 01:19:30 +02:00
Klaus Basan
a867a490e6 Improved details on the readers, regarding timestamp 2014-06-23 01:19:29 +02:00
Klaus Basan
0547b2847e refs #275, own info window component
* added to CVariant for value object
* signal in text message to indicate overlay messages
* info window component (currently not runtme aware, maybe changed in future)
* removed old window, adjusted GUI
2014-06-23 01:19:28 +02:00
Klaus Basan
ab77f19544 refs #267, moved vPilot reader in namespace fscommon, as it is specific for FSX/FS9/P3D 2014-06-23 01:19:27 +02:00
Klaus Basan
568fc46003 Fix after merge with latest master, renamed method 2014-06-23 01:19:25 +02:00
Klaus Basan
b058aac405 refs #267, samples for model matching 2014-06-23 01:19:23 +02:00
Klaus Basan
c2ac46c85e refs #267, model mappings backend class (used in context)
* interface
* implementation for vPilot mapping files
2014-06-23 01:19:22 +02:00
Klaus Basan
b8390f470c refs #267, extended ICAO class 2014-06-23 01:19:20 +02:00
Klaus Basan
426dd4a09e refs #267, classes for model matching
* extended model class, refactored model class
* new mapping classes: value class / list
2014-06-23 01:19:18 +02:00
Klaus Basan
dbc3339599 Fixes in samples
* removed qSleep / dependency of Qt test libs
* QCoreApplication not required
2014-06-23 01:19:14 +02:00
Klaus Basan
f0a2bc4f65 Fixed .pro files, removed redundant c++11 config and enabled Q_COMPILER_INITIALIZER_LISTS 2014-06-23 01:19:12 +02:00
Roland Winklmeier
db1c04aaf8 Remove Qt::Tool window flag from IntroWindow
Qt::Tool causes the dialog to not have a symbol in the taskbar
2014-06-20 23:17:25 +02:00
Mathew Sutcliffe
0ca7c76932 refs #276 fixed invalid radio frequencies in default X-Plane data 2014-06-20 15:39:44 +01:00
Mathew Sutcliffe
fb2af10bb3 refs #276 using async dbus calls to improve responsiveness of the xplane sim driver 2014-06-20 15:39:43 +01:00
Mathew Sutcliffe
580b7edc35 refs #276 added async methods to CGenericDBusInterface 2014-06-20 15:39:43 +01:00
Mathew Sutcliffe
af1ededf9c refs #245 & #276 using variadic templates in CGenericDBusInterface 2014-06-20 15:39:42 +01:00
Roland Winklmeier
a0f0c31a7f Fix GUI cockpit component bug due to wrong frequency unit.
X-Plane is using kHz for COM frequencies, hence the default unit
was kHz. But the GUI cockpit component expects Mhz.
2014-06-20 12:30:18 +02: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
1afef03c6d refs #210 workaround an apparent bug in 64bit MSVC by using a signed type for tuple flags
(using a smaller unsigned type also worked)
2014-06-19 20:08:28 +01:00
Mathew Sutcliffe
fbb89375da refs #210 added jsonName in Private::Attribute
* Explicit JSON name can be set for tuple members
* Names can still be extracted by preprocessor stringification if not explicitly set
* In both cases, names are embedded in Attribute metadata, so no need to call jsonMembers() in the value classes
2014-06-18 23:46:31 +01:00
Mathew Sutcliffe
11824206a1 refs #210 added Private::Attribute
* An Attribute contains a reference to a data member, plus some metadata
* Creates the concept of a "meta tuple", a tuple of Attribute objects
* New facilities in TupleConverterBase to be used inside the macro
* Flags allow individual data members to be selectively enabled or disabled depending on how the tuple is used
* Selective enable/disable is implemented by removing the indices of the flagged members from the index_sequence
2014-06-18 23:45:01 +01:00
Mathew Sutcliffe
e89d5add0b fixed crash in xbus 2014-06-18 19:10:17 +01:00
Mathew Sutcliffe
8e3af6b8ce removed unnecessary workaround for problem which was due to a misunderstanding 2014-06-17 21:23:07 +01:00
Mathew Sutcliffe
fed270c068 Don't try to compile FSX driver for 64 bits.
This requires moving the config DEFINES into build.pri,
because projects include build.pri after config.pri,
and build.pri detects the WORD_SIZE.
2014-06-17 21:22:30 +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