Commit Graph

1583 Commits

Author SHA1 Message Date
Roland Winklmeier
de0729faad Value object for fixed weather scenario
This value object can be used to load, save and distribute fixed
weather scenarios.

refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
4a489c642f Add missing CTemperatureLayer property indexes
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
3a1605b553 Differentiate None from Unknown in CCloudLayer
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
ebe039d267 Add missing CCloudLayer property indexes
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
a68cd16a7a Doxygen 2016-06-17 10:46:31 +02:00
Roland Winklmeier
26a72d5eb2 Consider QObject could be null in CSlot 2016-06-17 10:46:31 +02:00
Mathew Sutcliffe
b98752e84e refs #672 setAndSave should still save even if the value is not actually changed. 2016-06-15 00:30:56 +01:00
Mathew Sutcliffe
58a04ed05c refs #672 Fixed omission in cache change relay which caused setAndSave to fail to save. 2016-06-15 00:30:56 +01:00
Mathew Sutcliffe
61127f9088 refs #672 Fixed getTimestampOnDisk returning wrong timestamp when called while loading is in progress. 2016-06-15 00:30:56 +01:00
Klaus Basan
bc344c73fc refs #585, adjusted loaders
* use paths from settings
* no longer pass model directory and exclude directories
2016-06-15 00:11:26 +02:00
Klaus Basan
1ef1cc0021 refs #585, adjusted XP utils 2016-06-15 00:11:24 +02:00
Klaus Basan
80ee210701 refs #585, improved FS utils
* added registry keys and support for P3D and steam
* only determine paths once (static const)
2016-06-15 00:11:23 +02:00
Klaus Basan
a848d2ce68 refs #585, utility function to make directory path relative and find first file existing 2016-06-15 00:11:22 +02:00
Klaus Basan
4a519e2b44 refs #585, value object and traits for simulator settings 2016-06-15 00:11:20 +02:00
Klaus Basan
2c3b8f32f0 refs #585, new log category 2016-06-15 00:11:19 +02:00
Klaus Basan
85d8d14a48 added "break" 2016-06-15 00:11:17 +02:00
Klaus Basan
dc64e9b6bd allow to reset simulator if not appropriate for some reasons 2016-06-15 00:11:16 +02:00
Klaus Basan
959fc10c92 Fixed missing distributor read and minor improvements 2016-06-15 00:11:15 +02:00
Mathew Sutcliffe
23411609a8 Work around a regression in VS2015 Update 3 RC. 2016-06-09 18:04:52 +01:00
Mathew Sutcliffe
a5dfa1ef00 refs #570 Removed unused method splitByTime. 2016-06-08 23:59:57 +01:00
Mathew Sutcliffe
f82a3b53e4 refs #667 Interpolator: relaxed thread safety requirements by removing the dependence on shared state. 2016-06-08 23:59:54 +01:00
Mathew Sutcliffe
7ae453b532 refs #666 Moved interpolator to BlackMisc so xbus doesn't need to link BlackCore. 2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
eecc4d75e9 refs #570 Each CAircraftSituation can have its own time offset, instead of a hardcoded 6 seconds. 2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
000e22246f Caches: method to query keys of all unsaved values. 2016-06-08 21:39:18 +01:00
Mathew Sutcliffe
183c4d9528 refs #659 Improved fix for spurious zeroing out of timestamps. 2016-06-08 21:39:18 +01:00
Roland Winklmeier
4180a890e4 Write settings, logs, cache, etc. into a installation dependent subfolder
refs #668
2016-06-08 21:30:56 +02:00
Klaus Basan
2a99bed0cd refs #656, MS review items https://dev.vatsim-germany.org/issues/656#note-4
Remove defaultValue where not needed
2016-06-08 18:21:03 +02:00
Mathew Sutcliffe
9bef6854ca Caches: rename "get" to "getThreadLocal" and rename "getCopy" to get. 2016-06-08 18:21:01 +02:00
Klaus Basan
332d8e5fc8 refs #649, added caches to model data reader
* trait
* const fix distributor list
2016-06-08 18:21:00 +02:00
Klaus Basan
c39882e5db refs #649, further fixes and improvements
* call of non-virtual function in ctor
* use getCopy
* return number of merged models
* change current simulator in model set loader (fixes infinite loop: change data -> signal -> change data).
2016-06-08 18:20:59 +02:00
Klaus Basan
f02bf0ac0a refs #649, skip reading of info objects if only caches are used and emit signals when syncronized from cache
(applied after 1st performance fix for cache was ready)
* utility functions to detect if only caches are used
* renamed some functions
* renamed some db flags and added new ones
2016-06-08 18:20:58 +02:00
Klaus Basan
4407c83d8c Removed registerMetadata from preferences, not needed 2016-06-08 18:20:52 +02:00
Klaus Basan
5352649248 refs #512, settings for dock widget 2016-06-08 18:20:51 +02:00
Klaus Basan
8673d2eada refs #649, use utility function to emit signal
(can be better traced in debugger)
2016-06-08 18:20:45 +02:00
Klaus Basan
f58b3bf065 refs #649, refs #659 use new timestamp function 2016-06-08 18:20:44 +02:00
Klaus Basan
81d88837f9 refs #649, add.function getSyncronizedValues
Normally getValue should transparently sync. But this force me to make the function non-const.
2016-06-08 18:20:42 +02:00
Klaus Basan
2281b2f030 Minor fix for country 2016-06-08 18:20:40 +02:00
Klaus Basan
875b311ede refs #649, with #659 deferred caches available
* adjustments to use deferred caches
* removed simulator from CAircraftModelSetLoader`s signature as it was not used
* only change current simulator when explicitly set (avoid unintended setting)
* added function to obtain number of elements from model caches
2016-06-08 18:20:39 +02:00
Klaus Basan
bc926e592e refs #649, allow to guess used simulator (for default values) 2016-06-08 18:20:37 +02:00
Klaus Basan
e6f0db73c5 refs #656, using deferred for large caches 2016-06-08 18:20:36 +02:00
Klaus Basan
467f37db7f refs #649, added check for changed base URL to database reader
(continued #649 after fixes of #664)
2016-06-08 18:20:35 +02:00
Klaus Basan
c13b9ded55 refs #661, prepared value objects for distributor sort order 2016-06-08 18:20:33 +02:00
Klaus Basan
0aa916f057 clang: error: default initialization of an object of const type 'const BlackMisc::Aviation::CAirlineIcaoCodeList' without a user-provided default constructor 2016-06-08 18:20:27 +02:00
Klaus Basan
c0fda8687d refs #661, improved own model set handling
* fixed simulator selector
* added simulator selector to own model set component
* pinned last selections
* fixed model cache to use "getCopy"
2016-06-08 18:20:25 +02:00
Klaus Basan
54b1234f7f refs #649, refs #658 fixed includes to new subfolders "db"
some style changes in same step
2016-06-08 18:20:23 +02:00
Klaus Basan
5789bdd722 * refs #658, set user-agent "swift" to swift requests
some style changes in same step
2016-06-08 18:20:22 +02:00
Klaus Basan
e5f8a5108f refs #649, refs #656, adjusted flags
* removed now outdated enums
* sorted enums (better debugging)
* utility functions
2016-06-08 18:20:19 +02:00
Klaus Basan
0be85cf4fe refs #649, do not init to current timestamp follow up
Removed inherited constructors since I need to call non-default ITimestampBased constructor
In extra commit so I can replace it when there is a better solution
2016-06-08 03:59:07 +02:00
Klaus Basan
2b49591f1b refs #649, do not init to current timestamp
* force explicit init (performance/invalid objects)
* allow to find mising timestamps
* style
2016-06-08 03:59:06 +02:00
Klaus Basan
bedcc675be refs #649, refs #656, register metadata for value objects and further adjustments
* .pro files for new subdirs
* property index
2016-06-08 03:59:02 +02:00