Commit Graph

670 Commits

Author SHA1 Message Date
Klaus Basan
b2acd3e476 refs #205, added selection for DBus server to intro window
* changed init of main window to CRuntimeConfig, btw. makes 8 in https://dev.vatsim-germany.org/issues/199 redundant
* coreMode in main window gone
* mode for external / local audio
2014-04-17 00:10:00 +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
429f79f841 refs #199, extended core to new functionality
* enable/disable signal/slot log
* redirection of output as qDebug, qWarning, ..
2014-04-17 00:09:50 +02:00
Klaus Basan
35b489d89a refs #199, console redirection enabled for GUI
# hooked up with siganls
# changed widget to courier font
2014-04-17 00:09:48 +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
Klaus Basan
20ad5d39ce refs #199, simplified initialization of runtime 2014-04-17 00:09:42 +02:00
Klaus Basan
8fc2c5c8a6 refs #199, graceful shutdown of a runtime 2014-04-17 00:09:40 +02:00
Klaus Basan
f72cd21ce0 refs #199, implementation of signal and slot logging in runtime 2014-04-17 00:09:37 +02:00
Klaus Basan
8f9b0d702c refs #199, removed Q_ASSERT as nullptr shall be a valid return value for non-existing contexts 2014-04-17 00:09:35 +02:00
Klaus Basan
552e4129bb refs #199, just code formatting 2014-04-17 00:09:34 +02:00
Klaus Basan
60fc8b7074 refs #199, featuring proxy to server side DBus signals.
So far we only could send server to proxy side signals, causing inconsistencies between remote and local contexts
2014-04-17 00:09:32 +02:00
Klaus Basan
760376d848 refs #199, convenience methods for easier initializations 2014-04-17 00:09:30 +02:00
Klaus Basan
8b8a1d44b3 refs #199, added unique id to context.
A unique id allows to detect roundtrips when redirecting output (qDebug, qWarning)
2014-04-17 00:09:29 +02:00
Klaus Basan
426ad6a8ce refs #199, methods to enable / disable signal and slot logging in runtime 2014-04-17 00:09:27 +02:00
Klaus Basan
673c4eb999 Fixing plugin directory message 2014-04-17 00:09:26 +02:00
Klaus Basan
94ed481b25 refs #199 , fail safe method to register contexts with DBus server, easer way to initialize in runtime 2014-04-17 00:09:23 +02:00
Klaus Basan
e7c9d7d294 refs #199 , method to unregister DBus objects for a graceful shutdown of our DBusServer 2014-04-17 00:09:22 +02:00
Klaus Basan
62109ac7f3 refs #199 , removed statusMessage sending and log from all contexts but application context
Goal: Single place to send status messages and log -> application context
2014-04-17 00:09:19 +02:00
Klaus Basan
9b26cd6435 refs #199 , prepared Status message for output redirection (qDebug, qWarning)
* new type
* output as HTML (GUI console)
2014-04-17 00:09:16 +02:00
Klaus Basan
7b7fbee4c3 refs #199, code formatting and Doxygen, icons, comments, typos 2014-04-17 00:09:12 +02:00
Klaus Basan
16b9c714af refs #199, direct access to other context convenience methods 2014-04-17 00:09:10 +02:00
Klaus Basan
0ff353b671 refs #197, isNull PQ converted to "undefined" 2014-04-17 00:09:07 +02:00
Klaus Basan
7e65193c32 Icon for sample_blackcore.pro 2014-04-17 00:09:05 +02:00
Klaus Basan
5e8460e28f refs #182, added tupel tie for aircraftmapping.h 2014-04-17 00:09:04 +02:00
Klaus Basan
855fa079c3 refs #199, simpflified runtime init 2014-04-17 00:09:03 +02:00
Klaus Basan
6c125ba830 refs #199 , some formatting during "merge" 2014-04-17 00:09:01 +02:00
Klaus Basan
dc1e08b312 refs #199, integration with latest simulator context
* Fixed warning HRESULT hr = S_OK; uint/int warning
* loadPlugins in constructor
* init removed, wiring in runtime class
* Using getRuntime to refer to other contexts
* Fixed reading of plugins, with no exisiting "plugin" dir this did hang
2014-04-17 00:08:59 +02:00
Klaus Basan
661db4356c refs #199, fixed merge issue, overlooked HEAD line 2014-04-17 00:06:06 +02:00
Klaus Basan
679b34c7f4 refs #199, cleaned up contexts a bit after rebasing to current master
* friend CRuntime on top
* fixed some public constructors (made protected)
* Also made registerWithDBus protected
* Fixed some copy/paste issues in getIContextXXX
* Reordered private/public sections
2014-04-17 00:06:05 +02:00
Klaus Basan
6e3b081fd2 refs #198 , refs #199 adjusted samples 2014-04-17 00:06:02 +02:00
Klaus Basan
4e8e2eb0d4 refs #198 , using settings with GUI 2014-04-17 00:06:00 +02:00
Klaus Basan
c43c3eed3c refs #199, adjusted GUI to new runtime. The central change is in mainwindow_init, where no longer own context pointers will be used, but an own runtime object. 2014-04-17 00:05:59 +02:00
Klaus Basan
fad31aa09a refs #198, enabled settings context to read / write JSON settings from/to file 2014-04-17 00:05:58 +02:00
Klaus Basan
4a180fc27f refs #198, updated network settings so they can read/write JSON and be used with persistent settings 2014-04-17 00:05:56 +02:00
Klaus Basan
f3148fdd49 refs #198 , changed keyboardkey classes so they can be initialized either by read settings or default values 2014-04-17 00:05:55 +02:00
Klaus Basan
6327c3a1cb refs #198 , made DBus address static, so it can be used elsewhere in the settings 2014-04-17 00:05:54 +02:00
Klaus Basan
2a0514fff9 refs #198 , added utility methods for read/write settings 2014-04-17 00:05:52 +02:00
Klaus Basan
0d53d44157 refs #199 , refs #85 Moved specialized value method into right place (impl, not proxy - it is a receiver method)
This specialized method can be removed with refs #116
2014-04-17 00:05:51 +02:00
Klaus Basan
3c23963a25 refs #199 , init removed
cross context wiring should be done in the runtime class.
2014-04-17 00:05:50 +02:00
Klaus Basan
77fd3bcd70 refs #199 , adjusted context classes
* removed usingLocalObjects() now in CContext
* removed getRuntime() now in CContext
* Constructors no longer public, context can only be obtained via runtime object
* runtime class is friend class
2014-04-17 00:05:47 +02:00
Klaus Basan
0b033fdcac refs #199 , context base class to simplify handling
* usingLocalObjects() now derived from runtime config, no need to override it in contexts
* getRuntime in base class, no longer to implement it in each context class
2014-04-17 00:05:46 +02:00
Klaus Basan
4441b44d53 refs #199 , the context runtime now can be initialized for local and for remote objects.
* In order to configure how a context is deployed, a runtime config object has been added
* Context now only can be obtained from the runtime, the constructors of contexts will be no longer public
* The runtime is responsible for connecting signal/slots among contexts
* The runtime reads the settings
2014-04-17 00:05:44 +02:00