Commit Graph

2078 Commits

Author SHA1 Message Date
Roland Winklmeier
4db7e558bf refs #430 First version of a file logger 2015-05-28 22:46:35 +02:00
Roland Winklmeier
46cff6bce8 Add doxygen note to CWorker 2015-05-28 22:46:32 +02:00
Roland Winklmeier
0e52c3b4a8 Do not assert on external data 2015-05-28 22:46:29 +02:00
Roland Winklmeier
74dd50b787 refs #409 Remove obsolete code 2015-05-28 22:46:26 +02:00
Roland Winklmeier
5ccd49722a refs #409 adapt samples to use CAircraftMatcher 2015-05-28 22:46:13 +02:00
Roland Winklmeier
4147829488 refs #409 Add RW's FS9 path to directory selection 2015-05-28 21:34:10 +02:00
Roland Winklmeier
6995ad7063 refs #409 Refactor matching implementation in MSFS drivers
CAircraftMapper used to be designed around FSX only. CAircraftMatcher
instead is more generic for different MSFS versions. Therefore it is
replaced with the latter. This change also gets rid of the singleton and
its drawbacks by using the plugin storage.
Last but not least it implements the first model matching for FS9.
2015-05-28 21:34:08 +02:00
Roland Winklmeier
74b6bb9756 refs #409 Move FS specific methods into FSX and FS9 driver
The reason for this change is, that the information these methods provide
are similar for FS9 and FSX, but the content is different.
2015-05-28 21:34:06 +02:00
Roland Winklmeier
ddb02608e0 refs #409 aircraft model matcher 2015-05-28 21:34:04 +02:00
Roland Winklmeier
9e274badf1 refs #409 Rename ISimulatorModelMappings to IModelMappingsProvider
The reason is that the previous name sounded more like a value
object. But instead it does read the mappings from somwhere.
2015-05-28 21:33:56 +02:00
Roland Winklmeier
6275e06b4f refs #409 CAircraftCfgParser to parse aircraft.cfg files
Previously value class CAircraftCfgEntriesList was in charge of
parsing the cfg files. Moving it into its own class breaks up some
coupling issues.
2015-05-28 21:33:54 +02:00
Roland Winklmeier
5e4fe4d5d7 refs #409 permanent plugin storage 2015-05-28 21:33:49 +02:00
Roland Winklmeier
f27d003f61 refs #409 Read FS9 installation directory from registry 2015-05-25 20:43:00 +02:00
Roland Winklmeier
2300895176 Let vatlib take an ephemeral voice port 2015-05-25 16:09:39 +02:00
Roland Winklmeier
009a6f53be Do not use QStringLiteral for empty strings
The default constructor for QString is cheaper in terms of
both instructions and memory.
https://blog.qt.io/blog/2014/06/13/qt-weekly-13-qstringliteral/
2015-05-25 16:09:37 +02:00
Roland Winklmeier
4ed0b6a54f refs #429 Rename swiftcorectrl to swiftcore 2015-05-25 16:09:36 +02:00
Roland Winklmeier
0ee967a066 refs #429 Remove console version of swiftcore 2015-05-25 16:09:34 +02:00
Roland Winklmeier
141d256306 Fix CContextNetworkProxy::parseCommandLine calling wrong DBus method 2015-05-25 16:06:46 +02:00
Roland Winklmeier
ee0bfd62fa refs #428 Use COriginator instead of QString in internal API 2015-05-25 16:06:44 +02:00
Roland Winklmeier
136587f564 refs #428 Add additional COriginator constructors and methods
One constructor will accept a QString argument directly and use
it as the originator name. The other one accepting the a pointer
to QObject will use QObject's objectName.
2015-05-25 16:06:43 +02:00
Roland Winklmeier
a7d27c7234 refs #428 Move COriginator from Event into BlackMisc namespace 2015-05-23 18:51:14 +02:00
Klaus Basan
2d20f5bf9c refs #420, MS review
Fixes as described here https://dev.vatsim-germany.org/issues/420#note-5
2015-05-22 03:08:29 +02:00
Klaus Basan
549125ce03 GUI tweaks
* Settings for max aircraft / max distance with editing finished
* tab order in serverform
* öeft align LEDs in statusbar
2015-05-22 03:08:25 +02:00
Klaus Basan
c885c6d933 No hashing for some callsign attributes, avoid issues in maps 2015-05-22 03:08:22 +02:00
Klaus Basan
6bb3e7f753 Removed outdated sender check, adjusted time 2015-05-22 03:08:19 +02:00
Klaus Basan
880a954db9 refs #395, improvements for snapshot / restricted aircraft handling
* fixed isCurrentThreadCreatingThread and renamed to isCurrentThreadObjectThread (this check was never working), added 2 more thread checks
* changed remove aircraft function to return number of returned aircraft (like with the containers this allows to avoid unnecessary signals)
* removed unused function ps_recalculateRenderedAircraft() / SimulatorCommon
* using Queued airspaceAircraftSnapshot signal for binding (functor connect does not provide connection type)
* extened ASSERTs to check threads
* simulator: initial situation function with return value (success?)
* simulator: avoid unneccessary copy and provide correct rendered flag in add aircraft function
2015-05-22 03:08:16 +02:00
Roland Winklmeier
beef0a5ec9 refs #412 launch swiftcorectrl instead of swiftcore 2015-05-21 01:37:46 +02:00
Roland Winklmeier
b03448c89b refs #412 swiftcorectrl 2015-05-21 01:37:45 +02:00
Roland Winklmeier
aa51bd40dc refs #412 System Tray Window base class
It inherits from QMainWindow automatically acts as SystemTrayWindow.
If minimized it will not quit, but minimize to tray only.
2015-05-21 01:37:43 +02:00
Roland Winklmeier
f2a280a387 refs #412 Make InfoStatusBar horizontal extendable 2015-05-21 01:37:42 +02:00
Roland Winklmeier
37242a69a3 refs #412 command input widget 2015-05-21 01:37:40 +02:00
Roland Winklmeier
7bc7b72c68 Dont assert on external data 2015-05-21 01:37:39 +02:00
Roland Winklmeier
281b6f0b69 Fix clean shutdown of FS9 2015-05-21 01:37:37 +02:00
Roland Winklmeier
c8a035f49a Replace callsign type QString with CCallsign 2015-05-21 01:37:36 +02:00
Roland Winklmeier
0d21f70d3b cleanup stalled DirectPlay peers 2015-05-21 01:37:35 +02:00
Roland Winklmeier
3b8a4d5613 refs #404 Try to connect only if FS9 is registered as lobbied application 2015-05-21 00:43:22 +02:00
Klaus Basan
bad3ed3ea8 refs #415, mixin style lists 2015-05-18 20:33:34 +02:00
Klaus Basan
6d5c3d85a1 refs #420, refs #421, finetuning of FSX shutdown and crash detection 2015-05-18 12:56:08 +02:00
Klaus Basan
a0c0da52c0 Fixed samples:
* use QGuiApplication in main so GUI metadata are available
* parent for thread sample, otherwise ASSERT
Remark: some issue are Qt 5.4 update related
2015-05-18 02:28:26 +02:00
Klaus Basan
1330bb8513 refs #420, refs #421 improved view update for simualted aircraft
* added update timer for simulated aircraft
* in same step streamlined handling of CUpdateTimer
2015-05-18 01:57:35 +02:00
Klaus Basan
25c0cea575 refs #417, made the isConnected, isRunning, isPaused functions protected.
They should be only used with the drivers.
2015-05-17 23:56:29 +02:00
Klaus Basan
e53395412a refs #420, refs #417, removes canConnect as it is not consumed, just generated. 2015-05-17 20:29:34 +02:00
Klaus Basan
0ea07e28e0 refs #420, refs #417, allow to return combined simulator status, removed unneeded functions
This should be further improved with #417
2015-05-17 20:29:14 +02:00
Klaus Basan
2d506a4962 refs #426 unmarshalling fix 2015-05-17 20:29:10 +02:00
Klaus Basan
104122023c Aircraft ICAO data should use ICAO code as attribute, this somehow got lost in the merge session, re-applied 2015-05-17 20:29:06 +02:00
Klaus Basan
257430bbbe Fixed missing metadata registrations 2015-05-16 18:35:27 +02:00
Klaus Basan
779a2987dc Reverted volume to int, this somehow got lost in the merge session 2015-05-16 18:35:24 +02:00
Klaus Basan
d78f38b672 More tests for DBus (samples DBus) 2015-05-16 18:34:50 +02:00
Klaus Basan
c380b8df23 Fixes / improvements found during testing
* Redundant "simulatorStatusChanged" signal in proxy
* invokeMethod for timer
* removed redundant this->buildNavigator(1)
* Shortcut in GUI
* comment in variant
2015-05-16 03:26:37 +02:00
Klaus Basan
405de80945 refs #420, simulator status now displayed in GUI (user can see if sim is stopped / paused) 2015-05-16 03:26:34 +02:00