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
Klaus Basan
d487a84acb
refs #640 , distributor list preferences value object and settings
2016-05-05 20:49:19 +02:00
Klaus Basan
5f2110b81a
refs #640 , value object orderable interface (same as ITimestampBased ..)
...
* interface and list
* added Q_DECLARE_INTERFACE
2016-05-05 20:49:19 +02:00
Klaus Basan
5d39c906e4
refs #640 , support for simulator in distributor
...
* changed backend (JSON) and added support for simulator data
* get distributors by simulator
* renamed to setSimulator / getSimulator
2016-05-05 20:49:18 +02:00
Klaus Basan
b78308b059
follow up of refs #643 , allow to display icon in overlay window
...
* some optimization to check if icon is available
* menus for context menu
* allow to display icon/image in overlay window
2016-05-05 20:49:17 +02:00
Klaus Basan
ddc7347927
refs #643 , moved aircraft model icon loading to model class
...
* removed iconForModel from interface and aircraft config parser
* CPixmap support for loading pixmap from file
* Access to model of model set loader by model string
* icon path as member of CAircraftModel
2016-05-05 20:49:16 +02:00
Klaus Basan
bc4efbfd71
refs #642 , fixed 2nd issue reported by RW via slack
...
(assert with default values)
2016-05-05 20:49:14 +02:00
Klaus Basan
826662cbb5
refs #638 , refs #614 , support for military flag and swift livery string
...
* fixed missing tuple attribute
* improved toQString conversion
2016-04-11 20:57:58 +02:00
Klaus Basan
368d803d42
refs #614 , refs #638 removed redundant m_livery from CSimulatedAircraft and improved convertTOQString
...
* removed some leftovers in simulated aircraft such as virtual functions
* use livery from model instead of keeping a redundant copy
2016-04-11 20:57:54 +02:00
Klaus Basan
1953665c40
refs #637 , move matcher to blackcore
...
(access to sApp/web services)
2016-04-11 20:24:57 +02:00