Commit Graph

4159 Commits

Author SHA1 Message Date
Klaus Basan
4ef64e4e22 refs #883, new log categories 2017-02-24 15:22:03 +00:00
Klaus Basan
d980f99300 refs #883, support for "single application" in CApplication 2017-02-24 15:22:01 +00:00
Klaus Basan
abbcd18d82 refs #883, shortcuts for dock widgets 2017-02-24 15:22:00 +00:00
Klaus Basan
c460505d2e refs #883, refs #869 using ping as socket is slow/sometimes has trouble 2017-02-24 15:21:59 +00:00
Klaus Basan
3b3cdf4566 refs #883, launcher improvements
* check if core is running before starting pilot client DBus UI
* avoid starting pilot client when already running
* save UI state (cache)
* made lauchner BlackMisc::CIdentifiable
2017-02-24 15:21:58 +00:00
Klaus Basan
5d81b23386 refs #883, some UI finetuning / Doxygen comments 2017-02-24 15:21:57 +00:00
Klaus Basan
6c72f8491c refs #883, improved detection if core is running
* use proxy to really ping core (not only checking connection)
* avoid closing Qt default connections -> crash
* some refactoring
2017-02-24 15:21:55 +00:00
Klaus Basan
d918ee4cfd refs #883, class for storing the launcher state
* removed DBus setting (causing crash as it was shared among launcher/pilot client, so using cache)
* also remember UI values
2017-02-24 15:21:54 +00:00
Klaus Basan
92100c85f7 refs #883, added utility function ping 2017-02-24 15:21:53 +00:00
Klaus Basan
1619a5ceb3 Formatting application context 2017-02-24 15:21:52 +00:00
Klaus Basan
4a31fa1cba refs #883, improved layout of launcher`s "new version" section
* group boxes
* header bar if new version is avilable
2017-02-24 15:21:50 +00:00
Klaus Basan
c5b4b01a90 refs #883, display of news/about
* use QTextBrowser, external links will be opened in browser
* display about in credits tabs
* added shortcuts for tabs

Remark: Gives us a first (not perfect) version of news/about in launcher
2017-02-24 15:21:49 +00:00
Klaus Basan
8df2fa462f refs #883, unified local links, also copy legal to build dir 2017-02-24 15:21:48 +00:00
Klaus Basan
dd37945625 refs #883, added new "directories"
* directories for in buildconfig/globalsetup
* renamed to CBuildConfig::getSwiftShareDir
2017-02-24 15:21:47 +00:00
Klaus Basan
a0b5258346 refs #883, launcher can be started from the applications and navigator 2017-02-24 15:21:45 +00:00
Klaus Basan
24a9b332b0 refs #883, application class extended
* allow to register application as running (needed for launcher)
* getExecutableForApplication
* swift launcher can be started
2017-02-24 15:21:44 +00:00
Klaus Basan
c8c18b0b21 refs #883, utility functions
* get executable names
* containsApplication
2017-02-24 15:21:43 +00:00
Klaus Basan
7bc53ada3e refs #883, fixes and formatting
* QProcess::startDetached is static, removed startNewProcess
* QStringBuilder
2017-02-24 15:21:42 +00:00
Klaus Basan
455d9c7b7d refs #883, added menus for core and assigned shortcuts to menu items 2017-02-24 15:21:40 +00:00
Klaus Basan
a57b83f9de refs #879, moved testdata into small files
motivated by MS comment
2017-02-24 15:21:39 +00:00
Klaus Basan
368b955c66 refs #883, Kill button for overlay error messages
Example: swift pilot client started for core, but core not running. There is no way to stop the application as there are permanent errors.
2017-02-24 15:21:38 +00:00
Klaus Basan
83dbd3fcb6 refs #883, display core mode selection first
* show news only if new
* removed duplicate call of this->ps_loadedUpdateInfo (avoid redundant loads)
2017-02-24 15:21:37 +00:00
Klaus Basan
f73ee87e13 refs #882, support redirect transparently in CApplication
* SSL client certificate functionality used from utils
* support for max redirects

Remark:
QNetworkRequest::FollowRedirectsAttribute would allow auto redirect, but we use our approach as it gives us better control
2017-02-24 15:21:35 +00:00
Klaus Basan
74db515802 refs #882, support for 30x redirect and some more utility functions
* CNetworkUtils::setSwiftClientSslCertificate for shared URLs
* redirect functions
2017-02-24 15:21:34 +00:00
Klaus Basan
14125bf030 refs #881, possible fix for duplicates in combobox 2017-02-24 15:21:33 +00:00
Klaus Basan
8741b66578 refs #881, minor formatting/improvements 2017-02-24 15:21:32 +00:00
Klaus Basan
f581a40b75 refs #881, utility functions for identifier list 2017-02-24 15:21:31 +00:00
Klaus Basan
e73c8c4f36 refs #879, use test data in samples/unit tests 2017-02-24 15:21:30 +00:00
Klaus Basan
4b506f20ab refs #879, test data class
* added and renamed functions
* added some DB data
2017-02-24 15:21:28 +00:00
Klaus Basan
2f14886db5 refs #879, added utility function toQList in collection 2017-02-24 15:21:27 +00:00
Klaus Basan
5bea0e2a96 refs #879, added ctor for CSimulatedAircraft / CPropertyIndexVariantMap::size() 2017-02-24 15:21:26 +00:00
Klaus Basan
9b56c5bf51 refs #879, added static fromJson 2017-02-24 15:21:25 +00:00
Klaus Basan
d997ec1e30 refs #879, added std::initializer_list in CVariantList 2017-02-24 15:21:24 +00:00
Klaus Basan
f71cb04cd2 Formatting (#879) 2017-02-24 15:21:23 +00:00
Klaus Basan
20921b79b8 refs #875, refs #879, move functions only needed in performance samples to CSamplesPerformance
Also made some sample functions private
2017-02-24 15:21:21 +00:00
Klaus Basan
dc1d5d8586 refs #875, refs #879, renamed CTestUtils to CDBusUtils
* class now only contains DBus related code
* other functions have been moved to CTesting
2017-02-24 15:21:20 +00:00
Klaus Basan
d1827bd162 refs #875, refs #879, moved data generating functions to CTesting
(will be further split up/refactored)
2017-02-24 15:21:19 +00:00
Klaus Basan
7917769802 refs #875, adjusted using classes to use new namespaces 2017-02-24 15:21:18 +00:00
Klaus Basan
ed820da20d refs #875, refs #879, class for test data
(will be consolidated with existing utility classes)
2017-02-24 15:21:16 +00:00
Klaus Basan
ae5b0310b6 refs #875, moved already existing test utility classes to BlackMisc::Test 2017-02-24 15:21:15 +00:00
Klaus Basan
31b6ef83f0 refs #875, moved DBus test classes to blackmisc
https://dev.vatsim-germany.org/issues/875#note-8
2017-02-24 15:21:14 +00:00
Klaus Basan
09ea40a1f7 refs #875, skip context unit test (DBus related) with no session bus 2017-02-24 15:21:13 +00:00
Klaus Basan
87fc64f86d refs #875, PODType
Clang: const type without a user-provided default constructor
2017-02-24 15:21:11 +00:00
Klaus Basan
d864171358 refs #875, fix for containers being class members 2017-02-24 15:21:10 +00:00
Mathew Sutcliffe
13682e5760 refs #875 Fixed regression of refs #411 caused by refs #628. 2017-02-24 15:21:09 +00:00
Klaus Basan
3de16cbec1 refs #877, CSimulatedAircraft DBus signature size
* reduce size by storing models in list
* using an array for the models failed - not supported by tuple system
2017-02-24 15:21:08 +00:00
Klaus Basan
113fe2ec5a refs #878, fixes CAirport for DBus 2017-02-24 15:21:07 +00:00
Klaus Basan
f2e49987e0 refs #875, adjusted servicetool (DBus samples)
* use functions from blackcore/test
* show signatures
2017-02-24 15:21:05 +00:00
Klaus Basan
9beb6c79e1 refs #875, renamed to getKnownLocalIpV4Addresses() 2017-02-24 15:21:04 +00:00
Klaus Basan
e28056ac2f refs #875, unit tests for DBus 2017-02-24 15:21:03 +00:00