Commit Graph

3525 Commits

Author SHA1 Message Date
Roland Winklmeier
b6ff89e69f Fix regression when core is running via DBus. Simulator page
is not updated because no simulatorConnectionChanged is emitted from
the past.
2014-04-18 18:39:52 +02:00
Roland Winklmeier
1cecf429e7 Fix compilation error by build project reordering
BlackSim is required by BlackCore, hence it must be listed before
2014-04-18 14:08:39 +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
Mathew Sutcliffe
ba4b0197a6 refs #204 changed xbus destination directory for 32bit builds
to support older versions of X-Plane
2014-04-17 00:34:21 +02:00
Mathew Sutcliffe
7fae60a510 refs #204 doxygen comments 2014-04-17 00:34:20 +02:00
Mathew Sutcliffe
86e002fff5 refs #204 use qDebug etc.
and install a Qt message handler which forwards messages to the X-Plane debug log
2014-04-17 00:34:19 +02:00
Mathew Sutcliffe
ae507a54cd refs #204 workaround an unexplained bug when casting QApplication
by using inherits() and static_cast instead of qobject_cast
2014-04-17 00:34:17 +02:00
Mathew Sutcliffe
f1345d7b6f refs #204 stub project for XBus, an X-Plane plugin (not client plugin) which will communicate with the client 2014-04-17 00:34:15 +02:00
Mathew Sutcliffe
59112e237c refs #204 stub project for the X-Plane sim driver 2014-04-17 00:34:14 +02:00
Mathew Sutcliffe
8043caab6d refs #197 stringification of null quantity should yield "undefined" 2014-04-17 00:34:03 +02:00
Mathew Sutcliffe
a4e3ac6f40 refs #197 fixing (hopefully) comparison between null quantities
and related rationalization of PQ comparison.
2014-04-17 00:32:41 +02:00
Klaus Basan
8ba2badb61 refs #209, update GUI to save/delete/check simconnect.cfg file (FSX) 2014-04-17 00:12:01 +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
c288a4b05b refs #209
* open directory of simconnect.cfg file
* open directory of settings file menu item
* reset settings menu item
2014-04-17 00:11:53 +02:00
Klaus Basan
8abdde609f refs #209, open directory of settings file in startup GUI 2014-04-17 00:11:52 +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
04bd01687e refs #207, fixed core cmd-input 2014-04-17 00:11:48 +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
17a6607781 refs #207, changed simconnect utils, so it can be written remotely 2014-04-17 00:11:40 +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
89cb48bbfc refs #207, added simulator setup to CSimulatorInfo
* setup will provide some metadata about the flight simulator, such as path, version etc.
* there will be a sim independent setup class, providing common information such as path, is simulator installed, etc.
* a sim dependent class on top will provide the values specific to one sim
* setup will contain the logic to fetch its values: setup->init
2014-04-17 00:10:07 +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
bfcdf5ed9a refs #205, allows to select DBusServer type (session, peer, system) in core 2014-04-17 00:10:01 +02:00
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