Commit Graph

2051 Commits

Author SHA1 Message Date
Roland Winklmeier
e4f2c9e88a Replace occurrences of CVariant::toCVariant() with CVariant::from() 2015-05-30 16:59:51 +02:00
Michał Garapich
28d2561a48 Fix duplicate line 2015-05-30 10:41:42 +02:00
Michal Garapich
b9b2b5770a refs #417 Add support for FSX and FS9 2015-05-30 08:22:55 +02:00
Michał Garapich
23761fad13 refs #417 Remove ISimulator::asyncConnectTo() for x-plane 2015-05-29 22:03:06 +02:00
Michał Garapich
e3bb701d7b refs #417 Rename ISimulator::SimulatorStatus to SimulatorStatusFlag 2015-05-29 22:01:45 +02:00
Michał Garapich
49a9b91258 refs #423 Detect already running xbus 2015-05-29 23:34:43 +02:00
Klaus Basan
76993ab394 Fixed some signature const / & issues causing malfunctions with DBus 2015-05-29 16:53:46 +02:00
Klaus Basan
ff87b3e9ae Application icon
http://doc.qt.io/qt-4.8/appicon.html
2015-05-29 16:53:43 +02:00
Klaus Basan
94eb33d228 refs #431, infinite recursion in driver unload
* Trivial changes to avoid changedStatus signal when nothing changed
* Do not reload plugin when already loaded
2015-05-29 16:53:39 +02:00
Klaus Basan
eb8b6e6f1f refs #432, unit test for originator, in same step cleaned unit test code a bit (headers, ...) 2015-05-29 16:53:35 +02:00
Klaus Basan
d8d0eca3d8 refs #395, improved snapshot handling
* disabled sets distance and max.aircraft to 0
* fixed changed snapshot detection
* added rendering enabled to signal, only one function to decide (instead of duplicated logic)
2015-05-29 16:53:31 +02:00
Klaus Basan
718b10d9f6 refs #434, fixes issue described 2015-05-29 03:49:20 +02:00
Klaus Basan
6c06ff5d46 refs #432, adjusted originators 2015-05-29 03:49:16 +02:00
Klaus Basan
a62cf48e18 refs #432 Originator aware utility class 2015-05-29 00:51:45 +02:00
Klaus Basan
a21a42c167 refs #432, adjusted GUI
* register / unregister with application contexts
* adjusted originator
2015-05-29 00:51:42 +02:00
Klaus Basan
c25f8b6429 refs #432, added new components to core GUI 2015-05-29 00:51:33 +02:00
Klaus Basan
a66cd14031 refs #432, register and unregister functions in GUI
* removed old ping functions
* removed old notify functions, replace by new ones
2015-05-29 00:51:29 +02:00
Klaus Basan
d9440ad4a6 refs #432, components for core GUI
* register: show applications connected with core
* info area, allow to add new areas in core GUI
2015-05-28 23:57:32 +02:00
Klaus Basan
a89c4a9775 #refs 432 using forward declaration to reduce includes in header
Remark: some related includes had to be updated
2015-05-28 23:57:28 +02:00
Klaus Basan
6e2830c130 refs #432, originator list model + view 2015-05-28 23:57:24 +02:00
Klaus Basan
e695987fa2 refs #432 Doxygen, formatting, added new file types in *.pro
Minor tweaks:
* GUI infobar minimum size
* toogle lock protected
* removed unused function
* ASSERT_X
* object name
2015-05-28 23:57:14 +02:00
Klaus Basan
73164b2ffc refs #428, refs #432 some changes to COriginator / containers
* originator, machine name, timestamp based, connect with QObject's &QObject::objectNameChanged
* list
2015-05-28 23:57:05 +02:00
Roland Winklmeier
c02ee1dbed refs #430 Add file logger to swiftgui and swiftcore 2015-05-28 22:46:37 +02:00
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