Commit Graph

378 Commits

Author SHA1 Message Date
Mathew Sutcliffe
e7c14e2c1c moved enum metadata registration out of static methods of QObject-derived classes, which fixes #280 (GCC linker errors) 2014-06-23 01:19:42 +02:00
Klaus Basan
97b8ee8c32 refs #277, slow auio init
* fixed QHostInfo::localHostName()
* move to BlackMisc, as it can be used elsewhere
* temp. change, moved methods in body until refs #278, #277 is fixed/ resolved
2014-06-23 01:19:38 +02:00
Klaus Basan
2ecef24c91 Register ENUMs in ISimulator like it is done in IVoice 2014-06-23 01:19:37 +02:00
Klaus Basan
ca8cbc4a0a refs #274, pending connection state detection and disallowing further connection states while pending 2014-06-23 01:19:31 +02:00
Klaus Basan
427dd83a6a Doxygen, formatting, tweaks 2014-06-23 01:19:30 +02:00
Klaus Basan
a867a490e6 Improved details on the readers, regarding timestamp 2014-06-23 01:19:29 +02:00
Klaus Basan
568fc46003 Fix after merge with latest master, renamed method 2014-06-23 01:19:25 +02:00
Mathew Sutcliffe
072667b3b4 fixes #269 added parameter to CDBusServer constructor to choose a different service name,
allows two servers running on the same bus, needed when running xbus and sample_blackcore
2014-06-17 21:20:15 +01:00
Roland Winklmeier
2e485a324c Move settings loading into factory method, since read should not be called
by DBus proxy.
2014-06-15 20:24:40 +02:00
Roland Winklmeier
a131e8c91c Move IKeyboard and subclasses to new library BlackInput
refs #256
2014-06-15 19:22:59 +02:00
Roland Winklmeier
14e9e01b90 Fix reading settings with factory created object.
Before we had factory methods, the allocated CContextSettings object
was reused. The temporary one can be deleted.
2014-06-15 19:02:46 +02:00
Mathew Sutcliffe
9d087dba44 refs #246 fixed a GCC warning 2014-06-14 21:56:44 +01:00
Mathew Sutcliffe
9b27b93de0 refs #246 refactored construction of all remaining contexts into factory methods 2014-06-14 16:52:52 +01:00
Mathew Sutcliffe
a6cd44be8d refs #246 added ISimulator::aircraftModelChanged signal which can be sent via the contexts to CAirspaceMonitor, which needs the model when sending FSIPI(R) custom packets 2014-06-14 16:52:50 +01:00
Mathew Sutcliffe
2e23f2fd8d refs #246 refactored FSIPI(R) custom packet encode/decode into INetwork 2014-06-14 16:52:50 +01:00
Mathew Sutcliffe
46e28a64dd refs #246 now context_network_atc.cpp is so short that it should be merged into context_network_impl.cpp 2014-06-14 16:52:49 +01:00
Mathew Sutcliffe
d2bb36a322 refs #246 moved network context logic concerned with monitoring other airspace entities (aircraft, ATC) into a support class to which the context can delegate,
following the separation of concerns principle and making class invariants easier to identify and verify
2014-06-14 16:52:48 +01:00
Mathew Sutcliffe
837964fe20 refs #246 fixed mistake 2014-06-14 16:52:48 +01:00
Mathew Sutcliffe
8dccc8d792 refs #246 renamed host to server to avoid ambiguity 2014-06-14 16:52:47 +01:00
Mathew Sutcliffe
ab72dce8b5 refs #246 removed unused private methods 2014-06-14 16:52:47 +01:00
Mathew Sutcliffe
cdca7343e4 refs #246 refactored construction of the network context into a factory method 2014-06-14 16:52:46 +01:00
Mathew Sutcliffe
695eb5c41c refs #246 reordered CContextNetwork constructor to keep related things close together 2014-06-14 16:52:45 +01:00
Mathew Sutcliffe
ac80bce171 refs #246 added comments to highlight issues of dependencies and large number of scenarios 2014-06-14 16:52:45 +01:00
Mathew Sutcliffe
81c6805822 refs #246 refactored isSlotLogForNetworkEnabled conditionals into CRuntime 2014-06-14 16:52:44 +01:00
Mathew Sutcliffe
26c270c9a6 refs #246 passing c++11 brace-initialized QStringList to CRuntime::logSlot 2014-06-14 16:52:44 +01:00
Mathew Sutcliffe
cdd0ae6324 refs #246 refactor setting of timer intervals 2014-06-14 16:52:43 +01:00
Mathew Sutcliffe
6ee14128bd refs #246 style: using c++11 brace initialization of QStringList 2014-06-14 16:52:42 +01:00
Mathew Sutcliffe
415e0d6542 refs #246 refactor validation flow in CContextNetwork::connectToNetwork 2014-06-14 16:52:42 +01:00
Mathew Sutcliffe
c479b7f6e3 refs #246 style: remove "query" where it makes no sense 2014-06-14 16:52:41 +01:00
Mathew Sutcliffe
ef1c5d0d77 refs #246 style: rename package to packet 2014-06-14 16:52:41 +01:00
Klaus Basan
c8bf23bf86 Small fixes in init voice context, found during "merge testing" 2014-06-13 13:51:06 +02:00
Roland Winklmeier
01f6b9c156 Add method in ISimulator to get aircraft model
Route AircraftModel requests from Context Simulator to ISimulator

refs #235
2014-06-13 01:01:16 +02:00
Klaus Basan
2325881c91 Finetuning
* Improved reloading of booked stations
* Improved error reporting in data file reader
* Finetuning of network context, mostly reg. VATSIM data file
2014-06-09 14:44:29 +02:00
Klaus Basan
3ae93190ae Round trip protection as described in (4)
https://dev.vatsim-germany.org/boards/22/topics/1792?r=1801#message-1801

* Individual context id
* Allows to connect >1 GUIs with core, works for cockpit so far
2014-06-09 14:44:26 +02:00
Klaus Basan
251fe70dc9 Minor Tweaks
* renamed methods in aircraft class, new helper method
* renamed method in aircraft list
* renamed method in datafile reader
2014-06-09 14:44:25 +02:00
Klaus Basan
63b0fac72f Some bugfixes
* Missing registration
* wrong frequency in text messages, also some minor tweaks in text message
2014-06-09 14:44:23 +02:00
Klaus Basan
dac556c6e9 refs #262, fix update of aircraft position
Described here (3): https://dev.vatsim-germany.org/boards/22/topics/1792?r=1801#message-1801

* Also renamed: setOwnAircraftAvionics -> setOwnCockpit to be consistent
* Removed outdated methods
2014-06-09 14:44:19 +02:00
Klaus Basan
0a7be12efa Fixes around audio "on remote computer"
* Better options to debug
* Fixes as of n2, https://dev.vatsim-germany.org/boards/22/topics/1792?r=1802#message-1802
* Doxygen
2014-06-09 14:44:14 +02:00
Klaus Basan
c3f7a7c179 Some fixes found during testing with remote black core (different computer)
* Allow anonymous access for P2P
* Fixed sound settings flags, if empty string is saved in settings
* Fixed metadata registration
2014-06-09 14:44:13 +02:00
Klaus Basan
cafc3f37f6 refs #259, parsing VATSIM files in background 2014-06-09 14:44:11 +02:00
Klaus Basan
76c2f0a5c4 refs #257, hooking up simulator and application/network context to display
* text messages
* status messages
2014-06-09 14:44:08 +02:00
Klaus Basan
db08e409e0 refs #220, fixed issue with voice room resolution (not required for changed position / situation), some refactoring 2014-06-09 14:44:06 +02:00
Klaus Basan
137bded355 refs #220, refs #219 required changes in network context
* load flight plan method
* removed public getOwnAircraft method refs #242 -> own aircraft context
* Improved handling of selected stations
* Some debug info for #refs 255, will be removed when solved
2014-06-09 14:44:05 +02:00
Klaus Basan
2b2f1af4e6 refs #220, refs #251 fixes in voice vatlib
* fixed Disconnected status
* room connected checking low-level, not on objects (fail safe)
* Remark: Still containing debug information for refs #255 , will be removed
2014-06-09 14:44:01 +02:00
Klaus Basan
6344923725 refs #220, improved voice room handling by providing join/left flag and connection handling 2014-06-09 14:43:59 +02:00
Klaus Basan
58e97b6958 refs #242, refs #257 changes for extended simulator methods and renaming one method 2014-06-09 14:43:58 +02:00
Klaus Basan
226edda23b refs #219, load flight plan
* fixed issue with parsing, only default locale is used. Now user's local possible
* allow to load FP for other callsigns as well (voice capabilities)
* Improved handling of CTime, inclusive bug fixes and time formatting
* Max. lengths for FP fields as const value (so we can change it if required)
* Load FP from GUI component
* Samples for PQ classes
* Adjusted depending classes (e.g. client)
2014-06-09 14:43:57 +02:00
Klaus Basan
e823f87bab refs #258, notification sound for voice rooms in context 2014-06-09 14:43:54 +02:00
Klaus Basan
21b88b373e refs #258, settings for voice room notifications 2014-06-09 14:43:50 +02:00
Klaus Basan
035575870b refs #242, allows to change FSX cockpit from context
* Data definitions for FSX events
* BCD conversion for COM and transponder
* Update Cockpit method in context
* Renamed setOwnAircraft -> updateOwnAircraftFromSim
2014-06-09 14:43:35 +02:00