Commit Graph

4456 Commits

Author SHA1 Message Date
Roland Winklmeier
5c37ccdbeb Use CProcessCtrl::startDetached in dbus server and sample
refs #866
2017-04-18 00:07:41 +01:00
Roland Winklmeier
b80f204293 Refactor CProcessCtrl to start detached with or without console
QTBUG-53833 - which caused a console application to launch with a console
if it was started with QProcess::startDetached - is fixed in 5.8.0.
There were use cases for both options - with and without console -
but not offered by Qt API. Therefore CProcessCtrl is refactored  as a
wrapper to offer both options. If no console is required, it defaults to
QProcess::startDetached. Otherwise uses its own implementation.

refs #866
2017-04-18 00:07:39 +01:00
Klaus Basan
5ab1ae7193 refs #902, refs #887, avoid oversize combobox 2017-04-18 00:07:37 +01:00
Klaus Basan
0f57385325 refs #902, qss GroupBox margin 2017-04-18 00:07:34 +01:00
Klaus Basan
dcf0fa6b5a refs #902, refs #921, own version parsing (4th segment) 2017-04-18 00:07:29 +01:00
Klaus Basan
ba45da4851 Changed RegExp to match new file format
swift-installer-linux-64-0.7.3.20170402204123.run
2017-04-18 00:07:27 +01:00
Klaus Basan
a22631777d Check on reader to avoid redundant error messages 2017-04-18 00:07:24 +01:00
Klaus Basan
6863bf2937 refs #927, linked button with component 2017-04-18 00:07:22 +01:00
Klaus Basan
81caa32003 refs #927, streamlined audio/audio setup component 2017-04-18 00:07:20 +01:00
Klaus Basan
05761b6e07 refs #927, added audio button in keypad area 2017-04-18 00:07:17 +01:00
Roland Winklmeier
b4878a2bc0 Change description in swift installer
refs #902
2017-04-18 00:07:15 +01:00
Roland Winklmeier
06760ed8ea Fix typo
refs #902
2017-04-18 00:07:13 +01:00
Klaus Basan
9ec452f1c4 Minor, string building 2017-04-18 00:07:10 +01:00
Klaus Basan
9faad01c8b refs #921, changed setup/reader to distribution URL 2017-04-18 00:07:08 +01:00
Klaus Basan
10c8f7c50a refs #921, new file is distribution.json 2017-04-18 00:07:05 +01:00
Klaus Basan
127f1bc38c Set started flag correctly
Parsing will disable starting if there is an issue with the cmd line (mostly network not available, bootstrap URL not reachable).
2017-04-18 00:07:03 +01:00
Klaus Basan
a4a3dd1504 refs #921, support both timestamp formats
* DB
* JSON object (backend side)
2017-04-18 00:07:01 +01:00
Klaus Basan
f85501c7bf refs #921, use QVersionNumber
* CVersion removed
* remaining utility functions moved to CBuildConfig
* patch version -> micro version (Qt naming)
* using classes adjusted
2017-04-18 00:06:58 +01:00
Klaus Basan
ec297d5838 Formatting, typos 2017-04-18 00:06:53 +01:00
Klaus Basan
9eb67edddf refs #921, avoid issue when called during shutdown 2017-04-18 00:06:50 +01:00
Klaus Basan
d4fbf8b49c Typo 2017-04-18 00:06:47 +01:00
Klaus Basan
09a71feef4 refs #921, adjusted application class to use distribution info 2017-04-18 00:06:45 +01:00
Klaus Basan
d1a72f8d62 refs #921, adjusted reader to use distribution info 2017-04-18 00:06:42 +01:00
Klaus Basan
83a80bf739 refs #921, moved distribution info UI into an own component 2017-04-18 00:06:40 +01:00
Klaus Basan
cbf69d9847 refs #921, remove UpdateInfo class (now distribution list) 2017-04-18 00:06:37 +01:00
Klaus Basan
929e2883d0 refs #921, renaming follow ups 2017-04-18 00:06:34 +01:00
Klaus Basan
0b29ef3f78 Clang warnings 2017-04-18 00:06:32 +01:00
Klaus Basan
7cd49d38d9 refs #921, support for 4 segment version number 2017-04-18 00:06:29 +01:00
Klaus Basan
8299552812 refs #921, string utility functions 2017-04-18 00:06:26 +01:00
Klaus Basan
5ce704c963 refs #921, distribution value object/object list
* registration
* property index
2017-04-18 00:06:24 +01:00
Klaus Basan
e787d50e47 refs #923, use CVariant JSON to load/save flight plan 2017-04-18 00:06:22 +01:00
Klaus Basan
ff4b37b3fe refs #923, use CVariant JSON to load/save from view 2017-04-18 00:06:19 +01:00
Klaus Basan
864e64e295 refs #911, shortcut for cut/copy
* changed unselect
* use CTRL+C for copy
2017-04-18 00:06:17 +01:00
Klaus Basan
08f8916344 refs #922, refs #911, JSON cut/copy/paste
* utility function for CVariant
* use CVariant for cut/copy/paste
2017-04-18 00:06:15 +01:00
Mathew Sutcliffe
5ba438699f CManagedStatusBar: don't display a message if already displaying one with a higher severity. 2017-04-18 00:06:13 +01:00
Mathew Sutcliffe
3011c3a7ed Treat traffic network connection failure as a non-validation message, so it gets its own overlay messagebox. 2017-04-18 00:06:10 +01:00
Mathew Sutcliffe
c1a82ad60e Fixed undescriptive error message generated by CNetworkUtils::canConnect. 2017-04-18 00:06:08 +01:00
Roland Winklmeier
9dbb984e1a Split listening for simulators and loading their plugins
Previously loadSimulatorPlugin was doing two things. First starting
a listener and second loading the plugin itself. This was confusing
since the sequence is to listen first and load not before a simulator
is available.
This change splits this up properly into two methods. listenForSimulator()
is called when the plugin is started and as soon as a simulator is started,
its plugin will be loaded.

refs #909
2017-04-18 00:06:06 +01:00
Roland Winklmeier
aafe211b5c Make simulator listeners safe against multiple starts
refs #909
2017-04-18 00:06:03 +01:00
Roland Winklmeier
0eaab1753d Unload simulator driver when unchecked in settings
refs #909
2017-04-18 00:06:01 +01:00
Roland Winklmeier
53abc6aaa3 Include cleanup
refs #918
2017-04-18 00:05:59 +01:00
Roland Winklmeier
5958669bf1 Refactor queryToQString to queryStringFileInfo
String building is now done using QString::arg.
Renamed the method to clearer state what it does.

refs #918
2017-04-18 00:05:57 +01:00
Roland Winklmeier
959c290108 Initialize value type and cast to void pointer before passing to VerQueryValue
refs #918
2017-04-18 00:05:54 +01:00
Roland Winklmeier
621f6f6ca7 Fix -fpermissive error with MinGW
Changed const vector output buffer parameter to non-const raw pointer.
Writing to const vector is not possible, and vector was not necessary

refs #918
2017-04-18 00:05:52 +01:00
Roland Winklmeier
a92a9f13f4 Use QString::arg() instead of QString::sprintf()
QString::sprintf() and also QString::asprintf are both not recommended
to be used in new code.

refs #918
2017-04-18 00:05:50 +01:00
Roland Winklmeier
87420e7890 Use C++11 features in CWinDllUtils
* Use std::vector::data() to get a raw pointer
* Use reinterpret_cast instead of C style cast
* Consistenly use generic WINAPI functions without suffix

refs #918
2017-04-18 00:05:48 +01:00
Klaus Basan
06ab91334b refs #921, changed name of installer 2017-04-18 00:05:45 +01:00
Klaus Basan
102a0d51a0 Added BLACK_VERIFY 2017-04-18 00:05:43 +01:00
Klaus Basan
46521c5560 refs #911, copy menu 2017-04-18 00:05:41 +01:00
Klaus Basan
fc3a36512e refs #911, paste support in forms
* added paste icon
* base class utility functions
* implemented paste for livery, airline and aircraft ICAO
2017-04-18 00:05:38 +01:00