Roland Winklmeier
b185d10463
Simplify XPlane CSL model strings
...
Before this change, the model strings were assembled via some
relatives pathes - long and very hard to read. Now it is assembled
via the pattern
<package root dir> <dir> ... <objectname> <texturename>
<package root dir> = the parent directory of xsb_aircrafts.txt
<dir> ... = directory hierarchy down to the object file
refs #574
2016-02-21 20:16:48 +01:00
Roland Winklmeier
d8eda7ea4b
Improve ModelLoader to find and parse XPlane flyable planes
...
refs #582
2016-02-21 20:16:37 +01:00
Roland Winklmeier
7cac547f1e
Utility method to get XPlane root directory
2016-02-16 21:09:30 +01:00
Roland Winklmeier
5670ba925a
Fix MinGW warnings
2016-02-16 20:01:36 +01:00
Roland Winklmeier
1ea2f34f75
Fix doxygen documentation in src, samples and tests
...
refs #594
2016-02-16 20:01:33 +01:00
Roland Winklmeier
bd251b5de6
Fix license headers
2016-02-16 20:01:21 +01:00
Roland Winklmeier
7953d550ea
Fix linux clang errors and warnings
...
refs #596
2016-02-15 18:35:34 +01:00
Roland Winklmeier
141efdbf43
Fix missing dbus type registration in CValueCachePacket
2016-02-12 21:13:39 +01:00
Mathew Sutcliffe
641e469c9e
refs #584 Doxygen.
2016-02-08 17:28:24 +00:00
Mathew Sutcliffe
451b90e4f9
refs #584 Moved make_unique to makeunique.h
2016-02-08 17:28:22 +00:00
Mathew Sutcliffe
3bdcd7e386
refs #584 Moved hash related stuff to dictionary.h
...
This also means moving Mixin::Icon from CContainerBase one step down the inheritance hierarchy
to resolve what would otherwise have been a circular include dependency.
2016-02-08 17:26:45 +00:00
Mathew Sutcliffe
c7a0aa2fb4
refs #584 Moved Mixin::String to stringutils.h
2016-02-08 17:26:40 +00:00
Roland Winklmeier
858320da4d
Workaround doxygen link request failure warning
...
Doxygen raises a warnings saying "explicit link request to
'iterator' could not be resolved".
2016-02-08 01:53:17 +01:00
Roland Winklmeier
055e4aae17
Fix source code not in sync with doxygen doc
...
refs #544
2016-02-08 01:53:17 +01:00
Roland Winklmeier
794bf0cd74
Fix doxygen copydoc documentation
...
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code
refs #544
2016-02-08 01:53:17 +01:00
Mathew Sutcliffe
208c5ff3b4
refs #581 , #592 , #545 Remembered to use QFile::Text mode.
2016-02-06 19:45:52 +00:00
Mathew Sutcliffe
bef19a5240
refs #581 , #592 Allow to renew a stale value by updating the timestamp on disk without altering the value.
2016-02-06 19:45:51 +00:00
Mathew Sutcliffe
3175e640bb
refs #581 , #592 , #545 CAtomicFile can support ReadWrite mode by first copying the file.
2016-02-06 19:45:51 +00:00
Mathew Sutcliffe
3bc145cc0c
refs #581 , #592 Should use CAtomicFile for writing the revision file.
2016-02-06 19:45:50 +00:00
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
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
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
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
afac4b06bc
Tweaks
...
* use current view
* normalize designator and only use when valid
2016-02-05 18:00:19 +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
e1e922cbb1
refs #584 , removed unused function
...
* fixed define in the same step
2016-02-05 18:00:06 +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
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
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
85881ffaf6
refs #576 , added icon
2016-02-05 17:59:53 +01:00
Klaus Basan
551f3348f4
refs #377 usability improvements
...
* allow to toggle between single, multi and extended selection
* all DB data can be read by menu
* fixed load/save (test data) from disk
2016-02-05 17:59:52 +01:00
Klaus Basan
6facffc292
refs #573 , access to mode (exclude/include)
...
* in model
* in value object
2016-01-28 16:32:06 +01:00
Klaus Basan
359866f0c9
refs #573 , icons for exclude / include mode
2016-01-28 16:32:04 +01:00
Klaus Basan
8d57566a24
refs #575 , livery completer
...
* utility functions in value object
* completer class
2016-01-28 16:32:02 +01:00
Klaus Basan
b09dbd4828
refs #568 , improved display / sorting for status message categories
...
* display technical categories when no hr categories are available
* compare function for status message
2016-01-28 16:32:01 +01:00
Klaus Basan
eb74efa9ba
refs #568 , improved error handling / parameter names in readers
...
* better categories
* parameter name as static functions
* error message in structure CDatabaseReader::JsonDatastoreResponse
* prefixed members of structure with _m
* consolidate severity
2016-01-28 16:31:59 +01:00