Commit Graph

1494 Commits

Author SHA1 Message Date
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
Mathew Sutcliffe
bf61657376 refs #698 Added equalsBy and equalsByKeys methods for containers. 2016-07-04 23:42:20 +01:00
Mathew Sutcliffe
e87d6b887c Removed unused code. 2016-07-04 23:40:36 +01:00
Mathew Sutcliffe
5bc639c3b4 Removed unnecessary typename keyword. 2016-07-04 23:40:33 +01:00
Mathew Sutcliffe
e20c8bbcbd Doxygen style. 2016-07-04 23:40:30 +01:00
Klaus Basan
8d5020d78e Some Web readers adjustemnts
* do not init shared URLs before needed
* do not load info objects when DB is unavailable
* adjust reader flags when DB is down
* airport URL available in setup
2016-07-03 13:22:26 +02:00
Klaus Basan
773f318a07 ref #701, "improved countries"
* utility function for "accent free" strings
* added 3 letter ISO, alias names
* improved searching in countries
2016-07-03 13:22:25 +02:00
Klaus Basan
663b161b0c Gimmick and formatting
* flags for VATSIM servers
* improved country resolution
2016-07-03 13:22:06 +02:00
Mathew Sutcliffe
843620ca3c Caches: method to save values given a list of keys. 2016-06-30 22:20:32 +01:00
Mathew Sutcliffe
242e041ceb refs #679 CValueCache local signal relay moved to the point of emission, to tolerate different orders of initialization of application. 2016-06-30 02:06:16 +01:00
Mathew Sutcliffe
8b73da6ed6 refs #691 Make sure to set status correctly in interpolator. 2016-06-29 20:16:26 +01:00
Mathew Sutcliffe
37b8436ebb refs #679 Missing values in json should not cause members of default-constructed object to be overwritten. 2016-06-29 17:34:52 +01:00
Mathew Sutcliffe
903abcf514 refs #679 CApplication shall ensure CSettingsCache relay signal is connected when context is not available. 2016-06-29 17:34:51 +01:00
Klaus Basan
6f97e7290b refs #681, FSD UI at login screen
* plus completers for login GUI (ICAO, ...)
* some utility functions in related value object classed
2016-06-29 15:38:15 +02:00
Klaus Basan
c133ad04c7 refs #681, using FSD setup in server 2016-06-29 15:38:10 +02:00
Klaus Basan
fcba4f2e75 refs #681, value object for FSD setup 2016-06-29 15:38:06 +02:00
Klaus Basan
0253da8bf9 Minor improvements
* space in message
* removed ns Simulation
* Doxygen
2016-06-29 01:04:44 +02:00
Klaus Basan
dc02ff2d0c Addded log categories / human readable pattern 2016-06-29 01:04:44 +02:00
Klaus Basan
488d437a2a #refs 686, used settings in readers
* moved threaded reader to BlackCore (settings are normally BlackCore aware)
* created ns/subfolder VATSIM
* prepared settings for the VATSIM readers
2016-06-29 01:04:41 +02:00
Klaus Basan
056841f9b1 refs #685, settings for readers (value object, traits) 2016-06-29 01:04:39 +02:00
Klaus Basan
3ca9d729c8 refs #685, utility function 2016-06-29 01:04:23 +02:00
Klaus Basan
2dec348c8c Formatting from refs #678 2016-06-25 16:00:36 +02:00