Roland Winklmeier
069bfb921f
Prevent sending the flightplan only if there are validation errors or warnings
...
Summary:
The flight plan initialization always contains messages. In case everything
was fine, it contains the info validation messages, that validation
passed. So messages is never empty and the flight plan was never sent out.
Instead, it should stop sending the flight plan if there were validation
errors or warnings.
Reviewers: #swift_pilot_client, kbasan
Reviewed By: #swift_pilot_client, kbasan
Subscribers: jenkins
Maniphest Tasks: T206
Differential Revision: https://dev.swift-project.org/D71
2017-12-13 09:42:26 +01:00
Roland Winklmeier
f53ec46d20
Change the operating system name from OSX to MacOS everywhere
...
Summary:
- Changed the name in all build artifacts
- Everywhere in C++
Reviewers: #swift_pilot_client, kbasan
Reviewed By: #swift_pilot_client, kbasan
Subscribers: jenkins
Maniphest Tasks: T205
Differential Revision: https://dev.swift-project.org/D69
2017-12-06 22:50:19 +01:00
Mathew Sutcliffe
dbb67b385b
Ref T184 Moved CTokenBucket from BlackCore to BlackMisc.
2017-11-12 13:48:02 +00:00
Mathew Sutcliffe
7328d48e59
Ref T184 Optimization: getSelectedDockInfoArea iterates over all info areas in linear O(n) time.
...
There is no need to do this in isSelectedDockWidgetInfoArea, as it can be checked in constant O(1) time.
This method was occupying a significant proportion of the CPU time of swift.
2017-11-12 13:48:00 +00:00
Mathew Sutcliffe
3e47bdcebc
Ref T184 Minor simplification.
2017-11-12 13:47:59 +00:00
Klaus Basan
878498cc9d
Ref T184, formatting
2017-11-12 04:21:56 +01:00
Klaus Basan
9a2c4573dc
Ref T184, only search in own direct children
...
https://swift-project.slack.com/archives/C04J6J76N/p1510427932000021
* CInfoArea::findOwnDockWidgetInfoAreas
* CInfoArea::findOwnChildInfoAreas
2017-11-12 04:21:55 +01:00
Klaus Basan
e9e2ac1e03
Ref T189, minor UI fixes for mapping component
2017-11-11 02:36:37 +01:00
Klaus Basan
f21f3719a4
Ref T180, toggleTabBarPosition still requires old slot style
2017-11-09 20:02:56 +01:00
Klaus Basan
4cb404c91d
Ref T184, formatting
2017-11-09 04:42:23 +01:00
Klaus Basan
67711ba55e
Ref T184, private/protected slots -> private/protected
2017-11-09 04:42:23 +01:00
Klaus Basan
72d3756605
Ref T184, keep list of child widgets, do not always search
2017-11-09 04:42:22 +01:00
Klaus Basan
4a6efe0fbe
Ref T182, show image as overlay (and not as label, which is too small)
2017-11-09 04:42:18 +01:00
Klaus Basan
06b184a747
Ref T182, overlay messages can be closed + some fixes
...
* no slots needed
* check for nullptr
* init kill button correctly
2017-11-09 04:42:17 +01:00
Klaus Basan
0de9a2afc2
Ref T182, mapping / overlay component formatting
2017-11-09 04:42:16 +01:00
Klaus Basan
ad31868a3a
Ref T182, "private slots" -> "private" in model matcher component
2017-11-09 04:42:14 +01:00
Klaus Basan
482023b2c0
Ref T180, dot commands to set rendering setup
...
* enable parts/debug messages via dot command
* allow to log to console via application context
2017-11-06 22:20:59 +01:00
Klaus Basan
1bf2f63589
Ref T180, text message component "private" -> "private slots"
2017-11-05 20:02:37 +01:00
Klaus Basan
4972fe0af2
Ref T180, check callsign completer agains shared values
...
* avoid unnecessary loads via DBus
* fixes wrong m_validCallsign values (not updated)
* no signal when edited but no value changed
2017-11-05 20:02:36 +01:00
Klaus Basan
2d9bcc3e06
Ref T180, functions to access existing values in shared stringlist completer
2017-11-05 20:02:35 +01:00
Klaus Basan
93a29b2b11
Ref T180, formatting
2017-11-05 20:02:06 +01:00
Klaus Basan
88872f9f3a
Ref T180, setup loading dialog
...
* UI adjustments, style sheet
* use connectOnce for QFileSystemModel::directoryLoaded
2017-11-04 21:44:41 +01:00
Klaus Basan
20316fd77d
Ref T180, minor renaming
2017-11-04 21:44:37 +01:00
Klaus Basan
c733705209
Ref T180, pilot client UI formatting (form layout)
2017-11-04 16:03:52 +01:00
Klaus Basan
d5bb1733f4
Ref T180, formatting / const
2017-11-04 16:03:40 +01:00
Klaus Basan
3876b010cb
Ref T176, set selection mode deferred because otherwise it will be overidden from UI builder code
2017-10-31 15:39:40 +01:00
Klaus Basan
0445a88d6d
Ref T176, setting scrollbar policy (vertical) to "always" avoids overflow
2017-10-31 15:39:39 +01:00
Klaus Basan
0b388cb103
Ref T177, addressing some overlay messages frame issues
...
* use enum for buttons
* removed unused declaration setInnerFrameFactor
* private slots -> private
2017-10-31 15:39:38 +01:00
Klaus Basan
1fda080070
Ref T177, UI layout of settings component
2017-10-31 15:39:37 +01:00
Klaus Basan
2e307555a2
Ref T177, clear highlighting once new models are stashed
2017-10-31 15:39:35 +01:00
Klaus Basan
b74623599e
Ref T118, color search follow up formatting
2017-10-31 15:39:28 +01:00
Klaus Basan
585d82f84b
Minor UI formatting
2017-10-31 15:39:25 +01:00
Klaus Basan
bd2b6ebbd8
Ref T118, adjust model dirs if sim directory changes
2017-10-31 15:39:23 +01:00
Klaus Basan
58c4e36413
Ref T118, settings simulator formatting
2017-10-31 15:39:23 +01:00
Klaus Basan
53b31600a5
Ref T118, minor fix to allow easy testing of the multinline issue
2017-10-31 15:39:22 +01:00
Klaus Basan
5612033924
Minor fixes, formatting, static const
2017-10-31 15:39:19 +01:00
Klaus Basan
11f15c6692
Ref T176, clear old messages when publishing
...
(no idea why I have originally kept them)
2017-10-31 15:39:17 +01:00
Klaus Basan
dd9cff778f
Ref T118, "private slots" -> "private"
2017-10-31 15:39:15 +01:00
Klaus Basan
2f0253b3eb
Ref T118, support multiple model directories
...
* this was recently discussed https://swift-project.slack.com/archives/C04J6J76N/p1508430536000065
* for config parser already implemented
* for XP the loading from multiple dirs still needs to be implemented (see todo)
2017-10-31 15:39:15 +01:00
Klaus Basan
e920dc77b8
Ref T118, formatting
2017-10-31 15:39:12 +01:00
Klaus Basan
bf390f592a
Ref T171, formatting of some existing completers
...
* private slots -> private
* this->m_ -> m_
* removed unused utility function (model string completer)
2017-10-18 22:58:57 +02:00
Klaus Basan
73c76155f7
Ref T171, move completer utility function in own class
2017-10-18 22:58:56 +02:00
Klaus Basan
d348226283
Ref T171, use a shared completer for callsign completion
...
* CSharedStringListCompleter utility class supporting timestamp checks
* avoid unnecessary DBus transfer
* less memory consumption
Remark: No totally clear if a QCompleter can be shared, but I have not noticed a problem so far
2017-10-18 22:58:56 +02:00
Klaus Basan
9a672dfec7
Ref T171, modelmatcher log component formatting
2017-10-18 22:58:44 +02:00
Klaus Basan
aa52889767
Ref T171, use callsign completer in history and matcher log
...
* "private slots" -> "private"
* UI connects as Qt::QueuedConnection
2017-10-18 22:58:44 +02:00
Klaus Basan
a51f696bee
Ref T171, callsign completer class
...
* completer used in 3 places, makes sense to encapsulate as class
* automatically updating from network context
2017-10-18 22:58:43 +02:00
Klaus Basan
0f968909e7
Ref T171, formatting
2017-10-18 22:58:41 +02:00
Klaus Basan
268f6049d3
Ref T171, LED class formatting
2017-10-18 22:58:40 +02:00
Klaus Basan
dd652a755a
Ref T171, fixed wrong reset state in LED (always off)
...
- distinguish between value and state
- protected -> private (no need for protected)
2017-10-18 22:58:39 +02:00
Mathew Sutcliffe
0cf6034a29
Don't use member access notation to call static methods.
2017-10-10 00:56:54 +01:00