Commit Graph

4572 Commits

Author SHA1 Message Date
Klaus Basan
94fbfeefdb Fixed bug in load overview 2017-05-05 23:08:32 +01:00
Klaus Basan
0fd3857b87 Ref T28, allow to set updater to really show if it is "on" 2017-05-05 23:08:28 +01:00
Klaus Basan
e7e984227b Ref T28, allow access to settings component 2017-05-05 23:08:22 +01:00
Klaus Basan
5b3097a2b0 Ref T28, description for cache 2017-05-05 23:08:18 +01:00
Klaus Basan
c9afc68309 Ref T28, do not change simulator selector when only cache update 2017-05-05 23:08:13 +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
c0320609b3 Ref T28, minor improvements 2017-05-05 23:08:06 +01:00
Klaus Basan
c3ed0bc394 Ref T28, removed areModelFilesUpdated and info if loading was from cache
* removed CacheUntilNewer
* did not really work and had some problems
* cache timestamp not really a good value to compare with
* too slow with remote file
2017-05-05 23:08:04 +01:00
Klaus Basan
6fc48ab160 Ref T53, "bulkadd" role in UI/user 2017-05-05 23:08:02 +01:00
Klaus Basan
66e729b090 Ref T28, using background updater in mapping tool 2017-05-05 23:08:00 +01:00
Klaus Basan
f4af5e6cc1 Ref T28, settings for updater 2017-05-05 23:07:57 +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
4d156ad8fc Ref T28, description for caches 2017-05-05 23:07:51 +01:00
Klaus Basan
65a716a61d Ref T28, renaming to getLatestDbEntityTimestamp 2017-05-05 23:07:49 +01:00
Klaus Basan
a0f2a168f9 Ref T28, utility functions to get timestamps 2017-05-05 23:07:46 +01:00
Klaus Basan
595c71b387 Used timer no longer pointer 2017-05-05 23:07:45 +01:00
Klaus Basan
d7ae3712dd Ref T59, stash validation triggered by "stash" button
From non stash tabs not using full validation
2017-05-05 23:07:43 +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
d46257f670 Ref T42, util function to create network report 2017-05-05 23:07:38 +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
420e80a437 Ref T41, prg version can be checked when it is not new 2017-05-05 23:07:31 +01:00
Roland Winklmeier
ee75d5f900 Use customized dbus binaries on MacOS 2017-05-05 23:07:29 +01:00
Mathew Sutcliffe
816f3bd48e New X-Plane flyable plane model string schema
Summary:
New aircraft for XP11 should include a name, author, and studio. These can be used to generate a better model string that doesn't depend on file or directory names.

If the `.acf` contains studio, this is used as the distributor. Otherwise, we use author as distributor instead (truncated in case it is a long list of names).

Then the model string is constructed by combining distributor and model name. If the model name already contains the distributor, we just use the model name.

If the name and distributor are missing, we fall back to the old scheme based on `.acf` filename and dirname.

I have also added a space between aircraft and livery. And I have added default description strings.

After this has landed and been deployed to users, we will need to remove all flyable X-Plane planes from the database and start again with them. (These are the excluded ones.) And we can't accept mappings that use the fallback old scheme if the submitted has renamed the `.acf` file or directory name.

Reviewers: rwinklmeier, kbasan

Reviewed By: kbasan

Subscribers: jenkins

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D16
2017-05-05 23:07:28 +01:00
Mathew Sutcliffe
fbc9c37646 X-Plane model loader: performance tweaks.
Summary:
Using `QStringRef` and `QLatin1String` to avoid unnecessary allocations and conversions.

Depends on D12.

Reviewers: rwinklmeier, kbasan

Subscribers: jenkins

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D13
2017-05-05 23:07:27 +01:00
Mathew Sutcliffe
4e23cd1382 X-Plane model loader: support extra properties of .acf files
Summary:
There are optional fields in an X-Plane flyable aircraft that we can use if they are present:

* Description
* Name
* Distributor

If not present, the user has to edit them manually.

@kbasan Any problem with constructing a `CDistributor` with empty db key?

Reviewers: rwinklmeier, kbasan

Reviewed By: rwinklmeier

Subscribers: jenkins, kbasan

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D12
2017-05-05 23:07:25 +01:00
Mathew Sutcliffe
4a4dea8d4d Rename xbus to xswiftbus
Summary:
I wanted to rename xbus because its relation to //swift// is not immediately clear from the name.

xswiftbus seems reasonable.

Reviewers: #swift_pilot_client, kbasan

Reviewed By: kbasan

Subscribers: kbasan, jenkins

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D14
2017-05-05 23:07:11 +01:00
Klaus Basan
83adc66ec7 Ref T41, download auto info triggered in mapping tool 2017-05-05 22:44:07 +01:00
Klaus Basan
b2d95f471e Ref T41, download dialog available for all swift UI applications 2017-05-05 22:44:05 +01:00
Klaus Basan
5aa9cb1dca Ref T41, default values for channel/platform
Later I want to get rid of such hardcoded values, but for now it is a workaround
2017-05-05 22:43:57 +01:00
Klaus Basan
7f0a971b4a Ref T41, adjusted info component to be used with dialog 2017-05-05 22:40:51 +01:00
Klaus Basan
d1bf788f07 Ref T41, independent dialog for downloading swift 2017-05-05 22:40:48 +01:00
Klaus Basan
8ac609a166 Formatting and UI fixes 2017-05-05 22:40:46 +01:00
Roland Winklmeier
a3bc5c2936 Add <swiftInstall>/bin to library lookup paths
Summary:
This change adds <swiftInstall>/bin to the library lookup paths.
Without, QFactoryLoader is not able to find the Qt plugins
on Mac OS since on this platform the hard coded path defaults to
'foo.app/Contents/MacOS' for app bundles.
This change also adds the installation of QtPrintSupport framework which
is a dependency from cocoa platform plugin.

ref T48

Reviewers: kbasan, msutcliffe

Reviewed By: kbasan

Subscribers: jenkins

Maniphest Tasks: T48

Differential Revision: https://dev.swift-project.org/D15
2017-05-05 22:40:43 +01:00
Klaus Basan
9c9f3e82ae Comment 2017-05-05 22:40:32 +01:00
Klaus Basan
bd99141bba Ref T40, show update info in mapping tool 2017-05-05 22:40:29 +01:00
Klaus Basan
b39f9a33a2 Ref T40, allow to pass timeout 2017-05-05 22:40:27 +01:00
Klaus Basan
523f650a34 Ref T40, utility functions 2017-05-05 22:40:24 +01:00
Klaus Basan
64da9f215a Updated CLA (legal) 2017-05-05 22:40:20 +01:00
Klaus Basan
fad7d4b8c9 Ref T35, optional model description when mapping 2017-05-05 22:40:16 +01:00
Klaus Basan
5687f5c176 Allow some time when .rev file is generated before files are overriden
(copied over in wizard)

There was an issue that the copied over file was afterwards not present
2017-05-05 22:40:13 +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
Klaus Basan
b444361c7c Some minor UI tweaks (min.height) 2017-05-05 22:40:07 +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
Roland Winklmeier
f0bfad40b7 Remove outdated todos
Summary: This commits removes todos which are done or obsolete.

Reviewers: kbasan, msutcliffe

Reviewed By: kbasan

Differential Revision: https://dev.swift-project.org/D6
2017-05-05 22:40:01 +01:00
Klaus Basan
ed132add45 Ref T34, renamed function as requested by RW 2017-05-05 22:39:59 +01:00
Klaus Basan
640ad99520 Allow to pass timeout to obtainNextWorkingUrl
Sometimes timeout for news in launcher, needs to be investigated
2017-05-05 22:39:56 +01:00
Klaus Basan
f7c4292695 Removed VATSIM server from shared files distribution server was frequently down last weeks
"url": "https://vatsim-germany.org:50443/datastore/shared"

Summary: Removed VATSIM server from shared files distribution

Reviewers: msutcliffe, rwinklmeier

Differential Revision: https://dev.swift-project.org/D10
2017-04-21 23:15:00 +02:00