Commit Graph

1515 Commits

Author SHA1 Message Date
Mathew Sutcliffe
a0c20baf53 refs #697 Type traits renamed with T prefix. 2016-08-03 02:20:45 +01:00
Mathew Sutcliffe
0ae1e70923 refs #697 Data cache traits renamed with T prefix. 2016-08-03 02:20:27 +01:00
Mathew Sutcliffe
8275b0d9bf refs #697 BlackMisc settings renamed and reorganized. 2016-08-03 02:19:08 +01:00
Mathew Sutcliffe
e7c9d3b62f CDataCacheRevision: always need to lock the mutex when accessing m_updateInProgress. 2016-08-02 17:14:14 +01:00
Mathew Sutcliffe
88920501bf refs #715 Assert no longer appropriate: pruning revision file means calling writeNewRevision when m_pendingWrite is false. 2016-08-02 05:09:39 +01:00
Klaus Basan
862a84b661 refs #697, BlackGui settings renamed 2016-08-01 16:48:48 +02:00
Klaus Basan
3554c0b718 refs #716, value class / setting 2016-08-01 15:51:56 +02:00
Mathew Sutcliffe
91ba7d9f12 CLogMessageHelper::stripFlags: fixed mistake when using QString::section(). 2016-07-31 23:17:48 +01:00
Mathew Sutcliffe
b0dd2a76ff CAtomicFile invariant: any method that closes the file must restore the original filename. 2016-07-31 23:17:47 +01:00
Mathew Sutcliffe
98a2b3253a refs #694 Use human readable names in cache validation messages. 2016-07-31 23:17:46 +01:00
Mathew Sutcliffe
87b2396edb refs #694 Support human readable names for settings and data cache traits. 2016-07-31 23:15:35 +01:00
Mathew Sutcliffe
61f3655b2c refs #695 Allow to set a mock root directory for caches, for unit tests. 2016-07-29 17:09:08 +01:00
Mathew Sutcliffe
9339991644 refs #715 When loading data cache, prune revision file to remove keys that weren't found. 2016-07-29 17:09:07 +01:00
Mathew Sutcliffe
b449487a71 refs #715 Support implicit conversion from CRange to QSet. 2016-07-29 17:09:05 +01:00
Mathew Sutcliffe
08b404906d refs #708 Human-readable name for the "default" category used by QMessageLogger (e.g. qWarning).
The empty category is technically different, indicates a direct call to qt_message_output (e.g. qErrnoWarning).
2016-07-28 23:49:22 +01:00
Mathew Sutcliffe
47e0f7f335 Neater implementation of constexpr std::tuple for gcc 4.9 2016-07-28 23:49:22 +01:00
Klaus Basan
c4d9ab06be refs #712, airline icons in pilot client 2016-07-28 21:08:26 +02:00
Klaus Basan
e2f8f097e0 refs #712, completers and load from disk for flight plan 2016-07-28 21:08:26 +02:00
Klaus Basan
31b03fe2e1 refs #712, signals when all DB data are read / the web services are started
(useful for GUI as it can be used to init only when data are available)
2016-07-28 21:08:24 +02:00
Klaus Basan
90c3c35609 refs #709, as result of testing created special database views for ICAO codes
* view already filter incomplete data
* as result, info object count values are aligned with data eventually parsed (which will allow to detect changes by comparing counts)
* smaller adjustments to allow airlines with designator
2016-07-28 21:08:20 +02:00
Klaus Basan
85d76d364c refs #709, name to entity 2016-07-28 21:08:13 +02:00
Klaus Basan
2ea826afe2 Small fix for bit count 2016-07-28 21:08:11 +02:00
Klaus Basan
541d673acd Fixed year formatter / formatting 2016-07-28 21:08:10 +02:00
Roland Winklmeier
04013d0747 Optimize METAR decoding by constructing regular expressions only once
Before this commit, the regular expression strings and objects were
constructed for each METAR. This is expensive and unnecessary.
This commit optimizes this by moving the string preparation into
a helper method, which is called once to construct a static
QRegularExpression.

refs #711
2016-07-16 19:52:00 +02:00
Klaus Basan
44faccb568 refs #707, found during testing very odd characters can break the GUI 2016-07-14 18:49:27 +02:00
Klaus Basan
8d4876967e refs #708 fix 2016-07-14 18:49:26 +02:00
Klaus Basan
409534fa5e refs #707, also resolve invalid codes (as those are now resolved by endsWith) 2016-07-14 18:49:24 +02:00
Klaus Basan
c7d89c7b2c refs #707, allow to resolve airline by callsign directly in airline ICAO list 2016-07-14 18:49:21 +02:00
Klaus Basan
e497b43e06 refs #706, model string and DB key utility function 2016-07-14 18:49:20 +02:00
Klaus Basan
9810aa04b8 refs #707, allow to skip equal values in applyIf 2016-07-14 18:49:19 +02:00
Klaus Basan
7bd233feaa refs #707, renaming / formatting 2016-07-14 18:49:19 +02:00
Klaus Basan
64fa88da72 refs #707, renamed to FSInn / FSInnData 2016-07-14 18:49:17 +02:00
Klaus Basan
caa6947ff9 refs #707, added line number to HTML output 2016-07-14 18:49:16 +02:00
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
4eaea5d480 refs #703, adjustments
* removed using as discussed on slack
* Doxyfile as discussed
* Doxygen \cond
2016-07-14 18:49:09 +02:00
Klaus Basan
d782839cb8 refs #703, moved context to subdir
* ns: Context
* adjusted using classes
2016-07-14 18:49:08 +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
fbf1756092 refs #702, new log category 2016-07-12 03:37:43 +02:00
Klaus Basan
05fdf06660 refs #702, CStatusMessageList toHTML 2016-07-12 03:37:42 +02:00
Klaus Basan
b848cf6e23 refs #702, HTML utility 2016-07-12 03:37:41 +02:00
Klaus Basan
a3b5632a5c refs #702, better callsign syncronization 2016-07-12 03:37:37 +02:00
Roland Winklmeier
77b60cbb7a Accept also numbers in airport ICAO codes 2016-07-11 21:33:33 +02:00
Roland Winklmeier
28ec2be1ca Change MetarSet to MetarList
CMetarSet was implemented as a collection. This only makes sense for
values which have one member variable only or hardly ever change. METARs
often change and therefore a collection didn't make much sense.
Additional profiling showed that a sequence has better algorithmic
performance.

refs #689
2016-07-11 21:33:33 +02:00
Mathew Sutcliffe
6a466a60ef Doxygen style. 2016-07-04 23:43:35 +01:00
Mathew Sutcliffe
323a5bb12f refs #698 CSequence iterator should be random access to improve STL algorithm efficiency. 2016-07-04 23:43:33 +01:00
Mathew Sutcliffe
a209f961a6 refs #698 Added unorderedEqualsByKeys method for sequences. 2016-07-04 23:43:29 +01:00
Mathew Sutcliffe
8a46a11dd8 refs #698 Avoid recursive templates by using C++14 generic lambda. 2016-07-04 23:43:27 +01:00
Mathew Sutcliffe
b859bead0c refs #700 Added sortByProperty method for sequences. 2016-07-04 23:43:20 +01:00