Commit Graph

1416 Commits

Author SHA1 Message Date
Mathew Sutcliffe
ff3b7fb2d6 MinGW debug build: enabled optimizations which don't interfere with debugging. This improves linker performance by reducing the size of the object files. 2014-11-21 01:35:45 +00:00
Mathew Sutcliffe
b43d631697 One more cppcheck warning. 2014-11-18 01:19:51 +00:00
Mathew Sutcliffe
4f342fade6 Fixed cppcheck warnings. 2014-11-16 23:05:38 +00:00
Mathew Sutcliffe
2cda546ceb Fixed Clang warnings. 2014-11-16 21:36:35 +00:00
Mathew Sutcliffe
9b06bb1a1e Fix for CListModelBase::at to support classes with defaulted (C++11 §8.4.2/4) default constructors. 2014-11-16 13:51:54 +00:00
Mathew Sutcliffe
60e1f306f6 Fix for CRange::frontOrDefault to support classes with defaulted (C++11 §8.4.2/4) default constructors. 2014-11-15 13:34:35 +00:00
Mathew Sutcliffe
8a3ba8bbed Fixed failing tests. refs #345 2014-11-15 02:28:39 +00:00
Mathew Sutcliffe
ac9960d615 Refine header includes to improve build times. 2014-11-14 15:39:02 +00:00
Mathew Sutcliffe
2a9c1e70c9 Fix for Jenkins build. refs #345 2014-11-14 15:38:41 +00:00
Mathew Sutcliffe
4c60515482 refs #345 Workaround a limitation of MinGW by moving the largest registerMetadata functions into their own cpp files. 2014-11-10 20:45:28 +00:00
Mathew Sutcliffe
f219d290f1 refs #345 Third and final wave of value classes using the CValueObjectStdTuple CRTP class template, with policy classes. 2014-11-10 20:45:18 +00:00
Mathew Sutcliffe
2b9d4098d4 refs #345 Extending CValueObjectStdTuple with policy classes to enable it to be used by classes which have different requirements. 2014-11-10 20:45:07 +00:00
Mathew Sutcliffe
40362e706a refs #345 Second wave of value classes using the CValueObjectStdTuple CRTP class template, with inheritance. 2014-11-10 20:44:56 +00:00
Mathew Sutcliffe
79e401887c refs #345 A second template parameter in CValueObjectStdTuple allows to select the base class, for inheritance hierarchies. 2014-11-10 20:44:36 +00:00
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