Klaus Basan
019b623f43
refs #720 , adjusted model loader
...
* callback function to data consolidation (so I can refer to consolidation in BlackCore)
* use status message in parser
* avoid duplicate keys (WOAI has ambiguous model strings which are to be excluded)
2016-08-26 21:04:21 +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
Klaus Basan
f9922353c4
refs #720 , improved distributor and airline/livery detection
...
* mark data read from DB (req. for string key where existing key value is not reliable indicator for DB data)
* detect distributors by part of model string
* use a simplified name (no spaces, no special characters) to find a match
* allow to obtain model strings (=keys) as set and list
2016-08-26 20:54:52 +01:00
Roland Winklmeier
0c51323db0
Fix incorrect include in fscommonutil.cpp
2016-08-08 11:23:07 +02:00
Mathew Sutcliffe
0ae1e70923
refs #697 Data cache traits renamed with T prefix.
2016-08-03 02:20:27 +01:00
Mathew Sutcliffe
8275b0d9bf
refs #697 BlackMisc settings renamed and reorganized.
2016-08-03 02:19:08 +01:00
Klaus Basan
3554c0b718
refs #716 , value class / setting
2016-08-01 15:51:56 +02:00
Klaus Basan
e497b43e06
refs #706 , model string and DB key utility function
2016-07-14 18:49:20 +02:00
Klaus Basan
64fa88da72
refs #707 , renamed to FSInn / FSInnData
2016-07-14 18:49:17 +02:00
Klaus Basan
86d85c6b60
refs #707 , removed originator from some signatures
...
* not used in remote aircraft provider
* adjusted all using interfaces
2016-07-14 18:49:15 +02:00
Klaus Basan
b959972e0c
refs #707 , refactoring geo interfaces
...
* added compare functions (also to ATC list)
* renamed to relative position, e.g. station.setRelativeDistance
* delegate set/get/compare to correct interface
2016-07-14 18:49:13 +02:00
Klaus Basan
64cee7fba8
refs #706 , callsign to airline plus testing resulting in multiple smaller improvements (refs #707 )
...
* added functions to callsign / callsign list
* used in aircraft matcher
* also resolve std.livery in matcher
* also allow to find aircraft ICAO designator ending with string (e.g. 737 for B737)
* renamed CAircraftMatcher::reverseLookup -> CAircraftMatcher::reverselLookupModel
* threadsafe isInRange (CAIrspaceMonitor)
2016-07-14 18:49:12 +02:00
Klaus Basan
83eca195a8
refs #702 , access to reverse lookup log messages per callsign
...
* added functions in airspace / context
* allow to retrieve "aircraft in range" callsigns
2016-07-14 18:49:05 +02:00
Klaus Basan
a3b5632a5c
refs #702 , better callsign syncronization
2016-07-12 03:37:37 +02:00
Klaus Basan
2dec348c8c
Formatting from refs #678
2016-06-25 16:00:36 +02:00
Klaus Basan
554d1add79
refs #676 , allow 1..n model directories
...
* adjusted loaders
* changed settings
2016-06-23 20:13:29 +02:00
Klaus Basan
8b39e6f9c3
Formatting / warning fix (RW slack)
...
'initializing': conversion from 'size_t' to 'const int', possible loss of data
2016-06-23 20:13: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
4a519e2b44
refs #585 , value object and traits for simulator settings
2016-06-15 00:11:20 +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
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
4407c83d8c
Removed registerMetadata from preferences, not needed
2016-06-08 18:20:52 +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
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
c13b9ded55
refs #661 , prepared value objects for distributor sort order
2016-06-08 18:20:33 +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
Roland Winklmeier
3e4e49a6b6
Set last modification timestamp when loading X-Plane models
...
This feature was already implemented for MS Flight Simulator model
loaders and missing in the X-Plane model loader.
2016-05-24 16:59:16 +02:00
Roland Winklmeier
2d8f56a598
Link CBuildConfig and CVersion into static library blackconfig
...
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.
refs #645
2016-05-24 13:12:23 +02:00
Roland Winklmeier
d0313c7524
Style
2016-05-20 01:31:26 +02:00
Roland Winklmeier
f4c2939253
Fix BlackGui header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #598
2016-05-20 01:31:11 +02:00
Roland Winklmeier
3d7a39ed00
Fix BlackMisc header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
0f5d2a29a8
refs #655 , Change signature (order) of setProperty/compareProperty
2016-05-13 16:44:17 +02:00
Klaus Basan
4b11eb3f83
refs #648 , refs #640 review of MS
...
https://dev.vatsim-germany.org/issues/648#note-5
2016-05-07 20:11:54 +02:00
Klaus Basan
1a62de8dc3
refs #641 , improvements/fixes of orderable lists / models / views
...
* set sort order automatically to IndexOrder when changing order of items
* call onChanged when model is changed and then update view (needed when model is changed directly, not via view)
* support for digest signal so redundant updates can be avoided
* renamed rowCountChanged (signal) to modelDataChanged - detecting row count changes only was useless
* updated Doxygen / fixed typos
2016-05-07 20:11:49 +02:00
Mathew Sutcliffe
bf2a84b67c
refs #614 , allow CCached::NotifySlot to refer to a base class method
2016-05-07 20:11:42 +02:00
Klaus Basan
43f9515eaa
refs #641 , moved last simulator selection to caches
...
* removed from component cache
* kept renamed component caches as stubs for later usage
refs #646 , removed gui state cache as it causes build issues on Jenkins
(idea was to keep the classes as stubs for later usage)
2016-05-07 20:11:41 +02:00
Klaus Basan
bb6eea6c72
refs #641 , using order in model caches
2016-05-05 20:49:24 +02:00
Klaus Basan
1bb6f98e56
refs #641 , using IOrderable and some formatting
2016-05-05 20:49:23 +02:00
Klaus Basan
c42df3ed4d
Formatting and fixed dropbase (unimplemented function)
2016-05-05 20:49:20 +02:00