Commit Graph

583 Commits

Author SHA1 Message Date
Roland Winklmeier
ff65f3f39d refs #255 update context and sample to use the new IVoiceChannel API 2014-08-03 16:09:40 +02:00
Roland Winklmeier
6f661339a4 refs #53 Remove all old CMake files 2014-08-01 12:12:06 +02:00
Mathew Sutcliffe
a4b317b100 refs #290 using a CRange of iterator adaptors in implementating the tertiary predicate-based methods of the derived containers,
but preserving the return-by-copy for API stability
2014-07-13 20:30:22 +01:00
Mathew Sutcliffe
e23e418797 incidental refactoring: simplify some predicates by templating their call operators 2014-07-13 00:45:22 +01:00
Klaus Basan
af17c2c4e6 refs #289, negative time values supported, required for time offset 2014-07-11 01:20:57 +02:00
Klaus Basan
f408cf1c82 refs #292, fixed DBus sample to reflect / test issues found during debugging 2014-07-11 01:20:38 +02:00
Klaus Basan
330919329d refs #291, timers for aircraft component independent of network connection
Remarks: sim can be connected, while network is not
2014-07-11 01:20:25 +02:00
Klaus Basan
d9a1c0cc8c refs #287 Thread safety, fix "memory access violation"
* some improved comments and information
* QMetaObject::invokeMethod in tool.cpp as thread safe invocation
* common base class for threaded readers
* removed event class, using QMetaObject::invoke instead for forcing calls in main event loop
* stop methods for readers, as used for graceful shutdown (preparing for thread safe destruction of objects)
* graceful shutdown for network context
* calls in tool now via inkoke for thread safety (only thread safe methods called directly)
2014-07-11 01:15:18 +02:00
Klaus Basan
d2afd00011 refs #273, fixes "QObject::disconnect: Unexpected null parameter" 2014-07-04 22:56:54 +02:00
Klaus Basan
6c6bcb4e08 refs #273, encapsulated settings GUI into own component
This removed a considerable amount of code from mainwindow
2014-06-28 18:01:58 +02: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
0547b2847e refs #275, own info window component
* added to CVariant for value object
* signal in text message to indicate overlay messages
* info window component (currently not runtme aware, maybe changed in future)
* removed old window, adjusted GUI
2014-06-23 01:19:28 +02:00
Klaus Basan
ab77f19544 refs #267, moved vPilot reader in namespace fscommon, as it is specific for FSX/FS9/P3D 2014-06-23 01:19:27 +02:00
Klaus Basan
b058aac405 refs #267, samples for model matching 2014-06-23 01:19:23 +02:00
Klaus Basan
dbc3339599 Fixes in samples
* removed qSleep / dependency of Qt test libs
* QCoreApplication not required
2014-06-23 01:19:14 +02:00
Klaus Basan
f0a2bc4f65 Fixed .pro files, removed redundant c++11 config and enabled Q_COMPILER_INITIALIZER_LISTS 2014-06-23 01:19:12 +02:00
Roland Winklmeier
db1c04aaf8 Remove Qt::Tool window flag from IntroWindow
Qt::Tool causes the dialog to not have a symbol in the taskbar
2014-06-20 23:17:25 +02:00
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
Klaus Basan
9e0909666e removed redundant CONFIG += c++11 (is already in build.pri) 2014-06-14 16:52:51 +01:00
Mathew Sutcliffe
8dccc8d792 refs #246 renamed host to server to avoid ambiguity 2014-06-14 16:52:47 +01:00
Klaus Basan
c99b340833 Updating main window because of recent changes (applying changes of other classes) 2014-06-09 14:44:32 +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
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
48d66c204f Fixed bugs for ATC bookings, those can be read even if network is not connected 2014-06-09 14:44:04 +02:00
Klaus Basan
226edda23b refs #219, load flight plan
* fixed issue with parsing, only default locale is used. Now user's local possible
* allow to load FP for other callsigns as well (voice capabilities)
* Improved handling of CTime, inclusive bug fixes and time formatting
* Max. lengths for FP fields as const value (so we can change it if required)
* Load FP from GUI component
* Samples for PQ classes
* Adjusted depending classes (e.g. client)
2014-06-09 14:43:57 +02:00
Klaus Basan
1b804ca8d7 refs #258, notification sounds for voice room joined/left
* settings for notification sounds
* wav files
* changes in GUI
2014-06-09 14:43:43 +02:00
Klaus Basan
ba217fed57 refs #242, fixed slot logging 2014-06-09 14:43:33 +02:00
Klaus Basan
1bb4c3120b Formatting, comments, minor tweaks, typos, Doxygen 2014-06-09 14:43:31 +02:00
Klaus Basan
c7108a51f8 refs #250, refs #242 changed GUi to reflect changes
* own cockpit component
* new aircraft context
2014-06-09 14:43:21 +02:00
Klaus Basan
6353edd50a Formatting / tweaks 2014-06-09 14:42:43 +02:00
Klaus Basan
6c81a95c65 refs #242, added signals for own aircraft context
* fixed tool in core
* fixed tuntime for signal / slot logging
2014-06-09 14:42:33 +02:00
Klaus Basan
48267f314c refs #242, changed different classes/components to use aircraft context instead of network context
* removed own aircraft from simulator context
* in GUI, also added originator for signals/ slots
* flightplan / text messages
2014-06-09 14:42:31 +02:00
Roland Winklmeier
097525ec3e Add command to enable/disable audio loopback in voice sample
refs #136
2014-05-22 22:55:45 +02:00
Klaus Basan
70c7aa4a94 refs #240, removed text message parts from main GUI window
* text message now encapsulated in component
* adjusted main GUI window to be used with component
2014-05-22 22:21:27 +02:00
Klaus Basan
4c952ab782 refs #240, moved notification sounds in project blackmisc
Notification sounds are used in BlackGui components. They require the whole Qt multimedia library. However, GUI only triggers playing the sound. As a workaround the notification sounds enumeration has been moved in an own class, and moved to the subproject BlackMisc. Hence it is possible to compile BlackGui without dependency to BlackSound.
2014-05-22 22:21:19 +02:00
Mathew Sutcliffe
356f134ab8 refs #218 enable retreiving user's flightplan from the network
after it was potentially amended by a controller
2014-05-16 13:44:24 +01:00
Mathew Sutcliffe
07fc42f790 added statusMessage slot in sample CLI client 2014-05-16 13:44:23 +01:00
Roland Winklmeier
5498b449ac Add "ConnectionFailed" to Simulator status enum
Rename connectionChanged to statusChanged

refs #231
2014-05-16 14:17:41 +02:00
Klaus Basan
a338ed0068 refs #239, removed aircraft / ATC station parts from main window, now in component.
mainwindow_atc entirely removed
2014-05-15 00:07:18 +02:00
Klaus Basan
46b979d557 refs #236, samples 2014-05-13 01:21:51 +02:00
Klaus Basan
41b89e928f swift 2014-05-08 00:11:15 +02:00
Klaus Basan
4d7c198d26 refs #233, added hot key functionality in GUI. Now hot keys can be defined and show a reaction in the GUI 2014-05-07 23:27:25 +02:00
Klaus Basan
17f617f418 Formatting, comments typos, doxygen 2014-05-07 18:41:26 +02:00
Klaus Basan
9d2b96c218 refs #227, changes for user component in GUI 2014-05-06 21:47:19 +02:00
Klaus Basan
d163297715 Improved verification for ICAO codes (own aircraft) before user login 2014-05-06 21:47:17 +02:00
Roland Winklmeier
732b6f5ae7 Remove duplicate CVoiceVatlib object.
Move the one in Client into its own thread instead

refs #226
2014-05-04 00:50:09 +02:00
Roland Winklmeier
132adc28b5 Rename m_voiceClient to m_voice for consistency
refs #226
2014-05-04 00:50:08 +02:00