Commit Graph

1402 Commits

Author SHA1 Message Date
Mathew Sutcliffe
4c8148acf1 refs #345 First wave of value classes using the CValueObjectStdTuple CRTP class template. 2014-11-10 20:44:25 +00:00
Mathew Sutcliffe
ecf8e6aafb refs #345 Added a metatuple flag for case insensitive comparisons, so CAirportIcao and CCallsign comparisons can use metatuples. 2014-11-10 20:44:11 +00:00
Mathew Sutcliffe
1283d50737 refs #345 Refactored TupleConverter flags so that they can be accessed by Private::Attribute. 2014-11-10 20:43:57 +00:00
Mathew Sutcliffe
ff9612115b refs #345 Private::Attribute: friend function operators for symmetry/consistency. 2014-11-10 20:43:43 +00:00
Mathew Sutcliffe
8f7c10f306 refs #345 Symmetric equality operators complete the original implementation of CValueObjectStdTuple. 2014-11-10 20:43:33 +00:00
Mathew Sutcliffe
1a5856e34c refs #345 For consistency, CValueObjectStdTuple is friend of TupleConverter specialization for template value classes. 2014-11-10 20:43:22 +00:00
Mathew Sutcliffe
e436fa3870 refs #345 Tuple tweaks to improve error messages. 2014-11-10 20:43:08 +00:00
Mathew Sutcliffe
8e5a9111bd refs #345 Removed nonsense code (copy-paste mistake). 2014-11-10 20:42:54 +00:00
Mathew Sutcliffe
69e8ff1c5c refs #345 Fixed mistake. 2014-11-10 20:42:44 +00:00
Mathew Sutcliffe
798b198d4e refs #345 Style and doxygen. 2014-11-10 20:42:31 +00:00
Mathew Sutcliffe
8f5315b846 Suppress GCC warnings. 2014-11-08 23:50:39 +00:00
Roland Winklmeier
6fdd934cd1 refs #341 Remove m_callbackWrapper from CFs9Client
Is already implemented in base class.
2014-11-05 16:34:24 +01:00
Roland Winklmeier
0e675b97e6 refs #341 Remove unnecessary Q_DECL_EXPORT.
Qt MOC exports the required symbols.
2014-11-05 16:34:24 +01:00
Roland Winklmeier
7701367a1c refs #341 Interpret return code before moving on 2014-11-05 16:34:24 +01:00
Roland Winklmeier
8d68dd8188 refs #341 Allocate variables when they are needed the first time 2014-11-05 16:34:24 +01:00
Roland Winklmeier
c720b33ca8 refs #341 Use in-class initialization for m_playerLocal and m_playerUser 2014-11-05 16:34:24 +01:00
Roland Winklmeier
f2ea959e6b refs #341 Fix uninitialized m_severity in constructors 2014-11-05 16:34:24 +01:00
Roland Winklmeier
b3c685f15f refs #341 fix redundantAssignment warning 2014-11-05 16:34:24 +01:00
Roland Winklmeier
6de8df9d56 refs #341 Initialize m_menu in the initialization list 2014-11-05 16:34:24 +01:00
Roland Winklmeier
b1df5d59d9 refs #341 Fixed initialization of m_changed 2014-11-05 16:34:24 +01:00
Roland Winklmeier
851d50cdea refs #341 Fixed initialization of m_wildcard 2014-11-05 16:34:24 +01:00
Roland Winklmeier
4903993bd5 refs #341 Fix variableScope warnings 2014-11-05 16:34:24 +01:00
Roland Winklmeier
0798d7511c refs #341 pass value geodeticHeight by const reference 2014-11-05 16:34:11 +01:00
Roland Winklmeier
a732de4b28 refs #341 workaround cppcheck unreachableCode warning 2014-11-05 16:07:53 +01:00
Roland Winklmeier
d71e380a91 refs #341 Fix operator= return types 2014-11-05 16:07:31 +01:00
Roland Winklmeier
771958ba0a refs #341 cppcheck shouldn’t assume operator* is commutative 2014-11-05 16:07:29 +01:00
Roland Winklmeier
4e0f27359a refs #341 Suppress False positive caused by missing support for C++11 feature 2014-11-05 16:07:00 +01:00
Roland Winklmeier
ff4b6bccf0 refs #341 Add suppression for member Optional::m_bytes 2014-11-05 16:06:20 +01:00
Roland Winklmeier
97d965deac refs #341 Add initial cppcheck suppression file
Suppressed type so far is 'unnecessaryQualification'.
2014-11-05 16:05:22 +01:00
Roland Winklmeier
192b407e75 Use QPointer::data() as argument for QObject::connect()
Using QPointer breaks on some gcc versions
2014-10-27 17:32:31 +01:00
Mathew Sutcliffe
7a133bde11 refs #338 Added class CLogSubscriber, a helper for subscribing to log messages matching a certain pattern, with the ability to change the pattern at runtime. 2014-10-26 16:18:55 +00:00
Mathew Sutcliffe
0f888b8d89 refs #338 Severity strings. 2014-10-26 16:18:52 +00:00
Mathew Sutcliffe
33b0e80a99 refs #338 Fixed missing severity string. 2014-10-24 00:33:55 +01:00
Mathew Sutcliffe
82da5fca6f refs #338 Convenience methods. 2014-10-22 23:12:20 +01:00
Mathew Sutcliffe
8962368278 refs #338 Using CLogPattern for subscribing to log messages and selectively enabling console output. 2014-10-22 03:05:39 +01:00
Mathew Sutcliffe
7f783fac8f refs #338 CLogHandler: cleaned up the logic for selectively enabling console output, with the help of the partial ordering feature of CLogPattern::isProperSubsetOf. 2014-10-22 03:05:28 +01:00
Mathew Sutcliffe
4f9d522f7b refs #338 CLogHandler filtering messages using CLogPattern instead of the old prefix-based approach. 2014-10-22 03:05:18 +01:00
Mathew Sutcliffe
24485f6331 refs #338 Topological sorting algorithm, to be used for sorting CLogPattern. 2014-10-22 03:05:08 +01:00
Mathew Sutcliffe
755d1afe0d refs #338 Added class CLogPattern which provides different ways of matching log messages based on their categories. 2014-10-22 03:04:58 +01:00
Mathew Sutcliffe
aca0202ba1 refs #338 Performance tests for regular expressions. 2014-10-22 03:00:58 +01:00
Mathew Sutcliffe
b12562ec5f refs #338 Fixed reentrancy of CLogHandler garbage collection. 2014-10-22 03:00:48 +01:00
Mathew Sutcliffe
f2412483a0 Fixed mistakes detected by clang. 2014-10-16 17:11:31 +01:00
Mathew Sutcliffe
c30bf9f61e refs #336 Fixed CLogHandler thread safety in swiftcore. 2014-10-16 17:06:46 +01:00
Mathew Sutcliffe
d0894d2cf9 refs #336 Convenience methods to create validation messages. 2014-10-16 17:06:31 +01:00
Mathew Sutcliffe
5991981789 refs #336 Removed the old getMessageCategory methods. 2014-10-16 17:06:21 +01:00
Mathew Sutcliffe
75f72fa5cf refs #336 Selectively enabling console output using CLogCategory in swiftcore. 2014-10-16 17:06:10 +01:00
Mathew Sutcliffe
d115caf85b refs #336 Filtering validation messages using CLogCategory in MainWindow. 2014-10-16 17:06:00 +01:00
Mathew Sutcliffe
a294e8db0f refs #336 Using the new CLogMessage syntax to log messages. 2014-10-16 17:05:50 +01:00
Mathew Sutcliffe
067344df24 refs #336 Added class CLogCategory to represent a log category. The category logic of CLogMessage is moved into this new class. 2014-10-16 17:05:28 +01:00
Mathew Sutcliffe
8992bd734c refs #336 CStatusMessage keeps track of which objects have handled it, to avoid duplicate handlings of the same message. 2014-10-16 17:05:06 +01:00