Commit Graph

288 Commits

Author SHA1 Message Date
Roland Winklmeier
aabaf69bcd [g2clib] Fix redundant nullptr check when freeing memory 2016-01-28 01:36:30 +01:00
Roland Winklmeier
2fa0c669df [g2clib] Fix warning about conversion from double to float 2016-01-28 01:36:28 +01:00
Roland Winklmeier
c226b07c5b [g2clib] Fix potential null pointer dereference 2016-01-28 01:36:26 +01:00
Roland Winklmeier
25d548c195 [g2clib] Fix uninitialized variables 2016-01-28 01:36:23 +01:00
Roland Winklmeier
7d88bdd43b [g2clib] Fix memory leaks 2016-01-28 01:36:18 +01:00
Roland Winklmeier
f4f5999595 [g2clib] Fix compiler warnings 2016-01-28 01:36:16 +01:00
Roland Winklmeier
f290f09d4e [g2clib] Fix projection issues
Patch from Fedora 23
http://pkgs.fedoraproject.org/cgit/rpms/g2clib.git/tree/g2clib-degrib.patch
2016-01-28 01:36:13 +01:00
Roland Winklmeier
cf0e93afdc [g2clib] Fix sigfault if simunpack() is called with 0 values to unpack
Patch from Fedora 23
http://pkgs.fedoraproject.org/cgit/rpms/g2clib.git/tree/g2clib-simunpack.patch
2016-01-28 01:36:10 +01:00
Roland Winklmeier
dda82f75d6 [g2clib] Remove multiple definitions of templates
Patch from Fedora 23
http://pkgs.fedoraproject.org/cgit/rpms/g2clib.git/tree/g2clib-templates.patch
2016-01-28 01:36:08 +01:00
Roland Winklmeier
8ee165bc28 [g2clib] Fix up type detection and printf arguments on 64-bit machines
Patch from Fedora 23
http://pkgs.fedoraproject.org/cgit/rpms/g2clib.git/tree/g2clib-64bit.patch
2016-01-28 01:36:05 +01:00
Roland Winklmeier
22ef3e81aa [g2clib] Make C functions available in C++ modules 2016-01-28 01:36:02 +01:00
Roland Winklmeier
3fd9d1bffe Implement GFS weatherdata plugin
refs #556
2016-01-28 01:36:00 +01:00
Roland Winklmeier
a7e74ea64a Move DirectPlay log function into directplayerror.h/cpp
refs #564
2016-01-05 14:10:45 +01:00
Roland Winklmeier
41da652b96 Increase usage of safe delete and release templates
refs #564
2016-01-05 14:10:38 +01:00
Roland Winklmeier
4d6c92e6c8 Move DirectPlay templates into directplayutils.h
refs #564
2016-01-05 14:10:30 +01:00
Roland Winklmeier
ba4b4dbf95 Move conversion functions to local source files
refs #564
2016-01-04 15:54:01 +01:00
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