Commit Graph

672 Commits

Author SHA1 Message Date
Klaus Basan
3ac32fa58e refs #559, adjustments cache/settings moved 2015-12-20 17:00:12 +01:00
Roland Winklmeier
cbf54d0416 Handle unknown direct play error codes instead of an empty message
refs #546
2015-12-20 16:57:51 +01:00
Roland Winklmeier
9960431d01 Move global Fs9 variables into CSimulatorFs9Factory
Global variables are always a bad idea since the order of destruction
is unknown and can cause undefined behaviour. In this case the
global shared pointer can be destroyed before CSimulatorFs9Factory which
relies on it.

refs #546
2015-12-17 19:51:16 +01:00
Roland Winklmeier
7779c65ab8 Fix XPlane driver log message 2015-12-17 19:51:15 +01:00
Mathew Sutcliffe
51efdca8cc Fixed bug that could have caused X-Plane to stop displaying status messages. 2015-12-13 16:41:35 +00:00
Klaus Basan
1b46e0400c refs #544 doxygen 2015-12-12 04:47:18 +00:00
Klaus Basan
72019961eb fixes refs #551 caused by missing units 2015-12-10 03:15:09 +01:00
Klaus Basan
c1b612e193 Some fixes as follow up of refs #533
* made plugin aware functions protected
* set setup for FSX ( refs #547 ) and made setup protected
* removed CLogHandler::instance()->disconnect(); as discussed in slack
* some formatting
2015-12-08 20:14:24 +01:00
Klaus Basan
8058a19288 refs #546, allows to run on Win10 without DirectX
Does not fix that it is asked to install DX, but avoids the crash if installation is denied
2015-12-08 20:14:19 +01:00
Klaus Basan
291c95160f Doxygen fixes refs #544 2015-12-08 20:14:17 +01:00
Mathew Sutcliffe
01d20c53e7 refs #520 CDBusServer style/cleanup. 2015-11-29 20:14:31 +00:00
Mathew Sutcliffe
fbcc42424d refs #520 Moved CDBusServer from BlackCore to BlackMisc. 2015-11-28 02:25:56 +00:00
Michał Garapich
e50e298f21 refs #511 X-plane plugin has now correct name
* X-Plane plugin is now called just "X-Plane" instead of "X-Plane generic plugin"
* "Listening for ..." uses full simulator name instead of its abbreviation
2015-11-26 19:28:19 +01:00
Roland Winklmeier
1f77d8844a Fix simulatorfsxconfig DESTDIR 2015-11-24 08:26:29 +01:00
Mathew Sutcliffe
6dd06e4045 Fixed two underscores which were missed. 2015-11-23 23:29:33 +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
Mathew Sutcliffe
d32f211a71 refs #461 Unify FS9/FSX platform conditions. 2015-11-23 23:29:27 +00:00
Mathew Sutcliffe
7c9ddd1fda refs #461 SUBDIRS projects will need common_post. 2015-11-23 10:52:37 +00:00
Roland Winklmeier
7ece093ee9 Refactor qmake SUBDIRS structure
The big swift.pro is refactored by the correct usage of SUBDIRS
template. The following additional changes are made:
- Removed '_' from all targets and folder names
- Aligned parent folder and target name

refs #461
2015-11-23 09:50:44 +01:00
Roland Winklmeier
2ff0c9fa86 Fix Windows and OSX includes 2015-11-22 18:45:25 +01:00
Michał Garapich
5fc284cc36 Fix doxygen warnings 2015-11-22 16:51:01 +01:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Klaus Basan
1fc7300982 refs #507, split up blackmiscfreefunctions
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Roland Winklmeier
3d8dc81ffb Fix error about QStrings binary '%' operator 2015-11-20 20:10:27 +01:00
Roland Winklmeier
967ecc70eb Add QtNetwork modules to config plugin 2015-11-20 20:10:27 +01:00
Michał Garapich
7b398f3728 refs #392 Add INSTALL target for config plugins 2015-11-19 21:08:34 +00:00
Michał Garapich
3dd86d4984 refs #392 XBus copy feature fine tuning
* New method: CFileUtils::copyRecursively()
* Copy the XBus directory to X-Plane plugins
2015-11-19 21:08:31 +00:00
Michal Garapich
3781cf2095 refs #392 Add config window for FSX
* Added plugin_fsx_config subproject
* Removed CSettingsFsxComponent from BlackGui
* Added CSimConnectSettingsComponent
* Add x-plane_install_10.txt path for Windows
2015-11-19 21:08:29 +00:00
Michał Garapich
cf3102333b refs #392 Added the "Install XBus" feature
* New "Install XBus" button in the CSimulatorXPlaneConfigWindow
* CSettingsSimulatorComponent cleanup
2015-11-19 21:08:26 +00:00
Michał Garapich
06c17d7d09 refs #392 Added BlackGui::CPluginConfigWindow
* CPluginConfigWindow is now base class for all plugin config windows
* CPluginConfigWindow is styled properly
* Fixed behaviour in CSimulatorXPlaneConfigWindow
2015-11-19 21:08:23 +00:00
Michał Garapich
a0b4d47736 refs #392 Added BlackGui::IPluginConfig
* BlackGui::IPluginConfig is an interface for plugin configurations
* Added plugin_xplane_config target
* Adapted IPluginManager
* Adapted CPluginManagerSimulator
* Adaptem CSettingsSimulatorComponent
2015-11-19 21:08:21 +00:00
Michał Garapich
584616de7a refs #443 Added PluginDetailsWindow
* New variable in the json metadata file - simulator name
* Added PluginDetailsWindow that shows plugin info
2015-11-19 21:08:18 +00:00
Roland Winklmeier
5eddef0f12 Add install targets
refs #486
2015-11-19 21:07:14 +00:00
Roland Winklmeier
6474261c3c Remove unnecessary includes 2015-11-19 21:07:00 +00:00
Klaus Basan
98b86b6f27 refs #502, move the thread checks into own class in blackmisc
* we want to clean up the freefunctions anyway
* allows to use check in blackmisc namespace
2015-11-19 21:06:19 +00:00
Mathew Sutcliffe
cda0882806 Removed useless line. 2015-11-19 21:05:13 +00:00
Mathew Sutcliffe
777a371569 refs #484 Revise XBus airports-in-range code using CNavDataReferenceList. 2015-11-19 21:05:07 +00:00
Roland Winklmeier
94901b7846 refs #487 Finish IAircraftModelLoader::createModelLoader factory method 2015-11-19 21:03:03 +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
ed98dcedc6 refs #271 Changed the default X-Plane model to one that is part of the basic CSL package of xbus.
This makes traffic visible in X-Plane once again.
2015-11-19 21:01:29 +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
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
Mathew Sutcliffe
3401fff017 refs #466 Refactored automatic signal relaying into CGenericDBusInterface. 2015-11-19 21:01:10 +00:00
Klaus Basan
a8e8e5527a refs #452 updated drivers
* FSX/FS9 directories directly resolved in parser
* all: using BlackMisc::Simulation::CSimulatedAircraft instead of CAircraft
2015-11-19 20:59:10 +00:00
Mathew Sutcliffe
00cd4f4f87 refs #459 Removed CAircraftParts::m_correspondingCallsign per Slack discussion MS/RW. 2015-11-19 20:58:18 +00:00
Klaus Basan
4120608532 refs #445, change livery in XP driver.
(still work in progress)
2015-11-19 20:57:30 +00:00
Klaus Basan
13df4302d7 refs #445, adjusted the drivers to reflect changes (liveries) 2015-11-19 20:57:27 +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