Commit Graph

1982 Commits

Author SHA1 Message Date
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
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
2cff441ff7 refs #395 Fixed MinGW errors from commit:e9f7810e. 2015-05-13 01:31:54 +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
Michał Garapich
8c46a3f6d4 refs #422 Take care of failed ISimulator::connectTo() 2015-05-12 23:13:47 +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
6119c22c78 some fixes noticed during today's discussion around refs #302
* move hotkey settings in own GUI component -> easier adjustments
* some fixes for dock widgets when tab widget is shown without names (unrelated but found + fixed in same step)
2015-05-12 21:03:41 +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
e7f65ba0b6 refs #395, GUI for simulator settings
* improved formatting of aircraft views
* extended settings for render restrictions (such as max. aircraft, max range ...)
* connected new signal / slots in runtime
* Doxygen / formatting
2015-05-12 21:03:38 +01:00
Klaus Basan
bbd5ad2cbc refs #395, removed worker from interpolator
It was planned to do all interpolation calculations at once in background,
this concept is not used anymore
2015-05-12 21:03:37 +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
91f0b99cc5 Fixes some issues with navigator widget to avoid Qt size warnings.
Remarks: Some but not all warnings are gone
2015-05-12 21:03:33 +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
Klaus Basan
6570a0c966 Minor tweaks:
* Altitude formatter for GUI
* borders for CDockWidget
* homebase for ATC
2015-05-12 21:03:31 +01:00
Klaus Basan
3c15f2ad89 refs #395, refs #411 fixes found in course of DBus testing
* set infobar status correctly when GUI connects after the core has been started
* more detailed information in information statusbar
* allow to obtain currently connected server in network context
* made many network vatlib slots normal member functions
* fixed rendered aircraft flag setting in FSX driver
2015-05-12 21:03:30 +01:00
Klaus Basan
1d89862080 refs #411, PQ DBus signature 2015-05-12 21:03:29 +01:00
Klaus Basan
4aa5f8069e refs #411, some more DBus tests and some minor adjustments found in course of action 2015-05-12 21:03:25 +01:00
Klaus Basan
1b9878fdd3 refs #395, some functions renamed in network provider/context
Goal: consistent function names in own and remote aircraft provider
2015-05-12 20:46:50 +01:00
Klaus Basan
05be0ecb37 Formatting application context 2015-05-12 20:46:49 +01:00
Klaus Basan
3ecf37dda4 refs #395, changed own aircraft provider to thread safe member functions
(similar to remote aircraft provider)
* removed references
* made own aircraft context thread safe (reg. own aircrat data)
* removed the read only versions of the provider
* adjusted consuming methods
* renamed some functions ("ownAircraft...") to avoid ambiguity (with remote aircraft)
2015-05-12 20:46:48 +01:00
Klaus Basan
7200f2e29c GUI formatting 2015-05-12 20:46:47 +01:00
Klaus Basan
085edc82cb refs #395, post merge and rebase adjustments plus further testing fixes:
* adjusted iterim position updates
* removed deadlocks (thread safe values in airspace monitor)
* resolved some merge issues
* some smaller fixes in airspace monitor (style, finders)
2015-05-12 20:46:46 +01:00
Klaus Basan
6debd33b4f refs #395, turned remote aircraft provider interface into thread safe interfaces
* references gone, situations, parts, aircraft now as threadsafe copy
* read only interface gone (no longer references, so no longer needed)
2015-05-12 20:46:45 +01:00
Klaus Basan
24094eaf61 refs #395, airspace analyzer
* using providers for analyzer
2015-05-12 20:46:44 +01:00
Klaus Basan
79e2a7b805 refs #395, improved synchronization of booked and online stations
* moved sync functionality into CAtcStation
* consolidated function names
2015-05-12 20:46:43 +01:00
Klaus Basan
f7158f17f9 Renamed aircrafts -> aircraft 2015-05-12 20:46:42 +01:00
Klaus Basan
3300b1ad9b refs #395, added isInRange to ATC stations
* use null as default values for some members to detect those are not yet set
* used simplified bool formatter for views
2015-05-12 20:46:41 +01:00
Klaus Basan
a3b147d59a Doxygen 2015-05-12 20:46:40 +01:00
Klaus Basan
98812d3733 refs #395, shifted airspace watchdog into analyzer
* analyzer will run in background and perform several airspace calculations
* watchdog now acts directly on network signals, no need to add/remove callsigns
2015-05-12 20:46:39 +01:00
Klaus Basan
48188dd28d refs #395, moved thread safe aircraft parts / situations (from interpolator) to airspace
* access via provider, access now possible also beyond the scope of interpolator
* will be used in (to be written airpace analyzer)
* renamed some member functions as required
* fixed some asserts / Doxygen comments
* adjusted unit tests
* added vtolAircraft flag for interpolator, not fully used everywhere

remarks: update signals for parts / situation still only needed in XP driver
2015-05-12 20:46:38 +01:00
Klaus Basan
32e65669a3 GUI improvements: naming and better user experience during shutdown 2015-05-12 20:46:37 +01:00
Klaus Basan
7b1beaf02d Introduced hint for callsign to specify callsign type (aircraft? ATC?) by context.
Background: Pilots can login in with virtually any callsign like XXX_OBS, resulting in wrong interpretations (as OBS here is no ATC station).
2015-05-12 20:46:36 +01:00
Klaus Basan
acec379151 refs #395, renamed to updateFastPositionEnabled (consistency with other member functions) 2015-05-12 20:46:35 +01:00
Mathew Sutcliffe
ecc4c787a1 refs #413 Fixed parameter type mismatch between signal of XBus::CService and CXBusServiceProxy.
This fixes a regression introduced because QList and CSequence now have different dbus signatures.
2015-05-12 20:46:34 +01:00
Mathew Sutcliffe
f7eecdafe0 refs #413, #416 Workaround GCC 4.7 bug.
(cherry picked from commit 5b1a25489a545bddd66978a6b9a819742c5925d2)
2015-05-12 20:46:33 +01:00
Mathew Sutcliffe
b6f8654312 refs #413 Doxygen fixes.
(cherry picked from commit da107e6c5a90744c02bb61bc6be6ec026081b409)
2015-05-12 20:46:32 +01:00
Mathew Sutcliffe
27ce1eb914 Added toJson/convertFromJson support for CVariant containing QDateTime, QDate, QTime.
(cherry picked from commit af7f032daf4e5031a881bfb5025734d38817ed97)
2015-05-12 20:46:31 +01:00
Mathew Sutcliffe
f631f51210 refs #413, #416 Using Mixin::Index in more classes so that index "myself" yields correct derived type.
(cherry picked from commit 2b7f7eb6b692a3464863ece86b30ea0b7efc2a1d)
2015-05-12 20:46:30 +01:00