Commit Graph

2587 Commits

Author SHA1 Message Date
Roland Winklmeier
68e9cc2c3e Move IVoice enum registration into static method
refs #183
2014-05-04 00:50:08 +02:00
Klaus Basan
17e876876d refs #183, MS review https://dev.vatsim-germany.org/issues/183#note-7 2014-04-30 01:03:17 +02:00
Klaus Basan
c1acc1fa69 refs #187, asyncConnectTo method to avoid freeze when starting GUI/Core
* as discussed in https://dev.vatsim-germany.org/issues/187#change-1183
* using no longer connectTo() but asyncConnectTo() in constructor of simulator context
* changed Interface doxygen comments to copydoc
2014-04-29 14:04:59 +02:00
Roland Winklmeier
526149f94d Move VoiceVatlib into its own thread in ContextAudio
refs #183
2014-04-29 01:54:13 +02:00
Roland Winklmeier
3fe5ece460 Make Voice::ConnectionStatus a metatype
This is needed in order to use it as argument in a thread queue

refs #183
2014-04-29 01:54:11 +02:00
Roland Winklmeier
ccef9f4be2 Change CVoiceVatlib processing to every 10 ms
refs #183
2014-04-29 01:54:09 +02:00
Roland Winklmeier
9fd4986fac Add thread locks to serialize resource access
refs #183
2014-04-29 01:54:07 +02:00
Klaus Basan
9e5666e0e2 Formatting / comments / typos 2014-04-29 01:54:04 +02:00
Klaus Basan
36dbcc6b57 refs #217, Project class providing information for compile configuration
* changed .pro / .pri as required
* Used info from project class in network_vatlib
* Checks / info in GUI/core (e.g. console)
* const * versions of systemNameAndVersion / simulators, as mentioned in https://dev.vatsim-germany.org/issues/217#note-4
2014-04-29 01:53:09 +02:00
Klaus Basan
b6c45b3f20 Fixes when dealing with refs #223 / https://dev.vatsim-germany.org/boards/22/topics/1691?r=1701#message-1701
* Wrong address split ip:port
* Q_ASSERTs
2014-04-28 20:36:00 +02:00
Klaus Basan
51e4cefa94 refs #212, added flight plan sending to network context 2014-04-28 20:35:50 +02:00
Klaus Basan
82baf72721 refs #216, adjusted vatlib for ICAO class 2014-04-28 20:35:47 +02:00
Klaus Basan
9ccf005451 refs #212, includes for contexts 2014-04-28 20:35:42 +02:00
Klaus Basan
e263ab5cd2 Runtime check to better detect runtime issues during initialization (hanging) 2014-04-28 20:35:32 +02:00
Roland Winklmeier
f2c05458b1 Fixed missing ground speed interpolation in CInterpolatorLinear 2014-04-28 00:24:36 +02:00
Roland Winklmeier
95fa5e84df Removed IContext
Network and voice samples work using them and have to allocate
their own vatlib objects now.

refs #221
2014-04-26 20:46:56 +02:00
Roland Winklmeier
0ceb3ad75e Remove former plugin management and samples
refs #221
2014-04-26 20:45:12 +02:00
Roland Winklmeier
fd035fe5cc Add method to retrieve a list of available simulator plugins
refs #215
2014-04-26 15:01:46 +02:00
Roland Winklmeier
87ff9c9ae8 Add methods to load and unload specific simulator plugins
refs #215
fixes #208
2014-04-26 15:01:33 +02:00
Roland Winklmeier
04906e4bfc Find and catalog all plugins in findSimulatorPlugins
refs #215
2014-04-26 14:39:14 +02:00
Roland Winklmeier
e669ad8fb4 Add connectTo/disconnectFrom/canConnect to Simulator drivers
Removed checkConnection() as driver is passive only.

refs #187
2014-04-26 14:36:20 +02:00
Roland Winklmeier
03b7418d03 Add connectTo/disconnectFrom/canConnect to simulator context
refs #187
2014-04-26 14:36:19 +02:00
Roland Winklmeier
603f03f092 Move fsx plugin into plugins/simulator/fsx
refs #211
2014-04-19 12:33:25 +02:00
Roland Winklmeier
9e89618b45 Add skeleton keyboard implementation for Mac and Linux
refs #206
2014-04-18 14:07:14 +02:00
Klaus Basan
84f389262c fixes some bugs detected during compilation test
* wrong literal in relaySignals (DBus)
* removed signals from network proxy
* made GUI field readonly
2014-04-17 02:20:58 +02:00
Klaus Basan
463e20884b refs #199, convenience method 2014-04-17 00:12:00 +02:00
Klaus Basan
a70bc1cb38 fixes as follow-up of meeting https://dev.vatsim-germany.org/boards/22/topics/1671
* asserts for relaySignals
* relay "message" in connection status changed
* bug in status message
* bug in saving settings

refs #198 refs #199 refs #207 refs #209
2014-04-17 00:11:59 +02:00
Klaus Basan
7930560be6 refs #209, fileExists method (remote enabled) 2014-04-17 00:11:57 +02:00
Klaus Basan
3c42a91596 refs #199, removed context_application_base (moved to IContext application)
* as discussed under 4, and in the meeting https://dev.vatsim-germany.org/boards/22/topics/1671?r=1676#message-1676
2014-04-17 00:11:56 +02:00
Klaus Basan
20322a1a55 Assert for keyboard list 2014-04-17 00:11:54 +02:00
Klaus Basan
7e45a92969 refs #209, added remove file method to application context and some finetuning of the file methods 2014-04-17 00:11:51 +02:00
Klaus Basan
284a130669 refs #209, reset method for settings 2014-04-17 00:11:50 +02:00
Klaus Basan
04b1b1e5a9 refs #207, changed / fixed .pro file 2014-04-17 00:11:47 +02:00
Klaus Basan
72b2995234 refs #207, fixed signal/slot connection in runtime 2014-04-17 00:11:44 +02:00
Klaus Basan
d58be30600 refs #207, added remote file read/write
* write simconnect.cfg either local or remote
* update in GUI to use new methods
2014-04-17 00:11:43 +02:00
Klaus Basan
d9b5ce54f1 refs #207, added SimulatorInfo to context 2014-04-17 00:11:38 +02:00
Klaus Basan
f2f9ffafa5 refs #207, added simulator info to interface, plugin 2014-04-17 00:10:08 +02:00
Klaus Basan
9db245c843 refs #207, fixed windows.h / NOMINMAX.
Depending on the build setup (config.pri) missing NOMINMAX caused warning, or already existing NOMINMAX caused warning
2014-04-17 00:10:05 +02:00
Klaus Basan
e474671ead refs #207, renamed CValueMap to CIndexVariantMap.
* The map will be used with CSimulaorInfo to transfer a variable number of setting information about the flight simulator. It is being used, because it is already DBus and tupel compliant. The new name better fits its purpose.
* Add == operator for CIndexVariantMap (ambiguity error with tupels)
2014-04-17 00:10:04 +02:00
Klaus Basan
2b07012e4f refs #199, fixed issues 7-14 of https://dev.vatsim-germany.org/issues/199
On top fixed bug for core mode in main.cpp
2014-04-17 00:10:03 +02:00
Klaus Basan
9f2e3a7c9d refs #205, using DBus address with runtime
# added further CRuntimeConfigs for remote audio
# fixed delete as in https://dev.vatsim-germany.org/issues/199 13
# fixed left-over from Proxy to server signals refs #199
2014-04-17 00:09:59 +02:00
Klaus Basan
7a70b6939a refs #205, added DBus address for bootstrapping 2014-04-17 00:09:58 +02:00
Klaus Basan
fd57c16331 refs #205, changes to CDBusServer
* renamed newConnection -> registerObjectsWithConnection(const
* helper methods for address strings: isQtDBusAddress, p2pAddress, ...
* removed getDBusConnection(s) methods, no-where used
* Fixed constructor to use address strings correctly
2014-04-17 00:09:56 +02:00
Klaus Basan
e70894dd59 refs #205, renamed to CNetworkUtils as more methods for IP-addresses are introduced, added CNetworkUtils::getKnownIpAddresses() 2014-04-17 00:09:55 +02:00
Klaus Basan
6580ec48d5 refs #199, further slot logging for network / simulator , added log method for bool values 2014-04-17 00:09:54 +02:00
Klaus Basan
4776b1e650 refs #199, removed reEmitSignal for time being.
* Discussion: https://dev.vatsim-germany.org/issues/199#note-11
* Turned widgetGuiStarted / Terminated in more generic method
2014-04-17 00:09:51 +02:00
Klaus Basan
093462e7fb Simplified sending of changedAircraftsInRange 2014-04-17 00:09:47 +02:00
Klaus Basan
5b348ff3bf refs #199, slot logging via application context 2014-04-17 00:09:46 +02:00
Klaus Basan
1e75dba73a refs #199, sendStatusMessage now in application context (an only done via application context) 2014-04-17 00:09:44 +02:00
Klaus Basan
be4b4492ad refs #199, redirection of output streams (qDebug, qWarning, qCritical)
This is done in a common base class (of impl/proxy)
2014-04-17 00:09:43 +02:00