Commit Graph

2755 Commits

Author SHA1 Message Date
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
bd6f0d0f25 Use namespace BlackSample in samples
refs #594
2016-02-16 20:01:28 +01:00
Roland Winklmeier
bf787478ad Rename Testservice DBus variables 2016-02-16 20:01:26 +01:00
Roland Winklmeier
b1fa85b00f Remove unused code 2016-02-16 20:01:24 +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
2da4a3e47e Define WORD_SIZE for linux-clang
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
0bf918cd28 refs #595 Forward declarations and move member initialization to constructor. 2016-02-08 18:48:57 +00:00
Mathew Sutcliffe
b4e1d42009 refs #595 Insert missing BLACKGUI_EXPORT. 2016-02-08 18:48:16 +00: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
7c41b13ac9 Enable doxygen by default but run only if it is is installed 2016-02-08 01:59:23 +01:00
Roland Winklmeier
fc91462322 Upgrade Doxyfile.qmake to Doxygen v1.8.8
This fixes the warning about outdated XML_SCHEMA and XML_DTD tags

The upgrade was performed by running
doxygen -u Doxyfile.qmake
2016-02-08 01:53:17 +01: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
Roland Winklmeier
dfb6798d31 Fix path to Qt5 TAGFILES
refs #544
2016-02-08 01:53:06 +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
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