Commit Graph

531 Commits

Author SHA1 Message Date
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
f2ea959e6b refs #341 Fix uninitialized m_severity in constructors 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
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
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
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
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
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
Mathew Sutcliffe
09685e8b37 refs #336 Delete CLogCategoryHandler when it is no longer used, and thread safety. 2014-10-15 01:46:35 +01:00
Mathew Sutcliffe
4549e84e05 refs #336 Renaming. 2014-10-15 01:46:35 +01:00
Mathew Sutcliffe
e3446d78d8 refs #336 Style and const-correctness. 2014-10-15 01:46:34 +01:00
Roland Winklmeier
716b5cc00e Fix missing enumeration value and break statement in switch 2014-10-08 00:17:26 +02:00
Roland Winklmeier
23c54a968d Fix missing includes in CDictionary 2014-10-07 23:37:10 +02:00
Roland Winklmeier
d032d250d5 Fix missing mutex include on Linux 2014-10-07 16:41:18 +02:00
Klaus Basan
0d74afe02a Fixed return type to void as discussed:
https://dev.vatsim-germany.org/issues/325#note-26
2014-10-07 13:17:37 +02:00
Mathew Sutcliffe
418dd5e126 refs #325, CWorker class for executing arbitrary tasks in their own threads 2014-10-07 13:10:49 +02:00
Klaus Basan
d4e126932b Fixes of review included (Concurrency 2, https://dev.vatsim-germany.org/issues/325#note-14) 2014-10-07 13:10:48 +02:00
Klaus Basan
7304d8bd3e refs #325, name variant pair allows test for existing values
* equal value updates can be skipped
* equalsQVariant in CValueObject
* resizing parameter for views
2014-10-07 13:10:43 +02:00
Klaus Basan
ef5f5bde0f Formatting, new icons, minor tweaks 2014-10-07 13:10:37 +02:00
Klaus Basan
31646b91f6 refs #330, relevant predicate-based container mutator methods now return the number of elements they modified. 2014-10-07 13:10:34 +02:00
Klaus Basan
4b50134d2a refs #325, refs #330 fixed apply method to return list of changed properties
* changed CValueObject apply
* created CIndexPropertyList
* renamed CIndexVariantMap to CPropertyIndexVariantMap
2014-10-07 13:10:33 +02:00
Klaus Basan
053c248f06 refs #325, added async. sort (kind of experimental feature to see performance impact) 2014-10-07 13:10:18 +02:00
Klaus Basan
5d6713032f Formatting, new icons 2014-10-07 13:10:17 +02:00
Klaus Basan
b989dec74d Slightly changed ATC stations appearance, reload ATIS / load METAR 2014-10-07 13:08:23 +02:00
Mathew Sutcliffe
5795845400 refs #316 Doxygen. 2014-10-04 22:17:12 +01:00
Mathew Sutcliffe
87086f7e37 refs #316 Removed no longer used static status message methods in CSettingUtilities. 2014-10-04 22:16:45 +01:00
Mathew Sutcliffe
b16b02c3d6 refs #316 Changed blackmisc and blacksim to use CLogMessage to emit messages.
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage,
to return CStatusMessage instead for simplicity.
2014-10-04 22:16:40 +01:00
Mathew Sutcliffe
ed723c5e97 refs #316 Added CLogHandler which allows to subscribe to log messages. 2014-10-04 22:16:37 +01:00
Mathew Sutcliffe
ce6cdf12a7 refs #316 Added CLogMessage for logging messages, and corresponding changes to CStatusMessage and CTextMessage. 2014-10-04 22:16:35 +01:00
Klaus Basan
d3e6a3f721 refs #327, fixed the includes as discussed with 327
* no #include "valueobject.h" in blackmiscfreefunctions
* missing includes as mentioned by RW
2014-09-11 18:34:54 +02:00
Klaus Basan
c5eb1151d4 refs #327, CStatusMessage based on CRTP (proof of concept) 2014-09-11 18:34:52 +02:00
Klaus Basan
6aba823f4f refs #327, CRTP for CValueObject classes
* using toMetaTuple, no jsonMembers function
* no un/equal operator as discussed
2014-09-11 18:34:27 +02:00
Klaus Basan
02bfa01cc9 refs #322, fix for non-firing timer. Also adjusted input counts for online data 2014-09-11 12:08:10 +02:00
Klaus Basan
4500bda125 Added updates by VATSIM data file for voice capabilities 2014-09-09 20:07:29 +02:00
Klaus Basan
2127238ed4 Doxygen, renaming, formatting
* Formatting, renaming to current schema
* Minor tweaks
2014-09-09 20:07:27 +02:00