Commit Graph

2920 Commits

Author SHA1 Message Date
Mathew Sutcliffe
4b441c5d56 Latest libxplanemp. 2016-06-15 14:10:27 +01: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
7d1a5b242d Moved log subscription to front
(see https://dev.vatsim-germany.org/boards/22/topics/2871?r=2875#message-2875)
2016-06-15 00:11:31 +02:00
Klaus Basan
6c3a57d648 refs #585, integrated simulator basic settings to pilot client 2016-06-15 00:11:30 +02:00
Klaus Basan
177ad4b38c refs #585, GUI component for settings
(integrated in mapping tool for a 1st test)
2016-06-15 00:11:29 +02: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
04d5239300 refs #585, allow to use last simulator as default 2016-06-15 00:11:21 +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
993a0ebbe9 View / model fixes / improvements
* allow upfront checking of formatter roles
* selection mode menus adjusted (data approach no longer worked with CSlot)
* removed unused style sheet parts
* minor View/Model tweaks/formatting
2016-06-15 00:11:18 +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
Klaus Basan
1fd645fce4 Fixed masking issue
(failed when neither on top nor on bottom was set)
2016-06-15 00:11:14 +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
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