Commit Graph

3226 Commits

Author SHA1 Message Date
Klaus Basan
421d2d5411 refs #233 Keyboard key/key list
* helper methods for keylist (key for function)
* new Hotkey function (toggle window on top)
* improved comparisons for key
* unit tests
2014-05-07 23:16:28 +02:00
Klaus Basan
17f617f418 Formatting, comments typos, doxygen 2014-05-07 18:41:26 +02:00
Klaus Basan
70e2cc0526 Added icons for callsigns 2014-05-07 18:32:41 +02:00
Klaus Basan
5dd2578a4f refs #227, client (representing other pilot client) class
* client class plus list
* aircraft model class, representing the used model
2014-05-06 21:47:12 +02:00
Klaus Basan
580ec3d8c8 Formatting, comments, typos, or minor tweaks
* Aircraft ICAO class: hasXX methods (hasAircraftCombinedType(), ..)
* Index Variant map, contains(index)
* Deleted context_network_textmessages.cpp and moved it into impl.cpp (this was only 1 method)
* Fixed bug refs#228
2014-05-06 21:47:10 +02:00
Mathew Sutcliffe
894df23c50 refs #230 methods to combine and bisect containers 2014-05-06 18:13:20 +01:00
Mathew Sutcliffe
18453225bd preparatory to refs #230, need to replace QSet with QOrderedSet
(which is our own custom class) in order to support standard algorithms.
This also means adding generic comparison operators for CValueObject.
2014-05-06 18:13:10 +01:00
Mathew Sutcliffe
e076248cd9 additional support for move semantics in our containers 2014-05-05 01:41:41 +01:00
Klaus Basan
036de1b0e6 refs #212, fixed parsing of time strings 2014-04-30 02:34:30 +02:00
Klaus Basan
112bd55362 Constructor for PQ by string (e.g. 100km/h),
motivated by MS review https://dev.vatsim-germany.org/issues/212#note-6
refs #212
2014-04-30 01:15:30 +02:00
Klaus Basan
7b5e768513 Formatting, comments / doxygen 2014-04-30 01:14:17 +02:00
Klaus Basan
464c17085c refs #212, MS review, https://dev.vatsim-germany.org/issues/212#note-6 2014-04-30 01:02:36 +02:00
Klaus Basan
b4615e8b75 refs #212, removed set method as of MS review
https://dev.vatsim-germany.org/issues/212#note-6
2014-04-30 00:56:57 +02:00
Klaus Basan
9e5666e0e2 Formatting / comments / typos 2014-04-29 01:54:04 +02:00
Klaus Basan
36dbcc6b57 refs #217, Project class providing information for compile configuration
* changed .pro / .pri as required
* Used info from project class in network_vatlib
* Checks / info in GUI/core (e.g. console)
* const * versions of systemNameAndVersion / simulators, as mentioned in https://dev.vatsim-germany.org/issues/217#note-4
2014-04-29 01:53:09 +02:00
Klaus Basan
9458340d10 refs #212, added support for displaying an info if flight plan was sent
* improved validation
* fixed cat E for approach speed
* added attribute to FP class
2014-04-28 20:36:01 +02:00
Klaus Basan
172ea1d98e fixed callsign and two models 2014-04-28 20:35:45 +02:00
Klaus Basan
bcb6f3a479 refs #212, improved helper methods for CStatusMessage, needed for FP validation 2014-04-28 20:35:41 +02:00
Klaus Basan
5182df5ff7 refs #216, airport ICAO class needed for flightplan
* added class
* adjusted flightplan class, also added some convenience methods to FP class
2014-04-28 20:35:40 +02:00
Klaus Basan
ccb3600c6f refs #212, methods for parsing values
* PQ, set by other PQ
* PQ, set NULL
* PQ, CPqTime, implemented parse to string
* CPqTime to QTime
2014-04-28 20:35:39 +02:00
Klaus Basan
adfeeba19d Formatting, comments, typos only 2014-04-28 20:35:38 +02:00
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