Commit Graph

775 Commits

Author SHA1 Message Date
Roland Winklmeier
8cbff262d1 refs #256 Update CProject and project files to reflect BlackInput 2014-06-15 19:39:28 +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
Klaus Basan
9e0909666e removed redundant CONFIG += c++11 (is already in build.pri) 2014-06-14 16:52:51 +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
Mathew Sutcliffe
45260258d6 refs #245 & #210 moved TupleConverter's parsing of the stringified macro argument into a base class, ready for further extension 2014-06-13 13:16:07 +01:00
Mathew Sutcliffe
9766b5c63a refs #245 & #210 style 2014-06-13 13:16:07 +01:00
Mathew Sutcliffe
2eb16ce9da refs #245 & #210 with proper variadic templates we can use index_sequence to simplify some of the recursion in the tuple system 2014-06-13 13:16:06 +01:00
Mathew Sutcliffe
5d38812482 refs #245 TupleConverter specialization for class templates can use a variadic parameter pack to support templates taking any number of parameters 2014-06-13 13:16:05 +01:00
Mathew Sutcliffe
b0ecaff4da refs #245 removed nested tie workarounds for tuples with >10 members 2014-06-13 13:16:05 +01:00
Mathew Sutcliffe
05fd6fbcae refs #245 removed fake variadics for tuples and predicates 2014-06-13 13:16:04 +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
Roland Winklmeier
fdb4403904 Setup SimConnect data structure and requests for user
aircraft title

refs #235
2014-06-13 00:56:58 +02:00
Roland Winklmeier
92dbefbf7a refs #229 Simplify searching for Simconnect object with std::find_if 2014-06-13 00:44:07 +02:00
Roland Winklmeier
e49650787d refs #229 Do not send updates to FSX for removed objects 2014-06-13 00:42:43 +02:00
Klaus Basan
56430c860a refs #264, QPixmap enable list model base to simplify columns with icons
* new constructor in column class
* removed overridden data method, no longer needed
* added icons for ATC station views
* QPixmap comparison for such columns (free functions)
2014-06-10 02:05:44 +02:00
Klaus Basan
9ea1fd86ef Doxygen 2014-06-10 01:54:07 +02:00
Klaus Basan
61740fab0a Changed audio settings to CVariant after merge with master 2014-06-09 17:35:37 +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
1b83197691 Renaming in flight plan 2014-06-09 14:44:28 +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
6b55b10b9b Prepared for voice capabilities 2014-06-09 14:44:21 +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
8c792a61e3 refs #219, endless recursion in parsing
* Fixes 2, https://dev.vatsim-germany.org/boards/22/topics/1792?r=1801#message-1801
* https://dev.vatsim-germany.org/issues/219#note-5
2014-06-09 14:44:17 +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
27a697c307 Some fixes:
* Cockpit, max frequency corrected to 136,975
* Text message components, tabs show cockpit frequencies
* fixed icons
* some aggresive sound for voice room joined/left, until full testing is complete
2014-06-09 14:44:12 +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