Commit Graph

3205 Commits

Author SHA1 Message Date
Klaus Basan
03580b9cdc refs #212, fixed parsing for PQs
* trimmed strings
* renamed to parseToVariant methods avos ambiguity with template method
2014-04-28 20:35:35 +02:00
Klaus Basan
ce619e7a50 refs #201, support for flight level in altitude (needed for flight plan) 2014-04-28 20:35:34 +02:00
Roland Winklmeier
95fa5e84df Removed IContext
Network and voice samples work using them and have to allocate
their own vatlib objects now.

refs #221
2014-04-26 20:46:56 +02:00
Roland Winklmeier
0ceb3ad75e Remove former plugin management and samples
refs #221
2014-04-26 20:45:12 +02:00
Klaus Basan
d95c86d094 refs #214, fixed hash for variant map
* hash based on convertToQString
* fixed convertToQString
2014-04-21 17:42:16 +02:00
Klaus Basan
2fd80694a6 Minor tweaks around formatting, comments, renaming, warnings 2014-04-21 17:42:12 +02:00
Mathew Sutcliffe
8043caab6d refs #197 stringification of null quantity should yield "undefined" 2014-04-17 00:34:03 +02:00
Mathew Sutcliffe
a4e3ac6f40 refs #197 fixing (hopefully) comparison between null quantities
and related rationalization of PQ comparison.
2014-04-17 00:32:41 +02:00
Klaus Basan
a70bc1cb38 fixes as follow-up of meeting https://dev.vatsim-germany.org/boards/22/topics/1671
* asserts for relaySignals
* relay "message" in connection status changed
* bug in status message
* bug in saving settings

refs #198 refs #199 refs #207 refs #209
2014-04-17 00:11:59 +02:00
Klaus Basan
284a130669 refs #209, reset method for settings 2014-04-17 00:11:50 +02:00
Klaus Basan
9db245c843 refs #207, fixed windows.h / NOMINMAX.
Depending on the build setup (config.pri) missing NOMINMAX caused warning, or already existing NOMINMAX caused warning
2014-04-17 00:10:05 +02:00
Klaus Basan
e474671ead refs #207, renamed CValueMap to CIndexVariantMap.
* The map will be used with CSimulaorInfo to transfer a variable number of setting information about the flight simulator. It is being used, because it is already DBus and tupel compliant. The new name better fits its purpose.
* Add == operator for CIndexVariantMap (ambiguity error with tupels)
2014-04-17 00:10:04 +02:00
Klaus Basan
e70894dd59 refs #205, renamed to CNetworkUtils as more methods for IP-addresses are introduced, added CNetworkUtils::getKnownIpAddresses() 2014-04-17 00:09:55 +02:00
Klaus Basan
9b26cd6435 refs #199 , prepared Status message for output redirection (qDebug, qWarning)
* new type
* output as HTML (GUI console)
2014-04-17 00:09:16 +02:00
Klaus Basan
7b7fbee4c3 refs #199, code formatting and Doxygen, icons, comments, typos 2014-04-17 00:09:12 +02:00
Klaus Basan
0ff353b671 refs #197, isNull PQ converted to "undefined" 2014-04-17 00:09:07 +02:00
Klaus Basan
4a180fc27f refs #198, updated network settings so they can read/write JSON and be used with persistent settings 2014-04-17 00:05:56 +02:00
Klaus Basan
f3148fdd49 refs #198 , changed keyboardkey classes so they can be initialized either by read settings or default values 2014-04-17 00:05:55 +02:00
Klaus Basan
2a0514fff9 refs #198 , added utility methods for read/write settings 2014-04-17 00:05:52 +02:00
Klaus Basan
d6191e97a0 refs #199 , moved operator for enum/DBus to own file. This operator is not CValueObject specific. 2014-04-17 00:05:42 +02:00
Klaus Basan
8d5e06a439 refs #199 and refs #198, formatting / Doxygen as preparation for some refactoring.
Also added new icon as application and table view icon.
2014-04-17 00:05:41 +02:00
Klaus Basan
cf009d7b17 refs #198, renaming of method (for consistency) and Doxygen/formatting only 2014-04-17 00:05:39 +02:00
Mathew Sutcliffe
37296e1822 refs #179 & #147 Added INetwork methods getStatusUrls and getKnownServers.
Added CServer member isAcceptingConnections.
2014-04-03 23:08:09 +01:00
Mathew Sutcliffe
f4a4eddca2 refs #48 value class for flight plans 2014-04-03 23:06:52 +01:00
Mathew Sutcliffe
f601334ffa refs #192 tweaking include order and moving some JSON things into global namespace
so that we invoke ADL instead of relying on a particular include order
2014-03-31 23:48:39 +01:00
Mathew Sutcliffe
8405049a85 refs #140 added streaming for tuples to QDebug 2014-03-31 23:48:38 +01:00
Mathew Sutcliffe
a34357603d integration fixes for JSON to be compatible with the nested tie workaround for tuples with more than 10 members
refs #202, #192 & #182
2014-03-31 22:36:02 +01:00
Mathew Sutcliffe
f8d991ec04 tuples: make the fake variadics more simple by sharing more code with the real variadics 2014-03-31 22:35:42 +01:00
Roland Winklmeier
00356bbef6 Linear interpolator implementation
refs #169
2014-03-30 13:46:10 +02:00
Roland Winklmeier
dd2e212f92 Add value object CAircraftSituationList
refs #169
2014-03-30 13:45:04 +02:00
Mathew Sutcliffe
c847237505 Using nested tie to workaround implementations with a maximum tuple size of 10.
refs #182
2014-03-28 17:07:36 +00:00
Mathew Sutcliffe
e1e024e62e Change compare to be recursive in the case of nested calls to tie.
refs #182
2014-03-28 17:04:50 +00:00
Mathew Sutcliffe
1dfb406d54 Replaced std::tie with BlackMisc::tie, to help workaround tuples with more than 10 members.
This required some changes to the signatures of compare, qHash, and stream operators.
refs #182
2014-03-28 17:02:49 +00:00
Mathew Sutcliffe
6cf5089b18 minor style improvement:
traits class should have a static const bool value member
2014-03-28 17:00:51 +00:00
Mathew Sutcliffe
bfce2d186f removing/simplifying uses of enable_if for JSON streaming operators 2014-03-28 15:03:56 +00:00
Mathew Sutcliffe
3ac59f0872 fixing typos, doxygen, and style from #192 2014-03-28 15:02:47 +00:00
Klaus Basan
bbb4ddbaef refs #196, fixed wrong inits with ModeS instead of StateStdby (Transponder) 2014-03-27 01:55:19 +01:00
Klaus Basan
d4f1221665 refs #197, unit test and preliminary fix for nullUnit comparison 2014-03-27 01:16:14 +01:00
Klaus Basan
5bdb8659ca refs #196, encapsulated transponder mode selection (combo box)
* promoted QComboBox in GUI
* features automatic reset for ident
* Conversion to CTransponder::TransponderMode from string
2014-03-27 01:13:19 +01:00
Klaus Basan
5b11de4da0 refs #192 , minor fixes after integration of #126 2014-03-26 21:28:25 +01:00
Klaus Basan
87e4267872 Slightly improved version of compareImpl in containerbase.h 2014-03-26 20:18:49 +01:00
Klaus Basan
57435b2a73 refs #192, some housekeeping during the JSON introduction
* removed unused tryGet methods for transponder / COM
* adjusted unit tests
2014-03-26 20:18:47 +01:00
Klaus Basan
e2461cb67c refs #192, Doxygen / formatting 2014-03-26 20:18:46 +01:00
Klaus Basan
853259709a Fixed transponder mode from String conversion 2014-03-26 20:18:45 +01:00
Klaus Basan
b9ed8c7186 Fixed comparison of callsign, which should be string based, not tupel based 2014-03-26 20:18:43 +01:00
Klaus Basan
88fb9e8832 refs #192, enable value objects for JSON:
* from/toJson methods
* jsonMembers where applicable
2014-03-26 20:18:42 +01:00
Klaus Basan
586e1e4053 refs #192 , enabled CValueObject for JSON
* operators
* from/toJson method
2014-03-26 20:11:34 +01:00
Klaus Basan
0d4abb4c91 refs #192, JSON operators except for CValueObject 2014-03-26 20:11:32 +01:00
Klaus Basan
a724f7ee91 refs #192, Doxygen and other cosmetic changes 2014-03-26 20:11:31 +01:00
Klaus Basan
9d1f8a63f3 refs #192 , added JSON support to tupel
* jsonMembers() method in Macro
* serializeJson / deserializeJson for tupels
2014-03-26 19:51:03 +01:00