Commit Graph

435 Commits

Author SHA1 Message Date
Klaus Basan
1a72b4b691 refs #93, update network data such as ATIS or pilot frequencies from time to time,
as these data are not actively pushed from network when changing
* timer in network context
* update methods, one specific method for ATIS as this can also be manually re-read(from GUI)
2014-02-08 14:11:33 +01:00
Klaus Basan
2cbddeb5ee Some minor network context upfront fixes discovered:
* readAtcBookingsFromSource() const; to non const, it changes data in the context
* better adjusting of update time for bookings
* No updates if URL is empty, checked.
2014-02-08 14:11:32 +01:00
Roland Winklmeier
c4b458c97c Fix missing arguments and const declarations in avionics
and geo classes. In the same step, add the override keyword

fixes #133 refs 124#
2014-02-08 11:03:06 +01:00
Roland Winklmeier
3022c7c0e0 Fix warning with unused private members in CInterpolator
refs #92
2014-02-08 11:01:32 +01:00
Roland Winklmeier
f6a1b83042 Add condition macx-clang to externals project 2014-02-08 10:59:49 +01:00
Klaus Basan
1d35b010f2 Merge branch 'master' of dev.vatsim-germany.org:vatpilotclient/client 2014-02-08 01:46:33 +01:00
Klaus Basan
2d54f95fab Fixing issue with marking connected voice rooms by "*". This leads to a problem when overriding the voice room URL.
Now using colours / stylesheet.
2014-02-08 01:46:15 +01:00
Roland Winklmeier
e7af80abf3 Remove left driver references in client.pro 2014-02-08 01:39:54 +01:00
Klaus Basan
f56b3b878f Fix overriding cockpit values if a field is input focused.
Cockpit updates are a 2 way process, from context to GUI and vice versa.
This fix checks if a widget is focused, and if so, updating is ignored.
2014-02-08 01:11:03 +01:00
Mathew Sutcliffe
0a6030f5df refs #92 fixing warnings when compiling for 64bits due to conversions between size_t and int 2014-02-07 22:51:23 +00:00
Roland Winklmeier
07879cf5a7 Remove dummy simulator driver projects
refs #90
2014-02-07 22:39:40 +01:00
Roland Winklmeier
7b646610c5 fixes #130 missing const declarator in IContext::hasObject 2014-02-07 22:31:32 +01:00
Mathew Sutcliffe
3eff2f5fb1 fix to find correct 64bit external libs when building with MSYS bash 2014-02-07 19:54:50 +00:00
Mathew Sutcliffe
396fab097a fixes #121 iterator error when compiling with Clang's libc++ 2014-02-07 17:50:19 +00:00
Mathew Sutcliffe
c26543c919 changed SUBDIRS ordering in client.pro, fixes linker error when compiling in MinGW 2014-02-07 17:45:55 +00:00
Klaus Basan
ec3e8d496b Formatted QSS (style sheet) 2014-02-07 04:01:28 +01:00
Klaus Basan
27db22cb44 Changed SoundGenerator to use BlackMisc::PhysicalQuantities instead of integer types (req. by RW)
lengthPerTone renamed to bytesPerTone
2014-02-07 03:10:32 +01:00
Klaus Basan
c46878b873 Changed unit test testnetwork to reflect new status Disconnecting, then Disconnected 2014-02-07 03:05:35 +01:00
Klaus Basan
116db9a425 refs #91 & #124 doxygen fixes, style/comment changes, typos, and override / nullptr keywords
Remark: Doxygen <70 warnings
2014-02-07 01:09:31 +01:00
Klaus Basan
6bf930650a fixes #123 by displaying the Audio test in the GUI
* added methods to get results in context
* added signal to indicate audio test completed
* updated GUI to display results
* changed test run methods to non-const to be consistent with voice lib
* Logic in GUI to avoid parallel / interfering tests
* Fixed wrong Q_ASSERT message and QTimer::singleShot in voice_vatlib.cpp
2014-02-06 16:07:16 +01:00
Klaus Basan
526cd916a8 refs #91 & #124 doxygen fixes, style/comment changes, typos, and override keywords 2014-02-06 03:22:42 +01:00
Klaus Basan
2356708b63 Renamed method to runMicrophoneTest(), a change likely got lost in the rebase session Feb06 2014-02-06 01:24:01 +01:00
Klaus Basan
ff5cf5ea4a refs #91 & #124 doxygen fixes, style/comment changes, typos, and override keywords 2014-02-05 23:26:13 +00:00
Mathew Sutcliffe
e7c31fbe20 Merge branch 'feature/102_selcal' 2014-02-05 23:23:07 +00:00
Klaus Basan
ce22fc9552 Trigger Squelch and Mic test from GUI, refs #123 2014-02-05 23:16:34 +00:00
Klaus Basan
2feab9f5e7 Bugfix to set aircraft callsign from voice context, fixes #120
In the same step added methods to test squelch and microphone, refs #123
2014-02-05 23:16:31 +00:00
Klaus Basan
7a63768c83 Allows to display callsign / user / statusmessage as icon in views. refs #122
* Icons
* update of resource file
* update in CValueObject classes callsign / user / statusmessage
* update in list models, data method for returning Pixmap
2014-02-05 23:16:29 +00:00
Klaus Basan
431b347cfd Improved status bar, connection handling, displaying ATC station as tooltip
when it matches a frequency
2014-02-05 23:16:26 +00:00
Klaus Basan
6aa6058c57 Added method getSelectedAtcStations() to network context.
Further isConnected checks in order to avoid updating when not connected (leading to wrnings / errors)
2014-02-05 23:16:24 +00:00
Klaus Basan
243ace74fe link CLI sample with QtGui due to CValueObject::toIcon 2014-02-05 23:16:21 +00:00
Klaus Basan
79f5b6fcd3 Added / prepared for state disconnecting:
Taking up the idea of MS (disconnecting),
and based on a real world issue where the transition state
of disconnecting was still handled as connected.
2014-02-05 23:16:19 +00:00
Klaus Basan
34c75c7505 Fixed unit tests, only minor changes 2014-02-05 23:16:17 +00:00
Klaus Basan
fda587994d CValueObject virtual method toIcon, reprsenting the object as icon where applicable.
Currently used for status messages (severity), will be used for CAtcStation and others as well.
2014-02-05 23:16:14 +00:00
Klaus Basan
4ec1db4b38 Moved standard icons to blackmisc. Blackmisc is using module GUI anyway,
so this creates no new dependency.
2014-02-05 23:16:10 +00:00
Klaus Basan
4a77ee5fc4 Added QAudioOutput to voice lib, as an approach to overcome #117 2014-02-05 23:16:08 +00:00
Klaus Basan
82af8f0c4c Method to get default in/output device, renamed index methods to distinguish them 2014-02-05 23:16:05 +00:00
Klaus Basan
395603f932 Return values for the static sound generator methods.
Fixed playMode attribute, method to set volume
2014-02-05 23:16:03 +00:00
Klaus Basan
ffb09c0d4a Fixing typo (qWarning) in voice_vatlib 2014-02-05 23:16:00 +00:00
Klaus Basan
247bacb538 Handling of ATC disconnect in context, missing signal / slot connection 2014-02-05 23:15:58 +00:00
Klaus Basan
8c29bb3e53 Removed widgets from blacksound.pro, not needed. 2014-02-05 23:15:55 +00:00
Klaus Basan
6962a764be Regression test for removeIf, used to identify issue #114 2014-02-05 23:15:53 +00:00
Klaus Basan
b8d87038a1 Fixed .pro files, typos in libblacksound (non win) 2014-02-05 23:15:51 +00:00
Klaus Basan
e88bfde3db Status messages as table view in the GUI, not only text.
Some minor GUI tweaks.
2014-02-05 23:15:48 +00:00
Klaus Basan
576952b690 Allow to clear, insert, and push values of the model. 2014-02-05 23:15:46 +00:00
Klaus Basan
f476388f8b Status message list model (so they can displayed as table view in GUI),
and the corresponding property methods in CStatusMessage
2014-02-05 23:15:43 +00:00
Klaus Basan
5731bd3dd1 Icons, as resource for the GUI 2014-02-05 23:15:41 +00:00
Klaus Basan
813c64087f Updated GUI for SELCAL messages and tones.
Some minor changes in the same step:
* Fixed some style sheets
* Added QToolBox as preparation for a status message list
* Renamed voice settings to audio settings
2014-02-05 23:15:38 +00:00
Klaus Basan
cf97f2f46b Changed core, allowing it to play SELCAL tones 2014-02-05 23:15:36 +00:00
Klaus Basan
e60acb25c3 Detect textmessage being a SELCAL call 2014-02-05 23:15:34 +00:00
Klaus Basan
f5ec7ea864 Added missing method for frequency detection 2014-02-05 23:15:31 +00:00