Commit Graph

1231 Commits

Author SHA1 Message Date
Klaus Basan
7bc53ada3e refs #883, fixes and formatting
* QProcess::startDetached is static, removed startNewProcess
* QStringBuilder
2017-02-24 15:21:42 +00:00
Klaus Basan
f73ee87e13 refs #882, support redirect transparently in CApplication
* SSL client certificate functionality used from utils
* support for max redirects

Remark:
QNetworkRequest::FollowRedirectsAttribute would allow auto redirect, but we use our approach as it gives us better control
2017-02-24 15:21:35 +00:00
Klaus Basan
7917769802 refs #875, adjusted using classes to use new namespaces 2017-02-24 15:21:18 +00:00
Klaus Basan
31b6ef83f0 refs #875, moved DBus test classes to blackmisc
https://dev.vatsim-germany.org/issues/875#note-8
2017-02-24 15:21:14 +00:00
Klaus Basan
3c588e61fa refs #875, moved classes for DBus unit tests and samples to BlackCore::Test 2017-02-24 15:21:00 +00:00
Klaus Basan
5b08363179 refs #875, unit test for proxies
tests init and signal connects
2017-02-24 15:20:58 +00:00
Klaus Basan
2f4c86fac4 refs #875, DBus fixes
* wrong signal connection signature -> assert
* missing SELCAL in simulated aircraft
2017-02-24 15:20:56 +00:00
Klaus Basan
c1482dca36 Formatting, help text beautifyHelpMessage, improved convertToQString 2017-02-24 15:20:55 +00:00
Klaus Basan
a34be02e07 refs #617, CActionItem supports icon
* standard paths for applications
* support for Qt::DecorationRole
* QMap<QString, QPixmap> m_availableActions
* Constructor for icon only
* only leafs support actions
2017-02-24 15:20:54 +00:00
Klaus Basan
6a96d14baa Formatting, icon utility function, icon size 2017-02-24 15:20:52 +00:00
Klaus Basan
74d608b5df refs #617, allow to use CGuiActionBindHandler with buttons
* used for weather enable/disable
* use actionBindWasDestroyed when corresponding BlackCore::CActionBind is destroyed
2017-02-24 15:20:44 +00:00
Klaus Basan
8c81f2bea3 refs #617, CActionBind extended
* delete callback when dtor is called (can use related receivers)
* added cpp file
* CActionBindings for multiple bindings (shared pointers)
* normalize action string
2017-02-24 15:20:40 +00:00
Klaus Basan
eeaed099f0 Formatting, typos 2017-02-24 15:20:39 +00:00
Klaus Basan
d4b2238dc6 Formatting 2017-02-24 00:20:11 +00:00
Klaus Basan
7eacb41113 refs #873, allow to request aircraft parts (aircraft config) from network 2017-02-24 00:20:09 +00:00
Roland Winklmeier
47aa04b5e9 Attach swift client certificate if url is swift shared url
refs #762
2017-02-24 00:19:38 +00:00
Klaus Basan
818cdfba59 Doxygen, added link to dev wiki and fixed group 2017-02-24 00:19:11 +00:00
Klaus Basan
e3d81c6c44 refs #865, use same function for removing outdated aircraft parts
* in airspace monitor
* in XP traffic.cpp
2017-02-24 00:19:09 +00:00
Klaus Basan
309d593607 refs #871, use const values for times 2017-02-24 00:19:07 +00:00
Klaus Basan
af15929b30 refs #865, allow to enable interpolator/parts logging
* removed debug messages from interpolator
* added callsign to getInterpolatedParts / getInterpolatedSituation signatures
* config for logging via CInterpolationAndRenderingSetup::addCallsignToLog etc.
2017-02-24 00:18:56 +00:00
Klaus Basan
301db27945 refs #865, make log directory available for blackmisc 2017-02-24 00:18:52 +00:00
Klaus Basan
68dccbefa6 Formatting, renaming, Doxygen, minor UI adjustments 2017-02-24 00:18:51 +00:00
Roland Winklmeier
a7635a7e13 Force observer mode login only in shipped versions
The required feature to force observer login in case no simulator
is available, is only necessary in offically shipped versions.
In order to allow developer testing, limit it to shipped builds only.

refs #872
2017-02-24 00:18:33 +00:00
Roland Winklmeier
1401b2f956 Add new command line argument 'serverType'
ServerType allows to override the ServerType at runtime

refs #872
2017-02-24 00:18:31 +00:00
Roland Winklmeier
c260af7b11 Update externals 2017-02-24 00:18:30 +00:00
Roland Winklmeier
9ccec07c36 Process all pending NetworkVatlib tasks before logging off 2017-02-24 00:18:26 +00:00
Mathew Sutcliffe
76cc9f8ad8 refs #852 CAirspaceMonitor has no maximum number of parts per callsign,
but regularly prune the list based on timestamp age.
2017-02-24 00:17:53 +00:00
Mathew Sutcliffe
3e70ab1207 refs #852 Add a time offset to CAircraftParts. 2017-02-24 00:17:46 +00:00
Roland Winklmeier
372e92072c Fall back to observer mode login in case no simulator is available
refs #860
2017-02-24 00:09:25 +00:00
Roland Winklmeier
f5058574d0 Add isVatsimVersion to build configuration
This build configuration enables Vatsim specific features.

refs #860
2017-02-24 00:09:24 +00:00
Klaus Basan
63e2743867 refs #858, fixed todo by adding "getInterimPositionReceivers()" 2017-02-24 00:09:02 +00:00
Klaus Basan
61e7f23847 refs #858, todo review (demoted, commented) 2017-02-24 00:09:00 +00:00
Klaus Basan
1ced7f3c0b refs #857, check if network is accessible in readers
* new read state "skipped"
* renamed to "isNetworkConnectedAndAccessible"
* checking before reading, which would only fail if network is not accessible
2017-02-24 00:08:55 +00:00
Klaus Basan
04e980a6ae refs #857, monitor accessible network in application 2017-02-24 00:08:53 +00:00
Klaus Basan
bed1542fe4 Update externals
* vatlib 0.9.6
* Partially revert 3f975838b2
2017-02-24 00:08:47 +00:00
Mathew Sutcliffe
a0e59546f0 fixed mistakes caught by clang 2017-01-11 01:28:42 +00:00
Roland Winklmeier
1a6c7fa192 Add control button to activate and deactivate swift weather
- GUI changes
- Context and ISimulator APIs
- Refactored settings and static weather injection in CSimulatorCommon

refs #807
2017-01-10 23:47:39 +00:00
Klaus Basan
7d9b721b87 Avoid further loading when shutting down 2017-01-10 23:47:26 +00:00
Klaus Basan
4a28807768 refs #853, JSON exception handling in setup reader 2017-01-10 23:47:19 +00:00
Klaus Basan
e3197ce375 refs #853, JSON exception handling adjustments for ICAO reader 2017-01-10 23:47:17 +00:00
Klaus Basan
b0bef3264c refs #853, JSON exception handling adjustments for model reader 2017-01-10 23:47:15 +00:00
Klaus Basan
e956986bf4 refs #853, JSON exception handling adjustments for airport reader 2017-01-10 23:47:13 +00:00
Klaus Basan
cfca78ec2a refs #849, aircraft matcher
* support for statistics entries
* when setting models, corresponding simulator can be set
2017-01-10 23:47:05 +00:00
Klaus Basan
88f7a19d4c refs #849, airspace monitor signals received raw data 2017-01-10 23:47:04 +00:00
Klaus Basan
17b9d95a8a refs #849, connect cross context signals to update statistics 2017-01-10 23:47:03 +00:00
Klaus Basan
194b2fd9ba refs #849, network context
* formatting
* made some functions protected instead public
2017-01-10 23:47:01 +00:00
Klaus Basan
44d7e3cca9 refs #849, simulator context
* detect when network is connected (to receive data for statistics)
* function to get statistics
* also added function to re-initialize last model set (unrelated, but in same class)
2017-01-10 23:46:59 +00:00
Klaus Basan
3fb374cc75 refs #849, signal when network data are received, for statistics
checks what data we support vs. data we have received
2017-01-10 23:46:54 +00:00
Klaus Basan
5f18707c9c Minor fixes: Formatting, string generation 2017-01-10 23:46:47 +00:00
Mathew Sutcliffe
bda0f42c60 refs #815 Mark with \todo the remaining places where CJsonException needs to be caught. 2017-01-10 23:46:37 +00:00