Commit Graph

3059 Commits

Author SHA1 Message Date
Klaus Basan
8278fb262e Streamlined readInBackground as result of #709 2016-07-28 21:08:22 +02:00
Klaus Basan
435f345cc6 refs #709, launcher GUI finetuning
* don`t always init caches, only when needed
* init caches when component is 1st displayed
* smaller LEDs
2016-07-28 21:08:21 +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
31921f34ef refs #709, use load indicator for load overview
(indicating reloading)
2016-07-28 21:08:19 +02:00
Klaus Basan
ff4097504c refs #709, config for launcher 2016-07-28 21:08:18 +02:00
Klaus Basan
4b1179cfd8 refs #709, allow to read directly from DB (bypassing caches)
* allow to reload
* copying array size of response for debugging purposes
2016-07-28 21:08:17 +02:00
Klaus Basan
80ab55c4be refs #709, GUI component (load info) added to launcher
(plus enabled webservices for launcher)
2016-07-28 21:08:17 +02:00
Klaus Basan
10a1fcebf7 refs #709, load info GUI component 2016-07-28 21:08:16 +02:00
Klaus Basan
876b4c9c22 refs #709, smaller version of status bar component 2016-07-28 21:08:15 +02:00
Klaus Basan
6f840f4fd6 refs #709, access to timestamp/count per entity
* utility functions
* made protected functions public
2016-07-28 21:08:14 +02:00
Klaus Basan
85d76d364c refs #709, name to entity 2016-07-28 21:08:13 +02:00
Klaus Basan
ebcd738a4b refs #709, fixed initial version displayed
(was not called when data were not updated)
2016-07-28 21:08:12 +02:00
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