Mathew Sutcliffe
a58dddfa19
refs #581 , #592 Make sure syncLoad checks if the next load would load the value, if it is not currently loading.
2016-02-06 19:45:49 +00:00
Mathew Sutcliffe
5a0db69415
refs #581 Bugfix: timestamps of uninitialized cache values should be zero.
2016-02-06 19:45:49 +00:00
Mathew Sutcliffe
071dbda4b7
refs #581 Store a TTL value in the data cache revision file, skip loading a cached value if its timestamp is too old.
2016-02-06 19:45:48 +00:00
Mathew Sutcliffe
e0607eb83c
refs #581 Synchronous loading of data cache value by returning a future.
...
CDataCacheRevision maintains a list of promises corresponding to the futures, so they can be delivered
when the loading is finished. Corresponding notification slot is inhibited to avoid duplicate notification.
2016-02-06 19:45:47 +00:00
Mathew Sutcliffe
bc2e0faa36
refs #581 CValueCachePacket contains an inhibitions list that can be used to disable specific notification slots.
2016-02-06 19:45:47 +00:00
Mathew Sutcliffe
c1d3e2aabb
refs #581 Refactoring: extract method applyDeferredChanges.
2016-02-06 19:45:46 +00:00
Mathew Sutcliffe
e1b40f54cb
refs #581 Allow setting the timestamp when putting a value in the cache.
2016-02-06 19:45:45 +00:00
Mathew Sutcliffe
97fad301ae
refs #581 Use JSON to store timestamps in data cache revision file.
2016-02-06 19:45:45 +00:00
Mathew Sutcliffe
ef38c1620f
refs #581 Refactor data cache revision file logic into new class CDataCacheRevision.
2016-02-06 19:45:44 +00:00
Mathew Sutcliffe
f9ee637a1e
refs #583 as_const
2016-02-06 19:45:43 +00:00
Mathew Sutcliffe
d6b9fe6f95
refs #539 Time-based file search utility functions.
2016-02-06 19:45:42 +00:00
Mathew Sutcliffe
a88f5e33e3
GCC 5 is able to warn about missing override keyword.
2016-02-06 19:45:42 +00:00
Mathew Sutcliffe
19dd72cf3e
refs #589 Removed GCC 4.7 workaround.
2016-02-06 19:45:40 +00:00
Mathew Sutcliffe
4f2de590c6
refs #545 Fixed mistake (method in wrong class).
2016-02-06 19:45:40 +00:00
Klaus Basan
021530f2b5
refs #577 , make read only checkboxes better readable
...
(by not disabling them, but using a little trick)
2016-02-05 18:00:23 +01:00
Klaus Basan
de27c2af8a
refs #590 , military flag in airline ICAO
...
(plus fixes in prefix of aircraft ICAO)
2016-02-05 18:00:22 +01:00
Klaus Basan
2662f03e81
refs #577 , load indicator when publishing
2016-02-05 18:00:22 +01:00
Klaus Basan
3096e9954e
refs #576 , no airline validation with color liveries and no exclusion of special designators
2016-02-05 18:00:21 +01:00
Klaus Basan
8cf31f7de8
refs #576 , refs #577 improved mapping component
...
* allow to refresh own models from cache
* consider cache changes
* formatting
* allow to open the simulator data files if available in default text editor
2016-02-05 18:00:20 +01:00
Klaus Basan
afac4b06bc
Tweaks
...
* use current view
* normalize designator and only use when valid
2016-02-05 18:00:19 +01:00
Klaus Basan
0de32e9c2f
Name of mapping component UI
2016-02-05 18:00:18 +01:00
Klaus Basan
c1bfd2f6ee
refs #577 , better context menus
2016-02-05 18:00:17 +01:00
Klaus Basan
daa3c9be81
refs #576 , fixed livery filtering and editing
...
* fixed selector by stripping extra info before selecting
* correct reset of filter UI
* return livery object directly from form if already valid DB object
2016-02-05 18:00:17 +01:00
Klaus Basan
2498a1ad71
refs #576 , refs #588 improved finders and default selection
...
* IATA code for airlines
* selection for airline designator returns list not single object
* misc finder functions for airline list
* formatting, use MS override Doxygen style
2016-02-05 18:00:16 +01:00
Klaus Basan
ca21c03ef4
refs #577 , better data consolidation/auto find by also using IATA/family
...
also refs #586 , refs #580 , refs #576
2016-02-05 18:00:15 +01:00
Klaus Basan
c715e93c58
refs #577 improved airline filter (wildcard)
2016-02-05 18:00:14 +01:00
Klaus Basan
cb5e48fdd8
refs #587 , use modify form as dialog in mapping component
2016-02-05 18:00:13 +01:00
Klaus Basan
f544b0cd3f
refs #587 , form/component to modify multiple model properties
2016-02-05 18:00:12 +01:00
Klaus Basan
64af6a6767
resize distributor form
2016-02-05 18:00:11 +01:00
Klaus Basan
06fc5fb89d
refs #587 , use model mode component in form
2016-02-05 18:00:11 +01:00
Klaus Basan
d193ca4e73
refs #586 , refs #580 update form to allow to edit IATA/family
2016-02-05 18:00:10 +01:00
Klaus Basan
d860d971eb
refs #587 , allow to select model mode (include/exclude)
2016-02-05 18:00:09 +01:00
Klaus Basan
873f5f04b9
refs #587 , allow to modify multiple properties at once
...
functions to update a property map
2016-02-05 18:00:08 +01:00
Klaus Basan
c736373504
refs #586 , refs #580 new columns
2016-02-05 18:00:07 +01:00
Klaus Basan
e1e922cbb1
refs #584 , removed unused function
...
* fixed define in the same step
2016-02-05 18:00:06 +01:00
Klaus Basan
5954d154cc
refs #580 , refs #586 , allow to select by (aircraft) IATA code and family
2016-02-05 18:00:05 +01:00
Klaus Basan
940c0ce0c4
refs #580 , refs #586 , add IATA code/family to aircraft ICAO object (alias) and list
...
* fixed const
* finders
* completer strings
2016-02-05 18:00:04 +01:00
Klaus Basan
49b88978d2
refs #577 , improved resolution of distributor
2016-02-05 18:00:03 +01:00
Klaus Basan
8f216f510f
refs #576 , improved filters
...
* initially clear filters
* fixed handling of simulator flags
* rename field
* changed order of * handling
2016-02-05 18:00:02 +01:00
Klaus Basan
68d2a4bc81
refs #577 , allow to assign editor values to a bunch of models by context menu
2016-02-05 18:00:01 +01:00
Klaus Basan
bef69cf1a5
refs #577 , upper case validator
2016-02-05 18:00:01 +01:00
Klaus Basan
6089dc1106
Formatting, comments
2016-02-05 18:00:00 +01:00
Klaus Basan
c54dd8560d
refs #577 , filter for aircraft model
...
* allow to filter by distributor
* filter by simulator on change
2016-02-05 17:59:59 +01:00
Klaus Basan
572b604908
refs #577 , improved simulator selector
2016-02-05 17:59:58 +01:00
Klaus Basan
f16379c26b
refs #576 auto stash component
...
Get models, consolidate data with DB data and stash when there is no validation error
2016-02-05 17:59:57 +01:00
Klaus Basan
f33366ed88
refs #576 , updated mapping & stash components / form for auto stashing
...
* made some functions public
* removed unused signal
* comments
* consolidate functions
2016-02-05 17:59:56 +01:00
Klaus Basan
ae43c4038c
refs #576 , remove models with string by container
...
(improved CAircraftModel::matchesModelString)
2016-02-05 17:59:56 +01:00
Klaus Basan
394edc67a0
refs #576 , logging
...
* log category
* fixed join for status message
2016-02-05 17:59:55 +01:00
Klaus Basan
de4b07dc32
refs #576 , tweaking view base
...
* renaming in view base (similar to Qt name rowCount)
* insert function for whole container
2016-02-05 17:59:54 +01:00
Klaus Basan
85881ffaf6
refs #576 , added icon
2016-02-05 17:59:53 +01:00