Klaus Basan
2a9f3d6039
Tweaks
...
* check if parent is null
* comments
* icon in column
* nullptr check in runtime based component
2014-06-28 18:02:14 +02:00
Klaus Basan
4694c23f87
refs #273 , added support for loading plugin from settings
2014-06-28 18:02:10 +02:00
Klaus Basan
42db1fe9ae
refs #273 , added settings for simulator
...
* added class
* adjusted settings context
* adjusted "global" methods as register metadata
* improved settings utility
* renamed "settingsallclasses" as settings can also be in other namespaces, settingsallclasses now in core
2014-06-28 18:01:55 +02:00
Klaus Basan
abd2d6d86d
Some fixes / tweaks / Doxygen:
...
* helper method to detect disconnected state
* clear ATC info if disconnected or not available
* unit test for "finders"
* added Doxygen file
* formatting frequency in text message tabs
2014-06-28 18:01:54 +02:00
Mathew Sutcliffe
e2c37b2f16
fixed foolish mistake
2014-06-26 23:30:04 +01:00
Mathew Sutcliffe
997eb17f96
paranoid check in case of recurrence of race described in refs #270
2014-06-25 23:18:11 +01:00
Mathew Sutcliffe
fede3fc4c7
refs #270 don't call CRuntime::gracefulShutdown from a different thread;
...
connect it to the QCoreApplication::aboutToQuit signal instead
2014-06-25 23:18:10 +01:00
Klaus Basan
42d8c53290
Minor tweaks,
...
* formatting
* Startup screen tool window removed (as requested by RW)
2014-06-23 01:26:29 +02:00
Klaus Basan
5da3f55886
refs #277 , removed QAudioOutput as discussed
...
(was used to work around a bug with muted sound)
2014-06-23 01:19:47 +02:00
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