Commit Graph

2810 Commits

Author SHA1 Message Date
Mat Sutcliffe
bd6b5c456c Issue #74 Style: remove egregious redundancy in CCoreFacadeConfig 2020-08-16 15:27:08 +01:00
Mat Sutcliffe
8ce3fe7178 Issue #74 Fix CCoreFacadeConfig::allEmpty so it really means "all empty" 2020-08-16 15:26:29 +01:00
Mat Sutcliffe
f114171083 Issue #17 Fixed bug in database reader 2020-08-12 20:10:34 +01:00
Mat Sutcliffe
2ae0352e75 [doxygen] Fix broken groupings 2020-08-01 19:48:37 +01:00
Mat Sutcliffe
b7203ce83e Issue #15 Removed old log distribution code 2020-08-01 19:48:36 +01:00
Mat Sutcliffe
86dd91a064 Issue #15 [GUI] Use CLogHistoryReplica in CLogComponent and swift applications 2020-08-01 19:48:36 +01:00
Mat Sutcliffe
7382564633 Issue #15 Classes for sharing the history of log messages 2020-08-01 19:48:36 +01:00
Mat Sutcliffe
ee4e41d0a6 Issue #15 CCoreFacade owns an instance of CDataLinkDBus 2020-08-01 19:48:35 +01:00
Mat Sutcliffe
e8a0a0b6ba Issue #15 Register CSequence as a sequential container metatype 2020-07-31 00:57:46 +01:00
Mat Sutcliffe
4e56fb7f69 Fixed broken timer for debug message 2020-07-31 00:57:45 +01:00
Lars Toenning
f987b81e6d Add feedback when .wallop message is sent
This does the following:
- Opens a message-tab called "SUP" when a .wallop message is sent.
- Throws a validation error if another message is directly send into this "SUP" channel as another .wallop should be used.
2020-07-26 19:46:06 +02:00
Lars Toenning
c4202d73f5 Add validationError if .wallop is sent while not connect
Same is already done for .msg (and equivalent)
2020-07-26 19:46:06 +02:00
Mat Sutcliffe
f9c9ee197a #42 Remove code for reading update info from datastore 2020-07-04 21:34:10 +01:00
Mat Sutcliffe
38a1d24411 #42 Enable reading update info from GitHub Packages REST API 2020-07-04 21:33:23 +01:00
Mat Sutcliffe
8375881941 Remove dead code 2020-07-04 21:30:53 +01:00
Mat Sutcliffe
670b1a1986 Fix cppcheck and compiler warnings 2020-06-29 18:34:16 +01:00
Mat Sutcliffe
78987a678f Suppress Qt 5.15 deprecation warnings 2020-06-29 18:34:14 +01:00
Lars Toenning
1d4aa96e9b Add warning about expire and redesign warning/error popup
Fixes Github Issue #38
2020-06-29 17:22:09 +01:00
tzobler
66a1a87805 protocol type -MD added 2020-06-12 19:07:57 +01:00
Klaus Basan
6fc3d55d9a Fixed mute handling and audio LED
* AFV client has own "changedMute" signal
* unmute if started/stopped AFC client
* in statusbar also check audio start/stop to refresh LEDs
* see https://discordapp.com/channels/539048679160676382/539486309882789888/713491666971000872
2020-06-12 18:42:57 +01:00
Klaus Basan
24bc57ac32 [Weather] Allow to trigger reload of weather from UI 2020-06-12 18:42:57 +01:00
Klaus Basan
3099464668 Message texts 2020-06-12 18:42:56 +01:00
Klaus Basan
991ba5ede8 [FSD] Style and comments 2020-06-12 18:42:56 +01:00
Klaus Basan
a1f8525fcb [AFV] Make sure the failures go to the log.
see https://discordapp.com/channels/539048679160676382/539846348275449887/707618814237343764
2020-06-12 18:42:56 +01:00
Roland Rossgotterer
9fa3221abc Replace deprecated endl with Qt::endl 2020-06-12 18:42:54 +01:00
Klaus Basan
1e633a5704 [AFV] Use heartbeat to re-connect to AFV
* some utility functions
* reset values after disconnect
2020-06-12 18:42:54 +01:00
Klaus Basan
fccaf1fae1 Fixing some bugs in simulator, use CCrashHandler::instance()->crashAndLogAppendInfo IF NOT shutting down 2020-06-12 18:42:54 +01:00
Klaus Basan
1fb97755ce [Weather] Only send weather if activated 2020-06-12 18:42:54 +01:00
Klaus Basan
bba07ef4c4 [AFV] Signal/handling for authentication failures
* authentication issues in AFV were silently handled
* and there was no re-try, which could mean an initial glitch COULD cause AFV not working properly
* NOW handling in AFV client and context
* also reset connection data so for a new session no old authentication token or check time is used
* check for "invalid" QDateTime(s)
2020-06-12 18:42:54 +01:00
Klaus Basan
9e6716e515 [AFV] Allow to log. input receiver 2020-06-12 18:42:54 +01:00
Klaus Basan
32605cd557 [AFV] Finer granularity for inc./dec. volume (hotkey) 2020-06-12 18:42:53 +01:00
Klaus Basan
f2e0e7b22e [AFV] Renamed to "setGainRatio" as the value does not represent a volume, but a multiplier 2020-06-12 18:42:53 +01:00
Klaus Basan
8848faadfa [AFV] Disabled the device output functions (not used)
Remark: might be used in AFV client, hence kept
2020-06-12 18:42:53 +01:00
Klaus Basan
7d51bedc3e [AFV] misc style issues:
* object name
* simple style fixes
* some renamings
* comments
2020-06-12 18:42:53 +01:00
Klaus Basan
7b49f56695 [FSD] Use errorString for socket errors 2020-06-12 18:42:53 +01:00
Klaus Basan
15b3ac2daa [FSD] Also log/display socker error string 2020-06-12 18:42:52 +01:00
Klaus Basan
1a71d8afe1 Style 2020-06-12 18:42:52 +01:00
Klaus Basan
5678052b5d Ref T786, enable weather in sim. if plugin changed 2020-06-12 18:42:52 +01:00
Klaus Basan
9235f3232e Improvements during shutdown
* stop listeners
* check if airspace monitor and FSD still exist
* stop listeners on "aboutToShutdown()"
* check for processEventsFor(500)
2020-06-12 18:42:52 +01:00
Klaus Basan
4af35e92c1 Ref T786, weather checks
* avoid NULL distances
* avoid incomplete requests
2020-06-12 18:42:51 +01:00
Klaus Basan
17cebfb8d3 Ref T786, further checks (shutdown, empty values) 2020-06-12 18:42:51 +01:00
Klaus Basan
2156eb1831 [Matcher] do not ASSERT without modelstring, try default model or give up 2020-06-12 18:42:50 +01:00
Klaus Basan
70766beea8 Ref T786, make sure to request weather if scenario/settings have changed and/or weather was activated 2020-06-12 18:42:50 +01:00
Klaus Basan
9430bb55cb Ref T786, make sure pending requests can time out and are removed
Avoid one broken requests blocks everything
2020-06-12 18:42:50 +01:00
Klaus Basan
58583d3ffa Ref T786, simulator context
* use identifier based "requestWeatherGrid"
* injectWeatherGrid now public
* clean m_lastWeatherPosition if weather is de-activated
* inject weather CContextSimulator::onWeatherGridReceived

1) this automatically injects the weather, the callback is not needed
2) the callback was the part which crashed
2020-06-12 18:42:50 +01:00
Klaus Basan
7304013eea Ref T786, weather manager
* adjusted to new requestWeatherGrid
* use fetchNextWeatherDataDeferred to make sure follow up calls are decoupled
* for callbacks use weatherRequest.callback.singleShot so it is called in correct thread
2020-06-12 18:42:49 +01:00
Klaus Basan
d5a81a349b Style 2020-06-12 18:42:49 +01:00
Klaus Basan
3be498a347 Ref T786, make sure callbacks are called in correct thread
* callback.singleShot
* shutdown guards, "myself"
* BLACK_VERIFY
* Qt::QueuedConnection
2020-06-12 18:42:49 +01:00
Klaus Basan
388138203e [FSD] Send correct pilot rating, use threadsafe getters in some places
The thread safety is still premature for the FSD client class.
However, most likely no critical as those values have to be preset and never change.
2020-06-12 18:42:49 +01:00
Klaus Basan
4d7468f913 [FSD] Check attributes of full JSON parts 2020-06-12 18:42:48 +01:00