Commit Graph

4664 Commits

Author SHA1 Message Date
Roland Winklmeier
2ab6e7f41e CIdentifierList utility function
getMachinesUnique() returns a list of identifiers reduced to maximum
one per machine. If there is more than one per machine, it is undefined
which one will be returned.

refs #881
2017-04-17 23:59:06 +01:00
Roland Winklmeier
54b76d91ad CIdentifier utility classes
fake() returns a fake identifier, simulating an existing one.
isFromSameMachine() is a utility class to compare whether another
CIdentifier is from the same machine

refs #881
2017-04-17 23:59:04 +01:00
Mathew Sutcliffe
42a13fceff refs #905 When at least one sim plugin is disabled, sim settings component
would always reset the enabled sims setting even if nothing changed.
2017-04-17 23:59:03 +01:00
Mathew Sutcliffe
c9587e5ace refs #905 Fixed unrelated potential undefined behaviour. 2017-04-17 23:59:01 +01:00
Mathew Sutcliffe
70224bea72 refs #904 Settings JSON files split into arbitrary levels of subfolders, one file per key. 2017-04-17 23:59:00 +01:00
Klaus Basan
6e28dfbce3 refs #887, improved copy wizard
* initAndPreselectDirectories when wizard page becomes visible
* completed copy function
2017-04-17 23:58:57 +01:00
Klaus Basan
221e4c2b9c refs #886, start config wizard when -i is passed to launcher
made -i an optional flag
2017-04-17 23:58:55 +01:00
Klaus Basan
cc732bca84 Formatting 2017-04-17 23:58:54 +01:00
Klaus Basan
35c685b344 Formatting, #825 (matching) 2017-04-17 23:58:53 +01:00
Klaus Basan
eabb576b67 fixed SwiftGuiStd::setContextAvailability
(check against isEmptyObject, not isUsingImplementingObject)
2017-04-17 23:58:51 +01:00
Klaus Basan
83383f438c Improved kill button handling, now it can be set even if frame is not yet initialized
* default is disabled
* only pilot client needs to enable it
2017-04-17 23:58:50 +01:00
Klaus Basan
0851b8c994 refs #868, added xplaneDir utility function to remove boilerplate code
and using CFileUtils::appendFilePaths to concat file paths
2017-04-17 23:58:48 +01:00
Klaus Basan
99c792dd4b Refs #868 Use CXPlaneUtil::xplaneRootDir() in the X-Plane plugin 2017-04-17 23:58:46 +01:00
Michał Garapich
f25d569ae8 refs #868 Add CXPlaneUtil::xplane11Dir() 2017-04-17 23:58:45 +01:00
Klaus Basan
3432dd56fe Minor UI fixes (typos, layout) 2017-04-17 23:58:43 +01:00
Klaus Basan
b392992944 refs #901, use CSingleApplicationUi for UI settings
plus stylesheet update to notice disabled component
2017-04-17 23:58:42 +01:00
Klaus Basan
57ede8b04c refs #901, utility class for single UI widgets
(disables widget when >1 swift application runs)
2017-04-17 23:58:41 +01:00
Klaus Basan
0e923780ce Updated legal docs 2017-04-17 23:58:40 +01:00
Klaus Basan
bd29257f92 refs #900, use filtered flag, old approach was faulty
Also added log categories
2017-04-17 23:58:38 +01:00
Klaus Basan
30ef3eedf9 refs #900, filtered flag for containerOrFilteredContainer
more reliable than other approaches
2017-04-17 23:58:37 +01:00
Klaus Basan
6999a97f73 Allow to globally disable the kill button
(only needed in swift pilot client so far)
2017-04-17 23:58:35 +01:00
Klaus Basan
66e17d62b6 Removed wrong assert 2017-04-17 23:58:34 +01:00
Klaus Basan
c6f7896939 Fixed pilot client UI "model set LED"
and some minor formatting adjustments
2017-04-17 23:58:32 +01:00
Klaus Basan
fef6cba645 refs #898, rendered view update
* removed redundant function
* use token bucket for forced updated
* and timer updates to update speed, pos. etc., but not forced
2017-04-17 23:58:31 +01:00
Klaus Basan
ac07d7f7b6 refs #899, use specialized view for callsigns 2017-04-17 23:58:29 +01:00
Klaus Basan
ddc7809b0e refs #899, use specialized model for callsigns 2017-04-17 23:58:28 +01:00
Klaus Basan
8e84f632b0 refs #899, specialized view for callsign based views 2017-04-17 23:58:26 +01:00
Klaus Basan
949407c1a7 refs #899, list model for callsign based models
(callsign is unique key)
2017-04-17 23:58:25 +01:00
Klaus Basan
297fef7c3c refs #899, added replaceOrAddObjectsByCallsign utility function 2017-04-17 23:58:24 +01:00
Klaus Basan
f71e717ec1 refs #899, formatting, renaming, include guard names 2017-04-17 23:58:22 +01:00
Klaus Basan
8cc683386f refs #897, set timestamp for sent message and default "all messages" 2017-04-17 23:58:21 +01:00
Klaus Basan
a7393b04e1 Formatting #897 2017-04-17 23:58:18 +01:00
Mathew Sutcliffe
6a6f98ebd1 refs #896 Renaming members. 2017-04-17 23:58:17 +01:00
Mathew Sutcliffe
a94e117e97 refs #896 Use corrected altitude in spline interpolator (prevents underflow in FSX). 2017-04-17 23:58:16 +01:00
Klaus Basan
e30e9a7a94 No selection for airports 2017-04-17 23:58:14 +01:00
Klaus Basan
78f3ef375f refs #896, added logging of CG and old/new position 2017-04-17 23:58:13 +01:00
Klaus Basan
03b8739158 refs #895, add initial parts when aircraft is added in FSX
plus some utility functions
2017-04-17 23:58:09 +01:00
Klaus Basan
a27717cf8b refs #895, also log when parts are empty
* added empty flag
* move logging into own function (because it is called in multiple places now)
2017-04-17 23:58:07 +01:00
Klaus Basan
aa14c564b0 Fixed SwiftGuiStd::setContextAvailability
(found during testing #895)
2017-04-17 23:58:06 +01:00
Klaus Basan
5e19431d2b Formatting, comments
#895
2017-04-17 23:58:04 +01:00
Klaus Basan
7427847bb4 refs #895, CPartsStatus(bool supportsParts) 2017-04-17 23:58:03 +01:00
Klaus Basan
2eef9288b9 Added shutting down function 2017-04-17 23:58:02 +01:00
Klaus Basan
a492fe4806 Added 3 parameters version
#868
2017-04-17 23:58:00 +01:00
Klaus Basan
797e5dd576 Renamed function to processNames as part of review
https://dev.vatsim-germany.org/issues/894#note-3
2017-04-17 23:57:59 +01:00
Klaus Basan
8b1c8c068b refs #895, reset to "invalid" sentParts when object is added
(makes sure the parts are sent at least once)
2017-04-17 23:57:58 +01:00
Klaus Basan
6a63bcf666 No updates when UI component is invisible or unchanged HTML code 2017-04-17 23:57:57 +01:00
Klaus Basan
4a0ddfb5d1 refs #895, renamed data structure to DataDefinitionRemoteAircraftPartsWithoutLights 2017-04-17 23:57:53 +01:00
Klaus Basan
a737b27ce8 refs #894, display dot commands HTML help as tooltip (in command line) 2017-04-17 23:57:52 +01:00
Klaus Basan
38ea336cbb refs #894, register dot commands for help
(wherever dor commands are implemented)
2017-04-17 23:57:50 +01:00
Klaus Basan
b287d8d9d7 refs #894, dot commands help can be obtained via application context 2017-04-17 23:57:49 +01:00