Commit Graph

838 Commits

Author SHA1 Message Date
Mathew Sutcliffe
ada03ee513 refs #434 CPropertyIndexVariantMap: removed operator templates and replaced CVariant comparison operators with a named method, matches(). 2015-06-01 21:35:00 +01:00
Mathew Sutcliffe
e76015004b refs #434 Removed CVariant comparison operator templates. 2015-06-01 21:34:59 +01:00
Mathew Sutcliffe
8db8fdef94 refs #437 Adjust static assert, caught one more case of CVariant containing CVariant. 2015-06-01 18:00:16 +01:00
Mathew Sutcliffe
6a2af9d387 Fixed broken include guard, detected by clang. 2015-05-31 21:00:16 +01:00
Mathew Sutcliffe
d4c5dff17a qint32 -> int replacements to make implementations consistent with headers. 2015-05-31 17:27:05 +01:00
Mathew Sutcliffe
90d7771ca3 No \file doxygen command in cpp file. 2015-05-31 17:23:23 +01:00
Mathew Sutcliffe
62418931b0 Removed Mixin::MetaTypeAndQList. 2015-05-31 17:22:24 +01:00
Mathew Sutcliffe
47cac09e81 refs #437 Removed toQVariant and convertFromQVariant. 2015-05-31 17:21:17 +01:00
Klaus Basan
e04ada3a7c refs #437, remove convertFromCVariant 2015-05-31 01:31:09 +02:00
Roland Winklmeier
b6e9d6f0d1 Static assert in CVariant::from to if value type is CVariant 2015-05-30 18:06:19 +02:00
Roland Winklmeier
e4f2c9e88a Replace occurrences of CVariant::toCVariant() with CVariant::from() 2015-05-30 16:59:51 +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
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
a62cf48e18 refs #432 Originator aware utility class 2015-05-29 00:51:45 +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
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
74dd50b787 refs #409 Remove obsolete code 2015-05-28 22:46:26 +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
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
c885c6d933 No hashing for some callsign attributes, avoid issues in maps 2015-05-22 03:08:22 +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
Klaus Basan
bad3ed3ea8 refs #415, mixin style lists 2015-05-18 20:33:34 +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
de43caf451 refs #420, refs #421 Adjusted FSX driver to emit correct status flags and unloading
* added unload function to disconnect signals / slots and simulator
* changed remote provider to return signal/slot connections to manually disconnect functor connects
* flag so pause can freeze or continue AI aircraft
* slightly changed unload behaviour in simulator context

Remark: Tested for FSX only
Solves #424 for FSX
2015-05-16 03:26:30 +02:00
Mathew Sutcliffe
eeb0d17dcb Fixed failing test by adding calls to CUser::derivedHomeBaseFromCallsign which were missing. 2015-05-13 02:50:27 +01:00
Mathew Sutcliffe
a5529516a8 Fixed Jenkins GCC protected destructor error. 2015-05-13 01:41:04 +01:00
Mathew Sutcliffe
560b36040d Fixed -Wdelete-non-virtual-dtor warnings arising out of the removal of CAvionicsBase. 2015-05-13 00:30:36 +01:00
Mathew Sutcliffe
b1c5717746 refs #403, #411 Klaus reverted part of the shared libs changes (commit:4aa5f806) during rebase, so I reverted the reversion. 2015-05-13 00:27:29 +01:00
Mathew Sutcliffe
b65232b202 MS & KB workshop: ICAO class renamings. 2015-05-12 22:47:54 +01:00
Mathew Sutcliffe
c136724cd0 MS & KB workshop: removed CAvionicsBase. 2015-05-12 22:47:52 +01:00
Klaus Basan
069f4749f4 refs #418, ICAO data for reader
* value objects and respective lists
* adjusted CAircraftIcao to use new classes
* some smaller fixes, Doxygen
* reader for values from database JSON values
  http://vatrep.vatsim-germany.org/service/allaircrafticao.php?rows=10000&sord=asc
* Related: Slightly improved signals for VATSIM reader
2015-05-12 21:03:43 +01:00
Klaus Basan
b494cb51b8 refs #395, MS'review points
Also removed blackmisc variant samples, https://dev.vatsim-germany.org/issues/395#note-9
2015-05-12 21:03:42 +01:00
Klaus Basan
a6591cfe2c refs #395, allow to disconnect SIGNAL/SLOTS from provider and gracefully shutdown airspace and analyzer 2015-05-12 21:03:40 +01:00
Klaus Basan
f18cfed087 refs #395, refs #413, refs #403 Post merge tasks
* missing exports for new classes
* public non virtual convertToQString, propertyByIndex
* removed left-over of watchdog
* virtual destructor for avionicsbase.h
2015-05-12 21:03:39 +01:00
Klaus Basan
66075ca0d0 refs #361, some own ini reader got lost in master, re-applied changes 2015-05-12 21:03:36 +01:00
Klaus Basan
1c3bb8d463 refs #395, prepared for snapshot handling
* logical / physical add/remote member functions in drivers, renamed functions
* added access to snapshot
* snapshot generation in analyzer
* snapshot handling in driver
* moved simulator base class in own files (.h/.cpp)
* added functions as required to context
2015-05-12 21:03:35 +01:00
Klaus Basan
e9f7810efc refs #395, prepared for logical / physical add/remote member functions
* renamed functions
* added access to snapshot
* moved simulator base class in own files (.h/.cpp)
2015-05-12 21:03:34 +01:00
Klaus Basan
018c5ae1bf refs #395, integrated aircraft airspace snapshot / analyzer into remote provider
* added snapshot class
* added snapshot in analyzer, signal for new snapshot
* made all provider signals available in CSimulator
* added finders in CSimulatedAircraftList
* moved COwnAircraftProviderDummy into own file
2015-05-12 21:03:32 +01:00