Commit Graph

18 Commits

Author SHA1 Message Date
Klaus Basan
e53260a817 Ref T258, added compress utils for better encapsulation 2018-02-22 13:58:46 +01:00
Klaus Basan
f3afde76ff Ref T237, init/read from JSON files
* multi format compatible (automatically detect format)
* flag if cache values shall be overridden
* init from resource files (those are the files coming with the installer)
* automatically read in background if reader is (already) in its own thread (otherwise cache.set() ASSERT)
2018-01-30 20:35:32 +01:00
Klaus Basan
4166982954 Ref T118, allow to just provide an id (from backend) and set the entity on swift side
* added getDistributorForDbKey
* added fillInMissingAircraftAndLiveryEntities
* fromDbJson function adjusted
2017-10-31 15:39:26 +01:00
Klaus Basan
0bbad2ff83 Minor tweaks (found during T125)
* formatting/typos
* authentication: private slots => private
2017-09-24 19:53:10 +01:00
Klaus Basan
7168f97b45 Ref T28, fixed issues mentioned in inline review
https://dev.swift-project.org/rSWIFTPILOTCLIENT2f289a4c7e196095e64de78f222e56fd21d80476
2017-09-24 19:49:59 +01:00
Klaus Basan
92472e78a6 Ref T58, consolidation fixes
* override simulator, because values can be removed
* DB simulator has priority
2017-05-09 19:13:42 +02: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
660798e43c refs #930, moved multipart functions to database utils and added support for compression 2017-04-18 00:08:00 +01:00
Klaus Basan
de80053c7c refs #930, utility conversion functions supporting compression 2017-04-18 00:07:52 +01:00
Klaus Basan
6640c84e63 refs #907, consolidation function
remark: kept with other consolidation functions although not DB related
2017-04-17 23:59:21 +01:00
Klaus Basan
4f447cd408 refs #791, further improve reverse lookup
* utility function if web data are already available
* moved setOwnAircraftModel as reverseLookupAndUpdateOwnAircraftModel to CSimulatorCommon
* reverseLookupAndUpdateOwnAircraftModel also handles async lookup when data are not yet available
* removed context ps_allSwiftWebDataRead reverse lookup, done in CSimulatorCommon now
2016-12-06 09:34:43 +01:00
Klaus Basan
a92b67db6b refs #791, reverse lookup for own model in the utils class 2016-12-06 09:34:39 +01:00
Klaus Basan
bf8198e2c2 refs #768, misc adjustments
* changed signature of ownAircraftModelChanged to model
* added function for a reverse lookup of a model (string->model) and use it when model changed
* renamed function to updateByLocalFileNames
2016-10-17 14:34:15 +01:00
Klaus Basan
35f010e516 refs #743, utility function for cross imulator updating 2016-10-17 14:34:07 +01:00
Klaus Basan
c848d7ca61 refs #755, allow to refresh GUI parts during consolidation 2016-09-19 16:18:47 +02:00
Klaus Basan
cbc095d230 refs #755, restore distributor order when consolidating with DB data
(formerly order was overridden)
2016-09-19 16:18:43 +02:00
Klaus Basan
364914cc31 refs #720, file name handling in models
* normalize file name before writing to DB
* use local file paths for local models
* display "C" for color liveries
2016-08-26 21:05:00 +01:00
Klaus Basan
d75b105ee3 refs #720, moved data consolidation with DB data into own class in BlackCore
(in blackcore I can access the readers)
2016-08-26 20:54:52 +01:00