Klaus Basan
f7b50b3f5a
refs #366 , passing Simulator plugin info to drivers
...
Add. some finetuning
2015-04-11 02:09:23 +02:00
Klaus Basan
1f5eb16bb1
refs #400 , 2nd stage for Qt 541
...
* GUI finetuning after folder split and migration to Qt 5.4.1
* Doxygen fixes
2015-04-11 02:09:19 +02:00
Klaus Basan
aafee8eafd
refs #402 , post merge feedback by MS
2015-04-11 02:09:10 +02:00
Klaus Basan
e7c8c28252
refs #312 navigation bars, contributes also to #347
...
* allow to set/unset frameless mode in CDockWidget
* adjusted context menus
* adjusted style sheets
* ini settings for margins
* hidden info area to host floating widgets only visible when floating (allows to CDockInfoArea widgets)
* made some private slots non-virtual
2015-04-08 23:04:43 +02:00
Klaus Basan
425e034b19
refs #312 , preparation for small navigation bars
2015-04-08 23:04:39 +02:00
Klaus Basan
6634260970
refs #398 , removed fix after RW has fixed it in vatlib
2015-04-08 23:04:36 +02:00
Klaus Basan
96434928fe
refs #400 , GUI after Qt 5.4.1 migration
...
* ini file to complement style sheets (values changed in code)
* aircrafts -> aircraft
* some .h code to .cpp
2015-04-08 23:04:33 +02:00
Klaus Basan
313c5f5638
refs #361 , own reader to fix unbalanced " issue
...
* some functions renamed
* move some code from .h to .cpp
* adjusted samples
2015-04-08 23:03:26 +02:00
Michał Garapich
985a1caecf
refs #396 BlackMisc: nw* goes to network/, hw* goes to hardware/
2015-04-07 19:22:37 +02:00
Mathew Sutcliffe
2363fab8c1
refs #396 move Blackmisc PQ classes into subfolder
2015-04-07 19:22:30 +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
Klaus Basan
32f60722c8
refs #396 , move subproject BlackSim into BlackMisc::Simulation
...
* removed unused samples / tests
* fixed found Doxygen issues
* removed blacksimfreefunctions, now in BlackMisc::Simulation::registerMetadata()
* samples_vetcor_geo to samples_geo
2015-04-07 19:22:16 +02:00
Roland Winklmeier
a6ca57265e
refs #396 move Blackmisc Math classes into subfolder
2015-04-07 18:24:22 +02:00
Roland Winklmeier
608091912c
refs #396 remove obsolete coordinate classes
...
* CCoordinateEcef
* CCoordinateNed
* CCoordinateTransformation
2015-04-07 18:20:27 +02:00
Roland Winklmeier
b3daaa7ae2
refs #396 remove obsolete Matrix and Vector classes
2015-04-07 18:20:24 +02:00
Roland Winklmeier
78d3350bf3
refs #396 move Blackmisc Aviation classes into subfolder
2015-04-07 18:20:20 +02:00
Roland Winklmeier
4d09279c65
Use full qualified class name for ConnectionStatus.
...
Qt gets confused by the different ConnectionStatus enums we are using
and complains it cannot queue the argument. It only works when the
fully qualified class name is used.
2015-04-07 17:13:53 +02:00
Mathew Sutcliffe
67c0ef8343
Workaround MSVC linker error when building for 64bits
2015-04-06 15:16:34 +01:00
Mathew Sutcliffe
3dfcbb10e9
Fix MSVC error when building for 64bits
2015-04-05 23:11:11 +01:00
Roland Winklmeier
ee195e3e20
Handle cases when no simulator is available properly in simulator context
...
In the past core was always loading one simulator plugin by default.
This has changed recently with the listeners. So m_simulator is not
guaranteed to be valid.
A proper fix in the future is to not even call them. At the moment they
are hard wired to network.
2015-04-03 13:30: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
Roland Winklmeier
f71e0a89fb
Make CContainerBase::compare public
...
This workarounds a cppcheck warning. The method was not unused,
but cppcheck was complaining.
2015-04-03 11:39:54 +02:00
Michał Garapich
4d4acb20bc
refs #366 cleanup
...
* Removed obsolete signal from IContextSimulator
* Removed connectToSimulator() method from IContextSimulator as it is no
longer relevant
* CSimulatorComponent updates automatically when simulator disconnects
* FS9 & FSX drivers update (including FSCommon)
2015-04-01 01:21:28 +02:00
Michał Garapich
63e48ae332
Remove ISimulator::getSimulatorInfo()
...
To provide maximum flexibility, the simulator info is specified by each
plugin in the JSON metadata file.
* Renamed SCimulatorInfo to CSimulatorPluginInfo
* Removed pre-defined simulator infos (UnspecifiedSim, FSX, etc)
* CContextSimulator keeps track of which plugin is loaded and its info
* QSignalMapper keeps track of which listener emitted the simulatorStared() signal
* CSimulatorPluginInfo contains name, simulator name and description
* TODO: GUI part
* TODO: CTestFsCommon
2015-04-01 01:20:25 +02:00
Michał Garapich
3897fb2d1a
FS9 plugin cleanup
...
* Make host & lobby client plugin-global
* Post-rebase cleanups (FSX too)
2015-04-01 00:07:28 +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
Michał Garapich
ad8f84e344
X-Plane plugin cleanup
...
* Remove XBUS_SERVICE_SERVICENAME macro in favour of inline function with QStringLiteral
* Assert calls that require connection when not connected
2015-04-01 00:05:18 +02:00
Michał Garapich
924e094a38
Listen for simulators on another thread
2015-04-01 00:05:15 +02:00
Michał Garapich
570f4aa4ea
Make FS9 works with ISimulatorListener
...
* The FS9 host is started in the Listener
* When FS9 starts up, it is called via the lobby to join the multiplayer
* Some minor changes in CContextSimulator
2015-04-01 00:05:12 +02:00
Michał Garapich
edc0646ab2
Make FSX works with ISimulatorListener.
...
SimConnect tries to connect to FSX every 5 seconds.
TODO: Use WinAPI to wait for FSX process to show up
2015-04-01 00:01:35 +02:00
Michał Garapich
5b4c2377b6
Initial "Auto" option
...
* Added ContextSimulator::listenForAllSimulators()
* Added "auto" option in SettingsSimulatorComponent
* Default plugin is UnspecifiedSim, which stands for "auto" option
2015-04-01 00:00:36 +02:00
Michał Garapich
a0033bee02
Lazy-load drivers when necessary
...
* Use JSON to get driver/simulator information
* Load driver plugin only when ISimulatorFactory is needed
2015-03-31 23:56:40 +02:00
Michał Garapich
afc22397bb
JSON plugin metadata initial
...
* Added json files along with FILE macro for all drivers
* Get CSimulatorInfo from JSON rather than from ISimulatorFactory
2015-03-31 23:56:35 +02:00
Michał Garapich
c5a1a6048b
Refactor Simulator connection status
...
* Removed obsolete and unused signals (ISimulator, CSimulatorContext)
* Removed ISimulator::ConnectionStatus enum
2015-03-31 23:56:32 +02:00
Michał Garapich
9d37a0876d
Style
2015-03-31 23:52:32 +02:00
Michał Garapich
45f48f7594
Listen for X-Plane to start
2015-03-31 23:52:30 +02:00
Michał Garapich
adc623f0e7
Add ISimulatorListener interface
2015-03-31 23:52:29 +02:00
Klaus Basan
95829affe4
build file prepared for non-incremental builds and elevated warnings
2015-03-29 20:15:29 +02:00
Klaus Basan
28132d8e40
Fixed warnings from compiler and Jenkins build
2015-03-29 20:15:25 +02:00
Klaus Basan
f95504a2c8
refs #398 , asserts for frequency
...
the line
if (frequencyKHz < 100000) { frequencyKHz += 100000; }
might be removed after the fix
2015-03-29 20:15:21 +02:00
Klaus Basan
8163ad2762
refs #397 , remove unused class
2015-03-29 20:15:17 +02:00
Klaus Basan
48655bf551
refs #395 , signatures for max.aircraft and max.range
...
(!) This in an intermediate step, the feature is not yet fully operational
* max distance for rendering as simulator property
* set max distance / aircraft from GUI
As result of the latest meeting
* changed CCallsignList to CCollection
* fixed some warning with elevated compiler settings (e.g. removed qint values -> int)
2015-03-29 20:15:13 +02:00
Klaus Basan
53afe798d4
Fixed warnings as mentioned in
...
https://dev.vatsim-germany.org/boards/22/topics/2587?r=2598#message-2598
and found by
+win32-msvc*:QMAKE_CXXFLAGS_WARN_ON *= /Wall /W3 /wd4640 /wd4619 /wd4350 /wd4351
2015-03-29 20:15:09 +02:00
Klaus Basan
70670b74c6
refs #393 , allow to highlight a certain aircraft by blinking
...
* signatures in contexts
* some specialized functions in aircraft list
* context menus in aircraft view
* default "blinking" implementation in driver common base class
2015-03-29 20:15:05 +02:00
Klaus Basan
66da4d7353
refs #394 , LED to display when mapper is ready
...
* function in context for models count
* adjusted status bar component
* in same step: menu to toggle "window on top"
2015-03-29 20:15:01 +02:00
Roland Winklmeier
3c077ef579
Workaround gcc 4.7 error
2015-03-29 16:33:11 +02:00
Mathew Sutcliffe
9977d97a67
refs #356 Renamed CValueObjectStdTuple to CValueObject.
2015-03-27 23:03:25 +00:00
Mathew Sutcliffe
73f135fa5b
refs #356 Streaming ops for QJsonObject: value in pair should be a reference, to avoid unnecessary copying and object slicing.
2015-03-27 19:08:54 +00:00
Mathew Sutcliffe
a5e6b31c0f
refs #356 Update remaining CValueObject derived classes to use CValueObjectStdTuple instead.
2015-03-27 19:08:53 +00:00
Mathew Sutcliffe
2a3e0acf23
refs #356 Update base class name in derived class method implementations.
2015-03-27 19:08:52 +00:00