Commit Graph

3202 Commits

Author SHA1 Message Date
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
Klaus Basan
988251b079 refs #661, default value for enabled simulators 2016-06-08 18:20:28 +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
f92765d515 refs #661, reset order when creating a new model set
(found during demo in meeting)
2016-06-08 18:20:26 +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
0ff7791532 refs #661, info in context menu when force reload is unavailable
(KB/RW slack discussion)
2016-06-08 18:20:24 +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
954ddfb2e7 refs #649, refs #656, using caches in ICAO data reader
* access to info data reader (get DB metadata)
* adjusted database base class to support caches, info objects
* moved classes to subdir
2016-06-08 18:20:21 +02:00
Klaus Basan
6b7e05077c refs #656, info data reader (load DB metadata) 2016-06-08 18:20:20 +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
9606ab12db refs #649, enum to specify which swift application is running
(remark: used to check which caches will be used)
2016-06-08 03:59:05 +02:00
Klaus Basan
239f410cef refs #649, info reader and shared URLs 2016-06-08 03:59:04 +02:00
Klaus Basan
74638c4c10 refs #649, caches for DB data 2016-06-08 03:59:03 +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