Klaus Basan
0e68bbf851
Ref T129, formatting matcher
2017-10-10 00:27:49 +01:00
Klaus Basan
0d3882032b
Ref T129, use utility function in CFlightPlanUtils in VATSIM file reader
2017-10-10 00:27:48 +01:00
Klaus Basan
784cf287f0
Ref T129, extended flight plan utils
...
* renamed to CFlightPlanUtils::FlightPlanRemarks
* now parsing also SELCAL, airline ICAO
2017-10-10 00:27:46 +01:00
Klaus Basan
21f80ca2e3
Ref T129, formatting VATSIM data reader and minor tweaks
2017-10-10 00:27:44 +01:00
Klaus Basan
b1795c77d8
Ref T129, formatting, removed namespace from signatures when "using namespace"
2017-10-10 00:27:41 +01:00
Klaus Basan
1daa640972
Ref T129, added callsign in flight plan and made flight plan timestamp interface compliant
2017-10-10 00:27:39 +01:00
Klaus Basan
4fc06cf3b0
some vatlib refactoring done along with T129
...
* removed useless if in CNetworkVatlib::onConnectionStatusChanged
* more frequently used pattern "auto *self = cbvar_cast(cbvar)" -> shorter lines
* added const where applicable
* added callsign hint where applicable
* added missing fromFSD where missing
* using QTimer::singleShot as discussed https://swift-project.slack.com/archives/C04J6J76N/p1506729875000004
2017-10-10 00:27:28 +01:00
Klaus Basan
4be7a61922
Ref T129, prephase formatting
2017-10-10 00:27:27 +01:00
Klaus Basan
27ebf3e43d
Ref T168, relay kicked message thru context to UI
...
* new signal in context, connected with VATLIB
* display in UI
2017-10-10 00:27:23 +01:00
Klaus Basan
2aa5ed431f
Ref T167, utility functions in CCoreFacadeConfig and better check in SwiftGuiStd::displayDBusReconnectDialog
2017-10-10 00:27:21 +01:00
Klaus Basan
7a87f986e2
Ref T167, renaming LocalInDBusServer and verifyModelSet
2017-10-10 00:27:17 +01:00
Klaus Basan
988a4791ab
Ref T167, improved tryToReconnectWithDBus
...
* use exit to abort (close might fail)
* core facade init() now private
* CCoreFacade::getDBusAddress
* display DBusAddress
2017-10-10 00:27:14 +01:00
Klaus Basan
ed51d3c5dd
Ref T167, allow to re-init facade
...
(a first approach to reconnect with DBus core)
* Changes are supposed to be backward compliant. Maybe re-init fails, but there should be no regression for the 1st init
* keep config as member to allow restart
* disconnect from DBus before connecting (allows reconnect)
* delete contexts if they are re-created
* function CCoreFacade::tryToReconnectWithDBus
2017-10-10 00:27:06 +01:00
Klaus Basan
9748b5a442
Formatting, comments, Doxygen, minor tweaks
2017-10-10 00:27:03 +01:00
Klaus Basan
c5381b01c6
Ref T166, fixed parse command line: audio context can be empty
2017-09-29 23:26:23 +02:00
Klaus Basan
15e46ba94a
Do not trigger loads if they are doomed to fail
2017-09-27 03:01:03 +02:00
Klaus Basan
40bc75a98c
Ref T164, show (by LED) when consolidating data
...
* added LED in info bar
* signal in background updater and
* connecting them
2017-09-26 20:15:28 +02:00
Klaus Basan
3cf97b3f37
Ref T163, using settings descriptions
...
* renamed to getUnsavedSettingsKeys
* no private slots in close dialog
* use descriptions instead of keys
2017-09-26 20:08:02 +02:00
Klaus Basan
e932f08547
Ref T161, network watchdog calls ping service
2017-09-25 05:23:58 +02:00
Klaus Basan
733ee7853d
Ref T160, ping service URL in setup
2017-09-25 05:23:57 +02:00
Klaus Basan
ec77f9c64b
Ref T160, further formatting
2017-09-25 05:23:57 +02:00
Klaus Basan
d1898b26fc
Ref T160, "private slots" to "private" in setup reader
2017-09-25 05:23:56 +02:00
Klaus Basan
dabe50bcfe
Ref T160, improved / more detailed info for user-agent in requests
...
* renamed to getSwiftNetworkRequest (make clear request is tweaked)
* add details to user request
2017-09-25 05:23:56 +02:00
Mathew Sutcliffe
efe5419e9a
Refs T159 Context method to get unsaved settings keys with their human readable descriptions.
2017-09-24 20:29:30 +01:00
Mathew Sutcliffe
91f6652072
DBus registered objects need fully-qualified type names in method declarations.
2017-09-24 20:29:29 +01:00
Klaus Basan
071f327fca
Follow up of T156, improved setup loading dialog
...
* allow to load the delivered setup file if there are no other data
* display setup cache information
2017-09-24 20:29:27 +01:00
Klaus Basan
bdbf2e75b4
Improved DB reader log messages
2017-09-24 20:29:26 +01:00
Klaus Basan
7cdfe8c914
Settings, added TSettingTrait::humanReadable and used copydoc, T159 related
2017-09-24 20:29:22 +01:00
Klaus Basan
ad32d33aa1
Ref T157, add context for help calls and call dispatcher
2017-09-24 20:29:19 +01:00
Klaus Basan
f07bdc204a
Ref T135, moved TDistributionSetting to BlackCore::Application::TDistribution
...
* own file
* can use loaded distribution info in sApp
2017-09-24 20:29:15 +01:00
Klaus Basan
97f687077c
Ref T135, utility functions for platform guessing and channels
...
* using QSet
* platform guessing
* Doxygen
* word size in CBuildConfig
* renamed to BlackMisc::Db::TDistributionsInfo
2017-09-24 20:29:14 +01:00
Klaus Basan
9770792a91
Include guard renamed
2017-09-24 20:29:13 +01:00
Klaus Basan
8c68f2302c
Ref T149, improved error message for JsonDatastoreResponse able to catch PHP error messages
2017-09-24 20:29:03 +01:00
Klaus Basan
0cf308450e
Ref T149, utility functions for pending URLs
...
* Do not call read twice in info reader
* Threadsafe utility functions
2017-09-24 20:29:02 +01:00
Klaus Basan
52caf795d1
Renamed function to hasSuccesfullyConnectedSwiftDb()
2017-09-24 20:29:01 +01:00
Klaus Basan
1aa8cfb1e8
Formatting, messages
2017-09-24 20:29:00 +01:00
Klaus Basan
3c97d68430
Ref T149, connect reader signals as Qt::QueuedConnection;
2017-09-24 20:28:59 +01:00
Klaus Basan
ec8838198f
Ref T149, improved HeaderResponse/JsonDatastoreResponse
...
* request started/received
* moved timestamp logic to Response class, like headerResponse.setValues(nwReply)
2017-09-24 20:28:57 +01:00
Klaus Basan
155d436788
Ref T150, Ref T156 allow using setup reader in unit test
2017-09-24 20:28:48 +01:00
Klaus Basan
fedcd76a05
Ref T156, allow to interactively resolve setup issues
...
* interactivelySynchronizeSetup
* utility function parseAndSynchronizeSetup, explicit loading of setup
* removed m_startSetupReader;
2017-09-24 20:28:42 +01:00
Klaus Basan
428ba0975c
Ref T156, setup reader adjusted
...
* link with watchdog Ref T150
* allow to disable URL connect checks if setup dialog is used
* refactoring of CSetupReader::parseCmdLineArguments so reparsing is possible
2017-09-24 20:28:37 +01:00
Klaus Basan
a4de52852d
Ref T150, use network watchdog with web data services
...
* removed own checks and use watchdog
* connect with readers to avoid redundant checks
2017-09-24 20:28:35 +01:00
Klaus Basan
46d2f2c048
Ref T150, database reader using watchdog
...
* removed canConnect DB checks, using watchdog
* changed signature to: int requestHeadersOfSharedFiles
* rely on shared working URL from watchdog
2017-09-24 20:28:34 +01:00
Klaus Basan
fdfa2233fb
Ref T150, Ref T156 cleaned up setup reader
...
* grouped functions together if they are based on the same URLs
* renamed functions
* Doxygen comments
2017-09-24 20:28:33 +01:00
Klaus Basan
b20c44a9f3
Ref T150, use watchdog in application
...
* remove own checks
* use watchdog
* connect watchdog to other readers to avoid redundant checks
2017-09-24 20:28:28 +01:00
Klaus Basan
a6855f1891
Ref T150, network watchdog check accessibility in background
...
* no need to check elsewhere with canConnect -> processEventsFor
* many checks were redundant (when I can connect the DB, no need to check internet)
* watchdog can also be connected to other read signals, if models are read elsewhere, it means DB is up
Summary: less checks, less calls of canConnect in main thread
2017-09-24 19:54:32 +01:00
Klaus Basan
afbf3f05c8
Ref T150, utility functions in URL list
...
* renamed to withAppendedPath
* findByHost
* addFailed utility functions
2017-09-24 19:54:30 +01:00
Klaus Basan
fe01a9d4aa
Formatting, typos
2017-09-24 19:54:28 +01:00
Klaus Basan
6d11ea2435
Unified formatting of member m_XXX
2017-09-24 19:54:27 +01:00
Klaus Basan
dbe66eceb2
Ref T149, get URL logs from web data services
2017-09-24 19:54:26 +01:00