Commit Graph

3368 Commits

Author SHA1 Message Date
Klaus Basan
0db94de97d Doxygen snippet marker 2016-07-28 21:08:11 +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
7a9577efef Don't assert if CPluginManagerSimulator::createListener returns nullptr
CPluginManagerSimulator::createListener returns nullptr if no
listener could be created, e.g. because the plugin could not be loaded
due to missing dependencies. Handle this scenario properly instead of
raising an assert.

refs #669
2016-07-26 13:38:18 +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
Roland Winklmeier
06d858c57f Change installer directory "data" to "share"
refs #671
2016-07-15 21:06:57 +02:00
Klaus Basan
26c2117d65 Improved treeview representation 2016-07-14 18:49:32 +02:00
Klaus Basan
f9c36d0a99 Improved automatic reloading of altered stylesheets 2016-07-14 18:49:31 +02:00
Klaus Basan
0048384f8c Cockpit UI finetuning 2016-07-14 18:49:31 +02:00
Klaus Basan
7c9328b868 URLs for airports (slack discussion with MG) 2016-07-14 18:49:30 +02:00
Klaus Basan
ade581fd50 Avoid issues during shutdown 2016-07-14 18:49:29 +02:00
Klaus Basan
83ff4cb3cf refs #707, adjusted matcher GUI (added callsign) 2016-07-14 18:49:28 +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
a5aed9b346 GUI improvements found during #707
* logs only screen in core as default
* find top window, only use Qt::WA_TranslucentBackground on top level (Qt 5.6.1)
* correct presize when insert
* resize ATC when first station is added
2016-07-14 18:49:25 +02:00
Klaus Basan
5236688e03 refs #689, refs #703, re-applied context change to subdir version
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.
2016-07-14 18:49:25 +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
907a825015 refs #707, refactoring of airspace monitor
* removed reverse lookup and moved to matcher
* encapsulated update/adding of thread safe members (remove number of places where lock is obtained)
* removed unused METAR slot
* query FSD values encapsulated
2016-07-14 18:49:23 +02:00
Klaus Basan
b75d785071 refs #707, concentrated reverse lookup in matcher
* removed from monitor
* signatures to be directly with network data
2016-07-14 18:49:22 +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
20f335c0bc refs #707, adjusted list model base
* allow property for line numbers
* compare for ATC stations
2016-07-14 18:49:18 +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
19040af654 refs #704, moved VATSIM specific stuff to ns VATSIM/subdir 2016-07-14 18:49:11 +02:00
Klaus Basan
55772c2cf5 Adjusted some cockpit ui elements 2016-07-14 18:49:10 +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
299c82e113 refs #702, GUI to display reverse lookup messages 2016-07-14 18:49:06 +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
9f7fbaeda9 refs #702, use utils for logging 2016-07-13 03:18:46 +02:00
Klaus Basan
30fdff4559 refs #702, matching utils (unify log generation) 2016-07-12 03:37:44 +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
8412ab9917 follow up of #698 and optimized VATSIM cache
(do not set if equal)
2016-07-12 03:37:40 +02:00
Klaus Basan
77c749aba2 Some GUI adjustments / formatting found during #702
* selection in view (full row)
* Unused function removed
* Allow reduced message form
2016-07-12 03:37:39 +02:00
Klaus Basan
ebb3d0d690 Stylesheet fix 2016-07-12 03:37:38 +02:00
Klaus Basan
a3b5632a5c refs #702, better callsign syncronization 2016-07-12 03:37:37 +02:00
Roland Winklmeier
2dcb9536c9 Change the METAR update interval to 5 minutes
refs #689
2016-07-11 21:33:33 +02:00
Roland Winklmeier
77b60cbb7a Accept also numbers in airport ICAO codes 2016-07-11 21:33:33 +02:00
Roland Winklmeier
63c88c6919 Replace private slot with private method
With the new Qt5 C++11 syntax, private slots are not really necessary.
Replacing it with a normal private method reduces the generated code
from moc and also syntax issues are raised as compiler errors instead
of runtime asserts.
2016-07-11 21:33:33 +02:00
Roland Winklmeier
a3fbbd7a67 Improve logging when parsing VATSIM METARs
refs #689
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
Roland Winklmeier
319b18bf98 Set list of enabled simulators only if it was modified
refs #699
2016-07-10 21:16:45 +02:00