Commit Graph

3368 Commits

Author SHA1 Message Date
Mathew Sutcliffe
8c80cc33b3 refs #570 Fixed missing timer interval. 2016-06-08 23:59:56 +01:00
Mathew Sutcliffe
6134b3d0a3 refs #667 XBus: use the thread-agnostic interpolator method, to avoid an unnecessary dynamic memory allocation. 2016-06-08 23:59:55 +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
9666c02adc refs #666, #574 CSimulatorXPlane: fixed default model string to use the new schema. 2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
4c2bc31975 refs #666 XBus expects timestamp relative to current time, in case core and sim PCs run with different clock times. 2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
73156c2e6d refs #666 XBus does interpolation using CInterpolatorLinear. 2016-06-08 23:54:13 +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
37b4b81b9b refs #666 XBus receives aircraft situations with timestamps. 2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
c64851aeba refs #570 Removed the hardcoded 6 seconds, interpolator honors the offsets of the situations. 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
cf9944f1c7 refs #570 CInterpolatorLinear: style, efficiency, corrections. 2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
0246767e31 Fixed method name. 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
Klaus Basan
d44cacd97d refs #670, signal when UI tree is build
Motivated by slack discussion RW/KB
2016-06-08 18:21:02 +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
c31145b3a0 refs #649, made base URL static const to resolve threading issue
(crash when shutting down)
2016-06-08 18:20:57 +02:00
Klaus Basan
e752a3d73b refs #649, check for isAbandoned() 2016-06-08 18:20:56 +02:00
Klaus Basan
8b66f595d4 refs #512, changed dock widget to use settings
* allow to load from settings / save to settings
* removed outdated members / functions
* aligned naming of some functioss
2016-06-08 18:20:55 +02:00
Klaus Basan
ddace24c35 refs #512, removed ini file for offsets 2016-06-08 18:20:54 +02:00
Klaus Basan
436b60700f refs #512, added settings to dock widget for testing 2016-06-08 18:20:53 +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
2cc9f8d754 Fix to avoid termination ("assert") noticed during testing 2016-06-08 18:20:50 +02:00
Klaus Basan
67512d9d1f refs #512, GUI improvements
* menu widget to correct margin
* optimized stylesheet by adding dynamic properties for CDockWidget widgets (allows better qss selection)
2016-06-08 18:20:49 +02:00
Klaus Basan
a25a0d1c0c New slot style for navigator dialog 2016-06-08 18:20:48 +02:00
Klaus Basan
e3fd8d2c78 refs #649, default values for selectors based on own model set 2016-06-08 18:20:47 +02:00
Klaus Basan
9855c9dd08 refs #649, use current simulator from model set loader to init distributor selector 2016-06-08 18:20:46 +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
2ae2370299 refs #649, read data per simulator, not for "current simulator" 2016-06-08 18:20:43 +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
4b8ab847a0 refs #661, added a label/icon to context order menu as proposed in the meeting 2016-06-08 18:20:41 +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
771c531125 Avoid scaling for null pixmaps (results in warnings) 2016-06-08 18:20:38 +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
8ad640704c refs #661, allow to sort by distributor order in builder
* some style changes
* pass distributors to builder
* distributor model mode
* flags
2016-06-08 18:20:34 +02:00
Klaus Basan
c13b9ded55 refs #661, prepared value objects for distributor sort order 2016-06-08 18:20:33 +02:00
Klaus Basan
46d849830f Removed unused code 2016-06-08 18:20:32 +02:00
Klaus Basan
cd8d06c0b5 Fix doxygen issue noticed on gcc Jenkins build 2016-06-08 18:20:31 +02:00
Klaus Basan
97742f4a87 refs #661, improved model set dialog
* allow to change simulator
* consider distributor preferences for new model set
* error messages in dialog, therefor use CForm as base class
2016-06-08 18:20:30 +02:00
Klaus Basan
cc166020b9 refs #661, fixed server settings
(settings were not displayed added in GUI as displayed in presentation)
2016-06-08 18:20:29 +02:00