Commit Graph

1342 Commits

Author SHA1 Message Date
Mathew Sutcliffe
d5ab73e1bc Replace QRegExp with QRegularExpression
Reviewers: kbasan, msutcliffe

Reviewed By: kbasan, msutcliffe

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D11
2017-05-05 23:08:35 +01:00
Klaus Basan
9f4f06a436 Ref T28, consolidated reading
* fixed newer parameter
* unified handling of incremental updates
* skip cache update when there was no incremental data
2017-05-05 23:08:09 +01:00
Klaus Basan
f12b69bb87 Ref T28, background updater: consolidate DB and model data in background
* automatically reload DB data
* consolidate models with DB data
2017-05-05 23:07:55 +01:00
Klaus Basan
6a96913974 Ref T28, new model consolidation function
(updates models with DB data)
2017-05-05 23:07:53 +01:00
Klaus Basan
65a716a61d Ref T28, renaming to getLatestDbEntityTimestamp 2017-05-05 23:07:49 +01:00
Klaus Basan
595c71b387 Used timer no longer pointer 2017-05-05 23:07:45 +01:00
Klaus Basan
74e0bf397f Ref T42, application classes
* GUI classes allow retry
* longer timeouts
* accept unknow accessibility (QAM)
* QAM now as pointer, which would allow to replace QAM

When QAM becomes disconnected, then connect again it is in unknown state
2017-05-05 23:07:42 +01:00
Klaus Basan
212bb6b485 Ref T42, setup reader
* cache can be prefilled
* renamed to ps_readDistributionInfo
* network issues -> chance to retry
2017-05-05 23:07:40 +01:00
Klaus Basan
297ef8ea16 Ref T42, single quote around value 2017-05-05 23:07:36 +01:00
Klaus Basan
6ebbf58f79 Formatting 2017-05-05 23:07:34 +01:00
Klaus Basan
8ad7c1e3c7 Fixed issue with still using header instead of info object data
plus some utility functionality
2017-05-05 22:40:10 +01:00
Roland Winklmeier
862794cb02 Add audio device settings
Summary:
Up to now, the audio device settings were not persistent. With this
commit, the last audio device will be restored after application
start.

Reviewers: kbasan, msutcliffe

Reviewed By: msutcliffe

Differential Revision: https://dev.swift-project.org/D7
2017-05-05 22:40:04 +01:00
Klaus Basan
61a140a5a4 Ref T32, add query parameter for swift application 2017-04-21 03:12:39 +02:00
Klaus Basan
0696eed04f Ref T24, adjusted web data services
* no longer using header timestamps, removed functions
* renamed functions to distinguish shared/DB info data
* added 2nd reader m_sharedInfoDataReader
2017-04-20 20:41:29 +02:00
Klaus Basan
77c539b650 Ref T24, adjusted readers
* utility functions for shared info objects (count/timestamp)
* support for shared and DB info objects
* renamed functions reflecting using info objects now (no longer headers)
2017-04-20 20:38:30 +02:00
Klaus Basan
db3370f8f7 Ref T24, shared info file name and flag for SharedInfoObjectEntity 2017-04-20 20:38:30 +02:00
Klaus Basan
485c95101b Ref T24, preparations to read dbinfo.json for shared files
This will replace http header file timestamps
* read function in info reader has retrieval mode flag, unused parameters removed
* waitForDbInfoObjects/getDbInfoDataReader (added "Db"), there will be a 2nd reader
* CWebReaderFlags::DbInfoDataReader (added "Db")
* removed ps_read, only read (public)
2017-04-20 20:38:06 +02:00
Mathew Sutcliffe
e3fe8ec39f refs #937 Resolved clazy warnings: miscellaneous. 2017-04-19 19:31:50 +01:00
Mathew Sutcliffe
2134b4e874 refs #937 Resolved clazy warnings: wrong usage of emit keyword. 2017-04-19 19:31:48 +01:00
Mathew Sutcliffe
045b149164 refs #937 Resolved clazy warnings: Q_ENUMS is deprecated. 2017-04-19 19:31:47 +01:00
Mathew Sutcliffe
a8302b310e refs #937 Resolved clazy warnings: QString::arg. 2017-04-19 19:31:45 +01:00
Mathew Sutcliffe
b20ebd6dfd refs #937 Resolved clazy warnings: rule of three. 2017-04-19 19:31:44 +01:00
Mathew Sutcliffe
3ea9e33e6b refs #937 Resolved clazy warnings: pass-by-value/reference. 2017-04-19 19:31:42 +01:00
Mathew Sutcliffe
b7f69c6887 refs #937 Resolved clazy warnings: unnecessary memory allocation. 2017-04-19 19:31:39 +01:00
Mathew Sutcliffe
fce1513dae refs #937 Resolved clazy warnings: unnecessary detaching of containers. 2017-04-19 19:31:38 +01:00
Klaus Basan
864fa88c65 refs #935, added cmdline args for crashpad server 2017-04-19 19:31:17 +01:00
Klaus Basan
6c76e0fea6 refs #935, globalsetup.cpp(369): warning C4503 2017-04-19 19:31:16 +01:00
Klaus Basan
6802246276 Formatting 2017-04-19 19:31:13 +01:00
Klaus Basan
1c2ca5fca1 refs #935, avoid timestamp "overflow" 2017-04-19 19:31:05 +01:00
Klaus Basan
f34e80ea62 refs #935, avoid issues when shutting down 2017-04-19 19:31:02 +01:00
Klaus Basan
d475246941 refs #935, add log. categories for vatlib 2017-04-19 19:31:00 +01:00
Klaus Basan
f2d89bf56c Fixed misc. things for bootstrap file/reader
* added help URL
* added swift map URL
* fixed typo for crash report server
* added more failover servers
2017-04-19 19:30:58 +01:00
Klaus Basan
2d56167e65 Misc: removed redundant default value (settings), formatting, hide kill button 2017-04-18 00:08:25 +01:00
Klaus Basan
8143add432 Show distribution file URL in distribution component (tooltip) 2017-04-18 00:08:14 +01:00
Klaus Basan
5c32a912f3 Based on unit test failure (clang):
* now ignore incomplete entities for airline/aircraft ICAOs from DB
* utility functions to find invalid designators
* adjusted unit test, avoid taking a random element
* and fixed 4 wrong ICAO entries in DB
2017-04-18 00:08:08 +01:00
Klaus Basan
4bb29de652 refs #930, support compression for uploads in DB writer 2017-04-18 00:08:05 +01:00
Klaus Basan
f2602a8915 Formatting, const, Doxygen
#930
2017-04-18 00:08:02 +01:00
Klaus Basan
660798e43c refs #930, moved multipart functions to database utils and added support for compression 2017-04-18 00:08:00 +01:00
Klaus Basan
03cbdcddc2 refs #930, unified signal emit/log when data are read 2017-04-18 00:07:57 +01:00
Klaus Basan
976af53516 refs #930, use compression enabled functions in specialized readers 2017-04-18 00:07:54 +01:00
Klaus Basan
de80053c7c refs #930, utility conversion functions supporting compression 2017-04-18 00:07:52 +01:00
Klaus Basan
da59ff42a4 Formatting, comments
#930
2017-04-18 00:07:50 +01:00
Klaus Basan
a22631777d Check on reader to avoid redundant error messages 2017-04-18 00:07:24 +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
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
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
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