Commit Graph

3368 Commits

Author SHA1 Message Date
Klaus Basan
988251b079 refs #661, default value for enabled simulators 2016-06-08 18:20:28 +02:00
Klaus Basan
0aa916f057 clang: error: default initialization of an object of const type 'const BlackMisc::Aviation::CAirlineIcaoCodeList' without a user-provided default constructor 2016-06-08 18:20:27 +02:00
Klaus Basan
f92765d515 refs #661, reset order when creating a new model set
(found during demo in meeting)
2016-06-08 18:20:26 +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
0ff7791532 refs #661, info in context menu when force reload is unavailable
(KB/RW slack discussion)
2016-06-08 18:20:24 +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
Klaus Basan
5789bdd722 * refs #658, set user-agent "swift" to swift requests
some style changes in same step
2016-06-08 18:20:22 +02:00
Klaus Basan
954ddfb2e7 refs #649, refs #656, using caches in ICAO data reader
* access to info data reader (get DB metadata)
* adjusted database base class to support caches, info objects
* moved classes to subdir
2016-06-08 18:20:21 +02:00
Klaus Basan
6b7e05077c refs #656, info data reader (load DB metadata) 2016-06-08 18:20:20 +02:00
Klaus Basan
e5f8a5108f refs #649, refs #656, adjusted flags
* removed now outdated enums
* sorted enums (better debugging)
* utility functions
2016-06-08 18:20:19 +02:00
Klaus Basan
0be85cf4fe refs #649, do not init to current timestamp follow up
Removed inherited constructors since I need to call non-default ITimestampBased constructor
In extra commit so I can replace it when there is a better solution
2016-06-08 03:59:07 +02:00
Klaus Basan
2b49591f1b refs #649, do not init to current timestamp
* force explicit init (performance/invalid objects)
* allow to find mising timestamps
* style
2016-06-08 03:59:06 +02:00
Klaus Basan
9606ab12db refs #649, enum to specify which swift application is running
(remark: used to check which caches will be used)
2016-06-08 03:59:05 +02:00
Klaus Basan
239f410cef refs #649, info reader and shared URLs 2016-06-08 03:59:04 +02:00
Klaus Basan
74638c4c10 refs #649, caches for DB data 2016-06-08 03:59:03 +02:00
Klaus Basan
bedcc675be refs #649, refs #656, register metadata for value objects and further adjustments
* .pro files for new subdirs
* property index
2016-06-08 03:59:02 +02:00
Klaus Basan
2e4d5fd40e Added operator for QFlags 2016-06-08 03:59:01 +02:00
Klaus Basan
2df190514f refs #649, added flags amd configuration class for caching strategies of DB data
(use cache? TTL? ...)
2016-06-08 03:59:00 +02:00
Klaus Basan
7767e53652 refs #649, refs #656, move swift DB classes to own namespace/directory 2016-06-08 03:58:59 +02:00
Klaus Basan
f7659e9021 refs #656, value objects for DB metadata (latest changes) 2016-06-08 03:58:57 +02:00
Mathew Sutcliffe
e67c07f8c5 refs #659, #657 Fixed a mistake where admitting an uncached value could cause synchronize() to wait forever. 2016-06-06 18:27:52 +01:00
Mathew Sutcliffe
d53237cebc refs #659, #657 Fixed mistake in synchronize() where a future would be broken prematurely if async load had not yet started after 1 second timeout. 2016-06-06 18:27:51 +01:00
Mathew Sutcliffe
aefef81cd7 refs #659 Read-only versions of cache value access classes. 2016-06-05 21:18:52 +01:00
Mathew Sutcliffe
a2b0602c53 refs #659 Fixed minor mistakes. 2016-06-05 21:18:49 +01:00
Mathew Sutcliffe
36cb07cb1f refs #665 Cache will only load and save the values that it really needs to. 2016-06-04 01:15:31 +01:00
Mathew Sutcliffe
50de252ff6 refs #659 Fixed a bug where valid timestamps of unloaded values would be lost when writing a new .rev file. 2016-06-04 00:51:01 +01:00
Mathew Sutcliffe
0bb17414ac refs #659 Cache value with timestamp of 0 should still be loadable. 2016-06-04 00:51:00 +01:00
Mathew Sutcliffe
8377ab2e51 refs #659 Method to get timestamp from revision file without loading value. 2016-06-04 00:50:59 +01:00
Mathew Sutcliffe
5559d1fcc6 refs #659 Use a threadsafe queue for admit(), to avoid a race with synchronize(). 2016-06-04 00:50:54 +01:00
Mathew Sutcliffe
f1a9ae5a13 refs #659 Add the method CData::admit() which causes a value with deferred loading to be loaded. 2016-06-04 00:50:47 +01:00
Mathew Sutcliffe
29cea55bc9 refs #659 Allow setting a "deferred" flag in data cache values, causing the value not to be loaded. 2016-05-26 20:03:13 +01:00
Mathew Sutcliffe
4c08d1cc86 refs #659 Use constexpr with isPinned method of data cache traits. 2016-05-26 19:57:22 +01:00
Mathew Sutcliffe
d0d100da5e refs #664 Use timestamps from .rev file instead of the filesystem timestamps of the json files. 2016-05-26 18:03:21 +01:00
Mathew Sutcliffe
4bc8326389 refs #664 Fixed bug in data cache log message creation. 2016-05-26 18:01:42 +01:00
Mathew Sutcliffe
fa7aa6446b refs #662 Work around MSVC2015 bug causing failure to detect getLogCategories() in some conditions. 2016-05-25 19:25:52 +01: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
602beb0da2 Remove obsolete plugin storage
Plugin storage was used before the value cache existed. With the
value cache this is no longer used and can be removed.

refs #660
2016-05-24 16:45:14 +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
26a78ac2a6 Workaround gcc warning -Wmissing-field-initializers
gcc raises a warning when initializing std::array with
empty-braces. This is fixed in gcc 5.1.1, so a workaround
for 4.9 was necessary.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750
2016-05-24 13:12:00 +02:00
Mathew Sutcliffe
fe5e122f12 Comparison mixins implemented with forEachMemberPair instead of toCaseAwareTuple. 2016-05-22 15:34:05 +01:00
Mathew Sutcliffe
f523197dfd refs #657 Fixed race condition in synchronize(). 2016-05-22 15:34:05 +01:00
Mathew Sutcliffe
6aa67f638a refs #657 Applications started at the same time should write to different log files. 2016-05-22 15:34:05 +01:00
Mathew Sutcliffe
9da53bd58b refs #646 Added timestamps in data cache load/save log messages. 2016-05-22 15:34:05 +01:00
Mathew Sutcliffe
74f577eec9 refs #646 Using new CStatusMessage construction style in CValueCache. 2016-05-22 15:34:05 +01:00
Mathew Sutcliffe
05b5971caf refs #646 Log messages when saving and loading data cache values. 2016-05-22 15:34:05 +01:00
Mathew Sutcliffe
5a43ff8d20 refs #646 Fixed race condition between synchronize() and saveToStoreAsync(). 2016-05-22 15:34:05 +01:00
Roland Winklmeier
d6f7341b3d Install additional Qt Plugins
* audio
* iconengines
* imageformats
* mediaservice
* platforms
* platforminputcontexts
* platformthemes
* xcbglintegrations

refs #615
2016-05-20 01:42:55 +02:00
Roland Winklmeier
5a520f1c1f Give installers a better name to distinguish between 32 and 64 bit
refs #615
2016-05-20 01:42:53 +02:00
Roland Winklmeier
6fad166b44 Package MSFS simulator plugins only if they exist
There are no 64 bit MSFS simulator plugins available. Therefore don't
package them, if they were not built.

refs #615
2016-05-20 01:42:51 +02:00
Roland Winklmeier
b671089c66 Finish workaround for xbus causing X-Plane infinite loop on Mac OS X
In the first commit of this workaround, not all QApplications were
replaced by QCoreApplications. For unknown reasons, the single
replacement solved the problem. With Qt 5.6 it appeared again. This
commit finishes now the workaround.

refs #293
2016-05-20 01:42:50 +02:00