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
8412ab9917
follow up of #698 and optimized VATSIM cache
...
(do not set if equal)
2016-07-12 03:37:40 +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
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
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
2e78674f09
Sort servers for later comparison (the comparison which avoids unnecessary saving and signals)
2016-07-03 13:22:23 +02:00
Klaus Basan
18112a0394
refs #693 , integrated GUI close dialog
...
* utility function in CGuiApplication containing the logic (dialog needed, ..)
* closeEvent function
2016-07-01 14:38:33 +02:00
Mathew Sutcliffe
744c7235e6
Context methods giving proper access to new settings save methods.
2016-06-30 22:43:45 +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
76db851bc4
refs #691 INetwork must set timestamp for received situations.
2016-06-29 20:16:26 +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
b4a9531357
refs #690 , remember last login data
...
* cache/setting for last values
* integrated in login component
* allow to set default value for server selection
2016-06-29 15:38:13 +02:00
Klaus Basan
42fdcea72c
refs #681 , use per server FSD setup in network vatlb
...
Refactoring
* encapsulated position timers start/stop
* only start interim position timer when connected
* use Q_FUNC_INFO for Q_ASSERT_X
* interim pos. interval as const values
* private VatlibQScopedPointerDeleter (slack discussion)
2016-06-29 15:38:12 +02:00
Klaus Basan
5c4e4e978e
refs #681 , removed old FSD settings (we use server based FSD setup now)
2016-06-29 15:38:11 +02:00
Klaus Basan
c133ad04c7
refs #681 , using FSD setup in server
2016-06-29 15:38:10 +02:00
Klaus Basan
0939b1f08f
refs #687 , further performance improvements
...
* avoid redundant reads by excluding entities which will be periodically updated
* restart timers when data are received, avoid overlapping requests
2016-06-29 15:38:07 +02:00
Klaus Basan
0fca9c1f18
refs #687 , use hash to avoid unnecessary operations
...
* for bookings
* VATSIM file (plus check if cache really changed before writing)
* METARs
2016-06-29 15:38:04 +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
5b506e7bd1
refs #678 , fixes bug reported by MS + improvements
...
* made clients threadsafe
* use clients to decide if model string is queried
* init aircraft/airline ICAO codes with DB data where possible
* Allow acces to log utility functions of matcher
2016-06-29 01:04:22 +02:00
Klaus Basan
2dec348c8c
Formatting from refs #678
2016-06-25 16:00:36 +02:00
Klaus Basan
3087a94ea8
refs #678 and slack discussion, renamed enum name
...
https://dev.vatsim-germany.org/issues/678#note-7
2016-06-25 16:00:33 +02:00
Klaus Basan
83d0234d3c
refs #680 , call help URL from menu
...
* added central functionality in CGuiApplication
* function in global setup for URL
2016-06-23 20:13:36 +02:00
Klaus Basan
ce7362a9d9
refs #675 default URL for bootstrap file
...
* CApplication now has member function isUnitTest
* bootstrap URL has hardcoded default URL when running as unit test
* unit tests are automatically marked as "running in dev. environment"
2016-06-23 20:13:26 +02:00
Roland Winklmeier
fbad0977fd
Make fast position update settings persistent
...
Instead of enabling fast position updates via context methods, the
settings API will be used instead. This also allowed to move the timer
into CNetworkVatlib instead of CAirspaceMonitor. The only necessary thing
was to regularly update the receiver callsign set.
refs #677
2016-06-20 13:20:54 +02:00
Roland Winklmeier
1d1ca0faa3
Add interim position update settings
...
refs #677
2016-06-20 13:17:38 +02:00
Roland Winklmeier
62491ad4e6
Add another CWeatherManager API to request weather grid
...
Instead of the existing one, this newly added API allows to request
a weather grid without a callback as argument. Instead the final grid
will be emitted as signal.
This API is also made available in ISimulatorContext for GUI access.
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
10c4fa920d
Add weather scenario settings to simulator plugins
...
refs #663
2016-06-17 10:46:31 +02:00
Klaus Basan
959fc10c92
Fixed missing distributor read and minor improvements
2016-06-15 00:11:15 +02:00
Mathew Sutcliffe
8c80cc33b3
refs #570 Fixed missing timer interval.
2016-06-08 23:59:56 +01:00
Mathew Sutcliffe
7ae453b532
refs #666 Moved interpolator to BlackMisc so xbus doesn't need to link BlackCore.
2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
c64851aeba
refs #570 Removed the hardcoded 6 seconds, interpolator honors the offsets of the situations.
2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
eecc4d75e9
refs #570 Each CAircraftSituation can have its own time offset, instead of a hardcoded 6 seconds.
2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
cf9944f1c7
refs #570 CInterpolatorLinear: style, efficiency, corrections.
2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
0246767e31
Fixed method name.
2016-06-08 23:54:13 +01:00
Roland Winklmeier
4180a890e4
Write settings, logs, cache, etc. into a installation dependent subfolder
...
refs #668
2016-06-08 21:30:56 +02:00
Klaus Basan
2a99bed0cd
refs #656 , MS review items https://dev.vatsim-germany.org/issues/656#note-4
...
Remove defaultValue where not needed
2016-06-08 18:21:03 +02:00
Mathew Sutcliffe
9bef6854ca
Caches: rename "get" to "getThreadLocal" and rename "getCopy" to get.
2016-06-08 18:21:01 +02:00
Klaus Basan
332d8e5fc8
refs #649 , added caches to model data reader
...
* trait
* const fix distributor list
2016-06-08 18:21:00 +02:00
Klaus Basan
f02bf0ac0a
refs #649 , skip reading of info objects if only caches are used and emit signals when syncronized from cache
...
(applied after 1st performance fix for cache was ready)
* utility functions to detect if only caches are used
* renamed some functions
* renamed some db flags and added new ones
2016-06-08 18:20:58 +02:00
Klaus Basan
c31145b3a0
refs #649 , made base URL static const to resolve threading issue
...
(crash when shutting down)
2016-06-08 18:20:57 +02:00
Klaus Basan
e752a3d73b
refs #649 , check for isAbandoned()
2016-06-08 18:20:56 +02:00
Klaus Basan
8b66f595d4
refs #512 , changed dock widget to use settings
...
* allow to load from settings / save to settings
* removed outdated members / functions
* aligned naming of some functioss
2016-06-08 18:20:55 +02:00
Klaus Basan
2cc9f8d754
Fix to avoid termination ("assert") noticed during testing
2016-06-08 18:20:50 +02:00