Commit Graph

270 Commits

Author SHA1 Message Date
Klaus Basan
0c01da4c8e Minor changes such as parameter warnings, added metatype registration for voice
refs #81
2014-01-08 01:01:26 +00:00
Roland Winklmeier
db4a3c5de4 Refactoring and clean up of voice implementation
refs #36
- Cleanup of library and sample code
- Completed now all signals in voice sample
- Fixed minor bugs with the user list
- TODO: Remove the VATSIM id from the user string

refs #81
2014-01-08 01:01:23 +00:00
Roland Winklmeier
0bae898db8 Added commands to voice sample. Test successfull refs #36 - Added commands to list input and output devices - Fixed some compiler errors on win - Voice confirmed working on windows and linux
Signed-off-by: Roland Winklmeier <roland.m.winklmeier@gmail.com>

refs #81
2014-01-08 01:01:20 +00:00
Roland Winklmeier
45b9f60444 Finalized voice vatlib implementation.
refs #36
- Implemented the rest of the methods
- Added more commands to the voice sample, to login to voice server
- Login successfull. However, no voice yet.

refs #81
2014-01-08 01:01:17 +00:00
Roland Winklmeier
f91525b65b Expanded voice sample to an interactive app
refs #36
- Based on the existing network sample, expanded the voice sample to an interactive app
- Implmenented commands: mic test, squelch test

refs #81
2014-01-08 01:01:10 +00:00
Roland Winklmeier
7292e265fb Added squelch and mic tests
refs #36

refs #81
2014-01-08 01:01:05 +00:00
Roland Winklmeier
b511f2ffaa Completed enumeration of audio devices
refs #36
- Cvatlib_Voice_Simple object is created and setup
- enumerates automatically a list of in and output devices.
- both device lists are accessable immediately
- added a sample demonstrating the interface so far

refs #81
2014-01-08 01:01:02 +00:00
Roland Winklmeier
158de31c0b Added CAudioDevice and cleaning up IVoice
refs #36
- Added a common class CAudioDevice encapsulating each audio device
- One subclass for input and output devices
- Changed IVoice interface slightly to better fit into the event flow

refs #81
2014-01-08 01:00:57 +00:00
Roland Winklmeier
fcebc44b02 Added class CVoiceRoom
refs #36
- This class encapsulates the information on a voice server room.
- It basically consists of the tuple hostname and channel

refs #81
2014-01-08 01:00:50 +00:00
Roland Winklmeier
62e1b411c5 Initial structure IVoiceClient and implementation
refs #36
- Added initial structure for IVoiceClient interface
- Added initial structure for the vatlib voice implementation

refs #81
2014-01-08 01:00:45 +00:00
Roland Winklmeier
f24d16019f Minor fixes for linux build
refs #36
- Fixed compiler error in context.cpp (is not used anymore, but was still annoying)
- GCC was complaining about the template definitons in blackgui. Removing typename fixed it.
- Fixed a bug in qmake. Unfortunately qmake mkspec was just linux-g++ (not linux-g++-64), so added this case.
- Fixed a PRE_TARGETDEPS bug
- QMake has strange behaviour with DBUS_ADAPTORS: include the header somewhere, otherwise it won't be generated.

refs #81
2014-01-08 01:00:39 +00:00
Klaus Basan
1f2a88e502 context classes, runtime classes, and related infrastructure
refs #81
2014-01-08 01:00:24 +00:00
Mathew Sutcliffe
c77951743e INetwork: refactor request/reply pattern and sending position updates to be more encapsulated
refs #81
2014-01-08 01:00:17 +00:00
Klaus Basan
388d297a2d update client version numbers passed to shimlib
refs #81
2014-01-08 00:59:56 +00:00
Klaus Basan
3d48b29678 fixed formatting in error messages
refs #81
2014-01-08 00:59:52 +00:00
Klaus Basan
8d15f307c2 let INetwork have a QObject parent
refs #81
2014-01-08 00:59:49 +00:00
Klaus Basan
535ea65a9a start using our value classes as arguments in INetwork signals and slots
refs #81
2014-01-08 00:59:45 +00:00
Klaus Basan
c6da7b0d35 removing unneeded code
refs #81
2014-01-08 00:58:08 +00:00
Klaus Basan
978f3c88e5 style changes and removals of typeid
refs #81
2014-01-08 00:57:43 +00:00
Mathew Sutcliffe
229d7c6068 initialize some pointers to null 2013-11-25 17:34:12 +00:00
Mathew Sutcliffe
ac1b014f1b minor fix, only in doxygen comments 2013-10-21 03:43:09 +01:00
Mathew Sutcliffe
e607121cc4 Updating IContext to our current style and making it less reliant on macros.
Updating code that uses IContext to a more conformant pattern of usage.
2013-10-05 18:12:16 +01:00
Mathew Sutcliffe
01af31d4da fixed bug which was discovered due to a GCC warning 2013-09-24 01:04:22 +01:00
Mathew Sutcliffe
dc436735cc suppressing various GCC warnings 2013-09-24 01:01:07 +01:00
Roland Winklmeier
5fbb8deb02 Fixed bug in blackcore:
- vatlib.h path has changed
- externals.pri missing
2013-09-21 20:34:19 +02:00
Mathew Sutcliffe
21b74dc912 fixed error caught by gcc 2013-09-01 17:55:38 +01:00
Mathew Sutcliffe
a011bb18e6 fixed compile errors caused by inconsistencies between merged branches 2013-08-29 00:02:47 +01:00
Mathew Sutcliffe
20c33bf77c Merge branch 'fsd' 2013-08-28 23:29:10 +01:00
Mathew Sutcliffe
dcc4f4aa8d Merge branch 'kbdbusbaseclasses' 2013-08-28 22:49:01 +01:00
Mathew Sutcliffe
0107d24523 create a dummy implementation of INetwork for testing purposes, and use it in the atc list unittest 2013-08-24 16:54:36 +01:00
gmt2001
974f8b0141 Merge branch 'fsd' of git@dev.vatsim-germany.org:vatpilotclient/client.git into fsd 2013-08-24 09:42:29 -04:00
gmt2001
4edd28e0fa Fix for always getting suspended message 2013-08-24 09:41:45 -04:00
Mathew Sutcliffe
9b239f12aa fixes for MinGW, including adding CONFIG += c++11 in all qmake project files 2013-08-19 18:46:37 +01:00
Mathew Sutcliffe
cec9de5cc5 use enums instead of bools to distinguish true/magnetic headings and tracks and MSL/AGL altitudes 2013-08-19 18:11:54 +01:00
Mathew Sutcliffe
e194773c5b CAtcListManager class 2013-08-09 00:55:46 +01:00
Mathew Sutcliffe
eade49799b corrected error message 2013-08-09 00:49:12 +01:00
Roland Winklmeier
efacac77eb refs #42
- Added DBus handler interface
- Added more complex flow to both samples
- Added custom class to be transfered
2013-08-07 01:32:13 +02:00
Mathew Sutcliffe
0c310227b4 refs #22
* storing callsign and realname as QByteArray instead of QString makes it easier to ensure that C-strings passed to the shim have lifetimes coincident with the shim
* added a bit more error handling and invariant enforcement
* now we terminate the connection automatically on fatal errors
* added first doxygen comment (first of many)
2013-08-04 17:58:05 +01:00
gmt2001
d1e35c0b27 refs #22
Fix leading space and trailing LF in real name
Use proper const char* to const char* copy in NetworkVatlib::initiateConnection()
2013-08-04 01:54:03 -04:00
Mathew Sutcliffe
b8f26dce4a refs #22
* Implemented a few more signals
* Support for storing the INetwork object in the IContext
* Improved exception handling
* Fixed some mistakes
2013-07-31 21:51:18 +01:00
Klaus Basan
40a97c3d82 Added I18N for PQs, initial version. Hence resource file and language files. Changed samplesphysicalquantities to check some I18N topics. 2013-07-27 20:23:23 +02:00
Klaus Basan
581638ec7f Enabled coordinate classes for DBus, added generation method for lat/lng by WGS84 strings 2013-07-25 23:58:09 +02:00
Roland Winklmeier
40abcf4c19 refs #42:
- Added CDBusServer into Blackcore library
- Added DBus server and client sample
2013-07-22 22:44:00 +02:00
Klaus Basan
8b512ba818 DBus enabling of base classes plus sample for testing / show how to use them. Also qdbuscpp2xml plugin for blackmisc classes. 2013-07-22 14:33:50 +02:00
Mathew Sutcliffe
3a71fb8223 Merge branch 'master' into fsd 2013-07-20 16:00:53 +01:00
Mathew Sutcliffe
1c5293f38f fixed bug discovered during Qt5 migration: you can't throw nothing (unless you're rethrowing an already caught exception) 2013-07-18 20:43:46 +01:00
Mathew Sutcliffe
e64e7b75c2 a little bit more on info queries and replies (refs #22) 2013-07-06 00:30:45 +01:00
Mathew Sutcliffe
82f5661aa6 info queries and replies, and misc tidy-up (refs #22) 2013-07-05 21:11:44 +01:00
Roland Winklmeier
7564973b14 - Fixed: toAscii() and fromAscii() Methods are deprecated
- Fixed: Namespace conflict with IContext in blackd.cpp
- Fixed: Missing include of QMessageBox, QMenu
- Fixed: QBool was removed in Qt5
- Fixed: Missing include QDataStream in basestreamstringifier.h
2013-07-05 21:03:05 +02:00
Mathew Sutcliffe
009bba1e54 error-handling tweaks (refs #22) 2013-07-05 18:48:58 +01:00