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
Mathew Sutcliffe
370a392860
refs #520 When unregistering DBus objects, also remove them from the map of DBus objects.
2015-11-29 21:20:52 +00:00
Mathew Sutcliffe
01d20c53e7
refs #520 CDBusServer style/cleanup.
2015-11-29 20:14:31 +00:00
Mathew Sutcliffe
fbcc42424d
refs #520 Moved CDBusServer from BlackCore to BlackMisc.
2015-11-28 02:25:56 +00:00
Mathew Sutcliffe
ffea4e1433
refs #523 Implement CLogCategoryList::toQString so the default implementation provided by CSequence is not used.
2015-11-26 22:25:45 +00:00
Mathew Sutcliffe
3e1eb350c5
refs #476 CThreadedReader::gracefulShutdown using the worker abandon feature, removed m_shutdown.
2015-11-26 18:24:11 +00:00
Mathew Sutcliffe
1dc4864ffa
refs #476 Facility to ask worker to abandon its task and finish early.
2015-11-26 18:24:10 +00:00
Klaus Basan
a5da201701
refs #514 , ATC stations filter by valid frequency
2015-11-26 13:54:49 +01:00
Klaus Basan
d6733d49bb
refs #522 , mutex for mutable members (thread safe)
...
* copy/assignment/lock for mutable members
* also removed redundant in status message (slack discussion MS/KB)
2015-11-26 13:54:47 +01:00
Klaus Basan
a4ba45ce75
refs #522 , as preparation for mutable in status message
...
* added the new human readable patterns ( also for #506 )
* adjusted using functions
Meeting:
https://dev.vatsim-germany.org/boards/22/topics/2786?r=2787#message-2787
2015-11-26 13:54:45 +01:00
Klaus Basan
a2b413c8e1
refs #522 , consolidate mutable / make mutable thread safe
...
* removed mutable wherever possible in GUI classes
* in vPilotReader also renamed some functions and some minor improvements
2015-11-26 01:33:35 +01:00
Klaus Basan
94a277ee8e
refs #521 , reading of setup and version
...
* fixed in launcher so reloading works (this also uses fixed URL list)
* signal for version synchronized
* removed setupreader.h where possible -> less compile dependencies
* removed redundant logging
* removed unused cleanup override
* connect &QCoreApplication::aboutToQuit in threaded reader
2015-11-25 03:49:14 +01:00
Klaus Basan
530ddb3d9f
refs #521 some minor fixes (after batch refactoring meeting)
...
* adjusted simulator info so it can handle X-Plane string
* improved qss
* some size constraints in GUI
2015-11-25 03:48:31 +01:00
Klaus Basan
af3ebf71a3
refs #521 , improved URL list
...
* allow to reset url list
* remove duplicates
* fixed CFailoverUrlList::getNextWorkingUrl
2015-11-25 03:33:31 +01:00
Michał Garapich
1b06e15b61
refs #510 Remove underscores from all the source file names
2015-11-22 12:53:09 +01:00
Klaus Basan
1fc7300982
refs #507 , split up blackmiscfreefunctions
...
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Klaus Basan
025457c43b
refs #509,renamed CDownload to CUpdateInfo
...
* as discussed in meeting
* follow up adjustments (file renaming, msg. renaming)
2015-11-20 22:38:50 +01:00
Michał Garapich
3dd86d4984
refs #392 XBus copy feature fine tuning
...
* New method: CFileUtils::copyRecursively()
* Copy the XBus directory to X-Plane plugins
2015-11-19 21:08:31 +00:00
Michał Garapich
a0b4d47736
refs #392 Added BlackGui::IPluginConfig
...
* BlackGui::IPluginConfig is an interface for plugin configurations
* Added plugin_xplane_config target
* Adapted IPluginManager
* Adapted CPluginManagerSimulator
* Adaptem CSettingsSimulatorComponent
2015-11-19 21:08:21 +00:00
Michał Garapich
4d772050b0
refs #443 Add simulator enable/disable option
...
* Added CPluginSelector widget
* IContextSimulator starts/stops only specified listener(s)
* No more "auto" CSimulatorPluginInfo
2015-11-19 21:08:15 +00:00
Klaus Basan
02733cacb7
refs #507 , adjusted resource subproject
2015-11-19 21:08:09 +00:00
Klaus Basan
6dd8fb333e
refs #507 , checks if URLs / DBus can be connected / reached
...
* new class CFailoverUrlList
* improved utility methods
* CDBusServer: utility function to check server / DBus can be connected
* check in swift GUI if DBus is available
2015-11-19 21:08:06 +00:00
Klaus Basan
348d4e2f60
refs #507 , added utility function toStringList
2015-11-19 21:08:01 +00:00
Klaus Basan
d131cd2d33
refs #507 , changed setup reader and simplied global setup and setup reader
...
* a single base URL (shared), derived URLs by appended path
* simplified dir structure shared with sub directories
* renamed functions
* automatically synchronize setup with DB when initialized
* trigger download info loading when setup is completed
* allow to automatically read after setup data have been synchronized
* read DB data when setup has been loaded
* allow to reload from threaded reader
* improved handling (log messages, skip reading) when data are not available
2015-11-19 21:07:58 +00:00
Klaus Basan
4d4d6fcdc9
Fixed value cache registerMetadata
...
(MS/KB slack)
2015-11-19 21:07:55 +00:00
Klaus Basan
f448d50e29
refs #507 download value object for download information
2015-11-19 21:07:53 +00:00
Klaus Basan
864ca20be3
refs #507 , improvements on frameless window base class
...
* handle minimized / normal in window base class
* removed initial on top flag
and project
* executable names
* version number check (for launcher)
2015-11-19 21:07:42 +00:00
Klaus Basan
63e1695e3b
Icons, mainly for new launcher ( refs #507 )
...
Adjusted style sheets (qss) and resource files
2015-11-19 21:07:39 +00:00
Roland Winklmeier
06343c36bf
Change logging severity to debug in CMetarDecoder
2015-11-19 21:07:36 +00:00
Klaus Basan
4d3d9fa6be
refs #476 , improvements on gracefulShutdown
...
* gracefulShutdown in metar reader and other readers
* made m_shutdown thread safe
* Demoted log level for reader
* helper function finished or shutdown
2015-11-19 21:07:33 +00:00
Klaus Basan
de011dab1e
Formatting / style
2015-11-19 21:07:28 +00:00
Roland Winklmeier
5eddef0f12
Add install targets
...
refs #486
2015-11-19 21:07:14 +00:00
Roland Winklmeier
6474261c3c
Remove unnecessary includes
2015-11-19 21:07:00 +00:00
Klaus Basan
a32c32f7f4
Fix handling of invalid variant
...
(Slack MS/KB)
2015-11-19 21:06:52 +00:00
Klaus Basan
71c219842f
Fixed doxygen warnings, can be refined as required
2015-11-19 21:06:47 +00:00
Klaus Basan
a33558987c
Added swift header / formatting / fixed mixing registerMetatype
2015-11-19 21:06:38 +00:00