Commit Graph

1197 Commits

Author SHA1 Message Date
Roland Winklmeier
79210cb14e Add new WeatherData plugin structure
refs #556
2016-01-28 01:35:58 +01:00
Roland Winklmeier
ca06933c0d Add weather grid classes
refs #556
2016-01-28 01:35:55 +01:00
Roland Winklmeier
59508305ae Add CTemperatureLayer, CTemperatureLayerList and CWindLayerList classes
refs #556
2016-01-28 01:35:53 +01:00
Roland Winklmeier
c47d56b984 Rename altitude to level in CWindLayer
refs #556
2016-01-28 01:35:51 +01:00
Roland Winklmeier
ffb72ba3e0 Add base and coverage values to CCloudLayer
refs #556
2016-01-28 01:35:49 +01:00
Roland Winklmeier
b3d45f58e6 CMathUtils::roundToMultipleOf
refs #556
2016-01-28 01:35:47 +01:00
Mathew Sutcliffe
ab2e5af8d6 refs #545 CAtomicFile::abandon() closes without renaming, and dtor abandons if it is called due to an exception being thrown. 2016-01-27 23:37:48 +00:00
Mathew Sutcliffe
f9de444a53 refs #545 CAtomicFile used in CValueCache to avoid corruption in case serialization is interrupted. 2016-01-27 23:37:48 +00:00
Mathew Sutcliffe
956d393bb1 refs #545 CSetting<T>::setAndSave to set and save a setting in one step. 2016-01-27 23:37:46 +00:00
Mathew Sutcliffe
d9167cf226 refs #545 CCached allows to query whether a value is saved or not. 2016-01-27 23:37:45 +00:00
Mathew Sutcliffe
2c0b4f9555 refs #545 CValueCache keeps track of which values have been saved. 2016-01-27 23:37:44 +00:00
Mathew Sutcliffe
757710797e refs #545 Refactoring: extract method elementsStartingWith. 2016-01-27 23:37:43 +00:00
Mathew Sutcliffe
66fe290033 refs #567 CStatusMessageList::setCategories and related methods. 2016-01-27 23:37:43 +00:00
Mathew Sutcliffe
8d9b3c6e7f CSequence::separate splits up a sequence into a map of sequences categorized by some predicate. 2016-01-27 23:37:42 +00:00
Mathew Sutcliffe
6ddce24f0c Improved efficiency of CSequence::removeIf, but CCollection::removeIf must still use the old algorithm. 2016-01-27 23:37:41 +00:00
Mathew Sutcliffe
b0b31af7de refs #572 getStackTrace: Fixed segfault on Linux caused by trying to use a QStringBuilder after the temporaries it referred to had been destroyed. 2016-01-17 02:50:18 +00:00
Klaus Basan
8aa449bc13 Some cleanup
* removed audio utils from blackmiscfreefunctions (we wanna give it up)
* comments
* formatting
2015-12-20 17:00:13 +01:00
Klaus Basan
070ba8f158 refs #559, moved cache/settings to blackmisc 2015-12-20 17:00:10 +01:00
Klaus Basan
dfe5d8ec5a refs #535, const for model 2015-12-20 16:59:57 +01:00
Klaus Basan
92f930b068 refs #535 completer for airline name
* common base class for airline completers
* changed dependend classes
2015-12-20 16:59:56 +01:00
Klaus Basan
a7fc01ecff refs #535, find standard livery 2015-12-20 16:59:53 +01:00
Klaus Basan
1601ca62fd refs #535, updated aircraft model / view
* add functions to apply changes to selected objects
* allow to highlight models by their model strings
* Utility function to show which parts come from DB
* model strings can be obtained sorted/unsorted
2015-12-20 16:59:51 +01:00
Mathew Sutcliffe
ecf02621cd refs #540 Performance tweak for getStackTrace on Windows. 2015-12-13 16:41:06 +00:00
Mathew Sutcliffe
3064b319c6 refs #540 Fixed getStackTrace for Linux. 2015-12-13 16:41:05 +00:00
Mathew Sutcliffe
81fd3ef1d9 refs #552 CCoordinateGeodetic: added methods to get/set n-vector as doubles, to avoid narrowing. 2015-12-13 16:38:29 +00:00
Mathew Sutcliffe
0589198508 refs #552 CCoordinateGeodetic: Using double precision in the conversion from n-vector to lat/lon. 2015-12-13 16:38:17 +00:00
Mathew Sutcliffe
e6011ec7cd refs #552 Style & doxygen. 2015-12-13 16:38:13 +00:00
Mathew Sutcliffe
c1d57b8971 refs #552 Fixed broken SubdivisionConverter, and added another test to verify. 2015-12-13 16:38:10 +00:00
Mathew Sutcliffe
1f36f07bed refs #552 Fixed broken SubdivisionConverter2, and added a test to verify. 2015-12-13 16:38:07 +00:00
Klaus Basan
1b46e0400c refs #544 doxygen 2015-12-12 04:47:18 +00:00
Klaus Basan
0eec523d54 refs #551, formatting and minor changes found during searching for the issue 2015-12-10 03:13:20 +01:00
Mathew Sutcliffe
1282fc4c14 refs #540 Add the ability to capture the current call stack, and use it in singleShot. 2015-12-08 22:30:10 +00:00
Mathew Sutcliffe
886f9937ce Fixed errors found while trying to compile with Clang on Windows. 2015-12-08 21:16:57 +00:00
Mathew Sutcliffe
366030f2a9 refs #536 Moved CDataCache serialization into a worker thread. 2015-12-08 21:16:26 +00:00
Mathew Sutcliffe
e266ccefad CValueCache::saveToFiles doesn't need to lock the mutex. 2015-12-08 21:16:25 +00:00
Klaus Basan
c1b612e193 Some fixes as follow up of refs #533
* made plugin aware functions protected
* set setup for FSX ( refs #547 ) and made setup protected
* removed CLogHandler::instance()->disconnect(); as discussed in slack
* some formatting
2015-12-08 20:14:24 +01:00
Klaus Basan
27bbb3d58c refs #533, fixed matcher as temporary solution until we have DB data
* the whole concept here will change, see comments CAircraftMatcher::getClosestMatch
* currently returns exact match or default model
* added ASSERT in monitor to detect missing callsign for model at an early stage
2015-12-08 20:14:21 +01:00
Klaus Basan
bc65cde182 Specific fix for KB, which will be removed later 2015-12-08 20:14:21 +01:00
Klaus Basan
f9c160d625 refs #533, fix callsign validation and split into functions for ATC/aircraft 2015-12-08 20:14:20 +01:00
Klaus Basan
6ac1808d25 Allow to save list of "other servers"
* load / save setting called
* fixed handling in server form

Follow up of refs #533, related to #545
2015-12-08 20:14:19 +01:00
Klaus Basan
ac44485ff8 Improved/fixed ICAO designator displayed in table view
(discovered during #refs #533 tasks)
2015-12-08 20:14:18 +01:00
Klaus Basan
291c95160f Doxygen fixes refs #544 2015-12-08 20:14:17 +01:00
Klaus Basan
22ca6ae922 Fixed adding the hardcoded test servers in a dev. environment
(issue found during debugging of #533)
Added some functions to find similar servers by address/port
2015-12-08 20:14:16 +01:00
Klaus Basan
e1505228f2 Fix Jenkins GNU C Compiler Warning 2015-12-08 20:14:13 +01:00
Klaus Basan
88f14f150d refs #538, made CWebDataServicesAware funtions protected
actually there is no reason why any using class should expose them
only exception is that airspace monitor exposes the metar function
2015-12-08 20:14:10 +01:00
Klaus Basan
51d4301899 As a follow up of #533 and also detected during #538 #524 tasks, fixed 2 more issues/bugs
* only call this->abandonAndWait() when not in main thread (also slack discussion MS/KB)
* make sure web data service start to read even if setup reader signal was missed
* add timestamp to setupreader to detect "recently read" in case signal is missed
2015-12-08 20:14:10 +01:00
Klaus Basan
a863f99c9d refs #533, fixes "CContextSimulator::ps_addRemoteAircraft is never called"
* reordered use of fireDelayedReadyForModelMatching
* better calls / params depending on received packet(FSInn / Icao code)
* fixed search in DB data
* works now with and without DB data present
2015-12-08 20:14:09 +01:00
Klaus Basan
8f85c54989 refs #538, Formatting, minor tweaks, comments
* new slot syntax in ATC station component
* formatting, comments
* tab order
* utility function for severity in status message
* null checks in threadutils
* invalidKey function in datastore
* changed data object keys (cached objets)
* added missing value object compare cases
* renamed timer in context network
* finder function for model list
* renamed getContainer to container (as it is just a reference)
2015-12-07 02:25:26 +01:00
Mathew Sutcliffe
c644b81d08 refs #493 Added BLACK_VERIFY macros, a weaker kind of Q_ASSERT. 2015-11-30 19:35:43 +00:00
Mathew Sutcliffe
468015949f refs #520 Should be able to register objects on a P2P connection already established. 2015-11-29 21:29:53 +00:00